v0.9.0
FaceRule Struct Reference

Set integration rule to boundary elements. More...

## Public Member Functions

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

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

## Detailed Description

Set integration rule to boundary elements.

This rule is used to integrate the work of external forces on a face, i.e. $$f \cdot v$$, where f is the traction vector and v is the test vector function. The current problem features a Neumann bc with a pre-defined constant pressure. Therefore, if the test field is represented by polynomials of order "p", then the rule for the exact integration is also p.

Integration rule is order of polynomial which is calculated exactly. Finite element selects integration method based on return of this function.

Examples
EshelbianOperators.cpp, EshelbianPlasticity.cpp, PoissonOperators.hpp, simple_elasticity.cpp, simple_interface.cpp, and UnsaturatedFlow.hpp.

Definition at line 106 of file simple_interface.cpp.

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

 int FaceRule::operator() ( int , int , int ) const

Definition at line 107 of file simple_interface.cpp.

107 { return 4; }

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

 int FaceRule::operator() ( int , int , int p ) const

Definition at line 404 of file simple_elasticity.cpp.

404  {
405  return p;
406  }

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