www.mooseframework.org
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
DisplacedProblem Class Reference

#include <DisplacedProblem.h>

Inheritance diagram for DisplacedProblem:
[legend]

Public Member Functions

 DisplacedProblem (const InputParameters &parameters)
 
virtual EquationSystems & es () override
 
virtual MooseMeshmesh () override
 
MooseMeshrefMesh ()
 
DisplacedSystemnlSys ()
 
DisplacedSystemauxSys ()
 
const std::vector< std::string > & getDisplacementVarNames () const
 
virtual void createQRules (QuadratureType type, Order order, Order volume_order, Order face_order)
 
virtual void init () override
 
virtual void solve () override
 
virtual bool converged () override
 
virtual void saveOldSolutions ()
 Allocate vectors and save old solutions into them. More...
 
virtual void restoreOldSolutions ()
 Restore old solutions from the backup vectors and deallocate them. More...
 
virtual void syncSolutions ()
 Copy the solutions on the undisplaced systems to the displaced systems. More...
 
virtual void syncSolutions (const NumericVector< Number > &soln, const NumericVector< Number > &aux_soln)
 Synchronize the solutions on the displaced systems to the given solutions. More...
 
virtual void updateMesh ()
 Copy the solutions on the undisplaced systems to the displaced systems and reinitialize the geometry search data and Dirac kernel information due to mesh displacement. More...
 
virtual void updateMesh (const NumericVector< Number > &soln, const NumericVector< Number > &aux_soln)
 Synchronize the solutions on the displaced systems to the given solutions and reinitialize the geometry search data and Dirac kernel information due to mesh displacement. More...
 
virtual TagID addVectorTag (TagName tag_name) override
 Create a Tag. More...
 
virtual TagID getVectorTagID (const TagName &tag_name) override
 Get a TagID from a TagName. More...
 
virtual TagName vectorTagName (TagID tag) override
 Retrieve the name associated with a TagID. More...
 
virtual bool vectorTagExists (TagID tag) override
 Check to see if a particular Tag exists. More...
 
virtual unsigned int numVectorTags () override
 The total number of tags. More...
 
virtual std::map< TagName, TagID > & getVectorTags () override
 Return all vector tags, where a tag is represented by a map from name to ID. More...
 
virtual TagID addMatrixTag (TagName tag_name) override
 Create a Tag. More...
 
virtual TagID getMatrixTagID (const TagName &tag_name) override
 Get a TagID from a TagName. More...
 
virtual TagName matrixTagName (TagID tag) override
 Retrieve the name associated with a TagID. More...
 
virtual bool matrixTagExists (const TagName &tag_name) override
 Check to see if a particular Tag exists. More...
 
virtual bool matrixTagExists (TagID tag_id) override
 Check to see if a particular Tag exists. More...
 
virtual unsigned int numMatrixTags () override
 The total number of tags. More...
 
virtual bool isTransient () const override
 
virtual Moose::CoordinateSystemType getCoordSystem (SubdomainID sid) override
 
virtual bool hasVariable (const std::string &var_name) const override
 
