Reaktoro  v2.1.1
A unified framework for modeling chemically reactive systems
IonExchangeSurface Class Reference

A type used to describe an ion exchange surface. More...

#include <IonExchangeSurface.hpp>

Public Member Functions

 IonExchangeSurface ()
 Construct a default IonExchangeSurface instance.
 
 IonExchangeSurface (const SpeciesList &species)
 Construct an IonExchangeSurface instance with given species.
 
auto clone () const -> IonExchangeSurface
 Return a deep copy of this IonExchangeSurface object.
 
auto species (Index idx) const -> const Species &
 Return the exchange species on the surface with given index. More...
 
auto species () const -> const SpeciesList &
 Return the exchange species on the surface.
 
auto ze () const -> ArrayXdConstRef
 Return the array of exchanger's equivalents numbers (or cation charges) in ion exchange species.
 
auto state (real T, real P, ArrayXrConstRef x) -> IonExchangeSurfaceState
 Calculate the state of the aqueous mixture. More...
 
auto state () const -> IonExchangeSurfaceState
 Return the state of the aqueous mixture.
 

Detailed Description

A type used to describe an ion exchange surface.

The IonExchangeSurface class is defined as a collection of Species objects, representing, therefore, a composition of ion exchange phase. Its main purpose is to provide the necessary operations in the calculation of activities of ion exchange species. It implements methods for the calculation of equivalent fractions of species in ionic exchange phase. In addition, it provides methods that retrieves information about the exchanger (e.g., X-) and exchange species (e.g., NaX, CaX2).

Member Function Documentation

◆ species()

auto species ( Index  idx) const -> const Species &

Return the exchange species on the surface with given index.

Parameters
idxThe index of the species in the ion exchange surface

◆ state()

auto state ( real  T,
real  P,
ArrayXrConstRef  x 
) -> IonExchangeSurfaceState

Calculate the state of the aqueous mixture.

Parameters
TThe temperature (in K)
PThe pressure (in Pa)
xThe fraction of the species in the composition

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