Reaktoro  v2.11.0
A unified framework for modeling chemically reactive systems
Surface Class Reference

Used to represent a surface across which chemical reactions take place. More...

#include <Surface.hpp>

Public Member Functions

 Surface ()
 Construct a default Surface object.
 
 Surface (String const &name)
 Construct an Surface object with a unique name.
 
 Surface (String const &name, SurfaceAreaModel const &model)
 Construct an Surface object with a unique name and area model.
 
auto clone () const -> Surface
 Return a deep copy of this Surface object.
 
auto withName (String const &name) const -> Surface
 Return a duplicate of this Surface object with new name.
 
auto withAreaModel (SurfaceAreaModel const &model) const -> Surface
 Return a duplicate of this Surface object with new surface area model.
 
auto name () const -> String const &
 Return the unique name of this surface.
 
auto areaModel () const -> SurfaceAreaModel const &
 Return the area model of this surface.
 
auto area (ChemicalProps const &props) const -> real
 Calculate the area of the surface for given chemical properties of the system (in m2).
 

Detailed Description

Used to represent a surface across which chemical reactions take place.


The documentation for this class was generated from the following file: