Configuration
public class ConfigurationMembraneWater extends java.lang.Object implements Configuration
Modifier and Type | Field | Description |
---|---|---|
protected int |
membraneDim |
|
protected double |
membraneTotalThickness |
|
protected int |
membraneWidth |
|
protected int |
numMembraneLayers |
|
protected IMoleculePositionDefinition |
positionDefinition |
|
protected Simulation |
sim |
|
protected double |
soluteMoleFraction |
|
protected double |
solutionChamberDensity |
|
protected double |
solventChamberDensity |
|
protected ISpecies |
speciesMembrane |
|
protected ISpecies |
speciesSolute1 |
|
protected ISpecies |
speciesSolute2 |
|
protected ISpecies |
speciesSolvent |
Constructor | Description |
---|---|
ConfigurationMembraneWater(Simulation sim,
Space _space) |
Modifier and Type | Method | Description |
---|---|---|
int |
getMembraneDim() |
The dimension of the membrane (0=x, 1=y, 2=z).
|
double |
getMembraneThickness() |
Returns the thickness (angstroms) of each layer of the membrane
(see getNumMembraneLayers)
|
int |
getMembraneWidth() |
Returns the width of the membrane.
|
int |
getNumMembraneLayers() |
Returns the number of membrane layers.
|
double |
getSoluteMoleFraction() |
Returns the mole fraction of solutes within the solute chamber.
|
double |
getSolutionChamberDensity() |
Returns the number density of the solution chamber
|
double |
getSolventChamberDensity() |
Returns the number density of the solvent chamber
|
ISpecies |
getSpeciesMembrane() |
|
ISpecies |
getSpeciesSolute1() |
|
ISpecies |
getSpeciesSolute2() |
|
ISpecies |
getSpeciesSolvent() |
|
void |
initializeCoordinates(Box box) |
Defines the placement of the molecules.
|
void |
setMembraneDim(int newMembraneDim) |
|
void |
setMembraneThickness(double newMembraneThickness) |
|
void |
setMembraneWidth(int newMembraneWidth) |
|
void |
setNumMembraneLayers(int newNumMembraneLayers) |
|
void |
setSoluteMoleFraction(double newSoluteMoleFraction) |
|
void |
setSolutionChamberDensity(double newSolutionChamberDensity) |
|
void |
setSolventChamberDensity(double newSolventChamberDensity) |
|
void |
setSpeciesMembrane(ISpecies newSpeciesMembrane) |
|
void |
setSpeciesSolute1(ISpecies newSpeciesSolute1) |
|
void |
setSpeciesSolute2(ISpecies newSpeciesSolute2) |
|
void |
setSpeciesSolvent(ISpecies newSpeciesSolvent) |
protected ISpecies speciesSolute1
protected ISpecies speciesSolute2
protected ISpecies speciesSolvent
protected ISpecies speciesMembrane
protected double membraneTotalThickness
protected int numMembraneLayers
protected int membraneWidth
protected double solventChamberDensity
protected double solutionChamberDensity
protected double soluteMoleFraction
protected int membraneDim
protected final Simulation sim
protected IMoleculePositionDefinition positionDefinition
public ConfigurationMembraneWater(Simulation sim, Space _space)
public void initializeCoordinates(Box box)
Configuration
initializeCoordinates
in interface Configuration
public double getMembraneThickness()
public void setMembraneThickness(double newMembraneThickness)
public int getNumMembraneLayers()
public void setNumMembraneLayers(int newNumMembraneLayers)
public int getMembraneWidth()
public void setMembraneWidth(int newMembraneWidth)
public double getSolventChamberDensity()
public void setSolventChamberDensity(double newSolventChamberDensity)
public double getSolutionChamberDensity()
public void setSolutionChamberDensity(double newSolutionChamberDensity)
public double getSoluteMoleFraction()
public void setSoluteMoleFraction(double newSoluteMoleFraction)
public int getMembraneDim()
public void setMembraneDim(int newMembraneDim)
public ISpecies getSpeciesSolute1()
public void setSpeciesSolute1(ISpecies newSpeciesSolute1)
public ISpecies getSpeciesSolute2()
public void setSpeciesSolute2(ISpecies newSpeciesSolute2)
public ISpecies getSpeciesSolvent()
public void setSpeciesSolvent(ISpecies newSpeciesSolvent)
public ISpecies getSpeciesMembrane()
public void setSpeciesMembrane(ISpecies newSpeciesMembrane)