6#include "biolcccexception.h"
7#include "chemicalgroup.h"
105 const std::map<std::string, ChemicalGroup> &
chemicalGroups()
const;
267 std::vector<double> newAdsorptionLayerFactors);
348 std::map<std::string,ChemicalGroup> mChemicalGroups;
349 double mSecondSolventBindEnergy;
350 double mMonomerLength;
352 double mAdsorptionLayerWidth;
353 std::vector<double> mAdsorptionLayerFactors;
355 double mFirstSolventDensity;
356 double mSecondSolventDensity;
357 double mFirstSolventAverageMass;
358 double mSecondSolventAverageMass;
359 bool mSnyderApproximation;
360 bool mSpecialRodModel;
361 bool mNeglectPartiallyDesorbedStates;
Base class for all BioLCCC exceptions. Can be used by itself.
Definition biolcccexception.h:11
This exception is raised when something goes wrong with a ChemicalBasis.
Definition chemicalbasis.h:14
An instance of ChemicalBasis contains a set of BioLCCC constants.
Definition chemicalbasis.h:87
ChemicalBasis setPredefinedChemicalBasis(PredefinedChemicalBasis predefinedChemicalBasisId)
Sets one of predefined chemical basis.
Definition chemicalbasis.cpp:265
void setMonomerLength(double newMonomerLength)
Sets the length of a single monomer in a polymer chain in angstroms.
Definition chemicalbasis.cpp:79
double firstSolventDensity() const
Returns the density of the first solvent in kg/m^3.
Definition chemicalbasis.cpp:203
void clearChemicalGroups()
Removes all chemical groups in a ChemicalBasis.
Definition chemicalbasis.cpp:145
const std::vector< double > & adsorptionLayerFactors() const
Returns the absorption factors of the near-wall layers in CHAIN model.
Definition chemicalbasis.cpp:120
double kuhnLength() const
Returns the Kuhn length of a polymer molecule in angstroms.
Definition chemicalbasis.cpp:90
void setFirstSolventDensity(double newFirstSolventDensity)
Sets the density of the first solvent in kg/m^3.
Definition chemicalbasis.cpp:208
const PolymerModel polymerModel() const
Returns the model of a polymer (CHAIN or ROD).
Definition chemicalbasis.cpp:163
ChemicalBasis()
Constructs an empty ChemicalBasis instance.
Definition chemicalbasis.cpp:8
void setAdsorptionLayerFactors(std::vector< double > newAdsorptionLayerFactors)
Sets the absorption factors of the near-wall layers in CHAIN model.
Definition chemicalbasis.cpp:125
double secondSolventDensity() const
Returns the density of the second solvent in kg/m^3.
Definition chemicalbasis.cpp:218
double monomerLength() const
Returns the length of a single monomer in a polymer chain in angstroms.
Definition chemicalbasis.cpp:74
double secondSolventAverageMass() const
Returns the molecular mass of the second solvent in g/mol.
Definition chemicalbasis.cpp:249
const ChemicalGroup & defaultCTerminus() const
Returns the default C-terminal group.
Definition chemicalbasis.cpp:53
void removeChemicalGroup(std::string label)
Removes a chemical group with the given label;.
Definition chemicalbasis.cpp:136
void setAdsorptionLayerWidth(double newAdsorptionLayerWidth)
Sets the width of a solid phase adsorption layer in ROD model.
Definition chemicalbasis.cpp:110
void setSnyderApproximation(bool flag)
Enables the linear approximation of the energy of binary solvent.
Definition chemicalbasis.cpp:178
void setFirstSolventAverageMass(double newFirstSolventAverageMass)
Sets the molecular mass of the first solvent in g/mol.
Definition chemicalbasis.cpp:238
double adsorptionLayerWidth() const
Returns the width of a solid phase adsorption layer in ROD model.
Definition chemicalbasis.cpp:105
void setPolymerModel(PolymerModel newModel)
Sets the model of a polymer (CHAIN or ROD).
Definition chemicalbasis.cpp:168
std::map< std::string, ChemicalGroup > & chemicalGroups()
Returns the map of all chemical groups. Non-constant version.
Definition chemicalbasis.cpp:31
bool neglectPartiallyDesorbedStates() const
Returns true if partially desorbed states are neglected.
Definition chemicalbasis.cpp:193
void addChemicalGroup(ChemicalGroup newChemicalGroup)
Adds newChemicalGroup to the ChemicalBasis.
Definition chemicalbasis.cpp:131
double firstSolventAverageMass() const
Returns the molecular mass of the first solvent in g/mol.
Definition chemicalbasis.cpp:233
void setNeglectPartiallyDesorbedStates(bool flag)
Excludes partially desorbed states from calculation. FOR MODEL STUDY ONLY.
Definition chemicalbasis.cpp:198
void setSecondSolventBindEnergy(double newEnergy)
Sets newEnergy as the bind energy of the second solvent.
Definition chemicalbasis.cpp:69
void setKuhnLength(double newKuhnLength)
Sets the Kuhn length of a molecule in angstroms.
Definition chemicalbasis.cpp:95
const ChemicalGroup & defaultNTerminus() const
Returns the default N-terminal group.
Definition chemicalbasis.cpp:42
bool snyderApproximation() const
Returns true if the energy of binary solvent is linearly fitted.
Definition chemicalbasis.cpp:173
void setSecondSolventAverageMass(double newSecondSolventAverageMass)
Sets the molecular mass of the second solvent in g/mol.
Definition chemicalbasis.cpp:254
double secondSolventBindEnergy() const
Returns the bind energy of the second solvent.
Definition chemicalbasis.cpp:64
void setSecondSolventDensity(double newSecondSolventDensity)
Sets the density of the second solvent in kg/m^3.
Definition chemicalbasis.cpp:223
bool specialRodModel() const
Returns true if equations for the special case of rod model are used.
Definition chemicalbasis.cpp:183
void setSpecialRodModel(bool flag)
Enables the usage of the special equation for the rod model.
Definition chemicalbasis.cpp:188
A ChemicalGroup instance contains the properties of a group of atoms.
Definition chemicalgroup.h:21
Apart from classes, BioLCCC contains calculation methods and constants.
Definition auxiliary.h:5
PredefinedChemicalBasis
This enum describes the predefined sets of physicochemical constants.
Definition chemicalbasis.h:52
@ RP_ACN_TFA_CHAIN
Reversed phase, ACN, trifluoracetic acid, CHAIN model.
Definition chemicalbasis.h:58
@ RP_ACN_FA_ROD
Reversed phase, ACN, formic acid, ROD model.
Definition chemicalbasis.h:65
PolymerModel
The model of polymer being used in calculations.
Definition chemicalbasis.h:29
@ ROD
Definition chemicalbasis.h:37
@ CHAIN
Definition chemicalbasis.h:42