25#ifndef _WRAPS_C_TFCBOND_H_
26#define _WRAPS_C_TFCBOND_H_
827 unsigned int numTypePairs,
828 tfFloatP_t *half_life,
829 tfFloatP_t *bond_energy,
831 unsigned int *numBonds
Handle to a AngleHandle instance.
Definition tfCBond.h:47
Handle to a BondHandle instance.
Definition tfCBond.h:39
Handle to a DihedralHandle instance.
Definition tfCBond.h:55
Handle to a ParticleHandle instance.
Definition tfCParticle.h:111
Handle to a ParticleList instance.
Definition tfCParticle.h:127
Handle to a ParticleType instance.
Definition tfCParticle.h:119
Handle to a Potential instance.
Definition tfCPotential.h:144
Handle to a rendering::Style instance.
Definition tfCStyle.h:38
HRESULT tfBondHandle_getHalfLife(struct tfBondHandleHandle *handle, tfFloatP_t *value)
Get the half life.
HRESULT tfBondHandle_getPartList(struct tfBondHandleHandle *handle, struct tfParticleListHandle *plist)
Get a list of the particles of the bond.
HRESULT tfDihedralHandle_setHalfLife(struct tfDihedralHandleHandle *handle, tfFloatP_t value)
Set the half life.
HRESULT tfAngleHandle_ne(struct tfAngleHandleHandle *lhs, struct tfAngleHandleHandle *rhs, bool *result)
HRESULT tfAngleHandle_getEnergy(struct tfAngleHandleHandle *handle, tfFloatP_t *value)
Get the current energy of the angle.
HRESULT tfBondHandle_check(struct tfBondHandleHandle *handle, bool *flag)
Check the validity of the handle.
HRESULT tfDihedralHandle_fromString(struct tfDihedralHandleHandle *handle, const char *str)
Create from a JSON string representation.
HRESULT tfDihedralHandle_hasPart(struct tfDihedralHandleHandle *handle, struct tfParticleHandleHandle *part, bool *result)
Test whether the bond has a particle.
HRESULT tfDihedralHandle_destroy(struct tfDihedralHandleHandle *handle)
Destroy the angle.
HRESULT tfDihedralHandle_str(struct tfDihedralHandleHandle *handle, char **str, unsigned int *numChars)
Get a summary string of the dihedral.
HRESULT tfAngleHandle_getDissociationEnergy(struct tfAngleHandleHandle *handle, tfFloatP_t *value)
Get the dissociation energy.
HRESULT tfAngleHandle_destroy(struct tfAngleHandleHandle *handle)
Destroy the angle.
HRESULT tfBondHandle_getStyle(struct tfBondHandleHandle *handle, struct tfRenderingStyleHandle *style)
Get the bond style.
HRESULT tfBondHandle_setStyle(struct tfBondHandleHandle *handle, struct tfRenderingStyleHandle *style)
Set the bond style.
HRESULT tfAngleHandle_getParts(struct tfAngleHandleHandle *handle, int *parti, int *partj)
Get the ids of the particles of the angle.
HRESULT tfDihedralHandle_getDissociationEnergy(struct tfDihedralHandleHandle *handle, tfFloatP_t *value)
Get the dissociation energy.
HRESULT tfBondHandle_getStyleDef(struct tfRenderingStyleHandle *style)
Get the default bond style.
HRESULT tfAngleHandle_le(struct tfAngleHandleHandle *lhs, struct tfAngleHandleHandle *rhs, bool *result)
HRESULT tfAngleHandle_getStyleDef(struct tfRenderingStyleHandle *style)
Get the angle style.
HRESULT tfBondHandle_eq(struct tfBondHandleHandle *lhs, struct tfBondHandleHandle *rhs, bool *result)
HRESULT tfBondHandle_fromString(struct tfBondHandleHandle *handle, const char *str)
Create from a JSON string representation.
HRESULT tfDihedralHandle_getHalfLife(struct tfDihedralHandleHandle *handle, tfFloatP_t *value)
Get the half life.
HRESULT tfBondHandle_getPotential(struct tfBondHandleHandle *handle, struct tfPotentialHandle *potential)
Get the potential of the bond.
HRESULT tfDihedralHandle_eq(struct tfDihedralHandleHandle *lhs, struct tfDihedralHandleHandle *rhs, bool *result)
HRESULT tfBondHandle_getAge(struct tfBondHandleHandle *handle, tfFloatP_t *value)
Get the age of the bond.
HRESULT tfAngle_getIdsForParticle(unsigned int pid, unsigned int **bids, unsigned int *numIds)
Find all the bonds that interact with the given particle id.
HRESULT tfDihedralHandle_ne(struct tfDihedralHandleHandle *lhs, struct tfDihedralHandleHandle *rhs, bool *result)
HRESULT tfBondHandle_toString(struct tfBondHandleHandle *handle, char **str, unsigned int *numChars)
Get a JSON string representation.
HRESULT tfAngleHandle_create(struct tfAngleHandleHandle *handle, struct tfPotentialHandle *potential, struct tfParticleHandleHandle *i, struct tfParticleHandleHandle *j, struct tfParticleHandleHandle *k)
Construct a new angle handle and underlying angle.
HRESULT tfBondHandle_ne(struct tfBondHandleHandle *lhs, struct tfBondHandleHandle *rhs, bool *result)
HRESULT tfDihedralHandle_getPartList(struct tfDihedralHandleHandle *handle, struct tfParticleListHandle *plist)
Get a list of the particles of the dihedral.
HRESULT tfDihedral_getIdsForParticle(unsigned int pid, unsigned int **bids, unsigned int *numIds)
Find all the bonds that interact with the given particle id.
HRESULT tfBond_destroyAll()
Deletes all bonds in the universe.
HRESULT tfBond_pairwise(struct tfPotentialHandle *pot, struct tfParticleListHandle *parts, tfFloatP_t cutoff, struct tfParticleTypeHandle *ppairsA, struct tfParticleTypeHandle *ppairsB, unsigned int numTypePairs, tfFloatP_t *half_life, tfFloatP_t *bond_energy, struct tfBondHandleHandle **bonds, unsigned int *numBonds)
Apply bonds to a list of particles.
HRESULT tfAngleHandle_setActive(struct tfAngleHandleHandle *handle, bool flag)
Set whether a angle is active.
HRESULT tfAngleHandle_hasPartId(struct tfAngleHandleHandle *handle, int pid, bool *result)
Test whether the bond has an id.
HRESULT tfBondHandle_create(struct tfBondHandleHandle *handle, struct tfPotentialHandle *potential, struct tfParticleHandleHandle *i, struct tfParticleHandleHandle *j)
Construct a new bond handle and underlying bond.
HRESULT tfDihedralHandle_lt(struct tfDihedralHandleHandle *lhs, struct tfDihedralHandleHandle *rhs, bool *result)
HRESULT tfAngleHandle_check(struct tfAngleHandleHandle *handle, bool *flag)
Check the validity of the handle.
HRESULT tfBondHandle_getDissociationEnergy(struct tfBondHandleHandle *handle, tfFloatP_t *value)
Get the dissociation energy.
HRESULT tfBondHandle_getParts(struct tfBondHandleHandle *handle, int *parti, int *partj)
Get the ids of the particles of the bond.
HRESULT tfAngleHandle_getHalfLife(struct tfAngleHandleHandle *handle, tfFloatP_t *value)
Get the half life.
HRESULT tfDihedralHandle_getPotential(struct tfDihedralHandleHandle *handle, struct tfPotentialHandle *potential)
Get the potential of the dihedral.
HRESULT tfDihedralHandle_le(struct tfDihedralHandleHandle *lhs, struct tfDihedralHandleHandle *rhs, bool *result)
HRESULT tfBondHandle_hasPartId(struct tfBondHandleHandle *handle, int pid, bool *result)
Test whether the bond has an id.
HRESULT tfDihedralHandle_setStyle(struct tfDihedralHandleHandle *handle, struct tfRenderingStyleHandle *style)
Set the dihedral style.
HRESULT tfBondHandle_le(struct tfBondHandleHandle *lhs, struct tfBondHandleHandle *rhs, bool *result)
HRESULT tfDihedralHandle_getStyle(struct tfDihedralHandleHandle *handle, struct tfRenderingStyleHandle *style)
Get the dihedral style.
HRESULT tfDihedralHandle_hasPartId(struct tfDihedralHandleHandle *handle, int pid, bool *result)
Test whether the bond has an id.
HRESULT tfBondHandle_getEnergy(struct tfBondHandleHandle *handle, tfFloatP_t *value)
Get the current energy of the bond.
HRESULT tfDihedralHandle_init(struct tfDihedralHandleHandle *handle, unsigned int id)
Construct a new dihedral handle from an existing dihedral id.
HRESULT tfDihedralHandle_create(struct tfDihedralHandleHandle *handle, struct tfPotentialHandle *potential, struct tfParticleHandleHandle *i, struct tfParticleHandleHandle *j, struct tfParticleHandleHandle *k, struct tfParticleHandleHandle *l)
Construct a new dihedral handle and underlying dihedral.
HRESULT tfAngleHandle_gt(struct tfAngleHandleHandle *lhs, struct tfAngleHandleHandle *rhs, bool *result)
HRESULT tfBondHandle_gt(struct tfBondHandleHandle *lhs, struct tfBondHandleHandle *rhs, bool *result)
HRESULT tfDihedralHandle_getParts(struct tfDihedralHandleHandle *handle, int *parti, int *partj)
Get the ids of the particles of the dihedral.
HRESULT tfBondHandle_lt(struct tfBondHandleHandle *lhs, struct tfBondHandleHandle *rhs, bool *result)
HRESULT tfAngleHandle_getStyle(struct tfAngleHandleHandle *handle, struct tfRenderingStyleHandle *style)
Get the angle style.
HRESULT tfBondHandle_decays(struct tfBondHandleHandle *handle, bool *flag)
Tests whether this bond decays.
HRESULT tfDihedralHandle_gt(struct tfDihedralHandleHandle *lhs, struct tfDihedralHandleHandle *rhs, bool *result)
HRESULT tfAngleHandle_setDissociationEnergy(struct tfAngleHandleHandle *handle, tfFloatP_t value)
Set the dissociation energy.
HRESULT tfBondHandle_setHalfLife(struct tfBondHandleHandle *handle, tfFloatP_t value)
Set the half life.
HRESULT tfAngleHandle_setHalfLife(struct tfAngleHandleHandle *handle, tfFloatP_t value)
Set the half life.
HRESULT tfBondHandle_init(struct tfBondHandleHandle *handle, unsigned int id)
Construct a new bond handle from an existing bond id.
HRESULT tfBond_getIdsForParticle(unsigned int pid, unsigned int **bids, unsigned int *numIds)
Find all the bonds that interact with the given particle id.
HRESULT tfAngleHandle_getAll(struct tfAngleHandleHandle **handles, unsigned int *numBonds)
Gets all bonds in the universe.
HRESULT tfAngleHandle_init(struct tfAngleHandleHandle *handle, unsigned int id)
Construct a new angle handle from an existing angle id.
HRESULT tfAngleHandle_getPartList(struct tfAngleHandleHandle *handle, struct tfParticleListHandle *plist)
Get a list of the particles of the angle.
HRESULT tfAngleHandle_decays(struct tfAngleHandleHandle *handle, bool *flag)
Tests whether this angle decays.
HRESULT tfBondHandle_getId(struct tfBondHandleHandle *handle, int *id)
Get the id. Returns -1 if the underlying bond is invalid.
HRESULT tfAngleHandle_setStyle(struct tfAngleHandleHandle *handle, struct tfRenderingStyleHandle *style)
Set the angle style.
HRESULT tfDihedralHandle_getEnergy(struct tfDihedralHandleHandle *handle, tfFloatP_t *value)
Get the current energy of the dihedral.
HRESULT tfBondHandle_str(struct tfBondHandleHandle *handle, char **str, unsigned int *numChars)
Get a summary string of the bond.
HRESULT tfDihedralHandle_ge(struct tfDihedralHandleHandle *lhs, struct tfDihedralHandleHandle *rhs, bool *result)
HRESULT tfDihedral_destroyAll()
Deletes all bonds in the universe.
HRESULT tfDihedralHandle_getStyleDef(struct tfRenderingStyleHandle *style)
Get the dihedral style.
HRESULT tfBondHandle_getAll(struct tfBondHandleHandle **handles, unsigned int *numBonds)
Gets all bonds in the universe.
HRESULT tfAngleHandle_fromString(struct tfAngleHandleHandle *handle, const char *str)
Create from a JSON string representation.
HRESULT tfDihedralHandle_setActive(struct tfDihedralHandleHandle *handle, bool flag)
Set whether a dihedral is active.
HRESULT tfDihedralHandle_decays(struct tfDihedralHandleHandle *handle, bool *flag)
Tests whether this dihedral decays.
HRESULT tfBondHandle_destroy(struct tfBondHandleHandle *handle)
Destroy the bond.
HRESULT tfDihedralHandle_getAge(struct tfDihedralHandleHandle *handle, tfFloatP_t *value)
Get the age of the dihedral.
HRESULT tfBondHandle_hasPart(struct tfBondHandleHandle *handle, struct tfParticleHandleHandle *part, bool *result)
Test whether the bond has a particle.
HRESULT tfAngleHandle_toString(struct tfAngleHandleHandle *handle, char **str, unsigned int *numChars)
Get a JSON string representation.
HRESULT tfAngleHandle_ge(struct tfAngleHandleHandle *lhs, struct tfAngleHandleHandle *rhs, bool *result)
HRESULT tfAngleHandle_lt(struct tfAngleHandleHandle *lhs, struct tfAngleHandleHandle *rhs, bool *result)
HRESULT tfDihedralHandle_getAll(struct tfDihedralHandleHandle **handles, unsigned int *numBonds)
Gets all bonds in the universe.
HRESULT tfAngleHandle_str(struct tfAngleHandleHandle *handle, char **str, unsigned int *numChars)
Get a summary string of the angle.
HRESULT tfAngle_destroyAll()
Deletes all bonds in the universe.
HRESULT tfDihedralHandle_toString(struct tfDihedralHandleHandle *handle, char **str, unsigned int *numChars)
Get a JSON string representation.
HRESULT tfDihedralHandle_setDissociationEnergy(struct tfDihedralHandleHandle *handle, tfFloatP_t value)
Set the dissociation energy.
HRESULT tfAngleHandle_getPotential(struct tfAngleHandleHandle *handle, struct tfPotentialHandle *potential)
Get the potential of the angle.
HRESULT tfBondHandle_ge(struct tfBondHandleHandle *lhs, struct tfBondHandleHandle *rhs, bool *result)
HRESULT tfDihedralHandle_check(struct tfDihedralHandleHandle *handle, bool *flag)
Check the validity of the handle.
HRESULT tfBondHandle_setActive(struct tfBondHandleHandle *handle, bool flag)
Set whether a bond is active.
HRESULT tfAngleHandle_hasPart(struct tfAngleHandleHandle *handle, struct tfParticleHandleHandle *part, bool *result)
Test whether the bond has a particle.
HRESULT tfAngleHandle_getAge(struct tfAngleHandleHandle *handle, tfFloatP_t *value)
Get the age of the angle.
HRESULT tfBondHandle_setDissociationEnergy(struct tfBondHandleHandle *handle, tfFloatP_t value)
Set the dissociation energy.
HRESULT tfAngleHandle_eq(struct tfAngleHandleHandle *lhs, struct tfAngleHandleHandle *rhs, bool *result)