Table of Contents

Commit 2017-09-08

Ce commit est pour nettoyer/refactorer le code source que j'avais commité dans la version de Metafor suite au feedback de Romain.

Refactoring - InexactLineSearches

J'ai scindé la classe InexactLineSearch en plusieurs sous-classes (plus petites) et j'ai fait du nettoyage de code (const &double ⇒ double, virer les virtual inutile et les fonctions inutiles, indenter le code proprement, renommer les classes, etc.) dans toutes mes classes récentes. La présence de nouvelles classes permet de limiter l'interfaçage avec SWIG et elle rend plus lisible le code source.

Refactoring - BoundaryVolumeHierarchy

J'ai supprimé l'utilisation des templates dans mes récents développements. Il y a quelques classes en plus suite à la dérivation par héritage.

Fichiers ajoutés/supprimés

[a]:mtMath/BackTrackingInexactLineSearch.cpp
[a]:mtMath/BackTrackingInexactLineSearch.h
[a]:mtMath/BackTrackingInexactLineSearchTestChecker.cpp
[a]:mtMath/BackTrackingInexactLineSearchTestChecker.h
[a]:mtMath/BackTrackingInexactLineSearchTestFunctions.cpp
[a]:mtMath/BackTrackingInexactLineSearchTestFunctions.h
[a]:mtMath/InexactLineSearchTestFunctions.cpp
[a]:mtMath/InexactLineSearchTestFunctions.h
[a]:mtMath/LineSearchTestChecker.cpp
[a]:mtMath/LineSearchTestChecker.h
[a]:mtMath/LineSearchTestFunctions.cpp
[a]:mtMath/LineSearchTestFunctions.h
[a]:mtMath/MoreThuenteInexactLineSearch.cpp
[a]:mtMath/MoreThuenteInexactLineSearch.h
[a]:mtMath/MoreThuenteInexactLineSearchTestChecker.cpp
[a]:mtMath/MoreThuenteInexactLineSearchTestChecker.h
[a]:mtMath/MoreThuenteInexactLineSearchTestFunctions.cpp
[a]:mtMath/MoreThuenteInexactLineSearchTestFunctions.h
[a]:mtGeo/mtGeoCurveWithBoundaryVolume.cpp
[a]:mtGeo/mtGeoCurveWithBoundaryVolume.h
[a]:mtGeo/mtGeoSideWithBoundaryVolume.h
[a]:mtGeo/mtGeoSideWithBoundaryVolume.cpp
[a]:mtGeo/mtGeoWireBoundaryVolumeHierarchy.h
[a]:mtGeo/mtGeoWireBoundaryVolumeHierarchy.cpp
[a]:mtGeo/mtGeoTopDownBVHBuilder.h
[a]:mtGeo/mtGeoTopDownBVHBuilder.cpp
[a]:mtGeo/mtGeoSkinBoundaryVolumeHierarchy.h
[a]:mtGeo/mtGeoSkinBoundaryVolumeHierarchy.cpp
[r]:mtGeo/mtGeoWithBoundaryVolumeTemplate.cpp
[r]:mtGeo/mtGeoWithBoundaryVolumeTemplate.h
[r]:mtGeo/mtGeoWithBoundaryVolumeTemplate.hpp
[r]:mtGeo/mtGeoBoundaryVolumeHierarchyTemplate.cpp
[r]:mtGeo/mtGeoBoundaryVolumeHierarchyTemplate.h
[r]:mtGeo/mtGeoBoundaryVolumeHierarchyTemplate.hpp
[r]:mtGeo/mtGeoTopDownBVHBuilderTemplate.h
[r]:mtGeo/mtGeoTopDownBVHBuilderTemplate.hpp
[r]:mtGeo/mtGeoBVHType.h
[r]:mtMath/InexactLineSearch.cpp
[r]:mtMath/InexactLineSearch.h
[rename]:mtMath/ClenshawCurtisTestSuiteChecker.cpp => mtMath/ClenshawCurtisTestChecker.cpp
[rename]:mtMath/ClenshawCurtisTestSuiteChecker.h => mtMath/ClenshawCurtisTestChecker.h

Cas tests ajoutés/supprimés

[a]:
[r]:

gaëtan 2017/09/08 18:30