This kernel creates a body force that is modified by a mask defined as a material. More...
#include <MaskedBodyForce.h>
Public Member Functions | |
MaskedBodyForce (const InputParameters ¶meters) | |
virtual void | initialSetup () override |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Member Functions | |
virtual Real | computeQpJacobian () override |
virtual Real | computeQpOffDiagJacobian (unsigned int jvar) override |
virtual GenericReal< is_ad > | computeQpResidual () override |
Protected Attributes | |
const MaterialProperty< Real > & | _dpropertydv |
std::vector< const MaterialProperty< Real > *> | _dpropertydarg |
const GenericMaterialProperty< Real, is_ad > & | _property |
usingGenericKernelMembers | |
This kernel creates a body force that is modified by a mask defined as a material.
Common uses of this would be to turn off or change the body force in certain regions of the mesh.
Definition at line 19 of file MaskedBodyForce.h.
|
inline |
Definition at line 23 of file MaskedBodyForce.h.
|
static |
Definition at line 15 of file MaskedBodyForce.C.