26#ifndef _SOURCE_TF_BIND_H_
27#define _SOURCE_TF_BIND_H_
37namespace TissueForge::bind {
121 const FloatP_t &cutoff,
122 std::vector<std::pair<ParticleType*, ParticleType*>* > *pairs=NULL,
123 const FloatP_t &half_life=std::numeric_limits<FloatP_t>::max(),
124 const FloatP_t &bond_energy=std::numeric_limits<FloatP_t>::max(),
126 std::vector<BondHandle> *out=NULL
133 const FloatP_t &radius=1.0,
134 std::pair<FloatP_t, FloatP_t> *phi=NULL,
137 std::vector<BondHandle> *bondList=NULL
A condition on a boundary of the universe.
Definition tfBoundaryConditions.h:55
Force is a metatype, in that Tissue Forge has lots of different instances of force functions,...
Definition tfForce.h:69
Definition tfParticle.h:101
A special list with convenience methods for working with sets of particles.
Definition tfParticleList.h:52
Structure containing information on each particle type.
Definition tfParticle.h:768
A Potential object is a compiled interpolation of a given function. The Universe applies potentials t...
Definition tfPotential.h:213
HRESULT boundaryConditions(Potential *p, ParticleType *t)
Bind a potential to a pair of particle type and all boundary conditions.
HRESULT bonds(Potential *potential, ParticleList &particles, const FloatP_t &cutoff, std::vector< std::pair< ParticleType *, ParticleType * > * > *pairs=NULL, const FloatP_t &half_life=std::numeric_limits< FloatP_t >::max(), const FloatP_t &bond_energy=std::numeric_limits< FloatP_t >::max(), uint32_t flags=0, std::vector< BondHandle > *out=NULL)
Create bonds for a set of pairs of particles.
HRESULT boundaryCondition(Potential *p, BoundaryCondition *bc, ParticleType *t)
Bind a potential to a pair of particle type and a boundary conditions.
int32_t HRESULT
Definition tf_port.h:255