virtual MooseVariableFEBasegetVariable (THREAD_ID tid, const std::string &var_name, Moose::VarKindType expected_var_type=Moose::VarKindType::VAR_ANY, Moose::VarFieldType expected_var_field_type=Moose::VarFieldType::VAR_FIELD_ANY) override
 Returns the variable reference for requested variable which must be of the expected_var_type (Nonlinear vs. More...
 
virtual MooseVariablegetStandardVariable (THREAD_ID tid, const std::string &var_name) override
 Returns the variable reference for requested MooseVariable which may be in any system. More...
 
virtual VectorMooseVariablegetVectorVariable (THREAD_ID tid, const std::string &var_name) override
 Returns the variable reference for requested VectorMooseVariable which may be in any system. More...
 
virtual bool hasScalarVariable (const std::string &var_name) const override
 Returns a Boolean indicating whether any system contains a variable with the name provided. More...
 
virtual MooseVariableScalargetScalarVariable (THREAD_ID tid, const std::string &var_name) override
 Returns the scalar variable reference from whichever system contains it. More...
 
virtual System & getSystem (const std::string &var_name) override
 Returns the equation system containing the variable provided. More...
 
virtual void addVariable (const std::string &var_name, const FEType &type, Real scale_factor, const std::set< SubdomainID > *const active_subdomains=NULL)
 
virtual void addAuxVariable (const std::string &var_name, const FEType &type, const std::set< SubdomainID > *const active_subdomains=NULL)
 
virtual void addScalarVariable (const std::string &var_name, Order order, Real scale_factor=1., const std::set< SubdomainID > *const active_subdomains=NULL)
 
virtual void addAuxScalarVariable (const std::string &var_name, Order order, Real scale_factor=1., const std::set< SubdomainID > *const active_subdomains=NULL)
 
virtual void initAdaptivity ()
 
virtual void meshChanged () override
 
virtual void prepare (const Elem *elem, THREAD_ID tid) override
 
virtual void prepareNonlocal (THREAD_ID tid)
 
virtual void prepareFace (const Elem *elem, THREAD_ID tid) override
 
virtual void prepare (const Elem *elem, unsigned int ivar, unsigned int jvar, const std::vector< dof_id_type > &dof_indices, THREAD_ID tid) override
 
virtual void setCurrentSubdomainID (const Elem *elem, THREAD_ID tid) override
 
virtual void setNeighborSubdomainID (const Elem *elem, unsigned int side, THREAD_ID tid) override
 
virtual void prepareBlockNonlocal (unsigned int ivar, unsigned int jvar, const std::vector< dof_id_type > &idof_indices, const std::vector< dof_id_type > &jdof_indices, THREAD_ID tid)
 
virtual void prepareAssembly (THREAD_ID tid) override
 
virtual void prepareAssemblyNeighbor (THREAD_ID tid)
 
virtual bool reinitDirac (const Elem *elem, THREAD_ID tid) override
 Returns true if the Problem has Dirac kernels it needs to compute on elem. More...
 
virtual void reinitElem (const Elem *elem, THREAD_ID tid) override
 
virtual void reinitElemPhys (const Elem *elem, const std::vector< Point > &phys_points_in_elem, THREAD_ID tid, bool=false) override
 
virtual void reinitElemFace (const Elem *elem, unsigned int side, BoundaryID bnd_id, THREAD_ID tid) override
 
virtual void reinitNode (const Node *node, THREAD_ID tid) override
 
virtual void reinitNodeFace (const Node *node, BoundaryID bnd_id, THREAD_ID tid) override
 
virtual void reinitNodes (const std::vector< dof_id_type > &nodes, THREAD_ID tid) override
 
virtual void reinitNodesNeighbor (const std::vector< dof_id_type > &nodes, THREAD_ID tid) override
 
virtual void reinitNeighbor (const Elem *elem, unsigned int side, THREAD_ID tid) override
 
virtual void reinitNeighborPhys (const Elem *neighbor, unsigned int neighbor_side, const std::vector< Point > &physical_points, THREAD_ID tid) override
 
virtual void reinitNeighborPhys (const Elem *neighbor, const std::vector< Point > &physical_points, THREAD_ID tid) override
 
virtual void reinitScalars (THREAD_ID tid) override
 
virtual void reinitOffDiagScalars (THREAD_ID tid) override
 
virtual void getDiracElements (std::set< const Elem *> &elems) override
 Fills "elems" with the elements that should be looped over for Dirac Kernels. More...
 
virtual void clearDiracInfo () override
 Gets called before Dirac Kernels are asked to add the points they are supposed to be evaluated in. More...
 
virtual void addResidual (THREAD_ID tid) override
 
virtual void addResidualNeighbor (THREAD_ID tid) override
 
virtual void cacheResidual (THREAD_ID tid) override
 
virtual void cacheResidualNeighbor (THREAD_ID tid) override
 
virtual void addCachedResidual (THREAD_ID tid) override
 
virtual void addCachedResidualDirectly (NumericVector< Number > &residual, THREAD_ID tid)
 
virtual void setResidual (NumericVector< Number > &residual, THREAD_ID tid) override
 
virtual void setResidualNeighbor (NumericVector< Number > &residual, THREAD_ID tid) override
 
virtual void addJacobian (THREAD_ID tid) override
 
virtual void addJacobianNonlocal (THREAD_ID tid)
 
virtual void addJacobianNeighbor (THREAD_ID tid) override
 
virtual void addJacobianBlock (SparseMatrix< Number > &jacobian, unsigned int ivar, unsigned int jvar, const DofMap &dof_map, std::vector< dof_id_type > &dof_indices, THREAD_ID tid) override
 
virtual void addJacobianBlockNonlocal (SparseMatrix< Number > &jacobian, unsigned int ivar, unsigned int jvar, const DofMap &dof_map, const std::vector< dof_id_type > &idof_indices, const std::vector< dof_id_type > &jdof_indices, THREAD_ID tid)
 
virtual void addJacobianNeighbor (SparseMatrix< Number > &jacobian, unsigned int ivar, unsigned int jvar, const DofMap &dof_map, std::vector< dof_id_type > &dof_indices, std::vector< dof_id_type > &neighbor_dof_indices, THREAD_ID tid) override
 
virtual void cacheJacobian (THREAD_ID tid) override
 
virtual void cacheJacobianNonlocal (THREAD_ID tid)
 
virtual void cacheJacobianNeighbor (THREAD_ID tid) override
 
virtual void addCachedJacobian (THREAD_ID tid) override
 
virtual void prepareShapes (unsigned int var, THREAD_ID tid) override
 
virtual void prepareFaceShapes (unsigned int var, THREAD_ID tid) override
 
virtual void prepareNeighborShapes (unsigned int var, THREAD_ID tid) override
 
virtual Assemblyassembly (THREAD_ID tid) override
 
virtual void updateGeomSearch (GeometricSearchData::GeometricSearchType type=GeometricSearchData::ALL) override
 
virtual GeometricSearchDatageomSearchData () override
 
virtual bool computingInitialResidual () const override
 Returns true if the problem is in the process of computing it's initial residual. More...
 
virtual void onTimestepBegin () override
 
virtual void onTimestepEnd () override
 
virtual std::set< dof_id_type > & ghostedElems () override
 Return the list of elements that should have their DoFs ghosted to this processor. More...
 
virtual void addGhostedElem (dof_id_type elem_id) override
 Will make sure that all dofs connected to elem_id are ghosted to this processor. More...
 
virtual void addGhostedBoundary (BoundaryID boundary_id) override
 Will make sure that all necessary elements from boundary_id are ghosted to this processor. More...
 
virtual void ghostGhostedBoundaries () override
 Causes the boundaries added using addGhostedBoundary to actually be ghosted. More...
 
void undisplaceMesh ()
 Resets the displaced mesh to the reference mesh. More...
 
virtual bool checkNonlocalCouplingRequirement ()
 
bool defaultGhosting ()
 Whether or not the user has requested default ghosting ot be on. More...
 
bool vectorTagExists (const TagName &tag_name)
 Check to see if a particular Tag exists by using Tag name. More...
 
virtual std::map< TagName, TagID > & getMatrixTags ()
 Return all matrix tags in the sytem, where a tag is represented by a map from name to ID. More...
 
virtual void setActiveElementalMooseVariables (const std::set< MooseVariableFEBase *> &moose_vars, THREAD_ID tid)
 Set the MOOSE variables to be reinited on each element. More...
 
virtual const std::set< MooseVariableFEBase * > & getActiveElementalMooseVariables (THREAD_ID tid) const
 Get the MOOSE variables to be reinited on each element. More...
 
virtual bool hasActiveElementalMooseVariables (THREAD_ID tid) const
 Whether or not a list of active elemental moose variables has been set. More...
 
virtual void clearActiveElementalMooseVariables (THREAD_ID tid)
 Clear the active elemental MooseVariableFEBase. More...
 
virtual void setActiveMaterialProperties (const std::set< unsigned int > &mat_prop_ids, THREAD_ID tid)
 Record and set the material properties required by the current computing thread. More...
 
virtual const std::set< unsigned int > & getActiveMaterialProperties (THREAD_ID tid) const
 Get the material properties required by the current computing thread. More...
 
virtual bool hasActiveMaterialProperties (THREAD_ID tid) const
 Method to check whether or not a list of active material roperties has been set. More...
 
virtual void clearActiveMaterialProperties (THREAD_ID tid)
 Clear the active material properties. More...
 
unsigned int getAxisymmetricRadialCoord () const
 Returns the desired radial direction for RZ coordinate transformation. More...
 
virtual DiracKernelInfodiracKernelInfo ()
 
virtual Real finalNonlinearResidual () const
 
virtual unsigned int nNonlinearIterations () const
 
virtual unsigned int nLinearIterations () const
 
virtual void storeSubdomainMatPropName (SubdomainID block_id, const std::string &name)
 Adds the given material property to a storage map based on block ids. More...
 
virtual void storeBoundaryMatPropName (BoundaryID boundary_id, const std::string &name)
 Adds the given material property to a storage map based on boundary ids. More...
 
virtual void storeSubdomainZeroMatProp (SubdomainID block_id, const MaterialPropertyName &name)
 Adds to a map based on block ids of material properties for which a zero value can be returned. More...
 
virtual void storeBoundaryZeroMatProp (BoundaryID boundary_id, const MaterialPropertyName &name)
 Adds to a map based on boundary ids of material properties for which a zero value can be returned. More...
 
virtual void storeSubdomainDelayedCheckMatProp (const std::string &requestor, SubdomainID block_id, const std::string &name)
 Adds to a map based on block ids of material properties to validate. More...
 
virtual void storeBoundaryDelayedCheckMatProp (const std::string &requestor, BoundaryID boundary_id, const std::string &name)
 Adds to a map based on boundary ids of material properties to validate. More...
 
virtual void checkBlockMatProps ()
 Checks block material properties integrity. More...
 
virtual void checkBoundaryMatProps ()
 Checks boundary material properties integrity. More...
 
virtual void markMatPropRequested (const std::string &)
 Helper method for adding a material property name to the _material_property_requested set. More...
 
virtual bool isMatPropRequested (const std::string &prop_name) const
 Find out if a material property has been requested by any object. More...
 
virtual std::set< SubdomainIDgetMaterialPropertyBlocks (const std::string &prop_name)
 Get a vector containing the block ids the material property is defined on. More...
 
virtual std::vector< SubdomainName > getMaterialPropertyBlockNames (const std::string &prop_name)
 Get a vector of block id equivalences that the material property is defined on. More...
 
virtual bool hasBlockMaterialProperty (SubdomainID block_id, const std::string &prop_name)
 Check if a material property is defined on a block. More...
 
virtual std::set< BoundaryIDgetMaterialPropertyBoundaryIDs (const std::string &prop_name)
 Get a vector containing the block ids the material property is defined on. More...
 
virtual std::vector< BoundaryName > getMaterialPropertyBoundaryNames (const std::string &prop_name)
 Get a vector of block id equivalences that the material property is defined on. More...
 
virtual bool hasBoundaryMaterialProperty (BoundaryID boundary_id, const std::string &prop_name)
 Check if a material property is defined on a block. More...
 
const CouplingMatrix & nonlocalCouplingMatrix () const
 
virtual const bool & currentlyComputingJacobian () const
 Returns true if the problem is in the process of computing Jacobian. More...
 
virtual void setCurrentlyComputingJacobian (const bool &flag)
 
bool & computingNonlinearResid ()
 Check whether residual being evaulated is non-linear. More...
 
bool safeAccessTaggedMatrices ()
 Is it safe to access the tagged matrices. More...
 
bool safeAccessTaggedVectors ()
 Is it safe to access the tagged vectors. More...
 
virtual void clearActiveFEVariableCoupleableMatrixTags (THREAD_ID tid)
 
virtual void clearActiveFEVariableCoupleableVectorTags (THREAD_ID tid)
 
virtual void setActiveFEVariableCoupleableVectorTags (std::set< TagID > &vtags, THREAD_ID tid)
 
virtual void setActiveFEVariableCoupleableMatrixTags (std::set< TagID > &mtags, THREAD_ID tid)
 
virtual void clearActiveScalarVariableCoupleableMatrixTags (THREAD_ID tid)
 
virtual void clearActiveScalarVariableCoupleableVectorTags (THREAD_ID tid)
 
virtual void setActiveScalarVariableCoupleableVectorTags (std::set< TagID > &vtags, THREAD_ID tid)
 
virtual void setActiveScalarVariableCoupleableMatrixTags (std::set< TagID > &mtags, THREAD_ID tid)
 
std::set< TagID > & getActiveScalarVariableCoupleableVectorTags (THREAD_ID tid)
 
std::set< TagID > & getActiveScalarVariableCoupleableMatrixTags (THREAD_ID tid)
 
std::set< TagID > & getActiveFEVariableCoupleableVectorTags (THREAD_ID tid)
 
std::set< TagID > & getActiveFEVariableCoupleableMatrixTags (THREAD_ID tid)
 
virtual void haveADObjects (bool have_ad_objects)
 Method for setting whether we have any ad objects. More...
 
bool haveADObjects () const
 Method for reading wehther we have any ad objects. More...
 
void _setCLIOption ()
 For Internal Use. More...
 
virtual void terminateSolve ()
 Allow objects to request clean termination of the solve. More...
 
virtual bool isSolveTerminationRequested ()
 Check of termination has been requested. More...
 
const std::string & type () const
 Get the type of this object. More...
 
const std::string & name () const
 Get the name of the object. More...
 
const InputParametersparameters () const
 Get the parameters of the object. More...
 
template<typename T >
const T & getParam (const std::string &name) const
 Retrieve a parameter for the object. More...
 
template<typename T >
getCheckedPointerParam (const std::string &name, const std::string &error_string="") const
 Verifies that the requested parameter exists and is not NULL and returns it to the caller. More...
 
bool isParamValid (const std::string &name) const
 Test if the supplied parameter is valid. More...
 
MooseAppgetMooseApp () const
 Get the MooseApp this object is associated with. More...
 
virtual bool enabled () const
 Return the enabled status of the object. More...
 
template<typename... Args>
void paramError (const std::string &param, Args... args)
 Emits an error prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message. More...
 
template<typename... Args>
void paramWarning (const std::string &param, Args... args)
 Emits a warning prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message. More...
 
template<typename... Args>
void paramInfo (const std::string &param, Args... args)
 Emits an informational message prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message. More...
 
template<typename... Args>
void mooseError (Args &&... args) const
 
template<typename... Args>
void mooseWarning (Args &&... args) const
 
template<typename... Args>
void mooseDeprecated (Args &&... args) const
 
template<typename... Args>
void mooseInfo (Args &&... args) const
 

Public Attributes

std::map< std::string, std::vector< dof_id_type > > _var_dof_map
 
const ConsoleStream _console
 An instance of helper class to write streams to the Console objects. More...
 

Protected Member Functions

MooseVariableFEBasegetVariableHelper (THREAD_ID tid, const std::string &var_name, Moose::VarKindType expected_var_type, Moose::VarFieldType expected_var_field_type, SystemBase &nl, SystemBase &aux)
 Helper function called by getVariable that handles the logic for checking whether Variables of the requested type are available. More...
 
PerfID registerTimedSection (const std::string &section_name, const unsigned int level)
 Call to register a named section for timing. More...
 

Protected Attributes

FEProblemBase_mproblem
 
MooseMesh_mesh
 
EquationSystems _eq
 
MooseMesh_ref_mesh
 reference mesh More...
 
std::vector< std::string > _displacements
 
DisplacedSystem _displaced_nl
 
DisplacedSystem _displaced_aux
 
const NumericVector< Number > * _nl_solution
 
const NumericVector< Number > * _aux_solution
 
std::vector< std::unique_ptr< Assembly > > _assembly
 
GeometricSearchData _geometric_search_data
 
PerfID _eq_init_timer
 Timers. More...
 
PerfID _update_mesh_timer
 
PerfID _sync_solutions_timer
 
PerfID _update_geometric_search_timer
 
std::map< TagName, TagID_vector_tag_name_to_tag_id
 The currently declared tags. More...
 
std::map< TagID, TagName > _vector_tag_id_to_tag_name
 Reverse map. More...
 
std::map< TagName, TagID_matrix_tag_name_to_tag_id
 The currently declared tags. More...
 
std::map< TagID, TagName > _matrix_tag_id_to_tag_name
 Reverse map. More...
 
Factory_factory
 The Factory for building objects. More...
 
CouplingMatrix _nonlocal_cm
 
std::map< SubdomainID, Moose::CoordinateSystemType_coord_sys
 nonlocal coupling matrix; More...
 
DiracKernelInfo _dirac_kernel_info
 
std::map< SubdomainID, std::set< std::string > > _map_block_material_props
 Map of material properties (block_id -> list of properties) More...
 
std::map< BoundaryID, std::set< std::string > > _map_boundary_material_props
 Map for boundary material properties (boundary_id -> list of properties) More...
 
std::map< SubdomainID, std::set< MaterialPropertyName > > _zero_block_material_props
 Set of properties returned as zero properties. More...
 
std::map< BoundaryID, std::set< MaterialPropertyName > > _zero_boundary_material_props
 
std::set< std::string > _material_property_requested
 set containing all material property names that have been requested by getMaterialProperty* More...
 
std::vector< std::set< MooseVariableFEBase * > > _active_elemental_moose_variables
 This is the set of MooseVariableFEBases that will actually get reinited by a call to reinit(elem) More...
 
std::vector< unsigned int > _has_active_elemental_moose_variables
 Whether or not there is currently a list of active elemental moose variables. More...
 
std::vector< std::set< unsigned int > > _active_material_property_ids
 Set of material property ids that determine whether materials get reinited. More...
 
std::vector< std::set< TagID > > _active_fe_var_coupleable_matrix_tags
 
std::vector< std::set< TagID > > _active_fe_var_coupleable_vector_tags
 
std::vector< std::set< TagID > > _active_sc_var_coupleable_matrix_tags
 
std::vector< std::set< TagID > > _active_sc_var_coupleable_vector_tags
 
bool _requires_nonlocal_coupling
 nonlocal coupling requirement flag More...
 
bool _default_ghosting
 Whether or not to use default libMesh coupling. More...
 
std::set< dof_id_type > _ghosted_elems
 Elements that should have Dofs ghosted to the local processor. More...
 
unsigned int _rz_coord_axis
 Storage for RZ axis selection. More...
 
bool _currently_computing_jacobian
 Flag to determine whether the problem is currently computing Jacobian. More...
 
bool _computing_nonlinear_residual
 Whether residual being evaulated is non-linear. More...
 
bool _safe_access_tagged_matrices
 Is it safe to retrieve data from tagged matrices. More...
 
bool _safe_access_tagged_vectors
 Is it safe to retrieve data from tagged vectors. More...
 
bool _have_ad_objects
 AD flag indicating whether any AD objects have been added. More...
 
bool _cli_option_found
 True if the CLI option is found. More...
 
bool _color_output
 True if we're going to attempt to write color output. More...
 
bool _termination_requested
 True if termination of the solve has been requested. More...
 
const InputParameters_pars
 Parameters of this object, references the InputParameters stored in the InputParametersWarehouse. More...
 
MooseApp_app
 The MooseApp this object is associated with. More...
 
const std::string & _type
 The type of this object (the Class name) More...
 
const std::string & _name
 The name of this object, reference to value stored in InputParameters. More...
 
const bool & _enabled
 Reference to the "enable" InputParaemters, used by Controls for toggling on/off MooseObjects. More...
 
const InputParameters_pg_params
 Params. More...
 
PerfGraph_perf_graph
 The performance graph to add to. More...
 
std::string _prefix
 A prefix to use for all sections. More...
 
std::map< SubdomainID, std::multimap< std::string, std::string > > _map_block_material_props_check
 Data structures of the requested material properties. More...
 
std::map< BoundaryID, std::multimap< std::string, std::string > > _map_boundary_material_props_check
 

Friends

class UpdateDisplacedMeshThread
 
class Restartable
 

Detailed Description

Definition at line 39 of file DisplacedProblem.h.

Constructor & Destructor Documentation

◆ DisplacedProblem()

DisplacedProblem::DisplacedProblem ( const InputParameters parameters)

Definition at line 37 of file DisplacedProblem.C.

39  _mproblem(parameters.have_parameter<FEProblemBase *>("_fe_problem_base")
40  ? *getParam<FEProblemBase *>("_fe_problem_base")
41  : *getParam<FEProblem *>("_fe_problem")),
42  _mesh(*getParam<MooseMesh *>("mesh")),
43  _eq(_mesh),
45  _displacements(getParam<std::vector<std::string>>("displacements")),
46  _displaced_nl(*this,
48  _mproblem.getNonlinearSystemBase().name() + "_displaced",
50  _displaced_aux(*this,
52  _mproblem.getAuxiliarySystem().name() + "_displaced",
55  _eq_init_timer(registerTimedSection("eq::init", 2)),
56  _update_mesh_timer(registerTimedSection("updateMesh", 3)),
57  _sync_solutions_timer(registerTimedSection("syncSolutions", 5)),
58  _update_geometric_search_timer(registerTimedSection("updateGeometricSearch", 3))
59 {
60  // Possibly turn off default ghosting in libMesh
61  _eq.enable_default_ghosting(_default_ghosting);
62 
63  // TODO: Move newAssemblyArray further up to SubProblem so that we can use it here
64  unsigned int n_threads = libMesh::n_threads();
65 
66  _assembly.reserve(n_threads);
67  for (unsigned int i = 0; i < n_threads; ++i)
68  _assembly.emplace_back(libmesh_make_unique<Assembly>(_displaced_nl, i));
69 
71 }
PerfID registerTimedSection(const std::string &section_name, const unsigned int level)
Call to register a named section for timing.
GeometricSearchData _geometric_search_data
PerfID _update_geometric_search_timer
NonlinearSystemBase & getNonlinearSystemBase()
FEProblemBase & _mproblem
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
PerfID _eq_init_timer
Timers.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
const T & getParam(const std::string &name) const
Retrieve a parameter for the object.
Definition: MooseObject.h:188
virtual const std::string & name() const
Definition: SystemBase.C:1049
void addTimeIntegrator(std::shared_ptr< TimeIntegrator > ti) override
EquationSystems _eq
MooseMesh & _ref_mesh
reference mesh
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:62
SubProblem(const InputParameters &parameters)
Definition: SubProblem.C:38
std::vector< std::string > _displacements
AuxiliarySystem & getAuxiliarySystem()
bool _default_ghosting
Whether or not to use default libMesh coupling.
Definition: SubProblem.h:641
std::shared_ptr< TimeIntegrator > getSharedTimeIntegrator()
Definition: SystemBase.h:691
virtual MooseMesh & mesh() override

Member Function Documentation

◆ _setCLIOption()

void Problem::_setCLIOption ( )
inlineinherited

For Internal Use.

Definition at line 36 of file Problem.h.

36 { _cli_option_found = true; }
bool _cli_option_found
True if the CLI option is found.
Definition: Problem.h:47

◆ addAuxScalarVariable()

void DisplacedProblem::addAuxScalarVariable ( const std::string &  var_name,
Order  order,
Real  scale_factor = 1.,
const std::set< SubdomainID > *const  active_subdomains = NULL 
)
virtual

Definition at line 415 of file DisplacedProblem.C.

419 {
420  _displaced_aux.addScalarVariable(var_name, order, scale_factor, active_subdomains);
421 }
DisplacedSystem _displaced_aux
virtual void addScalarVariable(const std::string &var_name, Order order, Real scale_factor, const std::set< SubdomainID > *const active_subdomains=NULL)
Adds a scalar variable.
Definition: SystemBase.C:628

◆ addAuxVariable()

void DisplacedProblem::addAuxVariable ( const std::string &  var_name,
const FEType &  type,
const std::set< SubdomainID > *const  active_subdomains = NULL 
)
virtual

Definition at line 398 of file DisplacedProblem.C.

401 {
402  _displaced_aux.addVariable(var_name, type, 1.0, active_subdomains);
403 }
virtual void addVariable(const std::string &var_name, const FEType &type, Real scale_factor, const std::set< SubdomainID > *const active_subdomains=NULL)
Adds a variable to the system.
Definition: SystemBase.C:597
DisplacedSystem _displaced_aux
const std::string & type() const
Get the type of this object.
Definition: MooseObject.h:50

◆ addCachedJacobian()

void DisplacedProblem::addCachedJacobian ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 754 of file DisplacedProblem.C.

755 {
756  _assembly[tid]->addCachedJacobian();
757 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ addCachedResidual()

void DisplacedProblem::addCachedResidual ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 693 of file DisplacedProblem.C.

694 {
695  _assembly[tid]->addCachedResiduals();
696 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ addCachedResidualDirectly()

void DisplacedProblem::addCachedResidualDirectly ( NumericVector< Number > &  residual,
THREAD_ID  tid 
)
virtual

Definition at line 699 of file DisplacedProblem.C.

700 {
701  _assembly[tid]->addCachedResidual(residual, _displaced_nl.timeVectorTag());
702  _assembly[tid]->addCachedResidual(residual, _displaced_nl.nonTimeVectorTag());
703 }
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_nl
virtual TagID timeVectorTag() override
Ideally, we should not need this API.
virtual TagID nonTimeVectorTag() override

◆ addGhostedBoundary()

void DisplacedProblem::addGhostedBoundary ( BoundaryID  boundary_id)
overridevirtual

Will make sure that all necessary elements from boundary_id are ghosted to this processor.

Parameters
boundary_idBoundary ID

Implements SubProblem.

Definition at line 842 of file DisplacedProblem.C.

843 {
844  _mproblem.addGhostedBoundary(boundary_id);
845 }
FEProblemBase & _mproblem
virtual void addGhostedBoundary(BoundaryID boundary_id) override
Will make sure that all necessary elements from boundary_id are ghosted to this processor.

◆ addGhostedElem()

void DisplacedProblem::addGhostedElem ( dof_id_type  elem_id)
overridevirtual

Will make sure that all dofs connected to elem_id are ghosted to this processor.

Implements SubProblem.

Definition at line 836 of file DisplacedProblem.C.

837 {
838  _mproblem.addGhostedElem(elem_id);
839 }
virtual void addGhostedElem(dof_id_type elem_id) override
Will make sure that all dofs connected to elem_id are ghosted to this processor.
FEProblemBase & _mproblem

◆ addJacobian()

void DisplacedProblem::addJacobian ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 718 of file DisplacedProblem.C.

719 {
720  _assembly[tid]->addJacobian();
721 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ addJacobianBlock()

void DisplacedProblem::addJacobianBlock ( SparseMatrix< Number > &  jacobian,
unsigned int  ivar,
unsigned int  jvar,
const DofMap &  dof_map,
std::vector< dof_id_type > &  dof_indices,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 760 of file DisplacedProblem.C.

766 {
767  _assembly[tid]->addJacobianBlock(jacobian, ivar, jvar, dof_map, dof_indices);
768 }
std::vector< std::unique_ptr< Assembly > > _assembly
DofMap & dof_map

◆ addJacobianBlockNonlocal()

void DisplacedProblem::addJacobianBlockNonlocal ( SparseMatrix< Number > &  jacobian,
unsigned int  ivar,
unsigned int  jvar,
const DofMap &  dof_map,
const std::vector< dof_id_type > &  idof_indices,
const std::vector< dof_id_type > &  jdof_indices,
THREAD_ID  tid 
)
virtual

Definition at line 771 of file DisplacedProblem.C.

778 {
779  _assembly[tid]->addJacobianBlockNonlocal(
780  jacobian, ivar, jvar, dof_map, idof_indices, jdof_indices);
781 }
std::vector< std::unique_ptr< Assembly > > _assembly
DofMap & dof_map

◆ addJacobianNeighbor() [1/2]

void DisplacedProblem::addJacobianNeighbor ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 730 of file DisplacedProblem.C.

731 {
732  _assembly[tid]->addJacobianNeighbor();
733 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ addJacobianNeighbor() [2/2]

void DisplacedProblem::addJacobianNeighbor ( SparseMatrix< Number > &  jacobian,
unsigned int  ivar,
unsigned int  jvar,
const DofMap &  dof_map,
std::vector< dof_id_type > &  dof_indices,
std::vector< dof_id_type > &  neighbor_dof_indices,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 784 of file DisplacedProblem.C.

791 {
792  _assembly[tid]->addJacobianNeighbor(
793  jacobian, ivar, jvar, dof_map, dof_indices, neighbor_dof_indices);
794 }
std::vector< std::unique_ptr< Assembly > > _assembly
DofMap & dof_map

◆ addJacobianNonlocal()

void DisplacedProblem::addJacobianNonlocal ( THREAD_ID  tid)
virtual

Definition at line 724 of file DisplacedProblem.C.

725 {
726  _assembly[tid]->addJacobianNonlocal();
727 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ addMatrixTag()

TagID DisplacedProblem::addMatrixTag ( TagName  tag_name)
overridevirtual

Create a Tag.

Tags can be associated with Vectors and Matrices and allow objects (such as Kernels) to arbitrarily contribute values to any set of vectors/matrics

Note: If the tag is already present then this will simply return the TagID of that Tag

Parameters
tag_nameThe name of the tag to create, the TagID will get automatically generated

Reimplemented from SubProblem.

Definition at line 277 of file DisplacedProblem.C.

278 {
279  return _mproblem.addMatrixTag(tag_name);
280 }
FEProblemBase & _mproblem
virtual TagID addMatrixTag(TagName tag_name)
Create a Tag.
Definition: SubProblem.C:111

◆ addResidual()

void DisplacedProblem::addResidual ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 669 of file DisplacedProblem.C.

670 {
671  _assembly[tid]->addResidual(getVectorTags());
672 }
std::vector< std::unique_ptr< Assembly > > _assembly
virtual std::map< TagName, TagID > & getVectorTags() override
Return all vector tags, where a tag is represented by a map from name to ID.

◆ addResidualNeighbor()

void DisplacedProblem::addResidualNeighbor ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 675 of file DisplacedProblem.C.

676 {
677  _assembly[tid]->addResidualNeighbor(getVectorTags());
678 }
std::vector< std::unique_ptr< Assembly > > _assembly
virtual std::map< TagName, TagID > & getVectorTags() override
Return all vector tags, where a tag is represented by a map from name to ID.

◆ addScalarVariable()

void DisplacedProblem::addScalarVariable ( const std::string &  var_name,
Order  order,
Real  scale_factor = 1.,
const std::set< SubdomainID > *const  active_subdomains = NULL 
)
virtual

Definition at line 406 of file DisplacedProblem.C.

410 {
411  _displaced_nl.addScalarVariable(var_name, order, scale_factor, active_subdomains);
412 }
DisplacedSystem _displaced_nl
virtual void addScalarVariable(const std::string &var_name, Order order, Real scale_factor, const std::set< SubdomainID > *const active_subdomains=NULL)
Adds a scalar variable.
Definition: SystemBase.C:628

◆ addVariable()

void DisplacedProblem::addVariable ( const std::string &  var_name,
const FEType &  type,
Real  scale_factor,
const std::set< SubdomainID > *const  active_subdomains = NULL 
)
virtual

Definition at line 389 of file DisplacedProblem.C.

393 {
394  _displaced_nl.addVariable(var_name, type, scale_factor, active_subdomains);
395 }
virtual void addVariable(const std::string &var_name, const FEType &type, Real scale_factor, const std::set< SubdomainID > *const active_subdomains=NULL)
Adds a variable to the system.
Definition: SystemBase.C:597
DisplacedSystem _displaced_nl
const std::string & type() const
Get the type of this object.
Definition: MooseObject.h:50

◆ addVectorTag()

TagID DisplacedProblem::addVectorTag ( TagName  tag_name)
overridevirtual

Create a Tag.

Tags can be associated with Vectors and Matrices and allow objects (such as Kernels) to arbitrarily contribute values to any set of vectors/matrics

Note: If the tag is already present then this will simply return the TagID of that Tag

Parameters
tag_nameThe name of the tag to create, the TagID will get automatically generated

Reimplemented from SubProblem.

Definition at line 241 of file DisplacedProblem.C.

242 {
243  return _mproblem.addVectorTag(tag_name);
244 }
virtual TagID addVectorTag(TagName tag_name)
Create a Tag.
Definition: SubProblem.C:65
FEProblemBase & _mproblem

◆ assembly()

virtual Assembly& DisplacedProblem::assembly ( THREAD_ID  tid)
inlineoverridevirtual

Implements SubProblem.

Definition at line 237 of file DisplacedProblem.h.

237 { return *_assembly[tid]; }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ auxSys()

DisplacedSystem& DisplacedProblem::auxSys ( )
inline

Definition at line 49 of file DisplacedProblem.h.

49 { return _displaced_aux; }
DisplacedSystem _displaced_aux

◆ cacheJacobian()

void DisplacedProblem::cacheJacobian ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 736 of file DisplacedProblem.C.

737 {
738  _assembly[tid]->cacheJacobian();
739 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ cacheJacobianNeighbor()

void DisplacedProblem::cacheJacobianNeighbor ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 748 of file DisplacedProblem.C.

749 {
750  _assembly[tid]->cacheJacobianNeighbor();
751 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ cacheJacobianNonlocal()

void DisplacedProblem::cacheJacobianNonlocal ( THREAD_ID  tid)
virtual

Definition at line 742 of file DisplacedProblem.C.

743 {
744  _assembly[tid]->cacheJacobianNonlocal();
745 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ cacheResidual()

void DisplacedProblem::cacheResidual ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 681 of file DisplacedProblem.C.

682 {
683  _assembly[tid]->cacheResidual();
684 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ cacheResidualNeighbor()

void DisplacedProblem::cacheResidualNeighbor ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 687 of file DisplacedProblem.C.

688 {
689  _assembly[tid]->cacheResidualNeighbor();
690 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ checkBlockMatProps()

void SubProblem::checkBlockMatProps ( )
virtualinherited

Checks block material properties integrity.

See also
FEProblemBase::checkProblemIntegrity

Definition at line 445 of file SubProblem.C.

Referenced by FEProblemBase::checkProblemIntegrity().

446 {
447  // Variable for storing the value for ANY_BLOCK_ID/ANY_BOUNDARY_ID
449 
450  // Variable for storing all available blocks/boundaries from the mesh
451  std::set<SubdomainID> all_ids(mesh().meshSubdomains());
452 
453  // Loop through the properties to check
454  for (const auto & check_it : _map_block_material_props_check)
455  {
456  // The current id for the property being checked (BoundaryID || BlockID)
457  SubdomainID check_id = check_it.first;
458 
459  // In the case when the material being checked has an ID is set to ANY, then loop through all
460  // the possible ids and verify that the material property is defined.
461  std::set<SubdomainID> check_ids = {check_id};
462  if (check_id == any_id)
463  check_ids = all_ids;
464 
465  // Loop through all the block/boundary ids
466  for (const auto & id : check_ids)
467  {
468  // Loop through all the stored properties
469  for (const auto & prop_it : check_it.second)
470  {
471  // Produce an error if the material property is not defined on the current block/boundary
472  // and any block/boundary
473  // and not is not a zero material property.
474  if (_map_block_material_props[id].count(prop_it.second) == 0 &&
475  _map_block_material_props[any_id].count(prop_it.second) == 0 &&
476  _zero_block_material_props[id].count(prop_it.second) == 0 &&
477  _zero_block_material_props[any_id].count(prop_it.second) == 0)
478  {
479  std::string check_name = restrictionSubdomainCheckName(id);
480  if (check_name.empty())
481  check_name = std::to_string(id);
482  mooseError("Material property '",
483  prop_it.second,
484  "', requested by '",
485  prop_it.first,
486  "' is not defined on block ",
487  check_name);
488  }
489  }
490  }
491  }
492 }
virtual MooseMesh & mesh()=0
subdomain_id_type SubdomainID
Definition: MooseTypes.h:160
void mooseError(Args &&... args) const
Definition: MooseObject.h:144
std::string restrictionSubdomainCheckName(SubdomainID check_id)
Helper functions for checking MaterialProperties.
Definition: SubProblem.C:587
const SubdomainID ANY_BLOCK_ID
Definition: MooseTypes.C:15
std::map< SubdomainID, std::set< MaterialPropertyName > > _zero_block_material_props
Set of properties returned as zero properties.
Definition: SubProblem.h:603
std::map< SubdomainID, std::multimap< std::string, std::string > > _map_block_material_props_check
Data structures of the requested material properties.
Definition: SubProblem.h:615
std::map< SubdomainID, std::set< std::string > > _map_block_material_props
Map of material properties (block_id -> list of properties)
Definition: SubProblem.h:597

◆ checkBoundaryMatProps()

void SubProblem::checkBoundaryMatProps ( )
virtualinherited

Checks boundary material properties integrity.

See also
FEProblemBase::checkProblemIntegrity

Definition at line 495 of file SubProblem.C.

Referenced by FEProblemBase::checkProblemIntegrity().

496 {
497  // Variable for storing the value for ANY_BLOCK_ID/ANY_BOUNDARY_ID
499 
500  // Variable for storing all available blocks/boundaries from the mesh
501  std::set<BoundaryID> all_ids(mesh().getBoundaryIDs());
502 
503  // Loop through the properties to check
504  for (const auto & check_it : _map_boundary_material_props_check)
505  {
506  // The current id for the property being checked (BoundaryID || BlockID)
507  BoundaryID check_id = check_it.first;
508 
509  // In the case when the material being checked has an ID is set to ANY, then loop through all
510  // the possible ids and verify that the material property is defined.
511  std::set<BoundaryID> check_ids{check_id};
512  if (check_id == any_id)
513  check_ids = all_ids;
514 
515  // Loop through all the block/boundary ids
516  for (const auto & id : check_ids)
517  {
518  // Loop through all the stored properties
519  for (const auto & prop_it : check_it.second)
520  {
521  // Produce an error if the material property is not defined on the current block/boundary
522  // and any block/boundary
523  // and not is not a zero material property.
524  if (_map_boundary_material_props[id].count(prop_it.second) == 0 &&
525  _map_boundary_material_props[any_id].count(prop_it.second) == 0 &&
526  _zero_boundary_material_props[id].count(prop_it.second) == 0 &&
527  _zero_boundary_material_props[any_id].count(prop_it.second) == 0)
528  {
529  std::string check_name = restrictionBoundaryCheckName(id);
530  if (check_name.empty())
531  check_name = std::to_string(id);
532  mooseError("Material property '",
533  prop_it.second,
534  "', requested by '",
535  prop_it.first,
536  "' is not defined on boundary ",
537  check_name);
538  }
539  }
540  }
541  }
542 }
virtual MooseMesh & mesh()=0
std::map< BoundaryID, std::multimap< std::string, std::string > > _map_boundary_material_props_check
Definition: SubProblem.h:616
std::string restrictionBoundaryCheckName(BoundaryID check_id)
Definition: SubProblem.C:598
void mooseError(Args &&... args) const
Definition: MooseObject.h:144
std::map< BoundaryID, std::set< MaterialPropertyName > > _zero_boundary_material_props
Definition: SubProblem.h:604
std::map< BoundaryID, std::set< std::string > > _map_boundary_material_props
Map for boundary material properties (boundary_id -> list of properties)
Definition: SubProblem.h:600
std::vector< libMesh::boundary_id_type > getBoundaryIDs(const libMesh::MeshBase &mesh, const std::vector< BoundaryName > &boundary_name, bool generate_unknown)
const BoundaryID ANY_BOUNDARY_ID
Definition: MooseTypes.C:17
boundary_id_type BoundaryID
Definition: MooseTypes.h:158

◆ checkNonlocalCouplingRequirement()

virtual bool SubProblem::checkNonlocalCouplingRequirement ( )
inlinevirtualinherited

◆ clearActiveElementalMooseVariables()

void SubProblem::clearActiveElementalMooseVariables ( THREAD_ID  tid)
virtualinherited

Clear the active elemental MooseVariableFEBase.

If there are no active variables then they will all be reinited. Call this after finishing the computation that was using a restricted set of MooseVariableFEBases

Parameters
tidThe thread id

Reimplemented in FEProblemBase.

Definition at line 258 of file SubProblem.C.

Referenced by FEProblemBase::clearActiveElementalMooseVariables().

259 {
262 }
std::vector< unsigned int > _has_active_elemental_moose_variables
Whether or not there is currently a list of active elemental moose variables.
Definition: SubProblem.h:624
std::vector< std::set< MooseVariableFEBase * > > _active_elemental_moose_variables
This is the set of MooseVariableFEBases that will actually get reinited by a call to reinit(elem) ...
Definition: SubProblem.h:620

◆ clearActiveFEVariableCoupleableMatrixTags()

void SubProblem::clearActiveFEVariableCoupleableMatrixTags ( THREAD_ID  tid)
virtualinherited

Reimplemented in FEProblemBase.

Definition at line 181 of file SubProblem.C.

Referenced by FEProblemBase::clearActiveFEVariableCoupleableMatrixTags().

182 {
184 }
std::vector< std::set< TagID > > _active_fe_var_coupleable_matrix_tags
Definition: SubProblem.h:629

◆ clearActiveFEVariableCoupleableVectorTags()

void SubProblem::clearActiveFEVariableCoupleableVectorTags ( THREAD_ID  tid)
virtualinherited

Reimplemented in FEProblemBase.

Definition at line 175 of file SubProblem.C.

Referenced by FEProblemBase::clearActiveFEVariableCoupleableVectorTags().

176 {
178 }
std::vector< std::set< TagID > > _active_fe_var_coupleable_vector_tags
Definition: SubProblem.h:631

◆ clearActiveMaterialProperties()

void SubProblem::clearActiveMaterialProperties ( THREAD_ID  tid)
virtualinherited

Clear the active material properties.

Should be called at the end of every computing thread

Parameters
tidThe thread id

Reimplemented in FEProblemBase.

Definition at line 284 of file SubProblem.C.

Referenced by FEProblemBase::clearActiveMaterialProperties().

285 {
286  _active_material_property_ids[tid].clear();
287 }
std::vector< std::set< unsigned int > > _active_material_property_ids
Set of material property ids that determine whether materials get reinited.
Definition: SubProblem.h:627

◆ clearActiveScalarVariableCoupleableMatrixTags()

void SubProblem::clearActiveScalarVariableCoupleableMatrixTags ( THREAD_ID  tid)
virtualinherited

Reimplemented in FEProblemBase.

Definition at line 217 of file SubProblem.C.

Referenced by FEProblemBase::clearActiveScalarVariableCoupleableMatrixTags().

218 {
220 }
std::vector< std::set< TagID > > _active_sc_var_coupleable_matrix_tags
Definition: SubProblem.h:633

◆ clearActiveScalarVariableCoupleableVectorTags()

void SubProblem::clearActiveScalarVariableCoupleableVectorTags ( THREAD_ID  tid)
virtualinherited

Reimplemented in FEProblemBase.

Definition at line 211 of file SubProblem.C.

Referenced by FEProblemBase::clearActiveScalarVariableCoupleableVectorTags().

212 {
214 }
std::vector< std::set< TagID > > _active_sc_var_coupleable_vector_tags
Definition: SubProblem.h:635

◆ clearDiracInfo()

void DisplacedProblem::clearDiracInfo ( )
overridevirtual

Gets called before Dirac Kernels are asked to add the points they are supposed to be evaluated in.

Implements SubProblem.

Definition at line 663 of file DisplacedProblem.C.

664 {
666 }
void clearPoints()
Remove all of the current points and elements.
DiracKernelInfo _dirac_kernel_info
Definition: SubProblem.h:594

◆ computingInitialResidual()

bool DisplacedProblem::computingInitialResidual ( ) const
overridevirtual

Returns true if the problem is in the process of computing it's initial residual.

Returns
Whether or not the problem is currently computing the initial residual.

Implements SubProblem.

Definition at line 871 of file DisplacedProblem.C.

872 {
874 }
virtual bool computingInitialResidual() const override
Returns true if the problem is in the process of computing it&#39;s initial residual. ...
FEProblemBase & _mproblem

◆ computingNonlinearResid()

bool& SubProblem::computingNonlinearResid ( )
inlineinherited

Check whether residual being evaulated is non-linear.

Definition at line 521 of file SubProblem.h.

Referenced by NonlinearSystemBase::computeResidualInternal(), ComputeFDResidualFunctor::residual(), and ComputeResidualFunctor::residual().

bool _computing_nonlinear_residual
Whether residual being evaulated is non-linear.
Definition: SubProblem.h:653

◆ converged()

bool DisplacedProblem::converged ( )
overridevirtual

Implements SubProblem.

Definition at line 865 of file DisplacedProblem.C.

866 {
867  return _mproblem.converged();
868 }
FEProblemBase & _mproblem
virtual bool converged() override

◆ createQRules()

void DisplacedProblem::createQRules ( QuadratureType  type,
Order  order,
Order  volume_order,
Order  face_order 
)
virtual

Definition at line 92 of file DisplacedProblem.C.

96 {
97  for (unsigned int tid = 0; tid < libMesh::n_threads(); ++tid)
98  _assembly[tid]->createQRules(type, order, volume_order, face_order);
99 }
std::vector< std::unique_ptr< Assembly > > _assembly
virtual void createQRules(QuadratureType type, Order order, Order volume_order, Order face_order)
const std::string & type() const
Get the type of this object.
Definition: MooseObject.h:50

◆ currentlyComputingJacobian()

virtual const bool& SubProblem::currentlyComputingJacobian ( ) const
inlinevirtualinherited

Returns true if the problem is in the process of computing Jacobian.

Definition at line 513 of file SubProblem.h.

Referenced by Material::copyDualNumbersToValues(), PenetrationLocator::detectPenetration(), ComputeUserObjectsThread::onBoundary(), and ComputeUserObjectsThread::onElement().

bool _currently_computing_jacobian
Flag to determine whether the problem is currently computing Jacobian.
Definition: SubProblem.h:650

◆ defaultGhosting()

bool SubProblem::defaultGhosting ( )
inlineinherited

Whether or not the user has requested default ghosting ot be on.

Definition at line 82 of file SubProblem.h.

82 { return _default_ghosting; }
bool _default_ghosting
Whether or not to use default libMesh coupling.
Definition: SubProblem.h:641

◆ diracKernelInfo()

DiracKernelInfo & SubProblem::diracKernelInfo ( )
virtualinherited

Definition at line 557 of file SubProblem.C.

558 {
559  return _dirac_kernel_info;
560 }
DiracKernelInfo _dirac_kernel_info
Definition: SubProblem.h:594

◆ enabled()

virtual bool MooseObject::enabled ( ) const
inlinevirtualinherited

Return the enabled status of the object.

Reimplemented in EigenKernel.

Definition at line 96 of file MooseObject.h.

Referenced by EigenKernel::enabled().

96 { return _enabled; }
const bool & _enabled
Reference to the "enable" InputParaemters, used by Controls for toggling on/off MooseObjects.
Definition: MooseObject.h:183

◆ es()

virtual EquationSystems& DisplacedProblem::es ( )
inlineoverridevirtual

Implements SubProblem.

Definition at line 44 of file DisplacedProblem.h.

44 { return _eq; }
EquationSystems _eq

◆ finalNonlinearResidual()

Real SubProblem::finalNonlinearResidual ( ) const
virtualinherited

Reimplemented in FEProblemBase.

Definition at line 563 of file SubProblem.C.

Referenced by Residual::getValue().

564 {
565  return 0;
566 }

◆ geomSearchData()

virtual GeometricSearchData& DisplacedProblem::geomSearchData ( )
inlineoverridevirtual

Implements SubProblem.

Definition at line 242 of file DisplacedProblem.h.

242 { return _geometric_search_data; }
GeometricSearchData _geometric_search_data

◆ getActiveElementalMooseVariables()

const std::set< MooseVariableFEBase * > & SubProblem::getActiveElementalMooseVariables ( THREAD_ID  tid) const
virtualinherited

Get the MOOSE variables to be reinited on each element.

Parameters
tidThe thread id

Definition at line 246 of file SubProblem.C.

Referenced by SystemBase::prepare(), SystemBase::prepareFace(), FEProblemBase::prepareMaterials(), and SystemBase::reinitElem().

247 {
249 }
std::vector< std::set< MooseVariableFEBase * > > _active_elemental_moose_variables
This is the set of MooseVariableFEBases that will actually get reinited by a call to reinit(elem) ...
Definition: SubProblem.h:620

◆ getActiveFEVariableCoupleableMatrixTags()

std::set< TagID > & SubProblem::getActiveFEVariableCoupleableMatrixTags ( THREAD_ID  tid)
inherited

Definition at line 187 of file SubProblem.C.

188 {
190 }
std::vector< std::set< TagID > > _active_fe_var_coupleable_matrix_tags
Definition: SubProblem.h:629

◆ getActiveFEVariableCoupleableVectorTags()

std::set< TagID > & SubProblem::getActiveFEVariableCoupleableVectorTags ( THREAD_ID  tid)
inherited

Definition at line 193 of file SubProblem.C.

194 {
196 }
std::vector< std::set< TagID > > _active_fe_var_coupleable_vector_tags
Definition: SubProblem.h:631

◆ getActiveMaterialProperties()

const std::set< unsigned int > & SubProblem::getActiveMaterialProperties ( THREAD_ID  tid) const
virtualinherited

Get the material properties required by the current computing thread.

Parameters
tidThe thread id

Definition at line 272 of file SubProblem.C.

Referenced by FEProblemBase::prepareMaterials().

273 {
274  return _active_material_property_ids[tid];
275 }
std::vector< std::set< unsigned int > > _active_material_property_ids
Set of material property ids that determine whether materials get reinited.
Definition: SubProblem.h:627

◆ getActiveScalarVariableCoupleableMatrixTags()

std::set< TagID > & SubProblem::getActiveScalarVariableCoupleableMatrixTags ( THREAD_ID  tid)
inherited

Definition at line 223 of file SubProblem.C.

Referenced by MooseVariableScalar::reinit().

224 {
226 }
std::vector< std::set< TagID > > _active_sc_var_coupleable_matrix_tags
Definition: SubProblem.h:633

◆ getActiveScalarVariableCoupleableVectorTags()

std::set< TagID > & SubProblem::getActiveScalarVariableCoupleableVectorTags ( THREAD_ID  tid)
inherited

Definition at line 229 of file SubProblem.C.

Referenced by MooseVariableScalar::reinit().

230 {
232 }
std::vector< std::set< TagID > > _active_sc_var_coupleable_vector_tags
Definition: SubProblem.h:635

◆ getAxisymmetricRadialCoord()

unsigned int SubProblem::getAxisymmetricRadialCoord ( ) const
inherited

Returns the desired radial direction for RZ coordinate transformation.

Returns
The coordinate direction for the radial direction

Definition at line 604 of file SubProblem.C.

Referenced by Assembly::reinitNeighbor(), and Assembly::setCoordinateTransformation().

605 {
606  if (_rz_coord_axis == 0)
607  return 1; // if the rotation axis is x (0), then the radial direction is y (1)
608  else
609  return 0; // otherwise the radial direction is assumed to be x, i.e., the rotation axis is y
610 }
unsigned int _rz_coord_axis
Storage for RZ axis selection.
Definition: SubProblem.h:647

◆ getCheckedPointerParam()

template<typename T >
T MooseObject::getCheckedPointerParam ( const std::string &  name,
const std::string &  error_string = "" 
) const
inlineinherited

Verifies that the requested parameter exists and is not NULL and returns it to the caller.

The template parameter must be a pointer or an error will be thrown.

Definition at line 77 of file MooseObject.h.

78  {
79  return parameters().getCheckedPointerParam<T>(name, error_string);
80  }
T getCheckedPointerParam(const std::string &name, const std::string &error_string="") const
Verifies that the requested parameter exists and is not NULL and returns it to the caller...
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:62
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:56

◆ getCoordSystem()

Moose::CoordinateSystemType DisplacedProblem::getCoordSystem ( SubdomainID  sid)
overridevirtual

Implements SubProblem.

Definition at line 80 of file DisplacedProblem.C.

81 {
82  return _mproblem.getCoordSystem(sid);
83 }
FEProblemBase & _mproblem
virtual Moose::CoordinateSystemType getCoordSystem(SubdomainID sid) override

◆ getDiracElements()

void DisplacedProblem::getDiracElements ( std::set< const Elem *> &  elems)
overridevirtual

Fills "elems" with the elements that should be looped over for Dirac Kernels.

Implements SubProblem.

Definition at line 657 of file DisplacedProblem.C.

658 {
660 }
std::set< const Elem * > & getElements()
Returns a writeable reference to the _elements container.
DiracKernelInfo _dirac_kernel_info
Definition: SubProblem.h:594

◆ getDisplacementVarNames()

const std::vector<std::string>& DisplacedProblem::getDisplacementVarNames ( ) const
inline

Definition at line 52 of file DisplacedProblem.h.

52 { return _displacements; }
std::vector< std::string > _displacements

◆ getMaterialPropertyBlockNames()

std::vector< SubdomainName > SubProblem::getMaterialPropertyBlockNames ( const std::string &  prop_name)
virtualinherited

Get a vector of block id equivalences that the material property is defined on.

Definition at line 306 of file SubProblem.C.

Referenced by MaterialPropertyInterface::getMaterialPropertyBlockNames().

307 {
308  std::set<SubdomainID> blocks = getMaterialPropertyBlocks(prop_name);
309  std::vector<SubdomainName> block_names;
310  block_names.reserve(blocks.size());
311  for (const auto & block_id : blocks)
312  {
313  SubdomainName name;
314  if (block_id == Moose::ANY_BLOCK_ID)
315  name = "ANY_BLOCK_ID";
316  else
317  {
318  name = mesh().getMesh().subdomain_name(block_id);
319  if (name.empty())
320  {
321  std::ostringstream oss;
322  oss << block_id;
323  name = oss.str();
324  }
325  }
326  block_names.push_back(name);
327  }
328 
329  return block_names;
330 }
virtual MooseMesh & mesh()=0
MeshBase & getMesh()
Accessor for the underlying libMesh Mesh object.
Definition: MooseMesh.C:2569
const SubdomainID ANY_BLOCK_ID
Definition: MooseTypes.C:15
virtual std::set< SubdomainID > getMaterialPropertyBlocks(const std::string &prop_name)
Get a vector containing the block ids the material property is defined on.
Definition: SubProblem.C:290
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:56

◆ getMaterialPropertyBlocks()

std::set< SubdomainID > SubProblem::getMaterialPropertyBlocks ( const std::string &  prop_name)
virtualinherited

Get a vector containing the block ids the material property is defined on.

Definition at line 290 of file SubProblem.C.

Referenced by MaterialPropertyInterface::getBlockMaterialProperty(), SubProblem::getMaterialPropertyBlockNames(), and MaterialPropertyInterface::getMaterialPropertyBlocks().

291 {
292  std::set<SubdomainID> blocks;
293 
294  for (const auto & it : _map_block_material_props)
295  {
296  const std::set<std::string> & prop_names = it.second;
297  std::set<std::string>::iterator name_it = prop_names.find(prop_name);
298  if (name_it != prop_names.end())
299  blocks.insert(it.first);
300  }
301 
302  return blocks;
303 }
std::map< SubdomainID, std::set< std::string > > _map_block_material_props
Map of material properties (block_id -> list of properties)
Definition: SubProblem.h:597

◆ getMaterialPropertyBoundaryIDs()

std::set< BoundaryID > SubProblem::getMaterialPropertyBoundaryIDs ( const std::string &  prop_name)
virtualinherited

Get a vector containing the block ids the material property is defined on.

Definition at line 347 of file SubProblem.C.

Referenced by MaterialPropertyInterface::getMaterialPropertyBoundaryIDs(), and SubProblem::getMaterialPropertyBoundaryNames().

348 {
349  std::set<BoundaryID> boundaries;
350 
351  for (const auto & it : _map_boundary_material_props)
352  {
353  const std::set<std::string> & prop_names = it.second;
354  std::set<std::string>::iterator name_it = prop_names.find(prop_name);
355  if (name_it != prop_names.end())
356  boundaries.insert(it.first);
357  }
358 
359  return boundaries;
360 }
std::map< BoundaryID, std::set< std::string > > _map_boundary_material_props
Map for boundary material properties (boundary_id -> list of properties)
Definition: SubProblem.h:600

◆ getMaterialPropertyBoundaryNames()

std::vector< BoundaryName > SubProblem::getMaterialPropertyBoundaryNames ( const std::string &  prop_name)
virtualinherited

Get a vector of block id equivalences that the material property is defined on.

Definition at line 363 of file SubProblem.C.

Referenced by MaterialPropertyInterface::getMaterialPropertyBoundaryNames().

364 {
365  std::set<BoundaryID> boundaries = getMaterialPropertyBoundaryIDs(prop_name);
366  std::vector<BoundaryName> boundary_names;
367  boundary_names.reserve(boundaries.size());
368  const BoundaryInfo & boundary_info = mesh().getMesh().get_boundary_info();
369 
370  for (const auto & bnd_id : boundaries)
371  {
372  BoundaryName name;
373  if (bnd_id == Moose::ANY_BOUNDARY_ID)
374  name = "ANY_BOUNDARY_ID";
375  else
376  {
377  name = boundary_info.get_sideset_name(bnd_id);
378  if (name.empty())
379  {
380  std::ostringstream oss;
381  oss << bnd_id;
382  name = oss.str();
383  }
384  }
385  boundary_names.push_back(name);
386  }
387 
388  return boundary_names;
389 }
virtual MooseMesh & mesh()=0
virtual std::set< BoundaryID > getMaterialPropertyBoundaryIDs(const std::string &prop_name)
Get a vector containing the block ids the material property is defined on.
Definition: SubProblem.C:347
MeshBase & getMesh()
Accessor for the underlying libMesh Mesh object.
Definition: MooseMesh.C:2569
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:56
const BoundaryID ANY_BOUNDARY_ID
Definition: MooseTypes.C:17

◆ getMatrixTagID()

TagID DisplacedProblem::getMatrixTagID ( const TagName &  tag_name)
overridevirtual

Get a TagID from a TagName.

Reimplemented from SubProblem.

Definition at line 283 of file DisplacedProblem.C.

284 {
285  return _mproblem.getMatrixTagID(tag_name);
286 }
FEProblemBase & _mproblem
virtual TagID getMatrixTagID(const TagName &tag_name)
Get a TagID from a TagName.
Definition: SubProblem.C:142

◆ getMatrixTags()

virtual std::map<TagName, TagID>& SubProblem::getMatrixTags ( )
inlinevirtualinherited

Return all matrix tags in the sytem, where a tag is represented by a map from name to ID.

Definition at line 162 of file SubProblem.h.

Referenced by NonlinearSystemBase::computeJacobian(), FEProblemBase::computeJacobian(), and NonlinearSystemBase::computeJacobianBlocks().

162 { return _matrix_tag_name_to_tag_id; }
std::map< TagName, TagID > _matrix_tag_name_to_tag_id
The currently declared tags.
Definition: SubProblem.h:581

◆ getMooseApp()

MooseApp& MooseObject::getMooseApp ( ) const
inlineinherited

Get the MooseApp this object is associated with.

Definition at line 91 of file MooseObject.h.

Referenced by RestartableDataIO::createBackup(), RestartableDataIO::deserializeRestartableData(), ConsoleUtils::outputMeshInformation(), Resurrector::restartRestartableData(), and RestartableDataIO::restoreBackup().

91 { return _app; }
MooseApp & _app
The MooseApp this object is associated with.
Definition: MooseObject.h:174

◆ getParam()

template<typename T >
const T & MooseObject::getParam ( const std::string &  name) const
inherited

Retrieve a parameter for the object.

Parameters
nameThe name of the parameter
Returns
The value of the parameter

Definition at line 188 of file MooseObject.h.

Referenced by FEProblemBase::addMaterialHelper(), ConstraintWarehouse::addObject(), BicubicSplineFunction::BicubicSplineFunction(), Piecewise::buildFromXandY(), MultiApp::createApp(), DerivativeParsedMaterial::DerivativeParsedMaterial(), EigenKernel::EigenKernel(), FEProblemBase::FEProblemBase(), FieldSplitPreconditioner::FieldSplitPreconditioner(), FiniteDifferencePreconditioner::FiniteDifferencePreconditioner(), SideSetsBetweenSubdomainsGenerator::generate(), ExtraNodesetGenerator::generate(), MeshExtruderGenerator::generate(), SideSetsAroundSubdomainGenerator::generate(), GenericConstantRankTwoTensor::GenericConstantRankTwoTensor(), GhostingUserObject::GhostingUserObject(), TimeSequenceStepper::init(), AttribThread::initFrom(), BlockRestrictable::initializeBlockRestrictable(), BoundaryRestrictable::initializeBoundaryRestrictable(), Console::initialSetup(), AdvancedOutput::initialSetup(), SideSetsBetweenSubdomains::modify(), AddExtraNodeset::modify(), MeshExtruder::modify(), SideSetsAroundSubdomain::modify(), ParsedAddSideset::ParsedAddSideset(), ParsedAux::ParsedAux(), ParsedGenerateSideset::ParsedGenerateSideset(), ParsedMaterial::ParsedMaterial(), ParsedODEKernel::ParsedODEKernel(), ParsedSubdomainMeshGenerator::ParsedSubdomainMeshGenerator(), ParsedSubdomainMeshModifier::ParsedSubdomainMeshModifier(), PhysicsBasedPreconditioner::PhysicsBasedPreconditioner(), SingleMatrixPreconditioner::SingleMatrixPreconditioner(), TimePeriod::TimePeriod(), and VectorOfPostprocessors::VectorOfPostprocessors().

189 {
190  return InputParameters::getParamHelper(name, _pars, static_cast<T *>(0));
191 }
static const T & getParamHelper(const std::string &name, const InputParameters &pars, const T *the_type)
const InputParameters & _pars
Parameters of this object, references the InputParameters stored in the InputParametersWarehouse.
Definition: MooseObject.h:171
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:56

◆ getScalarVariable()

MooseVariableScalar & DisplacedProblem::getScalarVariable ( THREAD_ID  tid,
const std::string &  var_name 
)
overridevirtual

Returns the scalar variable reference from whichever system contains it.

Implements SubProblem.

Definition at line 367 of file DisplacedProblem.C.

368 {
369  if (_displaced_nl.hasScalarVariable(var_name))
370  return _displaced_nl.getScalarVariable(tid, var_name);
371  else if (_displaced_aux.hasScalarVariable(var_name))
372  return _displaced_aux.getScalarVariable(tid, var_name);
373  else
374  mooseError("No variable with name '" + var_name + "'");
375 }
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
void mooseError(Args &&... args) const
Definition: MooseObject.h:144
virtual bool hasScalarVariable(const std::string &var_name) const
Definition: SystemBase.C:661
virtual MooseVariableScalar & getScalarVariable(THREAD_ID tid, const std::string &var_name)
Gets a reference to a scalar variable with specified number.
Definition: SystemBase.C:149

◆ getStandardVariable()

MooseVariable & DisplacedProblem::getStandardVariable ( THREAD_ID  tid,
const std::string &  var_name 
)
overridevirtual

Returns the variable reference for requested MooseVariable which may be in any system.

Implements SubProblem.

Definition at line 334 of file DisplacedProblem.C.

335 {
336  if (_displaced_nl.hasVariable(var_name))
337  return _displaced_nl.getFieldVariable<Real>(tid, var_name);
338  else if (!_displaced_aux.hasVariable(var_name))
339  mooseError("No variable with name '" + var_name + "'");
340 
341  return _displaced_aux.getFieldVariable<Real>(tid, var_name);
342 }
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
void mooseError(Args &&... args) const
Definition: MooseObject.h:144
virtual bool hasVariable(const std::string &var_name) const
Query a system for a variable.
Definition: SystemBase.C:652
MooseVariableFE< T > & getFieldVariable(THREAD_ID tid, const std::string &var_name)
Gets a reference to a variable of with specified name.
Definition: SystemBase.C:136

◆ getSystem()

System & DisplacedProblem::getSystem ( const std::string &  var_name)
overridevirtual

Returns the equation system containing the variable provided.

Implements SubProblem.

Definition at line 378 of file DisplacedProblem.C.

379 {
380  if (_displaced_nl.hasVariable(var_name))
381  return _displaced_nl.system();
382  else if (_displaced_aux.hasVariable(var_name))
383  return _displaced_aux.system();
384  else
385  mooseError("Unable to find a system containing the variable " + var_name);
386 }
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
void mooseError(Args &&... args) const
Definition: MooseObject.h:144
virtual bool hasVariable(const std::string &var_name) const
Query a system for a variable.
Definition: SystemBase.C:652
virtual System & system() override
Get the reference to the libMesh system.

◆ getVariable()

MooseVariableFEBase & DisplacedProblem::getVariable ( THREAD_ID  tid,
const std::string &  var_name,
Moose::VarKindType  expected_var_type = Moose::VarKindType::VAR_ANY,
Moose::VarFieldType  expected_var_field_type = Moose::VarFieldType::VAR_FIELD_ANY 
)
overridevirtual

Returns the variable reference for requested variable which must be of the expected_var_type (Nonlinear vs.

Auxiliary) and expected_var_field_type (standard, scalar, vector). The default values of VAR_ANY and VAR_FIELD_ANY should be used when "any" type of variable is acceptable. Throws an error if the variable in question is not in the expected System or of the expected type.

Implements SubProblem.

Definition at line 324 of file DisplacedProblem.C.

Referenced by init().

328 {
329  return getVariableHelper(
330  tid, var_name, expected_var_type, expected_var_field_type, _displaced_nl, _displaced_aux);
331 }
DisplacedSystem _displaced_aux
MooseVariableFEBase & getVariableHelper(THREAD_ID tid, const std::string &var_name, Moose::VarKindType expected_var_type, Moose::VarFieldType expected_var_field_type, SystemBase &nl, SystemBase &aux)
Helper function called by getVariable that handles the logic for checking whether Variables of the re...
Definition: SubProblem.C:613
DisplacedSystem _displaced_nl

◆ getVariableHelper()

MooseVariableFEBase & SubProblem::getVariableHelper ( THREAD_ID  tid,
const std::string &  var_name,
Moose::VarKindType  expected_var_type,
Moose::VarFieldType  expected_var_field_type,
SystemBase nl,
SystemBase aux 
)
protectedinherited

Helper function called by getVariable that handles the logic for checking whether Variables of the requested type are available.

Definition at line 613 of file SubProblem.C.

Referenced by getVariable(), and FEProblemBase::getVariable().

619 {
620  // Eventual return value
621  MooseVariableFEBase * var = nullptr;
622 
623  // First check that the variable is found on the expected system.
624  if (expected_var_type == Moose::VarKindType::VAR_ANY)
625  {
626  if (nl.hasVariable(var_name))
627  var = &(nl.getVariable(tid, var_name));
628  else if (aux.hasVariable(var_name))
629  var = &(aux.getVariable(tid, var_name));
630  else
631  mooseError("Unknown variable " + var_name);
632  }
633  else if (expected_var_type == Moose::VarKindType::VAR_NONLINEAR && nl.hasVariable(var_name))
634  var = &(nl.getVariable(tid, var_name));
635  else if (expected_var_type == Moose::VarKindType::VAR_AUXILIARY && aux.hasVariable(var_name))
636  var = &(aux.getVariable(tid, var_name));
637  else
638  {
639  std::string expected_var_type_string =
640  (expected_var_type == Moose::VarKindType::VAR_NONLINEAR ? "nonlinear" : "auxiliary");
641  mooseError("No ",
642  expected_var_type_string,
643  " variable named ",
644  var_name,
645  " found. "
646  "Did you specify an auxiliary variable when you meant to specify a nonlinear "
647  "variable (or vice-versa)?");
648  }
649 
650  // Now make sure the var found has the expected field type.
651  bool var_is_vector = var->isVector();
652  if ((expected_var_field_type == Moose::VarFieldType::VAR_FIELD_ANY) ||
653  (var_is_vector && expected_var_field_type == Moose::VarFieldType::VAR_FIELD_VECTOR) ||
654  (!var_is_vector && expected_var_field_type == Moose::VarFieldType::VAR_FIELD_STANDARD))
655  return *var;
656  else
657  {
658  std::string expected_var_field_type_string =
659  (expected_var_field_type == Moose::VarFieldType::VAR_FIELD_STANDARD ? "standard"
660  : "vector");
661 
662  mooseError("No ",
663  expected_var_field_type_string,
664  " variable named ",
665  var_name,
666  " found. "
667  "Did you specify a vector variable when you meant to specify a standard variable "
668  "(or vice-versa)?");
669  }
670 }
void mooseError(Args &&... args) const
Definition: MooseObject.h:144
NonlinearSystemBase * nl
MooseVariableFEBase & getVariable(THREAD_ID tid, const std::string &var_name)
Gets a reference to a variable of with specified name.
Definition: SystemBase.C:105
virtual bool hasVariable(const std::string &var_name) const
Query a system for a variable.
Definition: SystemBase.C:652
virtual bool isVector() const =0

◆ getVectorTagID()

TagID DisplacedProblem::getVectorTagID ( const TagName &  tag_name)
overridevirtual

Get a TagID from a TagName.

Reimplemented from SubProblem.

Definition at line 247 of file DisplacedProblem.C.

248 {
249  return _mproblem.getVectorTagID(tag_name);
250 }
virtual TagID getVectorTagID(const TagName &tag_name)
Get a TagID from a TagName.
Definition: SubProblem.C:90
FEProblemBase & _mproblem

◆ getVectorTags()

std::map< TagName, TagID > & DisplacedProblem::getVectorTags ( )
overridevirtual

Return all vector tags, where a tag is represented by a map from name to ID.

Reimplemented from SubProblem.

Definition at line 271 of file DisplacedProblem.C.

Referenced by addResidual(), and addResidualNeighbor().

272 {
273  return _mproblem.getVectorTags();
274 }
virtual std::map< TagName, TagID > & getVectorTags()
Return all vector tags, where a tag is represented by a map from name to ID.
Definition: SubProblem.h:107
FEProblemBase & _mproblem

◆ getVectorVariable()

VectorMooseVariable & DisplacedProblem::getVectorVariable ( THREAD_ID  tid,
const std::string &  var_name 
)
overridevirtual

Returns the variable reference for requested VectorMooseVariable which may be in any system.

Implements SubProblem.

Definition at line 345 of file DisplacedProblem.C.

346 {
347  if (_displaced_nl.hasVariable(var_name))
348  return _displaced_nl.getFieldVariable<RealVectorValue>(tid, var_name);
349  else if (!_displaced_aux.hasVariable(var_name))
350  mooseError("No variable with name '" + var_name + "'");
351 
352  return _displaced_aux.getFieldVariable<RealVectorValue>(tid, var_name);
353 }
VectorValue< Real > RealVectorValue
Definition: Assembly.h:32
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
void mooseError(Args &&... args) const
Definition: MooseObject.h:144
virtual bool hasVariable(const std::string &var_name) const
Query a system for a variable.
Definition: SystemBase.C:652
MooseVariableFE< T > & getFieldVariable(THREAD_ID tid, const std::string &var_name)
Gets a reference to a variable of with specified name.
Definition: SystemBase.C:136

◆ ghostedElems()

std::set< dof_id_type > & DisplacedProblem::ghostedElems ( )
overridevirtual

Return the list of elements that should have their DoFs ghosted to this processor.

Returns
The list

Reimplemented from SubProblem.

Definition at line 86 of file DisplacedProblem.C.

87 {
88  return _mproblem.ghostedElems();
89 }
FEProblemBase & _mproblem
virtual std::set< dof_id_type > & ghostedElems()
Return the list of elements that should have their DoFs ghosted to this processor.
Definition: SubProblem.h:505

◆ ghostGhostedBoundaries()

void DisplacedProblem::ghostGhostedBoundaries ( )
overridevirtual

Causes the boundaries added using addGhostedBoundary to actually be ghosted.

Implements SubProblem.

Definition at line 848 of file DisplacedProblem.C.

849 {
851 }
FEProblemBase & _mproblem
virtual void ghostGhostedBoundaries() override
Causes the boundaries added using addGhostedBoundary to actually be ghosted.

◆ hasActiveElementalMooseVariables()

bool SubProblem::hasActiveElementalMooseVariables ( THREAD_ID  tid) const
virtualinherited

Whether or not a list of active elemental moose variables has been set.

Returns
True if there has been a list of active elemental moose variables set, False otherwise

Definition at line 252 of file SubProblem.C.

Referenced by SystemBase::prepare(), SystemBase::prepareFace(), and SystemBase::reinitElem().

253 {
255 }
std::vector< unsigned int > _has_active_elemental_moose_variables
Whether or not there is currently a list of active elemental moose variables.
Definition: SubProblem.h:624

◆ hasActiveMaterialProperties()

bool SubProblem::hasActiveMaterialProperties ( THREAD_ID  tid) const
virtualinherited

Method to check whether or not a list of active material roperties has been set.

This method is called by reinitMaterials to determine whether Material computeProperties methods need to be called. If the return is False, this check prevents unnecessary material property computation

Parameters
tidThe thread id
Returns
True if there has been a list of active material properties set, False otherwise

Definition at line 278 of file SubProblem.C.

Referenced by FEProblemBase::reinitMaterials(), FEProblemBase::reinitMaterialsBoundary(), FEProblemBase::reinitMaterialsFace(), and FEProblemBase::reinitMaterialsNeighbor().

279 {
280  return !_active_material_property_ids[tid].empty();
281 }
std::vector< std::set< unsigned int > > _active_material_property_ids
Set of material property ids that determine whether materials get reinited.
Definition: SubProblem.h:627

◆ hasBlockMaterialProperty()

bool SubProblem::hasBlockMaterialProperty ( SubdomainID  block_id,
const std::string &  prop_name 
)
virtualinherited

Check if a material property is defined on a block.

Definition at line 333 of file SubProblem.C.

334 {
335  auto it = _map_block_material_props.find(bid);
336  if (it == _map_block_material_props.end())
337  return false;
338 
339  if (it->second.count(prop_name) > 0)
340  return true;
341  else
342  return false;
343 }
std::map< SubdomainID, std::set< std::string > > _map_block_material_props
Map of material properties (block_id -> list of properties)
Definition: SubProblem.h:597

◆ hasBoundaryMaterialProperty()

bool SubProblem::hasBoundaryMaterialProperty ( BoundaryID  boundary_id,
const std::string &  prop_name 
)
virtualinherited

Check if a material property is defined on a block.

Definition at line 392 of file SubProblem.C.

393 {
394  auto it = _map_boundary_material_props.find(bid);
395  if (it == _map_boundary_material_props.end())
396  return false;
397 
398  if (it->second.count(prop_name) > 0)
399  return true;
400  else
401  return false;
402 }
std::map< BoundaryID, std::set< std::string > > _map_boundary_material_props
Map for boundary material properties (boundary_id -> list of properties)
Definition: SubProblem.h:600

◆ hasScalarVariable()

bool DisplacedProblem::hasScalarVariable ( const std::string &  var_name) const
overridevirtual

Returns a Boolean indicating whether any system contains a variable with the name provided.

Implements SubProblem.

Definition at line 356 of file DisplacedProblem.C.

357 {
358  if (_displaced_nl.hasScalarVariable(var_name))
359  return true;
360  else if (_displaced_aux.hasScalarVariable(var_name))
361  return true;
362  else
363  return false;
364 }
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual bool hasScalarVariable(const std::string &var_name) const
Definition: SystemBase.C:661

◆ hasVariable()

bool DisplacedProblem::hasVariable ( const std::string &  var_name) const
overridevirtual

Implements SubProblem.

Definition at line 313 of file DisplacedProblem.C.

314 {
315  if (_displaced_nl.hasVariable(var_name))
316  return true;
317  else if (_displaced_aux.hasVariable(var_name))
318  return true;
319  else
320  return false;
321 }
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual bool hasVariable(const std::string &var_name) const
Query a system for a variable.
Definition: SystemBase.C:652

◆ haveADObjects() [1/2]

virtual void SubProblem::haveADObjects ( bool  have_ad_objects)
inlinevirtualinherited

Method for setting whether we have any ad objects.

Reimplemented in FEProblemBase.

Definition at line 556 of file SubProblem.h.

Referenced by Assembly::reinitFE(), and Assembly::reinitFEFace().

556 { _have_ad_objects = have_ad_objects; }
bool _have_ad_objects
AD flag indicating whether any AD objects have been added.
Definition: SubProblem.h:662

◆ haveADObjects() [2/2]

bool SubProblem::haveADObjects ( ) const
inlineinherited

Method for reading wehther we have any ad objects.

Definition at line 560 of file SubProblem.h.

560 { return _have_ad_objects; }
bool _have_ad_objects
AD flag indicating whether any AD objects have been added.
Definition: SubProblem.h:662

◆ init()

void DisplacedProblem::init ( )
overridevirtual

Implements Problem.

Definition at line 102 of file DisplacedProblem.C.

103 {
104  for (THREAD_ID tid = 0; tid < libMesh::n_threads(); ++tid)
105  {
106  _assembly[tid]->init(_mproblem.couplingMatrix());
107  std::vector<unsigned> disp_numbers;
108  for (const auto & disp_string : _displacements)
109  {
110  const auto & disp_variable = getVariable(tid, disp_string);
111  if (disp_variable.kind() == Moose::VarKindType::VAR_NONLINEAR)
112  disp_numbers.push_back(disp_variable.number());
113  }
114  _assembly[tid]->assignDisplacements(std::move(disp_numbers));
115  }
116 
117  _displaced_nl.dofMap().attach_extra_send_list_function(&extraSendList, &_displaced_nl);
118  _displaced_aux.dofMap().attach_extra_send_list_function(&extraSendList, &_displaced_aux);
119 
121 
123 
124  {
125  TIME_SECTION(_eq_init_timer);
126  _eq.init();
127  }
128 
129  _mesh.meshChanged();
130 }
const CouplingMatrix * couplingMatrix()
FEProblemBase & _mproblem
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
PerfID _eq_init_timer
Timers.
EquationSystems _eq
virtual DofMap & dofMap()
Gets the dof map.
Definition: SystemBase.C:900
void extraSendList(std::vector< dof_id_type > &send_list, void *context)
///< Type of coordinate system
Definition: SystemBase.C:31
std::vector< std::string > _displacements
virtual MooseVariableFEBase & getVariable(THREAD_ID tid, const std::string &var_name, Moose::VarKindType expected_var_type=Moose::VarKindType::VAR_ANY, Moose::VarFieldType expected_var_field_type=Moose::VarFieldType::VAR_FIELD_ANY) override
Returns the variable reference for requested variable which must be of the expected_var_type (Nonline...
virtual void init() override
Initialize the system.
void meshChanged()
Declares that the MooseMesh has changed, invalidates cached data and rebuilds caches.
Definition: MooseMesh.C:492
unsigned int THREAD_ID
Definition: MooseTypes.h:162

◆ initAdaptivity()

void DisplacedProblem::initAdaptivity ( )
virtual

Definition at line 133 of file DisplacedProblem.C.

134 {
135 }

◆ isMatPropRequested()

bool SubProblem::isMatPropRequested ( const std::string &  prop_name) const
virtualinherited

Find out if a material property has been requested by any object.

Definition at line 551 of file SubProblem.C.

Referenced by DerivativeFunctionMaterialBase::initialSetup().

552 {
553  return _material_property_requested.find(prop_name) != _material_property_requested.end();
554 }
std::set< std::string > _material_property_requested
set containing all material property names that have been requested by getMaterialProperty* ...
Definition: SubProblem.h:607

◆ isParamValid()

bool MooseObject::isParamValid ( const std::string &  name) const
inlineinherited

Test if the supplied parameter is valid.

Parameters
nameThe name of the parameter to test

Definition at line 86 of file MooseObject.h.

Referenced by AdvancedOutput::AdvancedOutput(), BicubicSplineFunction::BicubicSplineFunction(), Piecewise::buildFromFile(), Piecewise::buildFromXandY(), DistributedGeneratedMesh::buildMesh(), GeneratedMesh::buildMesh(), CartesianMeshGenerator::CartesianMeshGenerator(), LibmeshPartitioner::clone(), OversampleOutput::cloneMesh(), CSVReader::CSVReader(), MultiAppNearestNodeTransfer::execute(), Exodus::Exodus(), FEProblemBase::FEProblemBase(), FileOutput::FileOutput(), MultiApp::fillPositions(), FunctionDT::FunctionDT(), RenameBoundaryGenerator::generate(), BreakBoundaryOnSubdomainGenerator::generate(), ElementSubdomainIDGenerator::generate(), ExtraNodesetGenerator::generate(), LowerDBlockFromSidesetGenerator::generate(), MeshSideSetGenerator::generate(), RenameBlockGenerator::generate(), GeneratedMeshGenerator::generate(), ParsedSubdomainMeshGenerator::generate(), MeshExtruderGenerator::generate(), SubdomainBoundingBoxGenerator::generate(), MultiAppNearestNodeTransfer::getLocalEntities(), MeshGenerator::getMesh(), MultiAppNearestNodeTransfer::getNearestNode(), EigenExecutionerBase::init(), IterationAdaptiveDT::init(), MooseMesh::init(), AdvancedOutput::initExecutionTypes(), BlockRestrictable::initializeBlockRestrictable(), BoundaryRestrictable::initializeBoundaryRestrictable(), SolutionAux::initialSetup(), MooseParsedVectorFunction::initialSetup(), Console::initialSetup(), Receiver::initialSetup(), SolutionFunction::initialSetup(), MooseParsedGradFunction::initialSetup(), MooseParsedFunction::initialSetup(), AdvancedOutput::initialSetup(), AdvancedOutput::initPostprocessorOrVectorPostprocessorLists(), IterationAdaptiveDT::IterationAdaptiveDT(), LeastSquaresFit::LeastSquaresFit(), LibmeshPartitioner::LibmeshPartitioner(), BreakBoundaryOnSubdomain::modify(), MeshExtruder::modify(), MeshSideSet::modify(), LowerDBlockFromSideset::modify(), AssignElementSubdomainID::modify(), ParsedSubdomainMeshModifier::modify(), RenameBlock::modify(), SubdomainBoundingBox::modify(), MooseMesh::MooseMesh(), EigenExecutionerBase::normalizeSolution(), Output::Output(), PetscOutput::PetscOutput(), Piecewise::Piecewise(), SolutionUserObject::readExodusII(), RenameBlock::RenameBlock(), RenameBlockGenerator::RenameBlockGenerator(), RenameBoundaryGenerator::RenameBoundaryGenerator(), SolutionUserObject::SolutionUserObject(), and TimePeriod::TimePeriod().

86 { return _pars.isParamValid(name); }
const InputParameters & _pars
Parameters of this object, references the InputParameters stored in the InputParametersWarehouse.
Definition: MooseObject.h:171
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:56
bool isParamValid(const std::string &name) const
This method returns parameters that have been initialized in one fashion or another, i.e.

◆ isSolveTerminationRequested()

virtual bool Problem::isSolveTerminationRequested ( )
inlinevirtualinherited

Check of termination has been requested.

This should be called by transient Executioners in the keepGoing() member.

Definition at line 47 of file Problem.h.

Referenced by Transient::keepGoing().

47 { return _termination_requested; };
bool _termination_requested
True if termination of the solve has been requested.
Definition: Problem.h:57

◆ isTransient()

bool DisplacedProblem::isTransient ( ) const
overridevirtual

Implements SubProblem.

Definition at line 74 of file DisplacedProblem.C.

75 {
76  return _mproblem.isTransient();
77 }
FEProblemBase & _mproblem
virtual bool isTransient() const override

◆ markMatPropRequested()

void SubProblem::markMatPropRequested ( const std::string &  prop_name)
virtualinherited

Helper method for adding a material property name to the _material_property_requested set.

Definition at line 545 of file SubProblem.C.

Referenced by Material::getZeroMaterialProperty(), and MaterialPropertyInterface::markMatPropRequested().

546 {
547  _material_property_requested.insert(prop_name);
548 }
std::set< std::string > _material_property_requested
set containing all material property names that have been requested by getMaterialProperty* ...
Definition: SubProblem.h:607

◆ matrixTagExists() [1/2]

bool DisplacedProblem::matrixTagExists ( const TagName &  tag_name)
overridevirtual

Check to see if a particular Tag exists.

Reimplemented from SubProblem.

Definition at line 295 of file DisplacedProblem.C.

296 {
297  return _mproblem.matrixTagExists(tag_name);
298 }
FEProblemBase & _mproblem
virtual bool matrixTagExists(const TagName &tag_name)
Check to see if a particular Tag exists.
Definition: SubProblem.C:128

◆ matrixTagExists() [2/2]

bool DisplacedProblem::matrixTagExists ( TagID  tag_id)
overridevirtual

Check to see if a particular Tag exists.

Reimplemented from SubProblem.

Definition at line 301 of file DisplacedProblem.C.

302 {
303  return _mproblem.matrixTagExists(tag_id);
304 }
FEProblemBase & _mproblem
virtual bool matrixTagExists(const TagName &tag_name)
Check to see if a particular Tag exists.
Definition: SubProblem.C:128

◆ matrixTagName()

TagName DisplacedProblem::matrixTagName ( TagID  tag)
overridevirtual

Retrieve the name associated with a TagID.

Reimplemented from SubProblem.

Definition at line 289 of file DisplacedProblem.C.

290 {
291  return _mproblem.matrixTagName(tag);
292 }
FEProblemBase & _mproblem
virtual TagName matrixTagName(TagID tag)
Retrieve the name associated with a TagID.
Definition: SubProblem.C:157

◆ mesh()

virtual MooseMesh& DisplacedProblem::mesh ( )
inlineoverridevirtual

Implements SubProblem.

Definition at line 45 of file DisplacedProblem.h.

45 { return _mesh; }

◆ meshChanged()

void DisplacedProblem::meshChanged ( )
overridevirtual

Reimplemented from SubProblem.

Definition at line 823 of file DisplacedProblem.C.

824 {
825  // mesh changed
826  _eq.reinit();
827  _mesh.meshChanged();
828 
829  // Since the Mesh changed, update the PointLocator object used by DiracKernels.
831 
833 }
GeometricSearchData _geometric_search_data
EquationSystems _eq
void reinit()
Completely redo all geometric search objects.
DiracKernelInfo _dirac_kernel_info
Definition: SubProblem.h:594
void updatePointLocator(const MooseMesh &mesh)
Called during FEProblemBase::meshChanged() to update the PointLocator object used by the DiracKernels...
void meshChanged()
Declares that the MooseMesh has changed, invalidates cached data and rebuilds caches.
Definition: MooseMesh.C:492

◆ mooseDeprecated()

template<typename... Args>
void MooseObject::mooseDeprecated ( Args &&...  args) const
inlineinherited

◆ mooseError()

template<typename... Args>
void MooseObject::mooseError ( Args &&...  args) const
inlineinherited

Definition at line 144 of file MooseObject.h.

Referenced by GridPartitioner::_do_partition(), PetscExternalPartitioner::_do_partition(), FEProblemBase::addConstraint(), FEProblemBase::addInitialCondition(), FEProblem::addLineSearch(), FEProblemBase::addLineSearch(), FEProblemBase::addOutput(), DiracKernel::addPointWithValidId(), FEProblemBase::addPostprocessor(), MooseMesh::addQuadratureNode(), FEProblemBase::addVectorPostprocessor(), ADPiecewiseLinearInterpolationMaterial< compute_stage >::ADPiecewiseLinearInterpolationMaterial(), Output::advancedExecuteOn(), AnnularMesh::AnnularMesh(), AnnularMeshGenerator::AnnularMeshGenerator(), MultiApp::appPostprocessorValue(), MultiApp::appProblem(), MultiApp::appProblemBase(), MultiApp::appUserObjectBase(), DerivativeParsedMaterialHelper::assembleDerivatives(), Function::average(), Axisymmetric2D3DSolutionFunction::Axisymmetric2D3DSolutionFunction(), BicubicSplineFunction::BicubicSplineFunction(), BoundingValueElementDamper::BoundingValueElementDamper(), BoundingValueNodalDamper::BoundingValueNodalDamper(), BoundsAux::BoundsAux(), BreakMeshByBlockGenerator::BreakMeshByBlockGenerator(), BreakMeshByBlockGeneratorBase::BreakMeshByBlockGeneratorBase(), MooseMesh::buildCoarseningMap(), Piecewise::buildFromFile(), Piecewise::buildFromXandY(), Piecewise::buildFromXY(), TiledMesh::buildMesh(), FileMesh::buildMesh(), SpiralAnnularMesh::buildMesh(), DistributedGeneratedMesh::buildMesh(), GeneratedMesh::buildMesh(), ImageMeshGenerator::buildMesh3D(), ImageMesh::buildMesh3D(), MooseMesh::buildMeshBaseObject(), MooseMesh::buildRefinementMap(), MooseMesh::buildSideList(), CartesianMeshGenerator::CartesianMeshGenerator(), ChangeOverTimePostprocessor::ChangeOverTimePostprocessor(), EigenExecutionerBase::chebyshev(), SubProblem::checkBlockMatProps(), SubProblem::checkBoundaryMatProps(), FEProblemBase::checkCoordinateSystems(), FEProblemBase::checkDependMaterialsHelper(), FEProblemBase::checkDisplacementOrders(), Material::checkExecutionStage(), BreakMeshByBlockBase::checkInputParameter(), Steady::checkIntegrity(), EigenExecutionerBase::checkIntegrity(), ActuallyExplicitEuler::checkLinearConvergence(), FEProblemBase::checkProblemIntegrity(), Material::checkStatefulSanity(), FEProblemBase::checkUserObjects(), LibmeshPartitioner::clone(), MooseMesh::clone(), ComparisonPostprocessor::comparisonIsTrue(), CompositeFunction::CompositeFunction(), ElementLpNormAux::compute(), ElementH1ErrorFunctionAux::compute(), NodalPatchRecovery::compute(), KernelBase::computeADOffDiagJacobian(), InterfaceKernel::computeElemNeighJacobian(), TimeSequenceStepperBase::computeFailedDT(), IterationAdaptiveDT::computeFailedDT(), TimeStepper::computeFailedDT(), HistogramVectorPostprocessor::computeHistogram(), EqualValueEmbeddedConstraint::computeQpJacobian(), EqualValueEmbeddedConstraint::computeQpOffDiagJacobian(), KernelValue::computeQpResidual(), FEProblemBase::computeResidualInternal(), FEProblemBase::computeResidualTag(), FEProblemBase::computeResidualType(), StatisticsVectorPostprocessor::computeStatValue(), Material::computeSubdomainProperties(), ExplicitEuler::computeTimeDerivatives(), ImplicitEuler::computeTimeDerivatives(), BDF2::computeTimeDerivatives(), NewmarkBeta::computeTimeDerivatives(), CrankNicolson::computeTimeDerivatives(), ActuallyExplicitEuler::computeTimeDerivatives(), LStableDirk2::computeTimeDerivatives(), LStableDirk3::computeTimeDerivatives(), ImplicitMidpoint::computeTimeDerivatives(), ExplicitTVDRK2::computeTimeDerivatives(), AStableDirk4::computeTimeDerivatives(), LStableDirk4::computeTimeDerivatives(), ExplicitRK2::computeTimeDerivatives(), PenetrationAux::computeValue(), ConcentricCircleMesh::ConcentricCircleMesh(), TimeStepper::constrainStep(), CoupledForce::CoupledForce(), DebugResidualAux::DebugResidualAux(), FunctorRelationshipManager::delete_remote_elements(), BicubicSplineFunction::derivative(), DerivativeSumMaterial::DerivativeSumMaterial(), DGKernelBase::DGKernelBase(), FunctorRelationshipManager::dofmap_reinit(), FEProblemBase::duplicateVariableCheck(), EigenProblem::EigenProblem(), Eigenvalues::Eigenvalues(), ElementalVariableValue::ElementalVariableValue(), ElementQualityAux::ElementQualityAux(), MooseMesh::errorIfDistributedMesh(), SolutionUserObject::evalMeshFunction(), SolutionUserObject::evalMeshFunctionGradient(), SolutionUserObject::evalMultiValuedMeshFunction(), SolutionUserObject::evalMultiValuedMeshFunctionGradient(), MultiAppPostprocessorTransfer::execute(), DiscreteElementUserObject::execute(), MultiAppPostprocessorInterpolationTransfer::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), ElementQualityChecker::execute(), NodalValueSampler::execute(), InterfaceQpValueUserObject::execute(), PointValue::execute(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppVariableValueSampleTransfer::execute(), MultiAppUserObjectTransfer::execute(), MultiAppInterpolationTransfer::execute(), FindValueOnLine::execute(), MultiAppNearestNodeTransfer::execute(), TimeExtremeValue::execute(), VectorPostprocessorComparison::execute(), LeastSquaresFit::execute(), LeastSquaresFitHistory::execute(), FEProblemBase::executeControls(), MultiAppVectorPostprocessorTransfer::executeFromMultiapp(), MultiAppVectorPostprocessorTransfer::executeToMultiapp(), Exodus::Exodus(), FileOutput::FileOutput(), CentroidMultiApp::fillPositions(), MultiApp::fillPositions(), VerifyElementUniqueID::finalize(), VerifyNodalUniqueID::finalize(), DiscreteElementUserObject::finalize(), ElementQualityChecker::finalize(), MemoryUsage::finalize(), PointSamplerBase::finalize(), Transfer::find_sys(), BreakMeshByBlockBase::findFreeBoundaryId(), BreakMeshByBlockGeneratorBase::findFreeBoundaryId(), FunctionDT::FunctionDT(), FunctionMaterialBase::FunctionMaterialBase(), ParsedMaterialHelper::functionParse(), FunctionScalarAux::FunctionScalarAux(), FunctionScalarIC::FunctionScalarIC(), GapValueAux::GapValueAux(), ElementSubdomainIDGenerator::generate(), ExtraNodesetGenerator::generate(), RenameBlockGenerator::generate(), RenameBoundaryGenerator::generate(), GeneratedMeshGenerator::generate(), MeshExtruderGenerator::generate(), SideSetsFromBoundingBoxGenerator::generate(), StackGenerator::generate(), SpiralAnnularMeshGenerator::generate(), PatternedMeshGenerator::generate(), BoundingBoxNodeSetGenerator::generate(), GeneratedMesh::GeneratedMesh(), GeneratedMeshGenerator::GeneratedMeshGenerator(), RandomICBase::generateRandom(), GenericConstantMaterial::GenericConstantMaterial(), GenericFunctionMaterial::GenericFunctionMaterial(), MooseMesh::getBoundaryID(), MultiApp::getBoundingBox(), MooseMesh::getCoarseningMap(), Control::getControllableParameterByName(), FEProblemBase::getCoordSystem(), PiecewiseConstant::getDirection(), FEProblemBase::getDistribution(), GhostingUserObject::getElementalValue(), ElementGenerator::getElemType(), MultiApp::getExecutioner(), FEProblemBase::getFunction(), SolutionUserObject::getLocalVarIndex(), SubProblem::getMatrixTagID(), AnnularMesh::getMaxInDimension(), DistributedGeneratedMesh::getMaxInDimension(), GeneratedMesh::getMaxInDimension(), FEProblemBase::getMaxQps(), FEProblemBase::getMaxShapeFunctions(), AnnularMesh::getMinInDimension(), DistributedGeneratedMesh::getMinInDimension(), GeneratedMesh::getMinInDimension(), MooseMesh::getMortarInterface(), MooseMesh::getMortarInterfaceByName(), MooseMesh::getNodeBlockIds(), MooseMesh::getNodeList(), FEProblemBase::getNonlinearSystem(), MooseMesh::getPairedBoundaryMapping(), ImageMeshGenerator::GetPixelInfo(), ImageMesh::GetPixelInfo(), InterfaceQpValueUserObject::getQpValue(), MaterialStdVectorAux::getRealValue(), MooseMesh::getRefinementMap(), FEProblemBase::getSampler(), getScalarVariable(), FEProblemBase::getScalarVariable(), getStandardVariable(), FEProblemBase::getStandardVariable(), MooseMesh::getSubdomainBoundaryIds(), MooseMesh::getSubdomainID(), getSystem(), FEProblemBase::getSystem(), FEProblemBase::getUserObject(), FEProblemBase::getUserObjectBase(), PerformanceData::getValue(), Residual::getValue(), PerfGraphData::getValue(), LineValueSampler::getValue(), FindValueOnLine::getValueAtPoint(), SubProblem::getVariableHelper(), SubProblem::getVectorTagID(), getVectorVariable(), FEProblemBase::getVectorVariable(), GhostingAux::GhostingAux(), MultiApp::globalAppToLocal(), MooseParsedVectorFunction::gradient(), AdvancedOutput::hasOutputHelper(), CrankNicolson::init(), CSVTimeSequenceStepper::init(), IterationAdaptiveDT::init(), EigenExecutionerBase::init(), Transient::init(), MooseMesh::init(), FEProblemBase::init(), NumPicardIterations::initialize(), FullSolveMultiApp::initialSetup(), PiecewiseBase::initialSetup(), SolutionAux::initialSetup(), Axisymmetric2D3DSolutionFunction::initialSetup(), SolutionFunction::initialSetup(), Exodus::initialSetup(), SolutionUserObject::initialSetup(), FEProblemBase::initialSetup(), AdvancedOutput::initOutputList(), AdvancedOutput::initShowHideLists(), Material::initStatefulProperties(), Function::integral(), InterfaceKernel::InterfaceKernel(), InterfaceTimeKernel::InterfaceTimeKernel(), EigenExecutionerBase::inversePowerIteration(), InversePowerMethod::InversePowerMethod(), IterationAdaptiveDT::IterationAdaptiveDT(), LayeredSideIntegral::LayeredSideIntegral(), LeastSquaresFit::LeastSquaresFit(), LibmeshPartitioner::LibmeshPartitioner(), LinearCombinationFunction::LinearCombinationFunction(), LinearCombinationPostprocessor::LinearCombinationPostprocessor(), LinearNodalConstraint::LinearNodalConstraint(), LineMaterialSamplerBase< Real >::LineMaterialSamplerBase(), LineSearch::lineSearch(), LineValueSampler::LineValueSampler(), MaterialRealTensorValueAux::MaterialRealTensorValueAux(), MaterialRealVectorValueAux::MaterialRealVectorValueAux(), MaterialStdVectorRealGradientAux::MaterialStdVectorRealGradientAux(), MaterialVectorPostprocessor::MaterialVectorPostprocessor(), Distribution::median(), FunctorRelationshipManager::mesh_reinit(), SubProblem::meshChanged(), MeshExtruder::MeshExtruder(), MeshExtruderGenerator::MeshExtruderGenerator(), MeshSideSetGenerator::MeshSideSetGenerator(), SideSetsFromPoints::modify(), SideSetsFromNormals::modify(), AddExtraNodeset::modify(), MeshExtruder::modify(), BreakMeshByBlockBase::modify(), AssignElementSubdomainID::modify(), SmoothMesh::modify(), ElementDeleterBase::modify(), AddAllSideSetsByNormals::modify(), RenameBlock::modify(), ParsedSubdomainMeshModifier::modify(), ImageSubdomain::modify(), OrientedSubdomainBoundingBox::modify(), BoundingBoxNodeSet::modify(), AddSideSetsFromBoundingBox::modify(), SubdomainBoundingBox::modify(), MooseGhostPointNeighbors::MooseGhostPointNeighbors(), MooseMesh::MooseMesh(), MultiAppMeshFunctionTransfer::MultiAppMeshFunctionTransfer(), MultiAppPostprocessorTransfer::MultiAppPostprocessorTransfer(), NearestNodeDistanceAux::NearestNodeDistanceAux(), NearestNodeValueAux::NearestNodeValueAux(), RenameBlockGenerator::newBlockID(), RenameBlock::newBlockID(), RenameBlockGenerator::newBlockName(), RenameBlock::newBlockName(), NewmarkBeta::NewmarkBeta(), NodalConstraint::NodalConstraint(), NodalScalarKernel::NodalScalarKernel(), NodalVariableValue::NodalVariableValue(), NumDOFs::NumDOFs(), NumNonlinearIterations::NumNonlinearIterations(), NumVars::NumVars(), FunctorRelationshipManager::operator()(), RelationshipManager::operator==(), XDA::output(), SolutionHistory::output(), Exodus::output(), AdvancedOutput::outputElementalVariables(), AdvancedOutput::outputInput(), AdvancedOutput::outputNodalVariables(), AdvancedOutput::outputPostprocessors(), AdvancedOutput::outputScalarVariables(), AdvancedOutput::outputSystemInformation(), Console::outputVectorPostprocessors(), AdvancedOutput::outputVectorPostprocessors(), MooseObject::paramError(), PiecewiseBilinear::parse(), ParsedAddSideset::ParsedAddSideset(), ParsedAux::ParsedAux(), ParsedGenerateSideset::ParsedGenerateSideset(), ParsedODEKernel::ParsedODEKernel(), ParsedSubdomainMeshGenerator::ParsedSubdomainMeshGenerator(), ParsedSubdomainMeshModifier::ParsedSubdomainMeshModifier(), PetscExternalPartitioner::PetscExternalPartitioner(), PhysicsBasedPreconditioner::PhysicsBasedPreconditioner(), Piecewise::Piecewise(), PiecewiseBilinear::PiecewiseBilinear(), PiecewiseLinearInterpolationMaterial::PiecewiseLinearInterpolationMaterial(), PiecewiseMulticonstant::PiecewiseMulticonstant(), PiecewiseMultiInterpolation::PiecewiseMultiInterpolation(), SolutionUserObject::pointValueGradientWrapper(), SolutionUserObject::pointValueWrapper(), LStableDirk2::postResidual(), LStableDirk3::postResidual(), ImplicitMidpoint::postResidual(), ExplicitTVDRK2::postResidual(), LStableDirk4::postResidual(), AStableDirk4::postResidual(), ExplicitRK2::postResidual(), Predictor::Predictor(), Transient::preExecute(), SolutionUserObject::readExodusII(), SolutionUserObject::readXda(), FunctorRelationshipManager::redistribute(), EqualValueEmbeddedConstraint::reinitConstraint(), RelativeSolutionDifferenceNorm::RelativeSolutionDifferenceNorm(), RenameBlock::RenameBlock(), RenameBlockGenerator::RenameBlockGenerator(), RenameBoundaryGenerator::RenameBoundaryGenerator(), RinglebMesh::RinglebMesh(), RinglebMeshGenerator::RinglebMeshGenerator(), ScalarComponentIC::ScalarComponentIC(), BicubicSplineFunction::secondDerivative(), FEProblemBase::setCoordSystem(), PiecewiseBase::setData(), EigenProblem::setEigenproblemType(), FEProblemSolve::setInnerSolve(), Sampler::setNumberOfRequiedRandomSeeds(), Exodus::setOutputDimensionInExodusWriter(), Split::setup(), TransientMultiApp::setupApp(), TimeSequenceStepperBase::setupSequence(), Transient::setupTimeIntegrator(), SideSetsFromBoundingBoxGenerator::SideSetsFromBoundingBoxGenerator(), SideSetsFromNormals::SideSetsFromNormals(), SideSetsFromNormalsGenerator::SideSetsFromNormalsGenerator(), SideSetsFromPoints::SideSetsFromPoints(), SideSetsFromPointsGenerator::SideSetsFromPointsGenerator(), SolutionTimeAdaptiveDT::SolutionTimeAdaptiveDT(), SolutionUserObject::SolutionUserObject(), PicardSolve::solve(), ActuallyExplicitEuler::solve(), FullSolveMultiApp::solveStep(), SpatialAverageBase::SpatialAverageBase(), UserObject::spatialValue(), SpiralAnnularMesh::SpiralAnnularMesh(), SpiralAnnularMeshGenerator::SpiralAnnularMeshGenerator(), StitchedMesh::StitchedMesh(), NodalUserObject::subdomainSetup(), GeneralUserObject::subdomainSetup(), Constraint::subdomainSetup(), Console::systemInfoFlags(), Terminator::Terminator(), TestSetupPostprocessorDataActionFunction::TestSetupPostprocessorDataActionFunction(), ThreadedGeneralUserObject::ThreadedGeneralUserObject(), ThreadedGeneralUserObject::threadJoin(), DiscreteElementUserObject::threadJoin(), GeneralUserObject::threadJoin(), TiledMeshGenerator::TiledMeshGenerator(), Function::timeDerivative(), TimeExtremeValue::TimeExtremeValue(), TimePeriod::TimePeriod(), VectorPostprocessorVisualizationAux::timestepSetup(), MultiAppCopyTransfer::transfer(), MultiAppMeshFunctionTransfer::transferVariable(), FEProblemBase::uDotDotOldRequested(), FEProblemBase::uDotOldRequested(), EqualValueBoundaryConstraint::updateConstrainedNodes(), SolutionUserObject::updateExodusBracketingTimeIndices(), Axisymmetric2D3DSolutionFunction::value(), ValueRangeMarker::ValueRangeMarker(), ValueThresholdMarker::ValueThresholdMarker(), MultiAppTransfer::variableIntegrityCheck(), VariableTimeIntegrationAux::VariableTimeIntegrationAux(), VectorNodalBC::VectorNodalBC(), VectorOfPostprocessors::VectorOfPostprocessors(), VectorPostprocessorFunction::VectorPostprocessorFunction(), MooseParsedGradFunction::vectorValue(), MooseParsedFunction::vectorValue(), VectorVariableComponentAux::VectorVariableComponentAux(), VolumeHistogram::VolumeHistogram(), VTKOutput::VTKOutput(), DOFMapOutput::writeStreamToFile(), and Console::writeStreamToFile().

144  {
145  std::ostringstream oss;
146  moose::internal::mooseStreamAll(oss, std::forward<Args>(args)...);
147  std::string msg = oss.str();
148  callMooseErrorRaw(msg, &_app);
149  }
void mooseStreamAll(std::ostringstream &ss)
All of the following are not meant to be called directly - they are called by the normal macros (moos...
Definition: MooseError.C:87
void callMooseErrorRaw(std::string &msg, MooseApp *app)
Definition: MooseObject.C:57
MooseApp & _app
The MooseApp this object is associated with.
Definition: MooseObject.h:174

◆ mooseInfo()

template<typename... Args>
void MooseObject::mooseInfo ( Args &&...  args) const
inlineinherited

◆ mooseWarning()

template<typename... Args>
void MooseObject::mooseWarning ( Args &&...  args) const
inlineinherited

◆ name()

const std::string& MooseObject::name ( ) const
inlineinherited

Get the name of the object.

Returns
The name of the object

Definition at line 56 of file MooseObject.h.

Referenced by GridPartitioner::_do_partition(), FEProblemBase::addADJacobianMaterial(), FEProblemBase::addADResidualMaterial(), Executioner::addAttributeReporter(), DumpObjectsProblem::addAuxKernel(), FEProblemBase::addAuxKernel(), DumpObjectsProblem::addAuxScalarKernel(), FEProblemBase::addAuxScalarKernel(), DumpObjectsProblem::addBoundaryCondition(), FEProblemBase::addBoundaryCondition(), DumpObjectsProblem::addConstraint(), FEProblemBase::addConstraint(), FEProblemBase::addDamper(), DumpObjectsProblem::addDGKernel(), FEProblemBase::addDGKernel(), DumpObjectsProblem::addDiracKernel(), FEProblemBase::addDiracKernel(), FEProblemBase::addDistribution(), DumpObjectsProblem::addFunction(), FEProblemBase::addFunction(), FEProblemBase::addIndicator(), DumpObjectsProblem::addInitialCondition(), FEProblemBase::addInitialCondition(), DumpObjectsProblem::addInterfaceKernel(), FEProblemBase::addInterfaceKernel(), DumpObjectsProblem::addKernel(), FEProblemBase::addKernel(), FEProblemBase::addMarker(), DumpObjectsProblem::addMaterial(), FEProblemBase::addMaterial(), FEProblemBase::addMaterialHelper(), MooseMesh::addMortarInterface(), FEProblemBase::addMultiApp(), DumpObjectsProblem::addNodalKernel(), FEProblemBase::addNodalKernel(), FEProblemBase::addPostprocessor(), FEProblemBase::addPredictor(), CreateDisplacedProblemAction::addProxyAlgebraicRelationshipManagers(), CreateDisplacedProblemAction::addProxyGeometricRelationshipManagers(), FEProblemBase::addSampler(), DumpObjectsProblem::addScalarKernel(), FEProblemBase::addScalarKernel(), FEProblemBase::addTimeIntegrator(), FEProblemBase::addTransfer(), FEProblemBase::addUserObject(), FEProblemBase::addVectorPostprocessor(), Output::advancedExecuteOn(), MultiApp::appPostprocessorValue(), MultiApp::appProblem(), MultiApp::appProblemBase(), MultiApp::appUserObjectBase(), DerivativeParsedMaterialHelper::assembleDerivatives(), AStableDirk4::AStableDirk4(), Function::average(), MultiApp::backup(), BreakMeshByBlockGenerator::BreakMeshByBlockGenerator(), ChangeOverTimePostprocessor::ChangeOverTimePostprocessor(), FEProblemBase::checkDependMaterialsHelper(), Damper::checkMinDamping(), Material::checkStatefulSanity(), CompositeFunction::CompositeFunction(), Material::computeSubdomainProperties(), VectorPostprocessorVisualizationAux::computeValue(), MultiApp::createApp(), FEProblemBase::declareVectorPostprocessorVector(), DOFMapOutput::demangle(), DerivativeSumMaterial::DerivativeSumMaterial(), DGKernelBase::DGKernelBase(), DumpObjectsProblem::dumpObjectHelper(), ElementValueSampler::ElementValueSampler(), MooseMesh::errorIfDistributedMesh(), AB2PredictorCorrector::estimateTimeError(), SolutionUserObject::evalMeshFunction(), SolutionUserObject::evalMeshFunctionGradient(), SolutionUserObject::evalMultiValuedMeshFunction(), SolutionUserObject::evalMultiValuedMeshFunctionGradient(), MultiAppPostprocessorTransfer::execute(), MultiAppPostprocessorInterpolationTransfer::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), StatisticsVectorPostprocessor::execute(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppVariableValueSampleTransfer::execute(), PointValue::execute(), MultiAppMeshFunctionTransfer::execute(), MultiAppInterpolationTransfer::execute(), MultiAppUserObjectTransfer::execute(), MultiAppNearestNodeTransfer::execute(), MultiAppProjectionTransfer::execute(), MultiAppVectorPostprocessorTransfer::execute(), HistogramVectorPostprocessor::execute(), MultiAppCopyTransfer::execute(), Exodus::Exodus(), FileOutput::FileOutput(), MultiApp::fillPositions(), PointSamplerBase::finalize(), DerivativeParsedMaterialHelper::findMatPropDerivative(), FunctionDT::FunctionDT(), GeneralUserObject::GeneralUserObject(), LowerDBlockFromSidesetGenerator::generate(), StitchedMeshGenerator::generate(), Material::getADMaterialProperty(), MultiApp::getBoundingBox(), MooseObject::getCheckedPointerParam(), Control::getControllableParameterByName(), Control::getControllableValue(), Control::getControllableValueByName(), DistributionInterface::getDistribution(), FEProblemBase::getDistribution(), DistributionInterface::getDistributionByName(), MultiApp::getExecutioner(), OutputWarehouse::getFileNumbers(), FEProblemBase::getFunction(), SolutionUserObject::getLocalVarIndex(), Marker::getMarkerValue(), FEProblemBase::getMaterial(), NodalPatchRecovery::getMaterialProperty(), Material::getMaterialProperty(), AuxKernelTempl< ComputeValueType >::getMaterialProperty(), SubProblem::getMaterialPropertyBlockNames(), SubProblem::getMaterialPropertyBoundaryNames(), NodalPatchRecovery::getMaterialPropertyOld(), AuxKernelTempl< ComputeValueType >::getMaterialPropertyOld(), Material::getMaterialPropertyOld(), NodalPatchRecovery::getMaterialPropertyOlder(), Material::getMaterialPropertyOlder(), AuxKernelTempl< ComputeValueType >::getMaterialPropertyOlder(), MeshGenerator::getMesh(), MooseMesh::getMortarInterfaceByName(), OutputWarehouse::getOutput(), MooseObject::getParam(), GeneralUserObject::getPostprocessorValue(), FEProblemBase::getPostprocessorValue(), GeneralUserObject::getPostprocessorValueByName(), FEProblemBase::getPostprocessorValueOld(), FEProblemBase::getPostprocessorValueOlder(), FEProblemBase::getSampler(), FEProblemBase::getScatterVectorPostprocessorValue(), FEProblemBase::getScatterVectorPostprocessorValueOld(), Transient::getTimeStepperName(), InitialConditionBase::getUserObject(), FEProblemBase::getUserObject(), InitialConditionBase::getUserObjectBase(), FEProblemBase::getUserObjectBase(), InitialConditionBase::getUserObjectByName(), GeneralUserObject::getVectorPostprocessorValue(), FEProblemBase::getVectorPostprocessorValue(), GeneralUserObject::getVectorPostprocessorValueByName(), FEProblemBase::getVectorPostprocessorValueOld(), FEProblemBase::hasFunction(), AdvancedOutput::hasOutputHelper(), FEProblemBase::hasPostprocessor(), FEProblemBase::hasUserObject(), FEProblemBase::hasVectorPostprocessor(), FEProblemBase::init(), AdvancedOutput::initExecutionTypes(), AttribName::initFrom(), CSVReader::initialize(), StatisticsVectorPostprocessor::initialize(), HistogramVectorPostprocessor::initialize(), MultiAppProjectionTransfer::initialSetup(), DerivativeFunctionMaterialBase::initialSetup(), SolutionUserObject::initialSetup(), AdvancedOutput::initOutputList(), FEProblemBase::initPostprocessorData(), AdvancedOutput::initPostprocessorOrVectorPostprocessorLists(), Material::initStatefulProperties(), FEProblemBase::initVectorPostprocessorData(), Function::integral(), InterfaceKernel::InterfaceKernel(), Registry::isADObj(), MooseObject::isParamValid(), Registry::isRegisteredObj(), LinearCombinationFunction::LinearCombinationFunction(), Marker::Marker(), MatDiffusionBase< Real >::MatDiffusionBase(), MaterialDerivativeTestKernelBase< Real >::MaterialDerivativeTestKernelBase(), MaterialVectorPostprocessor::MaterialVectorPostprocessor(), Distribution::median(), MemoryUsageReporter::MemoryUsageReporter(), MeshSideSetGenerator::MeshSideSetGenerator(), ElementDeleterBase::modify(), MooseVariableInterface< Real >::MooseVariableInterface(), NearestPointBase< LayeredAverage >::NearestPointBase(), NodalValueSampler::NodalValueSampler(), NodalVariableValue::NodalVariableValue(), Registry::objData(), DOFMapOutput::output(), Output::Output(), AdvancedOutput::outputElementalVariables(), AdvancedOutput::outputInput(), AdvancedOutput::outputNodalVariables(), ConsoleUtils::outputOutputInformation(), Nemesis::outputPostprocessors(), Exodus::outputPostprocessors(), AdvancedOutput::outputPostprocessors(), AdvancedOutput::outputScalarVariables(), AdvancedOutput::outputSystemInformation(), AdvancedOutput::outputVectorPostprocessors(), ParsedAddSideset::ParsedAddSideset(), ParsedAux::ParsedAux(), ParsedGenerateSideset::ParsedGenerateSideset(), ParsedODEKernel::ParsedODEKernel(), ParsedSubdomainMeshGenerator::ParsedSubdomainMeshGenerator(), ParsedSubdomainMeshModifier::ParsedSubdomainMeshModifier(), PointSamplerBase::PointSamplerBase(), Registry::registerObjectsTo(), FEProblemBase::registerRandomInterface(), Material::resetQpProperties(), MultiApp::restore(), Sampler::Sampler(), ScalarComponentIC::ScalarComponentIC(), MooseMesh::setBoundaryName(), Control::setControllableValue(), Control::setControllableValueByName(), OutputWarehouse::setFileNumbers(), MooseMesh::setSubdomainName(), Split::setup(), TransientMultiApp::setupApp(), SideSetsFromNormalsGenerator::SideSetsFromNormalsGenerator(), SideSetsFromPointsGenerator::SideSetsFromPointsGenerator(), SideValueSampler::SideValueSampler(), TransientMultiApp::solveStep(), SpatialAverageBase::SpatialAverageBase(), UserObject::spatialValue(), StitchedMesh::StitchedMesh(), SubProblem::storeBoundaryDelayedCheckMatProp(), SubProblem::storeBoundaryMatPropName(), SubProblem::storeBoundaryZeroMatProp(), SubProblem::storeSubdomainDelayedCheckMatProp(), SubProblem::storeSubdomainMatPropName(), SubProblem::storeSubdomainZeroMatProp(), TaggingInterface::TaggingInterface(), ThreadedGeneralUserObject::ThreadedGeneralUserObject(), Function::timeDerivative(), VectorPostprocessorVisualizationAux::timestepSetup(), TransientMultiApp::TransientMultiApp(), MultiAppTransfer::variableIntegrityCheck(), and AdvancedOutput::wantOutput().

56 { return _name; }
const std::string & _name
The name of this object, reference to value stored in InputParameters.
Definition: MooseObject.h:180

◆ nLinearIterations()

unsigned int SubProblem::nLinearIterations ( ) const
virtualinherited

Reimplemented in FEProblemBase.

Definition at line 575 of file SubProblem.C.

Referenced by NumLinearIterations::getValue().

576 {
577  return 0;
578 }

◆ nlSys()

DisplacedSystem& DisplacedProblem::nlSys ( )
inline

Definition at line 48 of file DisplacedProblem.h.

48 { return _displaced_nl; }
DisplacedSystem _displaced_nl

◆ nNonlinearIterations()

unsigned int SubProblem::nNonlinearIterations ( ) const
virtualinherited

Reimplemented in FEProblemBase.

Definition at line 569 of file SubProblem.C.

Referenced by NumNonlinearIterations::getValue().

570 {
571  return 0;
572 }

◆ nonlocalCouplingMatrix()

const CouplingMatrix& SubProblem::nonlocalCouplingMatrix ( ) const
inlineinherited

Definition at line 508 of file SubProblem.h.

508 { return _nonlocal_cm; }
CouplingMatrix _nonlocal_cm
Definition: SubProblem.h:589

◆ numMatrixTags()

unsigned int DisplacedProblem::numMatrixTags ( )
overridevirtual

The total number of tags.

Reimplemented from SubProblem.

Definition at line 307 of file DisplacedProblem.C.

308 {
309  return _mproblem.numMatrixTags();
310 }
FEProblemBase & _mproblem
virtual unsigned int numMatrixTags()
The total number of tags.
Definition: SubProblem.h:157

◆ numVectorTags()

unsigned int DisplacedProblem::numVectorTags ( )
overridevirtual

The total number of tags.

Reimplemented from SubProblem.

Definition at line 265 of file DisplacedProblem.C.

266 {
267  return _mproblem.numVectorTags();
268 }
FEProblemBase & _mproblem
virtual unsigned int numVectorTags()
The total number of tags.
Definition: SubProblem.h:122

◆ onTimestepBegin()

void DisplacedProblem::onTimestepBegin ( )
overridevirtual

Implements SubProblem.

Definition at line 877 of file DisplacedProblem.C.

878 {
879 }

◆ onTimestepEnd()

void DisplacedProblem::onTimestepEnd ( )
overridevirtual

Implements SubProblem.

Definition at line 882 of file DisplacedProblem.C.

883 {
884 }

◆ paramError()

template<typename... Args>
void MooseObject::paramError ( const std::string &  param,
Args...  args 
)
inlineinherited

Emits an error prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message.

If this object's parameters were not created directly by the Parser, then this function falls back to the normal behavior of mooseError - only printing a message using the given args.

Definition at line 105 of file MooseObject.h.

Referenced by ADIntegratedBCTempl< T, compute_stage >::ADIntegratedBCTempl(), ADKernelTempl< T, compute_stage >::ADKernelTempl(), ConcentricCircleMeshGenerator::ConcentricCircleMeshGenerator(), DGKernelBase::DGKernelBase(), ElementValueSampler::ElementValueSampler(), StitchedMeshGenerator::generate(), MeshCollectionGenerator::generate(), StackGenerator::generate(), MultiApp::init(), IntegratedBC::IntegratedBC(), Kernel::Kernel(), MeshCollectionGenerator::MeshCollectionGenerator(), NodalBC::NodalBC(), NodalEqualValueConstraint::NodalEqualValueConstraint(), NodalKernel::NodalKernel(), NodalValueSampler::NodalValueSampler(), RandomIC::RandomIC(), MultiAppCopyTransfer::transfer(), and TransientMultiApp::TransientMultiApp().

105  {
106  auto prefix = param + ": ";
107  if (!_pars.inputLocation(param).empty())
108  prefix = _pars.inputLocation(param) + ": (" + _pars.paramFullpath(param) + "):\n";
109  mooseError(prefix, args...);
110  }
void mooseError(Args &&... args) const
Definition: MooseObject.h:144
const std::string & inputLocation(const std::string &param) const
Get/set a string representing the location in the input text the parameter originated from (i...
const InputParameters & _pars
Parameters of this object, references the InputParameters stored in the InputParametersWarehouse.
Definition: MooseObject.h:171
const std::string & paramFullpath(const std::string &param) const
Get/set a string representing the full HIT parameter path from the input file (e.g.

◆ parameters()

const InputParameters& MooseObject::parameters ( ) const
inlineinherited

Get the parameters of the object.

Returns
The parameters of the object

Definition at line 62 of file MooseObject.h.

Referenced by FEProblemBase::addADJacobianMaterial(), FEProblemBase::addADResidualMaterial(), DumpObjectsProblem::addAuxKernel(), FEProblemBase::addAuxKernel(), DumpObjectsProblem::addAuxScalarKernel(), FEProblemBase::addAuxScalarKernel(), DumpObjectsProblem::addBoundaryCondition(), FEProblemBase::addBoundaryCondition(), DumpObjectsProblem::addConstraint(), FEProblemBase::addConstraint(), FEProblemBase::addDamper(), DumpObjectsProblem::addDGKernel(), FEProblemBase::addDGKernel(), DumpObjectsProblem::addDiracKernel(), FEProblemBase::addDiracKernel(), FEProblemBase::addDistribution(), DumpObjectsProblem::addFunction(), FEProblemBase::addFunction(), FEProblemBase::addIndicator(), DumpObjectsProblem::addInitialCondition(), FEProblemBase::addInitialCondition(), DumpObjectsProblem::addInterfaceKernel(), FEProblemBase::addInterfaceKernel(), DumpObjectsProblem::addKernel(), FEProblemBase::addKernel(), FEProblem::addLineSearch(), FEProblemBase::addMarker(), DumpObjectsProblem::addMaterial(), FEProblemBase::addMaterial(), FEProblemBase::addMaterialHelper(), FEProblemBase::addMultiApp(), DumpObjectsProblem::addNodalKernel(), FEProblemBase::addNodalKernel(), FEProblemBase::addOutput(), FEProblemBase::addPostprocessor(), FEProblemBase::addPredictor(), FEProblemBase::addSampler(), DumpObjectsProblem::addScalarKernel(), FEProblemBase::addScalarKernel(), FEProblemBase::addTimeIntegrator(), FEProblemBase::addTransfer(), FEProblemBase::addUserObject(), FEProblemBase::addVectorPostprocessor(), ADPiecewiseLinearInterpolationMaterial< compute_stage >::ADPiecewiseLinearInterpolationMaterial(), AdvancedOutput::AdvancedOutput(), assemble_l2(), Moose::assemble_matrix(), AuxKernelTempl< ComputeValueType >::AuxKernelTempl(), AuxScalarKernel::AuxScalarKernel(), BoundsAux::BoundsAux(), LibmeshPartitioner::clone(), OversampleOutput::cloneMesh(), Moose::compute_bounds(), Moose::compute_jacobian(), Moose::compute_nearnullspace(), Moose::compute_nullspace(), Moose::compute_postcheck(), Moose::compute_transpose_nullspace(), Console::Console(), DumpObjectsProblem::deduceNecessaryParameters(), DumpObjectsProblem::dumpObjectHelper(), EigenProblem::EigenProblem(), Eigenvalue::Eigenvalue(), Exodus::Exodus(), FEProblem::FEProblem(), GapValueAux::GapValueAux(), MooseObject::getCheckedPointerParam(), GhostingUserObject::GhostingUserObject(), MooseMesh::init(), BlockRestrictable::initializeBlockRestrictable(), FEProblemBase::initNullSpaceVectors(), InterfaceKernel::InterfaceKernel(), isValid(), LayeredSideIntegral::LayeredSideIntegral(), MooseVariableInterface< Real >::MooseVariableInterface(), NearestPointBase< LayeredAverage >::NearestPointBase(), NodeFaceConstraint::NodeFaceConstraint(), PenetrationAux::PenetrationAux(), PiecewiseBilinear::PiecewiseBilinear(), PiecewiseLinearInterpolationMaterial::PiecewiseLinearInterpolationMaterial(), MultiAppProjectionTransfer::projectSolution(), RandomIC::RandomIC(), InputParameterWarehouse::removeInputParameters(), FEProblem::setInputParametersFEProblem(), FEProblemBase::setInputParametersFEProblem(), DumpObjectsProblem::stringifyParameters(), and Transient::Transient().

62 { return _pars; }
const InputParameters & _pars
Parameters of this object, references the InputParameters stored in the InputParametersWarehouse.
Definition: MooseObject.h:171

◆ paramInfo()

template<typename... Args>
void MooseObject::paramInfo ( const std::string &  param,
Args...  args 
)
inlineinherited

Emits an informational message prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message.

If this object's parameters were not created directly by the Parser, then this function falls back to the normal behavior of mooseInfo - only printing a message using the given args.

Definition at line 135 of file MooseObject.h.

Referenced by TransientMultiApp::TransientMultiApp().

136  {
137  auto prefix = param + ": ";
138  if (!_pars.inputLocation(param).empty())
139  prefix = _pars.inputLocation(param) + ": (" + _pars.paramFullpath(param) + "):\n";
140  mooseInfo(prefix, args...);
141  }
const std::string & inputLocation(const std::string &param) const
Get/set a string representing the location in the input text the parameter originated from (i...
const InputParameters & _pars
Parameters of this object, references the InputParameters stored in the InputParametersWarehouse.
Definition: MooseObject.h:171
void mooseInfo(Args &&... args) const
Definition: MooseObject.h:164
const std::string & paramFullpath(const std::string &param) const
Get/set a string representing the full HIT parameter path from the input file (e.g.

◆ paramWarning()

template<typename... Args>
void MooseObject::paramWarning ( const std::string &  param,
Args...  args 
)
inlineinherited

Emits a warning prefixed with the file and line number of the given param (from the input file) along with the full parameter path+name followed by the given args as the message.

If this object's parameters were not created directly by the Parser, then this function falls back to the normal behavior of mooseWarning - only printing a message using the given args.

Definition at line 119 of file MooseObject.h.

120  {
121  auto prefix = param + ": ";
122  if (!_pars.inputLocation(param).empty())
123  prefix = _pars.inputLocation(param) + ": (" + _pars.paramFullpath(param) + "):\n";
124  mooseWarning(prefix, args...);
125  }
void mooseWarning(Args &&... args) const
Definition: MooseObject.h:152
const std::string & inputLocation(const std::string &param) const
Get/set a string representing the location in the input text the parameter originated from (i...
const InputParameters & _pars
Parameters of this object, references the InputParameters stored in the InputParametersWarehouse.
Definition: MooseObject.h:171
const std::string & paramFullpath(const std::string &param) const
Get/set a string representing the full HIT parameter path from the input file (e.g.

◆ prepare() [1/2]

void DisplacedProblem::prepare ( const Elem *  elem,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 424 of file DisplacedProblem.C.

425 {
426  _assembly[tid]->reinit(elem);
427 
428  _displaced_nl.prepare(tid);
429  _displaced_aux.prepare(tid);
431  _assembly[tid]->prepareJacobianBlock();
432  _assembly[tid]->prepareResidual();
433 }
FEProblemBase & _mproblem
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
bool hasJacobian() const
Returns _has_jacobian.
bool constJacobian() const
Returns _const_jacobian (whether a MOOSE object has specified that the Jacobian is the same as the pr...
virtual void prepare(THREAD_ID tid)
Prepare the system for use.
Definition: SystemBase.C:242

◆ prepare() [2/2]

void DisplacedProblem::prepare ( const Elem *  elem,
unsigned int  ivar,
unsigned int  jvar,
const std::vector< dof_id_type > &  dof_indices,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 449 of file DisplacedProblem.C.

454 {
455  _assembly[tid]->reinit(elem);
456 
457  _displaced_nl.prepare(tid);
458  _displaced_aux.prepare(tid);
459  _assembly[tid]->prepareBlock(ivar, jvar, dof_indices);
460 }
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual void prepare(THREAD_ID tid)
Prepare the system for use.
Definition: SystemBase.C:242

◆ prepareAssembly()

void DisplacedProblem::prepareAssembly ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 487 of file DisplacedProblem.C.

488 {
489  _assembly[tid]->prepare();
490 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ prepareAssemblyNeighbor()

void DisplacedProblem::prepareAssemblyNeighbor ( THREAD_ID  tid)
virtual

Definition at line 493 of file DisplacedProblem.C.

Referenced by reinitNeighborPhys().

494 {
495  _assembly[tid]->prepareNeighbor();
496 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ prepareBlockNonlocal()

void DisplacedProblem::prepareBlockNonlocal ( unsigned int  ivar,
unsigned int  jvar,
const std::vector< dof_id_type > &  idof_indices,
const std::vector< dof_id_type > &  jdof_indices,
THREAD_ID  tid 
)
virtual

Definition at line 477 of file DisplacedProblem.C.

482 {
483  _assembly[tid]->prepareBlockNonlocal(ivar, jvar, idof_indices, jdof_indices);
484 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ prepareFace()

void DisplacedProblem::prepareFace ( const Elem *  elem,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 442 of file DisplacedProblem.C.

443 {
444  _displaced_nl.prepareFace(tid, true);
445  _displaced_aux.prepareFace(tid, false);
446 }
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual void prepareFace(THREAD_ID tid, bool resize_data)
Prepare the system for use on sides.
Definition: SystemBase.C:265

◆ prepareFaceShapes()

void DisplacedProblem::prepareFaceShapes ( unsigned int  var,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 803 of file DisplacedProblem.C.

804 {
805  _assembly[tid]->copyFaceShapes(var);
806 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ prepareNeighborShapes()

void DisplacedProblem::prepareNeighborShapes ( unsigned int  var,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 809 of file DisplacedProblem.C.

810 {
811  _assembly[tid]->copyNeighborShapes(var);
812 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ prepareNonlocal()

void DisplacedProblem::prepareNonlocal ( THREAD_ID  tid)
virtual

Definition at line 436 of file DisplacedProblem.C.

437 {
438  _assembly[tid]->prepareNonlocal();
439 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ prepareShapes()

void DisplacedProblem::prepareShapes ( unsigned int  var,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 797 of file DisplacedProblem.C.

798 {
799  _assembly[tid]->copyShapes(var);
800 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ refMesh()

MooseMesh & DisplacedProblem::refMesh ( )

Definition at line 854 of file DisplacedProblem.C.

Referenced by updateMesh().

855 {
856  return _ref_mesh;
857 }
MooseMesh & _ref_mesh
reference mesh

◆ registerTimedSection()

PerfID PerfGraphInterface::registerTimedSection ( const std::string &  section_name,
const unsigned int  level 
)
protectedinherited

Call to register a named section for timing.

Parameters
section_nameThe name of the code section to be timed
levelThe importance of the timer - lower is more important (0 will always come out)
Returns
The ID of the section - use when starting timing

Definition at line 50 of file PerfGraphInterface.C.

51 {
52  if (_prefix != "")
53  return _perf_graph.registerSection(_prefix + "::" + section_name, level);
54  else
55  return _perf_graph.registerSection(section_name, level);
56 }
PerfGraph & _perf_graph
The performance graph to add to.
std::string _prefix
A prefix to use for all sections.
PerfID registerSection(const std::string &section_name, unsigned int level)
Registers a named section of code.
Definition: PerfGraph.C:42

◆ reinitDirac()

bool DisplacedProblem::reinitDirac ( const Elem *  elem,
THREAD_ID  tid 
)
overridevirtual

Returns true if the Problem has Dirac kernels it needs to compute on elem.

Implements SubProblem.

Definition at line 499 of file DisplacedProblem.C.

500 {
501  std::vector<Point> & points = _dirac_kernel_info.getPoints()[elem].first;
502 
503  unsigned int n_points = points.size();
504 
505  if (n_points)
506  {
507  _assembly[tid]->reinitAtPhysical(elem, points);
508 
509  _displaced_nl.prepare(tid);
510  _displaced_aux.prepare(tid);
511 
512  reinitElem(elem, tid);
513  }
514 
515  _assembly[tid]->prepare();
516 
517  return n_points > 0;
518 }
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
MultiPointMap & getPoints()
Returns a writeable reference to the _points container.
virtual void prepare(THREAD_ID tid)
Prepare the system for use.
Definition: SystemBase.C:242
DiracKernelInfo _dirac_kernel_info
Definition: SubProblem.h:594
virtual void reinitElem(const Elem *elem, THREAD_ID tid) override

◆ reinitElem()

void DisplacedProblem::reinitElem ( const Elem *  elem,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 521 of file DisplacedProblem.C.

Referenced by reinitDirac(), and reinitElemPhys().

522 {
523  _displaced_nl.reinitElem(elem, tid);
524  _displaced_aux.reinitElem(elem, tid);
525 }
virtual void reinitElem(const Elem *elem, THREAD_ID tid)
Reinit an element assembly info.
Definition: SystemBase.C:306
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl

◆ reinitElemFace()

void DisplacedProblem::reinitElemFace ( const Elem *  elem,
unsigned int  side,
BoundaryID  bnd_id,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 543 of file DisplacedProblem.C.

547 {
548  _assembly[tid]->reinit(elem, side);
549  _displaced_nl.reinitElemFace(elem, side, bnd_id, tid);
550  _displaced_aux.reinitElemFace(elem, side, bnd_id, tid);
551 }
virtual void reinitElemFace(const Elem *elem, unsigned int side, BoundaryID bnd_id, THREAD_ID tid)
Reinit assembly info for a side of an element.
Definition: SystemBase.C:326
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl

◆ reinitElemPhys()

void DisplacedProblem::reinitElemPhys ( const Elem *  elem,
const std::vector< Point > &  phys_points_in_elem,
THREAD_ID  tid,
bool  = false 
)
overridevirtual

Implements SubProblem.

Definition at line 528 of file DisplacedProblem.C.

532 {
533  _assembly[tid]->reinitAtPhysical(elem, phys_points_in_elem);
534 
535  _displaced_nl.prepare(tid);
536  _displaced_aux.prepare(tid);
537  _assembly[tid]->prepare();
538 
539  reinitElem(elem, tid);
540 }
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual void prepare(THREAD_ID tid)
Prepare the system for use.
Definition: SystemBase.C:242
virtual void reinitElem(const Elem *elem, THREAD_ID tid) override

◆ reinitNeighbor()

void DisplacedProblem::reinitNeighbor ( const Elem *  elem,
unsigned int  side,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 584 of file DisplacedProblem.C.

585 {
586  const Elem * neighbor = elem->neighbor_ptr(side);
587  unsigned int neighbor_side = neighbor->which_neighbor_am_i(elem);
588 
589  _assembly[tid]->reinitElemAndNeighbor(elem, side, neighbor, neighbor_side);
590 
593 
594  _assembly[tid]->prepareNeighbor();
595 
596  BoundaryID bnd_id = 0; // some dummy number (it is not really used for anything, right now)
597  _displaced_nl.reinitElemFace(elem, side, bnd_id, tid);
598  _displaced_aux.reinitElemFace(elem, side, bnd_id, tid);
599 
600  _displaced_nl.reinitNeighborFace(neighbor, neighbor_side, bnd_id, tid);
601  _displaced_aux.reinitNeighborFace(neighbor, neighbor_side, bnd_id, tid);
602 }
virtual void reinitNeighborFace(const Elem *elem, unsigned int side, BoundaryID bnd_id, THREAD_ID tid)
Compute the values of the variables at all the current points.
Definition: SystemBase.C:337
virtual void reinitElemFace(const Elem *elem, unsigned int side, BoundaryID bnd_id, THREAD_ID tid)
Reinit assembly info for a side of an element.
Definition: SystemBase.C:326
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual void prepareNeighbor(THREAD_ID tid)
Prepare the system for use.
Definition: SystemBase.C:298
boundary_id_type BoundaryID
Definition: MooseTypes.h:158

◆ reinitNeighborPhys() [1/2]

void DisplacedProblem::reinitNeighborPhys ( const Elem *  neighbor,
unsigned int  neighbor_side,
const std::vector< Point > &  physical_points,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 605 of file DisplacedProblem.C.

609 {
610  // Reinit shape functions
611  _assembly[tid]->reinitNeighborAtPhysical(neighbor, neighbor_side, physical_points);
612 
613  // Set the neighbor dof indices
616 
618 
619  // Compute values at the points
620  _displaced_nl.reinitNeighborFace(neighbor, neighbor_side, 0, tid);
621  _displaced_aux.reinitNeighborFace(neighbor, neighbor_side, 0, tid);
622 }
virtual void reinitNeighborFace(const Elem *elem, unsigned int side, BoundaryID bnd_id, THREAD_ID tid)
Compute the values of the variables at all the current points.
Definition: SystemBase.C:337
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual void prepareAssemblyNeighbor(THREAD_ID tid)
virtual void prepareNeighbor(THREAD_ID tid)
Prepare the system for use.
Definition: SystemBase.C:298

◆ reinitNeighborPhys() [2/2]

void DisplacedProblem::reinitNeighborPhys ( const Elem *  neighbor,
const std::vector< Point > &  physical_points,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 625 of file DisplacedProblem.C.

628 {
629  // Reinit shape functions
630  _assembly[tid]->reinitNeighborAtPhysical(neighbor, physical_points);
631 
632  // Set the neighbor dof indices
635 
637 
638  // Compute values at the points
639  _displaced_nl.reinitNeighbor(neighbor, tid);
640  _displaced_aux.reinitNeighbor(neighbor, tid);
641 }
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual void prepareAssemblyNeighbor(THREAD_ID tid)
virtual void prepareNeighbor(THREAD_ID tid)
Prepare the system for use.
Definition: SystemBase.C:298
virtual void reinitNeighbor(const Elem *elem, THREAD_ID tid)
Compute the values of the variables at all the current points.
Definition: SystemBase.C:348

◆ reinitNode()

void DisplacedProblem::reinitNode ( const Node *  node,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 554 of file DisplacedProblem.C.

555 {
556  _assembly[tid]->reinit(node);
557  _displaced_nl.reinitNode(node, tid);
558  _displaced_aux.reinitNode(node, tid);
559 }
virtual void reinitNode(const Node *node, THREAD_ID tid)
Reinit nodal assembly info.
Definition: SystemBase.C:356
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl

◆ reinitNodeFace()

void DisplacedProblem::reinitNodeFace ( const Node *  node,
BoundaryID  bnd_id,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 562 of file DisplacedProblem.C.

563 {
564  _assembly[tid]->reinit(node);
565  _displaced_nl.reinitNodeFace(node, bnd_id, tid);
566  _displaced_aux.reinitNodeFace(node, bnd_id, tid);
567 }
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual void reinitNodeFace(const Node *node, BoundaryID bnd_id, THREAD_ID tid)
Reinit nodal assembly info on a face.
Definition: SystemBase.C:370

◆ reinitNodes()

void DisplacedProblem::reinitNodes ( const std::vector< dof_id_type > &  nodes,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 570 of file DisplacedProblem.C.

571 {
572  _displaced_nl.reinitNodes(nodes, tid);
573  _displaced_aux.reinitNodes(nodes, tid);
574 }
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual void reinitNodes(const std::vector< dof_id_type > &nodes, THREAD_ID tid)
Reinit variables at a set of nodes.
Definition: SystemBase.C:384

◆ reinitNodesNeighbor()

void DisplacedProblem::reinitNodesNeighbor ( const std::vector< dof_id_type > &  nodes,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 577 of file DisplacedProblem.C.

578 {
581 }
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual void reinitNodesNeighbor(const std::vector< dof_id_type > &nodes, THREAD_ID tid)
Reinit variables at a set of neighbor nodes.
Definition: SystemBase.C:395

◆ reinitOffDiagScalars()

void DisplacedProblem::reinitOffDiagScalars ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 651 of file DisplacedProblem.C.

652 {
653  _assembly[tid]->prepareOffDiagScalar();
654 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ reinitScalars()

void DisplacedProblem::reinitScalars ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 644 of file DisplacedProblem.C.

645 {
648 }
virtual void reinitScalars(THREAD_ID tid)
Reinit scalar varaibles.
Definition: SystemBase.C:406
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl

◆ restoreOldSolutions()

void DisplacedProblem::restoreOldSolutions ( )
virtual

Restore old solutions from the backup vectors and deallocate them.

Definition at line 145 of file DisplacedProblem.C.

146 {
149 }
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual void restoreOldSolutions()
Restore the old and older solutions when the saved solutions present.
Definition: SystemBase.C:497

◆ safeAccessTaggedMatrices()

bool SubProblem::safeAccessTaggedMatrices ( )
inlineinherited

Is it safe to access the tagged matrices.

Definition at line 524 of file SubProblem.h.

Referenced by MooseVariableScalar::reinit().

bool _safe_access_tagged_matrices
Is it safe to retrieve data from tagged matrices.
Definition: SubProblem.h:656

◆ safeAccessTaggedVectors()

bool SubProblem::safeAccessTaggedVectors ( )
inlineinherited

Is it safe to access the tagged vectors.

Definition at line 527 of file SubProblem.h.

Referenced by MooseVariableScalar::reinit().

527 { return _safe_access_tagged_vectors; }
bool _safe_access_tagged_vectors
Is it safe to retrieve data from tagged vectors.
Definition: SubProblem.h:659

◆ saveOldSolutions()

void DisplacedProblem::saveOldSolutions ( )
virtual

Allocate vectors and save old solutions into them.

Definition at line 138 of file DisplacedProblem.C.

139 {
142 }
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual void saveOldSolutions()
Save the old and older solutions.
Definition: SystemBase.C:472

◆ setActiveElementalMooseVariables()

void SubProblem::setActiveElementalMooseVariables ( const std::set< MooseVariableFEBase *> &  moose_vars,
THREAD_ID  tid 
)
virtualinherited

Set the MOOSE variables to be reinited on each element.

Parameters
moose_varsA set of variables that need to be reinited each time reinit() is called.
tidThe thread id

Reimplemented in FEProblemBase.

Definition at line 235 of file SubProblem.C.

Referenced by FEProblemBase::setActiveElementalMooseVariables().

237 {
238  if (!moose_vars.empty())
239  {
241  _active_elemental_moose_variables[tid] = moose_vars;
242  }
243 }
std::vector< unsigned int > _has_active_elemental_moose_variables
Whether or not there is currently a list of active elemental moose variables.
Definition: SubProblem.h:624
std::vector< std::set< MooseVariableFEBase * > > _active_elemental_moose_variables
This is the set of MooseVariableFEBases that will actually get reinited by a call to reinit(elem) ...
Definition: SubProblem.h:620

◆ setActiveFEVariableCoupleableMatrixTags()

void SubProblem::setActiveFEVariableCoupleableMatrixTags ( std::set< TagID > &  mtags,
THREAD_ID  tid 
)
virtualinherited

Reimplemented in FEProblemBase.

Definition at line 163 of file SubProblem.C.

Referenced by FEProblemBase::setActiveFEVariableCoupleableMatrixTags().

164 {
166 }
std::vector< std::set< TagID > > _active_fe_var_coupleable_matrix_tags
Definition: SubProblem.h:629

◆ setActiveFEVariableCoupleableVectorTags()

void SubProblem::setActiveFEVariableCoupleableVectorTags ( std::set< TagID > &  vtags,
THREAD_ID  tid 
)
virtualinherited

Reimplemented in FEProblemBase.

Definition at line 169 of file SubProblem.C.

Referenced by FEProblemBase::setActiveFEVariableCoupleableVectorTags().

170 {
172 }
std::vector< std::set< TagID > > _active_fe_var_coupleable_vector_tags
Definition: SubProblem.h:631

◆ setActiveMaterialProperties()

void SubProblem::setActiveMaterialProperties ( const std::set< unsigned int > &  mat_prop_ids,
THREAD_ID  tid 
)
virtualinherited

Record and set the material properties required by the current computing thread.

Parameters
mat_prop_idsThe set of material properties required by the current computing thread.
tidThe thread id

Reimplemented in FEProblemBase.

Definition at line 265 of file SubProblem.C.

Referenced by FEProblemBase::setActiveMaterialProperties().

266 {
267  if (!mat_prop_ids.empty())
268  _active_material_property_ids[tid] = mat_prop_ids;
269 }
std::vector< std::set< unsigned int > > _active_material_property_ids
Set of material property ids that determine whether materials get reinited.
Definition: SubProblem.h:627

◆ setActiveScalarVariableCoupleableMatrixTags()

void SubProblem::setActiveScalarVariableCoupleableMatrixTags ( std::set< TagID > &  mtags,
THREAD_ID  tid 
)
virtualinherited

Reimplemented in FEProblemBase.

Definition at line 199 of file SubProblem.C.

Referenced by FEProblemBase::setActiveScalarVariableCoupleableMatrixTags().

200 {
202 }
std::vector< std::set< TagID > > _active_sc_var_coupleable_matrix_tags
Definition: SubProblem.h:633

◆ setActiveScalarVariableCoupleableVectorTags()

void SubProblem::setActiveScalarVariableCoupleableVectorTags ( std::set< TagID > &  vtags,
THREAD_ID  tid 
)
virtualinherited

Reimplemented in FEProblemBase.

Definition at line 205 of file SubProblem.C.

Referenced by FEProblemBase::setActiveScalarVariableCoupleableVectorTags().

206 {
208 }
std::vector< std::set< TagID > > _active_sc_var_coupleable_vector_tags
Definition: SubProblem.h:635

◆ setCurrentlyComputingJacobian()

virtual void SubProblem::setCurrentlyComputingJacobian ( const bool &  flag)
inlinevirtualinherited

Definition at line 515 of file SubProblem.h.

516  {
518  }
bool _currently_computing_jacobian
Flag to determine whether the problem is currently computing Jacobian.
Definition: SubProblem.h:650

◆ setCurrentSubdomainID()

void DisplacedProblem::setCurrentSubdomainID ( const Elem *  elem,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 463 of file DisplacedProblem.C.

464 {
465  SubdomainID did = elem->subdomain_id();
466  _assembly[tid]->setCurrentSubdomainID(did);
467 }
subdomain_id_type SubdomainID
Definition: MooseTypes.h:160
std::vector< std::unique_ptr< Assembly > > _assembly

◆ setNeighborSubdomainID()

void DisplacedProblem::setNeighborSubdomainID ( const Elem *  elem,
unsigned int  side,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 470 of file DisplacedProblem.C.

471 {
472  SubdomainID did = elem->neighbor_ptr(side)->subdomain_id();
473  _assembly[tid]->setCurrentNeighborSubdomainID(did);
474 }
subdomain_id_type SubdomainID
Definition: MooseTypes.h:160
std::vector< std::unique_ptr< Assembly > > _assembly

◆ setResidual()

void DisplacedProblem::setResidual ( NumericVector< Number > &  residual,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 706 of file DisplacedProblem.C.

707 {
708  _assembly[tid]->setResidual(residual);
709 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ setResidualNeighbor()

void DisplacedProblem::setResidualNeighbor ( NumericVector< Number > &  residual,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 712 of file DisplacedProblem.C.

713 {
714  _assembly[tid]->setResidualNeighbor(residual);
715 }
std::vector< std::unique_ptr< Assembly > > _assembly

◆ solve()

void DisplacedProblem::solve ( )
overridevirtual

Implements SubProblem.

Definition at line 860 of file DisplacedProblem.C.

861 {
862 }

◆ storeBoundaryDelayedCheckMatProp()

void SubProblem::storeBoundaryDelayedCheckMatProp ( const std::string &  requestor,
BoundaryID  boundary_id,
const std::string &  name 
)
virtualinherited

Adds to a map based on boundary ids of material properties to validate.

Parameters
requestorThe MOOSE object name requesting the material property
boundary_idThe block id for the MaterialProperty
nameThe name of the property

Definition at line 437 of file SubProblem.C.

Referenced by MaterialPropertyInterface::checkMaterialProperty().

440 {
441  _map_boundary_material_props_check[boundary_id].insert(std::make_pair(requestor, name));
442 }
std::map< BoundaryID, std::multimap< std::string, std::string > > _map_boundary_material_props_check
Definition: SubProblem.h:616
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:56

◆ storeBoundaryMatPropName()

void SubProblem::storeBoundaryMatPropName ( BoundaryID  boundary_id,
const std::string &  name 
)
virtualinherited

Adds the given material property to a storage map based on boundary ids.

This is method is called from within the Material class when the property is first registered.

Parameters
boundary_idThe block id for the MaterialProperty
nameThe name of the property

Definition at line 411 of file SubProblem.C.

Referenced by Material::registerPropName().

412 {
413  _map_boundary_material_props[boundary_id].insert(name);
414 }
std::map< BoundaryID, std::set< std::string > > _map_boundary_material_props
Map for boundary material properties (boundary_id -> list of properties)
Definition: SubProblem.h:600
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:56

◆ storeBoundaryZeroMatProp()

void SubProblem::storeBoundaryZeroMatProp ( BoundaryID  boundary_id,
const MaterialPropertyName &  name 
)
virtualinherited

Adds to a map based on boundary ids of material properties for which a zero value can be returned.

Thes properties are optional and will not trigger a missing material property error.

Parameters
boundary_idThe block id for the MaterialProperty
nameThe name of the property

Definition at line 423 of file SubProblem.C.

Referenced by Material::getZeroMaterialProperty().

424 {
425  _zero_boundary_material_props[boundary_id].insert(name);
426 }
std::map< BoundaryID, std::set< MaterialPropertyName > > _zero_boundary_material_props
Definition: SubProblem.h:604
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:56

◆ storeSubdomainDelayedCheckMatProp()

void SubProblem::storeSubdomainDelayedCheckMatProp ( const std::string &  requestor,
SubdomainID  block_id,
const std::string &  name 
)
virtualinherited

Adds to a map based on block ids of material properties to validate.

Parameters
block_idThe block id for the MaterialProperty
nameThe name of the property

Definition at line 429 of file SubProblem.C.

Referenced by MaterialPropertyInterface::checkMaterialProperty().

432 {
433  _map_block_material_props_check[block_id].insert(std::make_pair(requestor, name));
434 }
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:56
std::map< SubdomainID, std::multimap< std::string, std::string > > _map_block_material_props_check
Data structures of the requested material properties.
Definition: SubProblem.h:615

◆ storeSubdomainMatPropName()

void SubProblem::storeSubdomainMatPropName ( SubdomainID  block_id,
const std::string &  name 
)
virtualinherited

Adds the given material property to a storage map based on block ids.

This is method is called from within the Material class when the property is first registered.

Parameters
block_idThe block id for the MaterialProperty
nameThe name of the property

Definition at line 405 of file SubProblem.C.

Referenced by Material::registerPropName().

406 {
407  _map_block_material_props[block_id].insert(name);
408 }
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:56
std::map< SubdomainID, std::set< std::string > > _map_block_material_props
Map of material properties (block_id -> list of properties)
Definition: SubProblem.h:597

◆ storeSubdomainZeroMatProp()

void SubProblem::storeSubdomainZeroMatProp ( SubdomainID  block_id,
const MaterialPropertyName &  name 
)
virtualinherited

Adds to a map based on block ids of material properties for which a zero value can be returned.

Thes properties are optional and will not trigger a missing material property error.

Parameters
block_idThe block id for the MaterialProperty
nameThe name of the property

Definition at line 417 of file SubProblem.C.

Referenced by Material::getZeroMaterialProperty().

418 {
419  _zero_block_material_props[block_id].insert(name);
420 }
std::map< SubdomainID, std::set< MaterialPropertyName > > _zero_block_material_props
Set of properties returned as zero properties.
Definition: SubProblem.h:603
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:56

◆ syncSolutions() [1/2]

void DisplacedProblem::syncSolutions ( )
virtual

Copy the solutions on the undisplaced systems to the displaced systems.

Definition at line 152 of file DisplacedProblem.C.

Referenced by updateMesh().

153 {
154  TIME_SECTION(_sync_solutions_timer);
155 
160 }
virtual const NumericVector< Number > *& currentSolution() override
The solution vector that is currently being operated on.
NonlinearSystemBase & getNonlinearSystemBase()
virtual TransientExplicitSystem & sys()
FEProblemBase & _mproblem
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual const NumericVector< Number > *& currentSolution() override
The solution vector that is currently being operated on.
virtual void update()
Update the system (doing libMesh magic)
Definition: SystemBase.C:981
AuxiliarySystem & getAuxiliarySystem()

◆ syncSolutions() [2/2]

void DisplacedProblem::syncSolutions ( const NumericVector< Number > &  soln,
const NumericVector< Number > &  aux_soln 
)
virtual

Synchronize the solutions on the displaced systems to the given solutions.

Definition at line 163 of file DisplacedProblem.C.

165 {
166  TIME_SECTION(_sync_solutions_timer);
167 
168  (*_displaced_nl.sys().solution) = soln;
169  (*_displaced_aux.sys().solution) = aux_soln;
172 }
virtual TransientExplicitSystem & sys()
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual void update()
Update the system (doing libMesh magic)
Definition: SystemBase.C:981

◆ terminateSolve()

virtual void Problem::terminateSolve ( )
inlinevirtualinherited

Allow objects to request clean termination of the solve.

Definition at line 41 of file Problem.h.

Referenced by Terminator::execute().

41 { _termination_requested = true; };
bool _termination_requested
True if termination of the solve has been requested.
Definition: Problem.h:57

◆ type()

const std::string& MooseObject::type ( ) const
inlineinherited

Get the type of this object.

Returns
the name of the type of this object

Definition at line 50 of file MooseObject.h.

Referenced by DumpObjectsProblem::addAuxKernel(), DumpObjectsProblem::addAuxScalarKernel(), FEProblemBase::addAuxScalarVariable(), DumpObjectsProblem::addAuxVariable(), addAuxVariable(), FEProblemBase::addAuxVariable(), DumpObjectsProblem::addBoundaryCondition(), DumpObjectsProblem::addConstraint(), DumpObjectsProblem::addDGKernel(), DumpObjectsProblem::addDiracKernel(), FEProblemBase::addDistribution(), DumpObjectsProblem::addFunction(), FEProblemBase::addFunction(), DumpObjectsProblem::addInitialCondition(), DumpObjectsProblem::addInterfaceKernel(), DumpObjectsProblem::addKernel(), DumpObjectsProblem::addMaterial(), DumpObjectsProblem::addNodalKernel(), FEProblemBase::addPredictor(), FEProblemBase::addSampler(), DumpObjectsProblem::addScalarKernel(), FEProblemBase::addScalarVariable(), PhysicsBasedPreconditioner::addSystem(), FEProblemBase::addTimeIntegrator(), DumpObjectsProblem::addVariable(), addVariable(), FEProblemBase::addVariable(), FEProblemBase::advanceMultiApps(), FEProblemBase::backupMultiApps(), MooseMesh::buildRefinementAndCoarseningMaps(), FEProblemBase::computeAuxiliaryKernels(), DGKernel::computeElemNeighJacobian(), ElemElemConstraint::computeElemNeighJacobian(), InterfaceKernel::computeElemNeighJacobian(), DGKernel::computeElemNeighResidual(), ElemElemConstraint::computeElemNeighResidual(), InterfaceKernel::computeElemNeighResidual(), FEProblemBase::computeMultiAppsDT(), DGKernel::computeOffDiagElemNeighJacobian(), InterfaceKernel::computeOffDiagElemNeighJacobian(), DGConvection::computeQpJacobian(), CoupledTiedValueConstraint::computeQpJacobian(), TiedValueConstraint::computeQpJacobian(), DGDiffusion::computeQpJacobian(), LinearNodalConstraint::computeQpJacobian(), EqualValueBoundaryConstraint::computeQpJacobian(), EqualValueEmbeddedConstraint::computeQpJacobian(), CoupledTiedValueConstraint::computeQpOffDiagJacobian(), EqualValueEmbeddedConstraint::computeQpOffDiagJacobian(), DGConvection::computeQpResidual(), CoupledTiedValueConstraint::computeQpResidual(), TiedValueConstraint::computeQpResidual(), LinearNodalConstraint::computeQpResidual(), DGDiffusion::computeQpResidual(), EqualValueBoundaryConstraint::computeQpResidual(), EqualValueEmbeddedConstraint::computeQpResidual(), FEProblemBase::computeUserObjects(), createQRules(), FEProblemBase::createQRules(), DumpObjectsProblem::deduceNecessaryParameters(), DumpObjectsProblem::dumpObjectHelper(), FEProblemBase::duplicateVariableCheck(), FEProblemBase::execMultiApps(), FEProblemBase::execMultiAppTransfers(), FEProblemBase::execTransfers(), FEProblemBase::finishMultiAppStep(), ElementSubdomainIDGenerator::generate(), ElementGenerator::getElemType(), FEProblemBase::getMaterial(), FEProblemBase::getMaterialData(), FEProblemBase::getTransfers(), FEProblemBase::hasMultiApps(), AdvancedOutput::hasOutput(), FEProblemBase::incrementMultiAppTStep(), AdvancedOutput::initAvailableLists(), SolutionUserObject::initialSetup(), AdvancedOutput::initShowHideLists(), RelationshipManager::isType(), AssignElementSubdomainID::modify(), ControlOutput::output(), Gnuplot::output(), CSV::output(), Exodus::output(), Console::output(), Nemesis::output(), AdvancedOutput::output(), OversampleOutput::outputStep(), Output::outputStep(), FEProblemBase::outputStep(), FEProblemBase::restoreMultiApps(), FEProblemBase::setCoupling(), PerfGraphOutput::shouldOutput(), FileOutput::shouldOutput(), Output::shouldOutput(), AdvancedOutput::shouldOutput(), updateGeomSearch(), FEProblemBase::updateGeomSearch(), and AdvancedOutput::wantOutput().

50 { return _type; }
const std::string & _type
The type of this object (the Class name)
Definition: MooseObject.h:177

◆ undisplaceMesh()

void DisplacedProblem::undisplaceMesh ( )

Resets the displaced mesh to the reference mesh.

Required when refining the DisplacedMesh.

Definition at line 887 of file DisplacedProblem.C.

888 {
889  // If undisplaceMesh() is called during initial adaptivity, it is
890  // not valid to call _mesh.getActiveSemiLocalNodeRange() since it is
891  // not set up yet. So we are creating the Range by hand.
892  //
893  // We must undisplace *all* our nodes to the _ref_mesh
894  // configuration, not just the local ones, since the partitioners
895  // require this. We are using the GRAIN_SIZE=1 from MooseMesh.C,
896  // not sure how this value was decided upon.
897  //
898  // (DRG: The grainsize parameter is ultimately passed to TBB to help
899  // it choose how to split up the range. A grainsize of 1 says "split
900  // it as much as you want". Years ago I experimentally found that it
901  // didn't matter much and that using 1 was fine.)
902  //
903  // Note: we don't have to invalidate/update as much stuff as
904  // DisplacedProblem::updateMesh() does, since this will be handled
905  // by a later call to updateMesh().
906  NodeRange node_range(_mesh.getMesh().nodes_begin(),
907  _mesh.getMesh().nodes_end(),
908  /*grainsize=*/1);
909 
910  ResetDisplacedMeshThread rdmt(_mproblem, *this);
911 
912  // Undisplace the mesh using threads.
913  Threads::parallel_reduce(node_range, rdmt);
914 }
FEProblemBase & _mproblem
MeshBase & getMesh()
Accessor for the underlying libMesh Mesh object.
Definition: MooseMesh.C:2569

◆ updateGeomSearch()

void DisplacedProblem::updateGeomSearch ( GeometricSearchData::GeometricSearchType  type = GeometricSearchData::ALL)
overridevirtual

Implements SubProblem.

Definition at line 815 of file DisplacedProblem.C.

816 {
817  TIME_SECTION(_update_geometric_search_timer);
818 
820 }
GeometricSearchData _geometric_search_data
PerfID _update_geometric_search_timer
const std::string & type() const
Get the type of this object.
Definition: MooseObject.h:50
void update(GeometricSearchType type=ALL)
Update all of the search objects.

◆ updateMesh() [1/2]

void DisplacedProblem::updateMesh ( )
virtual

Copy the solutions on the undisplaced systems to the displaced systems and reinitialize the geometry search data and Dirac kernel information due to mesh displacement.

Definition at line 175 of file DisplacedProblem.C.

176 {
177  TIME_SECTION(_update_mesh_timer);
178 
179  syncSolutions();
180 
183 
184  // If the displaced mesh has been serialized to one processor (as
185  // may have occurred if it was used for Exodus output), then we need
186  // the reference mesh to be also. For that matter, did anyone
187  // somehow serialize the whole mesh? Hopefully not but let's avoid
188  // causing errors if so.
189  if (_mesh.getMesh().is_serial() && !this->refMesh().getMesh().is_serial())
190  this->refMesh().getMesh().allgather();
191 
192  if (_mesh.getMesh().is_serial_on_zero() && !this->refMesh().getMesh().is_serial_on_zero())
193  this->refMesh().getMesh().gather_to_zero();
194 
196 
197  // We displace all nodes, not just semilocal nodes, because
198  // parallel-inconsistent mesh geometry makes libMesh cry.
199  NodeRange node_range(_mesh.getMesh().nodes_begin(),
200  _mesh.getMesh().nodes_end(),
201  /*grainsize=*/1);
202 
203  Threads::parallel_reduce(node_range, udmt);
204 
205  // Update the geometric searches that depend on the displaced mesh
207 
208  // Since the Mesh changed, update the PointLocator object used by DiracKernels.
210 }
virtual const NumericVector< Number > *& currentSolution() override
The solution vector that is currently being operated on.
GeometricSearchData _geometric_search_data
NonlinearSystemBase & getNonlinearSystemBase()
FEProblemBase & _mproblem
virtual const NumericVector< Number > *& currentSolution() override
The solution vector that is currently being operated on.
virtual void syncSolutions()
Copy the solutions on the undisplaced systems to the displaced systems.
MeshBase & getMesh()
Accessor for the underlying libMesh Mesh object.
Definition: MooseMesh.C:2569
const NumericVector< Number > * _aux_solution
AuxiliarySystem & getAuxiliarySystem()
void update(GeometricSearchType type=ALL)
Update all of the search objects.
const NumericVector< Number > * _nl_solution
MooseMesh & refMesh()
DiracKernelInfo _dirac_kernel_info
Definition: SubProblem.h:594
void updatePointLocator(const MooseMesh &mesh)
Called during FEProblemBase::meshChanged() to update the PointLocator object used by the DiracKernels...

◆ updateMesh() [2/2]

void DisplacedProblem::updateMesh ( const NumericVector< Number > &  soln,
const NumericVector< Number > &  aux_soln 
)
virtual

Synchronize the solutions on the displaced systems to the given solutions and reinitialize the geometry search data and Dirac kernel information due to mesh displacement.

Definition at line 213 of file DisplacedProblem.C.

215 {
216  TIME_SECTION(_update_mesh_timer);
217 
218  syncSolutions(soln, aux_soln);
219 
220  _nl_solution = &soln;
221  _aux_solution = &aux_soln;
222 
224 
225  // We displace all nodes, not just semilocal nodes, because
226  // parallel-inconsistent mesh geometry makes libMesh cry.
227  NodeRange node_range(_mesh.getMesh().nodes_begin(),
228  _mesh.getMesh().nodes_end(),
229  /*grainsize=*/1);
230 
231  Threads::parallel_reduce(node_range, udmt);
232 
233  // Update the geometric searches that depend on the displaced mesh
235 
236  // Since the Mesh changed, update the PointLocator object used by DiracKernels.
238 }
GeometricSearchData _geometric_search_data
FEProblemBase & _mproblem
virtual void syncSolutions()
Copy the solutions on the undisplaced systems to the displaced systems.
MeshBase & getMesh()
Accessor for the underlying libMesh Mesh object.
Definition: MooseMesh.C:2569
const NumericVector< Number > * _aux_solution
void update(GeometricSearchType type=ALL)
Update all of the search objects.
const NumericVector< Number > * _nl_solution
DiracKernelInfo _dirac_kernel_info
Definition: SubProblem.h:594
void updatePointLocator(const MooseMesh &mesh)
Called during FEProblemBase::meshChanged() to update the PointLocator object used by the DiracKernels...

◆ vectorTagExists() [1/2]

bool DisplacedProblem::vectorTagExists ( TagID  tag)
overridevirtual

Check to see if a particular Tag exists.

Reimplemented from SubProblem.

Definition at line 259 of file DisplacedProblem.C.

260 {
261  return _mproblem.vectorTagExists(tag);
262 }
FEProblemBase & _mproblem
virtual bool vectorTagExists(TagID tag)
Check to see if a particular Tag exists.
Definition: SubProblem.h:112

◆ vectorTagExists() [2/2]

bool SubProblem::vectorTagExists ( const TagName &  tag_name)
inherited

Check to see if a particular Tag exists by using Tag name.

Definition at line 82 of file SubProblem.C.

83 {
84  auto tag_name_upper = MooseUtils::toUpper(tag_name);
85 
86  return _vector_tag_name_to_tag_id.find(tag_name_upper) != _vector_tag_name_to_tag_id.end();
87 }
std::map< TagName, TagID > _vector_tag_name_to_tag_id
The currently declared tags.
Definition: SubProblem.h:575
std::string toUpper(const std::string &name)
Convert supplied string to upper case.
Definition: MooseUtils.C:699

◆ vectorTagName()

TagName DisplacedProblem::vectorTagName ( TagID  tag)
overridevirtual

Retrieve the name associated with a TagID.

Reimplemented from SubProblem.

Definition at line 253 of file DisplacedProblem.C.

254 {
255  return _mproblem.vectorTagName(tag);
256 }
virtual TagName vectorTagName(TagID tag)
Retrieve the name associated with a TagID.
Definition: SubProblem.C:105
FEProblemBase & _mproblem

Friends And Related Function Documentation

◆ Restartable

friend class Restartable
friend

Definition at line 303 of file DisplacedProblem.h.

◆ UpdateDisplacedMeshThread

friend class UpdateDisplacedMeshThread
friend

Definition at line 302 of file DisplacedProblem.h.

Member Data Documentation

◆ _active_elemental_moose_variables

std::vector<std::set<MooseVariableFEBase *> > SubProblem::_active_elemental_moose_variables
protectedinherited

This is the set of MooseVariableFEBases that will actually get reinited by a call to reinit(elem)

Definition at line 620 of file SubProblem.h.

Referenced by SubProblem::clearActiveElementalMooseVariables(), FEProblemBase::FEProblemBase(), SubProblem::getActiveElementalMooseVariables(), SubProblem::setActiveElementalMooseVariables(), and SubProblem::SubProblem().

◆ _active_fe_var_coupleable_matrix_tags

std::vector<std::set<TagID> > SubProblem::_active_fe_var_coupleable_matrix_tags
protectedinherited

◆ _active_fe_var_coupleable_vector_tags

std::vector<std::set<TagID> > SubProblem::_active_fe_var_coupleable_vector_tags
protectedinherited

◆ _active_material_property_ids

std::vector<std::set<unsigned int> > SubProblem::_active_material_property_ids
protectedinherited

◆ _active_sc_var_coupleable_matrix_tags

std::vector<std::set<TagID> > SubProblem::_active_sc_var_coupleable_matrix_tags
protectedinherited

◆ _active_sc_var_coupleable_vector_tags

std::vector<std::set<TagID> > SubProblem::_active_sc_var_coupleable_vector_tags
protectedinherited

◆ _app

MooseApp& MooseObject::_app
protectedinherited

The MooseApp this object is associated with.

Definition at line 174 of file MooseObject.h.

Referenced by GridPartitioner::_do_partition(), AB2PredictorCorrector::AB2PredictorCorrector(), Executioner::addAttributeReporter(), FEProblemBase::addMaterialHelper(), FEProblemBase::addMultiApp(), FEProblemBase::addOutput(), FEProblemBase::allowOutput(), AStableDirk4::AStableDirk4(), FileMesh::buildMesh(), MeshGeneratorMesh::buildMesh(), MooseMesh::buildMeshBaseObject(), FEProblemBase::checkNonlinearConvergence(), OversampleOutput::cloneMesh(), FEProblemBase::computeJacobianTags(), FEProblemBase::computeResidualTags(), Console::Console(), TimeStepper::constrainStep(), MultiApp::createApp(), DumpObjectsProblem::dumpObjectHelper(), DumpObjectsProblem::dumpVariableHelper(), EigenExecutionerBase::EigenExecutionerBase(), EigenKernel::EigenKernel(), NonlinearEigen::execute(), InversePowerMethod::execute(), Transient::execute(), Steady::execute(), FileOutput::FileOutput(), FEProblemBase::forceOutput(), MeshGenerator::getMesh(), MeshGenerator::getMeshByName(), MooseObject::getMooseApp(), GhostingUserObject::GhostingUserObject(), InversePowerMethod::init(), NonlinearEigen::init(), Transient::init(), Steady::init(), MooseMesh::init(), NumPicardIterations::initialize(), TimePeriod::initialSetup(), Console::initialSetup(), MultiApp::initialSetup(), FEProblemBase::initialSetup(), AdvancedOutput::initOutputList(), FEProblemBase::initPetscOutput(), AdvancedOutput::initPostprocessorOrVectorPostprocessorLists(), ElementSideNeighborLayers::internalInit(), InversePowerMethod::InversePowerMethod(), MooseObject::mooseError(), NonlinearEigen::NonlinearEigen(), EigenExecutionerBase::normalizeSolution(), PerfGraphOutput::output(), Tecplot::output(), Exodus::output(), Nemesis::output(), ControlOutput::outputActiveObjects(), ControlOutput::outputChangedControls(), ControlOutput::outputControls(), Exodus::outputEmptyTimestep(), Console::outputInput(), Exodus::outputInput(), Exodus::outputNodalVariables(), OversampleOutput::outputStep(), Output::outputStep(), FEProblemBase::outputStep(), Console::outputSystemInformation(), MultiApp::parentOutputPositionChanged(), PerformanceData::PerformanceData(), PetscOutput::petscLinearOutput(), PetscOutput::petscNonlinearOutput(), Transient::preExecute(), FEProblemBase::projectSolution(), FEProblemBase::setRestartFile(), TransientMultiApp::setupApp(), TimeSequenceStepperBase::setupSequence(), Transient::setupTimeIntegrator(), TransientMultiApp::solveStep(), FEProblemBase::subdomainSetup(), FEProblemBase::theWarehouse(), TimeExtremeValue::TimeExtremeValue(), TimePeriod::TimePeriod(), FEProblemBase::timestepSetup(), Transient::Transient(), and Console::write().

◆ _assembly

std::vector<std::unique_ptr<Assembly> > DisplacedProblem::_assembly
protected

◆ _aux_solution

const NumericVector<Number>* DisplacedProblem::_aux_solution
protected

Definition at line 289 of file DisplacedProblem.h.

Referenced by updateMesh().

◆ _cli_option_found

bool Problem::_cli_option_found
protectedinherited

True if the CLI option is found.

Definition at line 47 of file Problem.h.

Referenced by Problem::_setCLIOption().

◆ _color_output

bool Problem::_color_output
protectedinherited

True if we're going to attempt to write color output.

Definition at line 54 of file Problem.h.

◆ _computing_nonlinear_residual

bool SubProblem::_computing_nonlinear_residual
protectedinherited

Whether residual being evaulated is non-linear.

Definition at line 653 of file SubProblem.h.

Referenced by SubProblem::computingNonlinearResid().

◆ _console

const ConsoleStream ConsoleStreamInterface::_console
inherited

An instance of helper class to write streams to the Console objects.

Definition at line 32 of file ConsoleStreamInterface.h.

Referenced by IterationAdaptiveDT::acceptStep(), SetupRecoverFileBaseAction::act(), Adaptivity::adaptMesh(), FEProblemBase::adaptMesh(), SimplePredictor::apply(), MultiApp::backup(), FEProblemBase::backupMultiApps(), FEProblemBase::checkProblemIntegrity(), IterationAdaptiveDT::computeAdaptiveDT(), Transient::computeConstrainedDT(), NonlinearSystemBase::computeDamping(), IterationAdaptiveDT::computeDT(), IterationAdaptiveDT::computeFailedDT(), IterationAdaptiveDT::computeInterpolationDT(), FEProblemBase::computeResidualTags(), IterationAdaptiveDT::constrainStep(), TimeStepper::constrainStep(), MultiApp::createApp(), FEProblemBase::execMultiApps(), FEProblemBase::execMultiAppTransfers(), MultiAppPostprocessorTransfer::execute(), MultiAppPostprocessorInterpolationTransfer::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppVariableValueSampleTransfer::execute(), MultiAppInterpolationTransfer::execute(), MultiAppMeshFunctionTransfer::execute(), MultiAppUserObjectTransfer::execute(), MultiAppNearestNodeTransfer::execute(), MultiAppProjectionTransfer::execute(), MultiAppVectorPostprocessorTransfer::execute(), MultiAppCopyTransfer::execute(), Steady::execute(), MultiAppDTKUserObjectTransfer::execute(), ActionWarehouse::executeActionsWithAction(), ActionWarehouse::executeAllActions(), FEProblemBase::FEProblemBase(), ElementQualityChecker::finalize(), FEProblemBase::finishMultiAppStep(), MultiApp::globalAppToLocal(), InversePowerMethod::init(), NonlinearEigen::init(), Steady::init(), FEProblemBase::initialAdaptMesh(), FEProblemBase::initialSetup(), EigenExecutionerBase::inversePowerIteration(), Transient::keepGoing(), IterationAdaptiveDT::limitDTByFunction(), IterationAdaptiveDT::limitDTToPostprocessorValue(), EigenExecutionerBase::makeBXConsistent(), Console::meshChanged(), MooseObject::mooseDeprecated(), MooseObject::mooseInfo(), MooseObject::mooseWarning(), PerfGraphOutput::output(), DOFMapOutput::output(), VariableResidualNormsDebugOutput::output(), Console::output(), ControlOutput::outputActiveObjects(), ControlOutput::outputChangedControls(), ControlOutput::outputControls(), Console::outputInput(), Console::outputPostprocessors(), Console::outputScalarVariables(), Console::outputSystemInformation(), FEProblemBase::possiblyRebuildGeomSearchPatches(), EigenExecutionerBase::postExecute(), AB2PredictorCorrector::postSolve(), ActionWarehouse::printActionDependencySets(), EigenExecutionerBase::printEigenvalue(), MaterialPropertyDebugOutput::printMaterialMap(), SolutionTimeAdaptiveDT::rejectStep(), DT2::rejectStep(), MultiApp::restore(), FEProblemBase::restoreMultiApps(), SimplePredictor::shouldApply(), NonlinearSystem::solve(), PicardSolve::solve(), LStableDirk2::solve(), LStableDirk3::solve(), ImplicitMidpoint::solve(), ExplicitTVDRK2::solve(), LStableDirk4::solve(), AStableDirk4::solve(), ExplicitRK2::solve(), TransientMultiApp::solveStep(), PicardSolve::solveStep(), DT2::step(), AB2PredictorCorrector::step(), NonlinearEigen::takeStep(), Console::writeTimestepInformation(), Console::writeVariableNorms(), and FEProblemBase::~FEProblemBase().

◆ _coord_sys

std::map<SubdomainID, Moose::CoordinateSystemType> SubProblem::_coord_sys
protectedinherited

nonlocal coupling matrix;

Type of coordinate system per subdomain

Definition at line 592 of file SubProblem.h.

Referenced by FEProblemBase::checkCoordinateSystems(), FEProblemBase::getCoordSystem(), and FEProblemBase::setCoordSystem().

◆ _currently_computing_jacobian

bool SubProblem::_currently_computing_jacobian
protectedinherited

◆ _default_ghosting

bool SubProblem::_default_ghosting
protectedinherited

Whether or not to use default libMesh coupling.

Definition at line 641 of file SubProblem.h.

Referenced by SubProblem::defaultGhosting(), DisplacedProblem(), and FEProblemBase::FEProblemBase().

◆ _dirac_kernel_info

DiracKernelInfo SubProblem::_dirac_kernel_info
protectedinherited

◆ _displaced_aux

DisplacedSystem DisplacedProblem::_displaced_aux
protected

◆ _displaced_nl

DisplacedSystem DisplacedProblem::_displaced_nl
protected

◆ _displacements

std::vector<std::string> DisplacedProblem::_displacements
protected

◆ _enabled

const bool& MooseObject::_enabled
protectedinherited

Reference to the "enable" InputParaemters, used by Controls for toggling on/off MooseObjects.

Definition at line 183 of file MooseObject.h.

Referenced by MooseObject::enabled().

◆ _eq

EquationSystems DisplacedProblem::_eq
protected

Definition at line 280 of file DisplacedProblem.h.

Referenced by DisplacedProblem(), es(), init(), and meshChanged().

◆ _eq_init_timer

PerfID DisplacedProblem::_eq_init_timer
protected

Timers.

Definition at line 296 of file DisplacedProblem.h.

Referenced by init().

◆ _factory

Factory& SubProblem::_factory
protectedinherited

◆ _geometric_search_data

GeometricSearchData DisplacedProblem::_geometric_search_data
protected

Definition at line 293 of file DisplacedProblem.h.

Referenced by geomSearchData(), meshChanged(), updateGeomSearch(), and updateMesh().

◆ _ghosted_elems

std::set<dof_id_type> SubProblem::_ghosted_elems
protectedinherited

◆ _has_active_elemental_moose_variables

std::vector<unsigned int> SubProblem::_has_active_elemental_moose_variables
protectedinherited

Whether or not there is currently a list of active elemental moose variables.

Definition at line 624 of file SubProblem.h.

Referenced by SubProblem::clearActiveElementalMooseVariables(), SubProblem::hasActiveElementalMooseVariables(), SubProblem::setActiveElementalMooseVariables(), and SubProblem::SubProblem().

◆ _have_ad_objects

bool SubProblem::_have_ad_objects
protectedinherited

AD flag indicating whether any AD objects have been added.

Definition at line 662 of file SubProblem.h.

Referenced by SubProblem::haveADObjects(), and FEProblemBase::haveADObjects().

◆ _map_block_material_props

std::map<SubdomainID, std::set<std::string> > SubProblem::_map_block_material_props
protectedinherited

Map of material properties (block_id -> list of properties)

Definition at line 597 of file SubProblem.h.

Referenced by SubProblem::checkBlockMatProps(), SubProblem::getMaterialPropertyBlocks(), SubProblem::hasBlockMaterialProperty(), and SubProblem::storeSubdomainMatPropName().

◆ _map_block_material_props_check

std::map<SubdomainID, std::multimap<std::string, std::string> > SubProblem::_map_block_material_props_check
protectedinherited

Data structures of the requested material properties.

We store them in a map from boudnary/block id to multimap. Each of the multimaps is a list of requestor object names to material property names.

Definition at line 615 of file SubProblem.h.

Referenced by SubProblem::checkBlockMatProps(), and SubProblem::storeSubdomainDelayedCheckMatProp().

◆ _map_boundary_material_props

std::map<BoundaryID, std::set<std::string> > SubProblem::_map_boundary_material_props
protectedinherited

Map for boundary material properties (boundary_id -> list of properties)

Definition at line 600 of file SubProblem.h.

Referenced by SubProblem::checkBoundaryMatProps(), SubProblem::getMaterialPropertyBoundaryIDs(), SubProblem::hasBoundaryMaterialProperty(), and SubProblem::storeBoundaryMatPropName().

◆ _map_boundary_material_props_check

std::map<BoundaryID, std::multimap<std::string, std::string> > SubProblem::_map_boundary_material_props_check
protectedinherited

◆ _material_property_requested

std::set<std::string> SubProblem::_material_property_requested
protectedinherited

set containing all material property names that have been requested by getMaterialProperty*

Definition at line 607 of file SubProblem.h.

Referenced by SubProblem::isMatPropRequested(), and SubProblem::markMatPropRequested().

◆ _matrix_tag_id_to_tag_name

std::map<TagID, TagName> SubProblem::_matrix_tag_id_to_tag_name
protectedinherited

Reverse map.

Definition at line 584 of file SubProblem.h.

Referenced by SubProblem::addMatrixTag(), SubProblem::matrixTagExists(), and SubProblem::matrixTagName().

◆ _matrix_tag_name_to_tag_id

std::map<TagName, TagID> SubProblem::_matrix_tag_name_to_tag_id
protectedinherited

◆ _mesh

MooseMesh& DisplacedProblem::_mesh
protected

Definition at line 279 of file DisplacedProblem.h.

Referenced by init(), mesh(), meshChanged(), undisplaceMesh(), and updateMesh().

◆ _mproblem

FEProblemBase& DisplacedProblem::_mproblem
protected

◆ _name

const std::string& MooseObject::_name
protectedinherited

◆ _nl_solution

const NumericVector<Number>* DisplacedProblem::_nl_solution
protected

Definition at line 288 of file DisplacedProblem.h.

Referenced by updateMesh().

◆ _nonlocal_cm

CouplingMatrix SubProblem::_nonlocal_cm
protectedinherited

◆ _pars

const InputParameters& MooseObject::_pars
protectedinherited

◆ _perf_graph

PerfGraph& PerfGraphInterface::_perf_graph
protectedinherited

The performance graph to add to.

Definition at line 66 of file PerfGraphInterface.h.

Referenced by PerfGraphData::getValue(), and PerfGraphInterface::registerTimedSection().

◆ _pg_params

const InputParameters* PerfGraphInterface::_pg_params
protectedinherited

Params.

Definition at line 63 of file PerfGraphInterface.h.

◆ _prefix

std::string PerfGraphInterface::_prefix
protectedinherited

A prefix to use for all sections.

Definition at line 69 of file PerfGraphInterface.h.

Referenced by PerfGraphInterface::registerTimedSection().

◆ _ref_mesh

MooseMesh& DisplacedProblem::_ref_mesh
protected

reference mesh

Definition at line 282 of file DisplacedProblem.h.

Referenced by refMesh().

◆ _requires_nonlocal_coupling

bool SubProblem::_requires_nonlocal_coupling
protectedinherited

◆ _rz_coord_axis

unsigned int SubProblem::_rz_coord_axis
protectedinherited

Storage for RZ axis selection.

Definition at line 647 of file SubProblem.h.

Referenced by SubProblem::getAxisymmetricRadialCoord(), and FEProblemBase::setAxisymmetricCoordAxis().

◆ _safe_access_tagged_matrices

bool SubProblem::_safe_access_tagged_matrices
protectedinherited

Is it safe to retrieve data from tagged matrices.

Definition at line 656 of file SubProblem.h.

Referenced by FEProblemBase::computeJacobianTags(), and SubProblem::safeAccessTaggedMatrices().

◆ _safe_access_tagged_vectors

bool SubProblem::_safe_access_tagged_vectors
protectedinherited

Is it safe to retrieve data from tagged vectors.

Definition at line 659 of file SubProblem.h.

Referenced by FEProblemBase::computeResidualTags(), and SubProblem::safeAccessTaggedVectors().

◆ _sync_solutions_timer

PerfID DisplacedProblem::_sync_solutions_timer
protected

Definition at line 298 of file DisplacedProblem.h.

Referenced by syncSolutions().

◆ _termination_requested

bool Problem::_termination_requested
protectedinherited

True if termination of the solve has been requested.

Definition at line 57 of file Problem.h.

Referenced by Problem::isSolveTerminationRequested(), and Problem::terminateSolve().

◆ _type

const std::string& MooseObject::_type
protectedinherited

The type of this object (the Class name)

Definition at line 177 of file MooseObject.h.

Referenced by FEProblemBase::init(), and MooseObject::type().

◆ _update_geometric_search_timer

PerfID DisplacedProblem::_update_geometric_search_timer
protected

Definition at line 299 of file DisplacedProblem.h.

Referenced by updateGeomSearch().

◆ _update_mesh_timer

PerfID DisplacedProblem::_update_mesh_timer
protected

Definition at line 297 of file DisplacedProblem.h.

Referenced by updateMesh().

◆ _var_dof_map

std::map<std::string, std::vector<dof_id_type> > SubProblem::_var_dof_map
inherited

◆ _vector_tag_id_to_tag_name

std::map<TagID, TagName> SubProblem::_vector_tag_id_to_tag_name
protectedinherited

Reverse map.

Definition at line 578 of file SubProblem.h.

Referenced by SubProblem::addVectorTag(), and SubProblem::vectorTagName().

◆ _vector_tag_name_to_tag_id

std::map<TagName, TagID> SubProblem::_vector_tag_name_to_tag_id
protectedinherited

◆ _zero_block_material_props

std::map<SubdomainID, std::set<MaterialPropertyName> > SubProblem::_zero_block_material_props
protectedinherited

Set of properties returned as zero properties.

Definition at line 603 of file SubProblem.h.

Referenced by SubProblem::checkBlockMatProps(), FEProblemBase::checkDependMaterialsHelper(), and SubProblem::storeSubdomainZeroMatProp().

◆ _zero_boundary_material_props

std::map<BoundaryID, std::set<MaterialPropertyName> > SubProblem::_zero_boundary_material_props
protectedinherited

The documentation for this class was generated from the following files: