BondedSpecies.h
Go to the documentation of this file.
1 // This file is part of the MercuryDPM project (https://www.mercurydpm.org).
2 // Copyright (c), The MercuryDPM Developers Team. All rights reserved.
3 // License: BSD 3-Clause License; see the LICENSE file in the root directory.
4 
5 #ifndef BondedSpecies_h
6 #define BondedSpecies_h
7 
9 #include "Math/ExtendedMath.h"
11 #include "../BaseSpecies.h"
12 
18 {
19 public:
22 
24  BondedSpecies();
25 
28 
31 
33  void read(std::istream& is);
34 
36  void write(std::ostream& os) const;
37 
39  std::string getBaseName() const;
40 
43 
44 //setters and getters
46  void setBondDissipation(Mdouble disp);
47 
50 
52  void setBondForceMax(Mdouble new_f0);
53 
55  Mdouble getBondForceMax() const;
56 
57 private:
60 
63 };
64 
65 #endif
Definition: BaseAdhesiveForce.h:10
Definition: BondedInteraction.h:21
BondedSpecies contains the parameters used to describe a linear irreversible short-range force.
Definition: BondedSpecies.h:18
void write(std::ostream &os) const
Writes the species properties to an output stream.
Definition: BondedSpecies.cc:53
void mix(BondedSpecies *S, BondedSpecies *T)
creates default values for mixed species
Definition: BondedSpecies.cc:74
void setBondDissipation(Mdouble disp)
Allows the spring constant to be changed.
Definition: BondedSpecies.cc:98
void read(std::istream &is)
Reads the species properties from an input stream.
Definition: BondedSpecies.cc:62
BondedInteraction InteractionType
The correct Interaction type for this AdhesiveForceSpecies.
Definition: BondedSpecies.h:21
std::string getBaseName() const
Used in Species::getName to obtain a unique name for each Species.
Definition: BondedSpecies.cc:45
Mdouble bondForceMax_
adhesion force at zero overlap
Definition: BondedSpecies.h:62
~BondedSpecies()
The default destructor.
Definition: BondedSpecies.cc:35
BondedSpecies()
The default constructor.
Definition: BondedSpecies.cc:14
Mdouble getBondDissipation() const
Allows the spring constant to be accessed.
Definition: BondedSpecies.cc:81
Mdouble getBondForceMax() const
Allows bondForceMax_ to be accessed.
Definition: BondedSpecies.cc:109
Mdouble bondDissipation_
dissipation in bond
Definition: BondedSpecies.h:59
void setBondForceMax(Mdouble new_f0)
Allows bondForceMax_ to be changed.
Definition: BondedSpecies.cc:87
RealScalar s
Definition: level1_cplx_impl.h:130
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286
@ S
Definition: quadtree.h:62