X-Git-Url: https://www.hackdaworld.org/gitweb/?p=physik%2Fposic.git;a=blobdiff_plain;f=mdrun.h;h=b8ed70c0ace245d381cc823b05f066905893b08f;hp=0a5ceabaff4abcca73df7b7ecc4536c1fdc64fa7;hb=HEAD;hpb=e6ca71aa985ab3c6885784e0cd1b8141672902fb diff --git a/mdrun.h b/mdrun.h index 0a5ceab..b8ed70c 100644 --- a/mdrun.h +++ b/mdrun.h @@ -54,6 +54,7 @@ typedef struct s_stage { #define STAGE_THERMAL_INIT 0x10 #define STAGE_DEL_ATOMS 0x11 #define STAGE_MODIFY_ATOMS 0x12 +#define STAGE_CRT 0x13 typedef struct s_mdrun { char cfile[128]; // config file @@ -218,6 +219,24 @@ typedef struct s_fill_params { t_offset_params o_params; } t_fill_params; +typedef struct s_crt_params { + u8 type; + char file[128]; + t_3dvec *r_fin; + u8 *constraints; + int steps; + int count; +} t_crt_params; + +/* + * extern variables + */ + +// constraint relaxation technique +extern u8 crtt; +extern u8 *constraints; +extern double *trafo_angle; + /* * function prototypes */