shapefunctions.hpp
Go to the documentation of this file.
45 void setCoeff(const Dune::FieldVector<rtype,dim>& coeff0_, const Dune::FieldVector<rtype,dim>& coeff1_)
const ShapeFunction & operator[](int i) const Obtain a given shape function. Definition: shapefunctions.hpp:317 rtype resulttype The type of the return value from a shape function. Definition: shapefunctions.hpp:190 PNShapeFunctionSet(int n1, int n2, int n3=0) Definition: shapefunctions.hpp:280 Represents a linear shape function on a Q4/Q8 element. Definition: shapefunctions.hpp:26 void setCoeff(const Dune::FieldVector< rtype, dim > &coeff0_, const Dune::FieldVector< rtype, dim > &coeff1_) Set the given conefficients. Definition: shapefunctions.hpp:45 Definition: applier.hpp:18 Dune::FieldVector< rtype, dim > evaluateGradient(const Dune::FieldVector< ctype, dim > &local) const Definition: shapefunctions.hpp:168 std::vector< std::vector< CardinalFunction > > cfuncs Definition: shapefunctions.hpp:327 double legendre(double x, int n) Definition: shapefunctions.hpp:330 rtype evaluateGradient(const ctype &local) const Evaluate the derivative of the cardinal function. Definition: shapefunctions.hpp:118 LinearShapeFunction(const Dune::FieldVector< rtype, dim > &coeff0_, const Dune::FieldVector< rtype, dim > &coeff1_) Construct a shape function with the given coefficients. Definition: shapefunctions.hpp:38 std::vector< double > gaussLegendreGrid(int n) Definition: shapefunctions.hpp:360 LagrangeCardinalFunction() Empty default constructor. Definition: shapefunctions.hpp:94 LagrangeCardinalFunction(const std::vector< rtype > &nodes_, size_t i) Construct a cardinal function with the given nodes. Definition: shapefunctions.hpp:99 static const P1ShapeFunctionSet & instance() Get the only instance of this class. Definition: shapefunctions.hpp:193 rtype evaluateFunction(const ctype &local) const Evaluate the shape function. Definition: shapefunctions.hpp:105 std::vector< double > gaussLobattoLegendreGrid(int n) Definition: shapefunctions.hpp:382 double legendreDerivative(double x, int n) Definition: shapefunctions.hpp:344 Represents a cardinal function on a line. Definition: shapefunctions.hpp:90 Definition: shapefunctions.hpp:272 TensorProductFunction() Empty default constructor. Definition: shapefunctions.hpp:149 Definition: shapefunctions.hpp:30 Represents a tensor-product of 1D functions. Definition: shapefunctions.hpp:142 rtype evaluateFunction(const Dune::FieldVector< ctype, dim > &local) const Evaluate the function. Definition: shapefunctions.hpp:158 master push_back(extractMasterFace(Y, min[1])) Singleton handler for the set of LinearShapeFunction. Definition: shapefunctions.hpp:180 LinearShapeFunction< ctype, rtype, dim > ShapeFunction A single shape function. Definition: shapefunctions.hpp:187 const ShapeFunction & operator[](int i) const Obtain a given shape function. Definition: shapefunctions.hpp:201 std::vector< ShapeFunction > f Definition: shapefunctions.hpp:328 LagrangeCardinalFunction< double, double > CardinalFunction Definition: shapefunctions.hpp:275 TensorProductFunction< double, double, CardinalFunction, dim > ShapeFunction Definition: shapefunctions.hpp:278 Definition: shapefunctions.hpp:184 LinearShapeFunction() Default constructor. Definition: shapefunctions.hpp:33 TensorProductFunction(const Dune::FieldVector< ftype, dim > &funcs_) Construct a tensor-product function. Definition: shapefunctions.hpp:153 rtype evaluateFunction(const Dune::FieldVector< ctype, dim > &local) const Evaluate the shape function. Definition: shapefunctions.hpp:53 Dune::FieldVector< rtype, dim > evaluateGradient(const Dune::FieldVector< ctype, dim > &local) const Evaluate the gradient of the shape function. Definition: shapefunctions.hpp:64 Definition: shapefunctions.hpp:146 |