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) More... | |
| virtual bool | converged () override |
| At the moment, this is only used for the multi-system fixed point iteration. More... | |
| virtual void | initialSetup () override |
| Setup Functions. More... | |
| virtual void | reinit () override |
| Reinitialize the system when the degrees of freedom in this system have changed. More... | |
| 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. More... | |
| virtual bool | containsTimeKernel () override |
| If the system has a kernel that corresponds to a time derivative. More... | |
| virtual std::vector< std::string > | timeKernelVariableNames () override |
| Returns the names of the variables that have time derivative kernels in the system. More... | |
| 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. More... | |
| libMesh::LinearImplicitSystem & | linearImplicitSystem () |
| Return a reference to the stored linear implicit system. More... | |
| NumericVector< Number > & | getRightHandSideTimeVector () |
| Return a numeric vector that is associated with the time tag. More... | |
| NumericVector< Number > & | getRightHandSideNonTimeVector () |
| Return a numeric vector that is associated with the nontime tag. More... | |
| 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. More... | |
| unsigned int | nLinearIterations () const |
| Return the number of linear iterations. More... | |
| virtual System & | system () override |
| Get the reference to the libMesh system. More... | |
| virtual const System & | system () const override |
| NumericVector< Number > & | getRightHandSideVector () |
| Fetching the right hand side vector from the libmesh system. More... | |
| const NumericVector< Number > & | getRightHandSideVector () const |
| SparseMatrix< Number > & | getSystemMatrix () |
| Fetching the system matrix from the libmesh system. More... | |
| const SparseMatrix< Number > & | getSystemMatrix () const |
| virtual void | compute (ExecFlagType type) override |
| Compute time derivatives, auxiliary variables, etc. More... | |
| void | computeGradients () |
| Compute and store raw and requested limited Green-Gauss gradients for linear FV variables. More... | |
| const std::vector< std::unique_ptr< libMesh::NumericVector< libMesh::Number > > > & | linearFVLimitedGradientContainer (const Moose::FV::GradientLimiterType limiter_type) const |
| Access the stored raw or limited cell-centered gradient components. More... | |
| void | requestLinearFVLimitedGradients (const Moose::FV::GradientLimiterType limiter_type, unsigned int variable_number) |
| Request storage and assembly of limiter-specific cell gradients. More... | |
| virtual void | preInit () override |
| This is called prior to the libMesh system has been init'd. More... | |
| virtual void | restoreSolutions () override final |
| Restore current solutions (call after your solve failed) More... | |
| void | serializeSolution () |
| void | setSolution (const NumericVector< Number > &soln) |
| Set the solution to a given vector. More... | |
| void | setFixedPointRelaxationFactor (const Real relaxation_factor) |
| Enable solution under/over-relaxation for fixed point iterations. More... | |
| void | clearFixedPointRelaxation () |
| void | saveOldSolutionForFixedPointRelaxation () |
| void | applyFixedPointRelaxation () |
| void | setPCSide (MooseEnum pcs) |
| Set the side on which the preconditioner is applied to. More... | |
| Moose::PCSideType | getPCSide () |
| Get the current preconditioner side. More... | |
| void | setMooseKSPNormType (MooseEnum kspnorm) |
| Set the norm in which the linear convergence will be measured. More... | |
| Moose::MooseKSPNormType | getMooseKSPNormType () |
| Get the norm in which the linear convergence is measured. More... | |
| virtual const NumericVector< Number > *const & | currentSolution () const override final |
| The solution vector that is currently being operated on. More... | |
| unsigned int | number () const |
| Gets the number of this system. More... | |
| 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. More... | |
| bool | computingScalingJacobian () const |
| Whether we are computing an initial Jacobian for automatic variable scaling. More... | |
| bool | automaticScaling () const |
| Getter for whether we are performing automatic scaling. More... | |
| void | automaticScaling (bool automatic_scaling) |
| Setter for whether we are performing automatic scaling. More... | |
| void | setVerboseFlag (const bool &verbose) |
| Sets the verbose flag. More... | |
| virtual libMesh::DofMap & | dofMap () |
| Gets writeable reference to the dof map. More... | |
| virtual const libMesh::DofMap & | dofMap () const |
| Gets const reference to the dof map. More... | |
| virtual void | postInit () |
| virtual void | initializeObjects () |
| Called only once, just before the solve begins so objects can do some precalculations. More... | |
| void | update () |
| Update the system (doing libMesh magic) More... | |
| virtual void | copyOldSolutions () |
| Shifts the solutions backwards in time. More... | |
| virtual void | copyPreviousNonlinearSolutions () |
| Shifts the solutions backwards in nonlinear iteration history. More... | |
| virtual void | copyPreviousFixedPointSolutions () |
| 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 () |
| virtual void | initSolutionState () |
| Initializes the solution state. More... | |
| 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). More... | |
| 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). More... | |
| libMesh::ParallelType | solutionStateParallelType (const unsigned int state, const Moose::SolutionIterationType iteration_type) const |
| Returns the parallel type of the given solution state. More... | |
| 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. More... | |
| 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). More... | |
| virtual void | addDotVectors () |
| Add u_dot, u_dotdot, u_dot_old and u_dotdot_old vectors if requested by the time integrator. More... | |
| 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. More... | |
| virtual void | restoreOldSolutions () |
| Restore the old and older solutions when the saved solutions present. More... | |
| bool | hasVector (const std::string &tag_name) const |
| Check if the named vector exists in the system. More... | |
| virtual bool | hasVector (TagID tag_id) const |
| Check if the tagged vector exists in the system. More... | |
| virtual TagID | timeVectorTag () const |
| Ideally, we should not need this API. More... | |
| virtual TagID | nonTimeVectorTag () const |
| virtual TagID | residualVectorTag () const |
| virtual std::set< TagID > | defaultVectorTags () const |
| Get the default vector tags associated with this system. More... | |
| virtual std::set< TagID > | defaultMatrixTags () const |
| Get the default matrix tags associted with this system. More... | |
| virtual void | associateVectorToTag (NumericVector< Number > &vec, TagID tag) |
| Associate a vector for a given tag. More... | |
| virtual void | disassociateVectorFromTag (NumericVector< Number > &vec, TagID tag) |
| Disassociate a given vector from a given tag. More... | |
| virtual void | disassociateVectorFromTag (TagID tag) |
| Disassociate any vector that is associated with a given tag. More... | |
| virtual void | disassociateDefaultVectorTags () |
| Disassociate the vectors associated with the default vector tags of this system. More... | |
| virtual bool | hasMatrix (TagID tag) const |
| Check if the tagged matrix exists in the system. More... | |
| virtual libMesh::SparseMatrix< Number > & | getMatrix (TagID tag) |
| Get a raw SparseMatrix. More... | |
| virtual const libMesh::SparseMatrix< Number > & | getMatrix (TagID tag) const |
| Get a raw SparseMatrix. More... | |
| virtual void | activateAllMatrixTags () |
| Make all existing matrices active. More... | |
| virtual bool | matrixTagActive (TagID tag) const |
| If or not a matrix tag is active. More... | |
| virtual void | deactivateAllMatrixTags () |
| Make matrices inactive. More... | |
| void | closeTaggedMatrices (const std::set< TagID > &tags) |
| Close all matrices associated the tags. More... | |
| void | flushTaggedMatrices (const std::set< TagID > &tags) |
| flushes all matrices associated to tags. More... | |
| virtual void | associateMatrixToTag (libMesh::SparseMatrix< Number > &matrix, TagID tag) |
| Associate a matrix to a tag. More... | |
| virtual void | disassociateMatrixFromTag (libMesh::SparseMatrix< Number > &matrix, TagID tag) |
| Disassociate a matrix from a tag. More... | |
| virtual void | disassociateMatrixFromTag (TagID tag) |
| Disassociate any matrix that is associated with a given tag. More... | |
| virtual void | disassociateDefaultMatrixTags () |
| Disassociate the matrices associated with the default matrix tags of this system. More... | |
| virtual NumericVector< Number > & | serializedSolution () |
| Returns a reference to a serialized version of the solution vector for this subproblem. More... | |
| 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. More... | |
| virtual void | addVariable (const std::string &var_type, const std::string &var_name, InputParameters ¶meters) |
| Canonical method for adding a variable. More... | |
| virtual bool | isArrayVariable (const std::string &var_name) const |
| If a variable is an array variable. More... | |
| 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. More... | |
| MooseVariableFieldBase & | getVariable (THREAD_ID tid, unsigned int var_number) const |
| Gets a reference to a variable with specified number. More... | |
| template<typename T > | |
| MooseVariableFE< T > & | getFieldVariable (THREAD_ID tid, const std::string &var_name) |
| Gets a reference to a variable of with specified name. More... | |
| template<typename T > | |
| MooseVariableFE< T > & | getFieldVariable (THREAD_ID tid, unsigned int var_number) |
| Gets a reference to a variable with specified number. More... | |
| template<typename T > | |
| MooseVariableField< T > & | getActualFieldVariable (THREAD_ID tid, const std::string &var_name) |
| Returns a field variable pointer - this includes finite volume variables. More... | |
| template<typename T > | |
| MooseVariableField< T > & | getActualFieldVariable (THREAD_ID tid, unsigned int var_number) |
| Returns a field variable pointer - this includes finite volume variables. More... | |
| template<typename T > | |
| MooseVariableFV< T > & | getFVVariable (THREAD_ID tid, const std::string &var_name) |
| Return a finite volume variable. More... | |
| virtual MooseVariableScalar & | getScalarVariable (THREAD_ID tid, const std::string &var_name) const |
| Gets a reference to a scalar variable with specified number. More... | |
| virtual MooseVariableScalar & | getScalarVariable (THREAD_ID tid, unsigned int var_number) const |
| Gets a reference to a variable with specified number. More... | |
| virtual const std::set< SubdomainID > * | getVariableBlocks (unsigned int var_number) |
| Get the block where a variable of this system is defined. More... | |
| virtual unsigned int | nVariables () const |
| Get the number of variables in this system. More... | |
| unsigned int | nFieldVariables () const |
| Get the number of field variables in this system. More... | |
| unsigned int | nFVVariables () const |
| Get the number of finite volume variables in this system. More... | |
| std::size_t | getMaxVarNDofsPerElem () const |
| Gets the maximum number of dofs used by any one variable on any one element. More... | |
| std::size_t | getMaxVarNDofsPerNode () const |
| Gets the maximum number of dofs used by any one variable on any one node. More... | |
| void | assignMaxVarNDofsPerElem (std::size_t max_dofs) |
| assign the maximum element dofs More... | |
| void | assignMaxVarNDofsPerNode (std::size_t max_dofs) |
| assign the maximum node dofs More... | |
| virtual void | addVariableToZeroOnResidual (std::string var_name) |
| Adds this variable to the list of variables to be zeroed during each residual evaluation. More... | |
| virtual void | addVariableToZeroOnJacobian (std::string var_name) |
| Adds this variable to the list of variables to be zeroed during each Jacobian evaluation. More... | |
| virtual void | zeroVariables (std::vector< std::string > &vars_to_be_zeroed) |
| Zero out the solution for the list of variables passed in. More... | |
| 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() More... | |
| 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() More... | |
| virtual libMesh::Order | getMinQuadratureOrder () |
| Get minimal quadrature order needed for integrating variables in this system. More... | |
| virtual void | prepare (THREAD_ID tid) |
| Prepare the system for use. More... | |
| virtual void | prepareFace (THREAD_ID tid, bool resize_data) |
| Prepare the system for use on sides. More... | |
| virtual void | prepareNeighbor (THREAD_ID tid) |
| Prepare the system for use. More... | |
| virtual void | prepareLowerD (THREAD_ID tid) |
| Prepare the system for use for lower dimensional elements. More... | |
| virtual void | reinitElem (const Elem *elem, THREAD_ID tid) |
| Reinit an element assembly info. More... | |
| virtual void | reinitElemFace (const Elem *elem, unsigned int side, THREAD_ID tid) |
| Reinit assembly info for a side of an element. More... | |
| virtual void | reinitNeighborFace (const Elem *elem, unsigned int side, THREAD_ID tid) |
| Compute the values of the variables at all the current points. More... | |
| virtual void | reinitNeighbor (const Elem *elem, THREAD_ID tid) |
| Compute the values of the variables at all the current points. More... | |
| virtual void | reinitLowerD (THREAD_ID tid) |
| Compute the values of the variables on the lower dimensional element. More... | |
| virtual void | reinitNode (const Node *node, THREAD_ID tid) |
| Reinit nodal assembly info. More... | |
| virtual void | reinitNodeFace (const Node *node, BoundaryID bnd_id, THREAD_ID tid) |
| Reinit nodal assembly info on a face. More... | |
| virtual void | reinitNodes (const std::vector< dof_id_type > &nodes, THREAD_ID tid) |
| Reinit variables at a set of nodes. More... | |
| virtual void | reinitNodesNeighbor (const std::vector< dof_id_type > &nodes, THREAD_ID tid) |
| Reinit variables at a set of neighbor nodes. More... | |
| virtual void | reinitScalars (THREAD_ID tid, bool reinit_for_derivative_reordering=false) |
| Reinit scalar varaibles. More... | |
| 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. More... | |
| 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. More... | |
| void | removeVector (const std::string &name) |
| Remove a vector from the system with the given name. More... | |
| void | removeVector (TagID tag_id) |
| Remove a solution length vector from the system with the specified TagID. More... | |
| NumericVector< Number > & | addVector (const std::string &vector_name, const bool project, const libMesh::ParallelType type) |
| Adds a solution length vector to the system. More... | |
| NumericVector< Number > & | addVector (TagID tag, const bool project, const libMesh::ParallelType type) |
| Adds a solution length vector to the system with the specified TagID. More... | |
| void | closeTaggedVector (const TagID tag) |
| Close vector with the given tag. More... | |
| void | closeTaggedVectors (const std::set< TagID > &tags) |
| Close all vectors for given tags. More... | |
| void | zeroTaggedVector (const TagID tag) |
| Zero vector with the given tag. More... | |
| void | zeroTaggedVectors (const std::set< TagID > &tags) |
| Zero all vectors for given tags. More... | |
| void | setVariableGlobalDoFs (const std::string &var_name) |
| set all the global dof indices for a variable More... | |
| 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 More... | |
| libMesh::SparseMatrix< Number > & | addMatrix (TagID tag) |
| Adds a matrix with a given tag. More... | |
| void | removeMatrix (TagID tag) |
| Removes a matrix with a given tag. More... | |
| 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. More... | |
| virtual void | computeVariables (const NumericVector< Number > &) |
| void | copyVars (libMesh::ExodusII_IO &io) |
| virtual void | copySolutionsBackwards () |
| Copy current solution into old and older. More... | |
| 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. More... | |
| void | addScalingVector () |
| Add the scaling factor vector to the system. More... | |
| bool | solutionStatesInitialized () const |
| Whether or not the solution states have been initialized via initSolutionState() More... | |
| virtual void | timestepSetup () |
| virtual void | customSetup (const ExecFlagType &exec_type) |
| virtual void | subdomainSetup () |
| void | clearAllDofIndices () |
| Clear all dof indices from moose variables. More... | |
| void | setActiveVariableCoupleableVectorTags (const std::set< TagID > &vtags, THREAD_ID tid) |
| Set the active vector tags for the variables. More... | |
| void | setActiveScalarVariableCoupleableVectorTags (const std::set< TagID > &vtags, THREAD_ID tid) |
| Set the active vector tags for the scalar variables. More... | |
| Moose::VarKindType | varKind () const |
| void | copyTimeIntegrators (const SystemBase &other_sys) |
| Copy time integrators from another system. More... | |
| const TimeIntegrator & | getTimeIntegrator (const unsigned int var_num) const |
| Retrieve the time integrator that integrates the given variable's equation. More... | |
| const TimeIntegrator * | queryTimeIntegrator (const unsigned int var_num) const |
| Retrieve the time integrator that integrates the given variable's equation. More... | |
| 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 More... | |
| void | skipNextSolutionToOldCopy () |
| Skip the next copy from the solution vector to the old solution vector old -> older is still performed. More... | |
| const Parallel::Communicator & | comm () const |
| processor_id_type | n_processors () const |
| processor_id_type | processor_id () const |
| PerfGraph & | perfGraph () |
| Get the PerfGraph. More... | |
| const std::vector< std::unique_ptr< libMesh::NumericVector< libMesh::Number > > > & | linearFVGradientContainer () const |
| Access the stored raw cell-centered gradient components. More... | |
| void | requestLinearFVLimitedGradients (const Moose::FV::GradientLimiterType limiter_type, unsigned int variable_number) |
| Request storage and assembly of limiter-specific cell gradients. More... | |
| const std::vector< std::unique_ptr< libMesh::NumericVector< libMesh::Number > > > & | linearFVLimitedGradientContainer (const Moose::FV::GradientLimiterType limiter_type) const |
| Access the stored raw or limited cell-centered gradient components. More... | |
| const std::unordered_set< Moose::FV::GradientLimiterType > & | requestedLinearFVLimitedGradientTypes () const |
| Access the limiter types requested for this system. More... | |
| TagID | rightHandSideTimeVectorTag () const |
| TagID | rightHandSideNonTimeVectorTag () const |
| TagID | rightHandSideVectorTag () const |
| virtual TagID | systemMatrixTag () const override |
| Return the Matrix Tag ID for System. More... | |
| virtual NumericVector< Number > & | getVector (const std::string &name) |
| Get a raw NumericVector by name. More... | |
| virtual const NumericVector< Number > & | getVector (const std::string &name) const |
| virtual NumericVector< Number > & | getVector (TagID tag) |
| Get a raw NumericVector by tag. More... | |
| virtual const NumericVector< Number > & | getVector (TagID tag) const |
| virtual bool | hasVariable (const std::string &var_name) const |
| Query a system for a variable. More... | |
| 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. More... | |
Protected Member Functions | |
| 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. More... | |
| void | checkInvalidSolution () |
| virtual NumericVector< Number > & | solutionInternal () const override final |
| Internal getter for solution owned by libMesh. More... | |
| virtual bool | matrixFromColoring () const |
| Whether a system matrix is formed from coloring. More... | |
| PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level) const |
| Call to register a named section for timing. More... | |
| 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. More... | |
| std::string | timedSectionName (const std::string §ion_name) const |
| void | computeGradients () |
| Compute and store raw and requested limited Green-Gauss gradients for linear FV variables. More... | |
| void | rebuildLinearFVGradientStorage () |
| Rebuild persistent raw and temporary gradient storage after mesh/DOF changes. More... | |
| std::vector< std::unique_ptr< libMesh::NumericVector< libMesh::Number > > > & | temporaryLinearFVGradientContainer () |
| Return temporary storage for gradients during gradient assembly. More... | |
| std::vector< std::unique_ptr< libMesh::NumericVector< libMesh::Number > > > & | temporaryLinearFVLimitedGradientContainer (const Moose::FV::GradientLimiterType limiter_type) |
| Return temporary storage for limited gradients during gradient assembly. More... | |
| std::vector< std::unique_ptr< libMesh::NumericVector< libMesh::Number > > > & | rawLinearFVLimitedGradientContainer (const Moose::FV::GradientLimiterType limiter_type) |
| Access the persisted limited-gradient storage for a specific limiter. More... | |
| const std::unordered_set< unsigned int > & | requestedLinearFVLimitedGradientVariables (const Moose::FV::GradientLimiterType limiter_type) const |
| Access the variable numbers that requested limited gradients for a specific limiter. More... | |
| bool | needsLinearFVGradientStorage () const |
| void | initializeContainer (std::vector< std::unique_ptr< libMesh::NumericVector< libMesh::Number >>> &container) const |
Protected Attributes | |
| System & | _sys |
| Base class reference to the libmesh system. More... | |
| unsigned int | _current_l_its |
| The linear iterations needed for convergence. More... | |
| std::set< TagID > | _vector_tags |
| Vector tags to temporarily store all tags associated with the current system. More... | |
| std::set< TagID > | _matrix_tags |
| Matrix tags to temporarily store all tags associated with the current system. More... | |
| TagID | _rhs_time_tag |
| Tag for time contribution rhs. More... | |
| NumericVector< Number > * | _rhs_time |
| right hand side vector for time contributions More... | |
| TagID | _rhs_non_time_tag |
| Tag for non-time contribution rhs. More... | |
| NumericVector< Number > * | _rhs_non_time |
| right hand side vector for non-time contributions More... | |
| TagID | _rhs_tag |
| Used for the right hand side vector from PETSc. More... | |
| TagID | _system_matrix_non_time_tag |
| Tag for non-time contribution to the system matrix. More... | |
| TagID | _system_matrix_tag |
| Tag for every contribution to system matrix. More... | |
| unsigned int | _n_linear_iters |
| Number of linear iterations. More... | |
| Real | _initial_linear_residual |
| The initial linear residual. More... | |
| Real | _final_linear_residual |
| The final linear residual. More... | |
| bool | _converged |
| If the solve on the linear system converged. More... | |
| libMesh::LinearImplicitSystem & | _linear_implicit_system |
| Base class reference to the linear implicit system in libmesh. More... | |
| const NumericVector< Number > * | _current_solution |
| solution vector from solver More... | |
| Moose::PCSideType | _pc_side |
| Preconditioning side. More... | |
| Moose::MooseKSPNormType | _ksp_norm |
| KSP norm type. More... | |
| bool | _solution_is_invalid |
| Boolean to see if solution is invalid. More... | |
| Real | _fixed_point_relaxation_factor = 1.0 |
| Used for relaxing entire system solution during fixed point (multi-)system iterations. More... | |
| 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. More... | |
| FEProblemBase & | _fe_problem |
| the governing finite element/volume problem More... | |
| MooseApp & | _app |
| Factory & | _factory |
| MooseMesh & | _mesh |
| std::string | _name |
| The name of this system. More... | |
| std::vector< VariableWarehouse > | _vars |
| Variable warehouses (one for each thread) More... | |
| std::map< unsigned int, std::set< SubdomainID > > | _var_map |
| Map of variables (variable id -> array of subdomains where it lives) More... | |
| unsigned int | _max_var_number |
| Maximum variable number. More... | |
| 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 More... | |
| NumericVector< Number > * | _u_dotdot |
| solution vector for u^dotdot More... | |
| NumericVector< Number > * | _u_dot_old |
| old solution vector for u^dot More... | |
| NumericVector< Number > * | _u_dotdot_old |
| old solution vector for u^dotdot More... | |
| std::vector< Real > | _du_dot_du |
| Derivative of time derivative of u with respect to uj. More... | |
| Real | _du_dotdot_du |
| std::vector< NumericVector< Number > * > | _tagged_vectors |
| Tagged vectors (pointer) More... | |
| std::vector< libMesh::SparseMatrix< Number > * > | _tagged_matrices |
| Tagged matrices (pointer) More... | |
| 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. More... | |
| std::vector< bool > | _matrix_tag_active_flags |
| Active flags for tagged matrices. More... | |
| 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 More... | |
| 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. More... | |
| size_t | _max_var_n_dofs_per_node |
| Maximum number of dofs for any one variable on any one node. More... | |
| std::vector< std::shared_ptr< TimeIntegrator > > | _time_integrators |
| Time integrator. More... | |
| std::vector< std::vector< MooseVariableFieldBase * > > | _numbered_vars |
| Map variable number to its pointer. More... | |
| bool | _automatic_scaling |
| Whether to automatically scale the variables. More... | |
| bool | _verbose |
| True if printing out additional information. More... | |
| bool | _solution_states_initialized |
| Whether or not the solution states have been initialized. More... | |
| std::vector< dof_id_type > | _var_all_dof_indices |
| Container for the dof indices of a given variable. More... | |
| std::unique_ptr< NumericVector< Number > > | _serialized_solution |
| Serialized version of the solution vector, or nullptr if a serialized solution is not needed. More... | |
| const Parallel::Communicator & | _communicator |
| MooseApp & | _pg_moose_app |
| The MooseApp that owns the PerfGraph. More... | |
| const std::string | _prefix |
| A prefix to use for all sections. More... | |
| std::vector< std::unique_ptr< libMesh::NumericVector< libMesh::Number > > > | _temporary_gradient |
| Scratch storage for raw gradients assembled during the current compute pass. More... | |
| std::vector< std::unique_ptr< libMesh::NumericVector< libMesh::Number > > > | _raw_grad_container |
| Persisted raw cell-centered gradient components keyed by spatial direction. More... | |
| std::unordered_set< Moose::FV::GradientLimiterType > | _requested_limited_gradient_types |
| Set of requested limiter types for which limited gradients should be computed. More... | |
| std::unordered_map< Moose::FV::GradientLimiterType, std::unordered_set< unsigned int > > | _requested_limited_gradient_variables |
| Variable numbers requesting limited gradients, keyed by limiter type. More... | |
| std::unordered_map< Moose::FV::GradientLimiterType, std::vector< std::unique_ptr< libMesh::NumericVector< libMesh::Number > > > > | _raw_limited_grad_containers |
| Persisted limited gradient components keyed by limiter type. More... | |
| std::unordered_map< Moose::FV::GradientLimiterType, std::vector< std::unique_ptr< libMesh::NumericVector< libMesh::Number > > > > | _temporary_limited_gradient |
| Scratch storage for limited gradients assembled during the current compute pass. More... | |
Private Attributes | |
| std::vector< NumericVector< Number > * > | _solution_state |
| The current states of the solution (0 = current, 1 = old, etc) More... | |
Linear system to be solved.
Definition at line 39 of file LinearSystem.h.
| LinearSystem::LinearSystem | ( | FEProblemBase & | problem, |
| const std::string & | name | ||
| ) |
Definition at line 78 of file LinearSystem.C.
|
virtualdefault |
|
virtualinherited |
Make all existing matrices active.
Definition at line 1132 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 1622 of file SystemBase.C.
Referenced by DisplacedSystem::addDotVectors().
|
inherited |
Adds a matrix with a given tag.
| tag_name | The name of the tag |
Definition at line 571 of file SystemBase.C.
|
inherited |
Add the scaling factor vector to the system.
Definition at line 1547 of file SystemBase.C.
Referenced by MooseVariableBase::initialSetup().
|
inherited |
Definition at line 1647 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 719 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 1176 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 181 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 175 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. |
Referenced by SystemBase::addDotVectors(), SystemBase::addScalingVector(), NonlinearTimeIntegratorInterface::addVector(), SecantSolve::allocateStorage(), SteffensenSolve::allocateStorage(), PicardSolve::allocateStorage(), NonlinearSystemBase::getResidualNonTimeVector(), NonlinearSystemBase::getResidualTimeVector(), 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. |
|
inherited |
Definition at line 109 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 1497 of file SystemBase.C.
Referenced by NonlinearSystemBase::computeScaling().
|
inlineinherited |
assign the maximum element dofs
Definition at line 598 of file SystemBase.h.
|
inlineinherited |
assign the maximum node dofs
Definition at line 603 of file SystemBase.h.
|
virtualinherited |
Associate a matrix to a tag.
Reimplemented in DisplacedSystem.
Definition at line 1077 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 982 of file SystemBase.C.
Referenced by DisplacedSystem::associateVectorToTag(), FEProblemBase::computeLinearSystemSys(), FEProblemBase::computeResidualAndJacobian(), FEProblemBase::computeResidualInternal(), NonlinearSystemBase::computeResidualTag(), FEProblemBase::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 453 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 271 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().
|
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 165 of file SolverSystem.C.
Referenced by NonlinearSystem::solve(), and solve().
|
inherited |
Clear all dof indices from moose variables.
Definition at line 1602 of file SystemBase.C.
Referenced by SubProblem::clearAllDofIndices().
|
inherited |
Definition at line 85 of file SolverSystem.C.
Close all matrices associated the tags.
Definition at line 1061 of file SystemBase.C.
Referenced by NonlinearSystemBase::computeJacobianInternal(), computeLinearSystemInternal(), NonlinearSystemBase::computeNodalBCsJacobian(), and NonlinearSystemBase::computeResidualAndJacobianTags().
Close vector with the given tag.
Definition at line 650 of file SystemBase.C.
Referenced by SystemBase::closeTaggedVectors().
Close all vectors for given tags.
Definition at line 668 of file SystemBase.C.
Referenced by NonlinearSystemBase::computeResidualAndJacobianTags(), NonlinearSystemBase::computeResidualTags(), NonlinearSystem::stopSolve(), and stopSolve().
|
overridevirtual |
Compute time derivatives, auxiliary variables, etc.
| type | Our current execution stage |
Reimplemented from SolverSystem.
Definition at line 337 of file LinearSystem.C.
|
protectedinherited |
Compute and store raw and requested limited Green-Gauss gradients for linear FV variables.
Definition at line 27 of file LinearFVGradientInterface.C.
Referenced by AuxiliarySystem::compute(), and computeLinearSystemInternal().
| void LinearFVGradientInterface::computeGradients |
Compute and store raw and requested limited Green-Gauss gradients for linear FV variables.
Definition at line 27 of file LinearFVGradientInterface.C.
Referenced by FEProblemSolve::solve().
|
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 190 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 164 of file LinearSystem.C.
Referenced by FEProblemBase::computeLinearSystemTags().
|
inlinevirtualinherited |
Definition at line 872 of file SystemBase.h.
|
inherited |
Whether we are computing an initial Jacobian for automatic variable scaling.
Definition at line 1554 of file SystemBase.C.
Referenced by Assembly::addJacobianBlock(), Assembly::addJacobianBlockNonlocal(), VectorKernel::computeJacobian(), Kernel::computeJacobian(), EigenKernel::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 315 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 54 of file LinearSystem.h.
|
virtualinherited |
Shifts the solutions backwards in time.
Definition at line 1287 of file SystemBase.C.
Referenced by SystemBase::copySolutionsBackwards(), and EigenExecutionerBase::inversePowerIteration().
|
virtualinherited |
Definition at line 1304 of file SystemBase.C.
|
virtualinherited |
Shifts the solutions backwards in nonlinear iteration history.
Definition at line 1270 of file SystemBase.C.
Referenced by SystemBase::copySolutionsBackwards().
|
virtualinherited |
Copy current solution into old and older.
Definition at line 1259 of file SystemBase.C.
|
inherited |
Copy time integrators from another system.
Definition at line 1656 of file SystemBase.C.
|
inherited |
Definition at line 1184 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 135 of file SolverSystem.h.
Referenced by FEProblemBase::computeDamping(), FEProblemBase::computeLinearSystemSys(), FEProblemBase::computeResidualL2Norm(), and AB2PredictorCorrector::step().
|
virtualinherited |
Reimplemented in NonlinearSystemBase, and AuxiliarySystem.
Definition at line 1574 of file SystemBase.C.
Referenced by AuxiliarySystem::customSetup(), and NonlinearSystemBase::customSetup().
|
virtualinherited |
Make matrices inactive.
Definition at line 1120 of file SystemBase.C.
Referenced by NonlinearSystemBase::computeResidualTags(), and NonlinearSystemBase::setInitialSolution().
|
inlinevirtualinherited |
Get the default matrix tags associted with this system.
Reimplemented in NonlinearEigenSystem, and DisplacedSystem.
Definition at line 320 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 NonlinearEigenSystem, and DisplacedSystem.
Definition at line 313 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 1111 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 1016 of file SystemBase.C.
Referenced by DisplacedSystem::disassociateDefaultVectorTags().
|
virtualinherited |
Disassociate a matrix from a tag.
Reimplemented in DisplacedSystem.
Definition at line 1089 of file SystemBase.C.
Referenced by NonlinearSystemBase::computeJacobian(), FEProblemBase::computeJacobianInternal(), FEProblemBase::computeJacobianTag(), FEProblemBase::computeLinearSystemSys(), FEProblemBase::computeResidualAndJacobian(), SystemBase::disassociateDefaultMatrixTags(), and DisplacedSystem::disassociateMatrixFromTag().
Disassociate any matrix that is associated with a given tag.
Reimplemented in DisplacedSystem.
Definition at line 1100 of file SystemBase.C.
|
virtualinherited |
Disassociate a given vector from a given tag.
Reimplemented in DisplacedSystem.
Referenced by FEProblemBase::computeLinearSystemSys(), FEProblemBase::computeResidualAndJacobian(), FEProblemBase::computeResidualInternal(), NonlinearSystemBase::computeResidualTag(), FEProblemBase::computeResidualTag(), FEProblemBase::computeResidualType(), SystemBase::disassociateDefaultVectorTags(), DisplacedSystem::disassociateVectorFromTag(), and CentralDifference::initialSetup().
Disassociate any vector that is associated with a given tag.
Reimplemented in DisplacedSystem.
Definition at line 1005 of file SystemBase.C.
|
virtualinherited |
Gets writeable reference to the dof map.
Definition at line 1164 of file SystemBase.C.
Referenced by NonlinearSystemBase::assembleScalingVector(), MooseApp::attachRelationshipManagers(), SystemBase::augmentSendList(), NonlinearSystemBase::augmentSparsity(), NonlinearSystemBase::computeScaling(), FieldSplitPreconditioner::dofMap(), NEML2FEInterpolation::execute(), NonlinearSystemBase::findImplicitGeometricCouplingEntries(), Moose::Kokkos::System::getDofMap(), Adaptivity::init(), NonlinearEigenSystem::initializeCondensedMatrices(), ActivateElementsUserObjectBase::initSolutions(), PNGOutput::makeMeshFunc(), GhostingUserObject::meshChanged(), TableOutput::outputScalarVariables(), Nemesis::outputScalarVariables(), Exodus::outputScalarVariables(), and ElementSubdomainModifierBase::setOldAndOlderSolutions().
|
virtualinherited |
Gets const reference to the dof map.
Definition at line 1170 of file SystemBase.C.
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 258 of file SystemBase.h.
Referenced by DisplacedSystem::duDotDotDu(), and MooseVariableScalar::reinit().
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 1690 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 257 of file SystemBase.h.
Referenced by DisplacedSystem::duDotDus().
|
inlineinherited |
Definition at line 104 of file SystemBase.h.
Referenced by DMMooseGetEmbedding_Private(), and DMSetUp_Moose_Pre().
|
inlineinherited |
Definition at line 105 of file SystemBase.h.
flushes all matrices associated to tags.
Flush assembles the matrix but doesn't shrink memory allocation
Definition at line 1069 of file SystemBase.C.
|
inherited |
Returns a field variable pointer - this includes finite volume variables.
Definition at line 119 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 140 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 112 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 133 of file SystemBase.C.
|
inherited |
Return a finite volume variable.
Definition at line 126 of file SystemBase.C.
|
virtualinherited |
Get a raw SparseMatrix.
Reimplemented in DisplacedSystem.
Definition at line 1025 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(), LinearSystemContributionObject::linkTaggedVectorsAndMatrices(), MooseVariableScalar::reinit(), Assembly::setCachedJacobian(), and Assembly::zeroCachedJacobian().
|
virtualinherited |
Get a raw SparseMatrix.
Reimplemented in DisplacedSystem.
Definition at line 1043 of file SystemBase.C.
|
inlineinherited |
Returns the maximum number of all variables on the system.
Definition at line 870 of file SystemBase.h.
|
inlineinherited |
Gets the maximum number of dofs used by any one variable on any one element.
Definition at line 586 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 593 of file SystemBase.h.
|
virtualinherited |
Get minimal quadrature order needed for integrating variables in this system.
Reimplemented in AuxiliarySystem.
Definition at line 242 of file SystemBase.C.
|
inlineinherited |
Get the norm in which the linear convergence is measured.
Definition at line 102 of file SolverSystem.h.
Referenced by Moose::PetscSupport::petscSetDefaultKSPNormType().
|
inlineinherited |
Get the current preconditioner side.
Definition at line 91 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 265 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 259 of file LinearSystem.C.
|
inline |
Fetching the right hand side vector from the libmesh system.
Definition at line 126 of file LinearSystem.h.
Referenced by FEProblemBase::computeLinearSystemSys().
|
inline |
Definition at line 127 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 146 of file SystemBase.C.
Referenced by Assembly::addJacobianOffDiagScalar(), ODEKernel::computeOffDiagJacobianScalar(), VectorKernel::computeOffDiagJacobianScalar(), ArrayKernel::computeOffDiagJacobianScalar(), IntegratedBC::computeOffDiagJacobianScalar(), VectorIntegratedBC::computeOffDiagJacobianScalar(), Kernel::computeOffDiagJacobianScalar(), ArrayIntegratedBC::computeOffDiagJacobianScalar(), ScalarLagrangeMultiplier::computeOffDiagJacobianScalar(), MortarScalarBase::computeOffDiagJacobianScalar(), KernelScalarBase::computeOffDiagJacobianScalarLocal(), KernelScalarBase::computeScalarOffDiagJacobianScalar(), MortarScalarBase::computeScalarOffDiagJacobianScalar(), DMMooseSetVariables(), Assembly::init(), ReferenceResidualConvergence::initialSetup(), and NonlinearSystemBase::setupScalingData().
|
virtualinherited |
Gets a reference to a variable with specified number.
| tid | Thread id |
| var_number | libMesh variable number |
Definition at line 155 of file SystemBase.C.
|
inlineinherited |
Definition at line 759 of file SystemBase.h.
Referenced by Assembly::addResidualScalar(), ODEKernel::computeJacobian(), ComputeFullJacobianThread::computeOnBoundary(), ComputeFullJacobianThread::computeOnElement(), AuxiliarySystem::computeScalarVars(), Assembly::init(), SystemBase::initSolutionState(), NonlinearThread::onElement(), Assembly::prepareOffDiagScalar(), and Assembly::prepareScalar().
|
inherited |
|
inlineinherited |
Definition at line 764 of file SystemBase.h.
Referenced by NonlinearSystemBase::checkKernelCoverage(), and SystemBase::getSubdomainsForVar().
|
inherited |
Get the block where a variable of this system is defined.
| var_name | The name of the variable |
Definition at line 1696 of file SystemBase.C.
|
inline |
Fetching the system matrix from the libmesh system.
Definition at line 133 of file LinearSystem.h.
Referenced by FEProblemBase::computeLinearSystemSys().
|
inline |
Definition at line 134 of file LinearSystem.h.
|
inherited |
Retrieve the time integrator that integrates the given variable's equation.
Definition at line 1672 of file SystemBase.C.
Referenced by AB2PredictorCorrector::estimateTimeError().
|
inherited |
Definition at line 1684 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 91 of file SystemBase.C.
Referenced by AdaptivityAction::act(), Assembly::addJacobianBlockNonlocal(), FEProblemBase::addJacobianBlockTags(), NonlocalIntegratedBC::computeNonlocalOffDiagJacobian(), NonlocalKernel::computeNonlocalOffDiagJacobian(), Assembly::copyFaceShapes(), Assembly::copyNeighborShapes(), Assembly::copyShapes(), SystemBase::copyVars(), DMMooseSetVariables(), FieldSplitPreconditionerTempl< MoosePreconditioner >::FieldSplitPreconditionerTempl(), FiniteDifferencePreconditioner::FiniteDifferencePreconditioner(), NodeElemConstraint::getConnectedDofIndices(), NodeFaceConstraint::getConnectedDofIndices(), SystemBase::getSubdomainsForVar(), ResidualObject::getVariable(), SubProblem::getVariableHelper(), Assembly::init(), NodalNormalsPreprocessor::initialize(), ExplicitTimeIntegrator::initialSetup(), ReferenceResidualConvergence::initialSetup(), initialSetup(), Assembly::initNonlocalCoupling(), PNGOutput::makeMeshFunc(), MooseStaticCondensationPreconditioner::MooseStaticCondensationPreconditioner(), UpdateErrorVectorsThread::onElement(), Assembly::prepareBlock(), Assembly::prepareBlockNonlocal(), NonlinearSystemBase::setupScalingData(), and VariableCondensationPreconditioner::VariableCondensationPreconditioner().
|
inherited |
Gets a reference to a variable with specified number.
| tid | Thread id |
| var_number | libMesh variable number |
Definition at line 101 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 165 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 845 of file SystemBase.h.
|
inlineinherited |
Definition at line 863 of file SystemBase.h.
Referenced by MooseEigenSystem::buildSystemDoFIndices(), NonlinearSystemBase::checkKernelCoverage(), MFEMProblem::getAuxVariableNames(), SystemBase::hasVariable(), SystemBase::isArrayVariable(), and SingleMatrixPreconditioner::SingleMatrixPreconditioner().
|
inlineinherited |
Definition at line 752 of file SystemBase.h.
Referenced by Assembly::addJacobianOffDiagScalar(), Assembly::addResidual(), Assembly::addResidualLower(), Assembly::addResidualNeighbor(), Assembly::cacheResidual(), Assembly::cacheResidualLower(), Assembly::cacheResidualNeighbor(), ComputeFullJacobianThread::computeOnBoundary(), ComputeFullJacobianThread::computeOnElement(), Assembly::init(), Assembly::initNonlocalCoupling(), SystemBase::initSolutionState(), ComputeLinearFVGreenGaussGradientFaceThread::operator()(), ComputeLinearFVGreenGaussGradientVolumeThread::operator()(), ComputeLinearFVLimitedGradientThread::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 934 of file SystemBase.C.
Referenced by Assembly::addCachedResiduals(), Assembly::addResidual(), Assembly::addResidualLower(), Assembly::addResidualNeighbor(), Assembly::addResidualScalar(), NonlinearSystemBase::assembleScalingVector(), SystemBase::closeTaggedVector(), FEProblemBase::computeBounds(), FEProblemBase::computeNearNullSpace(), FEProblemBase::computeNullSpace(), NonlinearSystemBase::computeResidualAndJacobianTags(), NonlinearSystemBase::computeResidualTags(), CentralDifference::computeTimeDerivatives(), FEProblemBase::computeTransposeNullSpace(), DisplacedSystem::getVector(), Assembly::hasScalingVector(), LinearSystemContributionObject::linkTaggedVectorsAndMatrices(), SystemBase::needSolutionState(), ReferenceResidualConvergence::ReferenceResidualConvergence(), MooseVariableScalar::reinit(), SecantSolve::saveVariableValues(), SteffensenSolve::saveVariableValues(), PicardSolve::saveVariableValues(), NonlinearSystemBase::setPreviousNewtonSolution(), TaggingInterface::setResidual(), SystemBase::solutionPreviousNewton(), SystemBase::solutionState(), MultiAppDofCopyTransfer::transfer(), SecantSolve::transformVariables(), SteffensenSolve::transformVariables(), PicardSolve::transformVariables(), and SystemBase::zeroTaggedVector().
|
virtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 940 of file SystemBase.C.
|
virtualinherited |
Get a raw NumericVector by tag.
Reimplemented in DisplacedSystem.
Definition at line 946 of file SystemBase.C.
|
virtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 964 of file SystemBase.C.
|
inlinevirtualinherited |
Check if the tagged matrix exists in the system.
Reimplemented in DisplacedSystem.
Definition at line 361 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::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(), DisplacedSystem::hasMatrix(), MooseVariableScalar::reinit(), SystemBase::removeMatrix(), SubProblem::selectMatrixTagsFromSystem(), Assembly::setCachedJacobian(), and Assembly::zeroCachedJacobian().
|
virtualinherited |
Definition at line 877 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 1087 of file SystemBase.h.
Referenced by SolverSystem::applyFixedPointRelaxation(), PointwiseRenormalizeVector::execute(), PointwiseRenormalizeVector::finalize(), DisplacedSystem::hasSolutionState(), SystemBase::needSolutionState(), SystemBase::restoreSolutions(), SolverSystem::saveOldSolutionForFixedPointRelaxation(), ElementSubdomainModifierBase::setOldAndOlderSolutions(), SystemBase::solutionState(), and SystemBase::solutionStateParallelType().
|
inlineinherited |
Whether or not there are variables to be restarted from an Exodus mesh file.
Definition at line 886 of file SystemBase.h.
|
virtualinherited |
Query a system for a variable.
| var_name | name of the variable |
Definition at line 852 of file SystemBase.C.
Referenced by ADDGKernel::ADDGKernel(), ArrayDGKernel::ArrayDGKernel(), SystemBase::copyVars(), DGKernel::DGKernel(), DMMooseSetVariables(), FEProblemBase::duplicateVariableCheck(), FixedPointSolve::findTransformedSystem(), SubProblem::getVariableHelper(), SubProblem::hasAuxiliaryVariable(), ExplicitTimeIntegrator::initialSetup(), ElementSubdomainModifierBase::initialSetup(), InterfaceKernelTempl< T >::InterfaceKernelTempl(), PNGOutput::makeMeshFunc(), MultiAppVariableValueSamplePostprocessorTransfer::MultiAppVariableValueSamplePostprocessorTransfer(), NonlinearSystemBase::setupScalingData(), and Coupleable::writableCoupledValue().
|
inherited |
Check if the named vector exists in the system.
Definition at line 925 of file SystemBase.C.
Referenced by FEProblemBase::addCachedResidualDirectly(), Assembly::addCachedResiduals(), Assembly::addResidual(), Assembly::addResidualLower(), Assembly::addResidualNeighbor(), Assembly::addResidualScalar(), NonlinearSystemBase::assembleScalingVector(), Assembly::cacheResidual(), Assembly::cacheResidualLower(), Assembly::cacheResidualNeighbor(), SystemBase::closeTaggedVector(), FEProblemBase::computeBounds(), NonlinearSystemBase::computeResidualTags(), CentralDifference::computeTimeDerivatives(), SystemBase::getVector(), DisplacedSystem::hasVector(), MooseVariableScalar::reinit(), SystemBase::removeVector(), SubProblem::selectVectorTagsFromSystem(), NonlinearSystemBase::setPreviousNewtonSolution(), TaggingInterface::setResidual(), SystemBase::solutionPreviousNewton(), and SystemBase::zeroTaggedVector().
|
inlinevirtualinherited |
Check if the tagged vector exists in the system.
Reimplemented in DisplacedSystem.
Definition at line 282 of file SystemBase.h.
|
protectedinherited |
Definition at line 131 of file LinearFVGradientInterface.C.
|
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 107 of file LinearSystem.C.
|
virtualinherited |
Initializes the solution state.
Reimplemented in DisplacedSystem.
Definition at line 1366 of file SystemBase.C.
Referenced by DisplacedSystem::initSolutionState().
|
virtualinherited |
If a variable is an array variable.
Definition at line 865 of file SystemBase.C.
|
virtualinherited |
Definition at line 886 of file SystemBase.C.
Referenced by Assembly::init(), ReferenceResidualConvergence::initialSetup(), and Assembly::initNonlocalCoupling().
|
inlineoverridevirtual |
|
inlineinherited |
Access the stored raw cell-centered gradient components.
Definition at line 45 of file LinearFVGradientInterface.h.
|
inherited |
Access the stored raw or limited cell-centered gradient components.
| limiter_type | The limiter type whose gradient container is being requested. |
Definition at line 198 of file LinearFVGradientInterface.C.
| const std::vector< std::unique_ptr< NumericVector< Number > > > & LinearFVGradientInterface::linearFVLimitedGradientContainer |
Access the stored raw or limited cell-centered gradient components.
| limiter_type | The limiter type whose gradient container is being requested. |
Definition at line 198 of file LinearFVGradientInterface.C.
|
inline |
Return a reference to the stored linear implicit system.
Definition at line 93 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 117 of file SolverSystem.h.
Referenced by SolverSystem::compute(), and NonlinearSystemBase::destroyColoring().
|
virtualinherited |
If or not a matrix tag is active.
Definition at line 1150 of file SystemBase.C.
|
inlineinherited |
Definition at line 100 of file SystemBase.h.
Referenced by CreateDisplacedProblemAction::addProxyRelationshipManagers(), DMMooseGetEmbedding_Private(), DMSetUp_Moose_Pre(), SolutionIC::initialSetup(), ComputeNodalUserObjectsThread::onNode(), ComputeNodalKernelsThread::onNode(), and ComputeNodalKernelJacobiansThread::onNode().
|
inlineinherited |
Definition at line 101 of file SystemBase.h.
|
virtualinherited |
Definition at line 1342 of file SystemBase.C.
Referenced by NonlinearSystemBase::addBoundaryCondition(), NonlinearSystemBase::addConstraint(), NonlinearSystemBase::addDamper(), NonlinearSystemBase::addDGKernel(), NonlinearSystemBase::addDiracKernel(), NonlinearSystemBase::addHDGKernel(), NonlinearSystemBase::addInterfaceKernel(), MooseEigenSystem::addKernel(), AuxiliarySystem::addKernel(), NonlinearSystemBase::addKernel(), SystemBase::addMatrix(), NonlinearSystemBase::addNodalKernel(), Moose::PetscSupport::addPetscOptionsFromCommandline(), AuxiliarySystem::addScalarKernel(), NonlinearSystemBase::addScalarKernel(), NonlinearSystemBase::addSplit(), SystemBase::addTimeIntegrator(), AuxiliarySystem::addVariable(), SystemBase::addVariable(), DiffusionLHDGAssemblyHelper::checkCoupling(), SystemBase::closeTaggedVector(), computeLinearSystemTags(), DisplacedProblem::DisplacedProblem(), SystemBase::getMatrix(), NonlinearSystemBase::getSplit(), DisplacedSystem::getVector(), SystemBase::getVector(), SystemBase::hasVector(), initialSetup(), NonlinearEigenSystem::postAddResidualObject(), MooseStaticCondensationPreconditioner::prefix(), SystemBase::removeMatrix(), SystemBase::removeVector(), SystemBase::solutionState(), solve(), LinearTimeIntegratorInterface::timeDerivativeMatrixContribution(), LinearTimeIntegratorInterface::timeDerivativeRHSContribution(), and SystemBase::zeroTaggedVector().
|
protectedinherited |
Definition at line 121 of file LinearFVGradientInterface.C.
|
virtualinherited |
Registers that the solution state state is needed.
Reimplemented in DisplacedSystem.
Definition at line 1452 of file SystemBase.C.
Referenced by SecantSolve::allocateStorage(), PicardSolve::allocateStorage(), EigenExecutionerBase::EigenExecutionerBase(), SystemBase::initSolutionState(), DisplacedSystem::needSolutionState(), SolverSystem::saveOldSolutionForFixedPointRelaxation(), and SystemBase::solutionState().
|
inherited |
Get the number of field variables in this system.
Definition at line 901 of file SystemBase.C.
Referenced by SystemBase::nVariables().
|
inherited |
Get the number of finite volume variables in this system.
Definition at line 911 of file SystemBase.C.
|
inline |
Return the number of linear iterations.
Definition at line 112 of file LinearSystem.h.
Referenced by IterationAdaptiveDT::acceptStep().
|
inlinevirtualinherited |
Reimplemented in NonlinearSystemBase, and DisplacedSystem.
Definition at line 303 of file SystemBase.h.
Referenced by SystemBase::defaultVectorTags(), and DisplacedSystem::nonTimeVectorTag().
|
inherited |
Gets the number of this system.
Definition at line 1158 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(), MooseMesh::cacheFaceInfoVariableOwnership(), DiffusionLHDGAssemblyHelper::checkCoupling(), SolverSystem::compute(), MooseVariableScalar::computeAD(), FEProblemBase::computeBounds(), Assembly::computeFaceMap(), InternalSideIndicatorBase::computeIndicator(), ArrayNodalBC::computeJacobian(), VectorNodalBC::computeJacobian(), NodalBC::computeJacobian(), FVBoundaryScalarLagrangeMultiplierConstraint::computeJacobian(), FVFluxBC::computeJacobian(), FVFluxKernel::computeJacobian(), FVInterfaceKernel::computeJacobian(), FEProblemBase::computeJacobianBlock(), NonlinearSystemBase::computeJacobianInternal(), computeLinearSystemInternal(), FEProblemBase::computeNearNullSpace(), NonlinearSystemBase::computeNodalBCsJacobian(), NonlinearSystemBase::computeNodalBCsResidualAndJacobian(), FEProblemBase::computeNullSpace(), ArrayNodalBC::computeOffDiagJacobian(), VectorNodalBC::computeOffDiagJacobian(), NodalBC::computeOffDiagJacobian(), NodalKernel::computeOffDiagJacobian(), ComputeFullJacobianThread::computeOnBoundary(), ComputeFullJacobianThread::computeOnElement(), ComputeFullJacobianThread::computeOnInterface(), ComputeFullJacobianThread::computeOnInternalFace(), FEProblemBase::computePostCheck(), FVBoundaryScalarLagrangeMultiplierConstraint::computeResidual(), FVFluxKernel::computeResidual(), FVInterfaceKernel::computeResidual(), Kernel::computeResidualAndJacobian(), NodalBC::computeResidualAndJacobian(), IntegratedBC::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(), ComputeResidualThread::determineObjectWarehouses(), ComputeResidualAndJacobianThread::determineObjectWarehouses(), Moose::doDerivatives(), VariableResidual::execute(), GreaterThanLessThanPostprocessor::execute(), NodalNormalsCorner::execute(), NodalNormalsEvaluator::execute(), NodalNormalsPreprocessor::execute(), ExplicitTimeIntegrator::ExplicitTimeIntegrator(), InternalSideIndicatorBase::finalize(), NumNonlinearIterations::finalize(), NonlinearEigenSystem::finalNonlinearResidual(), BoundsBase::getDoFIndex(), NonlinearSystemBase::getNodeDofs(), NonlinearEigenSystem::getSNES(), SystemBase::getSubdomainsForVar(), NumLinearIterations::getValue(), Residual::getValue(), NumResidualEvaluations::getValue(), Moose::globalDofIndexToDerivative(), FVBoundaryCondition::hasFaceSide(), ExplicitTimeIntegrator::init(), ExplicitTimeIntegrator::initialSetup(), AuxKernelBase::initialSetup(), NonlinearSystemBase::initialSetup(), ActivateElementsUserObjectBase::initSolutions(), EigenExecutionerBase::inversePowerIteration(), MooseMesh::isTranslatedPeriodic(), Kernel::Kernel(), Moose::SlepcSupport::mooseSlepcEigenFormFunctionA(), Moose::SlepcSupport::mooseSlepcEigenFormFunctionAB(), Moose::SlepcSupport::mooseSlepcEigenFormFunctionB(), Moose::SlepcSupport::mooseSlepcEigenFormJacobianA(), MooseStaticCondensationPreconditioner::MooseStaticCondensationPreconditioner(), MooseVariableInterface< Real >::MooseVariableInterface(), NonlinearEigenSystem::nLinearIterations(), NonlinearEigenSystem::nNonlinearIterations(), EigenExecutionerBase::nonlinearSolve(), ComputeDiracThread::onElement(), ComputeNodalKernelBCJacobiansThread::onNode(), ComputeNodalKernelJacobiansThread::onNode(), VariableResidualNormsDebugOutput::output(), Moose::PetscSupport::petscLinearConverged(), Moose::PetscSupport::petscNonlinearConverged(), PhysicsBasedPreconditioner::PhysicsBasedPreconditioner(), PointwiseRenormalizeVector::PointwiseRenormalizeVector(), FEProblemBase::prepareAssembly(), SystemBase::prepareFace(), FEProblemBase::prepareFaceShapes(), FEProblemBase::prepareNeighborShapes(), FEProblemBase::prepareShapes(), MooseMesh::queryPeriodicDimensions(), FEProblemBase::reinitDirac(), FEProblemBase::reinitOffDiagScalars(), NonlinearSystem::residualAndJacobianTogether(), FEProblemBase::setResidual(), FEProblemBase::setResidualNeighbor(), PhysicsBasedPreconditioner::setup(), FVInterfaceKernel::setupData(), NonlinearSystemBase::shouldEvaluatePreSMOResidual(), ActuallyExplicitEuler::solve(), NonlinearEigenSystem::solve(), LStableDirk2::solve(), LStableDirk3::solve(), ImplicitMidpoint::solve(), ExplicitTVDRK2::solve(), LStableDirk4::solve(), AStableDirk4::solve(), ExplicitRK2::solve(), ExplicitSSPRungeKutta::solveStage(), NonlinearThread::subdomainChanged(), UserObjectBase::systemNumber(), MultiAppDofCopyTransfer::transferDofObject(), FVFluxBC::uOnGhost(), FVFluxBC::uOnUSub(), FVFluxBC::updateCurrentFace(), NodalDamper::variableDefinedOnNode(), and MortarConstraintBase::zeroInactiveLMDofs().
|
virtualinherited |
Get the number of variables in this system.
Definition at line 892 of file SystemBase.C.
Referenced by AdaptivityAction::act(), FieldSplitPreconditionerTempl< MoosePreconditioner >::FieldSplitPreconditionerTempl(), FiniteDifferencePreconditioner::FiniteDifferencePreconditioner(), NonlinearSystemBase::getNodeDofs(), Assembly::init(), ExplicitTimeIntegrator::initialSetup(), MaxVarNDofsPerElem::onElement(), MaxVarNDofsPerNode::onNode(), PhysicsBasedPreconditioner::PhysicsBasedPreconditioner(), SingleMatrixPreconditioner::SingleMatrixPreconditioner(), and AuxiliarySystem::variableWiseRelativeSolutionDifferenceNorm().
|
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 1702 of file SystemBase.C.
Referenced by FieldSplitPreconditioner::FieldSplitPreconditioner(), MoosePreconditioner::initialSetup(), and FieldSplitPreconditioner::prefix().
|
overridevirtualinherited |
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 SystemBase.
Reimplemented in NonlinearSystemBase.
Definition at line 32 of file SolverSystem.C.
Referenced by NonlinearSystemBase::preInit().
Prepare the system for use.
| tid | ID of the thread |
Definition at line 257 of file SystemBase.C.
Referenced by SubProblem::reinitElemFaceRef().
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 280 of file SystemBase.C.
Prepare the system for use for lower dimensional elements.
| tid | ID of the thread |
Definition at line 333 of file SystemBase.C.
Referenced by SubProblem::reinitLowerDElem().
Prepare the system for use.
| tid | ID of the thread |
Definition at line 325 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 1662 of file SystemBase.C.
Referenced by SystemBase::getTimeIntegrator(), HDGKernel::HDGKernel(), and MooseVariableData< OutputType >::MooseVariableData().
|
inlineprotectedinherited |
Access the persisted limited-gradient storage for a specific limiter.
| limiter_type | The limiter type whose persisted storage is being accessed. |
Definition at line 117 of file LinearFVGradientInterface.h.
|
protectedinherited |
Rebuild persistent raw and temporary gradient storage after mesh/DOF changes.
Definition at line 142 of file LinearFVGradientInterface.C.
Referenced by AuxiliarySystem::AuxiliarySystem(), initialSetup(), AuxiliarySystem::reinit(), and reinit().
|
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 157 of file LinearSystem.C.
Reinit an element assembly info.
| elem | Which element we are reinitializing for |
| tid | ID of the thread |
Reimplemented in AuxiliarySystem.
Definition at line 341 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 367 of file SystemBase.C.
Referenced by SubProblem::reinitElemFaceRef().
Compute the values of the variables on the lower dimensional element.
Definition at line 391 of file SystemBase.C.
Referenced by SubProblem::reinitLowerDElem().
Compute the values of the variables at all the current points.
Definition at line 383 of file SystemBase.C.
|
virtualinherited |
Compute the values of the variables at all the current points.
Definition at line 375 of file SystemBase.C.
Referenced by SubProblem::reinitNeighborFaceRef().
Reinit nodal assembly info.
| node | Node to reinit for |
| tid | Thread ID |
Definition at line 399 of file SystemBase.C.
|
virtualinherited |
Reinit nodal assembly info on a face.
| node | Node to reinit |
| bnd_id | Boundary ID |
| tid | Thread ID |
Definition at line 411 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 423 of file SystemBase.C.
|
virtualinherited |
Reinit variables at a set of neighbor nodes.
| nodes | List of node ids to reinit |
| tid | Thread ID |
Definition at line 434 of file SystemBase.C.
|
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 445 of file SystemBase.C.
Removes a matrix with a given tag.
| tag_name | The name of the tag |
Definition at line 591 of file SystemBase.C.
|
inherited |
Remove a vector from the system with the given name.
Definition at line 1336 of file SystemBase.C.
Referenced by SystemBase::restoreOldSolutions().
Remove a solution length vector from the system with the specified TagID.
| tag_id | Tag ID |
Definition at line 701 of file SystemBase.C.
|
inlineinherited |
Access the limiter types requested for this system.
Definition at line 72 of file LinearFVGradientInterface.h.
|
inlineprotectedinherited |
Access the variable numbers that requested limited gradients for a specific limiter.
| limiter_type | The limiter type whose request set is being accessed. |
Definition at line 128 of file LinearFVGradientInterface.h.
|
inherited |
Request storage and assembly of limiter-specific cell gradients.
| limiter_type | The limiter whose gradient storage should be made available. |
| variable_number | The libMesh variable number requesting the limited gradients. |
Definition at line 166 of file LinearFVGradientInterface.C.
| void LinearFVGradientInterface::requestLinearFVLimitedGradients |
Request storage and assembly of limiter-specific cell gradients.
| limiter_type | The limiter whose gradient storage should be made available. |
| variable_number | The libMesh variable number requesting the limited gradients. |
Definition at line 166 of file LinearFVGradientInterface.C.
|
inlinevirtualinherited |
Reimplemented in NonlinearSystemBase, and DisplacedSystem.
Definition at line 427 of file SystemBase.h.
Referenced by DisplacedSystem::residualCopy().
|
inlinevirtualinherited |
Reimplemented in NonlinearSystemBase, and DisplacedSystem.
Definition at line 431 of file SystemBase.h.
Referenced by DisplacedSystem::residualGhosted().
|
inlineoverridevirtual |
|
inlinevirtualinherited |
Reimplemented in NonlinearSystemBase, and DisplacedSystem.
Definition at line 308 of file SystemBase.h.
Referenced by SystemBase::defaultVectorTags(), and DisplacedSystem::residualVectorTag().
|
virtualinherited |
Restore the old and older solutions when the saved solutions present.
Definition at line 543 of file SystemBase.C.
|
finaloverridevirtualinherited |
Restore current solutions (call after your solve failed)
Reimplemented from SystemBase.
Definition at line 43 of file SolverSystem.C.
|
inline |
Definition at line 120 of file LinearSystem.h.
|
inline |
Accessors of important tag IDs
Definition at line 119 of file LinearSystem.h.
|
inline |
Definition at line 121 of file LinearSystem.h.
Referenced by FEProblemBase::computeLinearSystemSys().
|
inherited |
Definition at line 91 of file SolverSystem.C.
|
virtualinherited |
Save the old and older solutions.
Definition at line 511 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 1635 of file SystemBase.C.
Referenced by PNGOutput::calculateRescalingValues(), PNGOutput::makeMeshFunc(), and DisplacedSystem::serializedSolution().
|
inherited |
Definition at line 52 of file SolverSystem.C.
Referenced by SolverSystem::setSolution().
|
inherited |
Set the active vector tags for the scalar variables.
Definition at line 1615 of file SystemBase.C.
Referenced by SubProblem::setActiveScalarVariableCoupleableVectorTags().
|
inherited |
Set the active vector tags for the variables.
Definition at line 1609 of file SystemBase.C.
Referenced by SubProblem::setActiveFEVariableCoupleableVectorTags().
Enable solution under/over-relaxation for fixed point iterations.
Intended for segregated multi-system fixed point iterations where the system is solved repeatedly with coefficients that depend on other systems/loops (e.g. deferred correction). A value of 1 disables relaxation.
The relaxed update is: u <- relaxation_factor * u_new + (1 - relaxation_factor) * u_old
Definition at line 79 of file SolverSystem.C.
Set the norm in which the linear convergence will be measured.
| kspnorm | The required norm |
Definition at line 148 of file SolverSystem.C.
Referenced by MoosePreconditioner::MoosePreconditioner().
Set the side on which the preconditioner is applied to.
| pcs | The required preconditioning side |
Definition at line 133 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 67 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 187 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 1708 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 973 of file SystemBase.h.
|
inlineinherited |
Definition at line 197 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(), MultiAppPostprocessorToAuxScalarTransfer::execute(), MultiAppScalarToAuxScalarTransfer::execute(), NodalNormalsCorner::execute(), NodalNormalsEvaluator::execute(), MultiAppVariableValueSamplePostprocessorTransfer::execute(), NodalNormalsPreprocessor::execute(), NodalNormalsCorner::finalize(), NodalNormalsEvaluator::finalize(), NodalNormalsPreprocessor::finalize(), NodalNormalsCorner::initialize(), NodalNormalsEvaluator::initialize(), NodalNormalsPreprocessor::initialize(), MooseEigenSystem::initSystemSolution(), ComputeMarkerThread::onElement(), ComputeIndicatorThread::onElement(), ComputeUserObjectsThread::onElement(), ComputeNodalUserObjectsThread::onNode(), FEProblemBase::projectInitialConditionOnCustomRange(), FEProblemBase::projectSolution(), Transient::relativeSolutionDifferenceNorm(), MultiApp::restore(), ElementSubdomainModifierBase::restoreOverriddenDofValues(), SystemBase::restoreSolutions(), SolverSystem::saveOldSolutionForFixedPointRelaxation(), SecantSolve::saveVariableValues(), SteffensenSolve::saveVariableValues(), PicardSolve::saveVariableValues(), MooseEigenSystem::scaleSystemSolution(), AuxiliarySystem::serializeSolution(), NonlinearSystemBase::setConstraintSecondaryValues(), NonlinearSystemBase::setInitialSolution(), DisplacedSystem::solutionInternal(), NonlinearEigenSystem::solve(), MultiAppDofCopyTransfer::transfer(), SecantSolve::transformVariables(), SteffensenSolve::transformVariables(), PicardSolve::transformVariables(), AuxiliarySystem::variableWiseRelativeSolutionDifferenceNorm(), and SystemBase::zeroVariables().
|
inlineinherited |
Definition at line 200 of file SystemBase.h.
|
inlinefinaloverrideprotectedvirtualinherited |
Internal getter for solution owned by libMesh.
Implements SystemBase.
Definition at line 141 of file SolverSystem.h.
|
inlineinherited |
Definition at line 198 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 201 of file SystemBase.h.
|
inlineinherited |
Definition at line 199 of file SystemBase.h.
Referenced by MooseEigenSystem::combineSystemSolution(), CentralDifference::computeTimeDerivatives(), ActivateElementsUserObjectBase::initSolutions(), MooseVariableScalar::reinit(), and ElementSubdomainModifierBase::setOldAndOlderSolutions().
|
inlineinherited |
Definition at line 202 of file SystemBase.h.
|
virtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 1357 of file SystemBase.C.
Referenced by AuxiliarySystem::copyCurrentIntoPreviousNL(), SystemBase::copyPreviousNonlinearSolutions(), and SystemBase::restoreSolutions().
|
virtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 1348 of file SystemBase.C.
|
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 1433 of file SystemBase.C.
Referenced by SolverSystem::applyFixedPointRelaxation(), SystemBase::copyOldSolutions(), SystemBase::copyPreviousFixedPointSolutions(), SystemBase::copyPreviousNonlinearSolutions(), PointwiseRenormalizeVector::execute(), PointwiseRenormalizeVector::finalize(), MooseVariableBase::getSolution(), SystemBase::restoreOldSolutions(), SolverSystem::saveOldSolutionForFixedPointRelaxation(), SystemBase::saveOldSolutions(), SystemBase::solution(), SystemBase::solutionOld(), SystemBase::solutionOlder(), and DisplacedSystem::solutionState().
|
virtualinherited |
Get a state of the solution (0 = current, 1 = old, 2 = older, etc).
Reimplemented in DisplacedSystem.
Definition at line 1404 of file SystemBase.C.
|
inherited |
Returns the parallel type of the given solution state.
Definition at line 1442 of file SystemBase.C.
Referenced by SolverSystem::applyFixedPointRelaxation(), SystemBase::needSolutionState(), and SolverSystem::saveOldSolutionForFixedPointRelaxation().
|
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 899 of file SystemBase.h.
Referenced by ScalarKernelBase::uOld(), and AuxScalarKernel::uOld().
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 262 of file SystemBase.h.
Referenced by MooseVariableScalar::adUDot(), ActuallyExplicitEuler::computeTimeDerivatives(), ImplicitEuler::computeTimeDerivatives(), ExplicitEuler::computeTimeDerivatives(), NewmarkBeta::computeTimeDerivatives(), BDF2::computeTimeDerivatives(), CentralDifference::computeTimeDerivatives(), CrankNicolson::computeTimeDerivatives(), LStableDirk2::computeTimeDerivatives(), LStableDirk3::computeTimeDerivatives(), ImplicitMidpoint::computeTimeDerivatives(), ExplicitTVDRK2::computeTimeDerivatives(), LStableDirk4::computeTimeDerivatives(), AStableDirk4::computeTimeDerivatives(), ExplicitRK2::computeTimeDerivatives(), SystemBase::copyOldSolutions(), CrankNicolson::init(), CentralDifference::initialSetup(), MooseVariableScalar::reinit(), SystemBase::restoreSolutions(), DisplacedSystem::solutionUDot(), and MooseVariableScalar::uDot().
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 266 of file SystemBase.h.
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 263 of file SystemBase.h.
Referenced by NewmarkBeta::computeTimeDerivatives(), CentralDifference::computeTimeDerivatives(), SystemBase::copyOldSolutions(), CentralDifference::initialSetup(), MooseVariableScalar::reinit(), SystemBase::restoreSolutions(), DisplacedSystem::solutionUDotDot(), and MooseVariableScalar::uDotDot().
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 267 of file SystemBase.h.
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 265 of file SystemBase.h.
Referenced by NewmarkBeta::computeADTimeDerivatives(), NewmarkBeta::computeTimeDerivatives(), SystemBase::copyOldSolutions(), MooseVariableScalar::reinit(), SystemBase::restoreOldSolutions(), SystemBase::restoreSolutions(), SystemBase::saveOldSolutions(), DisplacedSystem::solutionUDotDotOld(), and MooseVariableScalar::uDotDotOld().
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 269 of file SystemBase.h.
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 264 of file SystemBase.h.
Referenced by NewmarkBeta::computeADTimeDerivatives(), NewmarkBeta::computeTimeDerivatives(), SystemBase::copyOldSolutions(), MooseVariableScalar::reinit(), SystemBase::restoreOldSolutions(), SystemBase::restoreSolutions(), SystemBase::saveOldSolutions(), DisplacedSystem::solutionUDotOld(), and MooseVariableScalar::uDotOld().
|
inlinevirtualinherited |
Reimplemented in DisplacedSystem.
Definition at line 268 of file SystemBase.h.
|
overridevirtual |
Solve the system (using libMesh magic)
Reimplemented from SystemBase.
Reimplemented in DumpObjectsLinearSystem.
Definition at line 279 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 306 of file LinearSystem.C.
Referenced by FEProblemBase::checkExceptionAndStopSolve().
|
virtualinherited |
Reimplemented in AuxiliarySystem.
Definition at line 1581 of file SystemBase.C.
Referenced by 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 |
Get the reference to the libMesh system.
Implements SystemBase.
Definition at line 114 of file LinearSystem.h.
Referenced by initialSetup(), reinit(), and solve().
|
inlineoverridevirtual |
Implements SystemBase.
Definition at line 115 of file LinearSystem.h.
|
inlineoverridevirtual |
Return the Matrix Tag ID for System.
Reimplemented from SystemBase.
Definition at line 122 of file LinearSystem.h.
Referenced by FEProblemBase::computeLinearSystemSys().
|
inlineprotectedinherited |
Return temporary storage for gradients during gradient assembly.
The returned vectors are persistent scratch storage reused across calls and swapped with the final gradient container before gradient assembly returns.
Definition at line 94 of file LinearFVGradientInterface.h.
|
inlineprotectedinherited |
Return temporary storage for limited gradients during gradient assembly.
The returned vectors are persistent scratch storage reused across calls and swapped with the final limited-gradient container before gradient assembly returns.
| limiter_type | The limiter type whose temporary storage is being accessed. |
Definition at line 106 of file LinearFVGradientInterface.h.
|
protectedinherited |
section_name.Optionally adds a prefix if one is defined.
Definition at line 55 of file PerfGraphInterface.C.
Referenced by PerfGraphInterface::registerTimedSection().
|
inlineoverridevirtual |
Returns the names of the variables that have time derivative kernels in the system.
Implements SolverSystem.
Definition at line 76 of file LinearSystem.h.
|
virtualinherited |
Reimplemented in NonlinearSystemBase, and AuxiliarySystem.
Definition at line 1567 of file SystemBase.C.
Referenced by 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 NonlinearSystemBase, and DisplacedSystem.
Definition at line 293 of file SystemBase.h.
Referenced by SystemBase::defaultVectorTags(), and DisplacedSystem::timeVectorTag().
|
inherited |
Update the system (doing libMesh magic)
Definition at line 1244 of file SystemBase.C.
Referenced by Adaptivity::adaptMesh(), SolverSystem::applyFixedPointRelaxation(), MooseEigenSystem::combineSystemSolution(), NonlinearSystemBase::computeDamping(), NonlinearSystemBase::computeJacobianInternal(), NonlinearSystemBase::computeResidualTags(), EigenProblem::doFreeNonlinearPowerIterations(), PointwiseRenormalizeVector::finalize(), MooseEigenSystem::initSystemSolution(), MooseEigenSystem::initSystemSolutionOld(), MooseEigenSystem::scaleSystemSolution(), NonlinearSystemBase::setConstraintSecondaryValues(), NonlinearSystemBase::setInitialSolution(), EigenProblem::solve(), FEProblemBase::solve(), DisplacedProblem::syncSolutions(), MultiAppDofCopyTransfer::transfer(), SecantSolve::transformVariables(), SteffensenSolve::transformVariables(), and PicardSolve::transformVariables().
|
staticinherited |
Definition at line 16 of file PerfGraphInterface.C.
Referenced by Convergence::validParams().
|
inlineinherited |
Definition at line 757 of file SystemBase.h.
|
inlineinherited |
Definition at line 927 of file SystemBase.h.
Referenced by Coupleable::coupled().
Zero vector with the given tag.
Definition at line 675 of file SystemBase.C.
Referenced by SystemBase::zeroTaggedVectors().
Zero all vectors for given tags.
Definition at line 694 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 201 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 236 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 230 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 1025 of file SystemBase.h.
Referenced by SystemBase::activateAllMatrixTags(), SystemBase::deactivateAllMatrixTags(), and SystemBase::reinitElem().
|
protectedinherited |
Definition at line 988 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 1055 of file SystemBase.h.
Referenced by 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(), MeshOnlyAction::act(), SetupDebugAction::act(), MaterialOutputAction::act(), Adaptivity::adaptMesh(), FEProblemBase::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::checkNonMatchingEdges(), MeshDiagnosticsGenerator::checkNonPlanarSides(), FEProblemBase::checkProblemIntegrity(), ReferenceResidualConvergence::checkRelativeConvergence(), MeshDiagnosticsGenerator::checkSidesetsOrientation(), MeshDiagnosticsGenerator::checkWatertightNodesets(), MeshDiagnosticsGenerator::checkWatertightSidesets(), IterationAdaptiveDT::computeAdaptiveDT(), TransientBase::computeConstrainedDT(), DefaultMultiAppFixedPointConvergence::computeCustomConvergencePostprocessor(), NonlinearSystemBase::computeDamping(), FixedPointIterationAdaptiveDT::computeDT(), IterationAdaptiveDT::computeDT(), IterationAdaptiveDT::computeFailedDT(), IterationAdaptiveDT::computeInitialDT(), IterationAdaptiveDT::computeInterpolationDT(), computeLinearSystemTags(), FEProblemBase::computeLinearSystemTags(), NonlinearSystemBase::computeScaling(), Problem::console(), IterationAdaptiveDT::constrainStep(), TimeStepper::constrainStep(), MultiApp::createApp(), FEProblemBase::execMultiApps(), FEProblemBase::execMultiAppTransfers(), MFEMSteady::execute(), MessageFromInput::execute(), SteadyBase::execute(), Eigenvalue::execute(), ActionWarehouse::executeActionsWithAction(), ActionWarehouse::executeAllActions(), MeshGeneratorSystem::executeMeshGenerators(), ElementQualityChecker::finalize(), SidesetAroundSubdomainUpdater::finalize(), FEProblemBase::finishMultiAppStep(), MeshRepairGenerator::fixOverlappingNodes(), SurfaceSubdomainsDelaunayRemesher::General2DDelaunay(), OrientSurfaceMeshGenerator::generate(), CoarsenBlockGenerator::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(), ReporterDebugOutput::output(), PerfGraphOutput::output(), SolutionInvalidityOutput::output(), MaterialPropertyDebugOutput::output(), DOFMapOutput::output(), VariableResidualNormsDebugOutput::output(), Console::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::printBlockRestrictionMap(), SolutionInvalidity::printDebug(), EigenExecutionerBase::printEigenvalue(), SecantSolve::printFixedPointConvergenceHistory(), SteffensenSolve::printFixedPointConvergenceHistory(), PicardSolve::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(), EigenProblem::solve(), FEProblemSolve::solve(), FixedPointSolve::solve(), NonlinearSystem::solve(), solve(), LStableDirk2::solve(), LStableDirk3::solve(), ImplicitMidpoint::solve(), ExplicitTVDRK2::solve(), AStableDirk4::solve(), LStableDirk4::solve(), ExplicitRK2::solve(), TransientMultiApp::solveStep(), FixedPointSolve::solveStep(), PerfGraphLivePrint::start(), WebServerControl::startServer(), AB2PredictorCorrector::step(), NonlinearEigen::takeStep(), MFEMTransient::takeStep(), TransientBase::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 197 of file LinearSystem.h.
Referenced by converged(), and solve().
|
protected |
The linear iterations needed for convergence.
Definition at line 158 of file LinearSystem.h.
Referenced by solve().
|
protectedinherited |
solution vector from solver
Definition at line 120 of file SolverSystem.h.
Referenced by NonlinearSystem::computeScalingJacobian(), NonlinearEigenSystem::computeScalingJacobian(), NonlinearSystem::computeScalingResidual(), NonlinearEigenSystem::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 1017 of file SystemBase.h.
Referenced by SystemBase::addVariable(), SystemBase::duDotDu(), and SystemBase::duDotDus().
|
protectedinherited |
Definition at line 1018 of file SystemBase.h.
Referenced by SystemBase::duDotDotDu().
|
protectedinherited |
Definition at line 989 of file SystemBase.h.
Referenced by NonlinearSystemBase::addBoundaryCondition(), NonlinearSystemBase::addConstraint(), NonlinearSystemBase::addDamper(), NonlinearSystemBase::addDGKernel(), NonlinearSystemBase::addDiracKernel(), NonlinearSystemBase::addHDGKernel(), NonlinearSystemBase::addInterfaceKernel(), MooseEigenSystem::addKernel(), AuxiliarySystem::addKernel(), NonlinearSystemBase::addKernel(), NonlinearSystemBase::addNodalKernel(), AuxiliarySystem::addScalarKernel(), NonlinearSystemBase::addScalarKernel(), NonlinearSystemBase::addSplit(), SystemBase::addTimeIntegrator(), and SystemBase::addVariable().
|
protectedinherited |
the governing finite element/volume problem
Definition at line 986 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(), SolverSystem::compute(), AuxiliarySystem::compute(), compute(), NonlinearSystemBase::computeDamping(), NonlinearSystemBase::computeDiracContributions(), AuxiliarySystem::computeElementalVarsHelper(), NonlinearSystemBase::computeJacobian(), NonlinearSystemBase::computeJacobianBlocks(), NonlinearSystemBase::computeJacobianInternal(), computeLinearSystemInternal(), computeLinearSystemTags(), AuxiliarySystem::computeMortarNodalVars(), NonlinearSystemBase::computeNodalBCsJacobian(), 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::customSetup(), MooseEigenSystem::eigenKernelOnCurrent(), MooseEigenSystem::eigenKernelOnOld(), NonlinearSystemBase::enforceNodalConstraintsJacobian(), NonlinearSystemBase::enforceNodalConstraintsResidual(), SystemBase::feProblem(), NonlinearSystemBase::getResidualNonTimeVector(), NonlinearSystemBase::getResidualTimeVector(), initialSetup(), NonlinearSystemBase::initialSetup(), NonlinearSystemBase::jacobianSetup(), LinearSystem(), NonlinearSystemBase::NonlinearSystemBase(), NonlinearSystemBase::overwriteNodeFace(), NonlinearSystem::potentiallySetupFiniteDifferencing(), NonlinearSystemBase::preInit(), NonlinearSystemBase::reinitNodeFace(), NonlinearSystem::residualAndJacobianTogether(), NonlinearSystemBase::residualSetup(), NonlinearSystemBase::setConstraintSecondaryValues(), NonlinearSystemBase::setInitialSolution(), AuxiliarySystem::setScalarVariableCoupleableTags(), NonlinearSystemBase::shouldEvaluatePreSMOResidual(), NonlinearSystem::solve(), and NonlinearSystemBase::timestepSetup().
|
protected |
|
protectedinherited |
Used for relaxing entire system solution during fixed point (multi-)system iterations.
Definition at line 131 of file SolverSystem.h.
Referenced by SolverSystem::applyFixedPointRelaxation(), SolverSystem::clearFixedPointRelaxation(), SolverSystem::saveOldSolutionForFixedPointRelaxation(), and SolverSystem::setFixedPointRelaxationFactor().
|
protected |
|
protectedinherited |
KSP norm type.
Definition at line 125 of file SolverSystem.h.
Referenced by SolverSystem::getMooseKSPNormType(), and SolverSystem::setMooseKSPNormType().
|
protected |
Base class reference to the linear implicit system in libmesh.
Definition at line 200 of file LinearSystem.h.
Referenced by computeLinearSystemInternal(), getRightHandSideVector(), getSystemMatrix(), linearImplicitSystem(), LinearSystem(), solve(), and stopSolve().
|
protectedinherited |
Active flags for tagged matrices.
Definition at line 1027 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 164 of file LinearSystem.h.
|
protectedinherited |
Maximum number of dofs for any one variable on any one element.
Definition at line 1043 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 1046 of file SystemBase.h.
Referenced by SystemBase::assignMaxVarNDofsPerNode(), and SystemBase::getMaxVarNDofsPerNode().
|
protectedinherited |
Maximum variable number.
Definition at line 1000 of file SystemBase.h.
Referenced by SystemBase::addVariable(), and SystemBase::getMaxVariableNumber().
|
protectedinherited |
Definition at line 991 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(), NonlinearSystemBase::overwriteNodeFace(), NonlinearSystemBase::reinitNodeFace(), NonlinearSystemBase::setConstraintSecondaryValues(), SystemBase::setVariableGlobalDoFs(), AuxiliarySystem::variableWiseRelativeSolutionDifferenceNorm(), and SystemBase::zeroVariables().
|
protected |
Number of linear iterations.
Definition at line 188 of file LinearSystem.h.
Referenced by nLinearIterations(), and solve().
|
protectedinherited |
The name of this system.
Definition at line 993 of file SystemBase.h.
|
protectedinherited |
Map variable number to its pointer.
Definition at line 1052 of file SystemBase.h.
Referenced by SystemBase::addVariable(), and SystemBase::getVariable().
|
protectedinherited |
Preconditioning side.
Definition at line 123 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().
|
protectedinherited |
Persisted raw cell-centered gradient components keyed by spatial direction.
Definition at line 145 of file LinearFVGradientInterface.h.
Referenced by AuxiliarySystem::compute(), and LinearFVGradientInterface::linearFVGradientContainer().
|
protectedinherited |
Persisted limited gradient components keyed by limiter type.
Definition at line 157 of file LinearFVGradientInterface.h.
Referenced by LinearFVGradientInterface::rawLinearFVLimitedGradientContainer().
|
protectedinherited |
Set of requested limiter types for which limited gradients should be computed.
Definition at line 148 of file LinearFVGradientInterface.h.
Referenced by LinearFVGradientInterface::requestedLinearFVLimitedGradientTypes().
|
protectedinherited |
Variable numbers requesting limited gradients, keyed by limiter type.
Definition at line 152 of file LinearFVGradientInterface.h.
Referenced by LinearFVGradientInterface::requestedLinearFVLimitedGradientVariables().
|
protected |
right hand side vector for non-time contributions
Definition at line 176 of file LinearSystem.h.
Referenced by getRightHandSideNonTimeVector().
|
protected |
Tag for non-time contribution rhs.
Definition at line 173 of file LinearSystem.h.
Referenced by rightHandSideNonTimeVectorTag().
|
protected |
Used for the right hand side vector from PETSc.
Definition at line 179 of file LinearSystem.h.
Referenced by LinearSystem(), and rightHandSideVectorTag().
|
protected |
right hand side vector for time contributions
Definition at line 170 of file LinearSystem.h.
Referenced by getRightHandSideTimeVector().
|
protected |
Tag for time contribution rhs.
Definition at line 167 of file LinearSystem.h.
Referenced by rightHandSideTimeVectorTag().
|
protectedinherited |
Definition at line 1034 of file SystemBase.h.
Referenced by SystemBase::restoreOldSolutions(), and SystemBase::saveOldSolutions().
|
protectedinherited |
Definition at line 1035 of file SystemBase.h.
Referenced by SystemBase::restoreOldSolutions(), and SystemBase::saveOldSolutions().
|
protectedinherited |
Definition at line 1030 of file SystemBase.h.
|
protectedinherited |
Definition at line 1031 of file SystemBase.h.
|
protectedinherited |
Serialized version of the solution vector, or nullptr if a serialized solution is not needed.
Definition at line 1068 of file SystemBase.h.
Referenced by AuxiliarySystem::compute(), SolverSystem::preInit(), SystemBase::serializedSolution(), SolverSystem::serializeSolution(), AuxiliarySystem::serializeSolution(), and SolverSystem::setSolution().
|
protectedinherited |
Boolean to see if solution is invalid.
Definition at line 128 of file SolverSystem.h.
|
private |
The current states of the solution (0 = current, 1 = old, etc)
Definition at line 204 of file LinearSystem.h.
|
protectedinherited |
Whether or not the solution states have been initialized.
Definition at line 1061 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 983 of file SystemBase.h.
Referenced by SystemBase::activateAllMatrixTags(), SystemBase::addMatrix(), SystemBase::addScalingVector(), SystemBase::addVariable(), SystemBase::associateMatrixToTag(), SystemBase::associateVectorToTag(), SystemBase::augmentSendList(), SystemBase::closeTaggedVector(), SystemBase::computingScalingJacobian(), SystemBase::deactivateAllMatrixTags(), SystemBase::disassociateDefaultMatrixTags(), SystemBase::disassociateDefaultVectorTags(), SystemBase::disassociateMatrixFromTag(), SystemBase::disassociateVectorFromTag(), SystemBase::getMatrix(), NonlinearSystemBase::getResidualNonTimeVector(), NonlinearSystemBase::getResidualTimeVector(), 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::zeroTaggedVector(), and SystemBase::zeroVariables().
|
protected |
Base class reference to the libmesh system.
Definition at line 155 of file LinearSystem.h.
Referenced by system().
|
protected |
Tag for non-time contribution to the system matrix.
Definition at line 182 of file LinearSystem.h.
|
protected |
Tag for every contribution to system matrix.
Definition at line 185 of file LinearSystem.h.
Referenced by LinearSystem(), and systemMatrixTag().
|
protectedinherited |
Tagged matrices (pointer)
Definition at line 1023 of file SystemBase.h.
Referenced by SystemBase::associateMatrixToTag(), SystemBase::disassociateMatrixFromTag(), SystemBase::getMatrix(), SystemBase::hasMatrix(), and SystemBase::removeMatrix().
|
protectedinherited |
Tagged vectors (pointer)
Definition at line 1021 of file SystemBase.h.
Referenced by SystemBase::associateVectorToTag(), SystemBase::disassociateVectorFromTag(), SystemBase::getVector(), SystemBase::hasVector(), and SystemBase::removeVector().
|
protectedinherited |
Scratch storage for raw gradients assembled during the current compute pass.
Definition at line 142 of file LinearFVGradientInterface.h.
Referenced by LinearFVGradientInterface::temporaryLinearFVGradientContainer().
|
protectedinherited |
Scratch storage for limited gradients assembled during the current compute pass.
Definition at line 162 of file LinearFVGradientInterface.h.
Referenced by LinearFVGradientInterface::temporaryLinearFVLimitedGradientContainer().
|
protectedinherited |
Time integrator.
Definition at line 1049 of file SystemBase.h.
Referenced by SystemBase::addTimeIntegrator(), SolverSystem::compute(), AuxiliarySystem::compute(), compute(), NonlinearSystemBase::computeResidualAndJacobianTags(), NonlinearSystemBase::computeResidualTags(), SystemBase::copyTimeIntegrators(), SystemBase::getTimeIntegrators(), NonlinearEigenSystem::nLinearIterations(), NonlinearEigenSystem::nNonlinearIterations(), NonlinearSystemBase::onTimestepBegin(), SystemBase::queryTimeIntegrator(), NonlinearSystem::solve(), and NonlinearEigenSystem::solve().
|
protectedinherited |
solution vector for u^dot
Definition at line 1006 of file SystemBase.h.
Referenced by SystemBase::addDotVectors(), NonlinearSystemBase::setSolutionUDot(), and SystemBase::solutionUDot().
|
protectedinherited |
old solution vector for u^dot
Definition at line 1011 of file SystemBase.h.
Referenced by SystemBase::addDotVectors(), NonlinearSystemBase::setSolutionUDotOld(), and SystemBase::solutionUDotOld().
|
protectedinherited |
solution vector for u^dotdot
Definition at line 1008 of file SystemBase.h.
Referenced by SystemBase::addDotVectors(), NonlinearSystemBase::setSolutionUDotDot(), and SystemBase::solutionUDotDot().
|
protectedinherited |
old solution vector for u^dotdot
Definition at line 1013 of file SystemBase.h.
Referenced by SystemBase::addDotVectors(), NonlinearSystemBase::setSolutionUDotDotOld(), and SystemBase::solutionUDotDotOld().
|
protectedinherited |
Container for the dof indices of a given variable.
Definition at line 1064 of file SystemBase.h.
Referenced by SystemBase::getVariableGlobalDoFs(), and SystemBase::setVariableGlobalDoFs().
|
protectedinherited |
default kind of variables in this system
Definition at line 1038 of file SystemBase.h.
Referenced by SystemBase::varKind().
|
protectedinherited |
Map of variables (variable id -> array of subdomains where it lives)
Definition at line 998 of file SystemBase.h.
Referenced by SystemBase::addVariable(), SystemBase::getSubdomainsForVar(), and SystemBase::getVariableBlocks().
|
protectedinherited |
Definition at line 1040 of file SystemBase.h.
Referenced by SystemBase::addVariableToCopy(), SystemBase::copyVars(), and SystemBase::hasVarCopy().
|
protectedinherited |
Variable warehouses (one for each thread)
Definition at line 996 of file SystemBase.h.
Referenced by NonlinearSystemBase::addBoundaryCondition(), NonlinearSystemBase::addInterfaceKernel(), AuxiliarySystem::addVariable(), SystemBase::addVariable(), SystemBase::applyScalingFactors(), NonlinearSystemBase::assembleScalingVector(), SystemBase::clearAllDofIndices(), AuxiliarySystem::compute(), SystemBase::customSetup(), SystemBase::getActualFieldVariable(), SystemBase::getFieldVariable(), SystemBase::getFVVariable(), AuxiliarySystem::getMinQuadratureOrder(), SystemBase::getMinQuadratureOrder(), SystemBase::getScalarVariable(), SystemBase::getScalarVariables(), SystemBase::getVariable(), SystemBase::getVariableNames(), SystemBase::getVariables(), initialSetup(), SystemBase::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 1003 of file SystemBase.h.
Referenced by SystemBase::addVariableToZeroOnJacobian(), and SystemBase::zeroVariablesForJacobian().
|
protectedinherited |
Definition at line 1002 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 161 of file LinearSystem.h.
|
protectedinherited |
True if printing out additional information.
Definition at line 1058 of file SystemBase.h.
Referenced by SystemBase::applyScalingFactors(), and SystemBase::setVerboseFlag().
1.8.14