OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [graphite/] [id-1.C] - Diff between revs 301 and 338

Only display areas with differences | Details | Blame | View Log

Rev 301 Rev 338
#include 
#include 
template  class Tensor;
template  class Tensor;
template 
template 
class Tensor<1,dim>
class Tensor<1,dim>
{
{
  public:
  public:
    explicit Tensor (const bool initialize = true);
    explicit Tensor (const bool initialize = true);
    Tensor (const Tensor<1,dim> &);
    Tensor (const Tensor<1,dim> &);
    double values[(dim!=0) ? (dim) : 1];
    double values[(dim!=0) ? (dim) : 1];
};
};
template 
template 
Tensor<1,dim>::Tensor (const Tensor<1,dim> &p)
Tensor<1,dim>::Tensor (const Tensor<1,dim> &p)
{
{
  for (unsigned int i=0; i
  for (unsigned int i=0; i
    values[i] = p.values[i];
    values[i] = p.values[i];
}
}
template 
template 
class KellyErrorEstimator
class KellyErrorEstimator
{
{
    struct PerThreadData
    struct PerThreadData
    {
    {
 std::vector > > > psi;
 std::vector > > > psi;
 PerThreadData (const unsigned int n_solution_vectors,
 PerThreadData (const unsigned int n_solution_vectors,
         const unsigned int n_components,
         const unsigned int n_components,
         const unsigned int n_q_points);
         const unsigned int n_q_points);
    };
    };
};
};
template 
template 
KellyErrorEstimator::PerThreadData::
KellyErrorEstimator::PerThreadData::
PerThreadData (const unsigned int n_solution_vectors,
PerThreadData (const unsigned int n_solution_vectors,
        const unsigned int n_components,
        const unsigned int n_components,
        const unsigned int n_q_points)
        const unsigned int n_q_points)
{
{
  for (unsigned int i=0; i
  for (unsigned int i=0; i
    for (unsigned int qp=0;qp
    for (unsigned int qp=0;qp
      psi[i][qp].resize(n_components);
      psi[i][qp].resize(n_components);
}
}
template class KellyErrorEstimator<3>;
template class KellyErrorEstimator<3>;
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.