From 429af90ccb64804ecf5907165cdde19204fad4d9 Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Thu, 22 Dec 2011 10:30:25 +0000 Subject: [PATCH] added Id flag and content added "core" package capability --- lib/damask/__init__.py | 5 ++++- lib/damask/asciitable.py | 2 ++ lib/damask/config/__init__.py | 2 ++ lib/damask/config/material.py | 2 ++ lib/damask/environment.py | 2 ++ lib/damask/geometry/__init__.py | 2 ++ lib/damask/geometry/geometry.py | 2 ++ lib/damask/geometry/marc.py | 2 ++ lib/damask/geometry/spectral.py | 2 ++ lib/damask/result/__init__.py | 2 ++ lib/damask/result/marc.py | 2 ++ lib/damask/result/result.py | 2 ++ lib/damask/result/spectral.py | 2 ++ lib/damask/solver/__init__.py | 2 ++ lib/damask/solver/marc.py | 2 ++ lib/damask/solver/solver.py | 2 ++ lib/damask/solver/spectral.py | 2 ++ lib/damask/test/__init__.py | 2 ++ lib/damask/test/test.py | 2 ++ 19 files changed, 40 insertions(+), 1 deletion(-) diff --git a/lib/damask/__init__.py b/lib/damask/__init__.py index 1a759a68f..291b70a4e 100644 --- a/lib/damask/__init__.py +++ b/lib/damask/__init__.py @@ -1,7 +1,10 @@ +# $Id$ + from .environment import Environment # only one class from .asciitable import ASCIItable # only one class from .config import Material # will be extended to debug and numerics from .result import Result # one class with subclasses from .geometry import Geometry # one class with subclasses from .solver import Solver # one class with subclasses -from .test import Test \ No newline at end of file +from .test import Test +from . import core diff --git a/lib/damask/asciitable.py b/lib/damask/asciitable.py index 487857878..476e99591 100644 --- a/lib/damask/asciitable.py +++ b/lib/damask/asciitable.py @@ -1,3 +1,5 @@ +# $Id$ + class ASCIItable(): ''' There should be a doc string here :) diff --git a/lib/damask/config/__init__.py b/lib/damask/config/__init__.py index 0e48106e7..137a52524 100644 --- a/lib/damask/config/__init__.py +++ b/lib/damask/config/__init__.py @@ -1 +1,3 @@ +# $Id$ + from .material import Material diff --git a/lib/damask/config/material.py b/lib/damask/config/material.py index 02c53f563..410b444c5 100644 --- a/lib/damask/config/material.py +++ b/lib/damask/config/material.py @@ -1,3 +1,5 @@ +# $Id$ + class Material(): ''' Reads, manipulates and writes material.config files diff --git a/lib/damask/environment.py b/lib/damask/environment.py index b53b86f28..54ba18e1a 100644 --- a/lib/damask/environment.py +++ b/lib/damask/environment.py @@ -1,3 +1,5 @@ +# $Id$ + import os,sys,string,re class Environment(): diff --git a/lib/damask/geometry/__init__.py b/lib/damask/geometry/__init__.py index effd44cae..e7675bb58 100644 --- a/lib/damask/geometry/__init__.py +++ b/lib/damask/geometry/__init__.py @@ -1,3 +1,5 @@ +# $Id$ + from .geometry import Geometry # only one class from .spectral import Spectral # only one class from .marc import Marc # only one class diff --git a/lib/damask/geometry/geometry.py b/lib/damask/geometry/geometry.py index 8ad0fe891..1c65b6ce5 100644 --- a/lib/damask/geometry/geometry.py +++ b/lib/damask/geometry/geometry.py @@ -1,3 +1,5 @@ +# $Id$ + import damask.geometry class Geometry(): diff --git a/lib/damask/geometry/marc.py b/lib/damask/geometry/marc.py index 8cfecfc9f..742be6eea 100644 --- a/lib/damask/geometry/marc.py +++ b/lib/damask/geometry/marc.py @@ -1,3 +1,5 @@ +# $Id$ + from .geometry import Geometry class Marc(Geometry): diff --git a/lib/damask/geometry/spectral.py b/lib/damask/geometry/spectral.py index 626c50f45..14ac10f78 100644 --- a/lib/damask/geometry/spectral.py +++ b/lib/damask/geometry/spectral.py @@ -1,3 +1,5 @@ +# $Id$ + from .geometry import Geometry class Spectral(Geometry): diff --git a/lib/damask/result/__init__.py b/lib/damask/result/__init__.py index b04817869..41ddf2a9e 100644 --- a/lib/damask/result/__init__.py +++ b/lib/damask/result/__init__.py @@ -1,3 +1,5 @@ +# $Id$ + from .result import Result # only one class from .spectral import Spectral # only one class from .marc import Marc # only one class diff --git a/lib/damask/result/marc.py b/lib/damask/result/marc.py index 062747326..f11bb4dce 100644 --- a/lib/damask/result/marc.py +++ b/lib/damask/result/marc.py @@ -1,3 +1,5 @@ +# $Id$ + from .result import Result class Marc(Result): diff --git a/lib/damask/result/result.py b/lib/damask/result/result.py index 295cd8b21..27f35a250 100644 --- a/lib/damask/result/result.py +++ b/lib/damask/result/result.py @@ -1,3 +1,5 @@ +# $Id$ + import damask.result class Result(): diff --git a/lib/damask/result/spectral.py b/lib/damask/result/spectral.py index 9fa4f0c13..f4105c5c8 100644 --- a/lib/damask/result/spectral.py +++ b/lib/damask/result/spectral.py @@ -1,3 +1,5 @@ +# $Id$ + from .result import Result class Spectral(Result): diff --git a/lib/damask/solver/__init__.py b/lib/damask/solver/__init__.py index eb2dd557a..39dee23de 100644 --- a/lib/damask/solver/__init__.py +++ b/lib/damask/solver/__init__.py @@ -1,3 +1,5 @@ +# $Id$ + from .solver import Solver # only one class from .spectral import Spectral # only one class from .marc import Marc # only one class diff --git a/lib/damask/solver/marc.py b/lib/damask/solver/marc.py index 1dc5492e3..5f460a984 100644 --- a/lib/damask/solver/marc.py +++ b/lib/damask/solver/marc.py @@ -1,3 +1,5 @@ +# $Id$ + from .solver import Solver diff --git a/lib/damask/solver/solver.py b/lib/damask/solver/solver.py index 840f614a7..9740f58a8 100644 --- a/lib/damask/solver/solver.py +++ b/lib/damask/solver/solver.py @@ -1,3 +1,5 @@ +# $Id$ + import damask.solver class Solver(): diff --git a/lib/damask/solver/spectral.py b/lib/damask/solver/spectral.py index de3213b12..505d51b5b 100644 --- a/lib/damask/solver/spectral.py +++ b/lib/damask/solver/spectral.py @@ -1,3 +1,5 @@ +# $Id$ + from .solver import Solver class Spectral(Solver): diff --git a/lib/damask/test/__init__.py b/lib/damask/test/__init__.py index 84c51f747..96fcfc0d1 100644 --- a/lib/damask/test/__init__.py +++ b/lib/damask/test/__init__.py @@ -1 +1,3 @@ +# $Id$ + from .test import Test diff --git a/lib/damask/test/test.py b/lib/damask/test/test.py index 7f94152a9..b34f621a9 100644 --- a/lib/damask/test/test.py +++ b/lib/damask/test/test.py @@ -1,4 +1,6 @@ #!/usr/bin/env python +# $Id$ + import os, sys import subprocess,shutil