deal.II version GIT relicensing-2289-g1e5549a87a 2024-12-21 21:30:00+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Functions
FEValuesViews::internal Namespace Reference

Functions

template<int dim, int spacedim, typename Number >
void do_function_values (const ArrayView< const Number > &dof_values, const Table< 2, double > &shape_values, const std::vector< typename Scalar< dim, spacedim >::ShapeFunctionData > &shape_function_data, std::vector< typename ProductType< Number, double >::type > &values)
 
template<int order, int dim, int spacedim, typename Number >
void do_function_derivatives (const ArrayView< const Number > &dof_values, const Table< 2, ::Tensor< order, spacedim > > &shape_derivatives, const std::vector< typename Scalar< dim, spacedim >::ShapeFunctionData > &shape_function_data, std::vector< typename ProductType< Number, ::Tensor< order, spacedim > >::type > &derivatives)
 
template<int dim, int spacedim, typename Number >
void do_function_laplacians (const ArrayView< const Number > &dof_values, const Table< 2, ::Tensor< 2, spacedim > > &shape_hessians, const std::vector< typename Scalar< dim, spacedim >::ShapeFunctionData > &shape_function_data, std::vector< typename Scalar< dim, spacedim >::template solution_laplacian_type< Number > > &laplacians)
 
template<int dim, int spacedim, typename Number >
void do_function_values (const ArrayView< const Number > &dof_values, const Table< 2, double > &shape_values, const std::vector< typename Vector< dim, spacedim >::ShapeFunctionData > &shape_function_data, std::vector< typename ProductType< Number, ::Tensor< 1, spacedim > >::type > &values)
 
template<int order, int dim, int spacedim, typename Number >
void do_function_derivatives (const ArrayView< const Number > &dof_values, const Table< 2, ::Tensor< order, spacedim > > &shape_derivatives, const std::vector< typename Vector< dim, spacedim >::ShapeFunctionData > &shape_function_data, std::vector< typename ProductType< Number, ::Tensor< order+1, spacedim > >::type > &derivatives)
 
template<int dim, int spacedim, typename Number >
void do_function_symmetric_gradients (const ArrayView< const Number > &dof_values, const Table< 2, ::Tensor< 1, spacedim > > &shape_gradients, const std::vector< typename Vector< dim, spacedim >::ShapeFunctionData > &shape_function_data, std::vector< typename ProductType< Number, ::SymmetricTensor< 2, spacedim > >::type > &symmetric_gradients)
 
template<int dim, int spacedim, typename Number >
void do_function_divergences (const ArrayView< const Number > &dof_values, const Table< 2, ::Tensor< 1, spacedim > > &shape_gradients, const std::vector< typename Vector< dim, spacedim >::ShapeFunctionData > &shape_function_data, std::vector< typename Vector< dim, spacedim >::template solution_divergence_type< Number > > &divergences)
 
template<int dim, int spacedim, typename Number >
void do_function_curls (const ArrayView< const Number > &dof_values, const Table< 2, ::Tensor< 1, spacedim > > &shape_gradients, const std::vector< typename Vector< dim, spacedim >::ShapeFunctionData > &shape_function_data, std::vector< typename ProductType< Number, typename ::internal::CurlType< spacedim >::type >::type > &curls)
 
template<int dim, int spacedim, typename Number >
void do_function_laplacians (const ArrayView< const Number > &dof_values, const Table< 2, ::Tensor< 2, spacedim > > &shape_hessians, const std::vector< typename Vector< dim, spacedim >::ShapeFunctionData > &shape_function_data, std::vector< typename Vector< dim, spacedim >::template solution_laplacian_type< Number > > &laplacians)
 
template<int dim, int spacedim, typename Number >
void do_function_values (const ArrayView< const Number > &dof_values, const ::Table< 2, double > &shape_values, const std::vector< typename SymmetricTensor< 2, dim, spacedim >::ShapeFunctionData > &shape_function_data, std::vector< typename ProductType< Number, ::SymmetricTensor< 2, spacedim > >::type > &values)
 
template<int dim, int spacedim, typename Number >
void do_function_divergences (const ArrayView< const Number > &dof_values, const Table< 2, ::Tensor< 1, spacedim > > &shape_gradients, const std::vector< typename SymmetricTensor< 2, dim, spacedim >::ShapeFunctionData > &shape_function_data, std::vector< typename SymmetricTensor< 2, dim, spacedim >::template solution_divergence_type< Number > > &divergences)
 
template<int dim, int spacedim, typename Number >
void do_function_values (const ArrayView< const Number > &dof_values, const ::Table< 2, double > &shape_values, const std::vector< typename Tensor< 2, dim, spacedim >::ShapeFunctionData > &shape_function_data, std::vector< typename ProductType< Number, ::Tensor< 2, spacedim > >::type > &values)
 
