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";
102 std::cerr <<
"ReversibleAdhesiveSpecies::getInteractionDistance(): adhesionStiffness cannot be zero" << std::endl;
114 std::cerr <<
"Error in setAdhesionStiffness" << std::endl;
131 std::cerr <<
"Error in setAdhesionForceMax" << std::endl;
ReversibleAdhesiveSpecies()
The default constructor.
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.