Tissue Forge C++
0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
tfSpeciesValue.h
1
/*******************************************************************************
2
* This file is part of Tissue Forge.
3
* Copyright (c) 2022-2024 T.J. Sego
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU Lesser General Public License as published
7
* by the Free Software Foundation, either version 3 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*
18
******************************************************************************/
19
20
#ifndef _SOURCE_STATE_TFSPECIESVALUE_H_
21
#define _SOURCE_STATE_TFSPECIESVALUE_H_
22
23
#include <
tf_port.h
>
24
#include "
tfSpecies.h
"
25
26
27
namespace
TissueForge
{
28
29
30
struct
ParticleList
;
31
32
33
namespace
state
{
34
35
36
struct
StateVector
;
37
38
42
struct
CAPI_EXPORT SpeciesValue
43
{
44
struct
TissueForge::state::StateVector
*state_vector;
45
uint32_t index;
46
47
TissueForge::state::Species
*species();
48
49
FloatP_t getValue()
const
;
50
void
setValue(
const
FloatP_t &_value);
51
bool
getBoundaryCondition();
52
int
setBoundaryCondition(
const
int
&value);
53
FloatP_t getInitialAmount();
54
int
setInitialAmount(
const
FloatP_t &value);
55
FloatP_t getInitialConcentration();
56
int
setInitialConcentration(
const
FloatP_t &value);
57
bool
getConstant();
58
int
setConstant(
const
int
&value);
59
67
FloatP_t
secrete
(
const
FloatP_t &amount,
const
TissueForge::ParticleList
&to);
68
76
FloatP_t
secrete
(
const
FloatP_t &amount,
const
FloatP_t &distance);
77
78
SpeciesValue(
struct
TissueForge::state::StateVector
*state_vector, uint32_t index);
79
};
80
81
}}
82
83
#endif
// _SOURCE_STATE_TFSPECIESVALUE_H_
TissueForge::state
Tissue Forge state dynamics modeling features.
Definition
tfSpecies.h:42
TissueForge
Include Python header, disable linking to pythonX_d.lib on Windows in debug mode.
Definition
tfAngleConfig.h:26
TissueForge::ParticleList
A special list with convenience methods for working with sets of particles.
Definition
tfParticleList.h:52
TissueForge::state::Species
The Tissue Forge species object.
Definition
tfSpecies.h:58
TissueForge::state::SpeciesValue::secrete
FloatP_t secrete(const FloatP_t &amount, const FloatP_t &distance)
Secrete this species into a neighborhood.
TissueForge::state::SpeciesValue::secrete
FloatP_t secrete(const FloatP_t &amount, const TissueForge::ParticleList &to)
Secrete this species into a neighborhood.
TissueForge::state::StateVector
A state vector of an object.
Definition
tfStateVector.h:50
tf_port.h
tfSpecies.h
source
state
tfSpeciesValue.h
Generated by
1.13.2