27 #ifndef PHYSICS_TYPES_H 28 #define PHYSICS_TYPES_H 35 #define UM2_to_CM2 1.0e-8 36 #define UM_to_CM 1.0e-4 37 #define UM_to_MM 1.0e-3 38 #define MM_to_UM 1.0e3 78 if(name)
log_msg(0,0,0,
"%s:", name);
79 else log_msg(0,0,0,
"<unnamed>:");
91 virtual std::string
timer_unit(
const int timer_id) = 0;
92 virtual double timer_val(
const int timer_id) = 0;
virtual std::string timer_unit(const int timer_id)=0
FILE_SPEC logger
The logger of the physic, each physic should have one.
virtual void output_step()=0
const char * name
The name of the physic, each physic should have one.
physic_t
Identifier for the different physics we want to set up.
virtual double timer_val(const int timer_id)=0
The abstract physics interface we can use to trigger all physics.
int timer_idx
the timer index received from the timer manager
virtual void output_timings()
void log_msg(FILE_SPEC out, int level, unsigned char flag, const char *fmt,...)
virtual void compute_step()=0
datavec_t
Enum used to adress the different data vectors stored in the data registry.
Basic utility structs and functions, mostly IO related.
virtual void initialize()=0