template<int dim, int spacedim, typename Number >
void do_function_divergences (const ArrayView< const Number > &dof_values, const Table< 2, ::Tensor< 1, spacedim > > &shape_gradients, const std::vector< typename Tensor< 2, dim, spacedim >::ShapeFunctionData > &shape_function_data, std::vector< typename Tensor< 2, dim, spacedim >::template solution_divergence_type< Number > > &divergences)
 
template<int dim, int spacedim, typename Number >
void do_function_gradients (const ArrayView< const Number > &dof_values, const Table< 2, ::Tensor< 1, spacedim > > &shape_gradients, const std::vector< typename Tensor< 2, dim, spacedim >::ShapeFunctionData > &shape_function_data, std::vector< typename Tensor< 2, dim, spacedim >::template solution_gradient_type< Number > > &gradients)
 

Detailed Description

Internal namespace for the utility functions used to actually compute values by FEValuesViews

Function Documentation

◆ do_function_values() [1/4]

template<int dim, int spacedim, typename Number >
void FEValuesViews::internal::do_function_values ( const ArrayView< const Number > &  dof_values,
const Table< 2, double > &  shape_values,
const std::vector< typename Scalar< dim, spacedim >::ShapeFunctionData > &  shape_function_data,
std::vector< typename ProductType< Number, double >::type > &  values 
)

Compute function values for Scalars.

Definition at line 64 of file fe_values_views_internal.cc.

◆ do_function_derivatives() [1/2]

template<int order, int dim, int spacedim, typename Number >
void FEValuesViews::internal::do_function_derivatives ( const ArrayView< const Number > &  dof_values,
const Table< 2, ::Tensor< order, spacedim > > &  shape_derivatives,
const std::vector< typename Scalar< dim, spacedim >::ShapeFunctionData > &  shape_function_data,
std::vector< typename ProductType< Number, ::Tensor< order, spacedim > >::type > &  derivatives 
)

same code for gradient and Hessian, template argument 'order' to give the order of the derivative (= rank of gradient/Hessian tensor)

Definition at line 102 of file fe_values_views_internal.cc.

◆ do_function_laplacians() [1/2]

template<int dim, int spacedim, typename Number >
void FEValuesViews::internal::do_function_laplacians ( const ArrayView< const Number > &  dof_values,
const Table< 2, ::Tensor< 2, spacedim > > &  shape_hessians,
const std::vector< typename Scalar< dim, spacedim >::ShapeFunctionData > &  shape_function_data,
std::vector< typename Scalar< dim, spacedim >::template solution_laplacian_type< Number > > &  laplacians 
)

Compute Laplacian values for Scalars.

Definition at line 144 of file fe_values_views_internal.cc.

◆ do_function_values() [2/4]

template<int dim, int spacedim, typename Number >
void FEValuesViews::internal::do_function_values ( const ArrayView< const Number > &  dof_values,
const Table< 2, double > &  shape_values,
const std::vector< typename Vector< dim, spacedim >::ShapeFunctionData > &  shape_function_data,
std::vector< typename ProductType< Number, ::Tensor< 1, spacedim > >::type > &  values 
)

Compute function values for Vectors.

Definition at line 187 of file fe_values_views_internal.cc.

◆ do_function_derivatives() [2/2]

template<int order, int dim, int spacedim, typename Number >
void FEValuesViews::internal::do_function_derivatives ( const ArrayView< const Number > &  dof_values,
const Table< 2, ::Tensor< order, spacedim > > &  shape_derivatives,
const std::vector< typename Vector< dim, spacedim >::ShapeFunctionData > &  shape_function_data,
std::vector< typename ProductType< Number, ::Tensor< order+1, spacedim > >::type > &  derivatives 
)

same code for gradient and Hessian, template argument 'order' to give the order of the derivative (= rank of gradient/Hessian tensor)

Definition at line 248 of file fe_values_views_internal.cc.

◆ do_function_symmetric_gradients()

template<int dim, int spacedim, typename Number >
void FEValuesViews::internal::do_function_symmetric_gradients ( const ArrayView< const Number > &  dof_values,
const Table< 2, ::Tensor< 1, spacedim > > &  shape_gradients,
const std::vector< typename Vector< dim, spacedim >::ShapeFunctionData > &  shape_function_data,
std::vector< typename ProductType< Number, ::SymmetricTensor< 2, spacedim > >::type > &  symmetric_gradients 
)

Compute gradient values for Vectors.

Definition at line 313 of file fe_values_views_internal.cc.

