v0.15.0
Loading...
Searching...
No Matches
VolRule Struct Reference

Set integration rule to volume elements. More...

Public Member Functions

int operator() (int, int, int) const
 
int operator() (int, int, int) const
 
int operator() (int, int, int p) const
 
int operator() (int, int, int order) const
 

Detailed Description

Set integration rule to volume elements.

Set integration rule.

This rule is used to integrate \(\nabla v \cdot \nabla u\), thus if the approximation field and the testing field are polynomials of order "p", then the rule for the exact integration is 2*(p-1).

Integration rule is order of polynomial which is calculated exactly. Finite element selects integration method based on return of this function.

Examples
EshelbianPlasticity.cpp, NavierStokesElement.hpp, PoissonOperators.hpp, UnsaturatedFlow.hpp, elasticity.cpp, simple_elasticity.cpp, simple_interface.cpp, test_cache_on_entities.cpp, testing_jacobian_of_hook_element.cpp, and testing_jacobian_of_hook_scaled_with_density_element.cpp.

Definition at line 88 of file simple_interface.cpp.

Member Function Documentation

◆ operator()() [1/4]

int VolRule::operator() ( int ,
int ,
int order ) const
inline

Definition at line 80 of file elasticity.cpp.

80{ return 2 * order; }
constexpr int order

◆ operator()() [2/4]

int VolRule::operator() ( int ,
int ,
int p ) const
inline

Definition at line 369 of file simple_elasticity.cpp.

369{ return 2 * (p - 1); }

◆ operator()() [3/4]

◆ operator()() [4/4]

int VolRule::operator() ( int ,
int ,
int  ) const
inline

Definition at line 164 of file test_cache_on_entities.cpp.

164{ return 1; }

The documentation for this struct was generated from the following files: