www.mooseframework.org
Public Member Functions | Public Attributes | 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 useFECache (bool fe_cache) override
 Whether or not this problem should utilize FE shape function caching. More...
 
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 bool isTransient () const override
 
virtual Moose::CoordinateSystemType getCoordSystem (SubdomainID sid) override
 
virtual bool hasVariable (const std::string &var_name) override
 
virtual MooseVariablegetVariable (THREAD_ID tid, const std::string &var_name) override
 Returns the variable reference for requested variable which may be in any system. More...
 
virtual bool hasScalarVariable (const std::string &var_name) 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, std::vector< Point > phys_points_in_elem, THREAD_ID tid) 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 reinitNodeNeighbor (const Node *node, 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 (SparseMatrix< Number > &jacobian, THREAD_ID tid) override
 
virtual void addJacobianNonlocal (SparseMatrix< Number > &jacobian, THREAD_ID tid)
 
virtual void addJacobianNeighbor (SparseMatrix< Number > &jacobian, 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 (SparseMatrix< Number > &jacobian, 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 () 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 ()
 
virtual void setActiveElementalMooseVariables (const std::set< MooseVariable * > &moose_vars, THREAD_ID tid)
 Set the MOOSE variables to be reinited on each element. More...
 
virtual const std::set< MooseVariable * > & getActiveElementalMooseVariables (THREAD_ID tid)
 Get the MOOSE variables to be reinited on each element. More...
 
virtual bool hasActiveElementalMooseVariables (THREAD_ID tid)
 Whether or not a list of active elemental moose variables has been set. More...
 
virtual void clearActiveElementalMooseVariables (THREAD_ID tid)
 Clear the active elemental MooseVariable. 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)
 Get the material properties required by the current computing thread. More...
 
virtual bool hasActiveMaterialProperties (THREAD_ID tid)
 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 ()
 Returns the desired radial direction for RZ coordinate transformation. More...
 
virtual DiracKernelInfodiracKernelInfo ()
 
virtual Real finalNonlinearResidual ()
 
virtual unsigned int nNonlinearIterations ()
 
virtual unsigned int nLinearIterations ()
 
virtual void storeMatPropName (SubdomainID block_id, const std::string &name)
 Adds the given material property to a storage map based on block ids. More...
 
virtual void storeMatPropName (BoundaryID boundary_id, const std::string &name)
 Adds the given material property to a storage map based on boundary ids. More...
 
virtual void storeZeroMatProp (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 storeZeroMatProp (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 storeDelayedCheckMatProp (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 storeDelayedCheckMatProp (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...
 
virtual void registerRestartableData (std::string name, RestartableDataValue *data, THREAD_ID tid)
 Register a piece of restartable data. More...
 
const CouplingMatrix & nonlocalCouplingMatrix () const
 
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 & 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...
 
bool isParamValid (const std::string &name) const
 Test if the supplied parameter is valid. More...
 
MooseAppgetMooseApp ()
 Get the MooseApp this object is associated with. More...
 
virtual bool enabled ()
 Return the enabled status of the object. 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 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
 
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< MooseVariable * > > _active_elemental_moose_variables
 This is the set of MooseVariables 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...
 
bool _requires_nonlocal_coupling
 nonlocal coupling requirement flag 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 _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...
 
MooseApp_app
 The MooseApp this object is associated with. More...
 
const InputParameters_pars
 Parameters of this object, references the InputParameters stored in the InputParametersWarehouse. 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...
 
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 44 of file DisplacedProblem.h.

Constructor & Destructor Documentation

DisplacedProblem::DisplacedProblem ( const InputParameters parameters)

Definition at line 40 of file DisplacedProblem.C.

41  : SubProblem(parameters),
42  _mproblem(parameters.have_parameter<FEProblemBase *>("_fe_problem_base")
43  ? *getParam<FEProblemBase *>("_fe_problem_base")
44  : *getParam<FEProblem *>("_fe_problem")),
45  _mesh(*getParam<MooseMesh *>("mesh")),
46  _eq(_mesh),
48  _displacements(getParam<std::vector<std::string>>("displacements")),
49  _displaced_nl(*this,
51  _mproblem.getNonlinearSystemBase().name() + "_displaced",
53  _displaced_aux(*this,
55  _mproblem.getAuxiliarySystem().name() + "_displaced",
58 {
59  // TODO: Move newAssemblyArray further up to SubProblem so that we can use it here
60  unsigned int n_threads = libMesh::n_threads();
61 
62  _assembly.reserve(n_threads);
63  for (unsigned int i = 0; i < n_threads; ++i)
64  _assembly.emplace_back(libmesh_make_unique<Assembly>(_displaced_nl, i));
65 }
GeometricSearchData _geometric_search_data
NonlinearSystemBase & getNonlinearSystemBase()
virtual const std::string & name()
Definition: SystemBase.h:453
FEProblemBase & _mproblem
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
EquationSystems _eq
MooseMesh & _ref_mesh
reference mesh
SubProblem(const InputParameters &parameters)
Definition: SubProblem.C:34
std::vector< std::string > _displacements
const T & getParam(const std::string &name) const
Retrieve a parameter for the object.
Definition: MooseObject.h:122
AuxiliarySystem & getAuxiliarySystem()
virtual MooseMesh & mesh() override

Member Function Documentation

void Problem::_setCLIOption ( )
inlineinherited

For Internal Use.

Definition at line 40 of file Problem.h.

40 { _cli_option_found = true; }
bool _cli_option_found
True if the CLI option is found.
Definition: Problem.h:51
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 326 of file DisplacedProblem.C.

330 {
331  _displaced_aux.addScalarVariable(var_name, order, scale_factor, active_subdomains);
332 }
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:530
void DisplacedProblem::addAuxVariable ( const std::string &  var_name,
const FEType &  type,
const std::set< SubdomainID > *const  active_subdomains = NULL 
)
virtual

Definition at line 309 of file DisplacedProblem.C.

312 {
313  _displaced_aux.addVariable(var_name, type, 1.0, active_subdomains);
314 }
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:500
DisplacedSystem _displaced_aux
MatType type
void DisplacedProblem::addCachedJacobian ( SparseMatrix< Number > &  jacobian,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 680 of file DisplacedProblem.C.

681 {
682  _assembly[tid]->addCachedJacobian(jacobian);
683 }
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::addCachedResidual ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 619 of file DisplacedProblem.C.

620 {
621  _assembly[tid]->addCachedResiduals();
622 }
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::addCachedResidualDirectly ( NumericVector< Number > &  residual,
THREAD_ID  tid 
)
virtual

Definition at line 625 of file DisplacedProblem.C.

626 {
627  _assembly[tid]->addCachedResidual(residual, Moose::KT_TIME);
628  _assembly[tid]->addCachedResidual(residual, Moose::KT_NONTIME);
629 }
std::vector< std::unique_ptr< Assembly > > _assembly
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 770 of file DisplacedProblem.C.

771 {
772  _mproblem.addGhostedBoundary(boundary_id);
773 }
FEProblemBase & _mproblem
virtual void addGhostedBoundary(BoundaryID boundary_id) override
Will make sure that all necessary elements from boundary_id are ghosted to this processor.
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 764 of file DisplacedProblem.C.

765 {
766  _mproblem.addGhostedElem(elem_id);
767 }
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
void DisplacedProblem::addJacobian ( SparseMatrix< Number > &  jacobian,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 644 of file DisplacedProblem.C.

645 {
646  _assembly[tid]->addJacobian(jacobian);
647 }
std::vector< std::unique_ptr< Assembly > > _assembly
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 686 of file DisplacedProblem.C.

692 {
693  _assembly[tid]->addJacobianBlock(jacobian, ivar, jvar, dof_map, dof_indices);
694 }
std::vector< std::unique_ptr< Assembly > > _assembly
DofMap & dof_map
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 697 of file DisplacedProblem.C.

704 {
705  _assembly[tid]->addJacobianBlockNonlocal(
706  jacobian, ivar, jvar, dof_map, idof_indices, jdof_indices);
707 }
std::vector< std::unique_ptr< Assembly > > _assembly
DofMap & dof_map
void DisplacedProblem::addJacobianNeighbor ( SparseMatrix< Number > &  jacobian,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 656 of file DisplacedProblem.C.

657 {
658  _assembly[tid]->addJacobianNeighbor(jacobian);
659 }
std::vector< std::unique_ptr< Assembly > > _assembly
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 710 of file DisplacedProblem.C.

717 {
718  _assembly[tid]->addJacobianNeighbor(
719  jacobian, ivar, jvar, dof_map, dof_indices, neighbor_dof_indices);
720 }
std::vector< std::unique_ptr< Assembly > > _assembly
DofMap & dof_map
void DisplacedProblem::addJacobianNonlocal ( SparseMatrix< Number > &  jacobian,
THREAD_ID  tid 
)
virtual

Definition at line 650 of file DisplacedProblem.C.

651 {
652  _assembly[tid]->addJacobianNonlocal(jacobian);
653 }
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::addResidual ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 588 of file DisplacedProblem.C.

589 {
594 }
FEProblemBase & _mproblem
std::vector< std::unique_ptr< Assembly > > _assembly
virtual void addResidual(THREAD_ID tid) override
virtual bool hasResidualVector(Moose::KernelType type) const override
virtual NonlinearSystem & getNonlinearSystem()
virtual NumericVector< Number > & residualVector(Moose::KernelType type)
void DisplacedProblem::addResidualNeighbor ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 597 of file DisplacedProblem.C.

598 {
604 }
FEProblemBase & _mproblem
std::vector< std::unique_ptr< Assembly > > _assembly
virtual void addResidualNeighbor(THREAD_ID tid) override
virtual bool hasResidualVector(Moose::KernelType type) const override
virtual NonlinearSystem & getNonlinearSystem()
virtual NumericVector< Number > & residualVector(Moose::KernelType type)
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 317 of file DisplacedProblem.C.

321 {
322  _displaced_nl.addScalarVariable(var_name, order, scale_factor, active_subdomains);
323 }
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:530
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 300 of file DisplacedProblem.C.

304 {
305  _displaced_nl.addVariable(var_name, type, scale_factor, active_subdomains);
306 }
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:500
DisplacedSystem _displaced_nl
MatType type
virtual Assembly& DisplacedProblem::assembly ( THREAD_ID  tid)
inlineoverridevirtual

Implements SubProblem.

Definition at line 227 of file DisplacedProblem.h.

227 { return *_assembly[tid]; }
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem& DisplacedProblem::auxSys ( )
inline

Definition at line 54 of file DisplacedProblem.h.

54 { return _displaced_aux; }
DisplacedSystem _displaced_aux
void DisplacedProblem::cacheJacobian ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 662 of file DisplacedProblem.C.

663 {
664  _assembly[tid]->cacheJacobian();
665 }
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::cacheJacobianNeighbor ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 674 of file DisplacedProblem.C.

675 {
676  _assembly[tid]->cacheJacobianNeighbor();
677 }
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::cacheJacobianNonlocal ( THREAD_ID  tid)
virtual

Definition at line 668 of file DisplacedProblem.C.

669 {
670  _assembly[tid]->cacheJacobianNonlocal();
671 }
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::cacheResidual ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 607 of file DisplacedProblem.C.

608 {
609  _assembly[tid]->cacheResidual();
610 }
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::cacheResidualNeighbor ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 613 of file DisplacedProblem.C.

614 {
615  _assembly[tid]->cacheResidualNeighbor();
616 }
std::vector< std::unique_ptr< Assembly > > _assembly
void SubProblem::checkBlockMatProps ( )
virtualinherited

Checks block material properties integrity.

See also
FEProblemBase::checkProblemIntegrity

Definition at line 260 of file SubProblem.C.

Referenced by FEProblemBase::checkProblemIntegrity().

261 {
264 }
void checkMatProps(std::map< T, std::set< std::string >> &props, std::map< T, std::multimap< std::string, std::string >> &check_props, std::map< T, std::set< MaterialPropertyName >> &zero_props)
Helper method for performing material property checks.
Definition: SubProblem.C:349
std::map< SubdomainID, std::set< MaterialPropertyName > > _zero_block_material_props
Set of properties returned as zero properties.
Definition: SubProblem.h:434
std::map< SubdomainID, std::multimap< std::string, std::string > > _map_block_material_props_check
Data structures of the requested material properties.
Definition: SubProblem.h:446
std::map< SubdomainID, std::set< std::string > > _map_block_material_props
Map of material properties (block_id -> list of properties)
Definition: SubProblem.h:428
void SubProblem::checkBoundaryMatProps ( )
virtualinherited

Checks boundary material properties integrity.

See also
FEProblemBase::checkProblemIntegrity

Definition at line 267 of file SubProblem.C.

Referenced by FEProblemBase::checkProblemIntegrity().

268 {
272 }
std::map< BoundaryID, std::multimap< std::string, std::string > > _map_boundary_material_props_check
Definition: SubProblem.h:447
std::map< BoundaryID, std::set< MaterialPropertyName > > _zero_boundary_material_props
Definition: SubProblem.h:435
std::map< BoundaryID, std::set< std::string > > _map_boundary_material_props
Map for boundary material properties (boundary_id -> list of properties)
Definition: SubProblem.h:431
void checkMatProps(std::map< T, std::set< std::string >> &props, std::map< T, std::multimap< std::string, std::string >> &check_props, std::map< T, std::set< MaterialPropertyName >> &zero_props)
Helper method for performing material property checks.
Definition: SubProblem.C:349
virtual bool SubProblem::checkNonlocalCouplingRequirement ( )
inlinevirtualinherited
void SubProblem::clearActiveElementalMooseVariables ( THREAD_ID  tid)
virtualinherited

Clear the active elemental MooseVariable.

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 MooseVariables

Parameters
tidThe thread id

Reimplemented in FEProblemBase.

Definition at line 73 of file SubProblem.C.

Referenced by FEProblemBase::clearActiveElementalMooseVariables().

74 {
77 }
std::vector< std::set< MooseVariable * > > _active_elemental_moose_variables
This is the set of MooseVariables that will actually get reinited by a call to reinit(elem) ...
Definition: SubProblem.h:451
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:455
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 99 of file SubProblem.C.

Referenced by FEProblemBase::clearActiveMaterialProperties().

100 {
101  _active_material_property_ids[tid].clear();
102 }
std::vector< std::set< unsigned int > > _active_material_property_ids
Set of material property ids that determine whether materials get reinited.
Definition: SubProblem.h:458
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 582 of file DisplacedProblem.C.

583 {
585 }
void clearPoints()
Remove all of the current points and elements.
DiracKernelInfo _dirac_kernel_info
Definition: SubProblem.h:425
bool DisplacedProblem::computingInitialResidual ( )
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 799 of file DisplacedProblem.C.

800 {
802 }
FEProblemBase & _mproblem
virtual bool computingInitialResidual() override
Returns true if the problem is in the process of computing it&#39;s initial residual. ...
bool DisplacedProblem::converged ( )
overridevirtual

Implements SubProblem.

Definition at line 793 of file DisplacedProblem.C.

794 {
795  return _mproblem.converged();
796 }
FEProblemBase & _mproblem
virtual bool converged() override
void DisplacedProblem::createQRules ( QuadratureType  type,
Order  order,
Order  volume_order,
Order  face_order 
)
virtual

Definition at line 86 of file DisplacedProblem.C.

90 {
91  for (unsigned int tid = 0; tid < libMesh::n_threads(); ++tid)
92  _assembly[tid]->createQRules(type, order, volume_order, face_order);
93 }
std::vector< std::unique_ptr< Assembly > > _assembly
virtual void createQRules(QuadratureType type, Order order, Order volume_order, Order face_order)
MatType type
DiracKernelInfo & SubProblem::diracKernelInfo ( )
virtualinherited

Definition at line 287 of file SubProblem.C.

288 {
289  return _dirac_kernel_info;
290 }
DiracKernelInfo _dirac_kernel_info
Definition: SubProblem.h:425
virtual bool MooseObject::enabled ( )
inlinevirtualinherited

Return the enabled status of the object.

Reimplemented in EigenKernel.

Definition at line 77 of file MooseObject.h.

Referenced by EigenKernel::enabled().

77 { return _enabled; }
const bool & _enabled
Reference to the "enable" InputParaemters, used by Controls for toggling on/off MooseObjects.
Definition: MooseObject.h:117
virtual EquationSystems& DisplacedProblem::es ( )
inlineoverridevirtual

Implements SubProblem.

Definition at line 49 of file DisplacedProblem.h.

49 { return _eq; }
EquationSystems _eq
Real SubProblem::finalNonlinearResidual ( )
virtualinherited

Reimplemented in FEProblemBase.

Definition at line 293 of file SubProblem.C.

Referenced by Residual::getValue().

294 {
295  return 0;
296 }
virtual GeometricSearchData& DisplacedProblem::geomSearchData ( )
inlineoverridevirtual

Implements SubProblem.

Definition at line 232 of file DisplacedProblem.h.

232 { return _geometric_search_data; }
GeometricSearchData _geometric_search_data
const std::set< MooseVariable * > & SubProblem::getActiveElementalMooseVariables ( THREAD_ID  tid)
virtualinherited

Get the MOOSE variables to be reinited on each element.

Parameters
tidThe thread id

Reimplemented in FEProblemBase.

Definition at line 61 of file SubProblem.C.

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

62 {
64 }
std::vector< std::set< MooseVariable * > > _active_elemental_moose_variables
This is the set of MooseVariables that will actually get reinited by a call to reinit(elem) ...
Definition: SubProblem.h:451
const std::set< unsigned int > & SubProblem::getActiveMaterialProperties ( THREAD_ID  tid)
virtualinherited

Get the material properties required by the current computing thread.

Parameters
tidThe thread id

Reimplemented in FEProblemBase.

Definition at line 87 of file SubProblem.C.

Referenced by FEProblemBase::getActiveMaterialProperties().

88 {
90 }
std::vector< std::set< unsigned int > > _active_material_property_ids
Set of material property ids that determine whether materials get reinited.
Definition: SubProblem.h:458
unsigned int SubProblem::getAxisymmetricRadialCoord ( )
inherited

Returns the desired radial direction for RZ coordinate transformation.

Returns
The coordinate direction for the radial direction

Definition at line 402 of file SubProblem.C.

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

403 {
404  if (_rz_coord_axis == 0)
405  return 1; // if the rotation axis is x (0), then the radial direction is y (1)
406  else
407  return 0; // otherwise the radial direction is assumed to be x, i.e., the rotation axis is y
408 }
unsigned int _rz_coord_axis
Storage for RZ axis selection.
Definition: SubProblem.h:467
Moose::CoordinateSystemType DisplacedProblem::getCoordSystem ( SubdomainID  sid)
overridevirtual

Implements SubProblem.

Definition at line 74 of file DisplacedProblem.C.

75 {
76  return _mproblem.getCoordSystem(sid);
77 }
FEProblemBase & _mproblem
virtual Moose::CoordinateSystemType getCoordSystem(SubdomainID sid) override
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 576 of file DisplacedProblem.C.

577 {
579 }
std::set< const Elem * > & getElements()
Returns a writeable reference to the _elements container.
DiracKernelInfo _dirac_kernel_info
Definition: SubProblem.h:425
const std::vector<std::string>& DisplacedProblem::getDisplacementVarNames ( ) const
inline

Definition at line 57 of file DisplacedProblem.h.

57 { return _displacements; }
std::vector< std::string > _displacements
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 121 of file SubProblem.C.

Referenced by MaterialPropertyInterface::getMaterialPropertyBlockNames().

122 {
123  std::set<SubdomainID> blocks = getMaterialPropertyBlocks(prop_name);
124  std::vector<SubdomainName> block_names;
125  block_names.reserve(blocks.size());
126  for (const auto & block_id : blocks)
127  {
128  SubdomainName name;
129  if (block_id == Moose::ANY_BLOCK_ID)
130  name = "ANY_BLOCK_ID";
131  else
132  {
133  name = mesh().getMesh().subdomain_name(block_id);
134  if (name.empty())
135  {
136  std::ostringstream oss;
137  oss << block_id;
138  name = oss.str();
139  }
140  }
141  block_names.push_back(name);
142  }
143 
144  return block_names;
145 }
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:47
virtual MooseMesh & mesh()=0
MeshBase & getMesh()
Accessor for the underlying libMesh Mesh object.
Definition: MooseMesh.C:2408
const SubdomainID ANY_BLOCK_ID
Definition: MooseTypes.h:117
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:105
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 105 of file SubProblem.C.

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

106 {
107  std::set<SubdomainID> blocks;
108 
109  for (const auto & it : _map_block_material_props)
110  {
111  const std::set<std::string> & prop_names = it.second;
112  std::set<std::string>::iterator name_it = prop_names.find(prop_name);
113  if (name_it != prop_names.end())
114  blocks.insert(it.first);
115  }
116 
117  return blocks;
118 }
std::map< SubdomainID, std::set< std::string > > _map_block_material_props
Map of material properties (block_id -> list of properties)
Definition: SubProblem.h:428
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 162 of file SubProblem.C.

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

163 {
164  std::set<BoundaryID> boundaries;
165 
166  for (const auto & it : _map_boundary_material_props)
167  {
168  const std::set<std::string> & prop_names = it.second;
169  std::set<std::string>::iterator name_it = prop_names.find(prop_name);
170  if (name_it != prop_names.end())
171  boundaries.insert(it.first);
172  }
173 
174  return boundaries;
175 }
std::map< BoundaryID, std::set< std::string > > _map_boundary_material_props
Map for boundary material properties (boundary_id -> list of properties)
Definition: SubProblem.h:431
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 178 of file SubProblem.C.

Referenced by MaterialPropertyInterface::getMaterialPropertyBoundaryNames().

179 {
180  std::set<BoundaryID> boundaries = getMaterialPropertyBoundaryIDs(prop_name);
181  std::vector<BoundaryName> boundary_names;
182  boundary_names.reserve(boundaries.size());
183  const BoundaryInfo & boundary_info = mesh().getMesh().get_boundary_info();
184 
185  for (const auto & bnd_id : boundaries)
186  {
187  BoundaryName name;
188  if (bnd_id == Moose::ANY_BOUNDARY_ID)
189  name = "ANY_BOUNDARY_ID";
190  else
191  {
192  name = boundary_info.get_sideset_name(bnd_id);
193  if (name.empty())
194  {
195  std::ostringstream oss;
196  oss << bnd_id;
197  name = oss.str();
198  }
199  }
200  boundary_names.push_back(name);
201  }
202 
203  return boundary_names;
204 }
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:47
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:162
MeshBase & getMesh()
Accessor for the underlying libMesh Mesh object.
Definition: MooseMesh.C:2408
const BoundaryID ANY_BOUNDARY_ID
Definition: MooseTypes.h:119
MooseApp& MooseObject::getMooseApp ( )
inlineinherited

Get the MooseApp this object is associated with.

Definition at line 72 of file MooseObject.h.

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

72 { return _app; }
MooseApp & _app
The MooseApp this object is associated with.
Definition: MooseObject.h:108
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 122 of file MooseObject.h.

Referenced by FEProblemBase::addMaterial(), ConstraintWarehouse::addObject(), BicubicSplineFunction::BicubicSplineFunction(), Piecewise::buildFromXandY(), EigenKernel::EigenKernel(), FieldSplitPreconditioner::FieldSplitPreconditioner(), FiniteDifferencePreconditioner::FiniteDifferencePreconditioner(), GenericConstantRankTwoTensor::GenericConstantRankTwoTensor(), TimeSequenceStepper::init(), BlockRestrictable::initializeBlockRestrictable(), BoundaryRestrictable::initializeBoundaryRestrictable(), Console::initialSetup(), AdvancedOutput::initialSetup(), SideSetsBetweenSubdomains::modify(), MeshExtruder::modify(), AddExtraNodeset::modify(), SideSetsAroundSubdomain::modify(), RenameBlock::modify(), MooseObject::parameters(), ParsedAddSideset::ParsedAddSideset(), ParsedAux::ParsedAux(), ParsedODEKernel::ParsedODEKernel(), ParsedSubdomainMeshModifier::ParsedSubdomainMeshModifier(), PhysicsBasedPreconditioner::PhysicsBasedPreconditioner(), SingleMatrixPreconditioner::SingleMatrixPreconditioner(), TimePeriod::TimePeriod(), and VectorOfPostprocessors::VectorOfPostprocessors().

123 {
124  return InputParameters::getParamHelper(name, _pars, static_cast<T *>(0));
125 }
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:47
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:111
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 278 of file DisplacedProblem.C.

279 {
280  if (_displaced_nl.hasScalarVariable(var_name))
281  return _displaced_nl.getScalarVariable(tid, var_name);
282  else if (_displaced_aux.hasScalarVariable(var_name))
283  return _displaced_aux.getScalarVariable(tid, var_name);
284  else
285  mooseError("No variable with name '" + var_name + "'");
286 }
virtual bool hasScalarVariable(const std::string &var_name)
Definition: SystemBase.C:565
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
void mooseError(Args &&...args) const
Definition: MooseObject.h:80
virtual MooseVariableScalar & getScalarVariable(THREAD_ID tid, const std::string &var_name)
Gets a reference to a scalar variable with specified number.
Definition: SystemBase.C:121
System & DisplacedProblem::getSystem ( const std::string &  var_name)
overridevirtual

Returns the equation system containing the variable provided.

Implements SubProblem.

Definition at line 289 of file DisplacedProblem.C.

290 {
291  if (_displaced_nl.hasVariable(var_name))
292  return _displaced_nl.system();
293  else if (_displaced_aux.hasVariable(var_name))
294  return _displaced_aux.system();
295  else
296  mooseError("Unable to find a system containing the variable " + var_name);
297 }
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual bool hasVariable(const std::string &var_name)
Query a system for a variable.
Definition: SystemBase.C:556
virtual System & system() override
Get the reference to the libMesh system.
void mooseError(Args &&...args) const
Definition: MooseObject.h:80
MooseVariable & DisplacedProblem::getVariable ( THREAD_ID  tid,
const std::string &  var_name 
)
overridevirtual

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

Implements SubProblem.

Definition at line 256 of file DisplacedProblem.C.

257 {
258  if (_displaced_nl.hasVariable(var_name))
259  return _displaced_nl.getVariable(tid, var_name);
260  else if (!_displaced_aux.hasVariable(var_name))
261  mooseError("No variable with name '" + var_name + "'");
262 
263  return _displaced_aux.getVariable(tid, var_name);
264 }
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual MooseVariable & getVariable(THREAD_ID tid, const std::string &var_name)
Gets a reference to a variable of with specified name.
Definition: SystemBase.C:103
virtual bool hasVariable(const std::string &var_name)
Query a system for a variable.
Definition: SystemBase.C:556
void mooseError(Args &&...args) const
Definition: MooseObject.h:80
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 80 of file DisplacedProblem.C.

81 {
82  return _mproblem.ghostedElems();
83 }
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:400
void DisplacedProblem::ghostGhostedBoundaries ( )
overridevirtual

Causes the boundaries added using addGhostedBoundary to actually be ghosted.

Implements SubProblem.

Definition at line 776 of file DisplacedProblem.C.

777 {
779 }
FEProblemBase & _mproblem
virtual void ghostGhostedBoundaries() override
Causes the boundaries added using addGhostedBoundary to actually be ghosted.
bool SubProblem::hasActiveElementalMooseVariables ( THREAD_ID  tid)
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

Reimplemented in FEProblemBase.

Definition at line 67 of file SubProblem.C.

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

68 {
70 }
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:455
bool SubProblem::hasActiveMaterialProperties ( THREAD_ID  tid)
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

Reimplemented in FEProblemBase.

Definition at line 93 of file SubProblem.C.

Referenced by FEProblemBase::hasActiveMaterialProperties().

94 {
95  return !_active_material_property_ids[tid].empty();
96 }
std::vector< std::set< unsigned int > > _active_material_property_ids
Set of material property ids that determine whether materials get reinited.
Definition: SubProblem.h:458
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 148 of file SubProblem.C.

149 {
150  auto it = _map_block_material_props.find(bid);
151  if (it == _map_block_material_props.end())
152  return false;
153 
154  if (it->second.count(prop_name) > 0)
155  return true;
156  else
157  return false;
158 }
std::map< SubdomainID, std::set< std::string > > _map_block_material_props
Map of material properties (block_id -> list of properties)
Definition: SubProblem.h:428
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 207 of file SubProblem.C.

208 {
209  auto it = _map_boundary_material_props.find(bid);
210  if (it == _map_boundary_material_props.end())
211  return false;
212 
213  if (it->second.count(prop_name) > 0)
214  return true;
215  else
216  return false;
217 }
std::map< BoundaryID, std::set< std::string > > _map_boundary_material_props
Map for boundary material properties (boundary_id -> list of properties)
Definition: SubProblem.h:431
bool DisplacedProblem::hasScalarVariable ( const std::string &  var_name)
overridevirtual

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

Implements SubProblem.

Definition at line 267 of file DisplacedProblem.C.

268 {
269  if (_displaced_nl.hasScalarVariable(var_name))
270  return true;
271  else if (_displaced_aux.hasScalarVariable(var_name))
272  return true;
273  else
274  return false;
275 }
virtual bool hasScalarVariable(const std::string &var_name)
Definition: SystemBase.C:565
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
bool DisplacedProblem::hasVariable ( const std::string &  var_name)
overridevirtual

Implements SubProblem.

Definition at line 245 of file DisplacedProblem.C.

246 {
247  if (_displaced_nl.hasVariable(var_name))
248  return true;
249  else if (_displaced_aux.hasVariable(var_name))
250  return true;
251  else
252  return false;
253 }
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual bool hasVariable(const std::string &var_name)
Query a system for a variable.
Definition: SystemBase.C:556
void DisplacedProblem::init ( )
overridevirtual

Implements Problem.

Definition at line 106 of file DisplacedProblem.C.

107 {
108  for (THREAD_ID tid = 0; tid < libMesh::n_threads(); ++tid)
110 
111  _displaced_nl.dofMap().attach_extra_send_list_function(&extraSendList, &_displaced_nl);
112  _displaced_aux.dofMap().attach_extra_send_list_function(&extraSendList, &_displaced_aux);
113 
116 
117  Moose::perf_log.push("DisplacedProblem::init::eq.init()", "Setup");
118  _eq.init();
119  Moose::perf_log.pop("DisplacedProblem::init::eq.init()", "Setup");
120 
121  Moose::perf_log.push("DisplacedProblem::init::meshChanged()", "Setup");
122  _mesh.meshChanged();
123  Moose::perf_log.pop("DisplacedProblem::init::meshChanged()", "Setup");
124 }
const CouplingMatrix * couplingMatrix()
FEProblemBase & _mproblem
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
EquationSystems _eq
virtual DofMap & dofMap()
Gets the dof map.
Definition: SystemBase.C:610
void extraSendList(std::vector< dof_id_type > &send_list, void *context)
///< Type of coordinate system
Definition: SystemBase.C:33
PerfLog perf_log
Perflog to be used by applications.
virtual void init() override
Initialize the system.
void meshChanged()
Declares that the MooseMesh has changed, invalidates cached data and rebuilds caches.
Definition: MooseMesh.C:491
unsigned int THREAD_ID
Definition: MooseTypes.h:79
virtual void init() override
void DisplacedProblem::initAdaptivity ( )
virtual

Definition at line 127 of file DisplacedProblem.C.

128 {
129 }
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 281 of file SubProblem.C.

282 {
283  return _material_property_requested.find(prop_name) != _material_property_requested.end();
284 }
std::set< std::string > _material_property_requested
set containing all material property names that have been requested by getMaterialProperty* ...
Definition: SubProblem.h:438
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 67 of file MooseObject.h.

Referenced by BicubicSplineFunction::BicubicSplineFunction(), Piecewise::buildFromFile(), Piecewise::buildFromXandY(), GeneratedMesh::buildMesh(), LibmeshPartitioner::clone(), OversampleOutput::cloneMesh(), CSVReader::CSVReader(), MultiAppNearestNodeTransfer::execute(), FileOutput::FileOutput(), MultiApp::fillPositions(), MultiAppNearestNodeTransfer::getLocalNodes(), MultiAppNearestNodeTransfer::getNearestNode(), IterationAdaptiveDT::init(), EigenExecutionerBase::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(), AssignElementSubdomainID::modify(), ParsedSubdomainMeshModifier::modify(), RenameBlock::modify(), SubdomainBoundingBox::modify(), EigenExecutionerBase::normalizeSolution(), Output::Output(), Exodus::outputSetup(), PetscOutput::PetscOutput(), Piecewise::Piecewise(), SolutionUserObject::readExodusII(), RenameBlock::RenameBlock(), Piecewise::setData(), SolutionUserObject::SolutionUserObject(), and TimePeriod::TimePeriod().

67 { return _pars.isParamValid(name); }
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:47
bool isParamValid(const std::string &name) const
This method returns parameters that have been initialized in one fashion or another, i.e.
const InputParameters & _pars
Parameters of this object, references the InputParameters stored in the InputParametersWarehouse.
Definition: MooseObject.h:111
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 51 of file Problem.h.

Referenced by Transient::keepGoing().

51 { return _termination_requested; };
bool _termination_requested
True if termination of the solve has been requested.
Definition: Problem.h:61
bool DisplacedProblem::isTransient ( ) const
overridevirtual

Implements SubProblem.

Definition at line 68 of file DisplacedProblem.C.

69 {
70  return _mproblem.isTransient();
71 }
FEProblemBase & _mproblem
virtual bool isTransient() const override
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 275 of file SubProblem.C.

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

276 {
277  _material_property_requested.insert(prop_name);
278 }
std::set< std::string > _material_property_requested
set containing all material property names that have been requested by getMaterialProperty* ...
Definition: SubProblem.h:438
virtual MooseMesh& DisplacedProblem::mesh ( )
inlineoverridevirtual

Implements SubProblem.

Definition at line 50 of file DisplacedProblem.h.

50 { return _mesh; }
void DisplacedProblem::meshChanged ( )
overridevirtual

Reimplemented from SubProblem.

Definition at line 747 of file DisplacedProblem.C.

748 {
749  // mesh changed
750  _eq.reinit();
751  _mesh.meshChanged();
752 
753  // Since the Mesh changed, update the PointLocator object used by DiracKernels.
755 
756  unsigned int n_threads = libMesh::n_threads();
757 
758  for (unsigned int i = 0; i < n_threads; ++i)
759  _assembly[i]->invalidateCache();
761 }
GeometricSearchData _geometric_search_data
std::vector< std::unique_ptr< Assembly > > _assembly
EquationSystems _eq
void reinit()
Completely redo all geometric search objects.
DiracKernelInfo _dirac_kernel_info
Definition: SubProblem.h:425
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:491
template<typename... Args>
void MooseObject::mooseDeprecated ( Args &&...  args) const
inlineinherited
template<typename... Args>
void MooseObject::mooseError ( Args &&...  args) const
inlineinherited

Definition at line 80 of file MooseObject.h.

Referenced by FEProblemBase::addInitialCondition(), DiracKernel::addPointWithValidId(), FEProblemBase::addPostprocessor(), MooseMesh::addQuadratureNode(), FEProblemBase::addVectorPostprocessor(), Output::advancedExecuteOn(), AnnularMesh::AnnularMesh(), MultiApp::appPostprocessorValue(), MultiApp::appProblem(), MultiApp::appProblemBase(), MultiApp::appUserObjectBase(), Function::average(), Axisymmetric2D3DSolutionFunction::Axisymmetric2D3DSolutionFunction(), BicubicSplineFunction::BicubicSplineFunction(), BoundingValueElementDamper::BoundingValueElementDamper(), BoundingValueNodalDamper::BoundingValueNodalDamper(), BoundsAux::BoundsAux(), MooseMesh::buildCoarseningMap(), Piecewise::buildFromFile(), Piecewise::buildFromXandY(), Piecewise::buildFromXY(), TiledMesh::buildMesh(), GeneratedMesh::buildMesh(), ImageMesh::buildMesh3D(), MooseMesh::buildRefinementMap(), EigenExecutionerBase::chebyshev(), FEProblemBase::checkCoordinateSystems(), FEProblemBase::checkDependMaterialsHelper(), FEProblemBase::checkDisplacementOrders(), Material::checkExecutionStage(), Steady::checkIntegrity(), EigenExecutionerBase::checkIntegrity(), SubProblem::checkMatProps(), FEProblemBase::checkProblemIntegrity(), Material::checkStatefulSanity(), FEProblemBase::checkUserObjects(), LibmeshPartitioner::clone(), CompositeFunction::CompositeFunction(), ElementLpNormAux::compute(), ElementH1ErrorFunctionAux::compute(), TimeSequenceStepperBase::computeFailedDT(), IterationAdaptiveDT::computeFailedDT(), TimeStepper::computeFailedDT(), FEProblemBase::computeResidual(), Material::computeSubdomainProperties(), PenetrationAux::computeValue(), TimeStepper::constrainStep(), AuxKernel::coupledDot(), AuxKernel::coupledDotDu(), DebugResidualAux::DebugResidualAux(), BicubicSplineFunction::derivative(), DGKernel::DGKernel(), SolutionUserObject::discontinuousPointValue(), SolutionUserObject::discontinuousPointValueGradient(), FEProblemBase::duplicateVariableCheck(), EigenProblem::EigenProblem(), Eigenvalues::Eigenvalues(), ElementalVariableValue::ElementalVariableValue(), MooseMesh::errorIfDistributedMesh(), SolutionUserObject::evalMeshFunction(), SolutionUserObject::evalMeshFunctionGradient(), SolutionUserObject::evalMultiValuedMeshFunction(), SolutionUserObject::evalMultiValuedMeshFunctionGradient(), PerflogDumper::execute(), NodalValueSampler::execute(), MultiAppPostprocessorTransfer::execute(), DiscreteElementUserObject::execute(), MultiAppPostprocessorInterpolationTransfer::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), MultiAppNearestNodeTransfer::execute(), PointValue::execute(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppVariableValueSampleTransfer::execute(), FindValueOnLine::execute(), MultiAppInterpolationTransfer::execute(), TimeExtremeValue::execute(), LeastSquaresFit::execute(), FEProblemBase::executeControls(), FileOutput::FileOutput(), MultiApp::fillPositions(), VerifyElementUniqueID::finalize(), VerifyNodalUniqueID::finalize(), DiscreteElementUserObject::finalize(), MemoryUsage::finalize(), PointSamplerBase::finalize(), Transfer::find_sys(), FiniteDifferencePreconditioner::FiniteDifferencePreconditioner(), FunctionDT::FunctionDT(), FunctionScalarAux::FunctionScalarAux(), FunctionScalarIC::FunctionScalarIC(), GapValueAux::GapValueAux(), GeneratedMesh::GeneratedMesh(), GenericConstantMaterial::GenericConstantMaterial(), GenericFunctionMaterial::GenericFunctionMaterial(), MooseMesh::getBoundaryID(), MultiApp::getBoundingBox(), MooseMesh::getCoarseningMap(), FEProblemBase::getCoordSystem(), PiecewiseConstant::getDirection(), FEProblemBase::getDistribution(), MultiApp::getExecutioner(), FEProblemBase::getFunction(), SolutionUserObject::getLocalVarIndex(), AuxKernel::getMaterialProperty(), AuxKernel::getMaterialPropertyOld(), AuxKernel::getMaterialPropertyOlder(), GeneratedMesh::getMaxInDimension(), AnnularMesh::getMaxInDimension(), FEProblemBase::getMaxQps(), FEProblemBase::getMaxShapeFunctions(), GeneratedMesh::getMinInDimension(), AnnularMesh::getMinInDimension(), MooseMesh::getMortarInterface(), MooseMesh::getMortarInterfaceByName(), MooseMesh::getNodeBlockIds(), MooseMesh::getNodeList(), FEProblemBase::getNonlinearSystem(), MooseMesh::getPairedBoundaryMapping(), ImageMesh::GetPixelInfo(), MaterialStdVectorAux::getRealValue(), MooseMesh::getRefinementMap(), FEProblemBase::getSampler(), getScalarVariable(), FEProblemBase::getScalarVariable(), MooseMesh::getSubdomainBoundaryIds(), MooseMesh::getSubdomainID(), getSystem(), FEProblemBase::getSystem(), FEProblemBase::getUserObjectBase(), NumVars::getValue(), PerformanceData::getValue(), Residual::getValue(), FindValueOnLine::getValueAtPoint(), getVariable(), FEProblemBase::getVariable(), MultiApp::globalAppToLocal(), MooseParsedVectorFunction::gradient(), AdvancedOutput::hasOutputHelper(), CSVTimeSequenceStepper::init(), IterationAdaptiveDT::init(), EigenExecutionerBase::init(), MooseMesh::init(), FEProblemBase::init(), NumPicardIterations::initialize(), FullSolveMultiApp::initialSetup(), SolutionAux::initialSetup(), Axisymmetric2D3DSolutionFunction::initialSetup(), Exodus::initialSetup(), SolutionFunction::initialSetup(), SolutionUserObject::initialSetup(), FEProblemBase::initialSetup(), AdvancedOutput::initOutputList(), AdvancedOutput::initShowHideLists(), Material::initStatefulProperties(), Function::integral(), IntegratedBC::IntegratedBC(), InterfaceKernel::InterfaceKernel(), EigenExecutionerBase::inversePowerIteration(), InversePowerMethod::InversePowerMethod(), IterationAdaptiveDT::IterationAdaptiveDT(), KernelBase::KernelBase(), LeastSquaresFit::LeastSquaresFit(), LibmeshPartitioner::LibmeshPartitioner(), LinearCombinationFunction::LinearCombinationFunction(), LinearCombinationPostprocessor::LinearCombinationPostprocessor(), LinearNodalConstraint::LinearNodalConstraint(), LineMaterialSamplerBase< T >::LineMaterialSamplerBase(), MaterialRealTensorValueAux::MaterialRealTensorValueAux(), MaterialRealVectorValueAux::MaterialRealVectorValueAux(), MaterialStdVectorRealGradientAux::MaterialStdVectorRealGradientAux(), MaterialVectorPostprocessor::MaterialVectorPostprocessor(), SubProblem::meshChanged(), MeshExtruder::MeshExtruder(), SideSetsFromPoints::modify(), SideSetsFromNormals::modify(), AddExtraNodeset::modify(), MeshExtruder::modify(), AssignElementSubdomainID::modify(), AddAllSideSetsByNormals::modify(), ElementDeleterBase::modify(), ParsedSubdomainMeshModifier::modify(), RenameBlock::modify(), ImageSubdomain::modify(), BoundingBoxNodeSet::modify(), OrientedSubdomainBoundingBox::modify(), AddSideSetsFromBoundingBox::modify(), SubdomainBoundingBox::modify(), MultiAppMeshFunctionTransfer::MultiAppMeshFunctionTransfer(), MultiAppPostprocessorTransfer::MultiAppPostprocessorTransfer(), NearestNodeDistanceAux::NearestNodeDistanceAux(), NearestNodeValueAux::NearestNodeValueAux(), NodalBC::NodalBC(), NodalConstraint::NodalConstraint(), NodalEqualValueConstraint::NodalEqualValueConstraint(), NodalKernel::NodalKernel(), NodalVariableValue::NodalVariableValue(), NumDOFs::NumDOFs(), NumNonlinearIterations::NumNonlinearIterations(), XDA::output(), VTKOutput::output(), AdvancedOutput::outputElementalVariables(), AdvancedOutput::outputInput(), AdvancedOutput::outputNodalVariables(), AdvancedOutput::outputPostprocessors(), AdvancedOutput::outputScalarVariables(), AdvancedOutput::outputSystemInformation(), Console::outputVectorPostprocessors(), AdvancedOutput::outputVectorPostprocessors(), PiecewiseBilinear::parse(), ParsedAddSideset::ParsedAddSideset(), ParsedAux::ParsedAux(), ParsedODEKernel::ParsedODEKernel(), ParsedSubdomainMeshModifier::ParsedSubdomainMeshModifier(), PatternedMesh::PatternedMesh(), PhysicsBasedPreconditioner::PhysicsBasedPreconditioner(), Piecewise::Piecewise(), PiecewiseBilinear::PiecewiseBilinear(), PiecewiseLinearInterpolationMaterial::PiecewiseLinearInterpolationMaterial(), PiecewiseMultilinear::PiecewiseMultilinear(), SolutionUserObject::pointValueGradientWrapper(), SolutionUserObject::pointValueWrapper(), LStableDirk2::postStep(), LStableDirk3::postStep(), ImplicitMidpoint::postStep(), ExplicitTVDRK2::postStep(), AStableDirk4::postStep(), LStableDirk4::postStep(), ExplicitRK2::postStep(), Predictor::Predictor(), SolutionUserObject::readExodusII(), SolutionUserObject::readXda(), RelativeSolutionDifferenceNorm::RelativeSolutionDifferenceNorm(), RenameBlock::RenameBlock(), ScalarComponentIC::ScalarComponentIC(), BicubicSplineFunction::secondDerivative(), FEProblemBase::setCoordSystem(), Piecewise::setData(), EigenProblem::setEigenproblemType(), Sampler::setNumberOfRequiedRandomSeeds(), Split::setup(), TransientMultiApp::setupApp(), TimeSequenceStepperBase::setupSequence(), Transient::setupTimeIntegrator(), SideSetsFromNormals::SideSetsFromNormals(), SideSetsFromPoints::SideSetsFromPoints(), SolutionUserObject::SolutionUserObject(), FullSolveMultiApp::solveStep(), UserObject::spatialValue(), SphericalAverage::SphericalAverage(), StitchedMesh::StitchedMesh(), NodalUserObject::subdomainSetup(), GeneralUserObject::subdomainSetup(), Constraint::subdomainSetup(), Console::systemInfoFlags(), Terminator::Terminator(), TestSetupPostprocessorDataActionFunction::TestSetupPostprocessorDataActionFunction(), DiscreteElementUserObject::threadJoin(), GeneralUserObject::threadJoin(), Function::timeDerivative(), TimeExtremeValue::TimeExtremeValue(), TimePeriod::TimePeriod(), MultiAppCopyTransfer::transfer(), MultiAppMeshFunctionTransfer::transferVariable(), Transient::Transient(), TransientMultiApp::TransientMultiApp(), EqualValueBoundaryConstraint::updateConstrainedNodes(), SolutionUserObject::updateExodusBracketingTimeIndices(), Axisymmetric2D3DSolutionFunction::value(), ValueRangeMarker::ValueRangeMarker(), ValueThresholdMarker::ValueThresholdMarker(), MultiAppTransfer::variableIntegrityCheck(), VariableResidual::VariableResidual(), VariableTimeIntegrationAux::VariableTimeIntegrationAux(), VectorOfPostprocessors::VectorOfPostprocessors(), VectorPostprocessorFunction::VectorPostprocessorFunction(), MooseParsedGradFunction::vectorValue(), MooseParsedFunction::vectorValue(), and VolumeHistogram::VolumeHistogram().

81  {
82  std::ostringstream oss;
83  moose::internal::mooseStreamAll(oss, std::forward<Args>(args)...);
84  std::string msg = oss.str();
85  callMooseErrorRaw(msg, &_app);
86  }
void mooseStreamAll(std::ostringstream &ss)
Definition: MooseError.C:78
void callMooseErrorRaw(std::string &msg, MooseApp *app)
Definition: MooseObject.C:45
MooseApp & _app
The MooseApp this object is associated with.
Definition: MooseObject.h:108
template<typename... Args>
void MooseObject::mooseInfo ( Args &&...  args) const
inlineinherited

Definition at line 101 of file MooseObject.h.

102  {
103  moose::internal::mooseInfoStream(_console, std::forward<Args>(args)...);
104  }
void mooseInfoStream(S &oss, Args &&...args)
Definition: MooseError.h:145
const ConsoleStream _console
An instance of helper class to write streams to the Console objects.
template<typename... Args>
void MooseObject::mooseWarning ( Args &&...  args) const
inlineinherited
const std::string& MooseObject::name ( ) const
inlineinherited

Get the name of the object.

Returns
The name of the object

Definition at line 47 of file MooseObject.h.

Referenced by FEProblemBase::addDistribution(), FEProblemBase::addFunction(), FEProblemBase::addIndicator(), FEProblemBase::addInitialCondition(), FEProblemBase::addMarker(), FEProblemBase::addMaterial(), MooseMesh::addMortarInterface(), FEProblemBase::addMultiApp(), FEProblemBase::addPredictor(), FEProblemBase::addSampler(), FEProblemBase::addTransfer(), FEProblemBase::addUserObject(), Output::advancedExecuteOn(), MultiApp::appPostprocessorValue(), MultiApp::appProblem(), MultiApp::appProblemBase(), MultiApp::appUserObjectBase(), AStableDirk4::AStableDirk4(), Function::average(), FEProblemBase::checkDependMaterialsHelper(), Damper::checkMinDamping(), Material::checkStatefulSanity(), CompositeFunction::CompositeFunction(), Material::computeSubdomainProperties(), AuxKernel::coupledCallback(), AuxKernel::coupledDot(), AuxKernel::coupledDotDu(), MultiApp::createApp(), DGKernel::DGKernel(), AB2PredictorCorrector::estimateTimeError(), SolutionUserObject::evalMeshFunction(), SolutionUserObject::evalMeshFunctionGradient(), SolutionUserObject::evalMultiValuedMeshFunction(), SolutionUserObject::evalMultiValuedMeshFunctionGradient(), MultiAppPostprocessorTransfer::execute(), MultiAppPostprocessorInterpolationTransfer::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), MultiAppNearestNodeTransfer::execute(), PointValue::execute(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppVariableValueSampleTransfer::execute(), MultiAppMeshFunctionTransfer::execute(), MultiAppInterpolationTransfer::execute(), MultiAppUserObjectTransfer::execute(), MultiAppProjectionTransfer::execute(), MultiAppCopyTransfer::execute(), FileOutput::FileOutput(), MultiApp::fillPositions(), PointSamplerBase::finalize(), GeneralUserObject::GeneralUserObject(), MultiApp::getBoundingBox(), Control::getControllableParameterHelper(), Control::getControllableValue(), AuxKernel::getDependObjects(), MultiApp::getExecutioner(), OutputWarehouse::getFileNumbers(), SolutionUserObject::getLocalVarIndex(), AuxKernel::getMaterialProperty(), SubProblem::getMaterialPropertyBlockNames(), SubProblem::getMaterialPropertyBoundaryNames(), AuxKernel::getMaterialPropertyOld(), AuxKernel::getMaterialPropertyOlder(), OutputWarehouse::getOutput(), Transient::getTimeStepperName(), InitialCondition::getUserObject(), AuxKernel::getUserObject(), InitialCondition::getUserObjectByName(), AuxKernel::getUserObjectByName(), AdvancedOutput::hasOutputHelper(), FEProblemBase::init(), CSVReader::initialize(), MultiAppProjectionTransfer::initialSetup(), InitialCondition::initialSetup(), SolutionUserObject::initialSetup(), AdvancedOutput::initOutputList(), AdvancedOutput::initPostprocessorOrVectorPostprocessorLists(), Material::initStatefulProperties(), Function::integral(), IntegratedBC::IntegratedBC(), InterfaceKernel::InterfaceKernel(), KernelBase::KernelBase(), LinearCombinationFunction::LinearCombinationFunction(), Marker::Marker(), MaterialDerivativeTestKernelBase< T >::MaterialDerivativeTestKernelBase(), MaterialVectorPostprocessor::MaterialVectorPostprocessor(), ElementDeleterBase::modify(), NodalBC::NodalBC(), NodalEqualValueConstraint::NodalEqualValueConstraint(), NodalKernel::NodalKernel(), NodalValueSampler::NodalValueSampler(), NodalVariableValue::NodalVariableValue(), DOFMapOutput::output(), AdvancedOutput::outputElementalVariables(), AdvancedOutput::outputInput(), AdvancedOutput::outputNodalVariables(), ConsoleUtils::outputOutputInformation(), Nemesis::outputPostprocessors(), Exodus::outputPostprocessors(), AdvancedOutput::outputPostprocessors(), AdvancedOutput::outputScalarVariables(), AdvancedOutput::outputSystemInformation(), AdvancedOutput::outputVectorPostprocessors(), MooseObject::parameters(), Executioner::parentOutputPositionChanged(), ParsedAddSideset::ParsedAddSideset(), ParsedAux::ParsedAux(), ParsedODEKernel::ParsedODEKernel(), ParsedSubdomainMeshModifier::ParsedSubdomainMeshModifier(), PointSamplerBase::PointSamplerBase(), SubProblem::registerRecoverableData(), SubProblem::registerRestartableData(), Material::resetQpProperties(), Sampler::Sampler(), ScalarComponentIC::ScalarComponentIC(), MooseMesh::setBoundaryName(), Control::setControllableValue(), OutputWarehouse::setFileNumbers(), MooseMesh::setSubdomainName(), Split::setup(), TransientMultiApp::setupApp(), SideValueSampler::SideValueSampler(), TransientMultiApp::solveStep(), UserObject::spatialValue(), SphericalAverage::SphericalAverage(), StitchedMesh::StitchedMesh(), Function::timeDerivative(), TransientMultiApp::TransientMultiApp(), MultiAppTransfer::variableIntegrityCheck(), VariableResidual::VariableResidual(), and AdvancedOutput::wantOutput().

47 { return _name; }
const std::string & _name
The name of this object, reference to value stored in InputParameters.
Definition: MooseObject.h:114
unsigned int SubProblem::nLinearIterations ( )
virtualinherited

Reimplemented in FEProblemBase.

Definition at line 305 of file SubProblem.C.

Referenced by NumLinearIterations::getValue().

306 {
307  return 0;
308 }
DisplacedSystem& DisplacedProblem::nlSys ( )
inline

Definition at line 53 of file DisplacedProblem.h.

53 { return _displaced_nl; }
DisplacedSystem _displaced_nl
unsigned int SubProblem::nNonlinearIterations ( )
virtualinherited

Reimplemented in FEProblemBase.

Definition at line 299 of file SubProblem.C.

Referenced by NumNonlinearIterations::getValue().

300 {
301  return 0;
302 }
const CouplingMatrix& SubProblem::nonlocalCouplingMatrix ( ) const
inlineinherited

Definition at line 414 of file SubProblem.h.

414 { return _nonlocal_cm; }
CouplingMatrix _nonlocal_cm
Definition: SubProblem.h:420
void DisplacedProblem::onTimestepBegin ( )
overridevirtual

Implements SubProblem.

Definition at line 805 of file DisplacedProblem.C.

806 {
807 }
void DisplacedProblem::onTimestepEnd ( )
overridevirtual

Implements SubProblem.

Definition at line 810 of file DisplacedProblem.C.

811 {
812 }
const InputParameters& MooseObject::parameters ( ) const
inlineinherited
void DisplacedProblem::prepare ( const Elem *  elem,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 335 of file DisplacedProblem.C.

336 {
337  _assembly[tid]->reinit(elem);
338 
339  _displaced_nl.prepare(tid);
340  _displaced_aux.prepare(tid);
341  _assembly[tid]->prepare();
342 }
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:214
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 358 of file DisplacedProblem.C.

363 {
364  _assembly[tid]->reinit(elem);
365 
366  _displaced_nl.prepare(tid);
367  _displaced_aux.prepare(tid);
368  _assembly[tid]->prepareBlock(ivar, jvar, dof_indices);
369 }
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:214
void DisplacedProblem::prepareAssembly ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 396 of file DisplacedProblem.C.

397 {
398  _assembly[tid]->prepare();
399 }
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::prepareAssemblyNeighbor ( THREAD_ID  tid)
virtual

Definition at line 402 of file DisplacedProblem.C.

Referenced by reinitNeighborPhys().

403 {
404  _assembly[tid]->prepareNeighbor();
405 }
std::vector< std::unique_ptr< Assembly > > _assembly
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 386 of file DisplacedProblem.C.

391 {
392  _assembly[tid]->prepareBlockNonlocal(ivar, jvar, idof_indices, jdof_indices);
393 }
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::prepareFace ( const Elem *  elem,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 351 of file DisplacedProblem.C.

352 {
353  _displaced_nl.prepareFace(tid, true);
354  _displaced_aux.prepareFace(tid, false);
355 }
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:237
void DisplacedProblem::prepareFaceShapes ( unsigned int  var,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 729 of file DisplacedProblem.C.

730 {
731  _assembly[tid]->copyFaceShapes(var);
732 }
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::prepareNeighborShapes ( unsigned int  var,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 735 of file DisplacedProblem.C.

736 {
737  _assembly[tid]->copyNeighborShapes(var);
738 }
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::prepareNonlocal ( THREAD_ID  tid)
virtual

Definition at line 345 of file DisplacedProblem.C.

346 {
347  _assembly[tid]->prepareNonlocal();
348 }
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::prepareShapes ( unsigned int  var,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 723 of file DisplacedProblem.C.

724 {
725  _assembly[tid]->copyShapes(var);
726 }
std::vector< std::unique_ptr< Assembly > > _assembly
MooseMesh & DisplacedProblem::refMesh ( )

Definition at line 782 of file DisplacedProblem.C.

Referenced by updateMesh().

783 {
784  return _ref_mesh;
785 }
MooseMesh & _ref_mesh
reference mesh
void SubProblem::registerRestartableData ( std::string  name,
RestartableDataValue data,
THREAD_ID  tid 
)
virtualinherited

Register a piece of restartable data.

This is data that will get written / read to / from a restart file.

Parameters
nameThe full (unique) name.
dataThe actual data object.
tidThe thread id of the object. Use 0 if the object is not threaded.

Definition at line 411 of file SubProblem.C.

Referenced by Restartable::registerRestartableDataOnSubProblem().

412 {
413  _app.registerRestartableData(this->name() + "/" + name, data, tid);
414 }
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:47
virtual void registerRestartableData(std::string name, RestartableDataValue *data, THREAD_ID tid)
Definition: MooseApp.C:874
MooseApp & _app
The MooseApp this object is associated with.
Definition: MooseObject.h:108
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 408 of file DisplacedProblem.C.

409 {
410  std::vector<Point> & points = _dirac_kernel_info.getPoints()[elem].first;
411 
412  unsigned int n_points = points.size();
413 
414  if (n_points)
415  {
416  _assembly[tid]->reinitAtPhysical(elem, points);
417 
418  _displaced_nl.prepare(tid);
419  _displaced_aux.prepare(tid);
420 
421  reinitElem(elem, tid);
422  }
423 
424  _assembly[tid]->prepare();
425 
426  return n_points > 0;
427 }
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:214
DiracKernelInfo _dirac_kernel_info
Definition: SubProblem.h:425
virtual void reinitElem(const Elem *elem, THREAD_ID tid) override
void DisplacedProblem::reinitElem ( const Elem *  elem,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 430 of file DisplacedProblem.C.

Referenced by reinitDirac(), and reinitElemPhys().

431 {
432  _displaced_nl.reinitElem(elem, tid);
433  _displaced_aux.reinitElem(elem, tid);
434 }
virtual void reinitElem(const Elem *elem, THREAD_ID tid)
Reinit an element assembly info.
Definition: SystemBase.C:279
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
void DisplacedProblem::reinitElemFace ( const Elem *  elem,
unsigned int  side,
BoundaryID  bnd_id,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 454 of file DisplacedProblem.C.

458 {
459  _assembly[tid]->reinit(elem, side);
460  _displaced_nl.reinitElemFace(elem, side, bnd_id, tid);
461  _displaced_aux.reinitElemFace(elem, side, bnd_id, tid);
462 }
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:299
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
void DisplacedProblem::reinitElemPhys ( const Elem *  elem,
std::vector< Point >  phys_points_in_elem,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 437 of file DisplacedProblem.C.

440 {
441  std::vector<Point> points(phys_points_in_elem.size());
442  std::copy(phys_points_in_elem.begin(), phys_points_in_elem.end(), points.begin());
443 
444  _assembly[tid]->reinitAtPhysical(elem, points);
445 
446  _displaced_nl.prepare(tid);
447  _displaced_aux.prepare(tid);
448  _assembly[tid]->prepare();
449 
450  reinitElem(elem, tid);
451 }
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:214
virtual void reinitElem(const Elem *elem, THREAD_ID tid) override
void DisplacedProblem::reinitNeighbor ( const Elem *  elem,
unsigned int  side,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 495 of file DisplacedProblem.C.

496 {
497  const Elem * neighbor = elem->neighbor_ptr(side);
498  unsigned int neighbor_side = neighbor->which_neighbor_am_i(elem);
499 
500  _assembly[tid]->reinitElemAndNeighbor(elem, side, neighbor, neighbor_side);
501 
504 
505  _assembly[tid]->prepareNeighbor();
506 
507  BoundaryID bnd_id = 0; // some dummy number (it is not really used for anything, right now)
508  _displaced_nl.reinitElemFace(elem, side, bnd_id, tid);
509  _displaced_aux.reinitElemFace(elem, side, bnd_id, tid);
510 
511  _displaced_nl.reinitNeighborFace(neighbor, neighbor_side, bnd_id, tid);
512  _displaced_aux.reinitNeighborFace(neighbor, neighbor_side, bnd_id, tid);
513 }
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:310
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:299
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:271
boundary_id_type BoundaryID
Definition: MooseTypes.h:75
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 516 of file DisplacedProblem.C.

520 {
521  // Reinit shape functions
522  _assembly[tid]->reinitNeighborAtPhysical(neighbor, neighbor_side, physical_points);
523 
524  // Set the neighbor dof indices
527 
529 
530  // Compute values at the points
531  _displaced_nl.reinitNeighborFace(neighbor, neighbor_side, 0, tid);
532  _displaced_aux.reinitNeighborFace(neighbor, neighbor_side, 0, tid);
533 }
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:310
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:271
void DisplacedProblem::reinitNeighborPhys ( const Elem *  neighbor,
const std::vector< Point > &  physical_points,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 536 of file DisplacedProblem.C.

539 {
540  // Reinit shape functions
541  _assembly[tid]->reinitNeighborAtPhysical(neighbor, physical_points);
542 
543  // Set the neighbor dof indices
546 
548 
549  // Compute values at the points
550  _displaced_nl.reinitNeighbor(neighbor, tid);
551  _displaced_aux.reinitNeighbor(neighbor, tid);
552 }
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:271
virtual void reinitNeighbor(const Elem *elem, THREAD_ID tid)
Compute the values of the variables at all the current points.
Definition: SystemBase.C:321
void DisplacedProblem::reinitNode ( const Node *  node,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 465 of file DisplacedProblem.C.

466 {
467  _assembly[tid]->reinit(node);
468  _displaced_nl.reinitNode(node, tid);
469  _displaced_aux.reinitNode(node, tid);
470 }
virtual void reinitNode(const Node *node, THREAD_ID tid)
Reinit nodal assembly info.
Definition: SystemBase.C:329
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
void DisplacedProblem::reinitNodeFace ( const Node *  node,
BoundaryID  bnd_id,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 473 of file DisplacedProblem.C.

474 {
475  _assembly[tid]->reinit(node);
476  _displaced_nl.reinitNodeFace(node, bnd_id, tid);
477  _displaced_aux.reinitNodeFace(node, bnd_id, tid);
478 }
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:343
void DisplacedProblem::reinitNodeNeighbor ( const Node *  node,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 555 of file DisplacedProblem.C.

556 {
557  _assembly[tid]->reinitNodeNeighbor(node);
560 }
std::vector< std::unique_ptr< Assembly > > _assembly
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual void reinitNodeNeighbor(const Node *node, THREAD_ID tid)
Reinit nodal assembly info for neighbor node.
Definition: SystemBase.C:357
void DisplacedProblem::reinitNodes ( const std::vector< dof_id_type > &  nodes,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 481 of file DisplacedProblem.C.

482 {
483  _displaced_nl.reinitNodes(nodes, tid);
484  _displaced_aux.reinitNodes(nodes, tid);
485 }
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:371
void DisplacedProblem::reinitNodesNeighbor ( const std::vector< dof_id_type > &  nodes,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 488 of file DisplacedProblem.C.

489 {
492 }
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:382
void DisplacedProblem::reinitOffDiagScalars ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 570 of file DisplacedProblem.C.

571 {
572  _assembly[tid]->prepareOffDiagScalar();
573 }
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::reinitScalars ( THREAD_ID  tid)
overridevirtual

Implements SubProblem.

Definition at line 563 of file DisplacedProblem.C.

564 {
567 }
virtual void reinitScalars(THREAD_ID tid)
Reinit scalar varaibles.
Definition: SystemBase.C:393
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
void DisplacedProblem::restoreOldSolutions ( )
virtual

Restore old solutions from the backup vectors and deallocate them.

Definition at line 139 of file DisplacedProblem.C.

140 {
143 }
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual void restoreOldSolutions()
Restore the old and older solutions when the saved solutions present.
Definition: SystemBase.C:473
void DisplacedProblem::saveOldSolutions ( )
virtual

Allocate vectors and save old solutions into them.

Definition at line 132 of file DisplacedProblem.C.

133 {
136 }
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual void saveOldSolutions()
Save the old and older solutions.
Definition: SystemBase.C:459
void SubProblem::setActiveElementalMooseVariables ( const std::set< MooseVariable * > &  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 50 of file SubProblem.C.

Referenced by FEProblemBase::setActiveElementalMooseVariables().

52 {
53  if (!moose_vars.empty())
54  {
56  _active_elemental_moose_variables[tid] = moose_vars;
57  }
58 }
std::vector< std::set< MooseVariable * > > _active_elemental_moose_variables
This is the set of MooseVariables that will actually get reinited by a call to reinit(elem) ...
Definition: SubProblem.h:451
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:455
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 80 of file SubProblem.C.

Referenced by FEProblemBase::setActiveMaterialProperties().

81 {
82  if (!mat_prop_ids.empty())
83  _active_material_property_ids[tid] = mat_prop_ids;
84 }
std::vector< std::set< unsigned int > > _active_material_property_ids
Set of material property ids that determine whether materials get reinited.
Definition: SubProblem.h:458
void DisplacedProblem::setCurrentSubdomainID ( const Elem *  elem,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 372 of file DisplacedProblem.C.

373 {
374  SubdomainID did = elem->subdomain_id();
375  _assembly[tid]->setCurrentSubdomainID(did);
376 }
subdomain_id_type SubdomainID
Definition: MooseTypes.h:77
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::setNeighborSubdomainID ( const Elem *  elem,
unsigned int  side,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 379 of file DisplacedProblem.C.

380 {
381  SubdomainID did = elem->neighbor_ptr(side)->subdomain_id();
382  _assembly[tid]->setCurrentNeighborSubdomainID(did);
383 }
subdomain_id_type SubdomainID
Definition: MooseTypes.h:77
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::setResidual ( NumericVector< Number > &  residual,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 632 of file DisplacedProblem.C.

633 {
634  _assembly[tid]->setResidual(residual);
635 }
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::setResidualNeighbor ( NumericVector< Number > &  residual,
THREAD_ID  tid 
)
overridevirtual

Implements SubProblem.

Definition at line 638 of file DisplacedProblem.C.

639 {
640  _assembly[tid]->setResidualNeighbor(residual);
641 }
std::vector< std::unique_ptr< Assembly > > _assembly
void DisplacedProblem::solve ( )
overridevirtual

Implements SubProblem.

Definition at line 788 of file DisplacedProblem.C.

789 {
790 }
void SubProblem::storeDelayedCheckMatProp ( 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 244 of file SubProblem.C.

Referenced by MaterialPropertyInterface::checkMaterialProperty().

247 {
248  _map_block_material_props_check[block_id].insert(std::make_pair(requestor, name));
249 }
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:47
std::map< SubdomainID, std::multimap< std::string, std::string > > _map_block_material_props_check
Data structures of the requested material properties.
Definition: SubProblem.h:446
void SubProblem::storeDelayedCheckMatProp ( 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 252 of file SubProblem.C.

255 {
256  _map_boundary_material_props_check[boundary_id].insert(std::make_pair(requestor, name));
257 }
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:47
std::map< BoundaryID, std::multimap< std::string, std::string > > _map_boundary_material_props_check
Definition: SubProblem.h:447
void SubProblem::storeMatPropName ( 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 220 of file SubProblem.C.

Referenced by Material::registerPropName().

221 {
222  _map_block_material_props[block_id].insert(name);
223 }
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:47
std::map< SubdomainID, std::set< std::string > > _map_block_material_props
Map of material properties (block_id -> list of properties)
Definition: SubProblem.h:428
void SubProblem::storeMatPropName ( 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 226 of file SubProblem.C.

227 {
228  _map_boundary_material_props[boundary_id].insert(name);
229 }
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:47
std::map< BoundaryID, std::set< std::string > > _map_boundary_material_props
Map for boundary material properties (boundary_id -> list of properties)
Definition: SubProblem.h:431
void SubProblem::storeZeroMatProp ( 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 232 of file SubProblem.C.

Referenced by Material::getZeroMaterialProperty().

233 {
234  _zero_block_material_props[block_id].insert(name);
235 }
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:47
std::map< SubdomainID, std::set< MaterialPropertyName > > _zero_block_material_props
Set of properties returned as zero properties.
Definition: SubProblem.h:434
void SubProblem::storeZeroMatProp ( 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 238 of file SubProblem.C.

239 {
240  _zero_boundary_material_props[boundary_id].insert(name);
241 }
const std::string & name() const
Get the name of the object.
Definition: MooseObject.h:47
std::map< BoundaryID, std::set< MaterialPropertyName > > _zero_boundary_material_props
Definition: SubProblem.h:435
void DisplacedProblem::syncSolutions ( )
virtual

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

Definition at line 146 of file DisplacedProblem.C.

Referenced by updateMesh().

147 {
152 }
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:665
AuxiliarySystem & getAuxiliarySystem()
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 155 of file DisplacedProblem.C.

157 {
158  (*_displaced_nl.sys().solution) = soln;
159  (*_displaced_aux.sys().solution) = aux_soln;
162 }
virtual TransientExplicitSystem & sys()
DisplacedSystem _displaced_aux
DisplacedSystem _displaced_nl
virtual void update()
Update the system (doing libMesh magic)
Definition: SystemBase.C:665
virtual void Problem::terminateSolve ( )
inlinevirtualinherited

Allow objects to request clean termination of the solve.

Definition at line 45 of file Problem.h.

Referenced by Terminator::execute().

45 { _termination_requested = true; };
bool _termination_requested
True if termination of the solve has been requested.
Definition: Problem.h:61
void DisplacedProblem::undisplaceMesh ( )

Resets the displaced mesh to the reference mesh.

Required when refining the DisplacedMesh.

Definition at line 815 of file DisplacedProblem.C.

816 {
817  // If undisplaceMesh() is called during initial adaptivity, it is
818  // not valid to call _mesh.getActiveSemiLocalNodeRange() since it is
819  // not set up yet. So we are creating the Range by hand.
820  //
821  // We must undisplace *all* our nodes to the _ref_mesh
822  // configuration, not just the local ones, since the partitioners
823  // require this. We are using the GRAIN_SIZE=1 from MooseMesh.C,
824  // not sure how this value was decided upon.
825  //
826  // (DRG: The grainsize parameter is ultimately passed to TBB to help
827  // it choose how to split up the range. A grainsize of 1 says "split
828  // it as much as you want". Years ago I experimentally found that it
829  // didn't matter much and that using 1 was fine.)
830  //
831  // Note: we don't have to invalidate/update as much stuff as
832  // DisplacedProblem::updateMesh() does, since this will be handled
833  // by a later call to updateMesh().
834  NodeRange node_range(_mesh.getMesh().nodes_begin(),
835  _mesh.getMesh().nodes_end(),
836  /*grainsize=*/1);
837 
838  ResetDisplacedMeshThread rdmt(_mproblem, *this);
839 
840  // Undisplace the mesh using threads.
841  Threads::parallel_reduce(node_range, rdmt);
842 }
FEProblemBase & _mproblem
MeshBase & getMesh()
Accessor for the underlying libMesh Mesh object.
Definition: MooseMesh.C:2408
void DisplacedProblem::updateGeomSearch ( GeometricSearchData::GeometricSearchType  type = GeometricSearchData::ALL)
overridevirtual

Implements SubProblem.

Definition at line 741 of file DisplacedProblem.C.

742 {
744 }
GeometricSearchData _geometric_search_data
MatType type
void update(GeometricSearchType type=ALL)
Update all of the search objects.
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 165 of file DisplacedProblem.C.

166 {
167  Moose::perf_log.push("updateDisplacedMesh()", "Execution");
168 
169  unsigned int n_threads = libMesh::n_threads();
170 
171  syncSolutions();
172 
173  for (unsigned int i = 0; i < n_threads; ++i)
174  _assembly[i]->invalidateCache();
175 
178 
179  // If the displaced mesh has been serialized to one processor (as
180  // may have occurred if it was used for Exodus output), then we need
181  // the reference mesh to be also. For that matter, did anyone
182  // somehow serialize the whole mesh? Hopefully not but let's avoid
183  // causing errors if so.
184  if (_mesh.getMesh().is_serial() && !this->refMesh().getMesh().is_serial())
185  this->refMesh().getMesh().allgather();
186 
187  if (_mesh.getMesh().is_serial_on_zero() && !this->refMesh().getMesh().is_serial_on_zero())
188  this->refMesh().getMesh().gather_to_zero();
189 
191 
192  // We displace all nodes, not just semilocal nodes, because
193  // parallel-inconsistent mesh geometry makes libMesh cry.
194  NodeRange node_range(_mesh.getMesh().nodes_begin(),
195  _mesh.getMesh().nodes_end(),
196  /*grainsize=*/1);
197 
198  Threads::parallel_reduce(node_range, udmt);
199 
200  // Update the geometric searches that depend on the displaced mesh
202 
203  // Since the Mesh changed, update the PointLocator object used by DiracKernels.
205 
206  Moose::perf_log.pop("updateDisplacedMesh()", "Execution");
207 }
virtual const NumericVector< Number > *& currentSolution() override
The solution vector that is currently being operated on.
GeometricSearchData _geometric_search_data
NonlinearSystemBase & getNonlinearSystemBase()
FEProblemBase & _mproblem
std::vector< std::unique_ptr< Assembly > > _assembly
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:2408
PerfLog perf_log
Perflog to be used by applications.
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:425
void updatePointLocator(const MooseMesh &mesh)
Called during FEProblemBase::meshChanged() to update the PointLocator object used by the DiracKernels...
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 210 of file DisplacedProblem.C.

212 {
213  Moose::perf_log.push("updateDisplacedMesh()", "Execution");
214 
215  unsigned int n_threads = libMesh::n_threads();
216 
217  syncSolutions(soln, aux_soln);
218 
219  for (unsigned int i = 0; i < n_threads; ++i)
220  _assembly[i]->invalidateCache();
221 
222  _nl_solution = &soln;
223  _aux_solution = &aux_soln;
224 
226 
227  // We displace all nodes, not just semilocal nodes, because
228  // parallel-inconsistent mesh geometry makes libMesh cry.
229  NodeRange node_range(_mesh.getMesh().nodes_begin(),
230  _mesh.getMesh().nodes_end(),
231  /*grainsize=*/1);
232 
233  Threads::parallel_reduce(node_range, udmt);
234 
235  // Update the geometric searches that depend on the displaced mesh
237 
238  // Since the Mesh changed, update the PointLocator object used by DiracKernels.
240 
241  Moose::perf_log.pop("updateDisplacedMesh()", "Execution");
242 }
GeometricSearchData _geometric_search_data
FEProblemBase & _mproblem
std::vector< std::unique_ptr< Assembly > > _assembly
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:2408
PerfLog perf_log
Perflog to be used by applications.
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:425
void updatePointLocator(const MooseMesh &mesh)
Called during FEProblemBase::meshChanged() to update the PointLocator object used by the DiracKernels...
void DisplacedProblem::useFECache ( bool  fe_cache)
overridevirtual

Whether or not this problem should utilize FE shape function caching.

Parameters
fe_cacheTrue for using the cache false for not.

Implements SubProblem.

Definition at line 96 of file DisplacedProblem.C.

97 {
98  unsigned int n_threads = libMesh::n_threads();
99 
100  for (unsigned int i = 0; i < n_threads; ++i)
101  _assembly[i]->useFECache(
102  fe_cache); // fe caching is turned off for now for the displaced system.
103 }
virtual void useFECache(bool fe_cache) override
Whether or not this problem should utilize FE shape function caching.
std::vector< std::unique_ptr< Assembly > > _assembly

Friends And Related Function Documentation

friend class Restartable
friend

Definition at line 287 of file DisplacedProblem.h.

friend class UpdateDisplacedMeshThread
friend

Definition at line 286 of file DisplacedProblem.h.

Member Data Documentation

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

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

Definition at line 451 of file SubProblem.h.

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

std::vector<std::set<unsigned int> > SubProblem::_active_material_property_ids
protectedinherited
MooseApp& MooseObject::_app
protectedinherited

The MooseApp this object is associated with.

Definition at line 108 of file MooseObject.h.

Referenced by AB2PredictorCorrector::AB2PredictorCorrector(), Executioner::addAttributeReporter(), FEProblemBase::addMaterial(), FEProblemBase::addMultiApp(), FEProblemBase::allowOutput(), AStableDirk4::AStableDirk4(), FileMesh::buildMesh(), FEProblemBase::checkNonlinearConvergence(), OversampleOutput::cloneMesh(), FEProblemBase::computeJacobian(), FEProblemBase::computeResidualType(), Console::Console(), TimeStepper::constrainStep(), MultiApp::createApp(), EigenExecutionerBase::EigenExecutionerBase(), EigenKernel::EigenKernel(), InversePowerMethod::execute(), NonlinearEigen::execute(), Transient::execute(), Steady::execute(), FileOutput::FileOutput(), FEProblemBase::forceOutput(), MooseObject::getMooseApp(), 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(), InversePowerMethod::InversePowerMethod(), MooseObject::mooseError(), MooseMesh::MooseMesh(), NonlinearEigen::NonlinearEigen(), 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(), SubProblem::registerRecoverableData(), SubProblem::registerRestartableData(), FEProblemBase::setRestartFile(), TransientMultiApp::setupApp(), TimeSequenceStepperBase::setupSequence(), Transient::setupTimeIntegrator(), TransientMultiApp::solveStep(), FEProblemBase::subdomainSetup(), TimeExtremeValue::TimeExtremeValue(), TimePeriod::TimePeriod(), FEProblemBase::timestepSetup(), Transient::Transient(), and Console::write().

std::vector<std::unique_ptr<Assembly> > DisplacedProblem::_assembly
protected
const NumericVector<Number>* DisplacedProblem::_aux_solution
protected

Definition at line 279 of file DisplacedProblem.h.

Referenced by updateMesh().

bool Problem::_cli_option_found
protectedinherited

True if the CLI option is found.

Definition at line 51 of file Problem.h.

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

bool Problem::_color_output
protectedinherited

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

Definition at line 58 of file Problem.h.

const ConsoleStream ConsoleStreamInterface::_console
inherited

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

Definition at line 37 of file ConsoleStreamInterface.h.

Referenced by IterationAdaptiveDT::acceptStep(), CreateProblemAction::act(), SetupRecoverFileBaseAction::act(), Adaptivity::adaptMesh(), FEProblemBase::adaptMesh(), FEProblemBase::advanceMultiApps(), SimplePredictor::apply(), FEProblemBase::backupMultiApps(), FEProblemBase::checkProblemIntegrity(), IterationAdaptiveDT::computeAdaptiveDT(), Transient::computeConstrainedDT(), NonlinearSystemBase::computeDamping(), IterationAdaptiveDT::computeDT(), IterationAdaptiveDT::computeFailedDT(), IterationAdaptiveDT::computeInterpolationDT(), FEProblemBase::computeResidualType(), IterationAdaptiveDT::constrainStep(), TimeStepper::constrainStep(), AB2PredictorCorrector::converged(), FEProblemBase::execMultiApps(), FEProblemBase::execMultiAppTransfers(), MultiAppPostprocessorTransfer::execute(), MultiAppPostprocessorInterpolationTransfer::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), MultiAppNearestNodeTransfer::execute(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppVariableValueSampleTransfer::execute(), MultiAppUserObjectTransfer::execute(), MultiAppInterpolationTransfer::execute(), MultiAppMeshFunctionTransfer::execute(), MultiAppProjectionTransfer::execute(), MultiAppCopyTransfer::execute(), Steady::execute(), MultiAppDTKUserObjectTransfer::execute(), ActionWarehouse::executeActionsWithAction(), ActionWarehouse::executeAllActions(), 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(), DOFMapOutput::output(), VariableResidualNormsDebugOutput::output(), Console::output(), ControlOutput::outputActiveObjects(), ControlOutput::outputChangedControls(), ControlOutput::outputControls(), Console::outputInput(), Console::outputPostprocessors(), Console::outputScalarVariables(), Console::outputSystemInformation(), FEProblemBase::possiblyRebuildGeomSearchPatches(), EigenExecutionerBase::postExecute(), ActionWarehouse::printActionDependencySets(), EigenExecutionerBase::printEigenvalue(), MaterialPropertyDebugOutput::printMaterialMap(), SolutionTimeAdaptiveDT::rejectStep(), DT2::rejectStep(), FEProblemBase::restoreMultiApps(), SimplePredictor::shouldApply(), NonlinearSystem::solve(), LStableDirk2::solve(), LStableDirk3::solve(), ImplicitMidpoint::solve(), ExplicitTVDRK2::solve(), AStableDirk4::solve(), LStableDirk4::solve(), ExplicitRK2::solve(), TransientMultiApp::solveStep(), Transient::solveStep(), DT2::step(), AB2PredictorCorrector::step(), NonlinearEigen::takeStep(), FEProblemBase::useFECache(), Console::writeTimestepInformation(), Console::writeVariableNorms(), and FEProblemBase::~FEProblemBase().

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

nonlocal coupling matrix;

Type of coordinate system per subdomain

Definition at line 423 of file SubProblem.h.

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

DiracKernelInfo SubProblem::_dirac_kernel_info
protectedinherited
DisplacedSystem DisplacedProblem::_displaced_aux
protected
DisplacedSystem DisplacedProblem::_displaced_nl
protected
std::vector<std::string> DisplacedProblem::_displacements
protected

Definition at line 273 of file DisplacedProblem.h.

Referenced by UpdateDisplacedMeshThread::init().

const bool& MooseObject::_enabled
protectedinherited

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

Definition at line 117 of file MooseObject.h.

Referenced by MooseObject::enabled().

EquationSystems DisplacedProblem::_eq
protected

Definition at line 270 of file DisplacedProblem.h.

Referenced by init(), and meshChanged().

Factory& SubProblem::_factory
protectedinherited
GeometricSearchData DisplacedProblem::_geometric_search_data
protected

Definition at line 283 of file DisplacedProblem.h.

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

std::set<dof_id_type> SubProblem::_ghosted_elems
protectedinherited
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 455 of file SubProblem.h.

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

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 428 of file SubProblem.h.

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

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 446 of file SubProblem.h.

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

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 431 of file SubProblem.h.

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

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

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

Definition at line 438 of file SubProblem.h.

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

MooseMesh& DisplacedProblem::_mesh
protected

Definition at line 269 of file DisplacedProblem.h.

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

FEProblemBase& DisplacedProblem::_mproblem
protected
const std::string& MooseObject::_name
protectedinherited
const NumericVector<Number>* DisplacedProblem::_nl_solution
protected

Definition at line 278 of file DisplacedProblem.h.

Referenced by updateMesh().

CouplingMatrix SubProblem::_nonlocal_cm
protectedinherited
const InputParameters& MooseObject::_pars
protectedinherited
MooseMesh& DisplacedProblem::_ref_mesh
protected

reference mesh

Definition at line 272 of file DisplacedProblem.h.

Referenced by refMesh().

bool SubProblem::_requires_nonlocal_coupling
protectedinherited

nonlocal coupling requirement flag

Definition at line 461 of file SubProblem.h.

Referenced by FEProblemBase::checkNonlocalCoupling(), FEProblemBase::initialSetup(), and FEProblemBase::timestepSetup().

unsigned int SubProblem::_rz_coord_axis
protectedinherited

Storage for RZ axis selection.

Definition at line 467 of file SubProblem.h.

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

bool Problem::_termination_requested
protectedinherited

True if termination of the solve has been requested.

Definition at line 61 of file Problem.h.

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

std::map<std::string, std::vector<dof_id_type> > SubProblem::_var_dof_map
inherited
std::map<SubdomainID, std::set<MaterialPropertyName> > SubProblem::_zero_block_material_props
protectedinherited

Set of properties returned as zero properties.

Definition at line 434 of file SubProblem.h.

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

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

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