v0.9.0
PoissonExample::VolRule Struct Reference

Set integration rule to volume elements. More...

#include <users_modules/basic_finite_elements/poisson/src/PoissonOperators.hpp>

## Public Member Functions

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

## Detailed Description

Set integration rule to volume elements.

This rule is used to integrate $$\nabla v \cdot \nabla u$$, thus if approximation field and testing field are polynomial order "p", then rule for 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.

Definition at line 844 of file PoissonOperators.hpp.

## ◆ operator()()

 int PoissonExample::VolRule::operator() ( int , int , int p ) const
Examples
PoissonOperators.hpp.

Definition at line 845 of file PoissonOperators.hpp.

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

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