Go to the documentation of this file.
23 # define SQUARE(x) ((x) * (x))
27 # define DSIGN(x) (( (x) == (0.0) ) ? (0.0) : ( ((x) > 0.0) ? 1.0 : -1.0 ))
38 #define VCS_NOMEMORY 1
39 #define VCS_FAILED_CONVERGENCE -1
40 #define VCS_SHOULDNT_BE_HERE -2
41 #define VCS_PUB_BAD -3
42 #define VCS_THERMO_OUTOFRANGE -4
43 #define VCS_FAILED_LOOKUP -5
44 #define VCS_MP_FAIL -6
54 #define VCS_PROBTYPE_TP 0
66 #ifndef VCS_RELDELETE_SPECIES_CUTOFF
67 #define VCS_RELDELETE_SPECIES_CUTOFF 1.0e-64
72 #ifndef VCS_DELETE_MINORSPECIES_CUTOFF
73 #define VCS_DELETE_MINORSPECIES_CUTOFF 1.0e-140
78 #ifndef VCS_SMALL_MULTIPHASE_SPECIES
79 #define VCS_SMALL_MULTIPHASE_SPECIES 1.0e-25
84 #ifndef VCS_DELETE_PHASE_CUTOFF
85 #define VCS_DELETE_PHASE_CUTOFF 1.0e-13
91 #ifndef VCS_POP_PHASE_MOLENUM
92 #define VCS_POP_PHASE_MOLENUM 1.0e-11
99 #ifndef VCS_DELETE_ELEMENTABS_CUTOFF
100 #define VCS_DELETE_ELEMENTABS_CUTOFF 1.0e-280
105 #define VCS_MAXSTEPS 50000
116 #define VCS_NONDIMENSIONAL_G 1
118 #define VCS_DIMENSIONAL_G 0
134 #define VCS_SPECIES_COMPONENT_STOICHZERO 3
137 #define VCS_SPECIES_COMPONENT 2
144 #define VCS_SPECIES_MAJOR 1
151 #define VCS_SPECIES_MINOR 0
159 #define VCS_SPECIES_SMALLMS -1
166 #define VCS_SPECIES_ZEROEDMS -2
173 #define VCS_SPECIES_ZEROEDSS -3
182 #define VCS_SPECIES_DELETED -4
189 #define VCS_SPECIES_INTERFACIALVOLTAGE -5
198 #define VCS_SPECIES_ZEROEDPHASE -6
207 #define VCS_SPECIES_ACTIVEBUTZERO -7
218 #define VCS_SPECIES_STOICHZERO -8
228 #define VCS_PHASE_EXIST_ALWAYS 3
231 #define VCS_PHASE_EXIST_YES 2
238 #define VCS_PHASE_EXIST_MINORCONC 1
241 #define VCS_PHASE_EXIST_NO 0
247 #define VCS_PHASE_EXIST_ZEROEDPHASE -6
279 #define VCS_UNITS_KCALMOL -1
280 #define VCS_UNITS_UNITLESS 0
281 #define VCS_UNITS_KJMOL 1
282 #define VCS_UNITS_KELVIN 2
283 #define VCS_UNITS_MKS 3
297 #define VCS_ELEM_TYPE_TURNEDOFF -1
306 #define VCS_ELEM_TYPE_ABSPOS 0
312 #define VCS_ELEM_TYPE_ELECTRONCHARGE 1
318 #define VCS_ELEM_TYPE_CHARGENEUTRALITY 2
326 #define VCS_ELEM_TYPE_LATTICERATIO 3
336 #define VCS_ELEM_TYPE_KINETICFROZEN 4
345 #define VCS_ELEM_TYPE_SURFACECONSTRAINT 5
350 #define VCS_ELEM_TYPE_OTHERCONSTRAINT 6
359 #define VCS_SPECIES_TYPE_MOLNUM 0
368 #define VCS_SPECIES_TYPE_INTERFACIALVOLTAGE -5
379 #define VCS_STATECALC_UNKNOWN -1
381 #define VCS_STATECALC_OLD 0
384 #define VCS_STATECALC_NEW 1
389 #define VCS_STATECALC_PHASESTABILITY 2
392 #define VCS_STATECALC_TMP 3