phylopomp
Phylodynamics for POMPs
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
popul_proc.h File Reference
#include <string>
#include <cstring>
#include "internal.h"
Include dependency graph for popul_proc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  popul_proc_t< STATE, PARAMETERS, NEVENT, NDEME >
 Population process class. More...
 

Macros

#define PARAM_SET(X)
 
#define RATE_CALC(X)   total += rate[m++] = (X);
 
#define YAML_PARAM(X)   (t + #X + ": " + std::to_string(params.X) + "\n")
 
#define YAML_STATE(X)   (t + #X + ": " + std::to_string(state.X) + "\n")
 

Macro Definition Documentation

◆ PARAM_SET

#define PARAM_SET (   X)
Value:
if (!ISNA(p[m])) params.X = p[m]; \
m++;

Definition at line 177 of file popul_proc.h.

◆ RATE_CALC

#define RATE_CALC (   X)    total += rate[m++] = (X);

Definition at line 179 of file popul_proc.h.

◆ YAML_PARAM

#define YAML_PARAM (   X)    (t + #X + ": " + std::to_string(params.X) + "\n")

Definition at line 180 of file popul_proc.h.

◆ YAML_STATE

#define YAML_STATE (   X)    (t + #X + ": " + std::to_string(state.X) + "\n")

Definition at line 181 of file popul_proc.h.