# Commits

committed e7a508c

Renamed constants.py to Constants.py

• Participants
• Parent commits 5e809f9

# File Constants.py

`+#! /usr/bin/env python`
`+# -*- coding: utf-8 -*-`
`+# module : constants.py`
`+##------------------------------------------------------------------------------`
`+`
`+##------------------------------------------------------------------------------`
`+# Author : P. Mavrogiorgos (pmav99 >at< gmail >dot< com)`
`+# Licence : GPL v3`
`+##------------------------------------------------------------------------------`
`+`
`+"""`
`+constants.py Module`
`+`
`+This module contains the constants of the program.`
`+"""`
`+`
`+##------------------------------------------------------------------------------`
`+# Importing necessary libraries`
`+##------------------------------------------------------------------------------`
`+from __future__ import division`
`+`
`+##------------------------------------------------------------------------------`
`+# Defining constants`
`+##------------------------------------------------------------------------------`
`+## Number of points defining the bond-slip constitutive law`
`+BOND_POINTS = 10`
`+## The maximum number of iterations allowed in order to achieve convergence`
`+MAX_ITERATIONS = 500`
`+## The tolerance for which convergence is assumed.`
`+TOLERANCE = 1E-20`
`+## The slip value for which we suppose that there is significant slippage`
`+SIGNIFICANT_SLIP = 0.001`
`+## The length of the infinitestimal element in meters. 1/100 is one cm.`
`+## For development 1/100 is suggested. For final analysis 1/1000.`
`+INFINITESIMAL_LENGTH = 1/10`
`+## the length (in m) where we suppose an omoiothetic decrease of the bond-slip law.`
`+LENGTH_OF_OMOIOTHECY = 0.05`
`+## The name of the folder where the data of the analysis are going to be pickled`
`+DATA_FOLDER = "data"`
`+## If True then omoiothecy length is taken under consideration for the front of the specimen.`
`+#OMOIOTHECY_FRONT = True`
`+OMOIOTHECY_FRONT = False`
`+## If True then omoiothecy length is taken under consideration for the back of the specimen.`
`+#OMOIOTHECY_BACK = True`
`+OMOIOTHECY_BACK = False`
`+## There are numerical instabilities when unloading to zero, so we stop at +-`
`+## LOAD_STABILITY.`
`+LOAD_STABILITY = 0.1`
`+##------------------------------------------------------------------------------`

# File constants.py

`-#! /usr/bin/env python`
`-# -*- coding: utf-8 -*-`
`-# module : constants.py`
`-##------------------------------------------------------------------------------`
`-`
`-##------------------------------------------------------------------------------`
`-# Author : P. Mavrogiorgos (pmav99 >at< gmail >dot< com)`
`-# Licence : GPL v3`
`-##------------------------------------------------------------------------------`
`-`
`-"""`
`-constants.py Module`
`-`
`-This module contains the constants of the program.`
`-"""`
`-`
`-##------------------------------------------------------------------------------`
`-# Importing necessary libraries`
`-##------------------------------------------------------------------------------`
`-from __future__ import division`
`-`
`-##------------------------------------------------------------------------------`
`-# Defining constants`
`-##------------------------------------------------------------------------------`
`-## Number of points defining the bond-slip constitutive law`
`-BOND_POINTS = 10`
`-## The maximum number of iterations allowed in order to achieve convergence`
`-MAX_ITERATIONS = 500`
`-## The tolerance for which convergence is assumed.`
`-TOLERANCE = 1E-20`
`-## The slip value for which we suppose that there is significant slippage`
`-SIGNIFICANT_SLIP = 0.001`
`-## The length of the infinitestimal element in meters. 1/100 is one cm.`
`-## For development 1/100 is suggested. For final analysis 1/1000.`
`-INFINITESIMAL_LENGTH = 1/10`
`-## the length (in m) where we suppose an omoiothetic decrease of the bond-slip law.`
`-LENGTH_OF_OMOIOTHECY = 0.05`
`-## The name of the folder where the data of the analysis are going to be pickled`
`-DATA_FOLDER = "data"`
`-## If True then omoiothecy length is taken under consideration for the front of the specimen.`
`-#OMOIOTHECY_FRONT = True`
`-OMOIOTHECY_FRONT = False`
`-## If True then omoiothecy length is taken under consideration for the back of the specimen.`
`-#OMOIOTHECY_BACK = True`
`-OMOIOTHECY_BACK = False`
`-## There are numerical instabilities when unloading to zero, so we stop at +-`
`-## LOAD_STABILITY.`
`-LOAD_STABILITY = 0.1`
`-##------------------------------------------------------------------------------`