21 #ifndef fiber_scalar_function_value_functor_hpp
22 #define fiber_scalar_function_value_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 1; }
43 void addDependencies(
size_t& basisDeps,
size_t& geomDeps)
const {
47 template <
typename ValueType>
53 result(0) = basisData.
values(0);
61 template <
typename CoordinateType_>
64 ScalarFunctionValueElementaryFunctor<CoordinateType_> >
67 typedef CoordinateType_ CoordinateType;
int componentCount() const
Return the number of components of the function.
Definition: basis_data.hpp:111
Definition: scalar_function_value_functor.hpp:35
Functor calculating the value of a scalar basis function.
Definition: scalar_function_value_functor.hpp:62
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
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