25#ifndef _MDCORE_INCLUDE_TFFLUX_H_
26#define _MDCORE_INCLUDE_TFFLUX_H_
28#include "tf_platform.h"
29#include <mdcore_config.h>
55 int8_t kinds[TF_SIMD_SIZE];
57 int32_t indices_a[TF_SIMD_SIZE];
58 int32_t indices_b[TF_SIMD_SIZE];
59 FPTYPE coef[TF_SIMD_SIZE];
60 FPTYPE decay_coef[TF_SIMD_SIZE];
61 FPTYPE target[TF_SIMD_SIZE];
62 FPTYPE cutoff[TF_SIMD_SIZE];
94 static Fluxes* newFluxes(int32_t init_size);
99 const std::string& name,
103 FPTYPE cutoff=-FPTYPE_ONE
153 const std::string &name,
155 const FPTYPE &decay=FPTYPE_ZERO,
156 const FPTYPE &cutoff=-FPTYPE_ONE
173 const std::string &name,
175 const FPTYPE &decay=FPTYPE_ZERO,
176 const FPTYPE &cutoff=-FPTYPE_ONE
215 const std::string &name,
217 const FPTYPE &target,
218 const FPTYPE &decay=FPTYPE_ZERO,
219 const FPTYPE &cutoff=-FPTYPE_ONE
258 const std::string &name,
260 const FPTYPE &target,
261 const FPTYPE &decay=FPTYPE_ZERO,
262 const FPTYPE &cutoff=-FPTYPE_ONE
Include Python header, disable linking to pythonX_d.lib on Windows in debug mode.
Definition tfAngleConfig.h:26
HRESULT Fluxes_integrate(space_cell *cell, FPTYPE dt=-1.0)
A flux is defined between a pair of types, and acts on the state vector between a pair of instances.
Definition tfFlux.h:88
static Fluxes * flux(ParticleType *A, ParticleType *B, const std::string &name, const FPTYPE &k, const FPTYPE &decay=FPTYPE_ZERO, const FPTYPE &cutoff=-FPTYPE_ONE)
Alias of fluxFick.
static Fluxes * fluxFick(ParticleType *A, ParticleType *B, const std::string &name, const FPTYPE &k, const FPTYPE &decay=FPTYPE_ZERO, const FPTYPE &cutoff=-FPTYPE_ONE)
Creates and binds a Fickian diffusion flux.
static Fluxes * secrete(ParticleType *A, ParticleType *B, const std::string &name, const FPTYPE &k, const FPTYPE &target, const FPTYPE &decay=FPTYPE_ZERO, const FPTYPE &cutoff=-FPTYPE_ONE)
Creates a secretion flux by active pumping.
static Fluxes * uptake(ParticleType *A, ParticleType *B, const std::string &name, const FPTYPE &k, const FPTYPE &target, const FPTYPE &decay=FPTYPE_ZERO, const FPTYPE &cutoff=-FPTYPE_ONE)
Creates an uptake flux by active pumping.
static Fluxes * fromString(const std::string &str)
Create from a JSON string representation.
std::string toString()
Get a JSON string representation.
Structure containing information on each particle type.
Definition tfParticle.h:768
the space_cell structure
Definition tfSpace_cell.h:103
int32_t HRESULT
Definition tf_port.h:255