26 params.
set<
bool>(
"use_displaced_mesh") =
false;
45 _subproblem(*getCheckedPointerParam<
SubProblem *>(
"_subproblem")),
46 _fe_problem(*getCheckedPointerParam<
FEProblemBase *>(
"_fe_problem_base")),
47 _adaptivity(_fe_problem.adaptivity()),
48 _sys(*getCheckedPointerParam<
SystemBase *>(
"_sys")),
50 _assembly(_subproblem.assembly(_tid, 0)),
51 _field_var(_subproblem.getStandardVariable(_tid, name())),
52 _current_elem(_field_var.currentElem()),
54 _mesh(_subproblem.
mesh())
64 MooseEnum marker_states(
"DONT_MARK=-1 COARSEN DO_NOTHING REFINE");
100const std::set<std::string> &
106const std::set<std::string> &
libMesh::ErrorVector & getErrorVector(const std::string &indicator_field)
Get an ErrorVector that will be filled up with values corresponding to the indicator field name passe...
An interface that restricts an object to subdomains via the 'blocks' input parameter.
static InputParameters validParams()
Interface for sorting dependent vectors of objects.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
virtual MarkerValue computeElementMarker()=0
static InputParameters validParams()
std::set< std::string > _supplied
virtual const std::set< std::string > & getRequestedItems() override
Return a set containing the names of items requested by the object.
ErrorVector & getErrorVector(std::string indicator)
Get an ErrorVector that will be filled up with values corresponding to the indicator passed in.
MooseVariable & _field_var
Reference to this marker as a variable.
std::set< std::string > _depend
Depend Markers.
const MooseArray< Real > & getMarkerValue(std::string name)
This is used to get the values of other Markers.
virtual const std::set< std::string > & getSuppliedItems() override
Return a set containing the names of items owned by the object.
static MooseEnum markerStates()
Helper function for getting the valid refinement flag states a marker can use as a MooseEnum.
virtual void computeMarker()
Computes and sets the value of the refinement flag.
Marker(const InputParameters ¶meters)
virtual void markerSetup()
Is called before any element looping is started so any "global" computation can be done.
Interface for notifications that the mesh has changed.
const std::string & name() const
Get the name of the class.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Every object that can be built by the factory should be derived from this class.
static InputParameters validParams()
void addMooseVariableDependency(MooseVariableFieldBase *var)
Call this function to add the passed in MooseVariableFieldBase as a variable that this object depends...
virtual void setNodalValue(const OutputType &value, unsigned int idx=0) override
A class to provide an common interface to objects requiring "outputs" option.
static InputParameters validParams()
Interface class for classes which interact with Postprocessors.
A class for creating restricted objects.
Generic class for solving transient nonlinear problems.
Base class for a system (of equations)
MooseVariableFE< T > & getFieldVariable(THREAD_ID tid, const std::string &var_name)
Gets a reference to a variable of with specified name.
Interface for objects that need to use UserObjects.