faunus
Public Member Functions | List of all members
Faunus::Electrolyte Class Reference

Stores information about salts for calculation of Debye screening length etc. More...

#include <electrolyte.h>

Public Member Functions

 Electrolyte (double molarity, const std::vector< int > &valencies)
 
 Electrolyte (double debye_length, double bjerrum_length)
 Initialize from existing Debye and Bjerrum length.
 
double ionicStrength () const
 Molar ionic strength (mol/l)
 
double debyeLength (double bjerrum_length) const
 Debye screening length in Angstrom.
 
double getMolarity () const
 Input salt molarity (mol/l)
 
const std::vector< int > & getValencies () const
 Charges of each participating ion in the salt.
 

Detailed Description

Stores information about salts for calculation of Debye screening length etc.

In this context a "salt" is an arbitrary set of cations and anions, combined to form a net-neutral compound. The object state is temperature independent.


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