 v0.13.1
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 100 of file simple_interface.cpp.

## ◆ operator()() [1/6]

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

Definition at line 91 of file elasticity.cpp.

91{ return 2 * order; }

## ◆ operator()() [2/6]

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

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

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

Definition at line 384 of file simple_elasticity.cpp.

384 {
385 return 2 * (p - 1);
386 }
static Index< 'p', 3 > p

## ◆ operator()() [5/6]

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

## ◆ operator()() [6/6]

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

Definition at line 176 of file test_cache_on_entities.cpp.

176{ return 1; }

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