21 #ifndef fiber_surface_div_3d_functor_hpp
22 #define fiber_surface_div_3d_functor_hpp
24 #include "../common/common.hpp"
26 #include "basis_data.hpp"
27 #include "geometrical_data.hpp"
28 #include "collection_of_3d_arrays.hpp"
29 #include "shape_transformation_functor_wrappers.hpp"
31 #include <boost/array.hpp>
36 template <
typename CoordinateType_>
40 typedef CoordinateType_ CoordinateType;
42 int argumentDimension()
const {
return 2; }
43 int resultDimension()
const {
return 1; }
45 void addDependencies(
size_t& basisDeps,
size_t& geomDeps)
const {
46 basisDeps |= DERIVATIVES;
47 geomDeps |= INTEGRATION_ELEMENTS;
50 template <
typename ValueType>
58 geomData.integrationElement();
66 template <
typename CoordinateType_>
69 SurfaceDiv3dElementaryFunctor<CoordinateType_> >
72 typedef CoordinateType_ CoordinateType;
Functor calculating the surface div of a scalar field in 3D.
Definition: surface_div_3d_functor.hpp:67
int componentCount() const
Return the number of components of the function.
Definition: basis_data.hpp:111
Definition: surface_div_3d_functor.hpp:37
Lightweight encapsulation of a 1D slice of a 3D array.
Definition: _3d_array.hpp:155
ValueType derivatives(int dim, int direction) const
Return the value of the dim'th component of the derivative of the function in a given direction...
Definition: basis_data.hpp:106
Access to slices of geometrical data.
Definition: geometrical_data.hpp:88
Access to values and/or derivatives of shape functions.
Definition: basis_data.hpp:91