https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
17{
31std::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}
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...