DUNE PDELab (2.8)

test-nedelecsimplex.cc File Reference

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

#include <config.h>
#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:461

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 (Dec 22, 23:30, 2024)