v0.14.0
Public Member Functions | List of all members
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
 
int operator() (int, int, int order) 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
elasticity.cpp, EshelbianPlasticity.cpp, mortar_contact_thermal.cpp, NavierStokesElement.hpp, PoissonOperators.hpp, simple_contact_thermal.cpp, simple_elasticity.cpp, simple_interface.cpp, test_cache_on_entities.cpp, testing_jacobian_of_hook_element.cpp, testing_jacobian_of_hook_scaled_with_density_element.cpp, and UnsaturatedFlow.hpp.

Definition at line 88 of file simple_interface.cpp.

Member Function Documentation

◆ operator()() [1/6]

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

Definition at line 32 of file mortar_contact_thermal.cpp.

32 { return 2 * (order - 1); }

◆ operator()() [2/6]

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

Definition at line 36 of file simple_contact_thermal.cpp.

36 { return 2 * (order - 1); }

◆ operator()() [3/6]

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

Definition at line 80 of file elasticity.cpp.

80 { return 2 * order; }

◆ operator()() [4/6]

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

Definition at line 369 of file simple_elasticity.cpp.

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

◆ operator()() [5/6]

int VolRule::operator() ( int  ,
int  ,
int   
) const
inline
Examples
EshelbianPlasticity.cpp, and mortar_contact_thermal.cpp.

Definition at line 89 of file simple_interface.cpp.

89 { return 2; }

◆ operator()() [6/6]

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:
order
constexpr int order
Definition: dg_projection.cpp:18