DUNE PDELab (git)

test-nedelecsimplex.cc File Reference

Performs some tests for the generic Nedelec shape functions on simplices. More...

#include <dune/common/dynmatrix.hh>
#include <dune/localfunctions/nedelec/nedelecsimplex/nedelecsimplexbasis.hh>
#include <dune/localfunctions/utility/field.hh>
#include <dune/localfunctions/utility/basisprint.hh>

Detailed Description

Performs some tests for the generic Nedelec 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, triangles and tetrahedra 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.

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 13, 23:29, 2024)