MFEM v4.7.0
Finite element discretization library
|
#include <example.hpp>
Public Member Functions | |
void | operator() (TParamVector &vparam, TStateVector &uu, TStateVector &rr) |
Example: Implementation of the residual evaluation for p-Laplacian problem. The residual is evaluated at the integration points for PDE parameters vparam and state fields (derivatives with respect to x,y,z and primal field) stored in vector uu.
Definition at line 30 of file example.hpp.
|
inline |
The operator returns the first derivative of the energy with respect to all state variables. These are set in vector uu and consist of the derivatives with respect to x,y,z and the primal field. The derivative is stored in vector rr with length equal to the length of vector uu.
Definition at line 37 of file example.hpp.