MFEM
v4.5.2
Finite element discretization library
|
#include <example.hpp>
Public Member Functions | |
TDataType | operator() (TParamVector &vparam, TStateVector &uu) |
Defines template class (functor) for evaluating the energy of the p-Laplacian problem. The input parameters vparam are: vparam[0] - the p-Laplacian power, vparam[1] small value ensuring exciting of an unique solution, and vparam[2] - the distributed external input to the PDE. The template parameter TDataType will be replaced by the compiler with the appropriate AD type for automatic differentiation. The TParamVector represents the vector type used for the parameter vector, and TStateVector the vector type used for the state vector. The template parameters state_size and param_size provide information for the size of the state and the parameters vectors.
Definition at line 72 of file example.hpp.
|
inline |
Returns the energy of a p-Laplacian for state field input provided in vector uu and parameters provided in vector vparam.
Definition at line 77 of file example.hpp.