Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
tfParticle.h File Reference
#include "tf_platform.h"
#include "tf_fptype.h"
#include <state/tfStateVector.h>
#include <types/tf_types.h>
#include "tfSpace_cell.h"
#include "tfAngle.h"
#include "tfBond.h"
#include "tfDihedral.h"
#include "tfParticleList.h"
#include "tfParticleTypeList.h"
#include <set>
#include <vector>
Include dependency graph for tfParticle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TissueForge::Particle
 
struct  TissueForge::ParticleHandle
 A handle to a particle. More...
 
struct  TissueForge::ParticleType
 Structure containing information on each particle type. More...
 

Namespaces

namespace  TissueForge
 Include Python header, disable linking to pythonX_d.lib on Windows in debug mode.
 
namespace  TissueForge::rendering
 Tissue Forge rendering and visualization.
 

Macros

#define CLUSTER_PARTLIST_INCR   50
 
#define VERIFY_PARTICLES()
 

Typedefs

typedef enum TissueForge::ParticleTypeFlags TissueForge::ParticleTypeFlags
 
typedef enum TissueForge::ParticleDynamics TissueForge::ParticleDynamics
 
typedef enum TissueForge::ParticleFlags TissueForge::ParticleFlags
 

Enumerations

enum  ParticleTypeFlags { PARTICLE_TYPE_NONE = 0 , PARTICLE_TYPE_INERTIAL = 1 << 0 , PARTICLE_TYPE_DISSAPATIVE = 1 << 1 }
 
enum  ParticleDynamics { PARTICLE_NEWTONIAN = 0 , PARTICLE_OVERDAMPED = 1 }
 
enum  ParticleFlags {
  PARTICLE_NONE = 0 , PARTICLE_GHOST = 1 << 0 , PARTICLE_CLUSTER = 1 << 1 , PARTICLE_BOUND = 1 << 2 ,
  PARTICLE_FROZEN_X = 1 << 3 , PARTICLE_FROZEN_Y = 1 << 4 , PARTICLE_FROZEN_Z = 1 << 5 , PARTICLE_FROZEN = PARTICLE_FROZEN_X | PARTICLE_FROZEN_Y | PARTICLE_FROZEN_Z ,
  PARTICLE_LARGE = 1 << 6
}
 

Functions

HRESULT TissueForge::Particle_Verify ()
 
ParticleTypeTissueForge::Particle_GetType ()
 
ParticleTypeTissueForge::Cluster_GetType ()
 
ParticleTypeTissueForge::ParticleType_ForEngine (struct engine *e, FPTYPE mass, FPTYPE charge, const char *name, const char *name2)
 
ParticleTypeTissueForge::ParticleType_New (const char *_name)
 
ParticleTypeTissueForge::ParticleType_FindFromName (const char *name)
 Get a registered particle type by type name.
 
ParticleTissueForge::Particle_Get (ParticleHandle *pypart)
 
ParticleHandleTissueForge::Particle_split (Particle *self, const FVector3 &childDirection, const FPTYPE &childRatio, const std::vector< FPTYPE > *speciesRatios=NULL, ParticleType *parentType=NULL, ParticleType *childType=NULL)
 
ParticleHandleTissueForge::Particle_New (ParticleType *type, FVector3 *positn=NULL, FVector3 *velocity=NULL, int *clusterId=NULL)
 
std::vector< int > TissueForge::Particles_New (std::vector< ParticleType * > types, std::vector< FVector3 > *positions=NULL, std::vector< FVector3 > *velocities=NULL, std::vector< int > *clusterIds=NULL)
 
std::vector< int > TissueForge::Particles_New (ParticleType *type, unsigned int nr_parts=0, std::vector< FVector3 > *positions=NULL, std::vector< FVector3 > *velocities=NULL, std::vector< int > *clusterIds=NULL)
 
HRESULT TissueForge::Particle_Become (Particle *part, ParticleType *type)
 
bool TissueForge::ParticleType_checkRegistered (ParticleType *type)
 
HRESULT TissueForge::_Particle_init ()
 
bool TissueForge::operator< (const TissueForge::ParticleHandle &lhs, const TissueForge::ParticleHandle &rhs)
 
bool TissueForge::operator> (const TissueForge::ParticleHandle &lhs, const TissueForge::ParticleHandle &rhs)
 
bool TissueForge::operator<= (const TissueForge::ParticleHandle &lhs, const TissueForge::ParticleHandle &rhs)
 
bool TissueForge::operator>= (const TissueForge::ParticleHandle &lhs, const TissueForge::ParticleHandle &rhs)
 
bool TissueForge::operator== (const TissueForge::ParticleHandle &lhs, const TissueForge::ParticleHandle &rhs)
 
bool TissueForge::operator!= (const TissueForge::ParticleHandle &lhs, const TissueForge::ParticleHandle &rhs)
 
bool TissueForge::operator< (const TissueForge::ParticleType &lhs, const TissueForge::ParticleType &rhs)
 
bool TissueForge::operator> (const TissueForge::ParticleType &lhs, const TissueForge::ParticleType &rhs)
 
bool TissueForge::operator<= (const TissueForge::ParticleType &lhs, const TissueForge::ParticleType &rhs)
 
bool TissueForge::operator>= (const TissueForge::ParticleType &lhs, const TissueForge::ParticleType &rhs)
 
bool TissueForge::operator== (const TissueForge::ParticleType &lhs, const TissueForge::ParticleType &rhs)
 
bool TissueForge::operator!= (const TissueForge::ParticleType &lhs, const TissueForge::ParticleType &rhs)
 
std::ostream & operator<< (std::ostream &os, const TissueForge::ParticleHandle &p)
 
std::ostream & operator<< (std::ostream &os, const TissueForge::ParticleType &p)
 

Variables

unsigned int * TissueForge::Particle_Colors
 

Macro Definition Documentation

◆ CLUSTER_PARTLIST_INCR

#define CLUSTER_PARTLIST_INCR   50

increment size of cluster particle list.

◆ VERIFY_PARTICLES

#define VERIFY_PARTICLES ( )
Value:
Particle_Verify()