v0.14.0
Public Member Functions | List of all members
PoissonExample::FaceRule Struct Reference

Set integration rule to boundary elements. More...

#include <tutorials/cor-2to5/src/PoissonOperators.hpp>

Public Member Functions

int operator() (int p_row, int p_col, int p_data) const
 

Detailed Description

Set integration rule to boundary elements.

This is uses to integrate values on the face. Is used to integrate \((\mathbf{n} \cdot \lambda) u\), where Lagrange multiplayer is order "p_row" and approximate function is order "p_col".

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

Examples
analytical_poisson_field_split.cpp.

Definition at line 849 of file PoissonOperators.hpp.

Member Function Documentation

◆ operator()()

int PoissonExample::FaceRule::operator() ( int  p_row,
int  p_col,
int  p_data 
) const
inline

Definition at line 850 of file PoissonOperators.hpp.

850  {
851  return 2 * p_data + 1;
852  }

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