Commit 0836c2fc authored by mozul's avatar mozul
Browse files

Squashed 'examples/' changes from 06e5e26..c315cae

c315cae maj notebooks
212a33f maj
b187a5d correct ComputeField before UpdateBulk in Pre examples
762edf1 remove sys.path.append from all examples
005bd6b add mecaMAILx_ComputeField before UpdateStep
3404940 command name change
941451a maj
757e441 modifs notebooks
dba1b41 nettoyage
ae4c4dd ajout notebook
be0cfcd exemple de treilli en elements BARxx

git-subtree-dir: examples
git-subtree-split: c315caecbc2e09c8fcfd36ecb0cec242c0d16cdf
parent 2739da53
from pylmgc90.chipy import * from pylmgc90.chipy import *
sys.path.append('~/LMGC90/build_LMGC90_gfortran_opt/lib')
from numpy import * from numpy import *
checkDirectories() checkDirectories()
......
import os,sys,shutil import os,shutil
#sys.path.append('/Users/dubois/WORK/CODING/v2_ifort/LMGC90v2_dev/ChiPy/lib')
from pylmgc90.chipy import * from pylmgc90.chipy import *
from numpy import * from numpy import *
......
import os,sys
# chemin vers le Pre
root_Pre='/Users/mrenouf/CODING/LMGC90/LMGC90v2_dev/Pre/'
sys.path.append(root_Pre)
import numpy import numpy
import math import math
......
import os,sys
# chemin vers le Pre
root_Pre='/Users/mrenouf/CODING/LMGC90/LMGC90v2_dev/Pre/'
sys.path.append(root_Pre)
import numpy import numpy
import math import math
......
import os,sys
sys.path.append('/Users/mrenouf/CODING/LMGC90/LMGC90v2_dev/ChiPy/lib')
from pylmgc90.chipy import * from pylmgc90.chipy import *
......
import os,sys
# chemin vers ChiPy
root_Pre='/Users/mrenouf/CODING/LMGC90/LMGC90v2_dev/ChiPy/lib/'
sys.path.append(root_Pre)
from pylmgc90.chipy import * from pylmgc90.chipy import *
......
import os,sys
# chemin vers le Pre
root_Pre='/Users/mrenouf/CODING/LMGC90/LMGC90v2_dev/Pre/'
sys.path.append(root_Pre)
import numpy import numpy
import math import math
......
import os,sys
sys.path.append('/Users/mrenouf/CODING/LMGC90/LMGC90v2_sprintdev/ChiPy/lib')
from pylmgc90.chipy import * from pylmgc90.chipy import *
......
import os,sys
sys.path.insert(0,'/Users/dubois/WORK/CODING/v2_cmake/build_ifort/LMGC90-ori/lib')
from pylmgc90.chipy import * from pylmgc90.chipy import *
from numpy import * from numpy import *
......
import os,sys
sys.path.insert(0,'/Users/dubois/WORK/CODING/v2_cmake/build_ifort/LMGC90-ori/lib')
from pylmgc90.chipy import * from pylmgc90.chipy import *
from numpy import * from numpy import *
......
import os,sys
sys.path.insert(0,'/Users/dubois/WORK/CODING/v2_cmake/build_ifort/LMGC90-ori/lib')
from pylmgc90.chipy import * from pylmgc90.chipy import *
from numpy import * from numpy import *
......
...@@ -212,6 +212,7 @@ while TimeEvolution_GetTime() < t_final : ...@@ -212,6 +212,7 @@ while TimeEvolution_GetTime() < t_final :
#utilities_logMes('UPDATE DOF') #utilities_logMes('UPDATE DOF')
TimeEvolution_UpdateStep() TimeEvolution_UpdateStep()
mecaMAILx_ComputeField()
mecaMAILx_UpdateDof() mecaMAILx_UpdateDof()
mecaMAILx_UpdateBulk() mecaMAILx_UpdateBulk()
RBDY2_UpdateDof() RBDY2_UpdateDof()
......
...@@ -170,7 +170,7 @@ for k in xrange(1, nb_steps + 1, 1): ...@@ -170,7 +170,7 @@ for k in xrange(1, nb_steps + 1, 1):
# #
utilities_logMes('COMPUTE DOF, FIELDS, etc.') utilities_logMes('COMPUTE DOF, FIELDS, etc.')
mecaMAILx_ComputeDof() mecaMAILx_ComputeDof()
mecaMAILx_ComputeBulk() mecaMAILx_ComputeField()
RBDY2_ComputeDof() RBDY2_ComputeDof()
# #
utilities_logMes('UPDATE DOF, FIELDS') utilities_logMes('UPDATE DOF, FIELDS')
......
...@@ -158,7 +158,7 @@ for k in xrange(1, nb_steps + 1, 1): ...@@ -158,7 +158,7 @@ for k in xrange(1, nb_steps + 1, 1):
# #
utilities_logMes('COMPUTE DOF, FIELDS, etc.') utilities_logMes('COMPUTE DOF, FIELDS, etc.')
mecaMAILx_ComputeDof() mecaMAILx_ComputeDof()
mecaMAILx_ComputeBulk() mecaMAILx_ComputeField()
# #
utilities_logMes('UPDATE DOF, FIELDS') utilities_logMes('UPDATE DOF, FIELDS')
TimeEvolution_UpdateStep() TimeEvolution_UpdateStep()
......
...@@ -158,7 +158,7 @@ for k in xrange(1, nb_steps + 1, 1): ...@@ -158,7 +158,7 @@ for k in xrange(1, nb_steps + 1, 1):
# #
utilities_logMes('COMPUTE DOF, FIELDS, etc.') utilities_logMes('COMPUTE DOF, FIELDS, etc.')
mecaMAILx_ComputeDof() mecaMAILx_ComputeDof()
mecaMAILx_ComputeBulk() mecaMAILx_ComputeField()
# #
utilities_logMes('UPDATE DOF, FIELDS') utilities_logMes('UPDATE DOF, FIELDS')
TimeEvolution_UpdateStep() TimeEvolution_UpdateStep()
......
...@@ -170,7 +170,7 @@ for k in xrange(1, nb_steps + 1, 1): ...@@ -170,7 +170,7 @@ for k in xrange(1, nb_steps + 1, 1):
# #
utilities_logMes('COMPUTE DOF, FIELDS, etc.') utilities_logMes('COMPUTE DOF, FIELDS, etc.')
mecaMAILx_ComputeDof() mecaMAILx_ComputeDof()
mecaMAILx_ComputeBulk() mecaMAILx_ComputeField()
RBDY2_ComputeDof() RBDY2_ComputeDof()
# #
utilities_logMes('UPDATE DOF, FIELDS') utilities_logMes('UPDATE DOF, FIELDS')
......
...@@ -152,6 +152,8 @@ while TimeEvolution_GetTime() < t_final : ...@@ -152,6 +152,8 @@ while TimeEvolution_GetTime() < t_final :
if not istate == 1 : if not istate == 1 :
mecaMAILx_ComputeField()
#utilities_logMes('UPDATE DOF') #utilities_logMes('UPDATE DOF')
TimeEvolution_UpdateStep() TimeEvolution_UpdateStep()
mecaMAILx_UpdateDof() mecaMAILx_UpdateDof()
......
...@@ -184,7 +184,7 @@ for k in range(1, nb_steps + 1): ...@@ -184,7 +184,7 @@ for k in range(1, nb_steps + 1):
utilities_logMes('COMPUTE DOF, FIELDS, etc.') utilities_logMes('COMPUTE DOF, FIELDS, etc.')
mecaMAILx_ComputeDof() mecaMAILx_ComputeDof()
RBDY2_ComputeDof() RBDY2_ComputeDof()
mecaMAILx_ComputeBulk() mecaMAILx_ComputeField()
# #
utilities_logMes('UPDATE DOF, FIELDS') utilities_logMes('UPDATE DOF, FIELDS')
TimeEvolution_UpdateStep() TimeEvolution_UpdateStep()
......
...@@ -178,7 +178,7 @@ for k in xrange(1,2501,1): ...@@ -178,7 +178,7 @@ for k in xrange(1,2501,1):
utilities_logMes('COMPUTE DOF, FIELDS, etc.') utilities_logMes('COMPUTE DOF, FIELDS, etc.')
mecaMAILx_ComputeDof() mecaMAILx_ComputeDof()
RBDY2_ComputeDof() RBDY2_ComputeDof()
mecaMAILx_ComputeBulk() mecaMAILx_ComputeField()
# #
utilities_logMes('UPDATE DOF, FIELDS') utilities_logMes('UPDATE DOF, FIELDS')
TimeEvolution_UpdateStep() TimeEvolution_UpdateStep()
......
...@@ -175,7 +175,7 @@ for k in xrange(1, nb_steps + 1, 1): ...@@ -175,7 +175,7 @@ for k in xrange(1, nb_steps + 1, 1):
utilities_logMes('COMPUTE DOF, FIELDS, etc.') utilities_logMes('COMPUTE DOF, FIELDS, etc.')
mecaMAILx_ComputeDof() mecaMAILx_ComputeDof()
RBDY2_ComputeDof() RBDY2_ComputeDof()
mecaMAILx_ComputeBulk() mecaMAILx_ComputeField()
# #
utilities_logMes('UPDATE DOF, FIELDS') utilities_logMes('UPDATE DOF, FIELDS')
TimeEvolution_UpdateStep() TimeEvolution_UpdateStep()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment