21 #ifndef fiber_scalar_function_value_times_normal_functor_hpp
22 #define fiber_scalar_function_value_times_normal_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"
34 template <
typename CoordinateType_>
38 typedef CoordinateType_ CoordinateType;
40 int argumentDimension()
const {
return 1; }
41 int resultDimension()
const {
return 3; }
43 void addDependencies(
size_t& basisDeps,
size_t& geomDeps)
const {
48 template <
typename ValueType>
54 const int dimWorld = geomData.dimWorld();
55 for (
int dim = 0; dim < dimWorld; ++dim)
56 result(dim) = basisData.
values(0) * geomData.normal(dim);
65 template <
typename CoordinateType_>
68 ScalarFunctionValueTimesNormalElementaryFunctor<CoordinateType_> >
71 typedef CoordinateType_ CoordinateType;
int componentCount() const
Return the number of components of the function.
Definition: basis_data.hpp:111
Lightweight encapsulation of a 1D slice of a 3D array.
Definition: _3d_array.hpp:155
ValueType values(int dim) const
Return the value of the dim'th component of the function.
Definition: basis_data.hpp:100
Functor calculating the value of a scalar basis function multiplied by the unit vector normal to the ...
Definition: scalar_function_value_times_normal_functor.hpp:66
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
Definition: scalar_function_value_times_normal_functor.hpp:35