* In a parallel computation the @p solution vector needs to contain the
* locally relevant unknowns.
*/
- template <class DH, class InputVector, int order>
+ template <class DH, int dim, int spacedim, class InputVector, int order>
void
- approximate_derivative_tensor (const Mapping<DH::dimension,DH::space_dimension> &mapping,
- const DH &dof,
- const InputVector &solution,
- const typename DH::active_cell_iterator &cell,
- Tensor<order,DH::dimension> &derivative,
- const unsigned int component = 0);
+ approximate_derivative_tensor(const Mapping<dim, spacedim> &mapping,
+ const DH &dof,
+ const InputVector &solution,
+ const TriaActiveIterator < dealii::DoFCellAccessor < DH, false > > &cell,
+ Tensor<order, dim> &derivative,
+ const unsigned int component = 0);
/**
* Same as above, with <tt>mapping=MappingQ1@<dim@>()</tt>.
*/
- template <class DH, class InputVector, int order>
+ template <class DH, int dim, int spacedim, class InputVector, int order>
void
- approximate_derivative_tensor (const DH &dof,
- const InputVector &solution,
- const typename DH::active_cell_iterator &cell,
- Tensor<order,DH::dimension> &derivative,
- const unsigned int component = 0);
+ approximate_derivative_tensor(const DH &dof,
+ const InputVector &solution,
+ const TriaActiveIterator < dealii::DoFCellAccessor < DH, false > > &cell,
+ Tensor<order, dim> &derivative,
+ const unsigned int component = 0);
/**
* Return the norm of the derivative.
}
- template <class DH, class InputVector, int order>
+ template <class DH, int dim, int spacedim, class InputVector, int order>
void
- approximate_derivative_tensor (const Mapping<DH::dimension,DH::space_dimension> &mapping,
- const DH &dof,
- const InputVector &solution,
- const typename DH::active_cell_iterator &cell,
- Tensor<order,DH::dimension> &derivative,
- const unsigned int component)
+ approximate_derivative_tensor(const Mapping<dim, spacedim> &mapping,
+ const DH &dof,
+ const InputVector &solution,
+ const TriaActiveIterator < dealii::DoFCellAccessor < DH, false > > &cell,
+ Tensor<order, dim> &derivative,
+ const unsigned int component)
{
internal::approximate_cell<typename internal::DerivativeSelector<order,DH::dimension>::DerivDescr>
(mapping,
- template <class DH, class InputVector, int order>
+ template <class DH, int dim, int spacedim, class InputVector, int order>
void
- approximate_derivative_tensor (const DH &dof,
- const InputVector &solution,
- const typename DH::active_cell_iterator &cell,
- Tensor<order,DH::dimension> &derivative,
- const unsigned int component)
+ approximate_derivative_tensor(const DH &dof,
+ const InputVector &solution,
+ const TriaActiveIterator < dealii::DoFCellAccessor < DH, false > > &cell,
+ Tensor<order, dim> &derivative,
+ const unsigned int component)
{
// just call the respective function with Q1 mapping
- approximate_derivative_tensor<DH,InputVector,order>
- (StaticMappingQ1<DH::dimension,DH::space_dimension>::mapping,
+ approximate_derivative_tensor<DH, dim, spacedim, InputVector, order>
+ (StaticMappingQ1<dim, spacedim>::mapping,
dof,
solution,
cell,
template
void
-approximate_derivative_tensor
-(const Mapping<DH<deal_II_dimension>::dimension,DH<deal_II_dimension>::space_dimension> &mapping,
- const DH<deal_II_dimension> &dof_handler,
+approximate_derivative_tensor < DH <deal_II_dimension>, deal_II_dimension, deal_II_dimension, VEC, 1 >
+(const Mapping<deal_II_dimension> &mapping,
+ const DH <deal_II_dimension> &dof_handler,
const VEC &solution,
- const DH<deal_II_dimension>::active_cell_iterator &cell,
- Tensor<1,DH<deal_II_dimension>::dimension> &derivative,
+ const DH <deal_II_dimension>::active_cell_iterator &cell,
+ Tensor<1,deal_II_dimension> &derivative,
const unsigned int component);
template
void
-approximate_derivative_tensor
-(const Mapping<DH<deal_II_dimension>::dimension,DH<deal_II_dimension>::space_dimension> &mapping,
- const DH<deal_II_dimension> &dof_handler,
+approximate_derivative_tensor < DH <deal_II_dimension>, deal_II_dimension, deal_II_dimension, VEC, 2 >
+(const Mapping <deal_II_dimension> &mapping,
+ const DH <deal_II_dimension> &dof_handler,
const VEC &solution,
- const DH<deal_II_dimension>::active_cell_iterator &cell,
- Tensor<2,DH<deal_II_dimension>::dimension> &derivative,
+ const DH <deal_II_dimension>::active_cell_iterator &cell,
+ Tensor<2,deal_II_dimension> &derivative,
const unsigned int component);
template
void
-approximate_derivative_tensor
-(const Mapping<DH<deal_II_dimension>::dimension,DH<deal_II_dimension>::space_dimension> &mapping,
- const DH<deal_II_dimension> &dof_handler,
+approximate_derivative_tensor < DH <deal_II_dimension>, deal_II_dimension, deal_II_dimension, VEC, 3 >
+(const Mapping <deal_II_dimension> &mapping,
+ const DH <deal_II_dimension> &dof_handler,
const VEC &solution,
- const DH<deal_II_dimension>::active_cell_iterator &cell,
- Tensor<3,DH<deal_II_dimension>::dimension> &derivative,
+ const DH <deal_II_dimension>::active_cell_iterator &cell,
+ Tensor<3,deal_II_dimension> &derivative,
const unsigned int component);
template
void
-approximate_derivative_tensor
-(const DH<deal_II_dimension> &dof_handler,
+approximate_derivative_tensor < DH <deal_II_dimension>, deal_II_dimension, deal_II_dimension, VEC, 1 >
+(const DH <deal_II_dimension> &dof_handler,
const VEC &solution,
- const DH<deal_II_dimension>::active_cell_iterator &cell,
- Tensor<1,DH<deal_II_dimension>::dimension> &derivative,
+ const DH <deal_II_dimension>::active_cell_iterator &cell,
+ Tensor<1,deal_II_dimension> &derivative,
const unsigned int component);
template
void
-approximate_derivative_tensor
-(const DH<deal_II_dimension> &dof_handler,
+approximate_derivative_tensor < DH <deal_II_dimension>, deal_II_dimension, deal_II_dimension, VEC, 2 >
+(const DH <deal_II_dimension> &dof_handler,
const VEC &solution,
- const DH<deal_II_dimension>::active_cell_iterator &cell,
- Tensor<2,DH<deal_II_dimension>::dimension> &derivative,
+ const DH <deal_II_dimension>::active_cell_iterator &cell,
+ Tensor<2,deal_II_dimension> &derivative,
const unsigned int component);
template
void
-approximate_derivative_tensor
-(const DH<deal_II_dimension> &dof_handler,
+approximate_derivative_tensor < DH <deal_II_dimension>, deal_II_dimension, deal_II_dimension, VEC, 3 >
+(const DH <deal_II_dimension> &dof_handler,
const VEC &solution,
- const DH<deal_II_dimension>::active_cell_iterator &cell,
- Tensor<3,DH<deal_II_dimension>::dimension> &derivative,
+ const DH <deal_II_dimension>::active_cell_iterator &cell,
+ Tensor<3,deal_II_dimension> &derivative,
const unsigned int component);
\}