Dune Core Modules (unstable)

TestPartial Struct Reference

Helper class to test the 'partial' method. More...

#include <dune/localfunctions/test/test-localfe.hh>

Static Public Member Functions

template<class FE >
static bool testOrder0 (const FE &fe, double eps, double delta, std::size_t order=2)
 Test the 'partial' method for zero-order partial derivatives, i.e., values.
 
template<class FE >
static bool testOrder1 (const FE &fe, double eps, double delta, std::size_t order=2, const std::function< bool(const typename FE::Traits::LocalBasisType::Traits::DomainType &)> derivativePointSkip=nullptr)
 Test the 'partial' method for first-order partial derivatives.
 
template<class FE >
static bool testOrder2 (const FE &fe, double eps, double delta, std::size_t order=2, const std::function< bool(const typename FE::Traits::LocalBasisType::Traits::DomainType &)> derivativePointSkip=nullptr)
 Test second-order partial derivatives.
 

Detailed Description

Helper class to test the 'partial' method.

It implements a static loop over the available diff orders


The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)