https://mooseframework.inl.gov
GeochemicalModelDefinition.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 "GeneralUserObject.h"
14 
20 {
21 public:
23 
25 
26  virtual void initialize() override final;
27  virtual void execute() override final;
28  virtual void finalize() override final;
29 
31  const ModelGeochemicalDatabase & getDatabase() const;
32 
35 
38 
39 private:
42 };
const GeochemicalDatabaseReader & getOriginalFullDatabase() const
provides a reference to the full database file used by this object
const PertinentGeochemicalSystem & getPertinentGeochemicalSystem() const
provides a reference to the PertinentGeochemicalSystem of this object
User object that parses a geochemical database file, and only retains information relevant to the cur...
virtual void initialize() override final
const ModelGeochemicalDatabase & getDatabase() const
provides a reference to the pertinent geochemical database held by this object
Constructs and stores a minimal amount of information that is pertinent to the user-defined geochemic...
virtual void finalize() override final
const InputParameters & parameters() const
Data structure to hold all relevant information from the database file.
const GeochemicalDatabaseReader _db
virtual void execute() override final
GeochemicalModelDefinition(const InputParameters &parameters)
PertinentGeochemicalSystem _model
static InputParameters validParams()
Class for reading geochemical reactions from a MOOSE geochemical database.