https://mooseframework.inl.gov
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 {
22 public:
25 
27 
29 
30 protected:
31  virtual void output() override;
32 
38  const unsigned _precision;
40  const Real _stoi_tol;
42  const bool _solver_info;
45 
46 private:
47  void outputNernstInfo(const GeochemicalSystem & egs_ref) const;
48 };
virtual void output() override
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 NearestNodeNumberUO & _nnn
UserObject defining the node of interest.
void outputNernstInfo(const GeochemicalSystem &egs_ref) const
static InputParameters sharedParams()
contains params that are shared with Actions that use this object
const bool _solver_info
Whether to print solver info.
const Real _mol_cutoff
Species with molalities less than mol_cutoff will not be outputted.
const unsigned _precision
precision of output
const GeochemistryReactorBase & _reactor
the Reactor from which to extract info
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
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.
GeochemistryConsoleOutput(const InputParameters &parameters)
static InputParameters validParams()