Surface.hpp
The class that computes chemical properties of a chemical system.
Definition: ChemicalProps.hpp:34
Used to represent a surface across which chemical reactions take place.
Definition: Surface.hpp:31
auto area(ChemicalProps const &props) const -> real
Calculate the area of the surface for given chemical properties of the system (in m2).
Surface(String const &name, SurfaceAreaModel const &model)
Construct an Surface object with a unique name and area model.
auto withAreaModel(SurfaceAreaModel const &model) const -> Surface
Return a duplicate of this Surface object with new surface area model.
Surface(String const &name)
Construct an Surface object with a unique name.
auto areaModel() const -> SurfaceAreaModel const &
Return the area model of this surface.
auto withName(String const &name) const -> Surface
Return a duplicate of this Surface object with new name.
The namespace containing all components of the Reaktoro library.
Definition: Algorithms.hpp:29
autodiff::real real
The number type used throughout the library.
Definition: Real.hpp:26
std::shared_ptr< T > SharedPtr
Convenient alias for std::shared_ptr<T>.
Definition: Types.hpp:106