Linear system to be solved. More...
#include <LinearSystem.h>
Public Member Functions | |
| LinearSystem (FEProblemBase &problem, const std::string &name) | |
| virtual | ~LinearSystem () |
| virtual void | solve () override |
| Solve the system (using libMesh magic) | |
| virtual void | preInit () override |
| This is called prior to the libMesh system has been init'd. | |
| virtual bool | converged () override |
| At the moment, this is only used for the multi-system fixed point iteration. | |
| virtual void | initSolutionState () override |
| Initializes the solution state. | |
| virtual void | initialSetup () override |
| Setup Functions. | |
| virtual void | reinit () override |
| Reinitialize the system when the degrees of freedom in this system have changed. | |
| void | addKokkosKernel (const std::string &kernel_name, const std::string &name, InputParameters ¶meters) |
| Add a Kokkos linear finite volume kernel to this system. | |
| void | addKokkosBoundaryCondition (const std::string &bc_name, const std::string &name, InputParameters ¶meters) |
| Add a Kokkos linear finite volume boundary condition to this system. | |
| virtual void | residualSetup () override |
| virtual void | jacobianSetup () override |
| virtual void | stopSolve (const ExecFlagType &exec_flag, const std::set< TagID > &vector_tags_to_close) override |
| Quit the current solve as soon as possible. | |
| virtual bool | containsTimeKernel () override |
| If the system has a kernel that corresponds to a time derivative. | |
| virtual std::vector< std::string > | timeKernelVariableNames () override |
| Returns the names of the variables that have time derivative kernels in the system. | |
| void | computeLinearSystemTags (const std::set< TagID > &vector_tags, const std::set< TagID > &matrix_tags, const bool compute_gradients=true) |
| Compute the right hand side and the system matrix of the system for given tags. | |
| libMesh::LinearImplicitSystem & | linearImplicitSystem () |
| Return a reference to the stored linear implicit system. | |
| NumericVector< Number > & | getRightHandSideTimeVector () |
| Return a numeric vector that is associated with the time tag. | |
| NumericVector< Number > & | getRightHandSideNonTimeVector () |
| Return a numeric vector that is associated with the nontime tag. | |
| virtual void | augmentSparsity (SparsityPattern::Graph &sparsity, std::vector< dof_id_type > &n_nz, std::vector< dof_id_type > &n_oz) override |
| Will modify the sparsity pattern to add logical geometric connections. | |
| unsigned int | nLinearIterations () const |
| Return the number of linear iterations. | |
| virtual System & | system () override |
| Get the reference to the libMesh system. | |
| virtual const System & | system () const override |
| NumericVector< Number > & | getRightHandSideVector () |
| Fetching the right hand side vector from the libmesh system. | |
| const NumericVector< Number > & | getRightHandSideVector () const |
| SparseMatrix< Number > & | getSystemMatrix () |
| Fetching the system matrix from the libmesh system. | |
| const SparseMatrix< Number > & | getSystemMatrix () const |
| virtual void | compute (ExecFlagType type) override |
| Compute time derivatives, auxiliary variables, etc. | |
| void | computeGradients () |
| Compute and finalize all registered linear FV gradient fields. | |
| LinearFVGradientReader | registerFVGradient (unsigned int variable_number, const FVGradientMethod &method, unsigned int oldest_state=0) |
| Register a variable for gradient values produced by a method object. | |
| void | updateFVGradient (const LinearFVGradientReader &reader) |
| Update a registered gradient reader explicitly. | |
| virtual void | restoreSolutions () override final |
| Restore current solutions (call after your solve failed) | |
| void | serializeSolution () |
| void | setSolution (const NumericVector< Number > &soln) |
| Set the solution to a given vector. | |
| void | applyFixedPointRelaxation (const Real relaxation_factor, const Moose::SolutionIterationType iteration_type) |
| Apply solution under/over-relaxation for fixed point iterations. | |
| void | setPCSide (MooseEnum pcs) |
| Set the side on which the preconditioner is applied to. | |
| Moose::PCSideType | getPCSide () |
| Get the current preconditioner side. | |
| void | setMooseKSPNormType (MooseEnum kspnorm) |
| Set the norm in which the linear convergence will be measured. | |
| Moose::MooseKSPNormType | getMooseKSPNormType () |
| Get the norm in which the linear convergence is measured. | |
| virtual const NumericVector< Number > *const & | currentSolution () const override final |
| The solution vector that is currently being operated on. | |
| unsigned int | number () const |
| Gets the number of this system. | |
| MooseMesh & | mesh () |
| const MooseMesh & | mesh () const |
| SubProblem & | subproblem () |
| const SubProblem & | subproblem () const |
| FEProblemBase & | feProblem () |
| const FEProblemBase & | feProblem () const |
| void | applyScalingFactors (const std::vector< Real > &inverse_scaling_factors) |
| Applies scaling factors to the system's variables. | |
| bool | computingScalingJacobian () const |
| Whether we are computing an initial Jacobian for automatic variable scaling. | |
| bool | automaticScaling () const |
| Getter for whether we are performing automatic scaling. | |
| void | automaticScaling (bool automatic_scaling) |
| Setter for whether we are performing automatic scaling. | |
| void | setVerboseFlag (const bool &verbose) |
| Sets the verbose flag. | |
| virtual libMesh::DofMap & | dofMap () |
| Gets writeable reference to the dof map. | |
| virtual const libMesh::DofMap & | dofMap () const |
| Gets const reference to the dof map. | |
| virtual void | postInit () |
| virtual void | initializeObjects () |
| Called only once, just before the solve begins so objects can do some precalculations. | |
| void | update () |
| Update the system (doing libMesh magic) | |
| void | copyOldSolutions () |
| Copy the solution back in time (older -> old, etc). | |
| void | advanceStateHistory (Moose::SolutionIterationType iteration_type) |
| Advance solution vectors and additional system-owned state together. | |
| void | copyPreviousSolutions (const Moose::SolutionIterationType iteration_type) |
| Copy a specific type of solution back in time (current -> old -> older, etc). | |
| void | restoreStateHistory () |
| Restore solution vectors and additional system-owned state together. | |
| NumericVector< Number > & | solution () |
| const NumericVector< Number > & | solution () const |
| NumericVector< Number > & | solutionOld () |
| const NumericVector< Number > & | solutionOld () const |
| NumericVector< Number > & | solutionOlder () |
| const NumericVector< Number > & | solutionOlder () const |
| virtual const NumericVector< Number > * | solutionPreviousNewton () const |
| virtual NumericVector< Number > * | solutionPreviousNewton () |
| const std::vector< NumericVector< Number > * > & | getSolutionStates (const Moose::SolutionIterationType iteration_type) const |
| Get all of the solution states (current, old, ...) for the given iteration type. | |
| std::size_t | getNumSolutionStates (const Moose::SolutionIterationType iteration_type) const |
| Get the number of solution states (0 = current, 1 = current + old, ...) for the given iteration type. | |
| virtual NumericVector< Number > & | solutionState (const unsigned int state, Moose::SolutionIterationType iteration_type=Moose::SolutionIterationType::Time) |
| Get a state of the solution (0 = current, 1 = old, 2 = older, etc). | |
| virtual const NumericVector< Number > & | solutionState (const unsigned int state, Moose::SolutionIterationType iteration_type=Moose::SolutionIterationType::Time) const |
| Get a state of the solution (0 = current, 1 = old, 2 = older, etc). | |
| libMesh::ParallelType | solutionStateParallelType (const unsigned int state, const Moose::SolutionIterationType iteration_type) const |
| Returns the parallel type of the given solution state. | |
| virtual void | needSolutionState (const unsigned int state, Moose::SolutionIterationType iteration_type=Moose::SolutionIterationType::Time, libMesh::ParallelType parallel_type=GHOSTED) |
Registers that the solution state state is needed. | |
| virtual bool | hasSolutionState (const unsigned int state, Moose::SolutionIterationType iteration_type=Moose::SolutionIterationType::Time) const |
| Whether or not the system has the solution state (0 = current, 1 = old, 2 = older, etc). | |
| virtual void | addDotVectors () |
| Add u_dot, u_dotdot, u_dot_old and u_dotdot_old vectors if requested by the time integrator. | |
| virtual std::vector< Number > & | duDotDus () |
| virtual Number & | duDotDotDu () |
| virtual const Number & | duDotDotDu () const |
| virtual const Number & | duDotDu (unsigned int var_num=0) const |
| virtual NumericVector< Number > * | solutionUDot () |
| virtual const NumericVector< Number > * | solutionUDot () const |
| virtual NumericVector< Number > * | solutionUDotDot () |
| virtual const NumericVector< Number > * | solutionUDotDot () const |
| virtual NumericVector< Number > * | solutionUDotOld () |
| virtual const NumericVector< Number > * | solutionUDotOld () const |
| virtual NumericVector< Number > * | solutionUDotDotOld () |
| virtual const NumericVector< Number > * | solutionUDotDotOld () const |
| virtual void | saveOldSolutions () |
| Save the old and older solutions. | |
| virtual void | restoreOldSolutions () |
| Restore the old and older solutions when the saved solutions present. | |
| bool | hasVector (const std::string &tag_name) const |
| Check if the named vector exists in the system. | |
| virtual bool | hasVector (TagID tag_id) const |
| Check if the tagged vector exists in the system. | |
| virtual TagID | timeVectorTag () const |
| Ideally, we should not need this API. | |
| virtual TagID | nonTimeVectorTag () const |
| virtual TagID | residualVectorTag () const |
| virtual std::set< TagID > | defaultVectorTags () const |
| Get the default vector tags associated with this system. | |
| virtual std::set< TagID > | defaultMatrixTags () const |
| Get the default matrix tags associted with this system. | |
| virtual void | associateVectorToTag (NumericVector< Number > &vec, TagID tag) |
| Associate a vector for a given tag. | |
| virtual void | disassociateVectorFromTag (NumericVector< Number > &vec, TagID tag) |
| Disassociate a given vector from a given tag. | |
| virtual void | disassociateVectorFromTag (TagID tag) |
| Disassociate any vector that is associated with a given tag. | |
| virtual void | disassociateDefaultVectorTags () |
| Disassociate the vectors associated with the default vector tags of this system. | |
| virtual bool | hasMatrix (TagID tag) const |
| Check if the tagged matrix exists in the system. | |
| virtual libMesh::SparseMatrix< Number > & | getMatrix (TagID tag) |
| Get a raw SparseMatrix. | |
| virtual const libMesh::SparseMatrix< Number > & | getMatrix (TagID tag) const |
| Get a raw SparseMatrix. | |
| virtual void | activateAllMatrixTags () |
| Make all existing matrices active. | |
| virtual bool | matrixTagActive (TagID tag) const |
| If or not a matrix tag is active. | |
| virtual void | deactivateAllMatrixTags () |
| Make matrices inactive. | |
| void | closeTaggedMatrices (const std::set< TagID > &tags) |
| Close all matrices associated the tags. | |
| void | flushTaggedMatrices (const std::set< TagID > &tags) |
| flushes all matrices associated to tags. | |
| virtual void | associateMatrixToTag (libMesh::SparseMatrix< Number > &matrix, TagID tag) |
| Associate a matrix to a tag. | |
| virtual void | disassociateMatrixFromTag (libMesh::SparseMatrix< Number > &matrix, TagID tag) |
| Disassociate a matrix from a tag. | |
| virtual void | disassociateMatrixFromTag (TagID tag) |
| Disassociate any matrix that is associated with a given tag. | |
| virtual void | disassociateDefaultMatrixTags () |
| Disassociate the matrices associated with the default matrix tags of this system. | |
| virtual NumericVector< Number > & | serializedSolution () |
| Returns a reference to a serialized version of the solution vector for this subproblem. | |
| virtual NumericVector< Number > & | residualCopy () |
| virtual NumericVector< Number > & | residualGhosted () |
| virtual void | augmentSendList (std::vector< dof_id_type > &send_list) |
| Will modify the send_list to add all of the extra ghosted dofs for this system. | |
| virtual void | addVariable (const std::string &var_type, const std::string &var_name, InputParameters ¶meters) |
| Canonical method for adding a variable. | |
| virtual bool | isArrayVariable (const std::string &var_name) const |
| If a variable is an array variable. | |
| virtual bool | isScalarVariable (unsigned int var_name) const |
| MooseVariableFieldBase & | getVariable (THREAD_ID tid, const std::string &var_name) const |
| Gets a reference to a variable of with specified name. | |
| MooseVariableFieldBase & | getVariable (THREAD_ID tid, unsigned int var_number) const |
| Gets a reference to a variable with specified number. | |
| template<typename T > | |
| MooseVariableFE< T > & | getFieldVariable (THREAD_ID tid, const std::string &var_name) |
| Gets a reference to a variable of with specified name. | |
| template<typename T > | |
| MooseVariableFE< T > & | getFieldVariable (THREAD_ID tid, unsigned int var_number) |
| Gets a reference to a variable with specified number. | |
| template<typename T > | |
| MooseVariableField< T > & | getActualFieldVariable (THREAD_ID tid, const std::string &var_name) |
| Returns a field variable pointer - this includes finite volume variables. | |
| template<typename T > | |
| MooseVariableField< T > & | getActualFieldVariable (THREAD_ID tid, unsigned int var_number) |
| Returns a field variable pointer - this includes finite volume variables. | |
| template<typename T > | |
| MooseVariableFV< T > & | getFVVariable (THREAD_ID tid, const std::string &var_name) |
| Return a finite volume variable. | |
| virtual MooseVariableScalar & | getScalarVariable (THREAD_ID tid, const std::string &var_name) const |
| Gets a reference to a scalar variable with specified number. | |
| virtual MooseVariableScalar & | getScalarVariable (THREAD_ID tid, unsigned int var_number) const |
| Gets a reference to a variable with specified number. | |
| virtual const std::set< SubdomainID > * | getVariableBlocks (unsigned int var_number) |
| Get the block where a variable of this system is defined. | |
| virtual unsigned int | nVariables () const |
| Get the number of variables in this system. | |
| unsigned int | nFieldVariables () const |
| Get the number of field variables in this system. | |
| unsigned int | nFVVariables () const |
| Get the number of finite volume variables in this system. | |
| std::size_t | getMaxVarNDofsPerElem () const |
| Gets the maximum number of dofs used by any one variable on any one element. | |
| std::size_t | getMaxVarNDofsPerNode () const |
| Gets the maximum number of dofs used by any one variable on any one node. | |
| void | assignMaxVarNDofsPerElem (std::size_t max_dofs) |
| assign the maximum element dofs | |
| void | assignMaxVarNDofsPerNode (std::size_t max_dofs) |
| assign the maximum node dofs | |
| virtual void | addVariableToZeroOnResidual (std::string var_name) |
| Adds this variable to the list of variables to be zeroed during each residual evaluation. | |
| virtual void | addVariableToZeroOnJacobian (std::string var_name) |
| Adds this variable to the list of variables to be zeroed during each Jacobian evaluation. | |
| virtual void | zeroVariables (std::vector< std::string > &vars_to_be_zeroed) |
| Zero out the solution for the list of variables passed in. | |
| virtual void | zeroVariablesForResidual () |
| Zero out the solution for the variables that were registered as needing to have their solutions zeroed on out on residual evaluation by a call to addVariableToZeroOnResidual() | |
| virtual void | zeroVariablesForJacobian () |
| Zero out the solution for the variables that were registered as needing to have their solutions zeroed on out on Jacobian evaluation by a call to addVariableToZeroOnResidual() | |
| virtual libMesh::Order | getMinQuadratureOrder () |
| Get minimal quadrature order needed for integrating variables in this system. | |
| virtual void | prepare (THREAD_ID tid) |
| Prepare the system for use. | |
| virtual void | prepareFace (THREAD_ID tid, bool resize_data) |
| Prepare the system for use on sides. | |
| virtual void | prepareNeighbor (THREAD_ID tid) |
| Prepare the system for use. | |
| virtual void | prepareLowerD (THREAD_ID tid) |
| Prepare the system for use for lower dimensional elements. | |
| virtual void | reinitElem (const Elem *elem, THREAD_ID tid) |
| Reinit an element assembly info. | |
| virtual void | reinitElemFace (const Elem *elem, unsigned int side, THREAD_ID tid) |
| Reinit assembly info for a side of an element. | |
| virtual void | reinitNeighborFace (const Elem *elem, unsigned int side, THREAD_ID tid) |
| Compute the values of the variables at all the current points. | |
| virtual void | reinitNeighbor (const Elem *elem, THREAD_ID tid) |
| Compute the values of the variables at all the current points. | |
| virtual void | reinitLowerD (THREAD_ID tid) |
| Compute the values of the variables on the lower dimensional element. | |
| virtual void | reinitNode (const Node *node, THREAD_ID tid) |
| Reinit nodal assembly info. | |
| virtual void | reinitNodeFace (const Node *node, BoundaryID bnd_id, THREAD_ID tid) |
| Reinit nodal assembly info on a face. | |
| virtual void | reinitNodes (const std::vector< dof_id_type > &nodes, THREAD_ID tid) |
| Reinit variables at a set of nodes. | |
| virtual void | reinitNodesNeighbor (const std::vector< dof_id_type > &nodes, THREAD_ID tid) |
| Reinit variables at a set of neighbor nodes. | |
| virtual void | reinitScalars (THREAD_ID tid, bool reinit_for_derivative_reordering=false) |
| Reinit scalar varaibles. | |
| virtual void | addVariableToCopy (const std::string &dest_name, const std::string &source_name, const std::string ×tep) |
| Add info about variable that will be copied. | |
| const std::vector< MooseVariableFieldBase * > & | getVariables (THREAD_ID tid) |
| const VariableWarehouse & | variableWarehouse (THREAD_ID tid=0) const |
| const std::vector< MooseVariableScalar * > & | getScalarVariables (THREAD_ID tid) |
| const std::set< SubdomainID > & | getSubdomainsForVar (unsigned int var_number) const |
| const std::set< SubdomainID > & | getSubdomainsForVar (const std::string &var_name) const |
| Get the block where a variable of this system is defined. | |
| void | removeVector (const std::string &name) |
| Remove a vector from the system with the given name. | |
| void | removeVector (TagID tag_id) |
| Remove a solution length vector from the system with the specified TagID. | |
| NumericVector< Number > & | addVector (const std::string &vector_name, const bool project, const libMesh::ParallelType type) |
| Adds a solution length vector to the system. | |
| NumericVector< Number > & | addVector (TagID tag, const bool project, const libMesh::ParallelType type) |
| Adds a solution length vector to the system with the specified TagID. | |
| void | closeTaggedVector (const TagID tag) |
| Close vector with the given tag. | |
| void | closeTaggedVectors (const std::set< TagID > &tags) |
| Close all vectors for given tags. | |
| void | zeroTaggedVector (const TagID tag) |
| Zero vector with the given tag. | |
| void | zeroTaggedVectors (const std::set< TagID > &tags) |
| Zero all vectors for given tags. | |
| void | setVariableGlobalDoFs (const std::string &var_name) |
| set all the global dof indices for a variable | |
| const std::vector< dof_id_type > & | getVariableGlobalDoFs () |
Get the global dof indices of a variable, this needs to be called after the indices have been set by setVariableGlobalDoFs | |
| libMesh::SparseMatrix< Number > & | addMatrix (TagID tag) |
| Adds a matrix with a given tag. | |
| void | removeMatrix (TagID tag) |
| Removes a matrix with a given tag. | |
| virtual const std::string & | name () const |
| const std::vector< VariableName > & | getVariableNames () const |
| void | getStandardFieldVariableNames (std::vector< VariableName > &std_field_variables) const |
| unsigned int | getMaxVariableNumber () const |
| Returns the maximum number of all variables on the system. | |
| virtual void | computeVariables (const NumericVector< Number > &) |
| void | copyVars (libMesh::ExodusII_IO &io) |
| virtual void | copySolutionsBackwards () |
| Copy current solution into old and older. | |
| void | copyStateHistoryBackwards () |
| Copy solution vectors and additional system-owned state into older states. | |
| void | addTimeIntegrator (const std::string &type, const std::string &name, InputParameters ¶meters) |
| bool | hasVarCopy () const |
| Whether or not there are variables to be restarted from an Exodus mesh file. | |
| void | addScalingVector () |
| Add the scaling factor vector to the system. | |
| bool | solutionStatesInitialized () const |
| Whether or not the solution states have been initialized via initSolutionState() | |
| virtual void | timestepSetup () |
| virtual void | customSetup (const ExecFlagType &exec_type) |
| virtual void | subdomainSetup () |
| void | clearAllDofIndices () |
| Clear all dof indices from moose variables. | |
| void | setActiveVariableCoupleableVectorTags (const std::set< TagID > &vtags, THREAD_ID tid) |
| Set the active vector tags for the variables. | |
| void | setActiveScalarVariableCoupleableVectorTags (const std::set< TagID > &vtags, THREAD_ID tid) |
| Set the active vector tags for the scalar variables. | |
| Moose::VarKindType | varKind () const |
| void | copyTimeIntegrators (const SystemBase &other_sys) |
| Copy time integrators from another system. | |
| const TimeIntegrator & | getTimeIntegrator (const unsigned int var_num) const |
| Retrieve the time integrator that integrates the given variable's equation. | |
| const TimeIntegrator * | queryTimeIntegrator (const unsigned int var_num) const |
| Retrieve the time integrator that integrates the given variable's equation. | |
| const std::vector< std::shared_ptr< TimeIntegrator > > & | getTimeIntegrators () |
| std::string | prefix () const |
| void | sizeVariableMatrixData () |
| size the matrix data for each variable for the number of matrix tags we have | |
| void | skipNextSolutionToOldCopy () |
| Skip the next copy from the solution vector to the old solution vector old -> older is still performed. | |
| const Parallel::Communicator & | comm () const |
| processor_id_type | n_processors () const |
| processor_id_type | processor_id () const |
| PerfGraph & | perfGraph () |
| Get the PerfGraph. | |
| const FVGradientMethod & | resolveFVGradientMethod (const GradientMethodName &method_name) |
| Resolve a named gradient method, constructing a built-in method when needed. | |
| TagID | rightHandSideTimeVectorTag () const |
| TagID | rightHandSideNonTimeVectorTag () const |
| TagID | rightHandSideVectorTag () const |
| virtual TagID | systemMatrixTag () const override |
| Return the Matrix Tag ID for System. | |
| virtual NumericVector< Number > & | getVector (const std::string &name) |
| Get a raw NumericVector by name. | |
| virtual const NumericVector< Number > & | getVector (const std::string &name) const |
| virtual NumericVector< Number > & | getVector (TagID tag) |
| Get a raw NumericVector by tag. | |
| virtual const NumericVector< Number > & | getVector (TagID tag) const |
| virtual bool | hasVariable (const std::string &var_name) const |
| Query a system for a variable. | |
| virtual bool | hasScalarVariable (const std::string &var_name) const |
Static Public Member Functions | |
| static InputParameters | validParams () |
Public Attributes | |
| const ConsoleStream | _console |
| An instance of helper class to write streams to the Console objects. | |
Protected Types | |
| using | GradientContainer = LinearFVGradientReader::GradientContainer |
| Non-owning view with one vector per spatial component of a cell-centered gradient field. | |
| using | GradientStateContainer = LinearFVGradientReader::GradientStateContainer |
| Gradient fields indexed by solution time state. | |
| using | OwnedGradientContainer = std::vector< std::unique_ptr< libMesh::NumericVector< libMesh::Number > > > |
| Owned vectors used for the current gradient and its replacement. | |
Protected Member Functions | |
| virtual void | copyAdditionalStateBackwards (Moose::SolutionIterationType iteration_type, bool skip_current_to_old) override |
| Copy system-owned state not represented by solution vectors. | |
| virtual void | restoreAdditionalStates () override |
| Restore system-owned state not represented by solution vectors. | |
| void | computeLinearSystemInternal (const std::set< TagID > &vector_tags, const std::set< TagID > &matrix_tags, const bool compute_gradients=true) |
| Compute the right hand side and system matrix for given tags. | |
| void | initialSetupKokkosLinearFV () |
| Perform the initial setup of the Kokkos linear finite volume kernels and boundary conditions. | |
| void | computeKokkosLinearSystem (const std::set< TagID > &vector_tags, const std::set< TagID > &matrix_tags) |
| Assemble the Kokkos contributions to the linear system for the given tags. | |
| void | checkInvalidSolution () |
| virtual NumericVector< Number > & | solutionInternal () const override final |
| Internal getter for solution owned by libMesh. | |
| virtual bool | matrixFromColoring () const |
| Whether a system matrix is formed from coloring. | |
| PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level) const |
| Call to register a named section for timing. | |
| PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level, const std::string &live_message, const bool print_dots=true) const |
| Call to register a named section for timing. | |
| std::string | timedSectionName (const std::string §ion_name) const |
| void | initializeLinearFVGradientStorage () |
| Initialize private current and replacement gradient storage. | |
| void | initializeLinearFVGradientHistoryStorage () |
| Register named system vectors for requested historical gradient states. | |
| void | rebuildLinearFVGradientStorage () |
| Rebuild cached gradient values and reusable scratch storage after mesh/DOF changes. | |
| void | copyPreviousGradientStates (Moose::SolutionIterationType iteration_type, bool skip_current_to_old) |
| Copy published gradient values into requested older states. | |
| void | restoreGradientStates () |
| Restore current gradients from state one after a failed timestep. | |
| bool | hasLinearFVGradients () const |
| Whether any linear finite-volume gradient fields have been registered to this object. | |
| void | initializeContainer (OwnedGradientContainer &container) const |
| Allocate one zeroed vector per spatial component for gradient storage. | |
| void | resizeGradientStateStorage (LinearFVGradientContainer &container, unsigned int oldest_state) |
| Ensure that a method container stores every requested time state. | |
| void | setCurrentGradientState (LinearFVGradientContainer &container) const |
| Set solution state zero to the current gradient. | |
| void | checkRestartedGradientHistory (const FVGradientMethod &method, LinearFVGradientContainer &container) |
| Validate and mark gradient history loaded during restart or recovery. | |
| void | initializeGradientStatesForTimeAdvance () |
| Compute and publish uninitialized gradients before their first time-state advancement. | |
| LinearFVGradientContainer & | computeLinearFVGradientContainer (const FVGradientMethod &method) |
| Compute replacement field values for a registered gradient method. | |
| void | finalizeLinearFVGradientContainer (LinearFVGradientContainer &container) |
| Replace the current gradient storage with the freshly computed new gradients. | |
Static Protected Member Functions | |
| static std::string | gradientStateVectorName (const FVGradientMethod &method, unsigned int state, unsigned int component) |
| Return the stable system-vector name for one old gradient component. | |
Protected Attributes | |
| System & | _sys |
| Base class reference to the libmesh system. | |
| unsigned int | _current_l_its |
| The linear iterations needed for convergence. | |
| std::set< TagID > | _vector_tags |
| Vector tags to temporarily store all tags associated with the current system. | |
| std::set< TagID > | _matrix_tags |
| Matrix tags to temporarily store all tags associated with the current system. | |
| TagID | _rhs_time_tag |
| Tag for time contribution rhs. | |
| NumericVector< Number > * | _rhs_time |
| right hand side vector for time contributions | |
| TagID | _rhs_non_time_tag |
| Tag for non-time contribution rhs. | |
| NumericVector< Number > * | _rhs_non_time |
| right hand side vector for non-time contributions | |
| TagID | _rhs_tag |
| Used for the right hand side vector from PETSc. | |
| TagID | _system_matrix_non_time_tag |
| Tag for non-time contribution to the system matrix. | |
| TagID | _system_matrix_tag |
| Tag for every contribution to system matrix. | |
| unsigned int | _n_linear_iters |
| Number of linear iterations. | |
| Real | _initial_linear_residual |
| The initial linear residual. | |
| Real | _final_linear_residual |
| The final linear residual. | |
| bool | _converged |
| If the solve on the linear system converged. | |
| libMesh::LinearImplicitSystem & | _linear_implicit_system |
| Base class reference to the linear implicit system in libmesh. | |
| const NumericVector< Number > * | _current_solution |
| solution vector from solver | |
| Moose::PCSideType | _pc_side |
| Preconditioning side. | |
| Moose::MooseKSPNormType | _ksp_norm |
| KSP norm type. | |
| bool | _solution_is_invalid |
| Boolean to see if solution is invalid. | |
| SubProblem & | _subproblem |
| The subproblem for whom this class holds variable data, etc; this can either be the governing finite element/volume problem or a subjugate displaced problem. | |
| FEProblemBase & | _fe_problem |
| the governing finite element/volume problem | |
| MooseApp & | _app |
| Factory & | _factory |
| MooseMesh & | _mesh |
| std::string | _name |
| The name of this system. | |
| std::vector< VariableWarehouse > | _vars |
| Variable warehouses (one for each thread) | |
| std::map< unsigned int, std::set< SubdomainID > > | _var_map |
| Map of variables (variable id -> array of subdomains where it lives) | |
| unsigned int | _max_var_number |
| Maximum variable number. | |
| std::vector< std::string > | _vars_to_be_zeroed_on_residual |
| std::vector< std::string > | _vars_to_be_zeroed_on_jacobian |
| NumericVector< Number > * | _u_dot |
| solution vector for u^dot | |
| NumericVector< Number > * | _u_dotdot |
| solution vector for u^dotdot | |
| NumericVector< Number > * | _u_dot_old |
| old solution vector for u^dot | |
| NumericVector< Number > * | _u_dotdot_old |
| old solution vector for u^dotdot | |
| std::vector< Real > | _du_dot_du |
| Derivative of time derivative of u with respect to uj. | |
| Real | _du_dotdot_du |
| std::vector< NumericVector< Number > * > | _tagged_vectors |
| Tagged vectors (pointer) | |
| std::vector< libMesh::SparseMatrix< Number > * > | _tagged_matrices |
| Tagged matrices (pointer) | |
| std::unordered_map< TagID, libMesh::SparseMatrix< Number > * > | _active_tagged_matrices |
| Active tagged matrices. A matrix is active if its tag-matrix pair is present in the map. We use a map instead of a vector so that users can easily add and remove to this container with calls to (de)activateMatrixTag. | |
| std::vector< bool > | _matrix_tag_active_flags |
| Active flags for tagged matrices. | |
| NumericVector< Real > * | _saved_old |
| NumericVector< Real > * | _saved_older |
| NumericVector< Real > * | _saved_dot_old |
| NumericVector< Real > * | _saved_dotdot_old |
| Moose::VarKindType | _var_kind |
| default kind of variables in this system | |
| std::vector< VarCopyInfo > | _var_to_copy |
| size_t | _max_var_n_dofs_per_elem |
| Maximum number of dofs for any one variable on any one element. | |
| size_t | _max_var_n_dofs_per_node |
| Maximum number of dofs for any one variable on any one node. | |
| std::vector< std::shared_ptr< TimeIntegrator > > | _time_integrators |
| Time integrator. | |
| std::vector< std::vector< MooseVariableFieldBase * > > | _numbered_vars |
| Map variable number to its pointer. | |
| bool | _automatic_scaling |
| Whether to automatically scale the variables. | |
| bool | _verbose |
| True if printing out additional information. | |
| bool | _solution_states_initialized |
| Whether or not the solution states have been initialized. | |
| std::vector< dof_id_type > | _var_all_dof_indices |
| Container for the dof indices of a given variable. | |
| std::unique_ptr< NumericVector< Number > > | _serialized_solution |
| Serialized version of the solution vector, or nullptr if a serialized solution is not needed. | |
| const Parallel::Communicator & | _communicator |
| MooseApp & | _pg_moose_app |
| The MooseApp that owns the PerfGraph. | |
| const std::string | _prefix |
| A prefix to use for all sections. | |
| std::unordered_map< const FVGradientMethod *, LinearFVGradientContainer > | _linear_fv_gradient_container_by_method |
| Gradient containers keyed by the method object that produces them. | |
Private Member Functions | |
| std::vector< NumericVector< Number > * > & | getSolutionStates (const Moose::SolutionIterationType iteration_type) |
| Get all of the solution states (current, old, ...) for the given iteration type. | |
| TagName | oldSolutionStateVectorName (const unsigned int, Moose::SolutionIterationType iteration_type) const |
| Gets the vector name used for an old (not current) solution state. | |
Private Attributes | |
| std::vector< NumericVector< Number > * > | _solution_state |
| The current states of the solution (0 = current, 1 = old, etc) | |
| std::array< std::vector< NumericVector< Number > * >, static_cast< size_t >(Moose::SolutionIterationType::Count)> | _solution_states |
| 2D array of solution state vector pointers. | |
| std::vector< NumericVector< Number > * > | _saved_solution_states |
| The saved solution states (0 = current, 1 = old, 2 = older, etc) | |
| bool | _skip_next_solution_to_old_copy |
| Whether to skip the next copy from the solution to the old vector. | |
Linear system to be solved.
Definition at line 47 of file LinearSystem.h.
|
protectedinherited |
Non-owning view with one vector per spatial component of a cell-centered gradient field.
Definition at line 65 of file LinearFVGradientManager.h.
|
protectedinherited |
Gradient fields indexed by solution time state.
Definition at line 68 of file LinearFVGradientManager.h.
|
protectedinherited |
Owned vectors used for the current gradient and its replacement.
Definition at line 71 of file LinearFVGradientManager.h.
| LinearSystem::LinearSystem | ( | FEProblemBase & | problem, |
| const std::string & | name | ||
| ) |
Definition at line 75 of file LinearSystem.C.
|
virtualdefault |
|
virtualinherited |
Make all existing matrices active.
Definition at line 1128 of file SystemBase.C.
Referenced by NonlinearSystemBase::computeJacobianInternal(), computeLinearSystemInternal(), NonlinearSystemBase::computeResidualAndJacobianInternal(), and NonlinearSystemBase::computeResidualTags().
|
virtualinherited |
Add u_dot, u_dotdot, u_dot_old and u_dotdot_old vectors if requested by the time integrator.
Reimplemented in DisplacedSystem.
Definition at line 1654 of file SystemBase.C.
Referenced by DisplacedSystem::addDotVectors().
| void LinearSystem::addKokkosBoundaryCondition | ( | const std::string & | bc_name, |
| const std::string & | name, | ||
| InputParameters & | parameters | ||
| ) |
Add a Kokkos linear finite volume boundary condition to this system.
| bc_name | The type of the boundary condition to add |
| name | The name of the boundary condition to add |
| parameters | The input parameters of the boundary condition |
| void LinearSystem::addKokkosKernel | ( | const std::string & | kernel_name, |
| const std::string & | name, | ||
| InputParameters & | parameters | ||
| ) |
Add a Kokkos linear finite volume kernel to this system.
| kernel_name | The type of the kernel to add |
| name | The name of the kernel to add |
| parameters | The input parameters of the kernel |
|
inherited |
Adds a matrix with a given tag.
| tag_name | The name of the tag |
Definition at line 567 of file SystemBase.C.
|
inherited |
Add the scaling factor vector to the system.
Definition at line 1579 of file SystemBase.C.
Referenced by MooseVariableBase::initialSetup().
|
inherited |
Definition at line 1679 of file SystemBase.C.
|
virtualinherited |
Canonical method for adding a variable.
| var_type | the type of the variable, e.g. MooseVariableScalar |
| var_name | the variable name, e.g. 'u' |
| params | the InputParameters from which to construct the variable |
Reimplemented in AuxiliarySystem.
Definition at line 717 of file SystemBase.C.
Referenced by AuxiliarySystem::addVariable().
|
virtualinherited |
Add info about variable that will be copied.
| dest_name | Name of the nodal variable being used for copying into (name is from the exodusII file) |
| source_name | Name of the nodal variable being used for copying from (name is from the exodusII file) |
| timestep | Timestep in the file being used |
Definition at line 1172 of file SystemBase.C.
Referenced by CopyNodalVarsAction::act(), and PhysicsBase::copyVariablesFromMesh().
|
virtualinherited |
Adds this variable to the list of variables to be zeroed during each Jacobian evaluation.
| var_name | The name of the variable to be zeroed. |
Reimplemented in DisplacedSystem.
Definition at line 179 of file SystemBase.C.
Referenced by ADDGKernel::ADDGKernel(), DisplacedSystem::addVariableToZeroOnJacobian(), ADIntegratedBCTempl< T >::ADIntegratedBCTempl(), ADKernelTempl< T >::ADKernelTempl(), ArrayDGKernel::ArrayDGKernel(), ArrayIntegratedBC::ArrayIntegratedBC(), ArrayKernel::ArrayKernel(), DGKernel::DGKernel(), IntegratedBC::IntegratedBC(), InterfaceKernelTempl< T >::InterfaceKernelTempl(), Kernel::Kernel(), NodalBC::NodalBC(), and NodalKernel::NodalKernel().
|
virtualinherited |
Adds this variable to the list of variables to be zeroed during each residual evaluation.
| var_name | The name of the variable to be zeroed. |
Reimplemented in DisplacedSystem.
Definition at line 173 of file SystemBase.C.
Referenced by ADDGKernel::ADDGKernel(), DisplacedSystem::addVariableToZeroOnResidual(), ADIntegratedBCTempl< T >::ADIntegratedBCTempl(), ADKernelTempl< T >::ADKernelTempl(), ArrayDGKernel::ArrayDGKernel(), ArrayIntegratedBC::ArrayIntegratedBC(), ArrayKernel::ArrayKernel(), DGKernel::DGKernel(), IntegratedBC::IntegratedBC(), InterfaceKernelTempl< T >::InterfaceKernelTempl(), Kernel::Kernel(), NodalBC::NodalBC(), and NodalKernel::NodalKernel().
|
inherited |
Adds a solution length vector to the system.
| vector_name | The name of the vector. |
| project | Whether or not to project this vector when doing mesh refinement. If the vector is just going to be recomputed then there is no need to project it. |
| type | What type of parallel vector. This is usually either PARALLEL or GHOSTED. GHOSTED is needed if you are going to be accessing off-processor entries. The ghosting pattern is the same as the solution vector. |
Definition at line 605 of file SystemBase.C.
Referenced by SystemBase::addDotVectors(), SystemBase::addScalingVector(), NonlinearTimeIntegratorInterface::addVector(), PicardSolve::allocateStorage(), SecantSolve::allocateStorage(), SteffensenSolve::allocateStorage(), NonlinearSystemBase::getResidualNonTimeVector(), NonlinearSystemBase::getResidualTimeVector(), LinearFVGradientManager::initializeLinearFVGradientHistoryStorage(), CentralDifference::initialSetup(), SystemBase::needSolutionState(), NonlinearSystemBase::residualGhosted(), and SystemBase::saveOldSolutions().
|
inherited |
Adds a solution length vector to the system with the specified TagID.
| tag_name | The name of the tag |
| project | Whether or not to project this vector when doing mesh refinement. If the vector is just going to be recomputed then there is no need to project it. |
| type | What type of parallel vector. This is usually either PARALLEL or GHOSTED. GHOSTED is needed if you are going to be accessing off-processor entries. The ghosting pattern is the same as the solution vector. |
Definition at line 617 of file SystemBase.C.
|
inherited |
Advance solution vectors and additional system-owned state together.
Definition at line 1308 of file SystemBase.C.
Referenced by SystemBase::copyStateHistoryBackwards(), and EigenExecutionerBase::inversePowerIteration().
|
inherited |
Apply solution under/over-relaxation for fixed point iterations.
The relaxed update is: u <- relaxation_factor * u_new + (1 - relaxation_factor) * u_old
| [in] | relaxation_factor | The factor applied to the new solution |
| [in] | iteration_type | Type of iteration; which "previous" value to use |
Definition at line 77 of file SolverSystem.C.
|
inherited |
Applies scaling factors to the system's variables.
| inverse_scaling_factors | A vector containing the inverse of each variable's scaling factor, e.g. 1 / scaling_factor |
Definition at line 1529 of file SystemBase.C.
Referenced by NonlinearSystemBase::computeScaling().
|
inlineinherited |
assign the maximum element dofs
Definition at line 625 of file SystemBase.h.
|
inlineinherited |
assign the maximum node dofs
Definition at line 630 of file SystemBase.h.
|
virtualinherited |
Associate a matrix to a tag.
Reimplemented in DisplacedSystem.
Definition at line 1073 of file SystemBase.C.
Referenced by SystemBase::addMatrix(), DisplacedSystem::associateMatrixToTag(), NonlinearSystemBase::computeJacobian(), FEProblemBase::computeJacobianInternal(), FEProblemBase::computeJacobianTag(), FEProblemBase::computeLinearSystemSys(), and FEProblemBase::computeResidualAndJacobian().
|
virtualinherited |
Associate a vector for a given tag.
Reimplemented in DisplacedSystem.
Definition at line 978 of file SystemBase.C.
Referenced by SystemBase::addVector(), DisplacedSystem::associateVectorToTag(), FEProblemBase::computeLinearSystemSys(), NonlinearSystemBase::computeNodalBCsResidual(), NonlinearSystemBase::computeNodalBCsResidual(), FEProblemBase::computeResidualAndJacobian(), FEProblemBase::computeResidualInternal(), FEProblemBase::computeResidualTag(), NonlinearSystemBase::computeResidualTag(), FEProblemBase::computeResidualType(), LinearSystem(), and SolverSystem::setSolution().
|
virtualinherited |
Will modify the send_list to add all of the extra ghosted dofs for this system.
Reimplemented in DisplacedSystem.
Definition at line 451 of file SystemBase.C.
Referenced by DisplacedSystem::augmentSendList(), and extraSendList().
|
overridevirtual |
Will modify the sparsity pattern to add logical geometric connections.
Implements SystemBase.
Definition at line 317 of file LinearSystem.C.
|
inlineinherited |
Getter for whether we are performing automatic scaling.
Definition at line 123 of file SystemBase.h.
Referenced by SubProblem::automaticScaling(), and SubProblem::automaticScaling().
|
inlineinherited |
Setter for whether we are performing automatic scaling.
| automatic_scaling | A boolean representing whether we are performing automatic scaling |
Definition at line 129 of file SystemBase.h.
|
protectedinherited |
Definition at line 132 of file SolverSystem.C.
Referenced by solve(), and NonlinearSystem::solve().
|
protectedinherited |
Validate and mark gradient history loaded during restart or recovery.
Definition at line 237 of file LinearFVGradientManager.C.
Referenced by LinearFVGradientManager::initializeLinearFVGradientStorage().
|
inherited |
Clear all dof indices from moose variables.
Definition at line 1634 of file SystemBase.C.
Referenced by SubProblem::clearAllDofIndices().
|
inherited |
Close all matrices associated the tags.
Definition at line 1057 of file SystemBase.C.
Referenced by NonlinearSystemBase::computeJacobianInternal(), computeLinearSystemInternal(), NonlinearSystemBase::computeNodalBCsJacobian(), and NonlinearSystemBase::computeResidualAndJacobianTags().
|
inherited |
Close vector with the given tag.
Definition at line 648 of file SystemBase.C.
Referenced by SystemBase::closeTaggedVectors().
|
inherited |
Close all vectors for given tags.
Definition at line 666 of file SystemBase.C.
Referenced by NonlinearSystemBase::computeResidualAndJacobianTags(), NonlinearSystemBase::computeResidualTags(), stopSolve(), and NonlinearSystem::stopSolve().
|
overridevirtual |
Compute time derivatives, auxiliary variables, etc.
| type | Our current execution stage |
Reimplemented from SolverSystem.
Definition at line 383 of file LinearSystem.C.
Referenced by FEProblemBase::computeSystems().
| void LinearFVGradientManager::computeGradients | ( | ) |
Compute and finalize all registered linear FV gradient fields.
Definition at line 75 of file LinearFVGradientManager.C.
Referenced by computeLinearSystemInternal(), and FEProblemSolve::solve().
|
protected |
Assemble the Kokkos contributions to the linear system for the given tags.
| vector_tags | The vector (right-hand side) tags to assemble |
| matrix_tags | The matrix tags to assemble |
Referenced by computeLinearSystemInternal().
|
protectedinherited |
Compute replacement field values for a registered gradient method.
| method | Gradient method used to compute the replacement values. |
Definition at line 279 of file LinearFVGradientManager.C.
Referenced by LinearFVGradientManager::computeGradients(), LinearFVGradientManager::initializeGradientStatesForTimeAdvance(), and LinearFVGradientManager::updateFVGradient().
|
protected |
Compute the right hand side and system matrix for given tags.
| vector_tags | The tags of kernels for which the right hand side is to be computed. |
| matrix_tags | The tags of kernels for which the system matrix is to be computed. |
| compute_gradients | A flag to disable the computation of new gradients during the assembly, can be used to lag gradients |
Definition at line 228 of file LinearSystem.C.
Referenced by computeLinearSystemTags().
| void LinearSystem::computeLinearSystemTags | ( | const std::set< TagID > & | vector_tags, |
| const std::set< TagID > & | matrix_tags, | ||
| const bool | compute_gradients = true |
||
| ) |
Compute the right hand side and the system matrix of the system for given tags.
| vector_tags | The IDs of the vector tags whose right hand side contribution should be included |
| matrix_tags | The IDs of the matrix tags whose matrix contribution should be included |
| compute_gradients | A flag to disable the computation of new gradients during the assembly, can be used to lag gradients |
Definition at line 202 of file LinearSystem.C.
Referenced by FEProblemBase::computeLinearSystemTags().
|
inlinevirtualinherited |
Definition at line 899 of file SystemBase.h.
|
inherited |
Whether we are computing an initial Jacobian for automatic variable scaling.
Definition at line 1586 of file SystemBase.C.
Referenced by Assembly::addJacobianBlock(), Assembly::addJacobianBlockNonlocal(), Assembly::cacheJacobianBlock(), Assembly::cacheJacobianBlock(), EigenKernel::computeJacobian(), Kernel::computeJacobian(), VectorKernel::computeJacobian(), and FEProblemBase::computeJacobianTags().
|
overridevirtual |
If the system has a kernel that corresponds to a time derivative.
Considering that we don't have transient capabilities for linear systems at the moment, this is false.
Implements SolverSystem.
Definition at line 361 of file LinearSystem.C.
|
inlineoverridevirtual |
At the moment, this is only used for the multi-system fixed point iteration.
We return true here since ther is no way to specify separate linear residuals in FEProblemSolve yet.
Implements SolverSystem.
Reimplemented in DumpObjectsLinearSystem.
Definition at line 61 of file LinearSystem.h.
|
overrideprotectedvirtual |
Copy system-owned state not represented by solution vectors.
The first argument selects the solution history being advanced. The second indicates that state 0 must not overwrite state 1 while deeper states still shift; additional state must honor this to remain aligned with the solution history. Default implementation does nothing.
Reimplemented from SystemBase.
Definition at line 188 of file LinearSystem.C.
|
inherited |
Copy the solution back in time (older -> old, etc).
Shifts the solutions backwards in time.
Definition at line 1320 of file SystemBase.C.
|
protectedinherited |
Copy published gradient values into requested older states.
Non-time histories are ignored because only time gradient states are currently stored.
| iteration_type | Type of solution history being advanced. |
| skip_current_to_old | Whether state zero should not overwrite state one while deeper states still shift, matching the owning system's solution-state advancement. |
Definition at line 364 of file LinearFVGradientManager.C.
Referenced by AuxiliarySystem::copyAdditionalStateBackwards(), and copyAdditionalStateBackwards().
|
inherited |
Copy a specific type of solution back in time (current -> old -> older, etc).
Definition at line 1271 of file SystemBase.C.
Referenced by SystemBase::advanceStateHistory(), SystemBase::copyOldSolutions(), and SystemBase::copySolutionsBackwards().
|
virtualinherited |
Copy current solution into old and older.
Definition at line 1255 of file SystemBase.C.
|
inherited |
Copy solution vectors and additional system-owned state into older states.
Definition at line 1263 of file SystemBase.C.
|
inherited |
Copy time integrators from another system.
Definition at line 1688 of file SystemBase.C.
|
inherited |
Definition at line 1180 of file SystemBase.C.
|
inlinefinaloverridevirtualinherited |
The solution vector that is currently being operated on.
This is typically a ghosted vector that comes in from the Nonlinear solver.
Implements SystemBase.
Definition at line 129 of file SolverSystem.h.
Referenced by FEProblemBase::computeDamping(), FEProblemBase::computeLinearSystemSys(), FEProblemBase::computeResidualL2Norm(), FEProblemBase::computeResidualL2Norm(), and AB2PredictorCorrector::step().
|
virtualinherited |
Reimplemented in AuxiliarySystem, and NonlinearSystemBase.
Definition at line 1606 of file SystemBase.C.
Referenced by SystemBase::customSetup(), AuxiliarySystem::customSetup(), and NonlinearSystemBase::customSetup().
|
virtualinherited |
Make matrices inactive.
Definition at line 1116 of file SystemBase.C.
Referenced by NonlinearSystemBase::computeResidualTags(), and NonlinearSystemBase::setInitialSolution().
|
inlinevirtualinherited |
Get the default matrix tags associted with this system.
Reimplemented in DisplacedSystem, and NonlinearEigenSystem.
Definition at line 347 of file SystemBase.h.
Referenced by DisplacedSystem::defaultMatrixTags(), NonlinearEigenSystem::defaultMatrixTags(), and SystemBase::disassociateDefaultMatrixTags().
|
inlinevirtualinherited |
Get the default vector tags associated with this system.
Reimplemented in DisplacedSystem, and NonlinearEigenSystem.
Definition at line 340 of file SystemBase.h.
Referenced by DisplacedSystem::defaultVectorTags(), NonlinearEigenSystem::defaultVectorTags(), and SystemBase::disassociateDefaultVectorTags().
|
virtualinherited |
Disassociate the matrices associated with the default matrix tags of this system.
Reimplemented in DisplacedSystem.
Definition at line 1107 of file SystemBase.C.
Referenced by DisplacedSystem::disassociateDefaultMatrixTags().
|
virtualinherited |
Disassociate the vectors associated with the default vector tags of this system.
Reimplemented in DisplacedSystem.
Definition at line 1012 of file SystemBase.C.
Referenced by DisplacedSystem::disassociateDefaultVectorTags().
|
virtualinherited |
Disassociate a matrix from a tag.
Reimplemented in DisplacedSystem.
Definition at line 1085 of file SystemBase.C.
Referenced by NonlinearSystemBase::computeJacobian(), FEProblemBase::computeJacobianInternal(), FEProblemBase::computeJacobianTag(), FEProblemBase::computeLinearSystemSys(), FEProblemBase::computeResidualAndJacobian(), SystemBase::disassociateDefaultMatrixTags(), SystemBase::disassociateMatrixFromTag(), DisplacedSystem::disassociateMatrixFromTag(), and DisplacedSystem::disassociateMatrixFromTag().
|
virtualinherited |
Disassociate any matrix that is associated with a given tag.
Reimplemented in DisplacedSystem.
Definition at line 1096 of file SystemBase.C.
|
virtualinherited |
Disassociate a given vector from a given tag.
Reimplemented in DisplacedSystem.
Definition at line 990 of file SystemBase.C.
Referenced by FEProblemBase::computeLinearSystemSys(), NonlinearSystemBase::computeNodalBCsResidual(), NonlinearSystemBase::computeNodalBCsResidual(), FEProblemBase::computeResidualAndJacobian(), FEProblemBase::computeResidualInternal(), FEProblemBase::computeResidualTag(), NonlinearSystemBase::computeResidualTag(), FEProblemBase::computeResidualType(), SystemBase::disassociateDefaultVectorTags(), SystemBase::disassociateVectorFromTag(), DisplacedSystem::disassociateVectorFromTag(), DisplacedSystem::disassociateVectorFromTag(), and CentralDifference::initialSetup().
|
virtualinherited |
Disassociate any vector that is associated with a given tag.
Reimplemented in DisplacedSystem.
Definition at line 1001 of file SystemBase.C.
|
virtualinherited |
Gets writeable reference to the dof map.
Definition at line 1160 of file SystemBase.C.
Referenced by NonlinearSystemBase::assembleScalingVector(), MooseApp::attachRelationshipManagers(), SystemBase::augmentSendList(), NonlinearSystemBase::augmentSparsity(), NonlinearSystemBase::computeScaling(), FieldSplitPreconditioner::dofMap(), NEML2FEInterpolation::execute(), NonlinearSystemBase::findImplicitGeometricCouplingEntries(), Adaptivity::init(), NonlinearEigenSystem::initializeCondensedMatrices(), ActivateElementsUserObjectBase::initSolutions(), PNGOutput::makeMeshFunc(), GhostingUserObject::meshChanged(), Exodus::outputScalarVariables(), Nemesis::outputScalarVariables(), TableOutput::outputScalarVariables(), and ElementSubdomainModifierBase::setOldAndOlderSolutions().
|
virtualinherited |
Gets const reference to the dof map.
Definition at line 1166 of file SystemBase.C.
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 285 of file SystemBase.h.
Referenced by DisplacedSystem::duDotDotDu(), DisplacedSystem::duDotDotDu(), and MooseVariableScalar::reinit().
|
inlinevirtualinherited |
|
virtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 1722 of file SystemBase.C.
Referenced by DisplacedSystem::duDotDu(), MooseVariableScalar::reinit(), Moose::Kokkos::VariableGradientTempl< is_ad >::VariableGradientTempl(), and Moose::Kokkos::VariableValueTempl< is_ad >::VariableValueTempl().
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 284 of file SystemBase.h.
Referenced by DisplacedSystem::duDotDus().
|
inlineinherited |
Definition at line 104 of file SystemBase.h.
Referenced by LinearFVGradientManager::checkRestartedGradientHistory(), FVGradientMethod::computeGradient(), FVGreenGaussGradient::computeGradientWithoutLimiter(), DMMooseGetEmbedding_Private(), DMSetUp_Moose_Pre(), and LinearFVGradientManager::resolveFVGradientMethod().
|
inlineinherited |
Definition at line 105 of file SystemBase.h.
|
protectedinherited |
Replace the current gradient storage with the freshly computed new gradients.
| container | Method container whose gradient values should be finalized. |
Definition at line 305 of file LinearFVGradientManager.C.
Referenced by LinearFVGradientManager::computeGradients(), LinearFVGradientManager::initializeGradientStatesForTimeAdvance(), and LinearFVGradientManager::updateFVGradient().
|
inherited |
flushes all matrices associated to tags.
Flush assembles the matrix but doesn't shrink memory allocation
Definition at line 1065 of file SystemBase.C.
|
inherited |
Returns a field variable pointer - this includes finite volume variables.
Definition at line 117 of file SystemBase.C.
Referenced by BoundsBase::BoundsBase(), Assembly::copyFaceShapes(), Assembly::copyNeighborShapes(), and Assembly::copyShapes().
|
inherited |
Returns a field variable pointer - this includes finite volume variables.
Definition at line 138 of file SystemBase.C.
|
inherited |
Gets a reference to a variable of with specified name.
This excludes and cannot return finite volume variables.
| tid | Thread id |
| var_name | variable name |
Definition at line 110 of file SystemBase.C.
Referenced by Marker::getMarkerValue().
|
inherited |
Gets a reference to a variable with specified number.
This excludes and cannot return finite volume variables.
| tid | Thread id |
| var_number | libMesh variable number |
Definition at line 131 of file SystemBase.C.
|
inherited |
Return a finite volume variable.
Definition at line 124 of file SystemBase.C.
|
virtualinherited |
Get a raw SparseMatrix.
Reimplemented in DisplacedSystem.
Definition at line 1021 of file SystemBase.C.
Referenced by SystemBase::activateAllMatrixTags(), Assembly::addCachedJacobian(), NonlinearSystemBase::addImplicitGeometricCouplingEntries(), Assembly::addJacobianCoupledVarPair(), Assembly::addJacobianLowerD(), Assembly::addJacobianNeighbor(), Assembly::addJacobianNeighborLowerD(), Assembly::addJacobianNonlocal(), SystemBase::addMatrix(), SystemBase::closeTaggedMatrices(), NonlinearSystemBase::computeJacobianInternal(), FEProblemBase::computeJacobianTags(), computeLinearSystemInternal(), FEProblemBase::computeLinearSystemTags(), FEProblemBase::computeResidualAndJacobian(), NonlinearSystemBase::computeResidualAndJacobianInternal(), NonlinearSystemBase::constraintJacobians(), SystemBase::disassociateMatrixFromTag(), SystemBase::flushTaggedMatrices(), DisplacedSystem::getMatrix(), DisplacedSystem::getMatrix(), LinearSystemContributionObject::linkTaggedVectorsAndMatrices(), MooseVariableScalar::reinit(), Assembly::setCachedJacobian(), and Assembly::zeroCachedJacobian().
|
virtualinherited |
Get a raw SparseMatrix.
Reimplemented in DisplacedSystem.
Definition at line 1039 of file SystemBase.C.
|
inlineinherited |
Returns the maximum number of all variables on the system.
Definition at line 897 of file SystemBase.h.
|
inlineinherited |
Gets the maximum number of dofs used by any one variable on any one element.
Definition at line 613 of file SystemBase.h.
Referenced by Moose::globalDofIndexToDerivative().
|
inlineinherited |
Gets the maximum number of dofs used by any one variable on any one node.
Definition at line 620 of file SystemBase.h.
|
virtualinherited |
Get minimal quadrature order needed for integrating variables in this system.
Reimplemented in AuxiliarySystem.
Definition at line 240 of file SystemBase.C.
|
inlineinherited |
Get the norm in which the linear convergence is measured.
Definition at line 99 of file SolverSystem.h.
Referenced by Moose::PetscSupport::petscSetDefaultKSPNormType().
|
inlineinherited |
Get the number of solution states (0 = current, 1 = current + old, ...) for the given iteration type.
Definition at line 1163 of file SystemBase.h.
Referenced by SystemBase::copyPreviousSolutions(), SystemBase::hasSolutionState(), SystemBase::restoreOldSolutions(), SystemBase::saveOldSolutions(), and SystemBase::solutionState().
|
inlineinherited |
Get the current preconditioner side.
Definition at line 88 of file SolverSystem.h.
Referenced by Moose::PetscSupport::petscSetDefaultPCSide().
| NumericVector< Number > & LinearSystem::getRightHandSideNonTimeVector | ( | ) |
Return a numeric vector that is associated with the nontime tag.
Definition at line 311 of file LinearSystem.C.
Referenced by LinearSystem().
| NumericVector< Number > & LinearSystem::getRightHandSideTimeVector | ( | ) |
Return a numeric vector that is associated with the time tag.
Definition at line 305 of file LinearSystem.C.
|
inline |
Fetching the right hand side vector from the libmesh system.
Definition at line 156 of file LinearSystem.h.
Referenced by FEProblemBase::computeLinearSystemSys().
|
inline |
Definition at line 157 of file LinearSystem.h.
|
virtualinherited |
Gets a reference to a scalar variable with specified number.
| tid | Thread id |
| var_name | A string which is the name of the variable to get. |
Definition at line 144 of file SystemBase.C.
Referenced by MortarScalarBase::computeOffDiagJacobianScalar(), ArrayIntegratedBC::computeOffDiagJacobianScalar(), IntegratedBC::computeOffDiagJacobianScalar(), VectorIntegratedBC::computeOffDiagJacobianScalar(), ArrayKernel::computeOffDiagJacobianScalar(), Kernel::computeOffDiagJacobianScalar(), ODEKernel::computeOffDiagJacobianScalar(), ScalarLagrangeMultiplier::computeOffDiagJacobianScalar(), VectorKernel::computeOffDiagJacobianScalar(), KernelScalarBase::computeOffDiagJacobianScalarLocal(), MortarScalarBase::computeScalarOffDiagJacobianScalar(), KernelScalarBase::computeScalarOffDiagJacobianScalar(), DMMooseSetVariables(), and NonlinearSystemBase::setupScalingData().
|
virtualinherited |
Gets a reference to a variable with specified number.
| tid | Thread id |
| var_number | libMesh variable number |
Definition at line 153 of file SystemBase.C.
|
inlineinherited |
Definition at line 786 of file SystemBase.h.
Referenced by Assembly::addResidualScalar(), ODEKernel::computeJacobian(), ComputeFullJacobianThread::computeOnBoundary(), ComputeFullJacobianThread::computeOnElement(), AuxiliarySystem::computeScalarVars(), SystemBase::initSolutionState(), NonlinearThread::onElement(), Assembly::prepareOffDiagScalar(), and Assembly::prepareScalar().
|
inlineprivateinherited |
Get all of the solution states (current, old, ...) for the given iteration type.
Definition at line 1128 of file SystemBase.h.
|
inlineinherited |
Get all of the solution states (current, old, ...) for the given iteration type.
Definition at line 1153 of file SystemBase.h.
Referenced by SystemBase::getNumSolutionStates(), SystemBase::needSolutionState(), SystemBase::solutionState(), SystemBase::solutionState(), and SystemBase::solutionStateParallelType().
|
inherited |
|
inherited |
Get the block where a variable of this system is defined.
| var_name | The name of the variable |
Definition at line 1728 of file SystemBase.C.
|
inlineinherited |
Definition at line 791 of file SystemBase.h.
Referenced by NonlinearSystemBase::checkKernelCoverage(), and SystemBase::getSubdomainsForVar().
|
inline |
Fetching the system matrix from the libmesh system.
Definition at line 163 of file LinearSystem.h.
Referenced by FEProblemBase::computeLinearSystemSys().
|
inline |
Definition at line 164 of file LinearSystem.h.
|
inherited |
Retrieve the time integrator that integrates the given variable's equation.
Definition at line 1704 of file SystemBase.C.
Referenced by AB2PredictorCorrector::estimateTimeError().
|
inherited |
Definition at line 1716 of file SystemBase.C.
|
inherited |
Gets a reference to a variable of with specified name.
| tid | Thread id |
| var_name | variable name |
Definition at line 89 of file SystemBase.C.
Referenced by AdaptivityAction::act(), Assembly::addJacobianBlockNonlocal(), FEProblemBase::addJacobianBlockTags(), LinearFVGradientManager::checkRestartedGradientHistory(), NonlocalIntegratedBC::computeNonlocalOffDiagJacobian(), NonlocalKernel::computeNonlocalOffDiagJacobian(), Assembly::copyFaceShapes(), Assembly::copyNeighborShapes(), Assembly::copyShapes(), SystemBase::copyVars(), DMMooseSetVariables(), FiniteDifferencePreconditioner::FiniteDifferencePreconditioner(), NodeElemConstraint::getConnectedDofIndices(), NodeFaceConstraint::getConnectedDofIndices(), SystemBase::getSubdomainsForVar(), ResidualObject::getVariable(), SubProblem::getVariableHelper(), NodalNormalsPreprocessor::initialize(), initialSetup(), ExplicitTimeIntegrator::initialSetup(), Assembly::initNonlocalCoupling(), PNGOutput::makeMeshFunc(), MooseStaticCondensationPreconditioner::MooseStaticCondensationPreconditioner(), UpdateErrorVectorsThread::onElement(), FEProblemBase::prepare(), Assembly::prepareBlock(), Assembly::prepareBlockNonlocal(), NonlinearSystemBase::setupScalingData(), LinearFVGradientReader::stateComponents(), and VariableCondensationPreconditioner::VariableCondensationPreconditioner().
|
inherited |
Gets a reference to a variable with specified number.
| tid | Thread id |
| var_number | libMesh variable number |
Definition at line 99 of file SystemBase.C.
|
virtualinherited |
Get the block where a variable of this system is defined.
| var_number | The number of the variable |
Definition at line 163 of file SystemBase.C.
Referenced by PhysicsBasedPreconditioner::addSystem().
|
inlineinherited |
Get the global dof indices of a variable, this needs to be called after the indices have been set by setVariableGlobalDoFs
Definition at line 872 of file SystemBase.h.
|
inlineinherited |
Definition at line 890 of file SystemBase.h.
Referenced by MooseEigenSystem::buildSystemDoFIndices(), NonlinearSystemBase::checkKernelCoverage(), MFEMProblem::getAuxVariableNames(), SystemBase::hasVariable(), SystemBase::isArrayVariable(), and SingleMatrixPreconditioner::SingleMatrixPreconditioner().
|
inlineinherited |
Definition at line 779 of file SystemBase.h.
Referenced by Assembly::addResidual(), Assembly::addResidualLower(), Assembly::addResidualNeighbor(), Assembly::cacheResidual(), Assembly::cacheResidualLower(), Assembly::cacheResidualNeighbor(), ComputeFullJacobianThread::computeOnBoundary(), ComputeFullJacobianThread::computeOnElement(), Assembly::initNonlocalCoupling(), SystemBase::initSolutionState(), ComputeLinearFVGreenGaussGradientVolumeThread::operator()(), ComputeLinearFVLimitedGradientThread::operator()(), ComputeLinearFVGreenGaussGradientFaceThread::operator()(), Assembly::prepareLowerD(), Assembly::prepareNeighbor(), Assembly::prepareOffDiagScalar(), Assembly::prepareResidual(), Assembly::setResidual(), and Assembly::setResidualNeighbor().
|
virtualinherited |
Get a raw NumericVector by name.
Get a raw NumericVector with the given name.
Reimplemented in DisplacedSystem.
Definition at line 930 of file SystemBase.C.
Referenced by Assembly::addCachedResiduals(), Assembly::addResidual(), Assembly::addResidualLower(), Assembly::addResidualNeighbor(), Assembly::addResidualScalar(), SystemBase::addVector(), SystemBase::addVector(), NonlinearSystemBase::assembleScalingVector(), SystemBase::closeTaggedVector(), FEProblemBase::computeBounds(), FEProblemBase::computeNearNullSpace(), FEProblemBase::computeNullSpace(), NonlinearSystemBase::computeResidualAndJacobianTags(), NonlinearSystemBase::computeResidualTags(), CentralDifference::computeTimeDerivatives(), FEProblemBase::computeTransposeNullSpace(), SystemBase::disassociateVectorFromTag(), DisplacedSystem::getVector(), DisplacedSystem::getVector(), DisplacedSystem::getVector(), DisplacedSystem::getVector(), Assembly::hasScalingVector(), LinearSystemContributionObject::linkTaggedVectorsAndMatrices(), SystemBase::needSolutionState(), ReferenceResidualConvergence::ReferenceResidualConvergence(), MooseVariableScalar::reinit(), PicardSolve::saveVariableValues(), SecantSolve::saveVariableValues(), SteffensenSolve::saveVariableValues(), NonlinearSystemBase::setPreviousNewtonSolution(), TaggingInterface::setResidual(), TaggingInterface::setResidual(), TaggingInterface::setResidual(), SystemBase::solutionPreviousNewton(), SystemBase::solutionPreviousNewton(), SystemBase::solutionState(), MultiAppDofCopyTransfer::transfer(), PicardSolve::transformVariables(), SecantSolve::transformVariables(), SteffensenSolve::transformVariables(), and SystemBase::zeroTaggedVector().
|
virtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 936 of file SystemBase.C.
|
virtualinherited |
Get a raw NumericVector by tag.
Reimplemented in DisplacedSystem.
Definition at line 942 of file SystemBase.C.
|
virtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 960 of file SystemBase.C.
|
staticprotectedinherited |
Return the stable system-vector name for one old gradient component.
Definition at line 228 of file LinearFVGradientManager.C.
Referenced by LinearFVGradientManager::checkRestartedGradientHistory(), and LinearFVGradientManager::initializeLinearFVGradientHistoryStorage().
|
protectedinherited |
Whether any linear finite-volume gradient fields have been registered to this object.
Definition at line 165 of file LinearFVGradientManager.C.
Referenced by AuxiliarySystem::compute().
|
inlinevirtualinherited |
Check if the tagged matrix exists in the system.
Reimplemented in DisplacedSystem.
Definition at line 388 of file SystemBase.h.
Referenced by SystemBase::activateAllMatrixTags(), Assembly::addCachedJacobian(), NonlinearSystemBase::addImplicitGeometricCouplingEntries(), Assembly::addJacobianCoupledVarPair(), Assembly::addJacobianLowerD(), Assembly::addJacobianNeighbor(), Assembly::addJacobianNeighborLowerD(), Assembly::addJacobianNonlocal(), SystemBase::addMatrix(), Assembly::cacheJacobian(), Assembly::cacheJacobianBlock(), Assembly::cacheJacobianBlockNonzero(), Assembly::cacheJacobianCoupledVarPair(), Assembly::cacheJacobianMortar(), Assembly::cacheJacobianNeighbor(), Assembly::cacheJacobianNonlocal(), SystemBase::closeTaggedMatrices(), NonlinearSystemBase::computeJacobianInternal(), FEProblemBase::computeJacobianTags(), FEProblemBase::computeResidualAndJacobian(), NonlinearSystemBase::computeResidualAndJacobianInternal(), NonlinearSystemBase::constraintJacobians(), SystemBase::disassociateMatrixFromTag(), NonlinearSystemBase::enforceNodalConstraintsJacobian(), SystemBase::flushTaggedMatrices(), SystemBase::getMatrix(), SystemBase::getMatrix(), DisplacedSystem::hasMatrix(), MooseVariableScalar::reinit(), SystemBase::removeMatrix(), SubProblem::selectMatrixTagsFromSystem(), Assembly::setCachedJacobian(), and Assembly::zeroCachedJacobian().
|
virtualinherited |
Definition at line 873 of file SystemBase.C.
Referenced by MortarScalarBase::computeJacobian(), NonlinearSystemBase::computeNodalBCsJacobian(), ComputeFullJacobianThread::computeOnBoundary(), ComputeFullJacobianThread::computeOnElement(), SystemBase::copyVars(), ExplicitTimeIntegrator::initialSetup(), NonlinearEigenSystem::postAddResidualObject(), and NonlinearSystemBase::setupScalingData().
|
inlinevirtualinherited |
Whether or not the system has the solution state (0 = current, 1 = old, 2 = older, etc).
Reimplemented in DisplacedSystem.
Definition at line 1169 of file SystemBase.h.
Referenced by SolverSystem::applyFixedPointRelaxation(), PointwiseRenormalizeVector::execute(), PointwiseRenormalizeVector::finalize(), DisplacedSystem::hasSolutionState(), SystemBase::needSolutionState(), SystemBase::restoreSolutions(), ElementSubdomainModifierBase::setOldAndOlderSolutions(), SystemBase::solutionState(), SystemBase::solutionState(), and SystemBase::solutionStateParallelType().
|
inlineinherited |
Whether or not there are variables to be restarted from an Exodus mesh file.
Definition at line 918 of file SystemBase.h.
|
virtualinherited |
Query a system for a variable.
| var_name | name of the variable |
Definition at line 848 of file SystemBase.C.
Referenced by ADDGKernel::ADDGKernel(), ADKernelTempl< T >::ADKernelTempl(), ArrayDGKernel::ArrayDGKernel(), ArrayKernel::ArrayKernel(), SystemBase::copyVars(), DGKernel::DGKernel(), DMMooseSetVariables(), FEProblemBase::duplicateVariableCheck(), FixedPointSolve::findTransformedSystem(), SubProblem::getVariableHelper(), SubProblem::hasAuxiliaryVariable(), SubProblem::hasLinearVariable(), ElementSubdomainModifierBase::initialSetup(), ExplicitTimeIntegrator::initialSetup(), InterfaceKernelTempl< T >::InterfaceKernelTempl(), Kernel::Kernel(), PNGOutput::makeMeshFunc(), MultiAppVariableValueSamplePostprocessorTransfer::MultiAppVariableValueSamplePostprocessorTransfer(), NonlinearSystemBase::setupScalingData(), and Coupleable::writableCoupledValue().
|
inherited |
Check if the named vector exists in the system.
Definition at line 921 of file SystemBase.C.
Referenced by FEProblemBase::addCachedResidualDirectly(), Assembly::addCachedResiduals(), Assembly::addResidual(), Assembly::addResidualLower(), Assembly::addResidualNeighbor(), Assembly::addResidualScalar(), SystemBase::addVector(), SystemBase::addVector(), NonlinearSystemBase::assembleScalingVector(), Assembly::cacheResidual(), Assembly::cacheResidualLower(), Assembly::cacheResidualNeighbor(), SystemBase::closeTaggedVector(), FEProblemBase::computeBounds(), NonlinearSystemBase::computeResidualTags(), CentralDifference::computeTimeDerivatives(), SystemBase::disassociateVectorFromTag(), SystemBase::getVector(), SystemBase::getVector(), DisplacedSystem::hasVector(), MooseVariableScalar::reinit(), SystemBase::removeVector(), SubProblem::selectVectorTagsFromSystem(), NonlinearSystemBase::setPreviousNewtonSolution(), TaggingInterface::setResidual(), TaggingInterface::setResidual(), TaggingInterface::setResidual(), SystemBase::solutionPreviousNewton(), SystemBase::solutionPreviousNewton(), and SystemBase::zeroTaggedVector().
|
inlinevirtualinherited |
Check if the tagged vector exists in the system.
Reimplemented in DisplacedSystem.
Definition at line 309 of file SystemBase.h.
|
protectedinherited |
Allocate one zeroed vector per spatial component for gradient storage.
| container | Component-vector container to rebuild. |
Definition at line 171 of file LinearFVGradientManager.C.
Referenced by LinearFVGradientManager::initializeLinearFVGradientStorage(), and AuxiliarySystem::updateFVGradient().
|
protectedinherited |
Compute and publish uninitialized gradients before their first time-state advancement.
Definition at line 352 of file LinearFVGradientManager.C.
Referenced by LinearFVGradientManager::copyPreviousGradientStates().
|
protectedinherited |
Register named system vectors for requested historical gradient states.
This must run after gradient state requirements are known and before restart or recovery data is loaded, so checkpoint data can be restored into these vectors. It does not initialize the current or replacement working storage.
Definition at line 201 of file LinearFVGradientManager.C.
Referenced by AuxiliarySystem::AuxiliarySystem(), and initSolutionState().
|
protectedinherited |
Initialize private current and replacement gradient storage.
This must run after the current local solution has been created and initialized, and after restart or recovery data has been loaded. At that point, it also checks if the restored historical gradient storage is set up correctly.
Definition at line 325 of file LinearFVGradientManager.C.
Referenced by LinearFVGradientManager::computeLinearFVGradientContainer(), AuxiliarySystem::initialSetup(), initialSetup(), and LinearFVGradientManager::rebuildLinearFVGradientStorage().
|
inlinevirtualinherited |
Called only once, just before the solve begins so objects can do some precalculations.
Definition at line 174 of file SystemBase.h.
|
overridevirtual |
Setup Functions.
Reimplemented from SystemBase.
Definition at line 122 of file LinearSystem.C.
|
protected |
Perform the initial setup of the Kokkos linear finite volume kernels and boundary conditions.
Referenced by initialSetup().
|
overridevirtual |
Initializes the solution state.
Reimplemented from SystemBase.
Definition at line 115 of file LinearSystem.C.
|
virtualinherited |
If a variable is an array variable.
Definition at line 861 of file SystemBase.C.
|
virtualinherited |
Definition at line 882 of file SystemBase.C.
Referenced by Assembly::initNonlocalCoupling().
|
inlineoverridevirtual |
|
inline |
Return a reference to the stored linear implicit system.
Definition at line 123 of file LinearSystem.h.
Referenced by FEProblemBase::computeResidualL2Norm(), and Moose::PetscSupport::petscSetDefaults().
|
inlineprotectedvirtualinherited |
Whether a system matrix is formed from coloring.
This influences things like when to compute time derivatives
Reimplemented in NonlinearSystem.
Definition at line 114 of file SolverSystem.h.
Referenced by SolverSystem::compute(), and NonlinearSystemBase::destroyColoring().
|
virtualinherited |
|
inlineinherited |
Definition at line 100 of file SystemBase.h.
Referenced by CreateDisplacedProblemAction::addProxyRelationshipManagers(), DMMooseGetEmbedding_Private(), DMSetUp_Moose_Pre(), LinearFVGradientManager::initializeContainer(), LinearFVGradientManager::initializeLinearFVGradientHistoryStorage(), SolutionIC::initialSetup(), ComputeNodalKernelJacobiansThread::onNode(), ComputeNodalKernelsThread::onNode(), and ComputeNodalUserObjectsThread::onNode().
|
inlineinherited |
Definition at line 101 of file SystemBase.h.
|
virtualinherited |
Definition at line 1359 of file SystemBase.C.
Referenced by NonlinearSystemBase::addBoundaryCondition(), NonlinearSystemBase::addConstraint(), NonlinearSystemBase::addDamper(), NonlinearSystemBase::addDGKernel(), NonlinearSystemBase::addDiracKernel(), NonlinearSystemBase::addHDGKernel(), NonlinearSystemBase::addInterfaceKernel(), AuxiliarySystem::addKernel(), MooseEigenSystem::addKernel(), NonlinearSystemBase::addKernel(), SystemBase::addMatrix(), NonlinearSystemBase::addNodalKernel(), Moose::PetscSupport::addPetscOptionsFromCommandline(), AuxiliarySystem::addScalarKernel(), NonlinearSystemBase::addScalarKernel(), NonlinearSystemBase::addSplit(), SystemBase::addTimeIntegrator(), AuxiliarySystem::addVariable(), SystemBase::addVector(), DiffusionLHDGAssemblyHelper::checkCoupling(), LinearFVGradientManager::checkRestartedGradientHistory(), SystemBase::closeTaggedVector(), computeLinearSystemTags(), DisplacedProblem::DisplacedProblem(), SystemBase::getMatrix(), SystemBase::getMatrix(), NonlinearSystemBase::getSplit(), SystemBase::getVector(), DisplacedSystem::getVector(), DisplacedSystem::getVector(), SystemBase::getVector(), SystemBase::getVector(), SystemBase::hasVector(), initialSetup(), NonlinearEigenSystem::postAddResidualObject(), MooseStaticCondensationPreconditioner::prefix(), SystemBase::removeMatrix(), SystemBase::removeVector(), SystemBase::removeVector(), LinearFVGradientManager::resizeGradientStateStorage(), NonlinearSystemBase::setupScalingData(), SystemBase::solutionState(), solve(), LinearFVGradientReader::stateComponents(), NonlinearSystemBase::subdomainSetup(), LinearTimeIntegratorInterface::timeDerivativeMatrixContribution(), LinearTimeIntegratorInterface::timeDerivativeRHSContribution(), AuxiliarySystem::updateFVGradient(), LinearFVGradientManager::updateFVGradient(), and SystemBase::zeroTaggedVector().
|
virtualinherited |
Registers that the solution state state is needed.
Reimplemented in DisplacedSystem.
Definition at line 1484 of file SystemBase.C.
Referenced by PicardSolve::allocateStorage(), SecantSolve::allocateStorage(), EigenExecutionerBase::EigenExecutionerBase(), FEProblemSolve::initialSetup(), SystemBase::initSolutionState(), DisplacedSystem::needSolutionState(), and SystemBase::solutionState().
|
inherited |
Get the number of field variables in this system.
Definition at line 897 of file SystemBase.C.
Referenced by SystemBase::nVariables().
|
inherited |
Get the number of finite volume variables in this system.
Definition at line 907 of file SystemBase.C.
|
inline |
Return the number of linear iterations.
Definition at line 142 of file LinearSystem.h.
Referenced by IterationAdaptiveDT::acceptStep().
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem, and NonlinearSystemBase.
Definition at line 330 of file SystemBase.h.
Referenced by SystemBase::defaultVectorTags(), and DisplacedSystem::nonTimeVectorTag().
|
inherited |
Gets the number of this system.
Definition at line 1154 of file SystemBase.C.
Referenced by SetupResidualDebugAction::act(), FEProblemBase::addCachedResidualDirectly(), FEProblemBase::addJacobian(), FEProblemBase::addJacobianBlockTags(), FEProblemBase::addJacobianLowerD(), FEProblemBase::addJacobianNeighbor(), FEProblemBase::addJacobianNeighborLowerD(), FEProblemBase::addJacobianOffDiagScalar(), FEProblemBase::addJacobianScalar(), FEProblemBase::addObjectParamsHelper(), FEProblemBase::addResidual(), FEProblemBase::addResidualLower(), FEProblemBase::addResidualNeighbor(), FEProblemBase::addResidualScalar(), SystemBase::addScalingVector(), ADKernelTempl< T >::ADKernelTempl(), ElementSubdomainModifierBase::applyIC(), ArrayKernel::ArrayKernel(), NonlinearSystemBase::assembleScalingVector(), NonlinearEigenSystem::attachPreconditioner(), DiffusionLHDGAssemblyHelper::checkCoupling(), FVFluxBC::checkFaceIntegrity(), SolverSystem::compute(), ComputeResidualAndJacobianThread::compute(), MooseVariableScalar::computeAD(), FEProblemBase::computeBounds(), Assembly::computeFaceMap(), InternalSideIndicatorBase::computeIndicator(), ArrayNodalBC::computeJacobian(), NodalBC::computeJacobian(), VectorNodalBC::computeJacobian(), MortarScalarBase::computeJacobian(), ODEKernel::computeJacobian(), FVInterfaceKernel::computeJacobian(), FVFluxKernel::computeJacobian(), FVBoundaryScalarLagrangeMultiplierConstraint::computeJacobian(), FEProblemBase::computeJacobianBlock(), NonlinearSystemBase::computeJacobianInternal(), computeLinearSystemInternal(), FEProblemBase::computeNearNullSpace(), NonlinearSystemBase::computeNodalBCsJacobian(), NonlinearSystemBase::computeNodalBCsResidualAndJacobian(), FEProblemBase::computeNullSpace(), ArrayNodalBC::computeOffDiagJacobian(), NodalBC::computeOffDiagJacobian(), VectorNodalBC::computeOffDiagJacobian(), NodalKernel::computeOffDiagJacobian(), ComputeFullJacobianThread::computeOnBoundary(), ComputeFullJacobianThread::computeOnElement(), ComputeFullJacobianThread::computeOnInterface(), ComputeFullJacobianThread::computeOnInternalFace(), FEProblemBase::computePostCheck(), FVInterfaceKernel::computeResidual(), FVFluxKernel::computeResidual(), FVBoundaryScalarLagrangeMultiplierConstraint::computeResidual(), IntegratedBC::computeResidualAndJacobian(), NodalBC::computeResidualAndJacobian(), Kernel::computeResidualAndJacobian(), KernelScalarBase::computeResidualAndJacobian(), NonlinearSystemBase::computeResidualAndJacobianInternal(), NonlinearSystemBase::computeResidualInternal(), FEProblemBase::computeResidualL2Norm(), NonlinearSystemBase::computeResidualTags(), NonlinearSystemBase::computeScaling(), Assembly::computeSinglePointMapAD(), FEProblemBase::computeTransposeNullSpace(), DebugResidualAux::computeValue(), NearestNodeValueAux::computeValue(), SlepcEigenSolverConfiguration::configure_solver(), NonlinearSystemBase::constraintJacobians(), containsTimeKernel(), Coupleable::coupled(), FEProblemBase::currentLinearSysNum(), FEProblemBase::currentNlSysNum(), PseudoTimestep::currentResidualNorm(), ComputeResidualAndJacobianThread::determineObjectWarehouses(), ComputeResidualThread::determineObjectWarehouses(), Moose::doDerivatives(), GreaterThanLessThanPostprocessor::execute(), VariableResidual::execute(), NodalNormalsCorner::execute(), NodalNormalsEvaluator::execute(), NodalNormalsPreprocessor::execute(), ExplicitTimeIntegrator::ExplicitTimeIntegrator(), InternalSideIndicatorBase::finalize(), NumNonlinearIterations::finalize(), NonlinearEigenSystem::finalNonlinearResidual(), FunctorNodalCorrector::FunctorNodalCorrector(), BoundsBase::getDoFIndex(), NonlinearSystemBase::getFVSetupObjects(), NonlinearSystemBase::getNodeDofs(), NonlinearEigenSystem::getSNES(), SystemBase::getSubdomainsForVar(), NumLinearIterations::getValue(), NumResidualEvaluations::getValue(), Residual::getValue(), Moose::globalDofIndexToDerivative(), FVBoundaryCondition::hasFaceSide(), ExplicitTimeIntegrator::init(), AttribSysNum::initFrom(), AuxKernelBase::initialSetup(), initialSetup(), NonlinearSystemBase::initialSetup(), ExplicitTimeIntegrator::initialSetup(), ActivateElementsUserObjectBase::initSolutions(), EigenExecutionerBase::inversePowerIteration(), MooseMesh::isTranslatedPeriodic(), Kernel::Kernel(), MooseMesh::minPeriodicDistance(), MooseMesh::minPeriodicVector(), Moose::SlepcSupport::mooseSlepcEigenFormFunctionA(), Moose::SlepcSupport::mooseSlepcEigenFormFunctionAB(), Moose::SlepcSupport::mooseSlepcEigenFormFunctionB(), Moose::SlepcSupport::mooseSlepcEigenFormJacobianA(), MooseStaticCondensationPreconditioner::MooseStaticCondensationPreconditioner(), MoveNodesByParsedExpressionModifier::MoveNodesByParsedExpressionModifier(), NonlinearEigenSystem::nLinearIterations(), NonlinearEigenSystem::nNonlinearIterations(), EigenExecutionerBase::nonlinearSolve(), ComputeDiracThread::onElement(), ComputeNodalKernelBCJacobiansThread::onNode(), ComputeNodalKernelJacobiansThread::onNode(), VariableResidualNormsDebugOutput::output(), Moose::PetscSupport::petscLinearConverged(), PhysicsBasedPreconditioner::PhysicsBasedPreconditioner(), PointwiseRenormalizeVector::PointwiseRenormalizeVector(), FEProblemBase::prepare(), FEProblemBase::prepareAssembly(), FEProblemBase::prepareAssemblyNeighbor(), SystemBase::prepareFace(), FEProblemBase::prepareFaceShapes(), FEProblemBase::prepareNeighborShapes(), FEProblemBase::prepareShapes(), MooseMesh::queryPeriodicDimensions(), FEProblemBase::reinitDirac(), FEProblemBase::reinitNeighborPhys(), FEProblemBase::reinitNeighborPhys(), FEProblemBase::reinitOffDiagScalars(), NonlinearSystem::residualAndJacobianTogether(), FEProblemBase::setResidual(), FEProblemBase::setResidualNeighbor(), PhysicsBasedPreconditioner::setup(), FVInterfaceKernel::setupData(), NonlinearSystemBase::shouldEvaluatePreSMOResidual(), NonlinearEigenSystem::solve(), ActuallyExplicitEuler::solve(), AStableDirk4::solve(), ExplicitRK2::solve(), ExplicitTVDRK2::solve(), ImplicitMidpoint::solve(), LStableDirk2::solve(), LStableDirk3::solve(), LStableDirk4::solve(), ExplicitSSPRungeKutta::solveStage(), UserObjectBase::systemNumber(), MultiAppDofCopyTransfer::transferDofObject(), FVQpFluxBC::uOnGhost(), FVQpFluxBC::uOnUSub(), NodalDamper::variableDefinedOnNode(), and MortarConstraintBase::zeroInactiveLMDofs().
|
virtualinherited |
Get the number of variables in this system.
Definition at line 888 of file SystemBase.C.
Referenced by AdaptivityAction::act(), FiniteDifferencePreconditioner::FiniteDifferencePreconditioner(), NonlinearSystemBase::getNodeDofs(), ExplicitTimeIntegrator::initialSetup(), MaxVarNDofsPerElem::onElement(), MaxVarNDofsPerNode::onNode(), PhysicsBasedPreconditioner::PhysicsBasedPreconditioner(), SingleMatrixPreconditioner::SingleMatrixPreconditioner(), and AuxiliarySystem::variableWiseRelativeSolutionDifferenceNorm().
|
privateinherited |
Gets the vector name used for an old (not current) solution state.
Definition at line 1400 of file SystemBase.C.
Referenced by SystemBase::needSolutionState(), and SystemBase::solutionState().
|
inherited |
Get the PerfGraph.
Definition at line 86 of file PerfGraphInterface.C.
Referenced by CommonOutputAction::act(), PerfGraphData::finalize(), PerfGraphReporter::finalize(), and PerfGraphOutput::output().
|
inlinevirtualinherited |
Reimplemented in NonlinearEigenSystem.
Definition at line 163 of file SystemBase.h.
Referenced by NonlinearEigenSystem::postInit().
|
inherited |
Definition at line 1734 of file SystemBase.C.
Referenced by FieldSplitPreconditioner::FieldSplitPreconditioner(), MoosePreconditioner::initialSetup(), and FieldSplitPreconditioner::prefix().
|
overridevirtual |
This is called prior to the libMesh system has been init'd.
MOOSE system wrappers can use this method to add vectors and matrices to the libMesh system
Reimplemented from SolverSystem.
Definition at line 104 of file LinearSystem.C.
|
virtualinherited |
Prepare the system for use.
| tid | ID of the thread |
Definition at line 255 of file SystemBase.C.
Referenced by SubProblem::reinitElemFaceRef().
|
virtualinherited |
Prepare the system for use on sides.
This will try to reuse the preparation done on the element.
| tid | ID of the thread |
| resize_data | Pass True if this system needs to resize residual and jacobian datastructures based on preparing this face |
Definition at line 278 of file SystemBase.C.
|
virtualinherited |
Prepare the system for use for lower dimensional elements.
| tid | ID of the thread |
Definition at line 331 of file SystemBase.C.
Referenced by SubProblem::reinitLowerDElem().
|
virtualinherited |
Prepare the system for use.
| tid | ID of the thread |
Definition at line 323 of file SystemBase.C.
Referenced by SubProblem::reinitNeighborFaceRef().
|
inherited |
Retrieve the time integrator that integrates the given variable's equation.
If no suitable time integrator is found (this could happen for instance if we're solving a non-transient problem), then a nullptr will be returned
Definition at line 1694 of file SystemBase.C.
Referenced by SystemBase::getTimeIntegrator(), HDGKernel::HDGKernel(), and MooseVariableData< OutputType >::MooseVariableData().
|
protectedinherited |
Rebuild cached gradient values and reusable scratch storage after mesh/DOF changes.
Definition at line 339 of file LinearFVGradientManager.C.
Referenced by AuxiliarySystem::reinit(), and reinit().
| LinearFVGradientReader LinearFVGradientManager::registerFVGradient | ( | unsigned int | variable_number, |
| const FVGradientMethod & | method, | ||
| unsigned int | oldest_state = 0 |
||
| ) |
Register a variable for gradient values produced by a method object.
| variable_number | Variable number whose gradient should be stored. |
| method | Gradient method that computes the field values. |
| oldest_state | Oldest time state that consumers need to read. |
Definition at line 59 of file LinearFVGradientManager.C.
|
protectedinherited |
Call to register a named section for timing.
| section_name | The name of the code section to be timed |
| level | The importance of the timer - lower is more important (0 will always come out) |
Definition at line 61 of file PerfGraphInterface.C.
|
protectedinherited |
Call to register a named section for timing.
| section_name | The name of the code section to be timed |
| level | The importance of the timer - lower is more important (0 will always come out) |
| live_message | The message to be printed to the screen during execution |
| print_dots | Whether or not progress dots should be printed for this section |
Definition at line 72 of file PerfGraphInterface.C.
|
overridevirtual |
Reinitialize the system when the degrees of freedom in this system have changed.
This is called after the libMesh system has been reinit'd
Reimplemented from SystemBase.
Definition at line 181 of file LinearSystem.C.
|
virtualinherited |
Reinit an element assembly info.
| elem | Which element we are reinitializing for |
| tid | ID of the thread |
Reimplemented in AuxiliarySystem.
Definition at line 339 of file SystemBase.C.
|
virtualinherited |
Reinit assembly info for a side of an element.
| elem | The element |
| side | Side of of the element |
| tid | Thread ID |
Reimplemented in AuxiliarySystem.
Definition at line 365 of file SystemBase.C.
Referenced by SubProblem::reinitElemFaceRef().
|
virtualinherited |
Compute the values of the variables on the lower dimensional element.
Definition at line 389 of file SystemBase.C.
Referenced by SubProblem::reinitLowerDElem().
|
virtualinherited |
Compute the values of the variables at all the current points.
Definition at line 381 of file SystemBase.C.
|
virtualinherited |
Compute the values of the variables at all the current points.
Definition at line 373 of file SystemBase.C.
Referenced by SubProblem::reinitNeighborFaceRef().
|
virtualinherited |
Reinit nodal assembly info.
| node | Node to reinit for |
| tid | Thread ID |
Definition at line 397 of file SystemBase.C.
|
virtualinherited |
Reinit nodal assembly info on a face.
| node | Node to reinit |
| bnd_id | Boundary ID |
| tid | Thread ID |
Reimplemented in NonlinearSystemBase.
Definition at line 409 of file SystemBase.C.
|
virtualinherited |
Reinit variables at a set of nodes.
| nodes | List of node ids to reinit |
| tid | Thread ID |
Definition at line 421 of file SystemBase.C.
Referenced by SubProblem::reinitNodes().
|
virtualinherited |
Reinit variables at a set of neighbor nodes.
| nodes | List of node ids to reinit |
| tid | Thread ID |
Definition at line 432 of file SystemBase.C.
Referenced by SubProblem::reinitNodesNeighbor().
|
virtualinherited |
Reinit scalar varaibles.
| tid | Thread ID |
| reinit_for_derivative_reordering | A flag indicating whether we are reinitializing for the purpose of re-ordering derivative information for ADNodalBCs |
Definition at line 443 of file SystemBase.C.
|
inherited |
Removes a matrix with a given tag.
| tag_name | The name of the tag |
Definition at line 587 of file SystemBase.C.
|
inherited |
Remove a vector from the system with the given name.
Definition at line 1353 of file SystemBase.C.
Referenced by SystemBase::restoreOldSolutions().
|
inherited |
Remove a solution length vector from the system with the specified TagID.
| tag_id | Tag ID |
Definition at line 699 of file SystemBase.C.
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem, and NonlinearSystemBase.
Definition at line 454 of file SystemBase.h.
Referenced by DisplacedSystem::residualCopy().
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem, and NonlinearSystemBase.
Definition at line 458 of file SystemBase.h.
Referenced by DisplacedSystem::residualGhosted().
|
inlineoverridevirtual |
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem, and NonlinearSystemBase.
Definition at line 335 of file SystemBase.h.
Referenced by SystemBase::defaultVectorTags(), and DisplacedSystem::residualVectorTag().
|
protectedinherited |
Ensure that a method container stores every requested time state.
| container | Method container whose state storage should be grown. |
| oldest_state | Oldest time state that must be stored. |
Definition at line 183 of file LinearFVGradientManager.C.
Referenced by AuxiliarySystem::updateFVGradient().
|
inherited |
Resolve a named gradient method, constructing a built-in method when needed.
| method_name | Name of the gradient method to retrieve. |
Definition at line 52 of file LinearFVGradientManager.C.
|
overrideprotectedvirtual |
Restore system-owned state not represented by solution vectors.
Default implementation does nothing.
Reimplemented from SystemBase.
Definition at line 196 of file LinearSystem.C.
|
protectedinherited |
Restore current gradients from state one after a failed timestep.
Definition at line 392 of file LinearFVGradientManager.C.
Referenced by AuxiliarySystem::restoreAdditionalStates(), and restoreAdditionalStates().
|
virtualinherited |
Restore the old and older solutions when the saved solutions present.
Definition at line 540 of file SystemBase.C.
|
finaloverridevirtualinherited |
Restore current solutions (call after your solve failed)
Reimplemented from SystemBase.
Definition at line 41 of file SolverSystem.C.
|
inherited |
Restore solution vectors and additional system-owned state together.
Definition at line 1346 of file SystemBase.C.
|
inline |
Definition at line 150 of file LinearSystem.h.
|
inline |
|
inline |
Definition at line 151 of file LinearSystem.h.
Referenced by FEProblemBase::computeLinearSystemSys().
|
virtualinherited |
Save the old and older solutions.
Definition at line 509 of file SystemBase.C.
|
virtualinherited |
Returns a reference to a serialized version of the solution vector for this subproblem.
Reimplemented in DisplacedSystem.
Definition at line 1667 of file SystemBase.C.
Referenced by PNGOutput::calculateRescalingValues(), PNGOutput::makeMeshFunc(), and DisplacedSystem::serializedSolution().
|
inherited |
Definition at line 50 of file SolverSystem.C.
Referenced by SolverSystem::setSolution().
|
inherited |
Set the active vector tags for the scalar variables.
Definition at line 1647 of file SystemBase.C.
Referenced by SubProblem::setActiveScalarVariableCoupleableVectorTags().
|
inherited |
Set the active vector tags for the variables.
Definition at line 1641 of file SystemBase.C.
Referenced by SubProblem::setActiveFEVariableCoupleableVectorTags().
|
protectedinherited |
Set solution state zero to the current gradient.
Definition at line 216 of file LinearFVGradientManager.C.
Referenced by LinearFVGradientManager::finalizeLinearFVGradientContainer(), LinearFVGradientManager::initializeLinearFVGradientStorage(), and AuxiliarySystem::updateFVGradient().
|
inherited |
Set the norm in which the linear convergence will be measured.
| kspnorm | The required norm |
Definition at line 115 of file SolverSystem.C.
Referenced by MoosePreconditioner::MoosePreconditioner().
|
inherited |
Set the side on which the preconditioner is applied to.
| pcs | The required preconditioning side |
Definition at line 100 of file SolverSystem.C.
Referenced by MoosePreconditioner::MoosePreconditioner().
|
inherited |
Set the solution to a given vector.
| soln | The vector which should be treated as the solution. |
Definition at line 65 of file SolverSystem.C.
Referenced by FEProblemBase::computeDamping(), FEProblemBase::computeJacobianInternal(), FEProblemBase::computeJacobianTag(), FEProblemBase::computeLinearSystemTags(), FEProblemBase::computeResidualAndJacobian(), FEProblemBase::computeResidualInternal(), FEProblemBase::computeResidualTag(), FEProblemBase::computeResidualType(), ActuallyExplicitEuler::solve(), and ExplicitSSPRungeKutta::solveStage().
|
inherited |
set all the global dof indices for a variable
| var_name | The name of the variable |
Definition at line 185 of file SystemBase.C.
|
inlineinherited |
Sets the verbose flag.
| [in] | verbose | Verbose flag |
Definition at line 135 of file SystemBase.h.
Referenced by Executioner::Executioner().
|
inherited |
size the matrix data for each variable for the number of matrix tags we have
Definition at line 1740 of file SystemBase.C.
|
inlineinherited |
Skip the next copy from the solution vector to the old solution vector old -> older is still performed.
Definition at line 1005 of file SystemBase.h.
|
inlineinherited |
Definition at line 212 of file SystemBase.h.
Referenced by Adaptivity::adaptMesh(), SolverSystem::applyFixedPointRelaxation(), TransientMultiApp::appTransferVector(), MooseEigenSystem::combineSystemSolution(), AuxiliarySystem::compute(), NonlinearSystemBase::computeDamping(), AuxiliarySystem::computeElementalVarsHelper(), NonlinearSystemBase::computeJacobianInternal(), AuxiliarySystem::computeMortarNodalVars(), NonlinearSystemBase::computeNodalBCsJacobian(), NonlinearSystemBase::computeNodalBCsResidual(), AuxiliarySystem::computeNodalVarsHelper(), NonlinearSystemBase::computeResidualTags(), AuxiliarySystem::computeScalarVars(), NonlinearSystemBase::constraintResiduals(), SystemBase::copyVars(), GreaterThanLessThanPostprocessor::execute(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppScalarToAuxScalarTransfer::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), NodalNormalsCorner::execute(), NodalNormalsEvaluator::execute(), NodalNormalsPreprocessor::execute(), NodalNormalsCorner::finalize(), NodalNormalsEvaluator::finalize(), NodalNormalsPreprocessor::finalize(), NodalNormalsCorner::initialize(), NodalNormalsEvaluator::initialize(), NodalNormalsPreprocessor::initialize(), FEProblemSolve::initialSetup(), MooseEigenSystem::initSystemSolution(), ComputeIndicatorThread::onElement(), ComputeMarkerThread::onElement(), ComputeUserObjectsThread::onElement(), ComputeNodalUserObjectsThread::onNode(), FEProblemBase::projectInitialConditionOnCustomRange(), FEProblemBase::projectSolution(), Transient::relativeSolutionDifferenceNorm(), MultiApp::restore(), ElementSubdomainModifierBase::restoreOverriddenDofValues(), SystemBase::restoreSolutions(), PicardSolve::saveVariableValues(), SecantSolve::saveVariableValues(), SteffensenSolve::saveVariableValues(), MooseEigenSystem::scaleSystemSolution(), AuxiliarySystem::serializeSolution(), NonlinearSystemBase::setConstraintSecondaryValues(), NonlinearSystemBase::setInitialSolution(), DisplacedSystem::solutionInternal(), NonlinearEigenSystem::solve(), MultiAppDofCopyTransfer::transfer(), PicardSolve::transformVariables(), SecantSolve::transformVariables(), SteffensenSolve::transformVariables(), AuxiliarySystem::variableWiseRelativeSolutionDifferenceNorm(), MoveNodesByParsedExpressionModifier::writeOutputs(), and SystemBase::zeroVariables().
|
inlineinherited |
Definition at line 215 of file SystemBase.h.
|
inlinefinaloverrideprotectedvirtualinherited |
Internal getter for solution owned by libMesh.
Implements SystemBase.
Definition at line 135 of file SolverSystem.h.
|
inlineinherited |
Definition at line 213 of file SystemBase.h.
Referenced by MooseEigenSystem::combineSystemSolution(), CentralDifference::computeTimeDerivatives(), NonlinearSystemBase::constraintResiduals(), ActivateElementsUserObjectBase::initSolutions(), MooseEigenSystem::initSystemSolutionOld(), MooseVariableScalar::reinit(), Transient::relativeSolutionDifferenceNorm(), SystemBase::restoreSolutions(), ElementSubdomainModifierBase::setOldAndOlderSolutions(), ActuallyExplicitEuler::solve(), AdamsPredictor::timestepSetup(), and AuxiliarySystem::variableWiseRelativeSolutionDifferenceNorm().
|
inlineinherited |
Definition at line 216 of file SystemBase.h.
|
inlineinherited |
|
inlineinherited |
Definition at line 217 of file SystemBase.h.
|
virtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 1365 of file SystemBase.C.
|
virtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 1374 of file SystemBase.C.
Referenced by AuxiliarySystem::copyCurrentIntoPreviousNL(), SystemBase::copyPreviousSolutions(), and SystemBase::restoreSolutions().
|
virtualinherited |
Get a state of the solution (0 = current, 1 = old, 2 = older, etc).
If the state does not exist, it will be initialized in addition to any newer states before it that have not been initialized.
Reimplemented in DisplacedSystem.
Definition at line 1466 of file SystemBase.C.
Referenced by SolverSystem::applyFixedPointRelaxation(), SystemBase::copyPreviousSolutions(), FunctorNodalCorrector::execute(), PointwiseRenormalizeVector::execute(), PointwiseRenormalizeVector::finalize(), MooseVariableBase::getSolution(), SystemBase::restoreOldSolutions(), SystemBase::saveOldSolutions(), SystemBase::solution(), SystemBase::solution(), SystemBase::solutionOld(), SystemBase::solutionOld(), SystemBase::solutionOlder(), SystemBase::solutionOlder(), DisplacedSystem::solutionState(), and DisplacedSystem::solutionState().
|
virtualinherited |
Get a state of the solution (0 = current, 1 = old, 2 = older, etc).
Reimplemented in DisplacedSystem.
Definition at line 1436 of file SystemBase.C.
|
inherited |
Returns the parallel type of the given solution state.
Definition at line 1475 of file SystemBase.C.
Referenced by SolverSystem::applyFixedPointRelaxation(), and SystemBase::needSolutionState().
|
inlineinherited |
Whether or not the solution states have been initialized via initSolutionState()
After the solution states have been initialized, additional solution states cannot be added.
Definition at line 931 of file SystemBase.h.
Referenced by LinearFVGradientManager::computeGradients(), LinearFVGradientManager::resizeGradientStateStorage(), AuxScalarKernel::uOld(), and ScalarKernelBase::uOld().
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 289 of file SystemBase.h.
Referenced by MooseVariableScalar::adUDot(), ActuallyExplicitEuler::computeTimeDerivatives(), AStableDirk4::computeTimeDerivatives(), BDF2::computeTimeDerivatives(), CentralDifference::computeTimeDerivatives(), CrankNicolson::computeTimeDerivatives(), ExplicitEuler::computeTimeDerivatives(), ExplicitRK2::computeTimeDerivatives(), ExplicitTVDRK2::computeTimeDerivatives(), ImplicitEuler::computeTimeDerivatives(), ImplicitMidpoint::computeTimeDerivatives(), LStableDirk2::computeTimeDerivatives(), LStableDirk3::computeTimeDerivatives(), LStableDirk4::computeTimeDerivatives(), NewmarkBeta::computeTimeDerivatives(), SystemBase::copyPreviousSolutions(), CrankNicolson::init(), CentralDifference::initialSetup(), MooseVariableScalar::reinit(), SystemBase::restoreSolutions(), DisplacedSystem::solutionUDot(), DisplacedSystem::solutionUDot(), and MooseVariableScalar::uDot().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 290 of file SystemBase.h.
Referenced by CentralDifference::computeTimeDerivatives(), NewmarkBeta::computeTimeDerivatives(), SystemBase::copyPreviousSolutions(), CentralDifference::initialSetup(), MooseVariableScalar::reinit(), SystemBase::restoreSolutions(), DisplacedSystem::solutionUDotDot(), DisplacedSystem::solutionUDotDot(), and MooseVariableScalar::uDotDot().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 292 of file SystemBase.h.
Referenced by NewmarkBeta::computeADTimeDerivatives(), NewmarkBeta::computeTimeDerivatives(), SystemBase::copyPreviousSolutions(), MooseVariableScalar::reinit(), SystemBase::restoreOldSolutions(), SystemBase::restoreSolutions(), SystemBase::saveOldSolutions(), DisplacedSystem::solutionUDotDotOld(), DisplacedSystem::solutionUDotDotOld(), and MooseVariableScalar::uDotDotOld().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 291 of file SystemBase.h.
Referenced by NewmarkBeta::computeADTimeDerivatives(), NewmarkBeta::computeTimeDerivatives(), SystemBase::copyPreviousSolutions(), MooseVariableScalar::reinit(), SystemBase::restoreOldSolutions(), SystemBase::restoreSolutions(), SystemBase::saveOldSolutions(), DisplacedSystem::solutionUDotOld(), DisplacedSystem::solutionUDotOld(), and MooseVariableScalar::uDotOld().
|
inlinevirtualinherited |
|
overridevirtual |
Solve the system (using libMesh magic)
Reimplemented from SystemBase.
Reimplemented in DumpObjectsLinearSystem.
Definition at line 325 of file LinearSystem.C.
Referenced by FEProblemBase::solveLinearSystem().
|
overridevirtual |
Quit the current solve as soon as possible.
Implements SolverSystem.
Reimplemented in DumpObjectsLinearSystem.
Definition at line 352 of file LinearSystem.C.
Referenced by FEProblemBase::checkExceptionAndStopSolve().
|
virtualinherited |
Reimplemented in NonlinearSystemBase, and AuxiliarySystem.
Definition at line 1613 of file SystemBase.C.
Referenced by SystemBase::subdomainSetup(), AuxiliarySystem::subdomainSetup(), and NonlinearSystemBase::subdomainSetup().
|
inlineinherited |
Definition at line 102 of file SystemBase.h.
Referenced by CreateDisplacedProblemAction::addProxyRelationshipManagers(), MooseVariableBase::allDofIndices(), NonlinearSystemBase::constraintJacobians(), NonlinearSystemBase::constraintResiduals(), Moose::globalDofIndexToDerivative(), NonlinearSystemBase::initialSetup(), MooseVariableScalar::MooseVariableScalar(), NonlinearSystemBase::overwriteNodeFace(), MooseVariableScalar::reinit(), NonlinearSystemBase::reinitNodeFace(), NonlinearSystemBase::setConstraintSecondaryValues(), and MooseVariableScalar::sizeMatrixTagData().
|
inlineinherited |
Definition at line 103 of file SystemBase.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Get the reference to the libMesh system.
Implements SystemBase.
Definition at line 144 of file LinearSystem.h.
Referenced by initialSetup(), reinit(), and solve().
|
inlineoverridevirtual |
Return the Matrix Tag ID for System.
Reimplemented from SystemBase.
Definition at line 152 of file LinearSystem.h.
Referenced by FEProblemBase::computeLinearSystemSys().
|
protectedinherited |
section_name.Optionally adds a prefix if one is defined.
Definition at line 55 of file PerfGraphInterface.C.
Referenced by PerfGraphInterface::registerTimedSection(), and PerfGraphInterface::registerTimedSection().
|
inlineoverridevirtual |
Returns the names of the variables that have time derivative kernels in the system.
Implements SolverSystem.
Definition at line 106 of file LinearSystem.h.
|
virtualinherited |
Reimplemented in AuxiliarySystem, and NonlinearSystemBase.
Definition at line 1599 of file SystemBase.C.
Referenced by SystemBase::timestepSetup(), AuxiliarySystem::timestepSetup(), and NonlinearSystemBase::timestepSetup().
|
inlinevirtualinherited |
Ideally, we should not need this API.
There exists a really bad API "addCachedResidualDirectly " in FEProblem and DisplacedProblem This API should go away once addCachedResidualDirectly is removed in the future Return Tag ID for Time
Reimplemented in DisplacedSystem, and NonlinearSystemBase.
Definition at line 320 of file SystemBase.h.
Referenced by SystemBase::defaultVectorTags(), and DisplacedSystem::timeVectorTag().
|
inherited |
Update the system (doing libMesh magic)
Definition at line 1240 of file SystemBase.C.
Referenced by Adaptivity::adaptMesh(), SolverSystem::applyFixedPointRelaxation(), MooseEigenSystem::combineSystemSolution(), NonlinearSystemBase::computeDamping(), NonlinearSystemBase::computeJacobianInternal(), NonlinearSystemBase::computeResidualTags(), EigenProblem::doFreeNonlinearPowerIterations(), FunctorNodalCorrector::finalize(), PointwiseRenormalizeVector::finalize(), MooseEigenSystem::initSystemSolution(), MooseEigenSystem::initSystemSolutionOld(), MooseEigenSystem::scaleSystemSolution(), NonlinearSystemBase::setConstraintSecondaryValues(), NonlinearSystemBase::setInitialSolution(), FEProblemBase::solve(), EigenProblem::solve(), DisplacedProblem::syncSolutions(), MultiAppDofCopyTransfer::transfer(), PicardSolve::transformVariables(), SecantSolve::transformVariables(), and SteffensenSolve::transformVariables().
| void LinearFVGradientManager::updateFVGradient | ( | const LinearFVGradientReader & | reader | ) |
Update a registered gradient reader explicitly.
| reader | Gradient reader to update. |
Definition at line 81 of file LinearFVGradientManager.C.
|
staticinherited |
Definition at line 16 of file PerfGraphInterface.C.
Referenced by Convergence::validParams().
|
inlineinherited |
|
inlineinherited |
Definition at line 959 of file SystemBase.h.
Referenced by Coupleable::coupled().
|
inherited |
Zero vector with the given tag.
Definition at line 673 of file SystemBase.C.
Referenced by SystemBase::zeroTaggedVectors().
|
inherited |
Zero all vectors for given tags.
Definition at line 692 of file SystemBase.C.
Referenced by NonlinearSystemBase::computeResidualAndJacobianTags(), and NonlinearSystemBase::computeResidualTags().
|
virtualinherited |
Zero out the solution for the list of variables passed in.
@ param vars_to_be_zeroed The variable names in this vector will have their solutions set to zero after this call
Reimplemented in DisplacedSystem.
Definition at line 199 of file SystemBase.C.
Referenced by DisplacedSystem::zeroVariables(), SystemBase::zeroVariablesForJacobian(), and SystemBase::zeroVariablesForResidual().
|
virtualinherited |
Zero out the solution for the variables that were registered as needing to have their solutions zeroed on out on Jacobian evaluation by a call to addVariableToZeroOnResidual()
Definition at line 234 of file SystemBase.C.
|
virtualinherited |
Zero out the solution for the variables that were registered as needing to have their solutions zeroed on out on residual evaluation by a call to addVariableToZeroOnResidual()
Definition at line 228 of file SystemBase.C.
|
protectedinherited |
Active tagged matrices. A matrix is active if its tag-matrix pair is present in the map. We use a map instead of a vector so that users can easily add and remove to this container with calls to (de)activateMatrixTag.
Definition at line 1072 of file SystemBase.h.
Referenced by SystemBase::activateAllMatrixTags(), SystemBase::deactivateAllMatrixTags(), and SystemBase::reinitElem().
|
protectedinherited |
Definition at line 1035 of file SystemBase.h.
Referenced by SolverSystem::checkInvalidSolution(), NonlinearSystemBase::computeJacobianBlocks(), NonlinearSystemBase::computeJacobianInternal(), NonlinearSystemBase::computeJacobianTags(), computeLinearSystemInternal(), computeLinearSystemTags(), NonlinearSystemBase::computeResidualInternal(), NonlinearSystemBase::computeResidualTags(), NonlinearSystem::converged(), and NonlinearSystemBase::shouldEvaluatePreSMOResidual().
|
protectedinherited |
Whether to automatically scale the variables.
Definition at line 1102 of file SystemBase.h.
Referenced by SystemBase::automaticScaling(), SystemBase::automaticScaling(), NonlinearSystemBase::initialSetup(), and NonlinearSystemBase::preSolve().
|
inherited |
An instance of helper class to write streams to the Console objects.
Definition at line 31 of file ConsoleStreamInterface.h.
Referenced by IterationAdaptiveDT::acceptStep(), MaterialOutputAction::act(), MeshOnlyAction::act(), SetupDebugAction::act(), FEProblemBase::adaptMesh(), Adaptivity::adaptMesh(), PerfGraph::addToExecutionList(), SimplePredictor::apply(), SystemBase::applyScalingFactors(), MultiApp::backup(), FEProblemBase::backupMultiApps(), CoarsenedPiecewiseLinear::buildCoarsenedGrid(), DefaultSteadyStateConvergence::checkConvergence(), MeshDiagnosticsGenerator::checkElementOverlap(), MeshDiagnosticsGenerator::checkElementTypes(), MeshDiagnosticsGenerator::checkElementVolumes(), FEProblemBase::checkExceptionAndStopSolve(), SolverSystem::checkInvalidSolution(), MeshDiagnosticsGenerator::checkLocalJacobians(), MeshDiagnosticsGenerator::checkNonConformalMesh(), MeshDiagnosticsGenerator::checkNonConformalMeshFromAdaptivity(), MeshDiagnosticsGenerator::checkNonConformingFaces(), MeshDiagnosticsGenerator::checkNonMatchingEdges(), MeshDiagnosticsGenerator::checkNonPlanarSides(), MeshDiagnosticsGenerator::checkPolygons(), FEProblemBase::checkProblemIntegrity(), ReferenceResidualConvergence::checkResidualConvergence(), MeshDiagnosticsGenerator::checkSidesetsOrientation(), MeshDiagnosticsGenerator::checkWatertightNodesets(), MeshDiagnosticsGenerator::checkWatertightSidesets(), CoarsenSurfaceMeshAlongSidesetGenerator::coarsenAlongSidesets(), IterationAdaptiveDT::computeAdaptiveDT(), TransientBase::computeConstrainedDT(), DefaultMultiAppFixedPointConvergence::computeCustomConvergencePostprocessor(), NonlinearSystemBase::computeDamping(), FixedPointIterationAdaptiveDT::computeDT(), IterationAdaptiveDT::computeDT(), IterationAdaptiveDT::computeFailedDT(), IterationAdaptiveDT::computeInitialDT(), IterationAdaptiveDT::computeInterpolationDT(), FEProblemBase::computeLinearSystemTags(), computeLinearSystemTags(), NonlinearSystemBase::computeScaling(), Problem::console(), TimeStepper::constrainStep(), IterationAdaptiveDT::constrainStep(), MultiApp::createApp(), FEProblemBase::execMultiApps(), FEProblemBase::execMultiAppTransfers(), Eigenvalue::execute(), SteadyBase::execute(), MFEMSteady::execute(), MessageFromInput::execute(), ActionWarehouse::executeActionsWithAction(), ActionWarehouse::executeAllActions(), MeshGeneratorSystem::executeMeshGenerators(), SidesetAroundSubdomainUpdater::finalize(), ElementQualityChecker::finalize(), FEProblemBase::finishMultiAppStep(), MeshRepairGenerator::fixOverlappingNodes(), SurfaceSubdomainsDelaunayRemesher::General2DDelaunay(), CoarsenBlockGenerator::generate(), CoarsenSurfaceMeshAlongSidesetGenerator::generate(), OrientSurfaceMeshGenerator::generate(), PolyLineMeshFollowingNodeSetGenerator::generate(), MeshGenerator::generateInternal(), VariableCondensationPreconditioner::getDofToCondense(), InversePowerMethod::init(), NonlinearEigen::init(), FEProblemBase::initialAdaptMesh(), DefaultMultiAppFixedPointConvergence::initialize(), SubProblem::initialSetup(), EigenExecutionerBase::inversePowerIteration(), FEProblemBase::joinAndFinalize(), TransientBase::keepGoing(), IterationAdaptiveDT::limitDTByFunction(), IterationAdaptiveDT::limitDTToPostprocessorValue(), FEProblemBase::logAdd(), EigenExecutionerBase::makeBXConsistent(), Console::meshChanged(), SurfaceDelaunayGeneratorBase::meshNormalDeviation2D(), MooseBase::mooseDeprecated(), MooseBase::mooseDeprecatedNoTrace(), MooseBase::mooseInfo(), MooseBase::mooseWarning(), MooseBase::mooseWarningNonPrefixed(), ReferenceResidualConvergence::nonlinearConvergenceSetup(), Console::output(), DOFMapOutput::output(), MaterialPropertyDebugOutput::output(), PerfGraphOutput::output(), ReporterDebugOutput::output(), SolutionInvalidityOutput::output(), VariableResidualNormsDebugOutput::output(), ControlOutput::outputActiveObjects(), ControlOutput::outputChangedControls(), ControlOutput::outputControls(), Console::outputInput(), WebServerControl::outputMessage(), Console::outputPostprocessors(), PseudoTimestep::outputPseudoTimestep(), Console::outputReporters(), DefaultMultiAppFixedPointConvergence::outputResidualNorm(), Console::outputScalarVariables(), Console::outputSystemInformation(), FEProblemBase::possiblyRebuildGeomSearchPatches(), EigenExecutionerBase::postExecute(), AB2PredictorCorrector::postSolve(), ActionWarehouse::printActionDependencySets(), BlockRestrictionDebugOutput::printBlockRestrictionGroups(), BlockRestrictionDebugOutput::printBlockRestrictionMap(), BlockRestrictionDebugOutput::printBoundaryRestrictionGroups(), SolutionInvalidity::printDebug(), EigenExecutionerBase::printEigenvalue(), PicardSolve::printFixedPointConvergenceHistory(), SecantSolve::printFixedPointConvergenceHistory(), SteffensenSolve::printFixedPointConvergenceHistory(), FixedPointSolve::printFixedPointConvergenceReason(), PerfGraphLivePrint::printLiveMessage(), MaterialPropertyDebugOutput::printMaterialMap(), PerfGraphLivePrint::printStats(), NEML2Action::printSummary(), AutomaticMortarGeneration::projectPrimaryNodesSinglePair(), AutomaticMortarGeneration::projectSecondaryNodesSinglePair(), CoarsenBlockGenerator::recursiveCoarsen(), SolutionTimeAdaptiveDT::rejectStep(), MultiApp::restore(), FEProblemBase::restoreMultiApps(), FEProblemBase::restoreSolutions(), NonlinearSystemBase::setInitialSolution(), MooseApp::setupOptions(), Checkpoint::shouldOutput(), SubProblem::showFunctorRequestors(), SubProblem::showFunctors(), FullSolveMultiApp::showStatusMessage(), FEProblemSolve::solve(), FixedPointSolve::solve(), solve(), NonlinearSystem::solve(), AStableDirk4::solve(), ExplicitRK2::solve(), ExplicitTVDRK2::solve(), ImplicitMidpoint::solve(), LStableDirk2::solve(), LStableDirk3::solve(), LStableDirk4::solve(), EigenProblem::solve(), FixedPointSolve::solveStep(), TransientMultiApp::solveStep(), MeshRepairGenerator::splitNonConvexPolygons(), PerfGraphLivePrint::start(), WebServerControl::startServer(), AB2PredictorCorrector::step(), NonlinearEigen::takeStep(), TransientBase::takeStep(), MFEMTransient::takeStep(), TerminateChainControl::terminate(), SubProblem::timestepSetup(), FEProblemBase::updateMeshXFEM(), Convergence::verboseOutput(), Console::writeTimestepInformation(), Console::writeVariableNorms(), and FEProblemBase::~FEProblemBase().
|
protected |
If the solve on the linear system converged.
Definition at line 246 of file LinearSystem.h.
Referenced by converged(), and solve().
|
protected |
The linear iterations needed for convergence.
Definition at line 207 of file LinearSystem.h.
Referenced by solve().
|
protectedinherited |
solution vector from solver
Definition at line 117 of file SolverSystem.h.
Referenced by NonlinearEigenSystem::computeScalingJacobian(), NonlinearSystem::computeScalingJacobian(), NonlinearEigenSystem::computeScalingResidual(), NonlinearSystem::computeScalingResidual(), SolverSystem::currentSolution(), initialSetup(), SolverSystem::preInit(), reinit(), SolverSystem::restoreSolutions(), SolverSystem::serializeSolution(), SolverSystem::setSolution(), and NonlinearSystem::solve().
|
protectedinherited |
Derivative of time derivative of u with respect to uj.
This depends on the time integration scheme
Definition at line 1064 of file SystemBase.h.
Referenced by SystemBase::duDotDu(), and SystemBase::duDotDus().
|
protectedinherited |
Definition at line 1065 of file SystemBase.h.
Referenced by SystemBase::duDotDotDu(), and SystemBase::duDotDotDu().
|
protectedinherited |
Definition at line 1036 of file SystemBase.h.
Referenced by NonlinearSystemBase::addBoundaryCondition(), NonlinearSystemBase::addConstraint(), NonlinearSystemBase::addDamper(), NonlinearSystemBase::addDGKernel(), NonlinearSystemBase::addDiracKernel(), NonlinearSystemBase::addHDGKernel(), NonlinearSystemBase::addInterfaceKernel(), AuxiliarySystem::addKernel(), MooseEigenSystem::addKernel(), NonlinearSystemBase::addKernel(), NonlinearSystemBase::addNodalKernel(), AuxiliarySystem::addScalarKernel(), NonlinearSystemBase::addScalarKernel(), NonlinearSystemBase::addSplit(), and SystemBase::addTimeIntegrator().
|
protectedinherited |
the governing finite element/volume problem
Definition at line 1033 of file SystemBase.h.
Referenced by NonlinearSystemBase::addBoundaryCondition(), NonlinearSystemBase::addConstraint(), NonlinearSystemBase::addDGKernel(), NonlinearSystemBase::addDiracKernel(), SystemBase::addDotVectors(), NonlinearSystemBase::addHDGKernel(), NonlinearSystemBase::addInterfaceKernel(), NonlinearSystemBase::addKernel(), NonlinearSystemBase::addNodalKernel(), NonlinearSystemBase::addScalarKernel(), NonlinearSystemBase::addSplit(), NonlinearSystemBase::assembleScalingVector(), NonlinearSystemBase::augmentSparsity(), SolverSystem::checkInvalidSolution(), NonlinearSystemBase::checkKernelCoverage(), AuxiliarySystem::clearScalarVariableCoupleableTags(), AuxiliarySystem::compute(), compute(), SolverSystem::compute(), NonlinearSystemBase::computeDamping(), NonlinearSystemBase::computeDiracContributions(), AuxiliarySystem::computeElementalVarsHelper(), NonlinearSystemBase::computeJacobian(), NonlinearSystemBase::computeJacobianBlocks(), NonlinearSystemBase::computeJacobianBlocks(), NonlinearSystemBase::computeJacobianInternal(), computeLinearSystemInternal(), computeLinearSystemTags(), AuxiliarySystem::computeMortarNodalVars(), NonlinearSystemBase::computeNodalBCsJacobian(), NonlinearSystemBase::computeNodalBCsResidual(), NonlinearSystemBase::computeNodalBCsResidual(), NonlinearSystemBase::computeNodalBCsResidualAndJacobian(), AuxiliarySystem::computeNodalVarsHelper(), NonlinearSystemBase::computeResidualAndJacobianInternal(), NonlinearSystemBase::computeResidualInternal(), NonlinearSystemBase::computeResidualTags(), NonlinearSystemBase::computeScalarKernelsJacobians(), AuxiliarySystem::computeScalarVars(), NonlinearSystemBase::computeScaling(), NonlinearSystem::computeScalingJacobian(), NonlinearSystem::computeScalingResidual(), NonlinearSystemBase::constraintJacobians(), NonlinearSystemBase::constraintResiduals(), containsTimeKernel(), NonlinearSystem::converged(), NonlinearSystemBase::convergence(), NonlinearSystemBase::customSetup(), MooseEigenSystem::eigenKernelOnCurrent(), MooseEigenSystem::eigenKernelOnOld(), NonlinearSystemBase::enforceNodalConstraintsJacobian(), NonlinearSystemBase::enforceNodalConstraintsResidual(), SystemBase::feProblem(), SystemBase::feProblem(), NonlinearSystemBase::getFVSetupObjects(), NonlinearSystemBase::getResidualNonTimeVector(), NonlinearSystemBase::getResidualTimeVector(), initialSetup(), NonlinearSystemBase::initialSetup(), NonlinearSystemBase::jacobianSetup(), LinearSystem(), NonlinearSystemBase::NonlinearSystemBase(), NonlinearSystemBase::overwriteNodeFace(), NonlinearSystem::potentiallySetupFiniteDifferencing(), preInit(), NonlinearSystemBase::preInit(), NonlinearSystemBase::reinitNodeFace(), NonlinearSystem::residualAndJacobianTogether(), NonlinearSystemBase::residualSetup(), NonlinearSystemBase::setConstraintSecondaryValues(), NonlinearSystemBase::setInitialSolution(), AuxiliarySystem::setScalarVariableCoupleableTags(), NonlinearSystemBase::shouldEvaluatePreSMOResidual(), NonlinearSystem::solve(), and NonlinearSystemBase::timestepSetup().
|
protected |
|
protected |
|
protectedinherited |
KSP norm type.
Definition at line 122 of file SolverSystem.h.
Referenced by SolverSystem::getMooseKSPNormType(), and SolverSystem::setMooseKSPNormType().
|
protectedinherited |
Gradient containers keyed by the method object that produces them.
Definition at line 197 of file LinearFVGradientManager.h.
Referenced by LinearFVGradientManager::computeGradients(), LinearFVGradientManager::computeLinearFVGradientContainer(), LinearFVGradientManager::copyPreviousGradientStates(), LinearFVGradientManager::hasLinearFVGradients(), LinearFVGradientManager::initializeGradientStatesForTimeAdvance(), LinearFVGradientManager::initializeLinearFVGradientHistoryStorage(), LinearFVGradientManager::initializeLinearFVGradientStorage(), LinearFVGradientManager::rebuildLinearFVGradientStorage(), LinearFVGradientManager::restoreGradientStates(), AuxiliarySystem::updateFVGradient(), and LinearFVGradientManager::updateFVGradient().
|
protected |
Base class reference to the linear implicit system in libmesh.
Definition at line 249 of file LinearSystem.h.
Referenced by computeLinearSystemInternal(), getRightHandSideVector(), getRightHandSideVector(), getSystemMatrix(), getSystemMatrix(), linearImplicitSystem(), LinearSystem(), solve(), and stopSolve().
|
protectedinherited |
Active flags for tagged matrices.
Definition at line 1074 of file SystemBase.h.
Referenced by SystemBase::activateAllMatrixTags(), SystemBase::deactivateAllMatrixTags(), and SystemBase::matrixTagActive().
|
protected |
Matrix tags to temporarily store all tags associated with the current system.
Definition at line 213 of file LinearSystem.h.
|
protectedinherited |
Maximum number of dofs for any one variable on any one element.
Definition at line 1090 of file SystemBase.h.
Referenced by SystemBase::assignMaxVarNDofsPerElem(), and SystemBase::getMaxVarNDofsPerElem().
|
protectedinherited |
Maximum number of dofs for any one variable on any one node.
Definition at line 1093 of file SystemBase.h.
Referenced by SystemBase::assignMaxVarNDofsPerNode(), and SystemBase::getMaxVarNDofsPerNode().
|
protectedinherited |
Maximum variable number.
Definition at line 1047 of file SystemBase.h.
Referenced by SystemBase::getMaxVariableNumber().
|
protectedinherited |
Definition at line 1038 of file SystemBase.h.
Referenced by SystemBase::addVariable(), NonlinearSystemBase::assembleScalingVector(), SystemBase::augmentSendList(), NonlinearSystemBase::checkKernelCoverage(), AuxiliarySystem::computeElementalVarsHelper(), AuxiliarySystem::computeMortarNodalVars(), NonlinearSystemBase::computeNodalBCsJacobian(), AuxiliarySystem::computeNodalVarsHelper(), NonlinearSystemBase::constraintJacobians(), NonlinearSystemBase::constraintResiduals(), NonlinearSystemBase::findImplicitGeometricCouplingEntries(), NonlinearSystemBase::getNodeDofs(), SystemBase::mesh(), SystemBase::mesh(), NonlinearSystemBase::overwriteNodeFace(), NonlinearSystemBase::reinitNodeFace(), NonlinearSystemBase::setConstraintSecondaryValues(), SystemBase::setVariableGlobalDoFs(), AuxiliarySystem::variableWiseRelativeSolutionDifferenceNorm(), and SystemBase::zeroVariables().
|
protected |
Number of linear iterations.
Definition at line 237 of file LinearSystem.h.
Referenced by nLinearIterations(), and solve().
|
protectedinherited |
The name of this system.
Definition at line 1040 of file SystemBase.h.
|
protectedinherited |
Map variable number to its pointer.
Definition at line 1099 of file SystemBase.h.
Referenced by SystemBase::addVariable(), and SystemBase::getVariable().
|
protectedinherited |
Preconditioning side.
Definition at line 120 of file SolverSystem.h.
Referenced by SolverSystem::getPCSide(), and SolverSystem::setPCSide().
|
protectedinherited |
The MooseApp that owns the PerfGraph.
Definition at line 135 of file PerfGraphInterface.h.
Referenced by PerfGraphInterface::perfGraph().
|
protectedinherited |
A prefix to use for all sections.
Definition at line 138 of file PerfGraphInterface.h.
Referenced by PerfGraphInterface::timedSectionName().
|
protected |
right hand side vector for non-time contributions
Definition at line 225 of file LinearSystem.h.
Referenced by getRightHandSideNonTimeVector().
|
protected |
Tag for non-time contribution rhs.
Definition at line 222 of file LinearSystem.h.
Referenced by rightHandSideNonTimeVectorTag().
|
protected |
Used for the right hand side vector from PETSc.
Definition at line 228 of file LinearSystem.h.
Referenced by LinearSystem(), and rightHandSideVectorTag().
|
protected |
right hand side vector for time contributions
Definition at line 219 of file LinearSystem.h.
Referenced by getRightHandSideTimeVector().
|
protected |
Tag for time contribution rhs.
Definition at line 216 of file LinearSystem.h.
Referenced by rightHandSideTimeVectorTag().
|
protectedinherited |
Definition at line 1081 of file SystemBase.h.
Referenced by SystemBase::restoreOldSolutions(), and SystemBase::saveOldSolutions().
|
protectedinherited |
Definition at line 1082 of file SystemBase.h.
Referenced by SystemBase::restoreOldSolutions(), and SystemBase::saveOldSolutions().
|
protectedinherited |
Definition at line 1077 of file SystemBase.h.
|
protectedinherited |
Definition at line 1078 of file SystemBase.h.
|
privateinherited |
The saved solution states (0 = current, 1 = old, 2 = older, etc)
Definition at line 1147 of file SystemBase.h.
Referenced by SystemBase::restoreOldSolutions(), and SystemBase::saveOldSolutions().
|
protectedinherited |
Serialized version of the solution vector, or nullptr if a serialized solution is not needed.
Definition at line 1115 of file SystemBase.h.
Referenced by AuxiliarySystem::compute(), SolverSystem::preInit(), SystemBase::serializedSolution(), AuxiliarySystem::serializeSolution(), SolverSystem::serializeSolution(), and SolverSystem::setSolution().
|
privateinherited |
Whether to skip the next copy from the solution to the old vector.
Definition at line 1149 of file SystemBase.h.
Referenced by SystemBase::advanceStateHistory(), SystemBase::copyPreviousSolutions(), and SystemBase::skipNextSolutionToOldCopy().
|
protectedinherited |
Boolean to see if solution is invalid.
Definition at line 125 of file SolverSystem.h.
|
private |
The current states of the solution (0 = current, 1 = old, etc)
Definition at line 253 of file LinearSystem.h.
|
privateinherited |
2D array of solution state vector pointers.
Outer (array) index: SolutionIterationType (Time, Nonlinear, ...) Inner (vector) index: State (0=current, 1=old, ...)
Should only be accessed through getSolutionStates() when possible for bounds checking.
Definition at line 1145 of file SystemBase.h.
Referenced by SystemBase::getSolutionStates().
|
protectedinherited |
Whether or not the solution states have been initialized.
Definition at line 1108 of file SystemBase.h.
Referenced by SystemBase::initSolutionState(), and SystemBase::solutionStatesInitialized().
|
protectedinherited |
The subproblem for whom this class holds variable data, etc; this can either be the governing finite element/volume problem or a subjugate displaced problem.
Definition at line 1030 of file SystemBase.h.
Referenced by SystemBase::activateAllMatrixTags(), SystemBase::addMatrix(), SystemBase::addScalingVector(), SystemBase::addVector(), SystemBase::associateMatrixToTag(), SystemBase::associateVectorToTag(), SystemBase::augmentSendList(), SystemBase::closeTaggedVector(), SystemBase::computingScalingJacobian(), SystemBase::deactivateAllMatrixTags(), SystemBase::disassociateDefaultMatrixTags(), SystemBase::disassociateDefaultVectorTags(), SystemBase::disassociateMatrixFromTag(), SystemBase::disassociateMatrixFromTag(), SystemBase::disassociateVectorFromTag(), SystemBase::disassociateVectorFromTag(), SystemBase::getMatrix(), SystemBase::getMatrix(), NonlinearSystemBase::getResidualNonTimeVector(), NonlinearSystemBase::getResidualTimeVector(), SystemBase::getVector(), SystemBase::getVector(), SystemBase::matrixTagActive(), SystemBase::needSolutionState(), SystemBase::prepare(), SystemBase::prepareFace(), SystemBase::reinitElem(), SystemBase::removeMatrix(), SystemBase::removeVector(), NonlinearSystemBase::residualGhosted(), SolverSystem::setSolution(), SystemBase::setVariableGlobalDoFs(), SystemBase::subproblem(), SystemBase::subproblem(), SystemBase::zeroTaggedVector(), and SystemBase::zeroVariables().
|
protected |
Base class reference to the libmesh system.
Definition at line 204 of file LinearSystem.h.
|
protected |
Tag for non-time contribution to the system matrix.
Definition at line 231 of file LinearSystem.h.
|
protected |
Tag for every contribution to system matrix.
Definition at line 234 of file LinearSystem.h.
Referenced by LinearSystem(), and systemMatrixTag().
|
protectedinherited |
Tagged matrices (pointer)
Definition at line 1070 of file SystemBase.h.
Referenced by SystemBase::associateMatrixToTag(), SystemBase::disassociateMatrixFromTag(), SystemBase::getMatrix(), SystemBase::getMatrix(), SystemBase::hasMatrix(), and SystemBase::removeMatrix().
|
protectedinherited |
Tagged vectors (pointer)
Definition at line 1068 of file SystemBase.h.
Referenced by SystemBase::associateVectorToTag(), SystemBase::disassociateVectorFromTag(), SystemBase::getVector(), SystemBase::getVector(), SystemBase::hasVector(), and SystemBase::removeVector().
|
protectedinherited |
Time integrator.
Definition at line 1096 of file SystemBase.h.
Referenced by SystemBase::addTimeIntegrator(), AuxiliarySystem::compute(), compute(), SolverSystem::compute(), NonlinearSystemBase::computeResidualAndJacobianTags(), NonlinearSystemBase::computeResidualTags(), SystemBase::copyTimeIntegrators(), SystemBase::getTimeIntegrators(), NonlinearEigenSystem::nLinearIterations(), NonlinearEigenSystem::nNonlinearIterations(), NonlinearSystemBase::onTimestepBegin(), SystemBase::queryTimeIntegrator(), NonlinearEigenSystem::solve(), and NonlinearSystem::solve().
|
protectedinherited |
solution vector for u^dot
Definition at line 1053 of file SystemBase.h.
Referenced by SystemBase::addDotVectors(), NonlinearSystemBase::setSolutionUDot(), SystemBase::solutionUDot(), and SystemBase::solutionUDot().
|
protectedinherited |
old solution vector for u^dot
Definition at line 1058 of file SystemBase.h.
Referenced by SystemBase::addDotVectors(), NonlinearSystemBase::setSolutionUDotOld(), SystemBase::solutionUDotOld(), and SystemBase::solutionUDotOld().
|
protectedinherited |
solution vector for u^dotdot
Definition at line 1055 of file SystemBase.h.
Referenced by SystemBase::addDotVectors(), NonlinearSystemBase::setSolutionUDotDot(), SystemBase::solutionUDotDot(), and SystemBase::solutionUDotDot().
|
protectedinherited |
old solution vector for u^dotdot
Definition at line 1060 of file SystemBase.h.
Referenced by SystemBase::addDotVectors(), NonlinearSystemBase::setSolutionUDotDotOld(), SystemBase::solutionUDotDotOld(), and SystemBase::solutionUDotDotOld().
|
protectedinherited |
Container for the dof indices of a given variable.
Definition at line 1111 of file SystemBase.h.
Referenced by SystemBase::getVariableGlobalDoFs(), and SystemBase::setVariableGlobalDoFs().
|
protectedinherited |
default kind of variables in this system
Definition at line 1085 of file SystemBase.h.
Referenced by SystemBase::varKind().
|
protectedinherited |
Map of variables (variable id -> array of subdomains where it lives)
Definition at line 1045 of file SystemBase.h.
Referenced by SystemBase::getSubdomainsForVar(), and SystemBase::getVariableBlocks().
|
protectedinherited |
Definition at line 1087 of file SystemBase.h.
Referenced by SystemBase::addVariableToCopy(), SystemBase::copyVars(), and SystemBase::hasVarCopy().
|
protectedinherited |
Variable warehouses (one for each thread)
Definition at line 1043 of file SystemBase.h.
Referenced by NonlinearSystemBase::addBoundaryCondition(), NonlinearSystemBase::addInterfaceKernel(), AuxiliarySystem::addVariable(), SystemBase::applyScalingFactors(), NonlinearSystemBase::assembleScalingVector(), SystemBase::clearAllDofIndices(), AuxiliarySystem::compute(), SystemBase::customSetup(), SystemBase::getActualFieldVariable(), SystemBase::getActualFieldVariable(), SystemBase::getFieldVariable(), SystemBase::getFieldVariable(), SystemBase::getFVVariable(), SystemBase::getMinQuadratureOrder(), AuxiliarySystem::getMinQuadratureOrder(), SystemBase::getScalarVariable(), SystemBase::getScalarVariable(), SystemBase::getScalarVariables(), SystemBase::getVariable(), SystemBase::getVariableNames(), SystemBase::getVariables(), SystemBase::initialSetup(), initialSetup(), SystemBase::jacobianSetup(), SystemBase::nFieldVariables(), SystemBase::nFVVariables(), SystemBase::nVariables(), SystemBase::prepare(), SystemBase::prepareFace(), SystemBase::prepareLowerD(), SystemBase::prepareNeighbor(), SystemBase::reinitElem(), SystemBase::reinitElemFace(), SystemBase::reinitLowerD(), SystemBase::reinitNeighbor(), SystemBase::reinitNeighborFace(), SystemBase::reinitNode(), SystemBase::reinitNodeFace(), SystemBase::reinitNodes(), SystemBase::reinitNodesNeighbor(), SystemBase::reinitScalars(), SystemBase::residualSetup(), SystemBase::setActiveScalarVariableCoupleableVectorTags(), SystemBase::setActiveVariableCoupleableVectorTags(), NonlinearSystemBase::setupScalingData(), SystemBase::sizeVariableMatrixData(), SystemBase::subdomainSetup(), SystemBase::timestepSetup(), and SystemBase::variableWarehouse().
|
protectedinherited |
Definition at line 1050 of file SystemBase.h.
Referenced by SystemBase::addVariableToZeroOnJacobian(), and SystemBase::zeroVariablesForJacobian().
|
protectedinherited |
Definition at line 1049 of file SystemBase.h.
Referenced by SystemBase::addVariableToZeroOnResidual(), and SystemBase::zeroVariablesForResidual().
|
protected |
Vector tags to temporarily store all tags associated with the current system.
Definition at line 210 of file LinearSystem.h.
|
protectedinherited |
True if printing out additional information.
Definition at line 1105 of file SystemBase.h.
Referenced by SystemBase::applyScalingFactors(), and SystemBase::setVerboseFlag().