https://mooseframework.inl.gov
Loading...
Searching...
No Matches
GeochemistryConsoleOutput.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
13#include "Output.h"
14#include "UserObjectInterface.h"
15#include "NearestNodeNumberUO.h"
16
21{
22public:
25
27
29
30protected:
31 virtual void output() override;
32
38 const unsigned _precision;
40 const Real _stoi_tol;
42 const bool _solver_info;
44 const Real _mol_cutoff;
45
46private:
47 void outputNernstInfo(const GeochemicalSystem & egs_ref) const;
48};
This class holds information about bulk composition, molalities, activities, activity coefficients,...
Outputs information (to the console) from a GeochemistryReactorBase at a point.
const Real _stoi_tol
Tolerance on stoichiometric coefficients before they are deemed to be zero.
const GeochemistryReactorBase & _reactor
the Reactor from which to extract info
const bool _solver_info
Whether to print solver info.
static InputParameters validParams()
const unsigned _precision
precision of output
const Real _mol_cutoff
Species with molalities less than mol_cutoff will not be outputted.
void outputNernstInfo(const GeochemicalSystem &egs_ref) const
static InputParameters sharedParams()
contains params that are shared with Actions that use this object
const NearestNodeNumberUO & _nnn
UserObject defining the node of interest.
Base class that controls the spatio-temporal solution of geochemistry reactions.
const InputParameters & parameters() const