#include <DisplacedProblem.h>
Public Member Functions | |
| UpdateDisplacedMeshThread (FEProblemBase &fe_problem, DisplacedProblem &displaced_problem) | |
| UpdateDisplacedMeshThread (UpdateDisplacedMeshThread &x, Threads::split split) | |
| virtual void | onNode (NodeRange::const_iterator &nd) override |
| void | displaceNodesWithoutDofs () |
| Displace the nodes of elements on which a displacement variable has no degrees of freedom, such as the face and interior nodes of TRI7 or TET14 elements with SECOND order displacements, by interpolating the displacement from the other element nodes. | |
| void | join (const UpdateDisplacedMeshThread &y) |
| bool | hasDisplacement () |
| Whether the displaced mesh is modified by the latest call to operator() | |
| void | operator() (const NodeRange &range) |
| virtual void | pre () |
| Called before the node range loop. | |
| virtual void | post () |
| Called after the node range loop. | |
| virtual void | onNode (NodeRange::const_iterator &node_it) |
| Called for each node. | |
| virtual void | postNode (NodeRange::const_iterator &node_it) |
| Called after the node assembly is done (including surface assembling) | |
| virtual void | caughtMooseException (MooseException &e) |
| Called if a MooseException is caught anywhere during the computation. | |
| virtual bool | keepGoing () |
| Whether or not the loop should continue. | |
Protected Member Functions | |
| void | init () |
| virtual void | printGeneralExecutionInformation () const |
| Print information about the loop, mostly order of execution of objects. | |
| void | printExecutionOrdering (const std::vector< T * > &objs, const bool print_header=true, const std::string &line_prefix="[DBG]") const |
| Routine to output the ordering of objects within a vector of pointers to these objects. | |
Protected Attributes | |
| DisplacedProblem & | _displaced_problem |
| Diplaced problem. | |
| MooseMesh & | _ref_mesh |
| Original mesh. | |
| const std::vector< const NumericVector< Number > * > & | _nl_soln |
| Solution vectors of the nonlinear systems on the displaced problem. | |
| const NumericVector< Number > & | _aux_soln |
| Solution vector of the auxliary system on the displaced problem. | |
| std::map< unsigned int, std::pair< const NumericVector< Number > *, std::shared_ptr< NumericVector< Number > > > > | _sys_to_nonghost_and_ghost_soln |
| FEProblemBase & | _fe_problem |
| THREAD_ID | _tid |
Private Attributes | |
| std::map< unsigned int, std::pair< std::vector< unsigned int >, std::vector< unsigned int > > > | _sys_to_var_num_and_direction |
| To locate the system numbers, variable numbers of all displacement variables. | |
| bool | _has_displacement |
| A flag to be set by operator() for indicating whether the displaced mesh is indeed modified. | |
Definition at line 411 of file DisplacedProblem.h.
| DisplacedProblem::UpdateDisplacedMeshThread::UpdateDisplacedMeshThread | ( | FEProblemBase & | fe_problem, |
| DisplacedProblem & | displaced_problem | ||
| ) |
Definition at line 1421 of file DisplacedProblem.C.
| DisplacedProblem::UpdateDisplacedMeshThread::UpdateDisplacedMeshThread | ( | UpdateDisplacedMeshThread & | x, |
| Threads::split | split | ||
| ) |
Definition at line 1433 of file DisplacedProblem.C.
|
inlinevirtualinherited |
Called if a MooseException is caught anywhere during the computation.
The single input parameter taken is a MooseException object.
Definition at line 56 of file ThreadedNodeLoop.h.
| void DisplacedProblem::UpdateDisplacedMeshThread::displaceNodesWithoutDofs | ( | ) |
Displace the nodes of elements on which a displacement variable has no degrees of freedom, such as the face and interior nodes of TRI7 or TET14 elements with SECOND order displacements, by interpolating the displacement from the other element nodes.
This is not threaded because multiple elements sharing a face node write to it.
Definition at line 1543 of file DisplacedProblem.C.
Referenced by DisplacedProblem::updateMesh(), and DisplacedProblem::updateMesh().
|
inline |
Whether the displaced mesh is modified by the latest call to operator()
Definition at line 437 of file DisplacedProblem.h.
Referenced by DisplacedProblem::updateMesh(), and DisplacedProblem::updateMesh().
|
protected |
Definition at line 1447 of file DisplacedProblem.C.
Referenced by UpdateDisplacedMeshThread().
|
inline |
Definition at line 428 of file DisplacedProblem.h.
|
inlinevirtualinherited |
Whether or not the loop should continue.
Definition at line 69 of file ThreadedNodeLoop.h.
|
overridevirtual |
Definition at line 1506 of file DisplacedProblem.C.
|
virtualinherited |
|
inherited |
Definition at line 28 of file ThreadedNodeLoop.h.
|
virtualinherited |
|
virtualinherited |
Called after the node assembly is done (including surface assembling)
| node | - active node |
Definition at line 50 of file ThreadedNodeLoop.h.
|
virtualinherited |
|
protectedinherited |
Routine to output the ordering of objects within a vector of pointers to these objects.
These objects must implement the name() routine, and it must return a string or compatible type.
| T | the object type |
| objs | the vector with all the objects (should be pointers) |
| print_header | whether to print a header about the timing of execution and the type of objects |
| line_prefix | prefix to prepend to each line of the console output |
Definition at line 90 of file ThreadedNodeLoop.h.
|
inlineprotectedvirtualinherited |
Print information about the loop, mostly order of execution of objects.
Definition at line 76 of file ThreadedNodeLoop.h.
|
protected |
Solution vector of the auxliary system on the displaced problem.
Definition at line 456 of file DisplacedProblem.h.
|
protected |
Diplaced problem.
Definition at line 450 of file DisplacedProblem.h.
|
protectedinherited |
Definition at line 72 of file ThreadedNodeLoop.h.
|
private |
A flag to be set by operator() for indicating whether the displaced mesh is indeed modified.
Definition at line 472 of file DisplacedProblem.h.
Referenced by hasDisplacement(), and join().
|
protected |
Solution vectors of the nonlinear systems on the displaced problem.
Definition at line 454 of file DisplacedProblem.h.
|
protected |
|
protected |
Definition at line 463 of file DisplacedProblem.h.
|
private |
To locate the system numbers, variable numbers of all displacement variables.
Definition at line 468 of file DisplacedProblem.h.
|
protectedinherited |
Definition at line 73 of file ThreadedNodeLoop.h.