Class that controls the time-dependent (but not space-dependent) geochemistry reactions. More...
#include <GeochemistryTimeDependentReactor.h>
Public Types | |
enum | TEST_TYPE |
typedef DataFileName | DataFileParameterType |
Public Member Functions | |
GeochemistryTimeDependentReactor (const InputParameters ¶meters) | |
virtual void | initialize () override |
virtual void | finalize () override |
virtual void | initialSetup () override |
virtual void | execute () override |
virtual const GeochemicalSystem & | getGeochemicalSystem (dof_id_type node_id) const override |
virtual const std::stringstream & | getSolverOutput (dof_id_type node_id) const override |
virtual unsigned | getSolverIterations (dof_id_type node_id) const override |
virtual Real | getSolverResidual (dof_id_type node_id) const override |
virtual const DenseVector< Real > & | getMoleAdditions (dof_id_type node_id) const override |
virtual Real | getMolesDumped (dof_id_type node_id, const std::string &species) const override |
virtual void | threadJoin (const UserObject &) override |
const PertinentGeochemicalSystem & | getPertinentGeochemicalSystem () const |
returns a reference to the PertinentGeochemicalSystem used to creat the ModelGeochemicalDatabase More... | |
virtual void | subdomainSetup () override |
bool | isUniqueNodeExecute () |
SubProblem & | getSubProblem () const |
bool | shouldDuplicateInitialExecution () const |
virtual Real | spatialValue (const Point &) const |
virtual const std::vector< Point > | spatialPoints () const |
void | gatherSum (T &value) |
void | gatherMax (T &value) |
void | gatherMin (T &value) |
void | gatherProxyValueMax (T1 &proxy, T2 &value) |
void | gatherProxyValueMin (T1 &proxy, T2 &value) |
void | setPrimaryThreadCopy (UserObject *primary) |
UserObject * | primaryThreadCopy () |
std::set< UserObjectName > | getDependObjects () const |
virtual bool | needThreadedCopy () const |
const std::set< std::string > & | getRequestedItems () override |
const std::set< std::string > & | getSuppliedItems () override |
unsigned int | systemNumber () const |
virtual bool | enabled () const |
std::shared_ptr< MooseObject > | getSharedPtr () |
std::shared_ptr< const MooseObject > | getSharedPtr () const |
MooseApp & | getMooseApp () const |
const std::string & | type () const |
virtual const std::string & | name () const |
std::string | typeAndName () const |
std::string | errorPrefix (const std::string &error_type) const |
void | callMooseError (std::string msg, const bool with_prefix) const |
MooseObjectParameterName | uniqueParameterName (const std::string ¶meter_name) const |
const InputParameters & | parameters () const |
MooseObjectName | uniqueName () const |
const T & | getParam (const std::string &name) const |
std::vector< std::pair< T1, T2 > > | getParam (const std::string ¶m1, const std::string ¶m2) const |
const T * | queryParam (const std::string &name) const |
const T & | getRenamedParam (const std::string &old_name, const std::string &new_name) const |
T | getCheckedPointerParam (const std::string &name, const std::string &error_string="") const |
bool | isParamValid (const std::string &name) const |
bool | isParamSetByUser (const std::string &nm) const |
void | paramError (const std::string ¶m, Args... args) const |
void | paramWarning (const std::string ¶m, Args... args) const |
void | paramInfo (const std::string ¶m, Args... args) const |
void | connectControllableParams (const std::string ¶meter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const |
void | mooseError (Args &&... args) const |
void | mooseErrorNonPrefixed (Args &&... args) const |
void | mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const |
void | mooseWarning (Args &&... args) const |
void | mooseWarningNonPrefixed (Args &&... args) const |
void | mooseDeprecated (Args &&... args) const |
void | mooseInfo (Args &&... args) const |
std::string | getDataFileName (const std::string ¶m) const |
std::string | getDataFileNameByName (const std::string &relative_path) const |
std::string | getDataFilePath (const std::string &relative_path) const |
virtual void | timestepSetup () |
virtual void | jacobianSetup () |
virtual void | residualSetup () |
virtual void | customSetup (const ExecFlagType &) |
const ExecFlagEnum & | getExecuteOnEnum () const |
UserObjectName | getUserObjectName (const std::string ¶m_name) const |
const T & | getUserObject (const std::string ¶m_name, bool is_dependency=true) const |
const T & | getUserObjectByName (const UserObjectName &object_name, bool is_dependency=true) const |
const UserObject & | getUserObjectBase (const std::string ¶m_name, bool is_dependency=true) const |
const UserObject & | getUserObjectBaseByName (const UserObjectName &object_name, bool is_dependency=true) const |
const std::vector< SubdomainName > & | blocks () const |
unsigned int | numBlocks () const |
virtual const std::set< SubdomainID > & | blockIDs () const |
unsigned int | blocksMaxDimension () const |
bool | hasBlocks (const SubdomainName &name) const |
bool | hasBlocks (const std::vector< SubdomainName > &names) const |
bool | hasBlocks (const std::set< SubdomainName > &names) const |
bool | hasBlocks (SubdomainID id) const |
bool | hasBlocks (const std::vector< SubdomainID > &ids) const |
bool | hasBlocks (const std::set< SubdomainID > &ids) const |
bool | isBlockSubset (const std::set< SubdomainID > &ids) const |
bool | isBlockSubset (const std::vector< SubdomainID > &ids) const |
bool | hasBlockMaterialProperty (const std::string &prop_name) |
const std::set< SubdomainID > & | meshBlockIDs () const |
virtual bool | blockRestricted () const |
virtual void | checkVariable (const MooseVariableFieldBase &variable) const |
virtual const std::set< BoundaryID > & | boundaryIDs () const |
const std::vector< BoundaryName > & | boundaryNames () const |
unsigned int | numBoundaryIDs () const |
bool | hasBoundary (const BoundaryName &name) const |
bool | hasBoundary (const std::vector< BoundaryName > &names) const |
bool | hasBoundary (const BoundaryID &id) const |
bool | hasBoundary (const std::vector< BoundaryID > &ids, TEST_TYPE type=ALL) const |
bool | hasBoundary (const std::set< BoundaryID > &ids, TEST_TYPE type=ALL) const |
bool | isBoundarySubset (const std::set< BoundaryID > &ids) const |
bool | isBoundarySubset (const std::vector< BoundaryID > &ids) const |
bool | hasBoundaryMaterialProperty (const std::string &prop_name) const |
virtual bool | boundaryRestricted () const |
const std::set< BoundaryID > & | meshBoundaryIDs () const |
virtual bool | checkVariableBoundaryIntegrity () const |
virtual const VariableValue & | coupledValueByName (const std::string &var_name) |
virtual const ArrayVariableValue & | coupledArrayValueByName (const std::string &var_name) |
const std::unordered_map< std::string, std::vector< MooseVariableFieldBase *> > & | getCoupledVars () const |
const std::vector< MooseVariableFieldBase *> & | getCoupledMooseVars () const |
const std::vector< MooseVariable *> & | getCoupledStandardMooseVars () const |
const std::vector< VectorMooseVariable *> & | getCoupledVectorMooseVars () const |
const std::vector< ArrayMooseVariable *> & | getCoupledArrayMooseVars () const |
void | addFEVariableCoupleableVectorTag (TagID tag) |
void | addFEVariableCoupleableMatrixTag (TagID tag) |
std::set< TagID > & | getFEVariableCoupleableVectorTags () |
const std::set< TagID > & | getFEVariableCoupleableVectorTags () const |
std::set< TagID > & | getFEVariableCoupleableMatrixTags () |
const std::set< TagID > & | getFEVariableCoupleableMatrixTags () const |
auto & | getWritableCoupledVariables () const |
bool | hasWritableCoupledVariables () const |
const ADVariableValue * | getADDefaultValue (const std::string &var_name) const |
const ADVectorVariableValue * | getADDefaultVectorValue (const std::string &var_name) const |
const ADVariableGradient & | getADDefaultGradient () const |
const ADVectorVariableGradient & | getADDefaultVectorGradient () const |
const ADVariableSecond & | getADDefaultSecond () const |
const ADVectorVariableCurl & | getADDefaultCurl () const |
const std::vector< MooseVariableScalar *> & | getCoupledMooseScalarVars () |
const std::set< TagID > & | getScalarVariableCoupleableVectorTags () const |
const std::set< TagID > & | getScalarVariableCoupleableMatrixTags () const |
const std::set< MooseVariableFieldBase *> & | getMooseVariableDependencies () const |
std::set< MooseVariableFieldBase *> | checkAllVariables (const DofObjectType &dof_object, const std::set< MooseVariableFieldBase * > &vars_to_omit={}) |
std::set< MooseVariableFieldBase *> | checkVariables (const DofObjectType &dof_object, const std::set< MooseVariableFieldBase * > &vars_to_check) |
void | addMooseVariableDependency (MooseVariableFieldBase *var) |
void | addMooseVariableDependency (const std::vector< MooseVariableFieldBase * > &vars) |
bool | isImplicit () |
Moose::StateArg | determineState () const |
void | setRandomResetFrequency (ExecFlagType exec_flag) |
unsigned long | getRandomLong () const |
Real | getRandomReal () const |
unsigned int | getSeed (std::size_t id) |
unsigned int | getMasterSeed () const |
bool | isNodal () const |
ExecFlagType | getResetOnTime () const |
void | setRandomDataPointer (RandomData *random_data) |
bool | hasUserObject (const std::string ¶m_name) const |
bool | hasUserObject (const std::string ¶m_name) const |
bool | hasUserObject (const std::string ¶m_name) const |
bool | hasUserObject (const std::string ¶m_name) const |
bool | hasUserObjectByName (const UserObjectName &object_name) const |
bool | hasUserObjectByName (const UserObjectName &object_name) const |
bool | hasUserObjectByName (const UserObjectName &object_name) const |
bool | hasUserObjectByName (const UserObjectName &object_name) const |
const Function & | getFunction (const std::string &name) const |
const Function & | getFunctionByName (const FunctionName &name) const |
bool | hasFunction (const std::string ¶m_name) const |
bool | hasFunctionByName (const FunctionName &name) const |
bool | isDefaultPostprocessorValue (const std::string ¶m_name, const unsigned int index=0) const |
bool | hasPostprocessor (const std::string ¶m_name, const unsigned int index=0) const |
bool | hasPostprocessorByName (const PostprocessorName &name) const |
std::size_t | coupledPostprocessors (const std::string ¶m_name) const |
const PostprocessorName & | getPostprocessorName (const std::string ¶m_name, const unsigned int index=0) const |
const VectorPostprocessorValue & | getVectorPostprocessorValue (const std::string ¶m_name, const std::string &vector_name) const |
const VectorPostprocessorValue & | getVectorPostprocessorValue (const std::string ¶m_name, const std::string &vector_name, bool needs_broadcast) const |
const VectorPostprocessorValue & | getVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name) const |
const VectorPostprocessorValue & | getVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name, bool needs_broadcast) const |
const VectorPostprocessorValue & | getVectorPostprocessorValueOld (const std::string ¶m_name, const std::string &vector_name) const |
const VectorPostprocessorValue & | getVectorPostprocessorValueOld (const std::string ¶m_name, const std::string &vector_name, bool needs_broadcast) const |
const VectorPostprocessorValue & | getVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name) const |
const VectorPostprocessorValue & | getVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name, bool needs_broadcast) const |
const ScatterVectorPostprocessorValue & | getScatterVectorPostprocessorValue (const std::string ¶m_name, const std::string &vector_name) const |
const ScatterVectorPostprocessorValue & | getScatterVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name) const |
const ScatterVectorPostprocessorValue & | getScatterVectorPostprocessorValueOld (const std::string ¶m_name, const std::string &vector_name) const |
const ScatterVectorPostprocessorValue & | getScatterVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name) const |
bool | hasVectorPostprocessor (const std::string ¶m_name, const std::string &vector_name) const |
bool | hasVectorPostprocessor (const std::string ¶m_name) const |
bool | hasVectorPostprocessorByName (const VectorPostprocessorName &name, const std::string &vector_name) const |
bool | hasVectorPostprocessorByName (const VectorPostprocessorName &name) const |
const VectorPostprocessorName & | getVectorPostprocessorName (const std::string ¶m_name) const |
T & | getSampler (const std::string &name) |
Sampler & | getSampler (const std::string &name) |
T & | getSamplerByName (const SamplerName &name) |
Sampler & | getSamplerByName (const SamplerName &name) |
virtual void | meshChanged () |
virtual void | meshDisplaced () |
PerfGraph & | perfGraph () |
const PostprocessorValue & | getPostprocessorValue (const std::string ¶m_name, const unsigned int index=0) const |
const PostprocessorValue & | getPostprocessorValue (const std::string ¶m_name, const unsigned int index=0) const |
const PostprocessorValue & | getPostprocessorValueOld (const std::string ¶m_name, const unsigned int index=0) const |
const PostprocessorValue & | getPostprocessorValueOld (const std::string ¶m_name, const unsigned int index=0) const |
const PostprocessorValue & | getPostprocessorValueOlder (const std::string ¶m_name, const unsigned int index=0) const |
const PostprocessorValue & | getPostprocessorValueOlder (const std::string ¶m_name, const unsigned int index=0) const |
virtual const PostprocessorValue & | getPostprocessorValueByName (const PostprocessorName &name) const |
virtual const PostprocessorValue & | getPostprocessorValueByName (const PostprocessorName &name) const |
const PostprocessorValue & | getPostprocessorValueOldByName (const PostprocessorName &name) const |
const PostprocessorValue & | getPostprocessorValueOldByName (const PostprocessorName &name) const |
const PostprocessorValue & | getPostprocessorValueOlderByName (const PostprocessorName &name) const |
const PostprocessorValue & | getPostprocessorValueOlderByName (const PostprocessorName &name) const |
bool | isVectorPostprocessorDistributed (const std::string ¶m_name) const |
bool | isVectorPostprocessorDistributed (const std::string ¶m_name) const |
bool | isVectorPostprocessorDistributedByName (const VectorPostprocessorName &name) const |
bool | isVectorPostprocessorDistributedByName (const VectorPostprocessorName &name) const |
const Distribution & | getDistribution (const std::string &name) const |
const T & | getDistribution (const std::string &name) const |
const Distribution & | getDistribution (const std::string &name) const |
const T & | getDistribution (const std::string &name) const |
const Distribution & | getDistributionByName (const DistributionName &name) const |
const T & | getDistributionByName (const std::string &name) const |
const Distribution & | getDistributionByName (const DistributionName &name) const |
const T & | getDistributionByName (const std::string &name) const |
const Parallel::Communicator & | comm () const |
processor_id_type | n_processors () const |
processor_id_type | processor_id () const |
Static Public Member Functions | |
static InputParameters | sharedParams () |
params that are shared with AddTimeDependentReactionSolverAction More... | |
static InputParameters | validParams () |
static void | sort (typename std::vector< T > &vector) |
static void | sortDFS (typename std::vector< T > &vector) |
static void | cyclicDependencyError (CyclicDependencyException< T2 > &e, const std::string &header) |
static bool | restricted (const std::set< BoundaryID > &ids) |
Public Attributes | |
ALL | |
ANY | |
const ConsoleStream | _console |
Static Public Attributes | |
static constexpr auto | SYSTEM |
static constexpr auto | NAME |
Protected Member Functions | |
Real | newTemperature (const DenseVector< Real > &mole_additions) const |
Based on _temperature[0], mole_additions, the current mass of the system and the current temperature of the system, work out the resulting temperature. More... | |
void | preSolveDump () |
Activate the special "dump" mode prior to solving the geochemical system: More... | |
void | preSolveFlush () |
Activate the special "flush" mode prior to solving the geochemical system: More... | |
void | postSolveFlowThrough () |
Activate the special "flow-through" mode after solving the geochemical system: More... | |
void | removeCurrentSpecies () |
Alter _mole_additions so that it will represent the situation in which all current species are removed and replaced with source_species. More... | |
void | postSolveExchanger () |
This is relevant for mode=4 simulations (heat-exchanger simulations). More... | |
virtual void | addPostprocessorDependencyHelper (const PostprocessorName &name) const override |
virtual void | addVectorPostprocessorDependencyHelper (const VectorPostprocessorName &name) const override |
virtual void | addUserObjectDependencyHelper (const UserObject &uo) const override |
void | addReporterDependencyHelper (const ReporterName &reporter_name) override |
const ReporterName & | getReporterName (const std::string ¶m_name) const |
T & | declareRestartableData (const std::string &data_name, Args &&... args) |
ManagedValue< T > | declareManagedRestartableDataWithContext (const std::string &data_name, void *context, Args &&... args) |
const T & | getRestartableData (const std::string &data_name) const |
T & | declareRestartableDataWithContext (const std::string &data_name, void *context, Args &&... args) |
T & | declareRecoverableData (const std::string &data_name, Args &&... args) |
T & | declareRestartableDataWithObjectName (const std::string &data_name, const std::string &object_name, Args &&... args) |
T & | declareRestartableDataWithObjectNameWithContext (const std::string &data_name, const std::string &object_name, void *context, Args &&... args) |
std::string | restartableName (const std::string &data_name) const |
const T & | getMeshProperty (const std::string &data_name, const std::string &prefix) |
const T & | getMeshProperty (const std::string &data_name) |
bool | hasMeshProperty (const std::string &data_name, const std::string &prefix) const |
bool | hasMeshProperty (const std::string &data_name, const std::string &prefix) const |
bool | hasMeshProperty (const std::string &data_name) const |
bool | hasMeshProperty (const std::string &data_name) const |
std::string | meshPropertyName (const std::string &data_name) const |
PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level) const |
PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level, const std::string &live_message, const bool print_dots=true) const |
std::string | timedSectionName (const std::string §ion_name) const |
virtual bool | hasBlockMaterialPropertyHelper (const std::string &prop_name) |
void | initializeBlockRestrictable (const MooseObject *moose_object) |
Moose::CoordinateSystemType | getBlockCoordSystem () |
bool | hasBoundaryMaterialPropertyHelper (const std::string &prop_name) const |
virtual void | coupledCallback (const std::string &, bool) const |
virtual bool | isCoupled (const std::string &var_name, unsigned int i=0) const |
virtual bool | isCoupledConstant (const std::string &var_name) const |
unsigned int | coupledComponents (const std::string &var_name) const |
VariableName | coupledName (const std::string &var_name, unsigned int comp=0) const |
std::vector< VariableName > | coupledNames (const std::string &var_name) const |
virtual unsigned int | coupled (const std::string &var_name, unsigned int comp=0) const |
std::vector< unsigned int > | coupledIndices (const std::string &var_name) const |
virtual const VariableValue & | coupledValue (const std::string &var_name, unsigned int comp=0) const |
std::vector< const VariableValue *> | coupledValues (const std::string &var_name) const |
std::vector< const VectorVariableValue *> | coupledVectorValues (const std::string &var_name) const |
const GenericVariableValue< is_ad > & | coupledGenericValue (const std::string &var_name, unsigned int comp=0) const |
const GenericVariableValue< false > & | coupledGenericValue (const std::string &var_name, unsigned int comp) const |
const GenericVariableValue< true > & | coupledGenericValue (const std::string &var_name, unsigned int comp) const |
const GenericVectorVariableValue< is_ad > & | coupledGenericVectorValue (const std::string &var_name, unsigned int comp=0) const |
const GenericVectorVariableValue< false > & | coupledGenericVectorValue (const std::string &var_name, unsigned int comp) const |
const GenericVectorVariableValue< true > & | coupledGenericVectorValue (const std::string &var_name, unsigned int comp) const |
std::vector< const GenericVariableValue< is_ad > *> | coupledGenericValues (const std::string &var_name) const |
std::vector< const GenericVariableValue< false > *> | coupledGenericValues (const std::string &var_name) const |
std::vector< const GenericVariableValue< true > *> | coupledGenericValues (const std::string &var_name) const |
const GenericVariableValue< is_ad > & | coupledGenericDofValue (const std::string &var_name, unsigned int comp=0) const |
const GenericVariableValue< false > & | coupledGenericDofValue (const std::string &var_name, unsigned int comp) const |
const GenericVariableValue< true > & | coupledGenericDofValue (const std::string &var_name, unsigned int comp) const |
const GenericVariableValue< is_ad > & | coupledGenericDot (const std::string &var_name, unsigned int comp=0) const |
const GenericVariableValue< false > & | coupledGenericDot (const std::string &var_name, unsigned int comp) const |
const GenericVariableValue< true > & | coupledGenericDot (const std::string &var_name, unsigned int comp) const |
const GenericVariableValue< is_ad > & | coupledGenericDotDot (const std::string &var_name, unsigned int comp=0) const |
const GenericVariableValue< false > & | coupledGenericDotDot (const std::string &var_name, unsigned int comp) const |
const GenericVariableValue< true > & | coupledGenericDotDot (const std::string &var_name, unsigned int comp) const |
virtual const VariableValue & | coupledValueLower (const std::string &var_name, unsigned int comp=0) const |
const ADVariableValue & | adCoupledValue (const std::string &var_name, unsigned int comp=0) const |
std::vector< const ADVariableValue *> | adCoupledValues (const std::string &var_name) const |
const ADVariableValue & | adCoupledLowerValue (const std::string &var_name, unsigned int comp=0) const |
const ADVectorVariableValue & | adCoupledVectorValue (const std::string &var_name, unsigned int comp=0) const |
std::vector< const ADVectorVariableValue *> | adCoupledVectorValues (const std::string &var_name) const |
virtual const VariableValue & | coupledVectorTagValue (const std::string &var_names, TagID tag, unsigned int index=0) const |
virtual const VariableValue & | coupledVectorTagValue (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const |
std::vector< const VariableValue *> | coupledVectorTagValues (const std::string &var_names, TagID tag) const |
std::vector< const VariableValue *> | coupledVectorTagValues (const std::string &var_names, const std::string &tag_name) const |
virtual const ArrayVariableValue & | coupledVectorTagArrayValue (const std::string &var_names, TagID tag, unsigned int index=0) const |
virtual const ArrayVariableValue & | coupledVectorTagArrayValue (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const |
std::vector< const ArrayVariableValue *> | coupledVectorTagArrayValues (const std::string &var_names, TagID tag) const |
std::vector< const ArrayVariableValue *> | coupledVectorTagArrayValues (const std::string &var_names, const std::string &tag_name) const |
virtual const VariableGradient & | coupledVectorTagGradient (const std::string &var_names, TagID tag, unsigned int index=0) const |
virtual const VariableGradient & | coupledVectorTagGradient (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const |
std::vector< const VariableGradient *> | coupledVectorTagGradients (const std::string &var_names, TagID tag) const |
std::vector< const VariableGradient *> | coupledVectorTagGradients (const std::string &var_names, const std::string &tag_name) const |
virtual const ArrayVariableGradient & | coupledVectorTagArrayGradient (const std::string &var_names, TagID tag, unsigned int index=0) const |
virtual const ArrayVariableGradient & | coupledVectorTagArrayGradient (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const |
std::vector< const ArrayVariableGradient *> | coupledVectorTagArrayGradients (const std::string &var_names, TagID tag) const |
std::vector< const ArrayVariableGradient *> | coupledVectorTagArrayGradients (const std::string &var_names, const std::string &tag_name) const |
virtual const VariableValue & | coupledVectorTagDofValue (const std::string &var_name, TagID tag, unsigned int index=0) const |
virtual const VariableValue & | coupledVectorTagDofValue (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const |
const ArrayVariableValue & | coupledVectorTagArrayDofValue (const std::string &var_name, const std::string &tag_name, unsigned int comp=0) const |
std::vector< const VariableValue *> | coupledVectorTagDofValues (const std::string &var_names, TagID tag) const |
std::vector< const VariableValue *> | coupledVectorTagDofValues (const std::string &var_names, const std::string &tag_name) const |
virtual const VariableValue & | coupledMatrixTagValue (const std::string &var_names, TagID tag, unsigned int index=0) const |
virtual const VariableValue & | coupledMatrixTagValue (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const |
std::vector< const VariableValue *> | coupledMatrixTagValues (const std::string &var_names, TagID tag) const |
std::vector< const VariableValue *> | coupledMatrixTagValues (const std::string &var_names, const std::string &tag_name) const |
virtual const VectorVariableValue & | coupledVectorValue (const std::string &var_name, unsigned int comp=0) const |
virtual const ArrayVariableValue & | coupledArrayValue (const std::string &var_name, unsigned int comp=0) const |
std::vector< const ArrayVariableValue *> | coupledArrayValues (const std::string &var_name) const |
MooseWritableVariable & | writableVariable (const std::string &var_name, unsigned int comp=0) |
virtual VariableValue & | writableCoupledValue (const std::string &var_name, unsigned int comp=0) |
void | checkWritableVar (MooseWritableVariable *var) |
virtual const VariableValue & | coupledValueOld (const std::string &var_name, unsigned int comp=0) const |
std::vector< const VariableValue *> | coupledValuesOld (const std::string &var_name) const |
std::vector< const VectorVariableValue *> | coupledVectorValuesOld (const std::string &var_name) const |
virtual const VariableValue & | coupledValueOlder (const std::string &var_name, unsigned int comp=0) const |
std::vector< const VariableValue *> | coupledValuesOlder (const std::string &var_name) const |
virtual const VariableValue & | coupledValuePreviousNL (const std::string &var_name, unsigned int comp=0) const |
virtual const VectorVariableValue & | coupledVectorValueOld (const std::string &var_name, unsigned int comp=0) const |
virtual const VectorVariableValue & | coupledVectorValueOlder (const std::string &var_name, unsigned int comp=0) const |
virtual const ArrayVariableValue & | coupledArrayValueOld (const std::string &var_name, unsigned int comp=0) const |
virtual const ArrayVariableValue & | coupledArrayValueOlder (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableGradient & | coupledGradient (const std::string &var_name, unsigned int comp=0) const |
std::vector< const VariableGradient *> | coupledGradients (const std::string &var_name) const |
const ADVariableGradient & | adCoupledGradient (const std::string &var_name, unsigned int comp=0) const |
const ADVariableGradient & | adCoupledGradientDot (const std::string &var_name, unsigned int comp=0) const |
std::vector< const ADVariableGradient *> | adCoupledGradients (const std::string &var_name) const |
const GenericVariableGradient< is_ad > & | coupledGenericGradient (const std::string &var_name, unsigned int comp=0) const |
const GenericVariableGradient< false > & | coupledGenericGradient (const std::string &var_name, unsigned int comp) const |
const GenericVariableGradient< true > & | coupledGenericGradient (const std::string &var_name, unsigned int comp) const |
std::vector< const GenericVariableGradient< is_ad > *> | coupledGenericGradients (const std::string &var_name) const |
std::vector< const GenericVariableGradient< false > *> | coupledGenericGradients (const std::string &var_name) const |
std::vector< const GenericVariableGradient< true > *> | coupledGenericGradients (const std::string &var_name) const |
const ADVectorVariableGradient & | adCoupledVectorGradient (const std::string &var_name, unsigned int comp=0) const |
const ADVariableSecond & | adCoupledSecond (const std::string &var_name, unsigned int comp=0) const |
const ADVectorVariableSecond & | adCoupledVectorSecond (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableGradient & | coupledGradientOld (const std::string &var_name, unsigned int comp=0) const |
std::vector< const VariableGradient *> | coupledGradientsOld (const std::string &var_name) const |
virtual const VariableGradient & | coupledGradientOlder (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableGradient & | coupledGradientPreviousNL (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableGradient & | coupledGradientDot (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableGradient & | coupledGradientDotDot (const std::string &var_name, unsigned int comp=0) const |
virtual const VectorVariableGradient & | coupledVectorGradient (const std::string &var_name, unsigned int comp=0) const |
virtual const VectorVariableGradient & | coupledVectorGradientOld (const std::string &var_name, unsigned int comp=0) const |
virtual const VectorVariableGradient & | coupledVectorGradientOlder (const std::string &var_name, unsigned int comp=0) const |
virtual const ArrayVariableGradient & | coupledArrayGradient (const std::string &var_name, unsigned int comp=0) const |
virtual const ArrayVariableGradient & | coupledArrayGradientOld (const std::string &var_name, unsigned int comp=0) const |
virtual const ArrayVariableGradient & | coupledArrayGradientOlder (const std::string &var_name, unsigned int comp=0) const |
virtual const ArrayVariableGradient & | coupledArrayGradientDot (const std::string &var_name, unsigned int comp=0) const |
virtual const VectorVariableCurl & | coupledCurl (const std::string &var_name, unsigned int comp=0) const |
virtual const VectorVariableCurl & | coupledCurlOld (const std::string &var_name, unsigned int comp=0) const |
virtual const VectorVariableCurl & | coupledCurlOlder (const std::string &var_name, unsigned int comp=0) const |
const ADVectorVariableCurl & | adCoupledCurl (const std::string &var_name, unsigned int comp=0) const |
virtual const VectorVariableDivergence & | coupledDiv (const std::string &var_name, unsigned int comp=0) const |
virtual const VectorVariableDivergence & | coupledDivOld (const std::string &var_name, unsigned int comp=0) const |
virtual const VectorVariableDivergence & | coupledDivOlder (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableSecond & | coupledSecond (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableSecond & | coupledSecondOld (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableSecond & | coupledSecondOlder (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableSecond & | coupledSecondPreviousNL (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableValue & | coupledDot (const std::string &var_name, unsigned int comp=0) const |
std::vector< const VariableValue *> | coupledDots (const std::string &var_name) const |
virtual const VariableValue & | coupledDotDot (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableValue & | coupledDotOld (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableValue & | coupledDotDotOld (const std::string &var_name, unsigned int comp=0) const |
const ADVariableValue & | adCoupledDot (const std::string &var_name, unsigned int comp=0) const |
std::vector< const ADVariableValue *> | adCoupledDots (const std::string &var_name) const |
const ADVariableValue & | adCoupledDotDot (const std::string &var_name, unsigned int comp=0) const |
const ADVectorVariableValue & | adCoupledVectorDot (const std::string &var_name, unsigned int comp=0) const |
virtual const VectorVariableValue & | coupledVectorDot (const std::string &var_name, unsigned int comp=0) const |
virtual const VectorVariableValue & | coupledVectorDotDot (const std::string &var_name, unsigned int comp=0) const |
virtual const VectorVariableValue & | coupledVectorDotOld (const std::string &var_name, unsigned int comp=0) const |
virtual const VectorVariableValue & | coupledVectorDotDotOld (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableValue & | coupledVectorDotDu (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableValue & | coupledVectorDotDotDu (const std::string &var_name, unsigned int comp=0) const |
virtual const ArrayVariableValue & | coupledArrayDot (const std::string &var_name, unsigned int comp=0) const |
virtual const ArrayVariableValue & | coupledArrayDotDot (const std::string &var_name, unsigned int comp=0) const |
virtual const ArrayVariableValue & | coupledArrayDotOld (const std::string &var_name, unsigned int comp=0) const |
virtual const ArrayVariableValue & | coupledArrayDotDotOld (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableValue & | coupledDotDu (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableValue & | coupledDotDotDu (const std::string &var_name, unsigned int comp=0) const |
const VariableValue & | coupledArrayDotDu (const std::string &var_name, unsigned int comp=0) const |
const T & | coupledNodalValue (const std::string &var_name, unsigned int comp=0) const |
const Moose::ADType< T >::type & | adCoupledNodalValue (const std::string &var_name, unsigned int comp=0) const |
const T & | coupledNodalValueOld (const std::string &var_name, unsigned int comp=0) const |
const T & | coupledNodalValueOlder (const std::string &var_name, unsigned int comp=0) const |
const T & | coupledNodalValuePreviousNL (const std::string &var_name, unsigned int comp=0) const |
const T & | coupledNodalDot (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableValue & | coupledNodalDotDot (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableValue & | coupledNodalDotOld (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableValue & | coupledNodalDotDotOld (const std::string &var_name, unsigned int comp=0) const |
virtual const VariableValue & | coupledDofValues (const std::string &var_name, unsigned int comp=0) const |
std::vector< const VariableValue *> | coupledAllDofValues (const std::string &var_name) const |
virtual const VariableValue & | coupledDofValuesOld (const std::string &var_name, unsigned int comp=0) const |
std::vector< const VariableValue *> | coupledAllDofValuesOld (const std::string &var_name) const |
virtual const VariableValue & | coupledDofValuesOlder (const std::string &var_name, unsigned int comp=0) const |
std::vector< const VariableValue *> | coupledAllDofValuesOlder (const std::string &var_name) const |
virtual const ArrayVariableValue & | coupledArrayDofValues (const std::string &var_name, unsigned int comp=0) const |
virtual const ADVariableValue & | adCoupledDofValues (const std::string &var_name, unsigned int comp=0) const |
const ADVariableValue & | adZeroValue () const |
const ADVariableGradient & | adZeroGradient () const |
const ADVariableSecond & | adZeroSecond () const |
const GenericVariableValue< is_ad > & | genericZeroValue () |
const GenericVariableValue< false > & | genericZeroValue () |
const GenericVariableValue< true > & | genericZeroValue () |
const GenericVariableGradient< is_ad > & | genericZeroGradient () |
const GenericVariableGradient< false > & | genericZeroGradient () |
const GenericVariableGradient< true > & | genericZeroGradient () |
const GenericVariableSecond< is_ad > & | genericZeroSecond () |
const GenericVariableSecond< false > & | genericZeroSecond () |
const GenericVariableSecond< true > & | genericZeroSecond () |
bool | checkVar (const std::string &var_name, unsigned int comp=0, unsigned int comp_bound=0) const |
const MooseVariableFieldBase * | getFEVar (const std::string &var_name, unsigned int comp) const |
const MooseVariableFieldBase * | getFieldVar (const std::string &var_name, unsigned int comp) const |
MooseVariableFieldBase * | getFieldVar (const std::string &var_name, unsigned int comp) |
const T * | getVarHelper (const std::string &var_name, unsigned int comp) const |
T * | getVarHelper (const std::string &var_name, unsigned int comp) |
MooseVariable * | getVar (const std::string &var_name, unsigned int comp) |
const MooseVariable * | getVar (const std::string &var_name, unsigned int comp) const |
VectorMooseVariable * | getVectorVar (const std::string &var_name, unsigned int comp) |
const VectorMooseVariable * | getVectorVar (const std::string &var_name, unsigned int comp) const |
ArrayMooseVariable * | getArrayVar (const std::string &var_name, unsigned int comp) |
const ArrayMooseVariable * | getArrayVar (const std::string &var_name, unsigned int comp) const |
void | validateExecutionerType (const std::string &name, const std::string &fn_name) const |
std::vector< T > | coupledVectorHelper (const std::string &var_name, const Func &func) const |
bool | isCoupledScalar (const std::string &var_name, unsigned int i=0) const |
unsigned int | coupledScalarComponents (const std::string &var_name) const |
unsigned int | coupledScalar (const std::string &var_name, unsigned int comp=0) const |
libMesh::Order | coupledScalarOrder (const std::string &var_name, unsigned int comp=0) const |
const VariableValue & | coupledScalarValue (const std::string &var_name, unsigned int comp=0) const |
const ADVariableValue & | adCoupledScalarValue (const std::string &var_name, unsigned int comp=0) const |
const GenericVariableValue< is_ad > & | coupledGenericScalarValue (const std::string &var_name, unsigned int comp=0) const |
const GenericVariableValue< false > & | coupledGenericScalarValue (const std::string &var_name, const unsigned int comp) const |
const GenericVariableValue< true > & | coupledGenericScalarValue (const std::string &var_name, const unsigned int comp) const |
const VariableValue & | coupledVectorTagScalarValue (const std::string &var_name, TagID tag, unsigned int comp=0) const |
const VariableValue & | coupledMatrixTagScalarValue (const std::string &var_name, TagID tag, unsigned int comp=0) const |
const VariableValue & | coupledScalarValueOld (const std::string &var_name, unsigned int comp=0) const |
const VariableValue & | coupledScalarValueOlder (const std::string &var_name, unsigned int comp=0) const |
const VariableValue & | coupledScalarDot (const std::string &var_name, unsigned int comp=0) const |
const ADVariableValue & | adCoupledScalarDot (const std::string &var_name, unsigned int comp=0) const |
const VariableValue & | coupledScalarDotDot (const std::string &var_name, unsigned int comp=0) const |
const VariableValue & | coupledScalarDotOld (const std::string &var_name, unsigned int comp=0) const |
const VariableValue & | coupledScalarDotDotOld (const std::string &var_name, unsigned int comp=0) const |
const VariableValue & | coupledScalarDotDu (const std::string &var_name, unsigned int comp=0) const |
const VariableValue & | coupledScalarDotDotDu (const std::string &var_name, unsigned int comp=0) const |
const MooseVariableScalar * | getScalarVar (const std::string &var_name, unsigned int comp) const |
const T & | getReporterValue (const std::string ¶m_name, const std::size_t time_index=0) |
const T & | getReporterValue (const std::string ¶m_name, ReporterMode mode, const std::size_t time_index=0) |
const T & | getReporterValue (const std::string ¶m_name, const std::size_t time_index=0) |
const T & | getReporterValue (const std::string ¶m_name, ReporterMode mode, const std::size_t time_index=0) |
const T & | getReporterValueByName (const ReporterName &reporter_name, const std::size_t time_index=0) |
const T & | getReporterValueByName (const ReporterName &reporter_name, ReporterMode mode, const std::size_t time_index=0) |
const T & | getReporterValueByName (const ReporterName &reporter_name, const std::size_t time_index=0) |
const T & | getReporterValueByName (const ReporterName &reporter_name, ReporterMode mode, const std::size_t time_index=0) |
bool | hasReporterValue (const std::string ¶m_name) const |
bool | hasReporterValue (const std::string ¶m_name) const |
bool | hasReporterValue (const std::string ¶m_name) const |
bool | hasReporterValue (const std::string ¶m_name) const |
bool | hasReporterValueByName (const ReporterName &reporter_name) const |
bool | hasReporterValueByName (const ReporterName &reporter_name) const |
bool | hasReporterValueByName (const ReporterName &reporter_name) const |
bool | hasReporterValueByName (const ReporterName &reporter_name) const |
Static Protected Member Functions | |
static std::string | meshPropertyName (const std::string &data_name, const std::string &prefix) |
Protected Attributes | |
const VariableValue & | _temperature |
Temperature specified by user. More... | |
const VariableValue & | _cold_temperature |
Cold temperature specified by user, which is used only when mode==4. More... | |
const unsigned | _heating_increments |
If mode=4 then temperature is ramped from _cold_temperature to _temperature in heating_increments increments. More... | |
Real | _new_temperature |
Temperature at which the solution is required. More... | |
Real | _previous_temperature |
Temperature at which the _egs was last made consistent. More... | |
GeochemicalSystem | _egs |
The equilibrium geochemical system that holds all the molalities, activities, etc. More... | |
GeochemicalSolver | _solver |
The solver. More... | |
const unsigned | _num_kin |
Number of kinetic species. More... | |
const Real | _close_system_at_time |
Defines the time at which to close the system. More... | |
bool | _closed_system |
Whether the system has been closed. More... | |
const std::vector< std::string > | _source_species_names |
Names of the source species. More... | |
const unsigned | _num_source_species |
Number of source species. More... | |
const std::vector< const VariableValue * > | _source_species_rates |
Rates of the source species. More... | |
const std::vector< std::string > | _remove_fixed_activity_name |
Names of species to remove the fixed activity or fugacity constraint from. More... | |
const std::vector< Real > | _remove_fixed_activity_time |
Times at which to remove the fixed activity or fugacity from the species in _remove_fixed_activity_name. More... | |
const unsigned | _num_removed_fixed |
Number of elements in the vector _remove_fixed_activity_name;. More... | |
std::vector< bool > | _removed_fixed_activity |
Whether the activity or activity constraint has been removfed. More... | |
const std::vector< std::string > | _controlled_activity_species_names |
Names of the species with controlled activity or fugacity. More... | |
const unsigned | _num_controlled_activity |
Number of species with controlled activity or fugacity. More... | |
const std::vector< const VariableValue * > | _controlled_activity_species_values |
Activity or fugacity of the species with controlled activity or fugacity. More... | |
DenseVector< Real > | _mole_additions |
Moles of each basis species added at the current timestep, along with kinetic rates. More... | |
DenseMatrix< Real > | _dmole_additions |
Derivative of moles_added. More... | |
const VariableValue & | _mode |
Mode of the system (flush, flow-through, etc) More... | |
std::unordered_map< std::string, Real > | _minerals_dumped |
Moles of mineral removed by dump and flow-through. More... | |
const unsigned | _ramp_subsequent |
the ramp_max_ionic_strength to use during time-stepping More... | |
const unsigned | _num_my_nodes |
Number of nodes handled by this processor (will need to be made un-const when mesh adaptivity is handled) More... | |
ModelGeochemicalDatabase | _mgd |
my copy of the underlying ModelGeochemicalDatabase More... | |
const PertinentGeochemicalSystem & | _pgs |
Reference to the original PertinentGeochemicalSystem used to create the ModelGeochemicalDatabase. More... | |
const unsigned | _num_basis |
number of basis species More... | |
const unsigned | _num_eqm |
number of equilibrium species More... | |
const Real | _initial_max_ionic_str |
Initial value of maximum ionic strength. More... | |
GeochemistryIonicStrength | _is |
The ionic strength calculator. More... | |
GeochemistryActivityCoefficientsDebyeHuckel | _gac |
The activity calculator. More... | |
const unsigned | _max_swaps_allowed |
Maximum number of swaps allowed during a single solve. More... | |
GeochemistrySpeciesSwapper | _swapper |
The species swapper. More... | |
const Real | _small_molality |
A small value of molality. More... | |
std::vector< std::stringstream > | _solver_output |
The solver output at each node. More... | |
std::vector< unsigned > | _tot_iter |
Number of iterations used by the solver at each node. More... | |
std::vector< Real > | _abs_residual |
L1norm of the solver residual at each node. More... | |
MooseMesh & | _mesh |
const unsigned int | _qp |
const Node *const & | _current_node |
const bool & | _unique_node_execute |
SubProblem & | _subproblem |
FEProblemBase & | _fe_problem |
SystemBase & | _sys |
const THREAD_ID | _tid |
Assembly & | _assembly |
const Moose::CoordinateSystemType & | _coord_sys |
const bool | _duplicate_initial_execution |
std::set< std::string > | _depend_uo |
const bool & | _enabled |
MooseApp & | _app |
const std::string | _type |
const std::string | _name |
const InputParameters & | _pars |
Factory & | _factory |
ActionFactory & | _action_factory |
const ExecFlagEnum & | _execute_enum |
const ExecFlagType & | _current_execute_flag |
MooseApp & | _restartable_app |
const std::string | _restartable_system_name |
const THREAD_ID | _restartable_tid |
const bool | _restartable_read_only |
FEProblemBase & | _mci_feproblem |
FEProblemBase & | _mdi_feproblem |
MooseApp & | _pg_moose_app |
const std::string | _prefix |
const MaterialData * | _blk_material_data |
const InputParameters & | _c_parameters |
const std::string & | _c_name |
const std::string & | _c_type |
FEProblemBase & | _c_fe_problem |
const SystemBase *const | _c_sys |
std::unordered_map< std::string, std::vector< MooseVariableFieldBase *> > | _coupled_vars |
std::vector< MooseVariableFieldBase *> | _coupled_moose_vars |
std::vector< MooseVariable *> | _coupled_standard_moose_vars |
std::vector< VectorMooseVariable *> | _coupled_vector_moose_vars |
std::vector< ArrayMooseVariable *> | _coupled_array_moose_vars |
std::vector< MooseVariableFV< Real > *> | _coupled_standard_fv_moose_vars |
std::vector< MooseLinearVariableFV< Real > *> | _coupled_standard_linear_fv_moose_vars |
const std::unordered_map< std::string, std::string > & | _new_to_deprecated_coupled_vars |
bool | _c_nodal |
bool | _c_is_implicit |
const bool | _c_allow_element_to_nodal_coupling |
THREAD_ID | _c_tid |
std::unordered_map< std::string, std::vector< std::unique_ptr< VariableValue > > > | _default_value |
std::unordered_map< std::string, std::unique_ptr< MooseArray< ADReal > > > | _ad_default_value |
std::unordered_map< std::string, std::unique_ptr< VectorVariableValue > > | _default_vector_value |
std::unordered_map< std::string, std::unique_ptr< ArrayVariableValue > > | _default_array_value |
std::unordered_map< std::string, std::unique_ptr< MooseArray< ADRealVectorValue > > > | _ad_default_vector_value |
VariableValue | _default_value_zero |
VariableGradient | _default_gradient |
MooseArray< ADRealVectorValue > | _ad_default_gradient |
MooseArray< ADRealTensorValue > | _ad_default_vector_gradient |
VariableSecond | _default_second |
MooseArray< ADRealTensorValue > | _ad_default_second |
MooseArray< ADRealVectorValue > | _ad_default_curl |
const VariableValue & | _zero |
const VariablePhiValue & | _phi_zero |
const MooseArray< ADReal > & | _ad_zero |
const VariableGradient & | _grad_zero |
const MooseArray< ADRealVectorValue > & | _ad_grad_zero |
const VariablePhiGradient & | _grad_phi_zero |
const VariableSecond & | _second_zero |
const MooseArray< ADRealTensorValue > & | _ad_second_zero |
const VariablePhiSecond & | _second_phi_zero |
const VectorVariableValue & | _vector_zero |
const VectorVariableCurl & | _vector_curl_zero |
VectorVariableValue | _default_vector_value_zero |
VectorVariableGradient | _default_vector_gradient |
VectorVariableCurl | _default_vector_curl |
VectorVariableDivergence | _default_div |
ArrayVariableValue | _default_array_value_zero |
ArrayVariableGradient | _default_array_gradient |
bool | _coupleable_neighbor |
FEProblemBase & | _sc_fe_problem |
const THREAD_ID | _sc_tid |
const Real & | _real_zero |
const VariableValue & | _scalar_zero |
const Point & | _point_zero |
const InputParameters & | _ti_params |
FEProblemBase & | _ti_feproblem |
bool | _is_implicit |
Real & | _t |
const Real & | _t_old |
int & | _t_step |
Real & | _dt |
Real & | _dt_old |
bool | _is_transient |
const Parallel::Communicator & | _communicator |
Class that controls the time-dependent (but not space-dependent) geochemistry reactions.
Definition at line 18 of file GeochemistryTimeDependentReactor.h.
GeochemistryTimeDependentReactor::GeochemistryTimeDependentReactor | ( | const InputParameters & | parameters | ) |
Definition at line 139 of file GeochemistryTimeDependentReactor.C.
|
overridevirtual |
Reimplemented from GeochemistryReactorBase.
Definition at line 282 of file GeochemistryTimeDependentReactor.C.
|
overridevirtual |
Reimplemented from GeochemistryReactorBase.
Definition at line 259 of file GeochemistryTimeDependentReactor.C.
|
overridevirtual |
node_id | the ID of the node |
Implements GeochemistryReactorBase.
Definition at line 384 of file GeochemistryTimeDependentReactor.C.
|
overridevirtual |
node_id | the node ID |
Implements GeochemistryReactorBase.
Definition at line 390 of file GeochemistryTimeDependentReactor.C.
|
overridevirtual |
species | the name of the species |
node_id | the node ID |
Implements GeochemistryReactorBase.
Definition at line 412 of file GeochemistryTimeDependentReactor.C.
|
inlineinherited |
returns a reference to the PertinentGeochemicalSystem used to creat the ModelGeochemicalDatabase
Definition at line 73 of file GeochemistryReactorBase.h.
Referenced by GeochemistryQuantityAux::computeValue(), GeochemistryQuantityAux::GeochemistryQuantityAux(), and GeochemistryConsoleOutput::output().
|
overridevirtual |
node_id | the node ID |
Implements GeochemistryReactorBase.
Definition at line 401 of file GeochemistryTimeDependentReactor.C.
|
overridevirtual |
node_id | the node ID |
Implements GeochemistryReactorBase.
Definition at line 396 of file GeochemistryTimeDependentReactor.C.
|
overridevirtual |
node_id | the node ID |
Implements GeochemistryReactorBase.
Definition at line 406 of file GeochemistryTimeDependentReactor.C.
|
overridevirtual |
Reimplemented from GeochemistryReactorBase.
Definition at line 254 of file GeochemistryTimeDependentReactor.C.
|
overridevirtual |
Reimplemented from NodalUserObject.
Definition at line 265 of file GeochemistryTimeDependentReactor.C.
|
protected |
Based on _temperature[0], mole_additions, the current mass of the system and the current temperature of the system, work out the resulting temperature.
This is either:
mole_additions | Number of moles of each species being added to the system |
Definition at line 421 of file GeochemistryTimeDependentReactor.C.
Referenced by execute(), preSolveDump(), and preSolveFlush().
|
protected |
This is relevant for mode=4 simulations (heat-exchanger simulations).
Any precipitates are removed from the system, the system is then heated to temperature and re-solved, and any precipitates are removed from the system
Definition at line 602 of file GeochemistryTimeDependentReactor.C.
Referenced by execute().
|
protected |
Activate the special "flow-through" mode after solving the geochemical system:
Definition at line 558 of file GeochemistryTimeDependentReactor.C.
Referenced by execute(), and postSolveExchanger().
|
protected |
Activate the special "dump" mode prior to solving the geochemical system:
Definition at line 458 of file GeochemistryTimeDependentReactor.C.
Referenced by execute().
|
protected |
Activate the special "flush" mode prior to solving the geochemical system:
Definition at line 504 of file GeochemistryTimeDependentReactor.C.
Referenced by execute().
|
protected |
Alter _mole_additions so that it will represent the situation in which all current species are removed and replaced with source_species.
Definition at line 591 of file GeochemistryTimeDependentReactor.C.
Referenced by execute().
|
static |
params that are shared with AddTimeDependentReactionSolverAction
Definition at line 15 of file GeochemistryTimeDependentReactor.C.
Referenced by AddTimeDependentReactionSolverAction::validParams(), and validParams().
|
inlineoverridevirtualinherited |
Implements NodalUserObject.
Reimplemented in GeochemistrySpatialReactor.
Definition at line 28 of file GeochemistryReactorBase.h.
|
static |
Definition at line 130 of file GeochemistryTimeDependentReactor.C.
|
protectedinherited |
L1norm of the solver residual at each node.
Definition at line 103 of file GeochemistryReactorBase.h.
Referenced by execute(), GeochemistrySpatialReactor::execute(), GeochemistryTimeIndependentReactor::getSolverResidual(), getSolverResidual(), GeochemistrySpatialReactor::getSolverResidual(), GeochemistryTimeIndependentReactor::initialSetup(), initialSetup(), GeochemistrySpatialReactor::initialSetup(), postSolveExchanger(), and GeochemistrySpatialReactor::threadJoin().
|
protected |
Defines the time at which to close the system.
Definition at line 58 of file GeochemistryTimeDependentReactor.h.
Referenced by execute().
|
protected |
Whether the system has been closed.
Definition at line 60 of file GeochemistryTimeDependentReactor.h.
Referenced by execute().
|
protected |
Cold temperature specified by user, which is used only when mode==4.
Definition at line 44 of file GeochemistryTimeDependentReactor.h.
Referenced by execute().
|
protected |
Names of the species with controlled activity or fugacity.
Definition at line 76 of file GeochemistryTimeDependentReactor.h.
Referenced by execute().
|
protected |
Activity or fugacity of the species with controlled activity or fugacity.
Definition at line 80 of file GeochemistryTimeDependentReactor.h.
Referenced by execute().
|
protected |
Derivative of moles_added.
Definition at line 84 of file GeochemistryTimeDependentReactor.h.
Referenced by execute(), and initialSetup().
|
protected |
The equilibrium geochemical system that holds all the molalities, activities, etc.
Definition at line 52 of file GeochemistryTimeDependentReactor.h.
Referenced by execute(), GeochemistryTimeDependentReactor(), getGeochemicalSystem(), initialSetup(), newTemperature(), postSolveExchanger(), postSolveFlowThrough(), preSolveDump(), preSolveFlush(), and removeCurrentSpecies().
|
protectedinherited |
The activity calculator.
Definition at line 91 of file GeochemistryReactorBase.h.
Referenced by GeochemistrySpatialReactor::GeochemistrySpatialReactor().
|
protected |
If mode=4 then temperature is ramped from _cold_temperature to _temperature in heating_increments increments.
Definition at line 46 of file GeochemistryTimeDependentReactor.h.
Referenced by postSolveExchanger().
|
protectedinherited |
Initial value of maximum ionic strength.
Definition at line 87 of file GeochemistryReactorBase.h.
|
protectedinherited |
The ionic strength calculator.
Definition at line 89 of file GeochemistryReactorBase.h.
Referenced by GeochemistrySpatialReactor::GeochemistrySpatialReactor().
|
protectedinherited |
Maximum number of swaps allowed during a single solve.
Definition at line 93 of file GeochemistryReactorBase.h.
|
protectedinherited |
my copy of the underlying ModelGeochemicalDatabase
Definition at line 79 of file GeochemistryReactorBase.h.
Referenced by execute(), GeochemistrySpatialReactor::GeochemistrySpatialReactor(), GeochemistryTimeDependentReactor(), newTemperature(), postSolveFlowThrough(), preSolveDump(), and preSolveFlush().
|
protected |
Moles of mineral removed by dump and flow-through.
Definition at line 88 of file GeochemistryTimeDependentReactor.h.
Referenced by GeochemistryTimeDependentReactor(), getMolesDumped(), postSolveFlowThrough(), and preSolveDump().
|
protected |
Mode of the system (flush, flow-through, etc)
Definition at line 86 of file GeochemistryTimeDependentReactor.h.
Referenced by execute().
|
protected |
Moles of each basis species added at the current timestep, along with kinetic rates.
Definition at line 82 of file GeochemistryTimeDependentReactor.h.
Referenced by execute(), getMoleAdditions(), initialSetup(), preSolveDump(), preSolveFlush(), and removeCurrentSpecies().
|
protected |
Temperature at which the solution is required.
Definition at line 48 of file GeochemistryTimeDependentReactor.h.
Referenced by execute(), postSolveExchanger(), preSolveDump(), and preSolveFlush().
|
protectedinherited |
number of basis species
Definition at line 83 of file GeochemistryReactorBase.h.
Referenced by execute(), GeochemistrySpatialReactor::execute(), GeochemistryTimeIndependentReactor::initialSetup(), newTemperature(), postSolveExchanger(), postSolveFlowThrough(), preSolveDump(), preSolveFlush(), and removeCurrentSpecies().
|
protected |
Number of species with controlled activity or fugacity.
Definition at line 78 of file GeochemistryTimeDependentReactor.h.
Referenced by execute(), and GeochemistryTimeDependentReactor().
|
protectedinherited |
number of equilibrium species
Definition at line 85 of file GeochemistryReactorBase.h.
|
protected |
Number of kinetic species.
Definition at line 56 of file GeochemistryTimeDependentReactor.h.
Referenced by execute(), newTemperature(), postSolveExchanger(), postSolveFlowThrough(), preSolveFlush(), and removeCurrentSpecies().
|
protectedinherited |
Number of nodes handled by this processor (will need to be made un-const when mesh adaptivity is handled)
Definition at line 73 of file GeochemistryReactorBase.h.
Referenced by GeochemistrySpatialReactor::buildMyNodeNumber(), GeochemistrySpatialReactor::GeochemistrySpatialReactor(), GeochemistrySpatialReactor::initialize(), GeochemistryTimeIndependentReactor::initialSetup(), initialSetup(), GeochemistrySpatialReactor::initialSetup(), and GeochemistrySpatialReactor::threadJoin().
|
protected |
Number of elements in the vector _remove_fixed_activity_name;.
Definition at line 72 of file GeochemistryTimeDependentReactor.h.
Referenced by execute(), and GeochemistryTimeDependentReactor().
|
protected |
Number of source species.
Definition at line 64 of file GeochemistryTimeDependentReactor.h.
Referenced by execute(), and GeochemistryTimeDependentReactor().
|
protectedinherited |
Reference to the original PertinentGeochemicalSystem used to create the ModelGeochemicalDatabase.
Definition at line 81 of file GeochemistryReactorBase.h.
Referenced by GeochemistryReactorBase::getPertinentGeochemicalSystem().
|
protected |
Temperature at which the _egs was last made consistent.
Definition at line 50 of file GeochemistryTimeDependentReactor.h.
Referenced by execute(), newTemperature(), and postSolveExchanger().
|
protected |
the ramp_max_ionic_strength to use during time-stepping
Definition at line 90 of file GeochemistryTimeDependentReactor.h.
Referenced by execute().
|
protected |
Names of species to remove the fixed activity or fugacity constraint from.
Definition at line 68 of file GeochemistryTimeDependentReactor.h.
Referenced by execute(), and GeochemistryTimeDependentReactor().
|
protected |
Times at which to remove the fixed activity or fugacity from the species in _remove_fixed_activity_name.
Definition at line 70 of file GeochemistryTimeDependentReactor.h.
Referenced by execute(), and GeochemistryTimeDependentReactor().
|
protected |
Whether the activity or activity constraint has been removfed.
Definition at line 74 of file GeochemistryTimeDependentReactor.h.
Referenced by execute().
|
protectedinherited |
A small value of molality.
Definition at line 97 of file GeochemistryReactorBase.h.
Referenced by postSolveFlowThrough().
|
protected |
The solver.
Definition at line 54 of file GeochemistryTimeDependentReactor.h.
Referenced by execute(), initialSetup(), and postSolveExchanger().
|
protectedinherited |
The solver output at each node.
Definition at line 99 of file GeochemistryReactorBase.h.
Referenced by execute(), GeochemistrySpatialReactor::execute(), GeochemistryTimeIndependentReactor::getSolverOutput(), getSolverOutput(), GeochemistrySpatialReactor::getSolverOutput(), GeochemistryTimeIndependentReactor::initialSetup(), initialSetup(), GeochemistrySpatialReactor::initialSetup(), postSolveExchanger(), and GeochemistrySpatialReactor::threadJoin().
|
protected |
Names of the source species.
Definition at line 62 of file GeochemistryTimeDependentReactor.h.
Referenced by execute(), and GeochemistryTimeDependentReactor().
|
protected |
Rates of the source species.
Definition at line 66 of file GeochemistryTimeDependentReactor.h.
Referenced by execute().
|
protectedinherited |
The species swapper.
Definition at line 95 of file GeochemistryReactorBase.h.
Referenced by GeochemistrySpatialReactor::GeochemistrySpatialReactor().
|
protected |
Temperature specified by user.
Definition at line 42 of file GeochemistryTimeDependentReactor.h.
Referenced by newTemperature(), and postSolveExchanger().
|
protectedinherited |
Number of iterations used by the solver at each node.
Definition at line 101 of file GeochemistryReactorBase.h.
Referenced by execute(), GeochemistrySpatialReactor::execute(), GeochemistryTimeIndependentReactor::getSolverIterations(), getSolverIterations(), GeochemistrySpatialReactor::getSolverIterations(), GeochemistryTimeIndependentReactor::initialSetup(), initialSetup(), GeochemistrySpatialReactor::initialSetup(), postSolveExchanger(), and GeochemistrySpatialReactor::threadJoin().