static void estimate (const Mapping<dim, spacedim> &mapping,
const DH &dof,
const Quadrature<dim-1> &quadrature,
- const typename FunctionMap<DH::space_dimension>::type &neumann_bc,
+ const typename FunctionMap<spacedim>::type &neumann_bc,
const InputVector &solution,
Vector<float> &error,
const std::vector<bool> &component_mask = std::vector<bool>(),
- const Function<DH::space_dimension> *coefficients = 0,
+ const Function<spacedim> *coefficients = 0,
const unsigned int n_threads = numbers::invalid_unsigned_int,
const types::subdomain_id_t subdomain_id = types::invalid_subdomain_id,
const unsigned int material_id = numbers::invalid_unsigned_int);
template <typename InputVector, class DH>
static void estimate (const DH &dof,
const Quadrature<dim-1> &quadrature,
- const typename FunctionMap<DH::space_dimension>::type &neumann_bc,
+ const typename FunctionMap<spacedim>::type &neumann_bc,
const InputVector &solution,
Vector<float> &error,
const std::vector<bool> &component_mask = std::vector<bool>(),
- const Function<DH::space_dimension> *coefficients = 0,
+ const Function<spacedim> *coefficients = 0,
const unsigned int n_threads = multithread_info.n_default_threads,
const types::subdomain_id_t subdomain_id = types::invalid_subdomain_id,
const unsigned int material_id = numbers::invalid_unsigned_int);
static void estimate (const Mapping<dim, spacedim> &mapping,
const DH &dof,
const Quadrature<dim-1> &quadrature,
- const typename FunctionMap<DH::space_dimension>::type &neumann_bc,
+ const typename FunctionMap<spacedim>::type &neumann_bc,
const std::vector<const InputVector *> &solutions,
std::vector<Vector<float>*> &errors,
const std::vector<bool> &component_mask = std::vector<bool>(),
- const Function<DH::space_dimension> *coefficients = 0,
+ const Function<spacedim> *coefficients = 0,
const unsigned int n_threads = multithread_info.n_default_threads,
const types::subdomain_id_t subdomain_id = types::invalid_subdomain_id,
const unsigned int material_id = numbers::invalid_unsigned_int);
template <typename InputVector, class DH>
static void estimate (const DH &dof,
const Quadrature<dim-1> &quadrature,
- const typename FunctionMap<DH::space_dimension>::type &neumann_bc,
+ const typename FunctionMap<spacedim>::type &neumann_bc,
const std::vector<const InputVector *> &solutions,
std::vector<Vector<float>*> &errors,
const std::vector<bool> &component_mask = std::vector<bool>(),
- const Function<DH::space_dimension> *coefficients = 0,
+ const Function<spacedim> *coefficients = 0,
const unsigned int n_threads = multithread_info.n_default_threads,
const types::subdomain_id_t subdomain_id = types::invalid_subdomain_id,
const unsigned int material_id = numbers::invalid_unsigned_int);
static void estimate (const Mapping<dim, spacedim> &mapping,
const DH &dof,
const hp::QCollection<dim-1> &quadrature,
- const typename FunctionMap<DH::space_dimension>::type &neumann_bc,
+ const typename FunctionMap<spacedim>::type &neumann_bc,
const InputVector &solution,
Vector<float> &error,
const std::vector<bool> &component_mask = std::vector<bool>(),
- const Function<DH::space_dimension> *coefficients = 0,
+ const Function<spacedim> *coefficients = 0,
const unsigned int n_threads = multithread_info.n_default_threads,
const types::subdomain_id_t subdomain_id = types::invalid_subdomain_id,
const unsigned int material_id = numbers::invalid_unsigned_int);
template <typename InputVector, class DH>
static void estimate (const DH &dof,
const hp::QCollection<dim-1> &quadrature,
- const typename FunctionMap<DH::space_dimension>::type &neumann_bc,
+ const typename FunctionMap<spacedim>::type &neumann_bc,
const InputVector &solution,
Vector<float> &error,
const std::vector<bool> &component_mask = std::vector<bool>(),
- const Function<DH::space_dimension> *coefficients = 0,
+ const Function<spacedim> *coefficients = 0,
const unsigned int n_threads = multithread_info.n_default_threads,
const types::subdomain_id_t subdomain_id = types::invalid_subdomain_id,
const unsigned int material_id = numbers::invalid_unsigned_int);
static void estimate (const Mapping<dim, spacedim> &mapping,
const DH &dof,
const hp::QCollection<dim-1> &quadrature,
- const typename FunctionMap<DH::space_dimension>::type &neumann_bc,
+ const typename FunctionMap<spacedim>::type &neumann_bc,
const std::vector<const InputVector *> &solutions,
std::vector<Vector<float>*> &errors,
const std::vector<bool> &component_mask = std::vector<bool>(),
- const Function<DH::space_dimension> *coefficients = 0,
+ const Function<spacedim> *coefficients = 0,
const unsigned int n_threads = multithread_info.n_default_threads,
const types::subdomain_id_t subdomain_id = types::invalid_subdomain_id,
const unsigned int material_id = numbers::invalid_unsigned_int);
template <typename InputVector, class DH>
static void estimate (const DH &dof,
const hp::QCollection<dim-1> &quadrature,
- const typename FunctionMap<DH::space_dimension>::type &neumann_bc,
+ const typename FunctionMap<spacedim>::type &neumann_bc,
const std::vector<const InputVector *> &solutions,
std::vector<Vector<float>*> &errors,
const std::vector<bool> &component_mask = std::vector<bool>(),
- const Function<DH::space_dimension>*coefficients = 0,
+ const Function<spacedim>* coefficients = 0,
const unsigned int n_threads = multithread_info.n_default_threads,
const types::subdomain_id_t subdomain_id = types::invalid_subdomain_id,
const unsigned int material_id = numbers::invalid_unsigned_int);
* the KellyErrorEstimator::estimate()
* function.
*/
- const typename FunctionMap<DH::space_dimension>::type *neumann_bc;
+ const typename FunctionMap<spacedim>::type *neumann_bc;
const std::vector<bool> component_mask;
- const Function<DH::space_dimension> *coefficients;
+ const Function<spacedim> *coefficients;
/**
* Constructor.
const unsigned int n_solution_vectors,
const types::subdomain_id_t subdomain_id,
const unsigned int material_id,
- const typename FunctionMap<DH::space_dimension>::type *neumann_bc,
+ const typename FunctionMap<spacedim>::type *neumann_bc,
const std::vector<bool> component_mask,
- const Function<DH::space_dimension> *coefficients);
+ const Function<spacedim> *coefficients);
/**
* Resize the arrays so that they fit the
const unsigned int n_solution_vectors,
const types::subdomain_id_t subdomain_id,
const unsigned int material_id,
- const typename FunctionMap<DH::space_dimension>::type *neumann_bc,
+ const typename FunctionMap<spacedim>::type *neumann_bc,
const std::vector<bool> component_mask,
- const Function<DH::space_dimension> *coefficients)
+ const Function<spacedim> *coefficients)
:
finite_element (fe),
face_quadratures (face_quadratures),
estimate (const Mapping<dim, spacedim> &mapping,
const DH &dof_handler,
const Quadrature<dim-1> &quadrature,
- const typename FunctionMap<DH::space_dimension>::type &neumann_bc,
+ const typename FunctionMap<spacedim>::type &neumann_bc,
const InputVector &solution,
Vector<float> &error,
const std::vector<bool> &component_mask,
- const Function<DH::space_dimension> *coefficients,
+ const Function<spacedim> *coefficients,
const unsigned int n_threads,
const types::subdomain_id_t subdomain_id,
const unsigned int material_id)
KellyErrorEstimator<dim,spacedim>::
estimate (const DH &dof_handler,
const Quadrature<dim-1> &quadrature,
- const typename FunctionMap<DH::space_dimension>::type &neumann_bc,
+ const typename FunctionMap<spacedim>::type &neumann_bc,
const InputVector &solution,
Vector<float> &error,
const std::vector<bool> &component_mask,
- const Function<DH::space_dimension> *coefficients,
+ const Function<spacedim> *coefficients,
const unsigned int n_threads,
const types::subdomain_id_t subdomain_id,
const unsigned int material_id)
estimate (const Mapping<dim, spacedim> &mapping,
const DH &dof_handler,
const hp::QCollection<dim-1> &quadrature,
- const typename FunctionMap<DH::space_dimension>::type &neumann_bc,
+ const typename FunctionMap<spacedim>::type &neumann_bc,
const InputVector &solution,
Vector<float> &error,
const std::vector<bool> &component_mask,
- const Function<DH::space_dimension> *coefficients,
+ const Function<spacedim> *coefficients,
const unsigned int n_threads,
const types::subdomain_id_t subdomain_id,
const unsigned int material_id)
KellyErrorEstimator<dim, spacedim>::
estimate (const DH &dof_handler,
const hp::QCollection<dim-1> &quadrature,
- const typename FunctionMap<DH::space_dimension>::type &neumann_bc,
+ const typename FunctionMap<spacedim>::type &neumann_bc,
const InputVector &solution,
Vector<float> &error,
const std::vector<bool> &component_mask,
- const Function<DH::space_dimension> *coefficients,
+ const Function<spacedim> *coefficients,
const unsigned int n_threads,
const types::subdomain_id_t subdomain_id,
const unsigned int material_id)
estimate (const Mapping<dim, spacedim> &mapping,
const DH &dof_handler,
const hp::QCollection<dim-1> &face_quadratures,
- const typename FunctionMap<DH::space_dimension>::type &neumann_bc,
+ const typename FunctionMap<spacedim>::type &neumann_bc,
const std::vector<const InputVector *> &solutions,
std::vector<Vector<float>*> &errors,
const std::vector<bool> &component_mask_,
- const Function<DH::space_dimension> *coefficients,
+ const Function<spacedim> *coefficients,
const unsigned int ,
const types::subdomain_id_t subdomain_id_,
const unsigned int material_id)
Assert (solutions.size() == errors.size(),
ExcIncompatibleNumberOfElements(solutions.size(), errors.size()));
- for (typename FunctionMap<DH::space_dimension>::type::const_iterator i=neumann_bc.begin();
+ for (typename FunctionMap<spacedim>::type::const_iterator i=neumann_bc.begin();
i!=neumann_bc.end(); ++i)
Assert (i->second->n_components == n_components,
ExcInvalidBoundaryFunction());
estimate (const Mapping<dim, spacedim> &mapping,
const DH &dof_handler,
const Quadrature<dim-1> &quadrature,
- const typename FunctionMap<DH::space_dimension>::type &neumann_bc,
+ const typename FunctionMap<spacedim>::type &neumann_bc,
const std::vector<const InputVector *> &solutions,
std::vector<Vector<float>*> &errors,
const std::vector<bool> &component_mask,
- const Function<DH::space_dimension> *coefficients,
+ const Function<spacedim> *coefficients,
const unsigned int n_threads,
const types::subdomain_id_t subdomain_id,
const unsigned int material_id)
template <typename InputVector, class DH>
void KellyErrorEstimator<dim, spacedim>::estimate (const DH &dof_handler,
const Quadrature<dim-1> &quadrature,
- const typename FunctionMap<DH::space_dimension>::type &neumann_bc,
+ const typename FunctionMap<spacedim>::type &neumann_bc,
const std::vector<const InputVector *> &solutions,
std::vector<Vector<float>*> &errors,
const std::vector<bool> &component_mask,
- const Function<DH::space_dimension> *coefficients,
+ const Function<spacedim> *coefficients,
const unsigned int n_threads,
const types::subdomain_id_t subdomain_id,
const unsigned int material_id)
template <typename InputVector, class DH>
void KellyErrorEstimator<dim, spacedim>::estimate (const DH &dof_handler,
const hp::QCollection<dim-1> &quadrature,
- const typename FunctionMap<DH::space_dimension>::type &neumann_bc,
+ const typename FunctionMap<spacedim>::type &neumann_bc,
const std::vector<const InputVector *> &solutions,
std::vector<Vector<float>*> &errors,
const std::vector<bool> &component_mask,
- const Function<DH::space_dimension> *coefficients,
+ const Function<spacedim> *coefficients,
const unsigned int n_threads,
const types::subdomain_id_t subdomain_id,
const unsigned int material_id)