icemc
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
SourceModel::Restriction Struct Reference

#include <source.hh>

Public Member Functions

 Restriction (double max_dec=30, const char *sources="All", const char *subtype="All", double startTime=0, double endTime=2147483647)
 

Static Public Member Functions

static double fromString (const char *time)
 

Public Attributes

const char * whichSubtype
 
const char * whichSources
 
double whichStartTime
 
double whichEndTime
 
double maxDec
 

Detailed Description

We will label our source models by a string so they're easy to pick.

We will document the available models here

Since it may make sense to stack some source models, you can select multiple models with a +

Constructor & Destructor Documentation

◆ Restriction()

SourceModel::Restriction::Restriction ( double  max_dec = 30,
const char *  sources = "All",
const char *  subtype = "All",
double  startTime = 0,
double  endTime = 2147483647 
)
inline

Member Function Documentation

◆ fromString()

double SourceModel::Restriction::fromString ( const char *  time)
static

Member Data Documentation

◆ maxDec

double SourceModel::Restriction::maxDec

◆ whichEndTime

double SourceModel::Restriction::whichEndTime

◆ whichSources

const char* SourceModel::Restriction::whichSources

◆ whichStartTime

double SourceModel::Restriction::whichStartTime

◆ whichSubtype

const char* SourceModel::Restriction::whichSubtype

The documentation for this struct was generated from the following files: