![]() |
|
JKRAdhesiveSpecies contains the parameters used to describe a linear reversible short-range force. More...
#include <JKRAdhesiveSpecies.h>
Inheritance diagram for JKRAdhesiveSpecies:Public Types | |
| typedef JKRAdhesiveInteraction | InteractionType |
| The correct Interaction type for this AdhesiveForceSpecies. More... | |
Public Member Functions | |
| JKRAdhesiveSpecies () | |
| The default constructor. More... | |
| JKRAdhesiveSpecies (const JKRAdhesiveSpecies &s) | |
| The default constructor. More... | |
| ~JKRAdhesiveSpecies () | |
| The default constructor. More... | |
| void | read (std::istream &is) |
| Reads the species properties from an input stream. More... | |
| void | write (std::ostream &os) const |
| Writes the species properties to an output stream. More... | |
| std::string | getBaseName () const |
| Used in Species::getName to obtain a unique name for each Species. More... | |
| void | mix (JKRAdhesiveSpecies *S, JKRAdhesiveSpecies *T) |
| creates default values for mixed species More... | |
| void | setAdhesionStiffness (Mdouble new_k0) |
| returns the largest separation distance at which adhesive short-range forces can occur. More... | |
| Mdouble | getAdhesionStiffness () const |
| Allows the spring constant to be accessed. More... | |
| void | setSurfaceEnergy (Mdouble surfaceEnergy) |
| Allows the spring constant to be changed. More... | |
| Mdouble | getSurfaceEnergy () const |
Public Member Functions inherited from BaseAdhesiveForce | |
| virtual void | setInteractionDistance () |
Public Member Functions inherited from BaseForce | |
| BaseSpecies * | getBaseSpecies () const |
| void | setBaseSpecies (BaseSpecies *baseSpecies) |
Private Attributes | |
| Mdouble | adhesionStiffness_ |
| stiffness of linear adhesion force More... | |
| Mdouble | surfaceEnergy_ |
| adhesion force at zero overlap More... | |
JKRAdhesiveSpecies contains the parameters used to describe a linear reversible short-range force.
See JKRAdhesiveInteraction::computeForce for a description of the force law.
The correct Interaction type for this AdhesiveForceSpecies.
| JKRAdhesiveSpecies::JKRAdhesiveSpecies | ( | ) |
The default constructor.
References adhesionStiffness_, and surfaceEnergy_.
| JKRAdhesiveSpecies::JKRAdhesiveSpecies | ( | const JKRAdhesiveSpecies & | s | ) |
The default constructor.
| [in] | s | the species that is copied |
References adhesionStiffness_, s, and surfaceEnergy_.
| JKRAdhesiveSpecies::~JKRAdhesiveSpecies | ( | ) |
| Mdouble JKRAdhesiveSpecies::getAdhesionStiffness | ( | ) | const |
Allows the spring constant to be accessed.
References adhesionStiffness_.
Referenced by JKRAdhesiveInteraction::computeAdhesionForce().
| std::string JKRAdhesiveSpecies::getBaseName | ( | ) | const |
| Mdouble JKRAdhesiveSpecies::getSurfaceEnergy | ( | ) | const |
References surfaceEnergy_.
Referenced by JKRAdhesiveInteraction::computeAdhesionForce().
| void JKRAdhesiveSpecies::mix | ( | JKRAdhesiveSpecies * | S, |
| JKRAdhesiveSpecies * | T | ||
| ) |
creates default values for mixed species
For all parameters we assume that the harmonic mean of the parameters of the original two species is a sensible default.
| [in] | S,T | the two species whose properties are mixed to create the new species |
References adhesionStiffness_, BaseSpecies::average(), and oomph::QuadTreeNames::S.
| void JKRAdhesiveSpecies::read | ( | std::istream & | is | ) |
Reads the species properties from an input stream.
| [in] | is | input stream (typically the restart file) |
References adhesionStiffness_, oomph::Global_string_for_annotation::string(), and surfaceEnergy_.
| void JKRAdhesiveSpecies::setAdhesionStiffness | ( | Mdouble | new_k0 | ) |
returns the largest separation distance at which adhesive short-range forces can occur.
Allows the spring constant to be changed.
Allows the spring constant to be changed
References adhesionStiffness_, and logger.
| void JKRAdhesiveSpecies::setSurfaceEnergy | ( | Mdouble | surfaceEnergy | ) |
Allows the spring constant to be changed.
Allows the spring constant to be accessed
References surfaceEnergy_.
| void JKRAdhesiveSpecies::write | ( | std::ostream & | os | ) | const |
Writes the species properties to an output stream.
| [out] | os | output stream (typically the restart file) |
References adhesionStiffness_, and surfaceEnergy_.
|
private |
stiffness of linear adhesion force
Referenced by getAdhesionStiffness(), JKRAdhesiveSpecies(), mix(), read(), setAdhesionStiffness(), and write().
|
private |
adhesion force at zero overlap
Referenced by getSurfaceEnergy(), JKRAdhesiveSpecies(), read(), setSurfaceEnergy(), and write().