Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F71379730
formulation.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jul 11, 10:02
Size
1 KB
Mime Type
text/x-c
Expires
Sat, Jul 13, 10:02 (2 d)
Engine
blob
Format
Raw Data
Handle
18944246
Attached To
rSPECMICP SpecMiCP / ReactMiCP
formulation.hpp
View Options
#ifndef SPECMICP_SPECMICP_PROBLEMSOLVER_FORMULATION_HPP
#define SPECMICP_SPECMICP_PROBLEMSOLVER_FORMULATION_HPP
#include "common.hpp"
#include <map>
#include <vector>
#include <string>
namespace specmicp {
struct Formulation
{
//! \brief Mass of the solvent
scalar_t mass_solution;
//! \brief Contains the amount of each solid phase
std::map<std::string, scalar_t> concentration_aqueous;
//! \brief Contains the amount of each solid phase
//! included in the problem
std::map<std::string, scalar_t> amount_minerals;
//! \brief Extra component to leave in the database
//!
//! All components not present in this list and with
//! a total concentration of zero will be removed.
std::vector<std::string> extra_components_to_keep;
//! \brief List of solid phase at equilibrium to keep in the computation
//!
//! Leave empty to keep all solid phases present in the database
std::vector<std::string> minerals_to_keep;
};
} // end namespace specmicp
#endif // SPECMICP_SPECMICP_PROBLEMSOLVER_FORMULATION_HPP
Event Timeline
Log In to Comment