DUNE PDELab (git)
test-lagrange.cc File Reference
Performs some tests for the generic Lagrange shape functions on simplices. More...
#include <dune/geometry/type.hh>
#include <dune/localfunctions/utility/field.hh>
#include <dune/localfunctions/utility/basisprint.hh>
#include <dune/localfunctions/lagrange/equidistantpoints.hh>
#include <dune/localfunctions/lagrange/lagrangebasis.hh>
Detailed Description
Performs some tests for the generic Lagrange shape functions on simplices.
The topology can be chosen at compile time by setting TOPOLOGY to a Dune::GeometryType like
constexpr GeometryType simplex(unsigned int dim)
Returns a GeometryType representing a simplex of dimension dim.
Definition: type.hh:453
which generates a 2d simplex. If TOPOLOGY is not set, all topologies up to 4d are tested. Note, this may lead to prolonged compiler runs.
For debugging purpuse the functions and the derivatives can be printed. You have to define the macro TEST_OUTPUT_FUNCTIONS to activate this function.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 27, 23:30, 2024)