38 #ifdef DEBUG_CONSTRUCTOR
39 std::cout<<
"BondedSpecies::BondedSpecies() finished"<<std::endl;
50 #ifdef DEBUG_CONSTRUCTOR
51 std::cout<<
"BondedSpecies::BondedSpecies(const BondedSpecies &p) finished"<<std::endl;
57 #ifdef DEBUG_DESTRUCTOR
58 std::cout<<
"BondedSpecies::~BondedSpecies() finished"<<std::endl;
113 std::cerr <<
"Error in setBondForceMax" << std::endl;
125 std::cerr <<
"Error in setBondDissipation" << std::endl;
Mdouble getBondDissipation() const
Allows the spring constant to be accessed.
BondedSpecies contains the parameters used to describe a linear irreversible short-range force...
void read(std::istream &is)
Reads the species properties from an input stream.
virtual ~BondedSpecies()
The default destructor.
void setBondForceMax(Mdouble new_f0)
Allows the spring constant to be changed.
void setBondDissipation(Mdouble disp)
Allows the spring constant to be changed.
void mix(BondedSpecies *const S, BondedSpecies *const T)
creates default values for mixed species
Mdouble bondDissipation_
dissipation in bond
Mdouble getInteractionDistance() const
returns the largest separation distance at which adhesive short-range forces can occur (0...
BondedSpecies()
The default constructor.
Mdouble bondForceMax_
adhesion force at zero overlap
Mdouble average(Mdouble a, Mdouble b)
defines the average of two variables by the harmonic mean.
std::string getBaseName() const
Used in Species::getName to obtain a unique name for each Species.
void write(std::ostream &os) const
Writes the species properties to an output stream.
Mdouble getBondForceMax() const
Allows the spring constant to be accessed.