Skip to content
Snippets Groups Projects
Commit e2301f2b authored by renchao.lu's avatar renchao.lu
Browse files

[CL] add struct MoleBasedSurfaceSite.

parent 088b2dab
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <string> #include <string>
#include "MeshLib/PropertyVector.h"
namespace ChemistryLib namespace ChemistryLib
{ {
...@@ -35,5 +36,17 @@ struct DensityBasedSurfaceSite ...@@ -35,5 +36,17 @@ struct DensityBasedSurfaceSite
double const specific_surface_area; double const specific_surface_area;
double const mass; double const mass;
}; };
struct MoleBasedSurfaceSite
{
MoleBasedSurfaceSite(std::string name_,
MeshLib::PropertyVector<double>* const molality_)
: name(std::move(name_)), molality(molality_)
{
}
std::string const name;
MeshLib::PropertyVector<double>* molality;
};
} // namespace PhreeqcIOData } // namespace PhreeqcIOData
} // namespace ChemistryLib } // namespace ChemistryLib
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment