libBioLCCC
Loading...
Searching...
No Matches
rod_model.h
1#ifndef ROD_MODEL_H
2#define ROD_MODEL_H
3
4#include "biolcccexception.h"
5#include "chemicalbasis.h"
6
7namespace BioLCCC
8{
9
12 double segmentLength, double slitWidth, double layerWidth,
13 int N, int n1);
14
17 double segmentLength, double slitWidth, double layerWidth,
18 int N, int n1, int n2);
19
21double rodAdsorptionEnergy(const std::vector<double> & rodEnergyProfile,
22 int n1, int n2);
23
25double partitionFunctionRodFreeSlit(double rodLength,
26 double slitWidth);
27
29
34 double segmentLength,
35 double slitWidth,
36 double layerWidth,
37 const std::vector<double> & rodEnergyProfile,
38 bool reversed = false);
39
41
46 double segmentLength,
47 double slitWidth,
48 double layerWidth,
49 const std::vector<double> & rodEnergyProfile,
50 bool reversed = false);
51
53double partitionFunctionRodFreeVolume(double rodLength,
54 double slitWidth);
55
57double calculateKdRod(
58 const std::vector<ChemicalGroup> &parsedSequence,
59 const double secondSolventConcentration,
60 const ChemicalBasis &chemBasis,
61 const double columnPoreSize,
62 const double columnRelativeStrength,
63 const double temperature
64 );
65}
66
67#endif
Apart from classes, BioLCCC contains calculation methods and constants.
Definition auxiliary.h:5
double partitionFunctionRodPartiallySubmergedGeneral(double segmentLength, double slitWidth, double layerWidth, const std::vector< double > &rodEnergyProfile, bool reversed=false)
Calculates Z of a rod partially submerged into the adsorbing layer.
Definition rod_model.cpp:242
double partitionFunctionRodPartiallySubmergedTermSpecial(double segmentLength, double slitWidth, double layerWidth, int N, int n1)
Calculates a term in the special expression for the partition function.
Definition rod_model.cpp:276
double partitionFunctionRodPartiallySubmergedSpecial(double segmentLength, double slitWidth, double layerWidth, const std::vector< double > &rodEnergyProfile, bool reversed=false)
Calculates Z of the rod partially submerged into an adsorbing layer.
Definition rod_model.cpp:305
double partitionFunctionRodFreeVolume(double rodLength, double slitWidth)
Calculates the partition function of a rod in a slit without walls.
Definition rod_model.cpp:335
double partitionFunctionRodPartiallySubmergedTermGeneral(double segmentLength, double slitWidth, double layerWidth, int N, int n1, int n2)
Calculates a term in the general expression for the partition function.
Definition rod_model.cpp:83
double partitionFunctionRodFreeSlit(double rodLength, double slitWidth)
Calculates the partition function of a rod in a slit with impenetrable walls.
Definition rod_model.cpp:36
double rodAdsorptionEnergy(const std::vector< double > &rodEnergyProfile, int n1, int n2)
Calculates the adsorption energy of the first n segments of a rod.
Definition rod_model.cpp:18
double calculateKdRod(const std::vector< ChemicalGroup > &parsedSequence, const double secondSolventConcentration, const ChemicalBasis &chemBasis, const double columnPoreSize, const double columnRelativeStrength, const double temperature)
Calculates the coefficient of distribution of a polymer using the rod model.
Definition rod_model.cpp:341