◆ do_function_divergences() [1/3]

template<int dim, int spacedim, typename Number >
void FEValuesViews::internal::do_function_divergences ( const ArrayView< const Number > &  dof_values,
const Table< 2, ::Tensor< 1, spacedim > > &  shape_gradients,
const std::vector< typename Vector< dim, spacedim >::ShapeFunctionData > &  shape_function_data,
std::vector< typename Vector< dim, spacedim >::template solution_divergence_type< Number > > &  divergences 
)

Compute divergence values for Vectors.

Definition at line 387 of file fe_values_views_internal.cc.

◆ do_function_curls()

template<int dim, int spacedim, typename Number >
void FEValuesViews::internal::do_function_curls ( const ArrayView< const Number > &  dof_values,
const Table< 2, ::Tensor< 1, spacedim > > &  shape_gradients,
const std::vector< typename Vector< dim, spacedim >::ShapeFunctionData > &  shape_function_data,
std::vector< typename ProductType< Number, typename ::internal::CurlType< spacedim >::type >::type > &  curls 
)

Compute curl values for Vectors.

Definition at line 450 of file fe_values_views_internal.cc.

◆ do_function_laplacians() [2/2]

template<int dim, int spacedim, typename Number >
void FEValuesViews::internal::do_function_laplacians ( const ArrayView< const Number > &  dof_values,
const Table< 2, ::Tensor< 2, spacedim > > &  shape_hessians,
const std::vector< typename Vector< dim, spacedim >::ShapeFunctionData > &  shape_function_data,
std::vector< typename Vector< dim, spacedim >::template solution_laplacian_type< Number > > &  laplacians 
)

Compute Laplacian values for Vectors.

Definition at line 710 of file fe_values_views_internal.cc.

◆ do_function_values() [3/4]

template<int dim, int spacedim, typename Number >
void FEValuesViews::internal::do_function_values ( const ArrayView< const Number > &  dof_values,
const ::Table< 2, double > &  shape_values,
const std::vector< typename SymmetricTensor< 2, dim, spacedim >::ShapeFunctionData > &  shape_function_data,
std::vector< typename ProductType< Number, ::SymmetricTensor< 2, spacedim > >::type > &  values 
)

Compute values for symmetric tensors.

Definition at line 777 of file fe_values_views_internal.cc.

◆ do_function_divergences() [2/3]

template<int dim, int spacedim, typename Number >
void FEValuesViews::internal::do_function_divergences ( const ArrayView< const Number > &  dof_values,
const Table< 2, ::Tensor< 1, spacedim > > &  shape_gradients,
const std::vector< typename SymmetricTensor< 2, dim, spacedim >::ShapeFunctionData > &  shape_function_data,
std::vector< typename SymmetricTensor< 2, dim, spacedim >::template solution_divergence_type< Number > > &  divergences 
)

Compute divergence values for symmetric tensors.

Definition at line 849 of file fe_values_views_internal.cc.

◆ do_function_values() [4/4]

template<int dim, int spacedim, typename Number >
void FEValuesViews::internal::do_function_values ( const ArrayView< const Number > &  dof_values,
const ::Table< 2, double > &  shape_values,
const std::vector< typename Tensor< 2, dim, spacedim >::ShapeFunctionData > &  shape_function_data,
std::vector< typename ProductType< Number, ::Tensor< 2, spacedim > >::type > &  values 
)

Compute values for nonsymmetric tensors.

Definition at line 957 of file fe_values_views_internal.cc.

◆ do_function_divergences() [3/3]

template<int dim, int spacedim, typename Number >
void FEValuesViews::internal::do_function_divergences ( const ArrayView< const Number > &  dof_values,
const Table< 2, ::Tensor< 1, spacedim > > &  shape_gradients,
const std::vector< typename Tensor< 2, dim, spacedim >::ShapeFunctionData > &  shape_function_data,
std::vector< typename Tensor< 2, dim, spacedim >::template solution_divergence_type< Number > > &  divergences 
)

Compute divergence values for nonsymmetric tensors.

Definition at line 1027 of file fe_values_views_internal.cc.

◆ do_function_gradients()

template<int dim, int spacedim, typename Number >
void FEValuesViews::internal::do_function_gradients ( const ArrayView< const Number > &  dof_values,
const Table< 2, ::Tensor< 1, spacedim > > &  shape_gradients,
const std::vector< typename Tensor< 2, dim, spacedim >::ShapeFunctionData > &  shape_function_data,
std::vector< typename Tensor< 2, dim, spacedim >::template solution_gradient_type< Number > > &  gradients 
)

Compute gradient values for nonsymmetric tensors.

Definition at line 1097 of file fe_values_views_internal.cc.