|
Tissue Forge C 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
|


Go to the source code of this file.
Data Structures | |
| struct | tfStateSpeciesHandle |
| Handle to a state::Species instance. More... | |
| struct | tfStateSpeciesListHandle |
| Handle to a state::SpeciesList instance. More... | |
| struct | tfStateSpeciesValueHandle |
| Handle to a state::SpeciesValue instance. More... | |
Functions | |
| HRESULT | tfStateSpecies_init (struct tfStateSpeciesHandle *handle) |
| Initialize an instance. | |
| HRESULT | tfStateSpecies_initS (struct tfStateSpeciesHandle *handle, const char *s) |
| Initialize an instance. | |
| HRESULT | tfStateSpecies_copy (struct tfStateSpeciesHandle *source, struct tfStateSpeciesHandle *destination) |
| Copy an instance. | |
| HRESULT | tfStateSpecies_destroy (struct tfStateSpeciesHandle *handle) |
| Destroy an instance. | |
| HRESULT | tfStateSpecies_getId (struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars) |
| Get the species id. | |
| HRESULT | tfStateSpecies_setId (struct tfStateSpeciesHandle *handle, const char *sid) |
| Set the species id. | |
| HRESULT | tfStateSpecies_getName (struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars) |
| Get the species name. | |
| HRESULT | tfStateSpecies_setName (struct tfStateSpeciesHandle *handle, const char *name) |
| Set the species name. | |
| HRESULT | tfStateSpecies_getSpeciesType (struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars) |
| Get the species type. | |
| HRESULT | tfStateSpecies_setSpeciesType (struct tfStateSpeciesHandle *handle, const char *sid) |
| Set the species type. | |
| HRESULT | tfStateSpecies_getCompartment (struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars) |
| Get the species compartment. | |
| HRESULT | tfStateSpecies_setCompartment (struct tfStateSpeciesHandle *handle, const char *sid) |
| Set the species compartment. | |
| HRESULT | tfStateSpecies_getInitialAmount (struct tfStateSpeciesHandle *handle, tfFloatP_t *value) |
| Get the initial amount. | |
| HRESULT | tfStateSpecies_setInitialAmount (struct tfStateSpeciesHandle *handle, tfFloatP_t value) |
| Set the initial amount. | |
| HRESULT | tfStateSpecies_getInitialConcentration (struct tfStateSpeciesHandle *handle, tfFloatP_t *value) |
| Get the initial concentration. | |
| HRESULT | tfStateSpecies_setInitialConcentration (struct tfStateSpeciesHandle *handle, tfFloatP_t value) |
| Set the initial concentration. | |
| HRESULT | tfStateSpecies_getSubstanceUnits (struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars) |
| Get the substance units. | |
| HRESULT | tfStateSpecies_setSubstanceUnits (struct tfStateSpeciesHandle *handle, const char *sid) |
| Set the substance units. | |
| HRESULT | tfStateSpecies_getSpatialSizeUnits (struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars) |
| Get the spatial size units. | |
| HRESULT | tfStateSpecies_setSpatialSizeUnits (struct tfStateSpeciesHandle *handle, const char *sid) |
| Set the spatial size units. | |
| HRESULT | tfStateSpecies_getUnits (struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars) |
| Get the units. | |
| HRESULT | tfStateSpecies_setUnits (struct tfStateSpeciesHandle *handle, const char *sname) |
| Set the units. | |
| HRESULT | tfStateSpecies_getHasOnlySubstanceUnits (struct tfStateSpeciesHandle *handle, bool *value) |
| Get whether a species has only substance units. | |
| HRESULT | tfStateSpecies_setHasOnlySubstanceUnits (struct tfStateSpeciesHandle *handle, bool value) |
| Set whether a species has only substance units. | |
| HRESULT | tfStateSpecies_getBoundaryCondition (struct tfStateSpeciesHandle *handle, bool *value) |
| Get whether a species has a boundary condition. | |
| HRESULT | tfStateSpecies_setBoundaryCondition (struct tfStateSpeciesHandle *handle, bool value) |
| Set whether a species has a boundary condition. | |
| HRESULT | tfStateSpecies_getCharge (struct tfStateSpeciesHandle *handle, int *charge) |
| Get the species charge. | |
| HRESULT | tfStateSpecies_setCharge (struct tfStateSpeciesHandle *handle, int value) |
| Set the species charge. | |
| HRESULT | tfStateSpecies_getConstant (struct tfStateSpeciesHandle *handle, bool *value) |
| Get whether a species is constnat. | |
| HRESULT | tfStateSpecies_setConstant (struct tfStateSpeciesHandle *handle, int value) |
| Set whether a species is constnat. | |
| HRESULT | tfStateSpecies_getConversionFactor (struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars) |
| Get the species conversion factor. | |
| HRESULT | tfStateSpecies_setConversionFactor (struct tfStateSpeciesHandle *handle, const char *sid) |
| Set the species conversion factor. | |
| HRESULT | tfStateSpecies_isSetId (struct tfStateSpeciesHandle *handle, bool *value) |
| Test whether the species id is set. | |
| HRESULT | tfStateSpecies_isSetName (struct tfStateSpeciesHandle *handle, bool *value) |
| Test whether the species name is set. | |
| HRESULT | tfStateSpecies_isSetSpeciesType (struct tfStateSpeciesHandle *handle, bool *value) |
| Test whether the species type is set. | |
| HRESULT | tfStateSpecies_isSetCompartment (struct tfStateSpeciesHandle *handle, bool *value) |
| Test whether the species compartment is set. | |
| HRESULT | tfStateSpecies_isSetInitialAmount (struct tfStateSpeciesHandle *handle, bool *value) |
| Test whether the species initial amount is set. | |
| HRESULT | tfStateSpecies_isSetInitialConcentration (struct tfStateSpeciesHandle *handle, bool *value) |
| Test whether the species initial concentration is set. | |
| HRESULT | tfStateSpecies_isSetSubstanceUnits (struct tfStateSpeciesHandle *handle, bool *value) |
| Test whether the species substance units are set. | |
| HRESULT | tfStateSpecies_isSetSpatialSizeUnits (struct tfStateSpeciesHandle *handle, bool *value) |
| Test whether the species spatial size units are set. | |
| HRESULT | tfStateSpecies_isSetUnits (struct tfStateSpeciesHandle *handle, bool *value) |
| Test whether the species units are set. | |
| HRESULT | tfStateSpecies_isSetCharge (struct tfStateSpeciesHandle *handle, bool *value) |
| Test whether the species charge is set. | |
| HRESULT | tfStateSpecies_isSetConversionFactor (struct tfStateSpeciesHandle *handle, bool *value) |
| Test whether the species conversion factor is set. | |
| HRESULT | tfStateSpecies_isSetConstant (struct tfStateSpeciesHandle *handle, bool *value) |
| Test whether the species is constant. | |
| HRESULT | tfStateSpecies_isSetBoundaryCondition (struct tfStateSpeciesHandle *handle, bool *value) |
| Test whether the species boundary condition is set. | |
| HRESULT | tfStateSpecies_isSetHasOnlySubstanceUnits (struct tfStateSpeciesHandle *handle, bool *value) |
| Test whether a species has only substance units. | |
| HRESULT | tfStateSpecies_unsetId (struct tfStateSpeciesHandle *handle) |
| Unset the species id. | |
| HRESULT | tfStateSpecies_unsetName (struct tfStateSpeciesHandle *handle) |
| Unset the species name. | |
| HRESULT | tfStateSpecies_unsetConstant (struct tfStateSpeciesHandle *handle) |
| Unset the species constant flag. | |
| HRESULT | tfStateSpecies_unsetSpeciesType (struct tfStateSpeciesHandle *handle) |
| Unset the species type. | |
| HRESULT | tfStateSpecies_unsetInitialAmount (struct tfStateSpeciesHandle *handle) |
| Unset the species initial amount. | |
| HRESULT | tfStateSpecies_unsetInitialConcentration (struct tfStateSpeciesHandle *handle) |
| Unset the species initial concentration. | |
| HRESULT | tfStateSpecies_unsetSubstanceUnits (struct tfStateSpeciesHandle *handle) |
| Unset the species substance units. | |
| HRESULT | tfStateSpecies_unsetSpatialSizeUnits (struct tfStateSpeciesHandle *handle) |
| Unset the species spatial size units. | |
| HRESULT | tfStateSpecies_unsetUnits (struct tfStateSpeciesHandle *handle) |
| Unset the species units. | |
| HRESULT | tfStateSpecies_unsetCharge (struct tfStateSpeciesHandle *handle) |
| Unset the species charge. | |
| HRESULT | tfStateSpecies_unsetConversionFactor (struct tfStateSpeciesHandle *handle) |
| Unset the species conversion factor. | |
| HRESULT | tfStateSpecies_unsetCompartment (struct tfStateSpeciesHandle *handle) |
| Unset the species compartment. | |
| HRESULT | tfStateSpecies_unsetBoundaryCondition (struct tfStateSpeciesHandle *handle) |
| Unset the species boundary condition. | |
| HRESULT | tfStateSpecies_unsetHasOnlySubstanceUnits (struct tfStateSpeciesHandle *handle) |
| Unset the species has only substance units flag. | |
| HRESULT | tfStateSpecies_hasRequiredAttributes (struct tfStateSpeciesHandle *handle, bool *value) |
| Test whether a species has required attributes. | |
| HRESULT | tfStateSpecies_toString (struct tfStateSpeciesHandle *handle, char **str, unsigned int *numChars) |
| Get a JSON string representation. | |
| HRESULT | tfStateSpecies_fromString (struct tfStateSpeciesHandle *handle, const char *str) |
| Create from a JSON string representation. | |
| HRESULT | tfStateSpeciesList_init (struct tfStateSpeciesListHandle *handle) |
| Initialize an instance. | |
| HRESULT | tfStateSpeciesList_destroy (struct tfStateSpeciesListHandle *handle) |
| Destroy an instance. | |
| HRESULT | tfStateSpeciesList_getStr (struct tfStateSpeciesListHandle *handle, char **str, unsigned int *numChars) |
| Get a string representation. | |
| HRESULT | tfStateSpeciesList_indexOf (struct tfStateSpeciesListHandle *handle, const char *s, unsigned int *i) |
| Get the index of a species name. | |
| HRESULT | tfStateSpeciesList_getSize (struct tfStateSpeciesListHandle *handle, unsigned int *size) |
| Get the size of a list. | |
| HRESULT | tfStateSpeciesList_getItem (struct tfStateSpeciesListHandle *handle, unsigned int index, struct tfStateSpeciesHandle *species) |
| Get a species by index. | |
| HRESULT | tfStateSpeciesList_getItemS (struct tfStateSpeciesListHandle *handle, const char *s, struct tfStateSpeciesHandle *species) |
| Get a species by name. | |
| HRESULT | tfStateSpeciesList_insert (struct tfStateSpeciesListHandle *handle, struct tfStateSpeciesHandle *species) |
| Insert a species. | |
| HRESULT | tfStateSpeciesList_insertS (struct tfStateSpeciesListHandle *handle, const char *s) |
| Insert a species by name. | |
| HRESULT | tfStateSpeciesList_toString (struct tfStateSpeciesListHandle *handle, char **str, unsigned int *numChars) |
| Get a JSON string representation. | |
| HRESULT | tfStateSpeciesList_fromString (struct tfStateSpeciesListHandle *handle, const char *str) |
| Create from a JSON string representation. | |
| HRESULT | tfStateSpeciesValue_init (struct tfStateSpeciesValueHandle *handle, struct tfStateStateVectorHandle *state_vector, unsigned int index) |
| Initialize an instance. | |
| HRESULT | tfStateSpeciesValue_getValue (struct tfStateSpeciesValueHandle *handle, tfFloatP_t *value) |
| Get the value. | |
| HRESULT | tfStateSpeciesValue_setValue (struct tfStateSpeciesValueHandle *handle, tfFloatP_t value) |
| Set the value. | |
| HRESULT | tfStateSpeciesValue_getStateVector (struct tfStateSpeciesValueHandle *handle, struct tfStateStateVectorHandle *state_vector) |
| Get the state vector. | |
| HRESULT | tfStateSpeciesValue_getIndex (struct tfStateSpeciesValueHandle *handle, unsigned int *index) |
| Get the species index. | |
| HRESULT | tfStateSpeciesValue_getSpecies (struct tfStateSpeciesValueHandle *handle, struct tfStateSpeciesHandle *species) |
| Get the species. | |
| HRESULT | tfStateSpeciesValue_getBoundaryCondition (struct tfStateSpeciesValueHandle *handle, bool *value) |
| Test whether the species has a boundary condition. | |
| HRESULT | tfStateSpeciesValue_setBoundaryCondition (struct tfStateSpeciesValueHandle *handle, bool value) |
| Set whether the species has a boundary condition. | |
| HRESULT | tfStateSpeciesValue_getInitialAmount (struct tfStateSpeciesValueHandle *handle, tfFloatP_t *value) |
| Get the species initial amount. | |
| HRESULT | tfStateSpeciesValue_setInitialAmount (struct tfStateSpeciesValueHandle *handle, tfFloatP_t value) |
| Set the species initial amount. | |
| HRESULT | tfStateSpeciesValue_getInitialConcentration (struct tfStateSpeciesValueHandle *handle, tfFloatP_t *value) |
| Get the species initial concentration. | |
| HRESULT | tfStateSpeciesValue_setInitialConcentration (struct tfStateSpeciesValueHandle *handle, tfFloatP_t value) |
| Set the species initial concentration. | |
| HRESULT | tfStateSpeciesValue_getConstant (struct tfStateSpeciesValueHandle *handle, bool *value) |
| Test whether the species is constant. | |
| HRESULT | tfStateSpeciesValue_setConstant (struct tfStateSpeciesValueHandle *handle, int value) |
| Set whether the species is constant. | |
| HRESULT | tfStateSpeciesValue_secreteL (struct tfStateSpeciesValueHandle *handle, tfFloatP_t amount, struct tfParticleListHandle *to, tfFloatP_t *secreted) |
| Secrete this species into a neighborhood. | |
| HRESULT | tfStateSpeciesValue_secreteD (struct tfStateSpeciesValueHandle *handle, tfFloatP_t amount, tfFloatP_t distance, tfFloatP_t *secreted) |
| Secrete this species into a neighborhood. | |
| HRESULT tfStateSpecies_copy | ( | struct tfStateSpeciesHandle * | source, |
| struct tfStateSpeciesHandle * | destination ) |
Copy an instance.
| source | populated handle |
| destination | handle to populate |
| HRESULT tfStateSpecies_destroy | ( | struct tfStateSpeciesHandle * | handle | ) |
Destroy an instance.
| handle | populated handle |
| HRESULT tfStateSpecies_fromString | ( | struct tfStateSpeciesHandle * | handle, |
| const char * | str ) |
Create from a JSON string representation.
| HRESULT tfStateSpecies_getBoundaryCondition | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Get whether a species has a boundary condition.
| handle | populated handle |
| value | flag signifying whether a species has a boundary condition |
| HRESULT tfStateSpecies_getCharge | ( | struct tfStateSpeciesHandle * | handle, |
| int * | charge ) |
Get the species charge.
| handle | populated handle |
| charge | species charge |
| HRESULT tfStateSpecies_getCompartment | ( | struct tfStateSpeciesHandle * | handle, |
| char ** | str, | ||
| unsigned int * | numChars ) |
Get the species compartment.
| handle | populated handle |
| str | array to populate |
| numChars | number of array characters |
| HRESULT tfStateSpecies_getConstant | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Get whether a species is constnat.
| handle | populated handle |
| value | flag signifying whether a species is constnat |
| HRESULT tfStateSpecies_getConversionFactor | ( | struct tfStateSpeciesHandle * | handle, |
| char ** | str, | ||
| unsigned int * | numChars ) |
Get the species conversion factor.
| handle | populated handle |
| str | array to populate |
| numChars | number of array characters |
| HRESULT tfStateSpecies_getHasOnlySubstanceUnits | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Get whether a species has only substance units.
| handle | populated handle |
| value | flag signifying whether a species has only substance units |
| HRESULT tfStateSpecies_getId | ( | struct tfStateSpeciesHandle * | handle, |
| char ** | str, | ||
| unsigned int * | numChars ) |
Get the species id.
| handle | populated handle |
| str | array to populate |
| numChars | number of array characters |
| HRESULT tfStateSpecies_getInitialAmount | ( | struct tfStateSpeciesHandle * | handle, |
| tfFloatP_t * | value ) |
Get the initial amount.
| handle | populated handle |
| value | initial amount |
| HRESULT tfStateSpecies_getInitialConcentration | ( | struct tfStateSpeciesHandle * | handle, |
| tfFloatP_t * | value ) |
Get the initial concentration.
| handle | populated handle |
| value | initial concentration |
| HRESULT tfStateSpecies_getName | ( | struct tfStateSpeciesHandle * | handle, |
| char ** | str, | ||
| unsigned int * | numChars ) |
Get the species name.
| handle | populated handle |
| str | array to populate |
| numChars | number of array characters |
| HRESULT tfStateSpecies_getSpatialSizeUnits | ( | struct tfStateSpeciesHandle * | handle, |
| char ** | str, | ||
| unsigned int * | numChars ) |
Get the spatial size units.
| handle | populated handle |
| str | array to populate |
| numChars | number of array characters |
| HRESULT tfStateSpecies_getSpeciesType | ( | struct tfStateSpeciesHandle * | handle, |
| char ** | str, | ||
| unsigned int * | numChars ) |
Get the species type.
| handle | populated handle |
| str | array to populate |
| numChars | number of array character |
| HRESULT tfStateSpecies_getSubstanceUnits | ( | struct tfStateSpeciesHandle * | handle, |
| char ** | str, | ||
| unsigned int * | numChars ) |
Get the substance units.
| handle | populated handle |
| str | array to populate |
| numChars | number of array characters |
| HRESULT tfStateSpecies_getUnits | ( | struct tfStateSpeciesHandle * | handle, |
| char ** | str, | ||
| unsigned int * | numChars ) |
Get the units.
| handle | populated handle |
| str | array to populate |
| numChars | number of array characters |
| HRESULT tfStateSpecies_hasRequiredAttributes | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Test whether a species has required attributes.
| handle | populated handle |
| value | outcome of test |
| HRESULT tfStateSpecies_init | ( | struct tfStateSpeciesHandle * | handle | ) |
Initialize an instance.
| handle | handle to populate |
| HRESULT tfStateSpecies_initS | ( | struct tfStateSpeciesHandle * | handle, |
| const char * | s ) |
Initialize an instance.
| handle | handle to populate |
| s | string constructor |
| HRESULT tfStateSpecies_isSetBoundaryCondition | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Test whether the species boundary condition is set.
| handle | populated handle |
| value | outcome of test |
| HRESULT tfStateSpecies_isSetCharge | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Test whether the species charge is set.
| handle | populated handle |
| value | outcome of test |
| HRESULT tfStateSpecies_isSetCompartment | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Test whether the species compartment is set.
| handle | populated handle |
| value | outcome of test |
| HRESULT tfStateSpecies_isSetConstant | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Test whether the species is constant.
| handle | populated handle |
| value | outcome of test |
| HRESULT tfStateSpecies_isSetConversionFactor | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Test whether the species conversion factor is set.
| handle | populated handle |
| value | outcome of test |
| HRESULT tfStateSpecies_isSetHasOnlySubstanceUnits | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Test whether a species has only substance units.
| handle | populated handle |
| value | outcome of test |
| HRESULT tfStateSpecies_isSetId | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Test whether the species id is set.
| handle | populated handle |
| value | outcome of test |
| HRESULT tfStateSpecies_isSetInitialAmount | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Test whether the species initial amount is set.
| handle | populated handle |
| value | outcome of test |
| HRESULT tfStateSpecies_isSetInitialConcentration | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Test whether the species initial concentration is set.
| handle | populated handle |
| value | outcome of test |
| HRESULT tfStateSpecies_isSetName | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Test whether the species name is set.
| handle | populated handle |
| value | outcome of test |
| HRESULT tfStateSpecies_isSetSpatialSizeUnits | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Test whether the species spatial size units are set.
| handle | populated handle |
| value | outcome of test |
| HRESULT tfStateSpecies_isSetSpeciesType | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Test whether the species type is set.
| handle | populated handle |
| value | outcome of test |
| HRESULT tfStateSpecies_isSetSubstanceUnits | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Test whether the species substance units are set.
| handle | populated handle |
| value | outcome of test |
| HRESULT tfStateSpecies_isSetUnits | ( | struct tfStateSpeciesHandle * | handle, |
| bool * | value ) |
Test whether the species units are set.
| handle | populated handle |
| value | outcome of test |
| HRESULT tfStateSpecies_setBoundaryCondition | ( | struct tfStateSpeciesHandle * | handle, |
| bool | value ) |
Set whether a species has a boundary condition.
| handle | populated handle |
| value | flag signifying whether a species has a boundary condition |
| HRESULT tfStateSpecies_setCharge | ( | struct tfStateSpeciesHandle * | handle, |
| int | value ) |
Set the species charge.
| handle | populated handle |
| value | species charge |
| HRESULT tfStateSpecies_setCompartment | ( | struct tfStateSpeciesHandle * | handle, |
| const char * | sid ) |
Set the species compartment.
| handle | populated handle |
| sid | compartment string |
| HRESULT tfStateSpecies_setConstant | ( | struct tfStateSpeciesHandle * | handle, |
| int | value ) |
Set whether a species is constnat.
| handle | populated handle |
| value | flag signifying whether a species is constnat |
| HRESULT tfStateSpecies_setConversionFactor | ( | struct tfStateSpeciesHandle * | handle, |
| const char * | sid ) |
Set the species conversion factor.
| handle | populated handle |
| sid | species conversion factor string |
| HRESULT tfStateSpecies_setHasOnlySubstanceUnits | ( | struct tfStateSpeciesHandle * | handle, |
| bool | value ) |
Set whether a species has only substance units.
| handle | populated handle |
| value | flag signifying whether a species has only substance units |
| HRESULT tfStateSpecies_setId | ( | struct tfStateSpeciesHandle * | handle, |
| const char * | sid ) |
Set the species id.
| handle | populated handle |
| sid | id string |
| HRESULT tfStateSpecies_setInitialAmount | ( | struct tfStateSpeciesHandle * | handle, |
| tfFloatP_t | value ) |
Set the initial amount.
| handle | populated handle |
| value | initial amount |
| HRESULT tfStateSpecies_setInitialConcentration | ( | struct tfStateSpeciesHandle * | handle, |
| tfFloatP_t | value ) |
Set the initial concentration.
| handle | populated handle |
| value | initial concentration |
| HRESULT tfStateSpecies_setName | ( | struct tfStateSpeciesHandle * | handle, |
| const char * | name ) |
Set the species name.
| handle | populated handle |
| name | name string |
| HRESULT tfStateSpecies_setSpatialSizeUnits | ( | struct tfStateSpeciesHandle * | handle, |
| const char * | sid ) |
Set the spatial size units.
| handle | populated handle |
| sid | spatial size units string |
| HRESULT tfStateSpecies_setSpeciesType | ( | struct tfStateSpeciesHandle * | handle, |
| const char * | sid ) |
Set the species type.
| handle | populated handle |
| sid | type string |
| HRESULT tfStateSpecies_setSubstanceUnits | ( | struct tfStateSpeciesHandle * | handle, |
| const char * | sid ) |
Set the substance units.
| handle | populated handle |
| sid | substance units string |
| HRESULT tfStateSpecies_setUnits | ( | struct tfStateSpeciesHandle * | handle, |
| const char * | sname ) |
Set the units.
| handle | populated handle |
| sname | units string |
| HRESULT tfStateSpecies_toString | ( | struct tfStateSpeciesHandle * | handle, |
| char ** | str, | ||
| unsigned int * | numChars ) |
Get a JSON string representation.
| handle | populated handle |
| str | string representation; can be used as an argument in a type particle factory |
| numChars | number of characters of string representation |
| HRESULT tfStateSpecies_unsetBoundaryCondition | ( | struct tfStateSpeciesHandle * | handle | ) |
Unset the species boundary condition.
| handle | populated handle |
| HRESULT tfStateSpecies_unsetCharge | ( | struct tfStateSpeciesHandle * | handle | ) |
Unset the species charge.
| handle | populated handle |
| HRESULT tfStateSpecies_unsetCompartment | ( | struct tfStateSpeciesHandle * | handle | ) |
Unset the species compartment.
| handle | populated handle |
| HRESULT tfStateSpecies_unsetConstant | ( | struct tfStateSpeciesHandle * | handle | ) |
Unset the species constant flag.
| handle | populated handle |
| HRESULT tfStateSpecies_unsetConversionFactor | ( | struct tfStateSpeciesHandle * | handle | ) |
Unset the species conversion factor.
| handle | populated handle |
| HRESULT tfStateSpecies_unsetHasOnlySubstanceUnits | ( | struct tfStateSpeciesHandle * | handle | ) |
Unset the species has only substance units flag.
| handle | populated handle |
| HRESULT tfStateSpecies_unsetId | ( | struct tfStateSpeciesHandle * | handle | ) |
Unset the species id.
| handle | populated handle |
| HRESULT tfStateSpecies_unsetInitialAmount | ( | struct tfStateSpeciesHandle * | handle | ) |
Unset the species initial amount.
| handle | populated handle |
| HRESULT tfStateSpecies_unsetInitialConcentration | ( | struct tfStateSpeciesHandle * | handle | ) |
Unset the species initial concentration.
| handle | populated handle |
| HRESULT tfStateSpecies_unsetName | ( | struct tfStateSpeciesHandle * | handle | ) |
Unset the species name.
| handle | populated handle |
| HRESULT tfStateSpecies_unsetSpatialSizeUnits | ( | struct tfStateSpeciesHandle * | handle | ) |
Unset the species spatial size units.
| handle | populated handle |
| HRESULT tfStateSpecies_unsetSpeciesType | ( | struct tfStateSpeciesHandle * | handle | ) |
Unset the species type.
| handle | populated handle |
| HRESULT tfStateSpecies_unsetSubstanceUnits | ( | struct tfStateSpeciesHandle * | handle | ) |
Unset the species substance units.
| handle | populated handle |
| HRESULT tfStateSpecies_unsetUnits | ( | struct tfStateSpeciesHandle * | handle | ) |
Unset the species units.
| handle | populated handle |
| HRESULT tfStateSpeciesList_destroy | ( | struct tfStateSpeciesListHandle * | handle | ) |
Destroy an instance.
| handle | populated handle |
| HRESULT tfStateSpeciesList_fromString | ( | struct tfStateSpeciesListHandle * | handle, |
| const char * | str ) |
Create from a JSON string representation.
| HRESULT tfStateSpeciesList_getItem | ( | struct tfStateSpeciesListHandle * | handle, |
| unsigned int | index, | ||
| struct tfStateSpeciesHandle * | species ) |
Get a species by index.
| handle | populated handle |
| index | index of the species |
| species | species at the given index |
| HRESULT tfStateSpeciesList_getItemS | ( | struct tfStateSpeciesListHandle * | handle, |
| const char * | s, | ||
| struct tfStateSpeciesHandle * | species ) |
Get a species by name.
| handle | populated handle |
| s | name of species |
| species | species at the given index |
| HRESULT tfStateSpeciesList_getSize | ( | struct tfStateSpeciesListHandle * | handle, |
| unsigned int * | size ) |
Get the size of a list.
| handle | populated handle |
| size | size of the list |
| HRESULT tfStateSpeciesList_getStr | ( | struct tfStateSpeciesListHandle * | handle, |
| char ** | str, | ||
| unsigned int * | numChars ) |
Get a string representation.
| handle | populated handle |
| str | array to populate |
| numChars | number of array characters |
| HRESULT tfStateSpeciesList_indexOf | ( | struct tfStateSpeciesListHandle * | handle, |
| const char * | s, | ||
| unsigned int * | i ) |
Get the index of a species name.
| handle | populated handle |
| s | species name |
| i | species index |
| HRESULT tfStateSpeciesList_init | ( | struct tfStateSpeciesListHandle * | handle | ) |
Initialize an instance.
| handle | handle to populate |
| HRESULT tfStateSpeciesList_insert | ( | struct tfStateSpeciesListHandle * | handle, |
| struct tfStateSpeciesHandle * | species ) |
Insert a species.
| handle | populated handle |
| species | species to insert |
| HRESULT tfStateSpeciesList_insertS | ( | struct tfStateSpeciesListHandle * | handle, |
| const char * | s ) |
Insert a species by name.
| handle | populated handle |
| s | name of the species to insert |
| HRESULT tfStateSpeciesList_toString | ( | struct tfStateSpeciesListHandle * | handle, |
| char ** | str, | ||
| unsigned int * | numChars ) |
Get a JSON string representation.
| handle | populated handle |
| str | string representation; can be used as an argument in a type particle factory |
| numChars | number of characters of string representation |
| HRESULT tfStateSpeciesValue_getBoundaryCondition | ( | struct tfStateSpeciesValueHandle * | handle, |
| bool * | value ) |
Test whether the species has a boundary condition.
| handle | populated handle |
| value | flag signifying whether the species has a boundary condition |
| HRESULT tfStateSpeciesValue_getConstant | ( | struct tfStateSpeciesValueHandle * | handle, |
| bool * | value ) |
Test whether the species is constant.
| handle | populated handle |
| value | flag signifying whether the species is constant |
| HRESULT tfStateSpeciesValue_getIndex | ( | struct tfStateSpeciesValueHandle * | handle, |
| unsigned int * | index ) |
Get the species index.
| handle | populated handle |
| index | species index |
| HRESULT tfStateSpeciesValue_getInitialAmount | ( | struct tfStateSpeciesValueHandle * | handle, |
| tfFloatP_t * | value ) |
Get the species initial amount.
| handle | populated handle |
| value | initial amount |
| HRESULT tfStateSpeciesValue_getInitialConcentration | ( | struct tfStateSpeciesValueHandle * | handle, |
| tfFloatP_t * | value ) |
Get the species initial concentration.
| handle | populated handle |
| value | initial concentration |
| HRESULT tfStateSpeciesValue_getSpecies | ( | struct tfStateSpeciesValueHandle * | handle, |
| struct tfStateSpeciesHandle * | species ) |
Get the species.
| handle | populated handle |
| species | handle to populate |
| HRESULT tfStateSpeciesValue_getStateVector | ( | struct tfStateSpeciesValueHandle * | handle, |
| struct tfStateStateVectorHandle * | state_vector ) |
Get the state vector.
| handle | populated handle |
| state_vector | state vector |
| HRESULT tfStateSpeciesValue_getValue | ( | struct tfStateSpeciesValueHandle * | handle, |
| tfFloatP_t * | value ) |
Get the value.
| handle | populated handle |
| value | species value |
| HRESULT tfStateSpeciesValue_init | ( | struct tfStateSpeciesValueHandle * | handle, |
| struct tfStateStateVectorHandle * | state_vector, | ||
| unsigned int | index ) |
Initialize an instance.
| handle | handle to populate |
| value | species value |
| state_vector | state vector of species |
| index | species index in state vector |
| HRESULT tfStateSpeciesValue_secreteD | ( | struct tfStateSpeciesValueHandle * | handle, |
| tfFloatP_t | amount, | ||
| tfFloatP_t | distance, | ||
| tfFloatP_t * | secreted ) |
Secrete this species into a neighborhood.
| handle | populated handle |
| amount | amount to secrete. |
| distance | neighborhood distance. |
| secreted | amount actually secreted, accounting for availability and other subtleties. |
| HRESULT tfStateSpeciesValue_secreteL | ( | struct tfStateSpeciesValueHandle * | handle, |
| tfFloatP_t | amount, | ||
| struct tfParticleListHandle * | to, | ||
| tfFloatP_t * | secreted ) |
Secrete this species into a neighborhood.
| handle | populated handle |
| amount | amount to secrete. |
| to | list of particles to secrete to. |
| secreted | amount actually secreted, accounting for availability and other subtleties. |
| HRESULT tfStateSpeciesValue_setBoundaryCondition | ( | struct tfStateSpeciesValueHandle * | handle, |
| bool | value ) |
Set whether the species has a boundary condition.
| handle | populated handle |
| value | flag signifying whether the species has a boundary condition |
| HRESULT tfStateSpeciesValue_setConstant | ( | struct tfStateSpeciesValueHandle * | handle, |
| int | value ) |
Set whether the species is constant.
| handle | populated handle |
| value | flag signifying whether the species is constant |
| HRESULT tfStateSpeciesValue_setInitialAmount | ( | struct tfStateSpeciesValueHandle * | handle, |
| tfFloatP_t | value ) |
Set the species initial amount.
| handle | populated handle |
| value | initial amount |
| HRESULT tfStateSpeciesValue_setInitialConcentration | ( | struct tfStateSpeciesValueHandle * | handle, |
| tfFloatP_t | value ) |
Set the species initial concentration.
| handle | populated handle |
| value | initial concentration |
| HRESULT tfStateSpeciesValue_setValue | ( | struct tfStateSpeciesValueHandle * | handle, |
| tfFloatP_t | value ) |
Set the value.
| handle | populated handle |
| value | species value |