Commit 4f5d99a1 authored by Kevin Moreau's avatar Kevin Moreau

corrections



git-svn-id: https://svn.ec-nantes.fr/eXlibris/Applis/TLSDuctile@2342 fbbead7c-fb4d-4173-aa67-51132c73c120
parent 4b801184
......@@ -13,11 +13,14 @@ Test cases are in:
TLSDuctile/atomic_test,
TLSDuctile/test.
In TLSDuctile/atomic_test, test cases are either really simple to test
one functionality or usefull to develop new functionalities.
In TLSDuctile/atomic_test, test cases are either really simple,
to test one functionality, or really complicated, to develop
new functionalities. Such functionalities are then added to
TLSDuctile/src.
In TLSDuctile/test, test cases are grouped into three groups, based on
the prefix name "dam_", "dyn_", "plast_" of the test case.
In TLSDuctile/test, test cases are grouped into several groups, based
on the prefix name of the test case. For example: "dam_", "dyn_",
"plast_"...
Configuration
......@@ -66,7 +69,7 @@ To launch an executable: (dam_pull_out for example)
Note 1: I believe it is better to copy data files in the run directory
because then you can change data files without loosing data
information from which you got your results. Moreover, your data dir
stay unchanged and you don't risk to commit new data parameter.
stay unchanged and you don't risk to commit new data parameters.
Note 2: You can find as well in each directory a reference.py script
from which you can document to know HOW TO LAUNCH A SPECIFIC TEST
......@@ -82,6 +85,9 @@ To launch an executable from a restoration archive:
cp ../data/cross_ring.msh mesh.msh
../dam_pull_out main.dat restoration_archive.tar # if you have one !
The restoration archive can be generated by adding "save <a
frequency>" to the export_manager list.
To check if test cases work:
ctest
......@@ -117,7 +123,7 @@ Good practices
* On classes
- to try to maximize encapsulation,
- to comment only on headers excepted for very twisted lines of code,
otherwise it polutes the code.
otherwise it pollutes the code.
* On the library (TLSDuctile)
- to provide an single header "TLSDuctile.h" for test cases.
......
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