VR-Vantage 3.1 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Enumerations | Functions
particles.h File Reference

Go to the source code of this file.

Classes

struct  ENGINE_TYPE
struct  FLARE_FLAME
struct  HEAVY_OBSCURANT
struct  PARTICLEINPUT
struct  PARTICLERADIALSHOOTER
struct  PARTICLECARRIERFLUID
struct  PARTICLEBANDSIGNATURE
struct  PARTICLE
struct  PARTICLESYSTEM

Macros

#define NUM_OBSC_TYPES   21
#define NUM_FLOW_TYPES   11

Enumerations

enum  PARTICLESYSTEM_TYPE {
  smoke_trail = 0, smoke_plume, explosion, rain,
  snow, dust, flare, chaff,
  fire, muzzle_flash, exhaust_plume
}

Functions

SIGSIM_API int LoadPARTICLEINPUTData (char *filename, PARTICLEINPUT **pinput)
SIGSIM_API int AllocateSingleParticleSystem (PARTICLESYSTEM **psystem)
SIGSIM_API void FreeParticleSystemArray (PARTICLESYSTEM **psystem)
SIGSIM_API void FreeParticleSystemSignatures (PARTICLESYSTEM *psystem)
SIGSIM_API int AllocateParticleSystemSignatures (PARTICLESYSTEM *psystem, long nlambda)
SIGSIM_API int CreateAndProcessParticleSystem (char *sigsim_atm_dir, METIN *metin, PARTICLEINPUT *pinput, PARTICLESYSTEM *psystem, double alt_km, PARTICLESYSTEM_TYPE type)
int ProcessATMVolume (char *sigsim_atm_dir, METIN *metin, PARTICLEINPUT *pinput, double alt_km, double *plumelength, double timestep_s, ATM_VOL_PROPS *atm)
int CalcATMVolumeProperties (PARTICLEINPUT *pinput, METIN *metin, double alt_km, double mass_burn_rate, ATM_VOL_PROPS *atm, double *plumelength, double *burn_fraction, double *densityinair)
SIGSIM_API void UpdateParticleBandSignature (PARTICLE *particle, SPECTRAL_DOMAIN *spectrum, SENSOR *sens, PARTICLEBANDSIGNATURE *psig)
double CalcFlareVolumeProperties (ATM_VOL_PROPS *atm, double surfarea, double mass_burn_rate, double air_speed, double maxburnefficiency, double *burn_fraction, double *densityinair)
double CalcFlameVolumeProperties (ATM_VOL_PROPS *atm, double surfarea, double fuelO2toX, double fuelHtoC, double mass_burn_rate, double air_speed, double maxburnefficiency, double *burn_fraction, double *densityinair)
int GetMgPTFESpectralShape (SPECTRAL_DOMAIN spectrum, double *shape)
int GetPropaneSpectralShape (SPECTRAL_DOMAIN spectrum, double *shape)
int GetObscurantRefractiveIndex (double RHratio, HEAVY_OBSCURANT_TYPE type, SPECTRAL_DOMAIN spectrum, jrmComplex *refract)
SIGSIM_API int CalculateObscurantMassAtmosphericCoefficients (HEAVY_OBSCURANT_TYPE type, double RHratio, SPECTRAL_DOMAIN spectrum, double *massabsorb, double *massscatter)

Macro Definition Documentation

#define NUM_OBSC_TYPES   21
#define NUM_FLOW_TYPES   11

Enumeration Type Documentation

Enumerator:
smoke_trail 
smoke_plume 
explosion 
rain 
snow 
dust 
flare 
chaff 
fire 
muzzle_flash 
exhaust_plume 

Function Documentation

SIGSIM_API int LoadPARTICLEINPUTData ( char *  filename,
PARTICLEINPUT **  pinput 
)
SIGSIM_API int AllocateSingleParticleSystem ( PARTICLESYSTEM **  psystem)
SIGSIM_API void FreeParticleSystemArray ( PARTICLESYSTEM **  psystem)
SIGSIM_API void FreeParticleSystemSignatures ( PARTICLESYSTEM psystem)
SIGSIM_API int AllocateParticleSystemSignatures ( PARTICLESYSTEM psystem,
long  nlambda 
)
SIGSIM_API int CreateAndProcessParticleSystem ( char *  sigsim_atm_dir,
METIN metin,
PARTICLEINPUT pinput,
PARTICLESYSTEM psystem,
double  alt_km,
PARTICLESYSTEM_TYPE  type 
)
int ProcessATMVolume ( char *  sigsim_atm_dir,
METIN metin,
PARTICLEINPUT pinput,
double  alt_km,
double *  plumelength,
double  timestep_s,
ATM_VOL_PROPS atm 
)
int CalcATMVolumeProperties ( PARTICLEINPUT pinput,
METIN metin,
double  alt_km,
double  mass_burn_rate,
ATM_VOL_PROPS atm,
double *  plumelength,
double *  burn_fraction,
double *  densityinair 
)
SIGSIM_API void UpdateParticleBandSignature ( PARTICLE particle,
SPECTRAL_DOMAIN spectrum,
SENSOR sens,
PARTICLEBANDSIGNATURE psig 
)
double CalcFlareVolumeProperties ( ATM_VOL_PROPS atm,
double  surfarea,
double  mass_burn_rate,
double  air_speed,
double  maxburnefficiency,
double *  burn_fraction,
double *  densityinair 
)
double CalcFlameVolumeProperties ( ATM_VOL_PROPS atm,
double  surfarea,
double  fuelO2toX,
double  fuelHtoC,
double  mass_burn_rate,
double  air_speed,
double  maxburnefficiency,
double *  burn_fraction,
double *  densityinair 
)
int GetMgPTFESpectralShape ( SPECTRAL_DOMAIN  spectrum,
double *  shape 
)
int GetPropaneSpectralShape ( SPECTRAL_DOMAIN  spectrum,
double *  shape 
)
int GetObscurantRefractiveIndex ( double  RHratio,
HEAVY_OBSCURANT_TYPE  type,
SPECTRAL_DOMAIN  spectrum,
jrmComplex refract 
)
SIGSIM_API int CalculateObscurantMassAtmosphericCoefficients ( HEAVY_OBSCURANT_TYPE  type,
double  RHratio,
SPECTRAL_DOMAIN  spectrum,
double *  massabsorb,
double *  massscatter 
)


Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)