#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>;
|
|
|