https://mooseframework.inl.gov
GeochemistryTimeIndependentReactor.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "GeochemicalSolver.h"
14 
19 {
20 public:
23  virtual void initialize() override;
24 
25  virtual void finalize() override;
26 
27  virtual void initialSetup() override;
28  virtual void execute() override;
29 
30  virtual const GeochemicalSystem & getGeochemicalSystem(dof_id_type node_id) const override;
31  virtual const std::stringstream & getSolverOutput(dof_id_type node_id) const override;
32  virtual unsigned getSolverIterations(dof_id_type node_id) const override;
33  virtual Real getSolverResidual(dof_id_type node_id) const override;
34  virtual const DenseVector<Real> & getMoleAdditions(dof_id_type node_id) const override;
35  virtual Real getMolesDumped(dof_id_type node_id, const std::string & species) const override;
36 
37 protected:
44  DenseVector<Real> _mole_additions;
45 };
virtual unsigned getSolverIterations(dof_id_type node_id) const override
virtual Real getSolverResidual(dof_id_type node_id) const override
DenseVector< Real > _mole_additions
mole additions: these are always zero but are used in getMoleAdditions and the solve ...
Class that controls the time independent (and spatially independent) geochemistry reactions...
GeochemistryTimeIndependentReactor(const InputParameters &parameters)
GeochemicalSystem _egs
The equilibrium geochemical system that holds all the molalities, activities, etc.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual const GeochemicalSystem & getGeochemicalSystem(dof_id_type node_id) const override
virtual Real getMolesDumped(dof_id_type node_id, const std::string &species) const override
This class holds information about bulk composition, molalities, activities, activity coefficients...
const InputParameters & parameters() const
Base class that controls the spatio-temporal solution of geochemistry reactions.
This class contains methods to solve the algebraic system in GeochemicalSystem.
uint8_t dof_id_type
virtual const DenseVector< Real > & getMoleAdditions(dof_id_type node_id) const override
virtual const std::stringstream & getSolverOutput(dof_id_type node_id) const override