36 #ifdef DEBUG_CONSTRUCTOR
37 std::cout<<
"LiquidMigrationWilletSpecies::LiquidMigrationWilletSpecies() finished"<<std::endl;
51 #ifdef DEBUG_CONSTRUCTOR
52 std::cout<<
"LiquidMigrationWilletSpecies::LiquidMigrationWilletSpecies(const LiquidMigrationWilletSpecies &p) finished"<<std::endl;
58 #ifdef DEBUG_DESTRUCTOR
59 std::cout<<
"LiquidMigrationWilletSpecies::~LiquidMigrationWilletSpecies() finished"<<std::endl;
91 return "LiquidMigrationWillet";
120 if (liquidBridgeVolumeMax >= 0)
127 std::cerr <<
"Error in setLiquidBridgeVolumeMax: liquidBridgeVolumeMax=" << liquidBridgeVolumeMax << std::endl;
145 if (distributionCoefficient >= 0 && distributionCoefficient <= 1.0)
149 std::cerr <<
"Error in setDistributionCoefficient" << std::endl;
168 if (surfaceTension >= 0)
172 std::cerr <<
"Error in setSurfaceTension" << std::endl;
190 if (contactAngle >= 0)
197 std::cerr <<
"Error in setContactAngle" << std::endl;
LiquidMigrationWilletSpecies contains the parameters used to describe a short-range force caused by l...
void write(std::ostream &os) const
Writes the species properties to an output stream.
LiquidMigrationWilletSpecies()
The default constructor.
void setSurfaceTension(Mdouble surfaceTension)
used to set the surface tension of the liquid.
void read(std::istream &is)
Reads the species properties from an input stream.
Mdouble contactAngle_
contact angle between particle and liquid bridge surface
Mdouble getContactAngle() const
used to access the contact angle between particle and liquid bridge surface.
Mdouble getLiquidBridgeVolumeMax() const
used to access the Volume of the liquid bridge.
void mix(LiquidMigrationWilletSpecies *const S, LiquidMigrationWilletSpecies *const T)
creates default values for mixed species
Mdouble getDistributionCoefficient() const
used to access the surface tension of the liquid.
Mdouble surfaceTension_
surface tension of the liquid
Mdouble average(Mdouble a, Mdouble b)
defines the average of two variables by the harmonic mean.
Mdouble liquidBridgeVolumeMax_
Volume of the liquid bridge.
void setDistributionCoefficient(Mdouble distributionCoefficient)
used to set the distribution coefficient of the liquid.
Mdouble getInteractionDistance() const
returns the largest separation distance at which adhesive short-range forces can occur.
void setLiquidBridgeVolumeMax(Mdouble liquidBridgeVolume)
used to set the Volume of the liquid bridge.
virtual ~LiquidMigrationWilletSpecies()
The default destructor.
std::string getBaseName() const
Used in Species::getName to obtain a unique name for each Species.
void setContactAngle(Mdouble contactAngle)
used to set the contact angle between particle and liquid bridge surface.
Mdouble distributionCoefficient_
distribution coefficient of the liquid
Mdouble getSurfaceTension() const
used to access the surface tension of the liquid.
Mdouble maxInteractionDistance_
Cube root of the liquid bridge.