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
79 else log_msg(0,0,0,
"<unnamed>:");
Basic utility structs and functions, mostly IO related.
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()
FILE_SPEC logger
The logger of the physic, each physic should have one.
virtual std::string timer_unit(const int timer_id)=0
virtual double timer_val(const int timer_id)=0
virtual void output_step()=0
virtual void compute_step()=0
virtual void initialize()=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.
datavec_t
Enum used to adress the different data vectors stored in the data registry.
void log_msg(FILE_SPEC out, int level, unsigned char flag, const char *fmt,...)