v0.14.0
Public Member Functions | List of all members
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, NavierStokesElement.hpp, PoissonOperators.hpp, simple_elasticity.cpp, simple_interface.cpp, and UnsaturatedFlow.hpp.

Definition at line 91 of file simple_interface.cpp.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 387 of file simple_elasticity.cpp.

387 { return p; }

◆ operator()() [2/2]

int FaceRule::operator() ( int  ,
int  ,
int   
) const
inline
Examples
EshelbianPlasticity.cpp.

Definition at line 92 of file simple_interface.cpp.

92 { return 4; }

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