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 () |
Protected Member Functions | |
virtual Real | computeQpResidual () |
virtual Real | computeQpJacobian () |
virtual Real | computeQpOffDiagJacobian (unsigned int jvar) |
Protected Attributes | |
const MaterialProperty< Real > & | _mask |
const unsigned int | _nvar |
number of coupled variables More... | |
VariableName | _v_name |
name of the nonlinear variable (needed to retrieve the derivative material properties) More... | |
const MaterialProperty< Real > & | _dmaskdv |
derivative of the mask wrt the kernel's nonlinear variable More... | |
std::vector< const MaterialProperty< Real > * > | _dmaskdarg |
Reaction rate derivatives w.r.t. other coupled variables. More... | |
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 29 of file MaskedBodyForce.h.
MaskedBodyForce::MaskedBodyForce | ( | const InputParameters & | parameters | ) |
Definition at line 26 of file MaskedBodyForce.C.
|
protectedvirtual |
Definition at line 55 of file MaskedBodyForce.C.
|
protectedvirtual |
Definition at line 61 of file MaskedBodyForce.C.
|
protectedvirtual |
Definition at line 49 of file MaskedBodyForce.C.
|
virtual |
Definition at line 43 of file MaskedBodyForce.C.
|
protected |
Reaction rate derivatives w.r.t. other coupled variables.
Definition at line 52 of file MaskedBodyForce.h.
Referenced by computeQpOffDiagJacobian(), and MaskedBodyForce().
|
protected |
derivative of the mask wrt the kernel's nonlinear variable
Definition at line 49 of file MaskedBodyForce.h.
Referenced by computeQpJacobian().
|
protected |
Definition at line 40 of file MaskedBodyForce.h.
Referenced by computeQpResidual().
|
protected |
number of coupled variables
Definition at line 43 of file MaskedBodyForce.h.
Referenced by MaskedBodyForce().
|
protected |
name of the nonlinear variable (needed to retrieve the derivative material properties)
Definition at line 46 of file MaskedBodyForce.h.