33 #ifdef DEBUG_CONSTRUCTOR
34 std::cout<<
"ReversibleAdhesiveSpecies::ReversibleAdhesiveSpecies() finished"<<std::endl;
45 #ifdef DEBUG_CONSTRUCTOR
46 std::cout<<
"ReversibleAdhesiveSpecies::ReversibleAdhesiveSpecies(const ReversibleAdhesiveSpecies &p) finished"<<std::endl;
52 #ifdef DEBUG_DESTRUCTOR
53 std::cout<<
"ReversibleAdhesiveSpecies::~ReversibleAdhesiveSpecies() finished"<<std::endl;
81 return "ReversibleAdhesive";
103 logger(
ERROR,
"ReversibleAdhesiveSpecies::getInteractionDistance(): adhesionStiffness cannot be zero");
115 std::cerr <<
"Error in setAdhesionStiffness" << std::endl;
132 std::cerr <<
"Error in setBondForceMax" << std::endl;
ReversibleAdhesiveSpecies()
The default constructor.
Logger< MERCURY_LOGLEVEL > logger("MercuryKernel")
Mdouble getAdhesionForceMax() const
Allows the spring constant to be accessed.
void setAdhesionStiffness(Mdouble new_k0)
Allows the spring constant to be changed.
ReversibleAdhesiveSpecies contains the parameters used to describe a linear reversible short-range fo...
Mdouble getInteractionDistance() const
returns the largest separation distance at which adhesive short-range forces can occur.
Mdouble average(Mdouble a, Mdouble b)
defines the average of two variables by the harmonic mean.
Mdouble adhesionStiffness_
stiffness of linear adhesion force
virtual ~ReversibleAdhesiveSpecies()
The default constructor.
void mix(ReversibleAdhesiveSpecies *const S, ReversibleAdhesiveSpecies *const T)
creates default values for mixed species
Mdouble adhesionForceMax_
adhesion force at zero overlap
void read(std::istream &is)
Reads the species properties from an input stream.
Mdouble getAdhesionStiffness() const
Allows the spring constant to be accessed.
void write(std::ostream &os) const
Writes the species properties to an output stream.
std::string getBaseName() const
Used in Species::getName to obtain a unique name for each Species.
void setAdhesionForceMax(Mdouble new_f0)
Allows the spring constant to be changed.