https://mooseframework.inl.gov
geochemistry
include
utils
GeochemistryFormattedOutput.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 "
MooseTypes.h
"
13
#include "
DenseMatrix.h
"
14
#include <libmesh/dense_vector.h>
15
16
namespace
GeochemistryFormattedOutput
17
{
31
std::string
reaction
(
const
DenseMatrix<Real>
& stoi,
32
unsigned
row,
33
const
std::vector<std::string> & names,
34
Real
stoi_tol = 1.0E-6,
35
int
precision = 4);
36
}
GeochemistryFormattedOutput::reaction
std::string reaction(const DenseMatrix< Real > &stoi, unsigned row, const std::vector< std::string > &names, Real stoi_tol=1.0E-6, int precision=4)
Returns a nicely formatted string corresponding to the reaction defined by the given row of the stoic...
Definition:
GeochemistryFormattedOutput.C:15
GeochemistryFormattedOutput
Definition:
GeochemistryFormattedOutput.h:16
MooseTypes.h
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
DenseMatrix.h
DenseMatrix< Real >
Generated on Fri Jul 18 2025 13:42:53 for https://mooseframework.inl.gov by
1.8.14