21 #ifndef bempp_piecewise_linear_scalar_space_hpp
22 #define bempp_piecewise_linear_scalar_space_hpp
24 #include "../common/common.hpp"
26 #include "../grid/grid_view.hpp"
27 #include "scalar_space.hpp"
28 #include "../common/types.hpp"
29 #include "../fiber/linear_scalar_shapeset.hpp"
33 #include <tbb/mutex.h>
44 template <
typename BasisFunctionType>
65 ElementVariant variant);
71 arma::Mat<CoordinateType>& points)
const;
73 arma::Mat<CoordinateType>& normals)
const;
virtual const Fiber::Shapeset< BasisFunctionType > & shapeset(const Entity< 0 > &element) const
Reference to the shapeset attached to the specified element.
Definition: piecewise_linear_scalar_space.cpp:63
Fiber::ScalarTraits< BasisFunctionType >::ComplexType ComplexType
Equivalent to std::complex<CoordinateType>.
Definition: space.hpp:93
virtual void setElementVariant(const Entity< 0 > &element, ElementVariant variant)
Set the variant of element element to variant.
Definition: piecewise_linear_scalar_space.cpp:98
virtual int codomainDimension() const
Dimension of the codomain of the functions.
Definition: piecewise_linear_scalar_space.cpp:56
Base class for spaces of scalar-valued functions.
Definition: scalar_space.hpp:36
Fiber::ScalarTraits< BasisFunctionType >::RealType CoordinateType
Type used to represent coordinates.
Definition: space.hpp:91
Space of continuous, piecewise linear scalar functions.
Definition: piecewise_linear_scalar_space.hpp:45
virtual ElementVariant elementVariant(const Entity< 0 > &element) const
Return the variant of element element.
Definition: piecewise_linear_scalar_space.cpp:81
Collection of shape functions defined on a reference element.
Definition: default_local_assembler_for_operators_on_surfaces_utilities.hpp:34
virtual void getGlobalDofInterpolationPoints(arma::Mat< CoordinateType > &points) const
Retrieve the interpolation points of the global degrees of freedom.
Definition: piecewise_linear_scalar_space.cpp:109
shared_ptr< const Grid > grid() const
Shared pointer to the grid on which the functions from this space are defined.
Definition: space.hpp:183
virtual void getNormalsAtGlobalDofInterpolationPoints(arma::Mat< CoordinateType > &normals) const
Retrieve the unit vectors normal to the grid at the interpolation points of the global degrees of fre...
Definition: piecewise_linear_scalar_space.cpp:118
virtual int domainDimension() const
Dimension of the grid on which functions from this space are defined.
Definition: piecewise_linear_scalar_space.cpp:50
Abstract wrapper of an entity of codimension 0.
Definition: entity.hpp:81
Shapeset composed of the linear nodal functions.
Definition: linear_scalar_shapeset.hpp:69