No Matches
Public Member Functions | List of all members
PoissonExample::VolRule Struct Reference

Set integration rule to volume elements. More...

#include <users_modules/tutorials/cor-2to5/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 831 of file PoissonOperators.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 832 of file PoissonOperators.hpp.

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

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