EmptyAdhesiveSpecies Class Reference

EmptyAdhesiveSpecies is used to create a force law without a short-range adhesive force. More...

#include <EmptyAdhesiveSpecies.h>

+ Inheritance diagram for EmptyAdhesiveSpecies:

Public Types

typedef EmptyAdhesiveInteraction InteractionType
 The correct Interaction type for this AdhesiveForceSpecies. More...
 

Public Member Functions

 EmptyAdhesiveSpecies ()
 The default constructor. More...
 
 EmptyAdhesiveSpecies (const EmptyAdhesiveSpecies &s UNUSED)
 The default copy constructor. More...
 
 ~EmptyAdhesiveSpecies ()
 The default destructor. 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 (EmptyAdhesiveSpecies *S, EmptyAdhesiveSpecies *T)
 creates default values for mixed species More...
 
- Public Member Functions inherited from BaseAdhesiveForce
virtual void setInteractionDistance ()
 
- Public Member Functions inherited from BaseForce
BaseSpeciesgetBaseSpecies () const
 
void setBaseSpecies (BaseSpecies *baseSpecies)
 

Detailed Description

EmptyAdhesiveSpecies is used to create a force law without a short-range adhesive force.

Member Typedef Documentation

◆ InteractionType

The correct Interaction type for this AdhesiveForceSpecies.

Constructor & Destructor Documentation

◆ EmptyAdhesiveSpecies() [1/2]

EmptyAdhesiveSpecies::EmptyAdhesiveSpecies ( )

The default constructor.

9 {
10 #ifdef DEBUG_CONSTRUCTOR
11  std::cout<<"EmptyAdhesiveSpecies::EmptyAdhesiveSpecies() finished"<<std::endl;
12 #endif
13 }

◆ EmptyAdhesiveSpecies() [2/2]

EmptyAdhesiveSpecies::EmptyAdhesiveSpecies ( const EmptyAdhesiveSpecies &s  UNUSED)

The default copy constructor.

Parameters
[in]thespecies that is copied
19 {
20 #ifdef DEBUG_CONSTRUCTOR
21  std::cout<<"EmptyAdhesiveSpecies::EmptyAdhesiveSpecies(const EmptyAdhesiveSpecies &p) finished"<<std::endl;
22 #endif
23 }

◆ ~EmptyAdhesiveSpecies()

EmptyAdhesiveSpecies::~EmptyAdhesiveSpecies ( )

The default destructor.

26 {
27 #ifdef DEBUG_DESTRUCTOR
28  std::cout<<"EmptyAdhesiveSpecies::~EmptyAdhesiveSpecies() finished"<<std::endl;
29 #endif
30 }

Member Function Documentation

◆ getBaseName()

std::string EmptyAdhesiveSpecies::getBaseName ( ) const

Used in Species::getName to obtain a unique name for each Species.

Returns
a string containing the name of the species (minus the word "Species")
50 {
51  return "";
52 }

◆ mix()

void EmptyAdhesiveSpecies::mix ( EmptyAdhesiveSpecies * S  UNUSED,
EmptyAdhesiveSpecies * T  UNUSED 
)

creates default values for mixed species

Parameters
[in]S,Tthe two species whose properties are mixed to create the new species
58 {
59 }

◆ read()

void EmptyAdhesiveSpecies::read ( std::istream &  is)

Reads the species properties from an input stream.

Parameters
[in]inputstream (typically the restart file)
43 {
44 }

◆ write()

void EmptyAdhesiveSpecies::write ( std::ostream &  os) const

Writes the species properties to an output stream.

Parameters
[out]outputstream (typically the restart file)
36 {
37 }

The documentation for this class was generated from the following files: