Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
TissueForge::ForceSum Struct Reference
Inheritance diagram for TissueForge::ForceSum:
Collaboration diagram for TissueForge::ForceSum:

Static Public Member Functions

static ForceSumfromForce (Force *f)
 Convert basic force to force sum.
 
- Static Public Member Functions inherited from TissueForge::Force
static Berendsenberendsen_tstat (const FPTYPE &tau)
 Creates a Berendsen thermostat.
 
static Gaussianrandom (const FPTYPE &std, const FPTYPE &mean, const FPTYPE &duration=0.01)
 Creates a random force.
 
static Frictionfriction (const FPTYPE &coef)
 Creates a friction force.
 
static ForcefromString (const std::string &str)
 Create from a JSON string representation.
 

Public Attributes

Forcef1
 
Forcef2
 
- Public Attributes inherited from TissueForge::Force
FORCE_TYPE type = FORCE_FORCE
 
Force_EvalFcn func
 
int stateVectorIndex = -1
 

Additional Inherited Members

- Public Member Functions inherited from TissueForge::Force
virtual bool isCustom ()
 Tests whether this object is a custom force type.
 
HRESULT bind_species (struct ParticleType *a_type, const std::string &coupling_symbol)
 Bind a force to a species.
 
Forceoperator+ (const Force &rhs)
 
virtual std::string toString ()
 Get a JSON string representation.
 

Member Function Documentation

◆ fromForce()

static ForceSum * TissueForge::ForceSum::fromForce ( Force * f)
static

Convert basic force to force sum.

If the basic force is not a force sum, then NULL is returned.

Parameters
f
Returns
ForceSum*

The documentation for this struct was generated from the following file: