17 "preset",
true,
"Whether or not to preset the BC (apply the value before the solve begins).");
22 :
NodalBC(parameters), _preset(getParam<bool>(
"preset"))
29 mooseAssert(
_preset,
"BC is not preset");
void computeValue(NumericVector< Number > ¤t_solution)
Method to preset the nodal value if applicable.
virtual Real computeQpResidual() override
Base class for deriving any boundary condition that works at nodes.
const unsigned int _qp
Pseudo-"quadrature point" index (Always zero for the current node)
DirichletBCBase(const InputParameters ¶meters)
static InputParameters validParams()
const bool _preset
Whether or not the value is to be preset.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual bool isNodalDefined() const override
Is this variable defined at nodes.
const dof_id_type & nodalDofIndex() const override
virtual void set(const numeric_index_type i, const Number value)=0
virtual Real computeQpValue()=0
Compute the value of the DirichletBC at the current quadrature point.
static InputParameters validParams()
const VariableValue & _u
Value of the unknown variable this BC is acting on.