commit:2007:09_12b
Table of Contents
Commit 2007-09-12
Modifs
Nettoyages
mtShapeFunctions
:- Suppression du préfixe “Mt” devant les shape functions. Ca fait un bail que ça trainait dans ma ToDo list.
ShapeFunction
(paramètre template) a été renomméSHAPEF
(en majuscule pour respecter la convention).ThermalShapeFunction
(paramètre template) a été renomméTHERMALSHAPEF
(idem)var_ther
(paramètre template) a été renomméTHERMALVAR
(idem)
Makefiles
:- Suppression du script
copyMakefiles.sh
et ajout desMakefile.in
là où il faut. - Meilleur nettoyage lors d'un
make clean
.
clean.py
:- Fermeture correcte de l'appl. graphique
- Gestion correcte des fichiers bloqués.
- Uniformisation des noms de macros
ifdef
utilisés dans les fichiers.h
(à l'aide dechkrep.py
- voir ci-dessous). - modification de
svn:props
de qq nouveaux fichiers ajoutés qui n'étaient pas OK (chkrep.py props
).
chkrep.py - nouveautés
J'ai modifié chkrep.py
pour lui ajouter une nouvelle fonctionnalité bien pratique:
chkrep.py format >out.html
Cette commande parse tous les fichiers sources et fait quelques vérifications de base:
$Id$
doit être présent dans chaque fichier.- “
coding
” présent dans les fichiers python. #ifndef NOMFICHIER_H
… :NOMFICHIER_H
doit être défini 3x par fichier.h
.using namespace
est interdit dans un.h
ou.inl
.- Chaque
.cpp
doit inclure son.h
. - Cet
include
doit être le premier du fichier (excepté les éventuels includes système). - Chaque
.h
doit inclure le.h
du module dans lequel il se trouve. - Cet
include
doit être le premier du fichier (excepté les éventuels includes système).
L'output est en HTML avec des liens qui ouvrent directement un notepad sous Windows (j'ai récupéré le javascript de battery.py
). Voilà ce que ça donne (sans les liens):
... "coding" string missing in [e:\dev\oo_meta\apps\qs\compThixo.py] "coding" string missing in [e:\dev\oo_meta\apps\qs\compTmThixo.py] $Id$ string missing in [e:\dev\oo_meta\apps\toolbox\createMonoTher.py] GEN4CELL_H not found 3x in [e:\dev\oo_meta\gen4\gen4cell.h] GEN4EDGE_H not found 3x in [e:\dev\oo_meta\gen4\gen4edge.h] GEN4GEOMETRY_H not found 3x in [e:\dev\oo_meta\gen4\gen4geometry.h] '#include "ContinuousDamageEvpIsoHHypoGpState.h"' not the first file included in [e:\dev\oo_meta\mtMaterials\volumes\ContinuousDamageEvpIsoHHypoGpState.cpp] '#include "mtMaterials.h"' not found in [e:\dev\oo_meta\mtMaterials\mechanisms\BreakingSpringMaterial.h] ...
J'ai corrigé toutes les “erreurs”… Il faudra donc lancer ce script de temps en temps pour vérifier le source.
Fichiers ajoutés/supprimés
File Text status Property status copyMakefiles.sh deleted mtShapeFunctions/MtShapeFunctionTemplate.inl deleted mtShapeFunctions/MtSfIntegratorTemplate.inl deleted mtShapeFunctions/MtSfIntegrationPointTemplate.inl deleted mtShapeFunctions/MtSfIntegratorTemplate.hpp deleted mtShapeFunctions/MtTriangleQuadShapeFunction.h deleted mtShapeFunctions/MtTriangleLinShapeFunction.h deleted mtShapeFunctions/MtTetraLinShapeFunction.h deleted mtShapeFunctions/MtSixteenQuadBiCubicShapeFunction.h deleted mtShapeFunctions/MtShapeFunctionTemplate.h deleted mtShapeFunctions/MtShapeFunction.h deleted mtShapeFunctions/MtSfIntegratorTemplate.h deleted mtShapeFunctions/MtSfIntegratorSet.h deleted mtShapeFunctions/MtSfIntegrator.h deleted mtShapeFunctions/MtSfIntegrationPointTemplate.h deleted mtShapeFunctions/MtQuadBiQuadShapeFunction.h deleted mtShapeFunctions/MtQuadBiLinShapeFunction.h deleted mtShapeFunctions/MtPentaLinShapeFunction.h deleted mtShapeFunctions/MtNineQuadBiQuadShapeFunction.h deleted mtShapeFunctions/MtLineQuadShapeFunction.h deleted mtShapeFunctions/MtLineLinShapeFunction.h deleted mtShapeFunctions/MtLineCubicShapeFunction.h deleted mtShapeFunctions/MtHexaTriQuadShapeFunction.h deleted mtShapeFunctions/MtHexaTriLinShapeFunction.h deleted mtShapeFunctions/MtTriangleQuadShapeFunction.cpp deleted mtShapeFunctions/MtTriangleLinShapeFunction.cpp deleted mtShapeFunctions/MtTetraLinShapeFunction.cpp deleted mtShapeFunctions/MtSixteenQuadBiCubicShapeFunction.cpp deleted mtShapeFunctions/MtShapeFunction.cpp deleted mtShapeFunctions/MtSfIntegratorTemplate.cpp deleted mtShapeFunctions/MtSfIntegratorSet.cpp deleted mtShapeFunctions/MtSfIntegrator.cpp deleted mtShapeFunctions/MtSfIntegrationPointTemplate.cpp deleted mtShapeFunctions/MtQuadBiQuadShapeFunction.cpp deleted mtShapeFunctions/MtQuadBiLinShapeFunction.cpp deleted mtShapeFunctions/MtPentaLinShapeFunction.cpp deleted mtShapeFunctions/MtNineQuadBiQuadShapeFunction.cpp deleted mtShapeFunctions/MtLineQuadShapeFunction.cpp deleted mtShapeFunctions/MtLineLinShapeFunction.cpp deleted mtShapeFunctions/MtLineCubicShapeFunction.cpp deleted mtShapeFunctions/MtHexaTriQuadShapeFunction.cpp deleted mtShapeFunctions/MtHexaTriLinShapeFunction.cpp deleted mtGeo/mtGeoSurroundednessTest.cpp deleted mtShapeFunctions/ShapeFunctionTemplate.inl added (+) mtShapeFunctions/SfIntegratorTemplate.inl added (+) mtShapeFunctions/SfIntegrationPointTemplate.inl added (+) mtMaterials/volumes/Makefile.in added mtMaterials/shells/Makefile.in added mtMaterials/plasticCriteria/Makefile.in added mtMaterials/mechanisms/Makefile.in added mtMaterials/boundaries/Makefile.in added mtMaterialLaws/viscoelastic/Makefile.in added mtMaterialLaws/plastvisco/Makefile.in added mtMaterialLaws/kinehard/Makefile.in added mtMaterialLaws/isohard/Makefile.in added mtMaterialLaws/grainsize/Makefile.in added mtMaterialLaws/damage/Makefile.in added mtFEM/extractors/Makefile.in added mtFEM/algos/Makefile.in added mtFEM/ale/Makefile.in added mtElements/volumes/methods/Makefile.in added mtElements/volumes/Makefile.in added mtElements/shells/Makefile.in added mtElements/mechanisms/Makefile.in added mtElements/boundaries/Makefile.in added mtShapeFunctions/SfIntegratorTemplate.hpp added (+) mtShapeFunctions/TriangleQuadShapeFunction.h added (+) mtShapeFunctions/TriangleLinShapeFunction.h added (+) mtShapeFunctions/TetraLinShapeFunction.h added (+) mtShapeFunctions/SixteenQuadBiCubicShapeFunction.h added (+) mtShapeFunctions/ShapeFunctionTemplate.h added (+) mtShapeFunctions/ShapeFunction.h added (+) mtShapeFunctions/SfIntegratorTemplate.h added (+) mtShapeFunctions/SfIntegratorSet.h added (+) mtShapeFunctions/SfIntegrator.h added (+) mtShapeFunctions/SfIntegrationPointTemplate.h added (+) mtShapeFunctions/QuadBiQuadShapeFunction.h added (+) mtShapeFunctions/QuadBiLinShapeFunction.h added (+) mtShapeFunctions/PentaLinShapeFunction.h added (+) mtShapeFunctions/NineQuadBiQuadShapeFunction.h added (+) mtShapeFunctions/LineQuadShapeFunction.h added (+) mtShapeFunctions/LineLinShapeFunction.h added (+) mtShapeFunctions/LineCubicShapeFunction.h added (+) mtShapeFunctions/HexaTriQuadShapeFunction.h added (+) mtShapeFunctions/HexaTriLinShapeFunction.h added (+) mtShapeFunctions/TriangleQuadShapeFunction.cpp added (+) mtShapeFunctions/TriangleLinShapeFunction.cpp added (+) mtShapeFunctions/TetraLinShapeFunction.cpp added (+) mtShapeFunctions/SixteenQuadBiCubicShapeFunction.cpp added (+) mtShapeFunctions/ShapeFunction.cpp added (+) mtShapeFunctions/SfIntegratorTemplate.cpp added (+) mtShapeFunctions/SfIntegratorSet.cpp added (+) mtShapeFunctions/SfIntegrator.cpp added (+) mtShapeFunctions/SfIntegrationPointTemplate.cpp added (+) mtShapeFunctions/QuadBiQuadShapeFunction.cpp added (+) mtShapeFunctions/QuadBiLinShapeFunction.cpp added (+) mtShapeFunctions/PentaLinShapeFunction.cpp added (+) mtShapeFunctions/NineQuadBiQuadShapeFunction.cpp added (+) mtShapeFunctions/LineQuadShapeFunction.cpp added (+) mtShapeFunctions/LineLinShapeFunction.cpp added (+) mtShapeFunctions/LineCubicShapeFunction.cpp added (+) mtShapeFunctions/HexaTriQuadShapeFunction.cpp added (+) mtShapeFunctions/HexaTriLinShapeFunction.cpp added (+)
— Romain BOMAN 2007/09/12 08:53
commit/2007/09_12b.txt · Last modified: 2016/03/30 15:23 by 127.0.0.1