v0.14.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
VolRule Struct Reference

Set integration rule. More...

Public Member Functions

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

Detailed Description

Set integration rule.

Set integration rule to volume elements.

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, mortar_contact_thermal.cpp, simple_contact_thermal.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/6]

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/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()() [3/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()() [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); }
static Index< 'p', 3 > p

◆ operator()() [5/6]

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

◆ 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: