Trisurf Monte Carlo simulator
Samo Penic
2018-05-09 2ae815f58a40d4b86f5183d7e2ec406d5e0f5d65
Prepared for stretching
3 files modified
10 ■■■■■ changed files
src/general.h 3 ●●●●● patch | view | raw | blame | history
src/io.c 2 ●●●●● patch | view | raw | blame | history
src/tape 5 ●●●●● patch | view | raw | blame | history
src/general.h
@@ -195,6 +195,7 @@
    ts_double znorm;
    ts_double area; // firstly needed for sh.c
    ts_double volume; // firstly needed for sh.c
    ts_double energy;
};
typedef struct ts_triangle ts_triangle;
@@ -268,6 +269,8 @@
    long int pswitch;
    long int constvolswitch;
    long int constareaswitch;
    long int stretchswitch;
    ts_double xkA0;
    ts_double constvolprecision;
        char *multiprocessing;
       long int brezveze0;
src/io.c
@@ -1165,6 +1165,8 @@
    CFG_SIMPLE_INT("constvolswitch",&tape->constvolswitch),
    CFG_SIMPLE_INT("constareaswitch",&tape->constareaswitch),
    CFG_SIMPLE_FLOAT("constvolprecision",&tape->constvolprecision),
    CFG_SIMPLE_INT("stretchswitch",&tape->stretchswitch),
    CFG_SIMPLE_FLOAT("xkA0",&tape->xkA0),
    CFG_SIMPLE_FLOAT("pressure",&tape->pressure),
    CFG_SIMPLE_FLOAT("k_spring",&tape->kspring),
    CFG_SIMPLE_FLOAT("xi",&tape->xi),
src/tape
@@ -23,6 +23,11 @@
#Constant area constraint (0 disable constant area, 2 enable constant area with epsarea)
constareaswitch=0
#Stretching
stretchswitch=1
xkA0=10.0
####### Polymer (brush) definitions ###########
# npoly is a number of polymers attached to npoly distinct vertices on vesicle
npoly=0