Salome HOME
projects
/
modules
/
smesh.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
23586: [EDF] HYDRO: Copy mesh to new geometry
[modules/smesh.git]
/
src
/
Tools
/
Verima
/
createDatabase.py
1
#!/usr/bin/env python
2
3
import sys
4
from Base.dataBase import Base
5
6
def creeDatabase(fichier):
7
maBase=Base(fichier)
8
maBase.create()
9
maBase.initialise()
10
maBase.remplit()
11
maBase.close()
12
13
14
15
if __name__ == "__main__":
16
from argparse import ArgumentParser
17
p=ArgumentParser()
18
p.add_argument('-d',dest='database',default="myMesh.db",help='nom de la database')
19
args = p.parse_args()
20
creeDatabase(args.database )
21