From: admin Date: Wed, 13 Jul 2005 13:19:29 +0000 (+0000) Subject: This commit was generated by cvs2git to create tag 'EF_PHASE1_1'. X-Git-Tag: EF_PHASE1_1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6d1f6622036be7457393c8d440b72c364311b896;p=tools%2Fmedcoupling.git This commit was generated by cvs2git to create tag 'EF_PHASE1_1'. Sprout from ForEric 2005-07-13 13:19:28 UTC fayolle 'Nouvelle fonction de création d'un FIELD dans le mode d'entrelacement contraire :' Delete: INSTALL LICENCE Makefile.in adm_local/unix/config_files/README adm_local/unix/make_commence.in adm_local/unix/make_conclude.in adm_local/unix/make_omniorb.in bin/VERSION build_configure configure.in.base doc/MEDMEM/FIELDcreate.cxx doc/MEDMEM/FIELDcreate.py doc/MEDMEM/FIELDgeneral.cxx doc/MEDMEM/FIELDgeneral.py doc/MEDMEM/HOWTO Create A New Driver.txt doc/MEDMEM/MEDMEM_InvokingDriverAtObjectCreationTime.cxx doc/MEDMEM/MEDMEM_InvokingDriverAtObjectCreationTime.py doc/MEDMEM/MEDMEM_InvokingDriverByAttachingItToAnObject.cxx doc/MEDMEM/MEDMEM_InvokingDriverByAttachingItToAnObject.py doc/MEDMEM/MEDMEM_InvokingDriverFromStandardObjectMethod.cxx doc/MEDMEM/MEDMEM_InvokingDriverFromStandardObjectMethod.py doc/MEDMEM/MEDMEM_MedAddingAnExistingObject.cxx doc/MEDMEM/MEDMEM_UML.dia doc/MEDMEM/MEDMEM_UsersGuide.lyx doc/MEDMEM/MEDMEM_UsersGuide.tex.in doc/MEDMEM/MESHINGexample.cxx doc/MEDMEM/MESHconnectivities.cxx doc/MEDMEM/MESHconnectivities.py doc/MEDMEM/MESHcoordinates.cxx doc/MEDMEM/MESHcoordinates.py doc/MEDMEM/MESHgeneral.cxx doc/MEDMEM/MESHgeneral.py doc/MEDMEM/Makefile.in doc/MEDMEM/TODO Drivers.txt doc/Makefile.in doc/html/INPUT/HTML/MED.html doc/html/INPUT/HTML/MED_Gen.html doc/html/INPUT/doxyfile doc/html/INPUT/sources/Application-About.png doc/html/INPUT/sources/Application-About1.jpg doc/html/INPUT/sources/application.gif doc/html/INPUT/sources/application.jpg doc/html/INPUT/sources/bg_salome.gif doc/html/INPUT/sources/bg_salomepro.gif doc/html/INPUT/sources/doxygen.css doc/html/INPUT/sources/logocorp.gif doc/html/INPUT/sources/myheader.html doc/html/INPUT/sources/occ.gif doc/html/INPUT/sources/static/doxygen.css doc/html/INPUT/sources/static/page2.html doc/html/INPUT/sources/static/tree.js doc/html/INPUT/sources/static/treeview.js doc/html/Makefile.in doc/salome/MED_index.html doc/salome/Makefile.in doc/salome/tui/MED/HTML/MED.html doc/salome/tui/MED/HTML/MED_Gen.html doc/salome/tui/MED/doxyfile doc/salome/tui/MED/sources/Application-About.png doc/salome/tui/MED/sources/Application-About1.jpg doc/salome/tui/MED/sources/application.gif doc/salome/tui/MED/sources/application.jpg doc/salome/tui/MED/sources/bg_salome.gif doc/salome/tui/MED/sources/logocorp.gif doc/salome/tui/MED/sources/myheader.html doc/salome/tui/MED/sources/occ.gif doc/salome/tui/MED/sources/static/doxygen.css doc/salome/tui/MED/sources/static/page2.html doc/salome/tui/MED/sources/static/tree.js doc/salome/tui/MED/sources/static/treeview.js doc/salome/tui/Makefile.in idl/Compo1Py.idl idl/MED.idl idl/MED_Gen.idl idl/Makefile.in resources/Case1.cnc resources/Case1.inp resources/Case1.xyz resources/Darcy3_3D_H_10x10x10.sauve resources/Data.png resources/Infos.png resources/MED.config resources/MEDCatalog.xml resources/MED_en.xml resources/Mistrat.med resources/ModuleMed.png resources/Structure.png resources/TimeStamps.med resources/boitenew.cnc resources/boitenew.inp resources/boitenew.xyz resources/carre_en_quad4.med resources/carre_en_quad4_seg2.med resources/config resources/cube.cnc resources/cube.inp resources/cube.xyz resources/cube_hexa8.med resources/cube_hexa8_quad4.med resources/dx200_dy1_avec_2couches.sauve resources/elle_2D_QT_10x10.sauve resources/elle_2D_QT_2x2.sauve resources/elle_2D_QT_40x40.sauve resources/elle_2D_QT_4x4.sauve resources/elle_3D_HPr_10x10x10.sauve resources/elle_3D_HPr_2x2x2.sauve resources/elle_3D_HPr_4x4x4.sauve resources/inclusion_2d.sauve resources/inclusion_2d_raf.sauve resources/mail-test1-4-1.sauve resources/mail-test1-4-2.sauve resources/mail_ktest1-3-hexa.sauve resources/mail_ktest1-3-tetra.sauve resources/mail_ktest3-1.sauve resources/mail_ktest3-2.sauve resources/mail_test1-1-qua.sauve resources/mail_test1-1-tri.sauve resources/mail_test1-2-qua.sauve resources/mail_test1-2-tri.sauve resources/maill.0.med resources/maillage_CHEMVAL_100elts.sauve resources/maillage_CHEMVAL_40elts.sauve resources/maillage_UniSegFam.med resources/maillage_andra2_100elts.sauve resources/maillage_cas2_2d.sauve resources/maillage_cas4_234elts.sauve resources/maillage_chemvalIV_cas1_100elts.sauve resources/maillage_chemvalIV_cas1_40elts.sauve resources/mesh.med resources/pointe.med resources/test19.med resources/test3.cnc resources/test3.inp resources/test3.xyz resources/titi.cnc resources/titi.inp resources/titi.xyz resources/zzzz121b.med src/INTERPOLATION/MEDMEM_Interpolation.hxx src/INTERPOLATION/MEDMEM_InterpolationHighLevelObjects.hxx src/INTERPOLATION/MEDMEM_InterpolationHighLevelObjects.hxx.old src/INTERPOLATION/MEDMEM_InterpolationTools.hxx src/INTERPOLATION/MEDMEM_Mapping.hxx src/INTERPOLATION/MEDMEM_MappingTools.hxx src/INTERPOLATION/MEDMEM_WrapperCells.hxx src/INTERPOLATION/MEDMEM_WrapperConnectivity.hxx src/INTERPOLATION/MEDMEM_WrapperField.hxx src/INTERPOLATION/MEDMEM_WrapperMesh.hxx src/INTERPOLATION/MEDMEM_WrapperNodes.hxx src/INTERPOLATION/MEDMEM_dTree.hxx src/INTERPOLATION/MEDMEM_dTreeSommet.hxx src/INTERPOLATION/Makefile.in src/INTERPOLATION/UseCaseInterpolationts.cxx src/INTERPOLATION/UseCaseInterpolationwots.cxx src/INTERPOLATION/UseCaseMapping.cxx src/INTERPOLATION/UseCaseWrapper_Maillage.cxx src/INTERPOLATION/UseCasedTree.cxx src/INTERPOLATION/create_mesh_interpolation.c src/INTERPOLATION/test_MEDMEM_Interpolation.cxx src/INTERPOLATION/test_MEDMEM_InterpolationFlipBack.cxx src/INTERPOLATION/test_MEDMEM_InterpolationFromMesh_toMesh.cxx src/INTERPOLATION/test_MEDMEM_InterpolationRecopieMaillage.cxx src/INTERPOLATION/test_MEDMEM_InterpolationSansRecopieMaillage.cxx src/INTERPOLATION/test_MEDMEM_InterpolationTimeStep.cxx src/MED/MED_test1.py src/MED/MED_test2.py src/MED/Makefile.in src/MED/Med_Gen_i.cxx src/MED/Med_Gen_i.hxx src/MED/Med_Gen_test.py src/MEDGUI/MED_icons.po src/MEDGUI/MED_msg_en.po src/MEDGUI/MED_msg_fr.po src/MEDGUI/Makefile.in src/MEDGUI/MedGUI.cxx src/MEDGUI/MedGUI.h src/MEDMEM_I/MEDMEM_Family_i.cxx src/MEDMEM_I/MEDMEM_Family_i.hxx src/MEDMEM_I/MEDMEM_FieldDouble_i.cxx src/MEDMEM_I/MEDMEM_FieldDouble_i.hxx src/MEDMEM_I/MEDMEM_FieldInt_i.cxx src/MEDMEM_I/MEDMEM_FieldInt_i.hxx src/MEDMEM_I/MEDMEM_Field_i.cxx src/MEDMEM_I/MEDMEM_Field_i.hxx src/MEDMEM_I/MEDMEM_Group_i.cxx src/MEDMEM_I/MEDMEM_Group_i.hxx src/MEDMEM_I/MEDMEM_Med_i.cxx src/MEDMEM_I/MEDMEM_Med_i.hxx src/MEDMEM_I/MEDMEM_Mesh_i.cxx src/MEDMEM_I/MEDMEM_Mesh_i.hxx src/MEDMEM_I/MEDMEM_Support_i.cxx src/MEDMEM_I/MEDMEM_Support_i.hxx src/MEDMEM_I/MEDMEM_convert.cxx src/MEDMEM_I/MEDMEM_convert.hxx src/MEDMEM_I/Makefile.in src/MEDMEM_I/README src/MEDMEM_SWIG/MEDMEM_SWIG_FieldDouble.cxx src/MEDMEM_SWIG/MEDMEM_SWIG_FieldDouble.hxx src/MEDMEM_SWIG/MEDMEM_SWIG_FieldInt.cxx src/MEDMEM_SWIG/MEDMEM_SWIG_FieldInt.hxx src/MEDMEM_SWIG/MEDMEM_SWIG_MedFieldDoubleDriver.cxx src/MEDMEM_SWIG/MEDMEM_SWIG_MedFieldDoubleDriver.hxx src/MEDMEM_SWIG/MEDMEM_SWIG_MedFieldIntDriver.cxx src/MEDMEM_SWIG/MEDMEM_SWIG_MedFieldIntDriver.hxx src/MEDMEM_SWIG/Makefile.in src/MEDMEM_SWIG/libMEDMEM_Swig.i src/MEDMEM_SWIG/medMeshing_test.py src/MEDMEM_SWIG/med_field_anal.py src/MEDMEM_SWIG/med_opfield_test.py src/MEDMEM_SWIG/med_opsupp_test.py src/MEDMEM_SWIG/med_test1.py src/MEDMEM_SWIG/med_test2.py src/MEDMEM_SWIG/med_test3.py src/MEDMEM_SWIG/med_test_grid.py src/MEDMEM_SWIG/med_test_skin.py src/MEDMEM_SWIG/my_typemap.i src/MEDMEM_SWIG/testMedMemGeneral.py src/MEDMEM_SWIG/test_gibi.py src/MEDMEM_SWIG/test_porflow.py src/MED_SWIG/MED_shared_modules.py src/MED_SWIG/Makefile.in src/Makefile.in src/MedClient/Makefile.in src/MedClient/src/CONNECTIVITYClient.cxx src/MedClient/src/CONNECTIVITYClient.hxx src/MedClient/src/COORDINATEClient.cxx src/MedClient/src/COORDINATEClient.hxx src/MedClient/src/FAMILYClient.cxx src/MedClient/src/FAMILYClient.hxx src/MedClient/src/FIELDClient.cxx src/MedClient/src/FIELDClient.hxx src/MedClient/src/FIELDDOUBLEClient.cxx src/MedClient/src/FIELDDOUBLEClient.hxx src/MedClient/src/FIELDINTClient.cxx src/MedClient/src/FIELDINTClient.hxx src/MedClient/src/GROUPClient.cxx src/MedClient/src/GROUPClient.hxx src/MedClient/src/MESHClient.cxx src/MedClient/src/MESHClient.hxx src/MedClient/src/Makefile.in src/MedClient/src/MakefileForTest src/MedClient/src/MemorySpy.cxx src/MedClient/src/MemorySpy.hxx src/MedClient/src/README_medclient_test src/MedClient/src/SUPPORTClient.cxx src/MedClient/src/SUPPORTClient.hxx src/MedClient/src/TESTMEDCLIENT_Gen.idl src/MedClient/src/TESTMEDCLIENT_Gen_i.cxx src/MedClient/src/TESTMEDCLIENT_Gen_i.hxx src/MedClient/src/UtilClient.hxx src/MedClient/src/create_mesh_c2q4.c src/MedClient/src/create_mesh_c2t3.c src/MedClient/src/create_mesh_c3h8.c src/MedClient/src/create_mesh_c3t4.c src/MedClient/src/libMEDClient.i src/MedClient/src/test_medclient.py src/MedClient/test/Makefile.in src/MedClient/test/environ/Makefile.in src/MedClient/test/environ/csh/Makefile.in src/MedClient/test/environ/csh/init1.in src/MedClient/test/environ/csh/init2.in src/MedClient/test/environ/csh/init3.in src/MedClient/test/environ/csh/runContainer.in src/MedClient/test/environ/csh/runEnvironTests.in src/MedClient/test/environ/csh/stopContainer.in src/MedClient/test/environ/runContainer.in src/MedClient/test/environ/runEnvironTests.in src/MedClient/test/environ/runTestMedCorba.in src/MedClient/test/environ/stopContainer.in src/MedClient/test/resources/carre_en_quad4_seg2.med src/MedClient/test/resources/maill.0.med src/MedClient/test/resources/pointe.med src/MedClient/test/resources/test_hydro_darcy1a_out.med src/MedClient/test/test1/Compo1.py src/MedClient/test/test1/Compo1Py.idl src/MedClient/test/test1/Compo1Py.py src/MedClient/test/test1/Makefile.in src/MedClient/test/test1/TestMedCorba1.py src/MedClient/test/test1/TestMedCorba2.py src/MedClient/test/test1/TestMedCorba3.py src/MedClient/test/test1/TestMedCorba4.py src/MedClient/test/test1/TestMedCorba5.py src/MedClient/test/test1/resources/CatalogModuleTest.xml src/MedClient/test/test1/resources/Compo1PyCatalog.xml src/MedClient/test/test2/Compo2.cxx src/MedClient/test/test2/Compo2.hxx src/MedClient/test/test2/Makefile.in src/MedClient/test/test2/TestMedCorba6.py src/MedClient/test/test2/TestMedCorba7.py src/MedClient/test/test2/TestMedCorba8.py src/MedClient/test/test2/libCompo2.i src/MedCorba_Swig/Makefile.in src/MedCorba_Swig/batchmode_medcorba_test.py src/MedCorba_Swig/batchmode_medcorba_test1.py src/MedCorba_Swig/libMedCorba_Swig.i src/MedCorba_Swig/medcorba_test.py --- diff --git a/doc/MEDMEM/FIELDcreate.cxx b/doc/MEDMEM/FIELDcreate.cxx deleted file mode 100644 index e94b17b78..000000000 --- a/doc/MEDMEM/FIELDcreate.cxx +++ /dev/null @@ -1,66 +0,0 @@ -using namespace std; -#include "MEDMEM_Mesh.hxx" -#include "MEDMEM_Field.hxx" - -using namespace MEDMEM; - -int main (int argc, char ** argv) { - - const string MedFile = "pointe.med" ; - const string MeshName = "maa1" ; - - /* read MESH */ - MESH * myMesh = new MESH(MED_DRIVER,MedFile,MeshName) ; - // myMesh->read() ; - - // we need a support : - SUPPORT * mySupport = new SUPPORT(myMesh,"Support on all CELLs",MED_CELL); - - /* create FIELD on mySupport, with 3 components */ - int NumberOfCompoennts = 3 ; - FIELD myField(mySupport,NumberOfCompoennts) ; - const string FieldName = "fieldcelldouble" ; - myField.setName(FieldName) ; - - // Components information - string * ComponentsNames = new string[NumberOfCompoennts] ; - ComponentsNames[0] = "Vx" ; - ComponentsNames[1] = "Vy" ; - ComponentsNames[2] = "Vz" ; - myField.setComponentsNames(ComponentsNames) ; - - string * ComponentsDescriptions = new string[NumberOfCompoennts] ; - ComponentsDescriptions[0] = "vitesse selon x" ; - ComponentsDescriptions[1] = "vitesse selon y" ; - ComponentsDescriptions[2] = "vitesse selon z" ; - myField.setComponentsDescriptions(ComponentsDescriptions) ; - - string * ComponentsUnits = new string[NumberOfCompoennts] ; - ComponentsUnits[0] = "m.s-1" ; - ComponentsUnits[1] = "m.s-1" ; - ComponentsUnits[2] = "m.s-1" ; - myField.setMEDComponentsUnits(ComponentsUnits) ; - - // Iteration information : - int IterationNumber = 10 ; // set value to MED_NOPDT if undefined (default) - myField.setIterationNumber(IterationNumber) ; - - int OrderNumber = 1 ; // set value to MED_NONOR if undefined (default) - myField.setOrderNumber(OrderNumber) ; - - double Time = 3.435678 ; // in second - myField.setTime(Time) ; - - // Value : - int NumberOfValue = mySupport->getNumberOfElements(MED_ALL_ELEMENTS); - for(int i=1; i<=NumberOfValue; i++) // i^th element - for (int j=1; j<=NumberOfCompoennts; j++) { // j^th component - double myValue = (i+j) * 0.1 ; - myField.setValueIJ(i,j,myValue); - } - - // save this new field - int id = myField.addDriver(MED_DRIVER) ; - - return 0 ; -} diff --git a/doc/MEDMEM/FIELDcreate.py b/doc/MEDMEM/FIELDcreate.py deleted file mode 100644 index 478d6dc56..000000000 --- a/doc/MEDMEM/FIELDcreate.py +++ /dev/null @@ -1,56 +0,0 @@ -###################################################################### -# # -# This Python script should be executed when the shared library is # -# generated using SWIG 1.3 (or higher) due to the fact that older # -# version could not handle the wrapping of several class constructor # -# # -###################################################################### -from libMEDMEM_Swig import * - -MedFile = "pointe.med" -meshName = "maa1" - -myMesh = MESH(MED_DRIVER,MedFile,meshName) - -mySupport = SUPPORT(myMesh,"Support on all CELLs",MED_CELL) - -numberOfComponents = 3 -myField = FIELDDOUBLE(mySupport,numberOfComponents) -fieldName = "fieldcelldouble" -myField.setName(fieldName) - -for i in range(numberOfComponents): - if (i == 0): - name = "Vx" - desc = "vitesse selon x" - elif (i == 1): - name = "Vy" - desc = "vitesse selon y" - else: - name = "Vz" - desc = "vitesse selon z" - unit = "m. s-1" - ip1 = i+1 - myField.setComponentName(ip1,name) - myField.setComponentDescription(ip1,desc) - myField.setMEDComponentUnit(ip1,unit) - -iterationNumber = 10 -myField.setIterationNumber(iterationNumber) - -orderNumber = 1 -myField.setOrderNumber(orderNumber) - -time = 3.435678 -myField.setTime(time) - -numberOfValue = mySupport.getNumberOfElements(MED_ALL_ELEMENTS) - -for i in range(numberOfValue): - ip1 = i+1 - for j in range(numberOfComponents): - jp1 = j+1 - value = (ip1+jp1)*0.1 - myField.setValueIJ(ip1,jp1,value) - -id = myField.addDriver(MED_DRIVER) diff --git a/doc/MEDMEM/FIELDgeneral.cxx b/doc/MEDMEM/FIELDgeneral.cxx deleted file mode 100644 index 120cef911..000000000 --- a/doc/MEDMEM/FIELDgeneral.cxx +++ /dev/null @@ -1,61 +0,0 @@ -using namespace std; -#include "MEDMEM_Mesh.hxx" -#include "MEDMEM_Field.hxx" - -using namespace MEDMEM; - -int main (int argc, char ** argv) { - - const string MedFile = "pointe.med" ; - const string MeshName = "maa1" ; - const string FieldName = "fieldcelldoublevector" ; - - /* read MESH */ - MESH * myMesh = new MESH(MED_DRIVER,MedFile,MeshName) ; - // myMesh->read() ; - - /* read FIELD */ - // we need a support : - SUPPORT * mySupport = new SUPPORT(myMesh,"Support on all Cells",MED_CELL); - FIELD myField(mySupport,MED_DRIVER,MedFile,FieldName) ; - // myField.read() ; - - /* what in Field ? */ - // How many components - int NumberOfCompoennts = myField.getNumberOfComponents() ; - - const string * ComponentsNames = myField.getComponentsNames(); - const string * ComponentsDescriptions = myField.getComponentsDescriptions(); - const string * ComponentsUnits = myField.getMEDComponentsUnits(); - - for(int i=0;igetNumberOfElements(MED_ALL_ELEMENTS); - // Value - const double * Value = myField.getValue(MED_FULL_INTERLACE); - for(int i=0; i inst_med ; - -Within MEDMEM_Object.cxx - // Add a similar line for your personnal driver (step 3) - static INSTANCE_DE inst_med ; - - // Add your own driver in the driver list (step 4) - // Note the list must be coherent with the driver type list defined in MEDMEM_DRIVER.hxx. - const OBJECT::INSTANCE * const OBJECT::instances[] = { &OBJECT::inst_med } ; - -Within MEDMEM_TypeObjectDriver.hxx (ypu can use MEDMEM_TypeObjectDriver.hxx as a pattern for your driver !) - - // Faux : you have to create at least create a TYPE_OBJECT_RDWR_DRIVER even if it only throw an exception - // Faux : because RDONLY or WRONLY doesn't exists. - - Whatever is your driver : RDONLY,WRONLY,RDWR, you must inplement the write & read methods ( even if it only throw an exception) - -TODO : - -Gerer l'appartenance d'un driver type 3 Within l'objet - -Within les méthodes addDriver : - driver = instances[driverType]->run(fileName, this) ; --> Il faut vérifier que le numéro auquel on accède existe ! diff --git a/doc/MEDMEM/MEDMEM_InvokingDriverAtObjectCreationTime.cxx b/doc/MEDMEM/MEDMEM_InvokingDriverAtObjectCreationTime.cxx deleted file mode 100644 index fca94088d..000000000 --- a/doc/MEDMEM/MEDMEM_InvokingDriverAtObjectCreationTime.cxx +++ /dev/null @@ -1,31 +0,0 @@ -#include "MEDMEM_Exception.hxx" -#include "MEDMEM_define.hxx" - -#include "MEDMEM_Field.hxx" -#include "MEDMEM_Mesh.hxx" -#include "MEDMEM_Med.hxx" - -main () { - - const char * fileName = "pointe.med"; - const char * fieldName = "fieldcelldouble"; - const char * meshName = "maa1"; - - try { - - // Test creation of drivers at object Creation time - - //This test failed due to inadequate Support implementation - // FIELD myField (MED_DRIVER,fileName,fieldName); - MESH myMesh (MED_DRIVER,fileName,meshName); - MED myMed (MED_DRIVER,fileName); - - // Test removal of drivers - //myField.rmDriver(); - myMesh.rmDriver (); - myMed.rmDriver (); - - } catch (MEDEXCEPTION& ex){ - MESSAGE(ex.what()) ; - } -} diff --git a/doc/MEDMEM/MEDMEM_InvokingDriverAtObjectCreationTime.py b/doc/MEDMEM/MEDMEM_InvokingDriverAtObjectCreationTime.py deleted file mode 100644 index c13612fb8..000000000 --- a/doc/MEDMEM/MEDMEM_InvokingDriverAtObjectCreationTime.py +++ /dev/null @@ -1,31 +0,0 @@ -###################################################################### -# # -# This Python script should be executed when the shared library is # -# generated using SWIG 1.3 (or higher) due to the fact that older # -# version could not handle the wrapping of several class constructor # -# # -###################################################################### -from libMEDMEM_Swig import * - -medFile = "pointe.med" -fieldName = "fieldcelldouble" -meshName = "maa1" - -try: - print "Creation of MESH object" - myMesh = MESH(MED_DRIVER,medFile,meshName) - - print "Creation of MED object" - myMed = MED(MED_DRIVER,medFile) - - print "Test the driver removal dor MESH" - myMesh.rmDriver() - - print "Test the driver removal dor MED" - myMed.rmDriver() - - print "End of Python script" - -except: - print "There is a problem somewhere !!" - print "Consult the error standart output of the python execution !!" diff --git a/doc/MEDMEM/MEDMEM_InvokingDriverByAttachingItToAnObject.cxx b/doc/MEDMEM/MEDMEM_InvokingDriverByAttachingItToAnObject.cxx deleted file mode 100644 index b8c110ad2..000000000 --- a/doc/MEDMEM/MEDMEM_InvokingDriverByAttachingItToAnObject.cxx +++ /dev/null @@ -1,81 +0,0 @@ -#include "MEDMEM_Exception.hxx" -#include "MEDMEM_define.hxx" - -#include "MEDMEM_Field.hxx" -#include "MEDMEM_Mesh.hxx" -#include "MEDMEM_Med.hxx" - -main () { - - const char * fileName = "pointe.med"; - const char * fileName2 = "Field&MeshGeneratedPointe.med"; - const char * fileName3 = "MedGeneratedPointe.med"; - const char * fieldName = "fieldcelldouble"; - const char * meshName = "maa1"; - - try { - // Test creation of drivers from the standard driver method of an object - { - FIELD * myField = new FIELD(); - MED_FIELD_RDONLY_DRIVER myRdOnlyDriver(fileName,myField); - myRdOnlyDriver.setFieldName(fieldName); - myRdOnlyDriver.open(); - //This test failed due to inadequate Support implementation - // myRdOnlyDriver.read(); - // try { myRdOnlyDriver.write(); } catch (MEDEXCEPTION& ex) - // { MESSAGE(ex.what()); } - MED_FIELD_WRONLY_DRIVER myWrOnlyDriver(fileName2,myField); - myWrOnlyDriver.open(); - //This test failed due to inadequate Support implementation - // myWrOnlyDriver.write(); - // try myWrOnlyDriver.read(); catch (MEDEXCEPTION& ex) - // { MESSAGE(ex.what()); } - myRdOnlyDriver.close(); - myWrOnlyDriver.close(); - delete myField; - } - - { - MESH * myMesh = new MESH(); - MED_MESH_RDONLY_DRIVER myRdOnlyDriver(fileName,myMesh); - myRdOnlyDriver.setMeshName(meshName); - myRdOnlyDriver.open(); - myRdOnlyDriver.read(); - myRdOnlyDriver.close(); - // try { myRdOnlyDriver.write(); } catch (MEDEXCEPTION& ex) - // { MESSAGE(ex.what()); } - MED_MESH_WRONLY_DRIVER myWrOnlyDriver(fileName2,myMesh); - myWrOnlyDriver.setMeshName(meshName); - myWrOnlyDriver.open(); - myWrOnlyDriver.write(); - // try myWrOnlyDriver.read(); catch (MEDEXCEPTION& ex) - // { MESSAGE(ex.what()); } - // myRdOnlyDriver.close(); - //While we use H5close() in the MESH/FIELD drivers, the next - //line will fail, because all files are previously closed ! - myWrOnlyDriver.close(); - delete myMesh; - } - - { - MED * myMed = new MED(); - MED_MED_RDONLY_DRIVER myRdOnlyDriver(fileName,myMed); - myRdOnlyDriver.open(); - myRdOnlyDriver.readFileStruct(); - myRdOnlyDriver.close(); - myMed->updateSupport(); // DOIT ETRE SUPPRIMEE - // myRdOnlyDriver.read(); - // try { myRdOnlyDriver.write(); } catch (MEDEXCEPTION& ex) - // { MESSAGE(ex.what()); } - //MED_MED_WRONLY_DRIVER myWrOnlyDriver(fileName3,myMed); - //myWrOnlyDriver.open(); - //myWrOnlyDriver.write(); // Not implemented yet. - //myWrOnlyDriver.close(); - delete myMed; - } - - } catch (MEDEXCEPTION& ex){ - cout << "MAIN BLOCK EXCEPTION" << endl; - MESSAGE(ex.what()) ; - } -} diff --git a/doc/MEDMEM/MEDMEM_InvokingDriverByAttachingItToAnObject.py b/doc/MEDMEM/MEDMEM_InvokingDriverByAttachingItToAnObject.py deleted file mode 100644 index beb217667..000000000 --- a/doc/MEDMEM/MEDMEM_InvokingDriverByAttachingItToAnObject.py +++ /dev/null @@ -1,63 +0,0 @@ -###################################################################### -# # -# This Python script should be executed when the shared library is # -# generated using SWIG 1.3 (or higher) due to the fact that older # -# version could not handle the wrapping of several class constructor # -# # -###################################################################### -from libMEDMEM_Swig import * - -medFile = "pointe.med" -medFile2 = "Field&MeshGeneratedPointe.med" -fieldName = "fieldcelldouble" -meshName = "maa1" - -try: - myField = FIELDDOUBLE() - myRdOnlyDriver = MED_FIELDDOUBLE_RDONLY_DRIVER(medFile,myField) - myRdOnlyDriver.setFieldName(fieldName) - myRdOnlyDriver.open() - - myWrOnlyDriver = MED_FIELDDOUBLE_WRONLY_DRIVER(medFile2,myField) - myWrOnlyDriver.open() - - myRdOnlyDriver.close() - myWrOnlyDriver.close() - - print "Invoking field drivers OK" -except : - print "there is a problem in invoking field drivers !!" - print "Please consult the error standart output of the python execution !!" - -try: - myMesh = MESH() - myRdOnlyDriver = MED_MESH_RDONLY_DRIVER(medFile,myMesh) - myRdOnlyDriver.setMeshName(meshName) - myRdOnlyDriver.open() - myRdOnlyDriver.read() - myRdOnlyDriver.close() - - myWrOnlyDriver = MED_MESH_WRONLY_DRIVER(medFile,myMesh) - myWrOnlyDriver.setMeshName(meshName) - myWrOnlyDriver.open() - myWrOnlyDriver.write() - - myWrOnlyDriver.close() - - print "Invoking mesh drivers OK" -except : - print "there is a problem in invoking mesh drivers !!" - print "Please consult the error standart output of the python execution !!" - -try: - myMed = MED() - myRdOnlyDriver = MED_MED_RDONLY_DRIVER(medFile,myMed) - myRdOnlyDriver.open() - myRdOnlyDriver.readFileStruct() - myRdOnlyDriver.close() - myMed.updateSupport() - - print "Invoking Med drivers OK" -except : - print "There is a problem in invoking MED drivers !!" - print "Please consult the error standart output of the python execution !!" diff --git a/doc/MEDMEM/MEDMEM_InvokingDriverFromStandardObjectMethod.cxx b/doc/MEDMEM/MEDMEM_InvokingDriverFromStandardObjectMethod.cxx deleted file mode 100644 index 87ed74393..000000000 --- a/doc/MEDMEM/MEDMEM_InvokingDriverFromStandardObjectMethod.cxx +++ /dev/null @@ -1,45 +0,0 @@ -#include "MEDMEM_Exception.hxx" -#include "MEDMEM_define.hxx" - -#include "MEDMEM_Field.hxx" -#include "MEDMEM_Mesh.hxx" -#include "MEDMEM_Med.hxx" - -main () { - - const char * fileName = "pointe.med"; - const char * fileName2 = "fieldCellDoubleOfpointe.med"; - const char * fieldName = "fieldcelldouble"; - const char * meshName = "maa1"; - - try { - // Test creation of drivers from the standard driver method of an object - FIELD * myField = new FIELD(); - int myDriver1 = myField->addDriver(MED_DRIVER, fileName, fieldName); - //myField->read(); - //This test failed due to inadequate Support implementation - myField->rmDriver(); // TESTER LA VALIDITE DE myDriver2 !!!! - - int myDriver2 = myField->addDriver(MED_DRIVER, fileName2, fieldName); - //myField->write(myDriver2); - //This test failed due to inadequate Support implementation - myField->rmDriver(myDriver2); - - MESH * myMesh = new MESH(); - int myDriver3 = myMesh->addDriver(MED_DRIVER, fileName, meshName); - myMesh->read(); - myMesh->rmDriver(); - - MED * myMed = new MED(); - int myDriver4 = myMed->addDriver(MED_DRIVER, fileName); - myMed->readFileStruct(); - myMed->rmDriver(); - - delete myField; - delete myMesh; - delete myMed; - - } catch (MEDEXCEPTION& ex){ - MESSAGE(ex.what()) ; - } -} diff --git a/doc/MEDMEM/MEDMEM_InvokingDriverFromStandardObjectMethod.py b/doc/MEDMEM/MEDMEM_InvokingDriverFromStandardObjectMethod.py deleted file mode 100644 index 3ddef5fad..000000000 --- a/doc/MEDMEM/MEDMEM_InvokingDriverFromStandardObjectMethod.py +++ /dev/null @@ -1,35 +0,0 @@ -###################################################################### -# # -# This Python script should be executed when the shared library is # -# generated using SWIG 1.3 (or higher) due to the fact that older # -# version could not handle the wrapping of several class constructor # -# # -###################################################################### -from libMEDMEM_Swig import * - -medFile = "pointe.med" -medFile2 = "fieldCellDoubleOfpointe.me" -fieldName = "fieldcelldouble" -meshName = "maa1" - -try: - myField = FIEDLDOUBLE() - - myDriver1 = myField->addDriver(MED_DRIVER,medFile,fieldName) - myField.rmDriver() - - myDriver2 = myField->addDriver(MED_DRIVER,medFile2,fieldName) - myField.rmDriver(myDriver2) - - myMesh = MESH() - myDriver3 = myMesh->addDriver(MED_DRIVER,medFile,meshName) - myMesh.read() - myMesh.rmDriver() - - myMed = MED() - myMed.readFileStruct() - myMed.rmDriver() - -except: - print "There is a problem somewhere !!" - print "Please consult the error standart output of the python execution !!" diff --git a/doc/MEDMEM/MEDMEM_MedAddingAnExistingObject.cxx b/doc/MEDMEM/MEDMEM_MedAddingAnExistingObject.cxx deleted file mode 100644 index b137c94b0..000000000 --- a/doc/MEDMEM/MEDMEM_MedAddingAnExistingObject.cxx +++ /dev/null @@ -1,37 +0,0 @@ -#include "MEDMEM_Exception.hxx" -#include "MEDMEM_define.hxx" - -#include "MEDMEM_Field.hxx" -#include "MEDMEM_Mesh.hxx" -#include "MEDMEM_Med.hxx" - -main () { - - const char * fileName = "pointe.med"; - const char * fileName2 = "Field&MeshGeneratedPointe.med"; - const char * fileName3 = "MedGeneratedPointe.med"; - const char * fieldName1 = "fieldcelldouble"; - const char * fieldName2 = "fieldcelldoublebis"; - const char * meshName1 = "maa1"; - const char * meshName2 = "maa1bis"; - - try { - - // FAIRE LE TEST AVEC LES CHAMPS AUSSI !. - - MESH myMesh(MED_DRIVER,fileName,meshName1); - myMesh.setName(meshName2); - myMesh.rmDriver(); - - MED myMed(MED_DRIVER,fileName); - myMed.read(); - myMed.addMesh(&myMesh); - int myMedDriver = myMed.addDriver(MED_DRIVER,fileName3); - myMed.write(myMedDriver); - - // FAIRE LE TEST AVEC LES CHAMPS AUSSI !. - - } catch (MEDEXCEPTION& ex){ - MESSAGE(ex.what()) ; - } -} diff --git a/doc/MEDMEM/MEDMEM_UML.dia b/doc/MEDMEM/MEDMEM_UML.dia deleted file mode 100644 index 13d59840c..000000000 Binary files a/doc/MEDMEM/MEDMEM_UML.dia and /dev/null differ diff --git a/doc/MEDMEM/MEDMEM_UsersGuide.lyx b/doc/MEDMEM/MEDMEM_UsersGuide.lyx deleted file mode 100644 index e0008ba8c..000000000 --- a/doc/MEDMEM/MEDMEM_UsersGuide.lyx +++ /dev/null @@ -1,1248 +0,0 @@ -#LyX 1.1 created this file. For more info see http://www.lyx.org/ -\lyxformat 218 -\textclass report -\begin_preamble -% Packages -%%\usepackage[french]{babel} -%\usepackage[T1]{fontenc} -%\usepackage{epsf} -%\usepackage[dvips]{graphicx} -%\usepackage{fancyhdr} -%\usepackage{pslatex} - -\usepackage[dvips,all,light]{draftcopy} - -\usepackage{verbatim} - -% ____________________________________________________________________________ -% | | -% | MISE EN PAGE | -% |____________________________________________________________________________| - -\draftcopyName{Projet}{200} - -\setlength{\oddsidemargin}{0cm} -\setlength{\marginparsep}{0cm} -\setlength{\marginparwidth}{0cm} - -\setlength{\textwidth}{15cm} - -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0cm} -\setlength{\headsep}{0cm} - -\setlength{\textheight}{23cm} - -% ____________________________________________________________________________ -% | | -% | COMMANDES UTILISATEUR | -% |____________________________________________________________________________| - -\newcommand{\method}[1]{method \mbox{\textbf{#1}}} - -\newcommand{\myref}[1]{\ref{#1}, page \pageref{#1}} - -\newcommand{\fileCxx}[1]{ - \subsection{Full C++ example~: } - \label{#1} - \verbatiminput{#1} -} - -\newcommand{\filePython}[1]{ - \subsection{Full Python example~: } - \label{#1} - \verbatiminput{#1} -} - -% ____________________________________________________________________________ -% | | -% | LE DOCUMENT | -% |____________________________________________________________________________| -% -\title{User's Guide Of Med Memory} -\author{Patrick GOLDBRONN \and Eric Fayolle \and Nadir Bouhamou} - -% ____________________________________________________________________________ -% | | -% | DEBUT DU DOCUMENT | -% |____________________________________________________________________________| -% -\end_preamble -\language english -\inputencoding auto -\fontscheme default -\graphics default -\paperfontsize 11 -\spacing single -\papersize a4paper -\paperpackage a4 -\use_geometry 0 -\use_amsmath 0 -\paperorientation portrait -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation skip -\defskip medskip -\quotes_language english -\quotes_times 2 -\papercolumns 1 -\papersides 1 -\paperpagestyle default - -\layout Standard - - -\latex latex - -\backslash -sloppy -\layout Standard - - -\latex latex - -\backslash -cleardoublepage -\newline - -\latex default - -\begin_inset LatexCommand \tableofcontents{} - -\end_inset - - -\layout Chapter - -Convention -\layout Itemize - -All numbering begin at one (take care of array index !) ; -\layout Itemize - -When you get a C type array with a -\family typewriter -get... - -\family default - method, you must not replace some value of it. - Access is in read only. - Other use may product an impredicable result. - To modify a such array use method -\family typewriter -set... -\family default -. - -\layout Itemize - -Difference between local and global number\SpecialChar ~ -: when we talk about an element - number, we could see -\begin_inset Formula \( i^{th} \) -\end_inset - - quadrangle ( -\begin_inset Formula \( i^{th} \) -\end_inset - - in quadrangles array\SpecialChar ~ -: local numbering) or -\begin_inset Formula \( j^{th} \) -\end_inset - - element ( -\begin_inset Formula \( j^{th} \) -\end_inset - - in all elements array\SpecialChar ~ -: global numbering). - This two numbering are equivalent only if we have one geometric type. -\layout Chapter - -How to use MESH object -\layout Section - -General Information -\layout Standard - -We could get some general information about a MESH object such as\SpecialChar ~ -: -\layout Itemize - -name ( -\latex latex - -\backslash -method{getName} -\latex default -) -\layout Itemize - -a description ( -\latex latex - -\backslash -method{getDescription} -\latex default -) -\layout Itemize - -the space dimension ( -\latex latex - -\backslash -method{getSpaceDimension} -\latex default -) -\layout Itemize - -the mesh dimension ( -\latex latex - -\backslash -method{getMeshDimension} -\latex default -) -\layout Standard - - -\latex latex - -\backslash -fileCxx{MESHgeneral.cxx} - -\backslash -filePython{MESHgeneral.py} -\layout Section - -Information about nodes -\layout Enumerate - -I want to get the number of nodes\SpecialChar ~ -: Realy simple, use -\latex latex - -\backslash -method{getNumberOfNodes} -\latex default -. - -\layout Enumerate - -I want to get the coordinates components names\SpecialChar ~ -: use -\latex latex - -\backslash -method{getCoordinatesNames} -\latex default - which return a string array (one string for each space dimension) -\layout Enumerate - -I want to get the coordinates components units\SpecialChar ~ -: use -\latex latex - -\backslash -method{getCoordinatesUnits} -\latex default - which return a string array (one string for each space dimension) -\layout Enumerate - -I want to get the coordinates system\SpecialChar ~ -: use -\latex latex - -\backslash -method{getCoordinatesSystem} -\latex default - which return a string ( -\latex latex - -\backslash -verb+CARTESIAN+ -\latex default -, -\latex latex - -\backslash -verb+CYLINDRICAL+ -\latex default - or -\latex latex - -\backslash -verb+SPHERICAL+ -\latex default -). - -\layout Enumerate - -I want to get the nodes coordinates\SpecialChar ~ -: use -\latex latex - -\backslash -method{getCoordinates} -\latex default - which return a pointer to the coordinates array where values are interlace - or no. - -\series bold -Warning\SpecialChar ~ -: -\begin_deeper -\layout Itemize - -When we get coordinates in -\latex latex - -\backslash -verb+MED_NO_INTERLACE+ -\latex default - mode, we get an array where values are ordered like ( -\latex latex - -\backslash -verb+X1,X2,X..., Y1,Y..., Z1,Z...+ -\latex default -). - -\layout Itemize - -When we get coordinates in -\latex latex - -\backslash -verb+MED_FULL_INTERLACE+ -\latex default - mode, we get an array where values are ordered like ( -\latex latex - -\backslash -verb+X1,Y1,Z1, X2,Y2,Z2, ...+ -\latex default -). - -\end_deeper -\layout Enumerate - -I want to get one particular value of coordinate\SpecialChar ~ -: use -\latex latex - -\backslash -method{getCoordinate} -\latex default - which return the value of -\begin_inset Formula \( i^{th} \) -\end_inset - - node and -\begin_inset Formula \( j^{th} \) -\end_inset - - axis. -\layout Standard - - -\latex latex - -\backslash -fileCxx{MESHcoordinates.cxx} - -\backslash -filePython{MESHcoordinates.py} -\layout Section - -Information about cells -\layout Enumerate - -I want to get the number of geometric type for a mesh entity\SpecialChar ~ -: use -\latex latex - -\backslash -method{getNumberOfTypes} -\begin_deeper -\layout Standard - - -\series bold -C++ Example\SpecialChar ~ -: -\layout Standard - - -\latex latex - -\backslash -verb+int NumberOfCellsTypes = myMesh.getNumberOfTypes(MED_CELL);+ -\end_deeper -\layout Enumerate - -I want to get all geometric type for a mesh entity\SpecialChar ~ -: use -\latex latex - -\backslash -method{getTypes} -\latex default - to get an array of -\latex latex - -\backslash -verb+medGeometryElement+ -\latex default - (to use directly in others methods) or -\latex latex - -\backslash -method{getCellsTypes} -\latex default - to get an array of -\latex latex - -\backslash -verb+CELLMODEL+ -\latex default - (to ask mode information\SpecialChar ~ -: see CellModel) . -\begin_deeper -\layout Standard - - -\series bold -C++ Example\SpecialChar ~ -: -\layout Standard - - -\latex latex - -\backslash -verb+medGeometryElement * Types = myMesh.getTypes(MED_CELL);+ -\layout Standard - - -\latex latex - -\backslash -verb+CELLMODEL * CellsTypes = myMesh.getCellsTypes(MED_CELL);+ -\layout Standard - -(each arrays are size -\latex latex - -\backslash -verb+NumberOfCellsTypes+ -\latex default -) -\end_deeper -\layout Enumerate - -I want to get the number of cells\SpecialChar ~ -: use -\latex latex - -\backslash -method{getNumberOfElements} -\latex default - which return this information. - You must give the mesh entity ( -\latex latex - -\backslash -verb+MED_CELL+ -\latex default -, -\latex latex - -\backslash -verb+MED_FACE+ -\latex default -, -\latex latex - -\backslash -verb+MED_EDGE+ -\latex default - or -\latex latex - -\backslash -verb+MED_NODE+ -\latex default -) and a geometric type of this entity. -\begin_deeper -\layout Standard - - -\series bold -C++ Example\SpecialChar ~ -: -\layout Standard - - -\latex latex - -\backslash -verb+int NumberOfTriangle = myMesh.getNumberOfElements(MED_FACE,MED_TRIA3);+ -\layout Standard - - -\latex latex - -\backslash -verb+int NumberOfFace = myMesh.getNumberOfElements(MED_FACE,MED_ALL_ELEMENT);+ -\end_deeper -\layout Enumerate - -I want to get the geometric type of one element\SpecialChar ~ -: use -\latex latex - -\backslash -method{getElementType} -\latex default - which return a -\latex latex - -\backslash -verb+medGeometryElement+ -\latex default -. -\begin_deeper -\layout Standard - - -\series bold -C++ Example\SpecialChar ~ -: -\layout Standard - - -\latex latex - -\backslash -verb+medGeometryElement myType = myMesh.getElementType(MED_FACE,10);+ -\layout Standard - -Return the -\latex latex - -\backslash -verb+medGeometryElement+ -\latex default - of -\begin_inset Formula \( 10^{th} \) -\end_inset - - face. -\end_deeper -\layout Enumerate - -I want to get a connectivity\SpecialChar ~ -: use -\latex latex - -\backslash -method{getConnectivity} -\latex default - which return an array with connectivity values. -\begin_deeper -\layout Standard - - -\begin_inset LatexCommand \label{getConnectivity} - -\end_inset - - -\layout Standard - - -\series bold -C++ Example\SpecialChar ~ -: -\layout Standard - - -\latex latex - -\backslash -begin{verbatim} -\newline -int NumberOfTetrahedron = myMesh.getNumberOfElements(MED_CELL,MED_TETRA4); -\newline -int * TetrahedronConnectivity = -\newline - myMesh.getConnectivity(MED_FULL_ENTERLACE, -\newline - MED_NODAL, -\newline - MED_CELL, -\newline - MED_TETRA4); -\newline - -\backslash -end{verbatim} -\backslash -verb+TetrahedronConnectivity+ -\latex default - contain nodal connectivity of tetrahedron in mesh. - It is arranged in full enterlace mode and its size is -\latex latex - -\backslash -verb+NumberOfTetrahedron x 4+ -\latex default -. -\layout Standard - -If you want to get connectivity of all elements (with -\latex latex - -\backslash -verb+Type=MED_ALL_ELEMENTS+ -\latex default -), you must use the index array (return by -\latex latex - -\backslash -method{getConnectivityIndex} -\latex default -) to get connectivity for each elements (see example -\latex latex - -\backslash -myref{MESHconnectivities.cxx} -\latex default -). -\end_deeper -\layout Enumerate - -I want to get an element number from a connectivity\SpecialChar ~ -: use -\latex latex - -\backslash -method{getElementNumber} -\latex default - which return the global number of a given connectivity. -\begin_deeper -\layout Standard - - -\series bold -C++ Example\SpecialChar ~ -: -\layout Standard - - -\latex latex - -\backslash -verb+int * myElementConnectivity = {2,10,12,14};+ -\layout Standard - - -\latex latex - -\backslash -verb+int myNumber = myMesh.getElementNumber(MED_NODAL,MED_CELL,myElementConnectiv -ity);+ -\end_deeper -\layout Standard - - -\latex latex - -\backslash -fileCxx{MESHconnectivities.cxx} - -\backslash -filePyhton{MESHconnectivities.py} -\layout Chapter - -How to use SUPPORT object -\layout Section - -Create a SUPPORT object -\layout Standard - - -\begin_inset LatexCommand \label{CreateSupport} - -\end_inset - - -\layout Standard - -To create a SUPPORT object, you must give : -\layout Itemize - -a reference to a MESH object -\layout Itemize - -its name -\layout Itemize - -on which mesh entity it apply to -\layout Standard - - -\series bold -C++ example\SpecialChar ~ -: -\layout Standard - - -\latex latex - -\backslash -verb+SUPPORT mySupport(myMesh,''support sur toute les faces'',MED_FACE) - ;+ -\latex default - By default, this support is defined on all element of the given entity. -\layout Standard - -If you want a restricted SUPPORT, you must add manualy information about - what do you want\SpecialChar ~ -: -\layout Itemize - -is not on all elements\SpecialChar ~ -: -\latex latex - -\backslash -verb+mySupport.setAll(false);+ -\layout Itemize - -on how many geometric type\SpecialChar ~ -: -\newline - -\latex latex - -\backslash -verb+mySupport.setNumberOfGeometricType(myNumberOfGeometricType);+ -\layout Itemize - -on which geometric type\SpecialChar ~ -: -\newline - -\latex latex - -\backslash -verb+mySupport.setGeometricType(myGeometricType);+ -\layout Itemize - -Temporary : the Gauss point number for each geometric type\SpecialChar ~ -: -\newline - -\latex latex - -\backslash -verb+mySupport.setNumberOfGaussPoint(myNumberOfGaussPoint);+ -\layout Itemize - -the number of elements for each geometric type\SpecialChar ~ -: -\newline - -\latex latex - -\backslash -verb+mySupport.setNumberOfEntities(myNumberOfEntities);+ -\layout Itemize - -the total number of elements\SpecialChar ~ -: -\newline - -\latex latex - -\backslash -verb+mySupport.setTotalNumberOfEntities(myTotalNumberOfEntities);+ -\layout Itemize - -the array which contains elements for each geometric type\SpecialChar ~ -: -\newline - -\latex latex - -\backslash -verb+mySupport.setNumber(myNumber);+ -\layout Standard - -You could also use -\latex latex - -\backslash -method{setpartial} -\latex default - which set all you need. -\layout Section - -Use a SUPPORT object -\layout Standard - -You could get all basic information (as you set them in -\latex latex - -\backslash -myref{CreateSupport} -\latex default -)\SpecialChar ~ -: -\layout Itemize - - -\latex latex - -\backslash -verb+getName()+ -\layout Itemize - - -\latex latex - -\backslash -verb+getDescription()+ -\layout Itemize - - -\latex latex - -\backslash -verb+getMesh()+ -\layout Itemize - - -\latex latex - -\backslash -verb+getEntity()+ -\layout Itemize - - -\latex latex - -\backslash -verb+isOnAllElements()+ -\layout Itemize - - -\latex latex - -\backslash -verb+getNumberOfTypes()+ -\layout Itemize - - -\latex latex - -\backslash -verb+getTypes()+ -\layout Itemize - - -\latex latex - -\backslash -verb+getNumberOfGaussPoint()+ -\layout Itemize - - -\latex latex - -\backslash -verb+getNumberOfGaussPoint(myGeometricType)+ -\layout Itemize - - -\latex latex - -\backslash -verb+getGeometricTypeNumber()+ -\layout Itemize - - -\latex latex - -\backslash -verb+getNumberOfElements(myGeometricType)+ -\layout Itemize - - -\latex latex - -\backslash -verb+getNumber(myGeometricType)+ -\layout Itemize - - -\latex latex - -\backslash -verb+getNumberIndex()+ -\layout Standard - -For details about this methods, see the reference manual -\begin_inset LatexCommand \ref{RefManual} - -\end_inset - -. -\layout Standard - -The use of -\latex latex - -\backslash -method{getNumber} -\latex default - and -\latex latex - -\backslash -method{getNumberIndex} -\latex default - are the same as -\latex latex - -\backslash -method{getConnectivity} -\latex default - and -\latex latex - -\backslash -method{getConnectivityIndex} -\latex default - (see item -\latex latex - -\backslash -myref{getConnectivity} -\layout Standard - -There is another particular method to blend another SUPPORT object into - it. -\layout Standard - -For exemple in C++ : -\latex latex - -\backslash -begin{verbatim} -\newline -SUPPORT mySupport ; -\newline -SUPPORT myOtherSupport ; -\newline -... -\newline -mySupport.blending(myOtherSupport) ; -\newline - -\backslash -end{verbatim} -\layout Standard - - -\latex latex - -\backslash -verb+mySupport+ -\latex default - contain now all elements defined originally in it, more those defined in - -\latex latex - -\backslash -verb+myOtherSupport+ -\latex default -. -\layout Section - -Case of FAMILY object -\layout Section - -Case of GROUP object -\layout Chapter - -How to use Field -\layout Standard - - -\latex latex - -\backslash -newpage -\newline -% -\backslash -thebibliography{biblio} -\layout Standard -\bibitem {RefManual} - -Reference Manual\SpecialChar ~ -: -\latex latex -http://www-drn2.cea.fr/MED/MEDMEM/DOC/html/index.html -\layout Chapter - -Using drivers -\layout Standard - -The generic driver mecanism gives users the possibility to write/read the - content of an object according to a specified file format. - The semantic remains the same whatever the object is (MESH, FIELD, MED). - By the way it allows using several file formats for writting an object. -\layout Section - -Invoking a driver -\layout Subsection - -Invoking a driver at creation object time -\layout Standard - -This is the simplest way of invoking a driver. - The driver parameters are given to the constructor of the object. - Except for the MED object, this way of invoking a driver assume you know - exactly the name of the MESH/FIELD you want read from a file - of type . -\layout Standard - -ex 1.1 : For a FIELD object, invoking FIELD myField(MED_DRIVER,fileName,f -ieldName) create a FIELD object and a driver which loads the mesh - from the MED file (Not implemented yet !). -\layout Standard - -ex 1.2 : To remove the default driver previously created myField->rmDriver(); -\layout Standard - -ex 2 : For a MESH object, invoking MESH myMesh(MED_DRIVER,fileName,meshName) - create a MESH object and a driver which loads the mesh from - the MED file . -\layout Standard - -ex 3 : For a MED object, invoking MED myMed(MED_DRIVER,fileName) create - a MED object to explore the MED file . -\layout Standard - -rem 1 : ex1 is equivalent to -\begin_inset LatexCommand \ref{sec:invoking_a_driver_from_the_std_drv_method} - -\end_inset - - ex1. -\layout Standard - -rem 2 : Since the driver has read the object, the associated file is closed. - You can reread the object with the default driver by calling the read() - method : myObject.read(). -\layout Standard - - -\latex latex - -\backslash -fileCxx{MEDMEM_InvokingDriverAtObjectCreationTime.cxx} -\layout Subsection - -Invoking a driver from the standard driver method of an object -\begin_inset LatexCommand \label{sec:invoking_a_driver_from_the_std_drv_method} - -\end_inset - - -\layout Standard - -This way of invoking a driver give the possiblility to add several drivers - to an exiting object. -\layout Standard - -ex1 : First we create a FIELD without any driver FIELD\SpecialChar ~ -*\SpecialChar ~ -myField1\SpecialChar ~ -=\SpecialChar ~ -new\SpecialChar ~ -FIELD -; then we add a driver with int myDriver1 = myField1->addDriver(driverTy -pe1, fileName1, fieldName1); for reading from file - with myField1->read(myDriver1); -\layout Standard - -ex2 : We add a new driver of type int myDriver2 = myField1->addDri -ver(driverType2, fileName2,fieldName2); in order to write myField1 in file - with name using command myField1->write(myDriver2); -\layout Standard - -rem 1 : Files are openned then closed each time you call read() or write() - methods. -\layout Standard - -rem 2 : If you use more than a driver you need to keep the driver handlers - (myDriverI ). -\layout Standard - - -\latex latex - -\backslash -fileCxx{MEDMEM_InvokingDriverFromStandardObjectMethod.cxx} -\layout Subsection - -Invoking a driver and attaching it to an existing object -\layout Standard - -The methods exposed in the two previous sections always create drivers in - read/write access mode. - Another way of creating a driver is to create a driver with a specific - access mode. -\layout Standard - -ex1 : First we create a FIELD without any driver FIELD\SpecialChar ~ -*\SpecialChar ~ -myField1\SpecialChar ~ -=\SpecialChar ~ -new - FIELD(); then we create a read-only driver MED_FIELD_RDONLY_DRIVER\SpecialChar ~ -myRdOnlyDriver(fileName1,myField1); and attached it to myField1. - Finally you must set the fieldName1 you want to acess in fileName1 with - myRdOnlyDriver->setFieldName(fieldName1); in order to read the field with - myRdOnlyDriver->open(); myRdOnlyDriver->read(); -\layout Standard - -Don't forget to close the file with myRdOnlyDriver->close(). -\layout Standard - -ToDo : By now when you create such specific drivers, the object doesn't - know anything about it. - -\layout Standard - - -\latex latex - -\backslash -fileCxx{MEDMEM_InvokingDriverByAttachingItToAnObject.cxx} -\layout Section - -Using the MED driver -\layout Standard - -The MED object provides the ability of : -\layout Enumerate -\noindent -Obtainning a reference on the whole structure contained in a file. -\layout Enumerate - -Obtainning the list of all the Meshes/Fields names contained in a file. -\layout Enumerate - -Obtainning a Mesh/Field reference using a name. -\layout Enumerate - -Writting a whole set of independent objects with a simple command. - -\layout Subsection - -Exploring files -\layout Standard - -In this first use case the user wants to explore the meshes & fields containned - within a file of type given by the parameter. -\layout Standard - -ex 1 : Calling MED * myMed = new MED(driverType1, fileName1); create a MED - object which open fileName1, read all MESHes/FIELDs relations then close - the file. - -\layout Standard - -This is equivalent to MED\SpecialChar ~ -*\SpecialChar ~ -myMed\SpecialChar ~ -=\SpecialChar ~ -new\SpecialChar ~ -MED(); myDriver\SpecialChar ~ -=\SpecialChar ~ -myMed->addDriver(driverType1, -fileName1); myMed->readFileStruct(myDriver); -\layout Standard - -ex 2 : To get the list of meshNames from a MED object, first ask the object - how many meshes it had by calling int numberOfMeshes\SpecialChar ~ -=\SpecialChar ~ -myMed->getNumberOfMeshes() -; then get the list with myMeshNames\SpecialChar ~ -=\SpecialChar ~ -new string[getMeshNames]; myMed->getMeshNam -es(myMeshNames). - -\layout Standard - -Note you can also use the deque getMeshNames() method. - -\layout Standard - -ex 3 : To get a list of fieldNames from a MED object, first ask the object - how many fields it had by calling int numberOfFields\SpecialChar ~ -=\SpecialChar ~ -myMed->getNumberOfFields() -; then get the list with myFieldNames\SpecialChar ~ -=\SpecialChar ~ -new string[getFieldNames]; myMed->getField -Names(myFieldNames). -\layout Standard - -ex 4 :To get a particular MESH use MESH * myMesh1 = myMED->getMesh(myMeshNames[0 -]) -\layout Standard - -ex 5 :To get a particular FIELD you first need to know what (time step, - iteration number) list is used by calling deque\SpecialChar ~ -myField1DtIt\SpecialChar ~ -=\SpecialChar ~ -myMed->getF -ieldIteration(FieldName[0]) ; then you can ask for getting a specific FIELD - with FIELD\SpecialChar ~ -*\SpecialChar ~ -myField1\SpecialChar ~ -=\SpecialChar ~ -myMED->getField(myFieldNames[0],myField1DtIt[0].dt,myField1D -tIt[0].it). -\layout Standard - -ex2 : To write the whole content of a MED object first add a driver myDriver2\SpecialChar ~ -=\SpecialChar ~ -my -Med.addDriver(driverType2,\SpecialChar ~ -fileName2); then ask for writing the object myMed->writ -e(myDriver2); (not implemented yet !) -\layout Standard - -You can remove the driver with myMed->rmDriver(myDriver2); -\layout Standard - -rem 1 : It is possible to use multiple drivers to read a set of FIELDs / - MESHes from various file formats and writing the whole set through a specific - write.(not implemented yet !) -\layout Subsubsection - -Adding existing MESHes/FIELDs objects -\layout Standard - -Not yet implemented. -\the_end diff --git a/doc/MEDMEM/MEDMEM_UsersGuide.tex.in b/doc/MEDMEM/MEDMEM_UsersGuide.tex.in deleted file mode 100644 index 65043f532..000000000 --- a/doc/MEDMEM/MEDMEM_UsersGuide.tex.in +++ /dev/null @@ -1,773 +0,0 @@ -%% LyX 1.1 created this file. For more info, see http://www.lyx.org/. -%% Do not edit unless you really know what you are doing. -\documentclass[11pt,a4paper,english]{report} -\usepackage[T1]{fontenc} -\usepackage[latin1]{inputenc} -\usepackage{babel} -\usepackage{graphicx} \setcounter{secnumdepth}{3} -\setcounter{tocdepth}{3} -\setlength\parskip{\medskipamount} -\setlength\parindent{0pt} - -\makeatletter - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. -\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. -% Packages -%%\usepackage[french]{babel} -%\usepackage{epsf} -%\usepackage[dvips]{graphicx} -%\usepackage{fancyhdr} -%\usepackage{pslatex} - -%\usepackage[dvips,all,light]{draftcopy} - -\usepackage{verbatim} - -% ___________________________________________________________________________ -% | | -% | MISE EN PAGE | -% |___________________________________________________________________________| -%\draftcopyName{Projet}{200} - -\setlength{\oddsidemargin}{0cm} -\setlength{\marginparsep}{0cm} -\setlength{\marginparwidth}{0cm} - -\setlength{\textwidth}{16cm} - -\setlength{\topmargin}{0cm} -\setlength{\headheight}{0cm} -\setlength{\headsep}{0cm} - -\setlength{\textheight}{24cm} - -% ___________________________________________________________________________ -% | | -% | COMMANDES UTILISATEUR | -% |___________________________________________________________________________| - -\newcommand{\method}[1]{method \mbox{\textbf{#1}}} - -\newcommand{\myref}[1]{\ref{#1}, page \pageref{#1}} - -\newcommand{\fileCxx}[1]{ - \subsection{Full C++ example~: } - \label{#1} - \verbatiminput{@srcdir@/#1} -} - -\newcommand{\filePython}[1]{ - \subsection{Full Python example~: } - \label{#1} - \verbatiminput{@srcdir@/#1} -} - - -% ___________________________________________________________________________ -% | | -% | LE DOCUMENT | -% |___________________________________________________________________________| -% -\title{User's Guide Of Med Memory} -\author{Patrick Goldbronn \and Eric Fayolle \and Nadir Bouhamou \and Jerome Roy \and Nicolas Crouzet} - -% ___________________________________________________________________________ -% | | -% | DEBUT DU DOCUMENT | -% |___________________________________________________________________________| -% - -\makeatother -\begin{document} -\sloppy - -\maketitle - - -% ___________________________________________________________________________ -% | | -% | TABLE DES MATIERES | -% |___________________________________________________________________________| -% -%\newpage -\cleardoublepage -\tableofcontents -% ___________________________________________________________________________ -% | | -% | DEBUT DU TEXTE | -% |___________________________________________________________________________| - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\chapter{Introduction} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -\section{Convention} - -\begin{itemize} - -\item Difference between local and global number~: when we talk about an -element number, we could see $i^{th}$ quadrangle ($i^{th}$ in quadrangles -array~: local numbering) or $j^{th}$ element ($j^{th}$ in all elements array~: -global numbering). This two numbering are equivalent only if we have one -geometric type ; - -\item All numbering begin at one (take care of array index !) ; -\item When you get a C type array with a \texttt{get...} method, you must -not replace some value of it. Access is in read only. Other use may -product an impredicable result. To modify a such array use method -\texttt{set...} ; -\item Difference between local and global number~: when we talk about an -element number, we could see \( i^{th} \) quadrangle (\( i^{th} \) -in quadrangles array~: local numbering) or \( j^{th} \) element -(\( j^{th} \) in all elements array~: global numbering). This two -numbering are equivalent only if we have one geometric type. -\item They are many methods that have two syntax (one singular and one -plural). Plurals methods returns array and singulars methods returns one -particular value in this array (see \method{getCoordinate} and -\method{getCoordinates}). - -\end{itemize} - -\section{UML diagram} - -\includegraphics[width=16cm]{MEDMEM_UML.eps} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\chapter{How to use MED object} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -\section{General Information} - -A typical use of this object is to mount in memory what is in a MED file (or -any type of driver in red or read/write mode) and it will manage its memory on -its own. Then from this object one can get some information such as~: - -\begin{itemize} -\item the number of meshes stored in this object using the -{\method{getNumberOfMeshes}}. -\item the number of fields stored in this object using the -{\method{getNumberOfFields}}. -\item a list of mesh names using the {\method{getMeshNames}}. -\item a list of field names using the {\method{getFieldNames}}. -\item a list of MESH object using the {\method{getMesh}} -\item a list of FIELD object using the {\method{getField}} -\item a list of SUPPORT object on all type of entities (node, cell, - face in 3d or edge on 2d) using the {\method{getSupport}}. -\end{itemize} - -The destuctor of this object will destruct itself all FIELD, SUPPORT and MESH -objects; via its get method you will have a pointeur on this object and you -should never delete it. - -One can add as well some MESH or FIELD object via the {\method{addMesh}} and -the {\method{addField}} respectively. - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\chapter{How to use MESH object} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - - -\section{General Information} - -We could get some general information about a MESH object such as~: - -\begin{itemize} -\item name (\method{getName}) -\item a description (\method{getDescription}) -\item the space dimension (\method{getSpaceDimension}) -\item the mesh dimension (\method{getMeshDimension}) -\end{itemize} -\fileCxx{MESHgeneral.cxx} - -\filePython{MESHgeneral.py} - -\section{Information about nodes} - -\begin{enumerate} -\item I want to get the number of nodes~: Realy simple, use \method{getNumberOfNodes}. -\item I want to get the coordinates components names~: use \method{getCoordinatesNames} -which return a string array (one string for each space dimension) -\item I want to get the coordinates components units~: use \method{getCoordinatesUnits} -which return a string array (one string for each space dimension) -\item I want to get the coordinates system~: use \method{getCoordinatesSystem} -which return a string (\verb+"CARTESIAN"+, \verb+"CYLINDRICAL"+ or \verb+"SPHERICAL"+). -\item I want to get the nodes coordinates~: use \method{getCoordinates} -which return a pointer to the coordinates array where values are interlace -or no. \textbf{Warning~:} - -\begin{itemize} -\item When we get coordinates in \verb+MED_NO_INTERLACE+ mode, we get an -array where values are ordered like (\verb+X1,X2,X..., Y1,Y..., Z1,Z...+). -\item When we get coordinates in \verb+MED_FULL_INTERLACE+ mode, we get -an array where values are ordered like (\verb+X1,Y1,Z1, X2,Y2,Z2, ...+). -\end{itemize} -\item I want to get one particular value of coordinate~: use \method{getCoordinate} -which return the value of \( i^{th} \) node and \( j^{th} \) axis. -\end{enumerate} -\fileCxx{MESHcoordinates.cxx} - -\filePython{MESHcoordinates.py} - -\section{Information about cells} - -\begin{enumerate} -\item I want to get the number of geometric type for a mesh entity~: use -\method{getNumberOfTypes} - - -\textbf{C++ Example~:} - -\verb+int NumberOfCellsTypes = myMesh.getNumberOfTypes(MED_CELL);+ - -%%%%%%%%%%%%%%%%% -\item I want to get all geometric type for a mesh entity~: use -\method{getTypes} to get an array of \verb+medGeometryElement+ -(to use directly in others methods) or \method{getCellsTypes} to get -an array of \verb+CELLMODEL+ (to ask mode information~: see \myref{CellModel}) . - -\textbf{C++ Example~:} - -\verb+const medGeometryElement * Types = myMesh.getTypes(MED_CELL);+ - -\verb+const CELLMODEL * CellsTypes = myMesh.getCellsTypes(MED_CELL);+ - -(each arrays are size \verb+NumberOfCellsTypes+) - -\item I want to get the number of cells~: use \method{getNumberOfElements} -which return this information. You must give the mesh entity (\verb+MED_CELL+, -\verb+MED_FACE+, \verb+MED_EDGE+ or \verb+MED_NODE+) and a geometric -type of this entity. - - -\textbf{C++ Example~:} - -\verb+int NumberOfTriangle = myMesh.getNumberOfElements(MED_FACE,MED_TRIA3);+ - -\verb+int NumberOfFace = myMesh.getNumberOfElements(MED_FACE,MED_ALL_ELEMENT);+ - -\item I want to get the geometric type of one element~: use \method{getElementType} -which return a \verb+medGeometryElement+. - - -\textbf{C++ Example~:} - -\verb+medGeometryElement myType = myMesh.getElementType(MED_FACE,10);+ - -Return the \verb+medGeometryElement+ of \( 10^{th} \) face. - -\item I want to get a connectivity~: use \method{getConnectivity} which -return an array with connectivity values. - - -\label{getConnectivity} - -\textbf{C++ Example~:} - -\begin{verbatim} -int NumberOfTetrahedron = myMesh.getNumberOfElements(MED_CELL,MED_TETRA4); -const int * TetrahedronConnectivity = - myMesh.getConnectivity(MED_FULL_ENTERLACE, - MED_NODAL, - MED_CELL, - MED_TETRA4); -\end{verbatim} -\verb+TetrahedronConnectivity+ contain nodal connectivity -of tetrahedron in mesh. It is arranged in full enterlace mode and -its size is \verb+NumberOfTetrahedron x 4+. - -If you want to get connectivity of all elements (with \verb+Type=MED_ALL_ELEMENTS+), -you must use the index array (return by \method{getConnectivityIndex}) -to get connectivity for each elements (see example \myref{MESHconnectivities.cxx}). - -\item I want to get an element number from a connectivity~: use \method{getElementNumber} -which return the global number of a given connectivity. - - -\textbf{C++ Example~:} -\begin{verbatim} -int * myElementConnectivity = {2,10,12,14}; -int myNumber = myMesh.getElementNumber(MED_NODAL,MED_CELL, - myElementConnectivity); -\end{verbatim} - -\end{enumerate} -\fileCxx{MESHconnectivities.cxx} - -\filePython{MESHconnectivities.py} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\chapter{How to use MESHING object} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -This class is a derivated class of MESH class to build a MESH object from -scratch (use of set methods). - -All verifications are under user responsability : If arrays values or arrays -dimensions are wrongs, results are impredicable. - -All arrays in arguments in set methods are duplicated in MESHING object. - -\section{Build a MESHING} - -\label{BuildMeshing} - -\subsection{Coordinates} - -First we must defined points coordinates of the mesh. We use -\method{setCoordinates}. - -\textbf{C++ Example~:} -\begin{verbatim} -MESHING myMeshing ; -const int SpaceDimension=2; -const int NumberOfNodes=6; -int * Coordinates = new int[SpaceDimension*NumberOfNodes] ; -string System="CARTESIAN"; -medModeSwitch MED_FULL_INTERLACE ; -myMeshing.setCoordinates(SpaceDimension,NumberOfNodes,Coordinates,System,Mode); -\end{verbatim} - -Then you could set the coordinates names and units (with -\method{setCoordinatesNames} and \method{setCoordinatesUnits}). - -\subsection{Connectivities} - -When coordinates are defined, we could defined connectivities. - -First we must defined connectivity of MED\_CELL elements. -After, we could defined constituent connectivity if necesary -(MED\_FACE and/or MED\_EDGE). - -For each connectivities, you could use some methods in the following order : -\begin{itemize} -\item \method{setNumberOfTypes} to set the number of differents geometrics -types (3 for example). This method allocates all arrays which size is this -number ; -\item \method{setTypes} to set the differents geometrics types -({MED\_TETRA4,MED\_PYRA5,MED\_HEXA8} for example). Types should be given -in increasing order of number of nodes for this type ; -\item \method{setNumberOfElements} to set the number of elements for -each geometric type. This method allocates connectivities array ; -\item \method{setConnectivity} to set the connectivity in MED\_FULL\_INTERLACE -mode for each geometric type ; -\end{itemize} - -\textbf{C++ Example~:} -\begin{verbatim} -MESHING myMeshing ; -myMeshing.setCoordinates(SpaceDimension,NumberOfNodes,Coordinates,System,Mode); - -myMeshing.setNumberOfTypes(2,MED_CELL); -myMeshing.setTypes({MED_TRIA3,MED_QUAD4},MED_CELL); -myMeshing.setNumberOfElements({3,2},MED_CELL); // 3 MED_TRIA3 and 2 MED_QUAD4 -myMeshing.setConnectivity({1,2,3,6,8,9,4,5,6},MED_CELL,MED_TRIA3); -myMeshing.setConnectivity({1,3,4,5,4,5,7,8},MED_CELL,MED_QUAD4); -\end{verbatim} - - -\section{Defined a GROUP object} - -To add a group in a MESHING object, use \method{addGroup}. - -This method duplicate the GROUP object in the MESH object. - -To build this GROUP object, use SUPPORT methods \ref{CreateSupport} to set all attributes. - -\subsection{WARNING} - -For instance, translation from GROUP objects to FAMILY objects are not completed ! - -You MUST set GROUP objects as if they are FAMILY objects. - -This feature will be fully implemented in next release of med memory. - -\section{Example} - -\fileCxx{MESHINGexample.cxx} - -%\filePython{MESHINGexample.py} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\chapter{How to use SUPPORT object} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -\section{Create a SUPPORT object} - -\label{CreateSupport} - -To create a SUPPORT object, you must give : - -\begin{itemize} -\item a reference to a MESH object -\item its name -\item on which mesh entity it apply to -\end{itemize} -\textbf{C++ example~:} - -\verb+SUPPORT mySupport(myMesh,"support on all faces",MED_FACE) ;+ -By default, this support is defined on all elements of the given entity. - -If you want a restricted SUPPORT, you must add manualy information -about what do you want~: - -\begin{itemize} -\item is not on all elements~: \verb+mySupport.setAll(false);+ -\item on how many geometric type~:\\ - \verb+mySupport.setNumberOfGeometricType(myNumberOfGeometricType);+ -\item on which geometric type~:\\ - \verb+mySupport.setGeometricType(myGeometricType);+ -\item Temporary : the Gauss point number for each geometric type~:\\ - \verb+mySupport.setNumberOfGaussPoint(myNumberOfGaussPoint);+ -\item the number of elements for each geometric type~:\\ - \verb+mySupport.setNumberOfEntities(myNumberOfEntities);+ -\item the total number of elements~:\\ - \verb+mySupport.setTotalNumberOfEntities(myTotalNumberOfEntities);+ -\item the array which contains elements for each geometric type~:\\ - \verb+mySupport.setNumber(myNumber);+ -\end{itemize} -You could also use \method{setpartial} which set all you need. - - -\section{Use a SUPPORT object} - -You could get all basic information (as you set them in \myref{CreateSupport})~: - -\begin{itemize} -\item \verb+getName()+ -\item \verb+getDescription()+ -\item \verb+getMesh()+ -\item \verb+getEntity()+ -\item \verb+isOnAllElements()+ -\item \verb+getNumberOfTypes()+ -\item \verb+getTypes()+ -%\item \verb+getNumberOfGaussPoint()+ -%\item \verb+getNumberOfGaussPoint(myGeometricType)+ -\item \verb+getGeometricTypeNumber()+ -\item \verb+getNumberOfElements(myGeometricType)+ -\item \verb+getNumber(myGeometricType)+ -\item \verb+getNumberIndex()+ -\end{itemize} -For details about this methods, see the reference manual \cite{RefManual}. - -The use of \method{getNumber} and \method{getNumberIndex} are the -same as \method{getConnectivity} and \method{getConnectivityIndex} -(see item \myref{getConnectivity} - -There is another particular method to blend another SUPPORT object -into it. - -For example in C++ : -\begin{verbatim} -SUPPORT mySupport ; -SUPPORT myOtherSupport ; -... -mySupport.blending(myOtherSupport) ; -\end{verbatim} - -\verb+mySupport+ contain now all elements defined originally in it, -more those defined in \verb+myOtherSupport+. - - -\section{Case of FAMILY object} - -A FAMILY is a SUPPORT with some additionnal methods that concern some optional attribut (we could have none) and group (we could also have none) : -\begin{itemize} -\item \method{getIdentifier} return the family identifier (an integer) - -\item \method{getNumberOfAttributes} return the number of attributes of this family -\item \method{getAttributesIdentifiers} and \method{getAttributeIdentifier} return an integer array or an integer that represent attribut identifier. -\item \method{getAttributesValues} and \method{getAttributeValue} return an integer array or an integer that represent attribut value. -\item \method{getAttributesDescriptions} and \method{getAttributeDescription} return a string array or a string that represent attribut description. - -\item \method{getNumberOfGroups} return the number of groups which it belog to. -\item \method{getGroupsNames} and \method{getGroupName} return a string array or a string that represent the group name which it belog to. - -\end{itemize} - -\section{Case of GROUP object} - -A GROUP is a SUPPORT with some additionnal methods to find FAMILY that make up it : -\begin{itemize} -\item \method{getNumberOfFamilies} return the number of FAMILY that make up the GROUP ; -\item \method{getFamilies} and \method{getFamily} return a FAMILY array or a FAMILY that make up the GROUP. -\end{itemize} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\chapter{How to use Field} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -\section{Introduction} - -A field is characterized by its name (\method{getName}) and an optional description (\method{getDescription}). - -It is also characterized by this calculating moment : -\begin{itemize} -\item an iteration number (time step number) -\item an order number (use if there are internal iteration in a time step) -\item the time that correspond to this iteration number. -\end{itemize} - -By default, there are no iteration and order number defined (value -MED\_NOPDT and MED\_NONOR). - -A field contain values which apply on some nodes or elements (cell, face or edge). - -We find these informations from a SUPPORT object (see \method{getSupport}). - -Each field have a number of components (\method getNumberOfComponents) and all these components have a name (\method{getComponentsNames} and \method{getComponentName}), a description (\method{getComponentsDescriptions} and \method{getComponentDescription}) and an unit (\method{getMEDComponentsUnits} and \method{getMEDComponentUnit}). - -For unit you could use later UNIT (\myref{Unit}) objet to make a more general control on it. But the use of this class must be specified. - -To get values of a FIELD, you could use \method{getValue}, \method{getValueI} -and \method{getValueIJ}~: - -\begin{itemize} -\item First return a reference to all values in the given mode (full or no -interlace). -\item Second return a reference to $i^{th}$ element values or component values (in accordance with the given mode). -\item Third return the $j^{th}$ component of $i^{th}$ element. -\end{itemize} - -\fileCxx{FIELDgeneral.cxx} - -\filePython{FIELDgeneral.py} - -\section{Create a Field} - -It is simple to create a field object. You must know its SUPPORT and the number of components. - -\textbf{Example :} -\verb+FILED myField(mySupport,NumberOfComponents) ;+ - -You must now set a name (\method{setName}) and optionaly a description -(\method{setDescription}). - -By default there are no iteration and order number (negative values) and -time is null. You could change this by using \method{setIterationNumber}, -\method{setOrderNumber} and \method{setTime}. - -You \textbf{SHOULD} also set unit of your components with \method{setMEDComponentUnit} - -To set value, use \method{setValueIJ} to put new value of field. - -\fileCxx{FIELDcreate.cxx} - -\filePython{FIELDcreate.py} - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\chapter{Other Classes} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - - -\section{class CELLMODEL} -\label{CellModel} - -To do - -\section{class UNIT} -\label{Unit} - -To do - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\chapter{Using drivers} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -The generic driver mecanism gives users the possibility to write/read -the content of an object according to a specified file format. The -semantic remains the same whatever the object is (MESH, FIELD, MED). -By the way it allows using several file formats for writting an object. - - -\section{Invoking a driver} - - -\subsection{Invoking a driver at creation object time} - -This is the simplest way of invoking a driver. The driver parameters -are given to the constructor of the object. Except for the MED object, -this way of invoking a driver assume you know exactly the name of -the MESH/FIELD you want read from a file of type . - -ex 1.1 : For a FIELD object, invoking FIELD myField(MED\_DRIVER,fileName,fieldName) -create a FIELD object and a driver which loads the mesh -from the MED file (Not implemented yet !). - -ex 1.2 : To remove the default driver previously created myField->rmDriver(); - -ex 2 : For a MESH object, invoking MESH myMesh(MED\_DRIVER,fileName,meshName) -create a MESH object and a driver which loads the mesh -from the MED file . - -ex 3 : For a MED object, invoking MED myMed(MED\_DRIVER,fileName) -create a MED object to explore the MED file . - -rem 1 : ex1 is equivalent to \ref{sec:invoking_a_driver_from_the_std_drv_method} -ex1. - -rem 2 : Since the driver has read the object, the associated file -is closed. You can reread the object with the default driver by calling -the read() method : myObject.read(). - -\fileCxx{MEDMEM_InvokingDriverAtObjectCreationTime.cxx} - -\filePython{MEDMEM_InvokingDriverAtObjectCreationTime.py} - -\subsection{Invoking a driver from the standard driver method of an object\label{sec:invoking_a_driver_from_the_std_drv_method}} - -This way of invoking a driver give the possiblility to add several -drivers to an exiting object. - -ex1 : First we create a FIELD without any driver FIELD~{*}~myField1~=~new~FIELD; -then we add a driver with int myDriver1 = myField1->addDriver(driverType1, -fileName1, fieldName1); for reading from file -with myField1->read(myDriver1); - -ex2 : We add a new driver of type int myDriver2 = myField1->addDriver(driverType2, -fileName2,fieldName2); in order to write myField1 in file -with name using command myField1->write(myDriver2); - -rem 1 : Files are openned then closed each time you call read() or -write() methods. - -rem 2 : If you use more than a driver you need to keep the driver -handlers (myDriverI ). - -\fileCxx{MEDMEM_InvokingDriverFromStandardObjectMethod.cxx} - -\filePython{MEDMEM_InvokingDriverFromStandardObjectMethod.py} - -\subsection{Invoking a driver and attaching it to an existing object} - -The methods exposed in the two previous sections always create drivers -in read/write access mode. Another way of creating a driver is to -create a driver with a specific access mode. - -ex1 : First we create a FIELD without any driver FIELD~{*}~myField1~=~new -FIELD(); then we create a read-only driver MED\_FIELD\_RDONLY\_DRIVER~myRdOnlyDriver(fileName1,myField1); -and attached it to myField1. Finally you must set the fieldName1 you -want to acess in fileName1 with myRdOnlyDriver->setFieldName(fieldName1); -in order to read the field with myRdOnlyDriver->open(); myRdOnlyDriver->read(); - -Don't forget to close the file with myRdOnlyDriver->close(). - -ToDo : By now when you create such specific drivers, the object doesn't -know anything about it. - -\fileCxx{MEDMEM_InvokingDriverByAttachingItToAnObject.cxx} - -\filePython{MEDMEM_InvokingDriverByAttachingItToAnObject.py} - -\section{Using the MED driver} - -The MED object provides the ability of : - -\begin{enumerate} -\item \noindent Obtainning a reference on the whole structure contained -in a file. -\item Obtainning the list of all the Meshes/Fields names contained in a -file. -\item Obtainning a Mesh/Field reference using a name. -\item Writting a whole set of independent objects with a simple command. -\end{enumerate} - -\subsection{Exploring files} - -In this first use case the user wants to explore the meshes \& fields -containned within a file of type given by the -parameter. - -ex 1 : Calling MED {*} myMed = new MED(driverType1, fileName1); create -a MED object which open fileName1, read all MESHes/FIELDs relations -then close the file. - -This is equivalent to MED~{*}~myMed~=~new~MED(); myDriver~=~myMed->addDriver(driverType1,fileName1); -myMed->readFileStruct(myDriver); - -ex 2 : To get the list of meshNames from a MED object, first ask the -object how many meshes it had by calling int numberOfMeshes~=~myMed->getNumberOfMeshes(); -then get the list with myMeshNames~=~new string{[}getMeshNames{]}; -myMed->getMeshNames(myMeshNames). - -Note you can also use the deque getMeshNames() method. - -ex 3 : To get a list of fieldNames from a MED object, first ask the -object how many fields it had by calling int numberOfFields~=~myMed->getNumberOfFields(); -then get the list with myFieldNames~=~new string{[}getFieldNames{]}; -myMed->getFieldNames(myFieldNames). - -ex 4 :To get a particular MESH use MESH {*} myMesh1 = myMED->getMesh(myMeshNames{[}0{]}) - -ex 5 :To get a particular FIELD you first need to know what (time -step, iteration number) list is used by calling deque~myField1DtIt~=~myMed->getFieldIteration(FieldName{[}0{]}) -; then you can ask for getting a specific FIELD with FIELD~{*}~myField1~=~myMED->getField(myFieldNames{[}0{]},myField1DtIt{[}0{]}.dt,myField1DtIt{[}0{]}.it). - -ex2 : To write the whole content of a MED object first add a driver -myDriver2~=~myMed.addDriver(driverType2,~fileName2); then ask for -writing the object myMed->write(myDriver2); (not implemented yet !) - -You can remove the driver with myMed->rmDriver(myDriver2); - -rem 1 : It is possible to use multiple drivers to read a set of FIELDs -/ MESHes from various file formats and writing the whole set through -a specific write.(not implemented yet !) - - -\subsubsection{Adding existing MESHes/FIELDs objects} - -Not yet implemented. - -\section{Using the VTK driver} - -This driver allow to save all MESH and FIELD objects in an ASCII file in -VTK format \cite{vtk}. - -You could use this driver only from a MED object, because VTK file format -impose to write objects in particular order. - -\textbf{C++ Example~:} -\begin{verbatim} -MED myMed(MED_DRIVER,"file.med"); -myMed.read(); -int id = myMed.addDriver(VTK_DRIVER,"file.vtk"); -myMed.write(id) ; -\end{verbatim} - -\section{Using the GIBI driver} - -This driver allow to load a mesh from a GIBI file (ASCII file with the extension '.sauve'), puting the mesh into a MESH object of MED. It's a read only driver and is applicable only to a MESH object. - -\textbf{C++ Example~:} -\begin{verbatim} -MESH * myMesh= new MESH() ; -GIBI_MESH_RDONLY_DRIVER myGibiMeshDriver("file.sauve", myMesh) ; -myGibiMeshDriver.open() ; -myGibiMeshDriver.read() ; -myGibiMeshDriver.close() ; -\end{verbatim} - - -% ___________________________________________________________________________ -% | | -% | REFERENCES | -% |___________________________________________________________________________| -% -\newpage -%\thebibliography{biblio} -\begin{thebibliography}{1} - -\addcontentsline{toc}{chapter}{\refname} - -\addcontentsline{toc}{chapter}{Bibliography} - -\bibitem{RefManual} Reference Manual~: \verb+http://www-drn2.cea.fr/MED/MEDMEM/DOC/html/index.html+ - -\bibitem{vtk} VTK home page~: \verb+http://public.kitware.com/VTK+ - -\end{thebibliography} - - -\end{document} diff --git a/doc/MEDMEM/MESHINGexample.cxx b/doc/MEDMEM/MESHINGexample.cxx deleted file mode 100644 index 2ec7a16ee..000000000 --- a/doc/MEDMEM/MESHINGexample.cxx +++ /dev/null @@ -1,255 +0,0 @@ -#include "MEDMEM_Meshing.hxx" -#include "MEDMEM_Group.hxx" - -using namespace std; - -int main (int argc, char ** argv) { - - // filename to save the generated MESH - string filename = "meshing.med" ; - - MESHING myMeshing ; - myMeshing.setName("meshing") ; - - // define coordinates - - int SpaceDimension = 3 ; - int NumberOfNodes = 19 ; - double Coordinates[57] = { - 0.0, 0.0, 0.0, - 0.0, 0.0, 1.0, - 2.0, 0.0, 1.0, - 0.0, 2.0, 1.0, - -2.0, 0.0, 1.0, - 0.0, -2.0, 1.0, - 1.0, 1.0, 2.0, - -1.0, 1.0, 2.0, - -1.0, -1.0, 2.0, - 1.0, -1.0, 2.0, - 1.0, 1.0, 3.0, - -1.0, 1.0, 3.0, - -1.0, -1.0, 3.0, - 1.0, -1.0, 3.0, - 1.0, 1.0, 4.0, - -1.0, 1.0, 4.0, - -1.0, -1.0, 4.0, - 1.0, -1.0, 4.0, - 0.0, 0.0, 5.0 - }; - - myMeshing.setCoordinates(SpaceDimension,NumberOfNodes,Coordinates,"CARTESIAN",MED_FULL_INTERLACE); - - string Names[3] = { "X","Y","Z" } ; - myMeshing.setCoordinatesNames(Names); - - string Units[3] = { "cm","cm","cm" } ; - myMeshing.setCoordinatesUnits(Units) ; - - // define conectivities - - // cell part - - const int NumberOfTypes = 3 ; - medGeometryElement Types[NumberOfTypes] = {MED_TETRA4,MED_PYRA5,MED_HEXA8} ; - const int NumberOfElements[NumberOfTypes] = {12,2,2} ; - - myMeshing.setNumberOfTypes(NumberOfTypes,MED_CELL); - myMeshing.setTypes(Types,MED_CELL); - myMeshing.setNumberOfElements(NumberOfElements,MED_CELL); - - const int sizeTetra = 12*4 ; - int ConnectivityTetra[sizeTetra]= - { - 1,2,3,6, - 1,2,4,3, - 1,2,5,4, - 1,2,6,5, - 2,7,4,3, - 2,8,5,4, - 2,9,6,5, - 2,10,3,6, - 2,7,3,10, - 2,8,4,7, - 2,9,5,8, - 2,10,6,9 - }; - - myMeshing.setConnectivity(ConnectivityTetra,MED_CELL,MED_TETRA4); - - int ConnectivityPyra[2*5]= - { - 7,8,9,10,2, - 15,18,17,16,19 - }; - - myMeshing.setConnectivity(ConnectivityPyra,MED_CELL,MED_PYRA5); - - int ConnectivityHexa[2*8]= - { - 11,12,13,14,7,8,9,10, - 15,16,17,18,11,12,13,14 - }; - - myMeshing.setConnectivity(ConnectivityHexa,MED_CELL,MED_HEXA8); - - // face part - - const int NumberOfFacesTypes = 2 ; - medGeometryElement FacesTypes[NumberOfFacesTypes] = {MED_TRIA3,MED_QUAD4} ; - const int NumberOfFacesElements[NumberOfFacesTypes] = {4,4} ; - - myMeshing.setNumberOfTypes(NumberOfFacesTypes,MED_FACE); - myMeshing.setTypes(FacesTypes,MED_FACE); - myMeshing.setNumberOfElements(NumberOfFacesElements,MED_FACE); - - const int sizeTria = 3*4 ; - int ConnectivityTria[sizeTria]= - { - 1,4,3, - 1,5,4, - 1,6,5, - 1,3,6 - }; - - myMeshing.setConnectivity(ConnectivityTria,MED_FACE,MED_TRIA3); - - int ConnectivityQua[4*4]= - { - 7,8,9,10, - 11,12,13,14, - 11,7,8,12, - 12,8,9,13 - }; - - myMeshing.setConnectivity(ConnectivityQua,MED_FACE,MED_QUAD4); - - // edge part - - // not yet implemented : if set, results are unpredictable. - - // Some groups : - - // Node : - { - GROUP myGroup ; - myGroup.setName("SomeNodes"); - myGroup.setMesh(&myMeshing); - myGroup.setEntity(MED_NODE); - myGroup.setNumberOfGeometricType(1); - medGeometryElement myTypes[1] = {MED_NONE}; - myGroup.setGeometricType(myTypes); - const int myNumberOfElements[1] = {4} ; - myGroup.setNumberOfElements(myNumberOfElements); - const int index[1+1] = {1,5} ; - const int value[4]= { 1,4,5,7} ; - myGroup.setNumber(index,value); - - myMeshing.addGroup(myGroup); - } - { - GROUP myGroup ; - myGroup.setName("OtherNodes"); - myGroup.setMesh(&myMeshing); - myGroup.setEntity(MED_NODE); - myGroup.setNumberOfGeometricType(1); - medGeometryElement myTypes[1] = {MED_NONE}; - myGroup.setGeometricType(myTypes); - const int myNumberOfElements[1] = {3} ; - myGroup.setNumberOfElements(myNumberOfElements); - const int index[1+1] = {1,4} ; - const int value[3]= { 2,3,6} ; - myGroup.setNumber(index,value); - - myMeshing.addGroup(myGroup); - } - - // Cell : - { - GROUP myGroup ; - myGroup.setName("SomeCells"); - myGroup.setMesh(&myMeshing); - myGroup.setEntity(MED_CELL); - myGroup.setNumberOfGeometricType(3); - medGeometryElement myTypes[3] = {MED_TETRA4,MED_PYRA5,MED_HEXA8}; - myGroup.setGeometricType(myTypes); - const int myNumberOfElements[3] = {4,1,2} ; - myGroup.setNumberOfElements(myNumberOfElements); - const int index[3+1] = {1,5,6,8} ; - const int value[4+1+2]= - { - 2,7,8,12, - 13, - 15,16 - }; - myGroup.setNumber(index,value); - - myMeshing.addGroup(myGroup); - } - { - GROUP myGroup ; - myGroup.setName("OtherCells"); - myGroup.setMesh(&myMeshing); - myGroup.setEntity(MED_CELL); - myGroup.setNumberOfGeometricType(2); - medGeometryElement myTypes[] = {MED_TETRA4,MED_PYRA5}; - myGroup.setGeometricType(myTypes); - const int myNumberOfElements[] = {4,1} ; - myGroup.setNumberOfElements(myNumberOfElements); - const int index[3+1] = {1,5,6} ; - const int value[4+1]= - { - 3,4,5,9, - 14 - }; - myGroup.setNumber(index,value); - - myMeshing.addGroup(myGroup); - } - - // Face : - { - GROUP myGroup ; - myGroup.setName("SomeFaces"); - myGroup.setMesh(&myMeshing); - myGroup.setEntity(MED_FACE); - myGroup.setNumberOfGeometricType(2); - medGeometryElement myTypes[2] = {MED_TRIA3,MED_QUAD4}; - myGroup.setGeometricType(myTypes); - const int myNumberOfElements[2] = {2,3} ; - myGroup.setNumberOfElements(myNumberOfElements); - const int index[2+1] = {1,3,6} ; - const int value[2+3]= - { - 2,4, - 5,6,8 - } ; - myGroup.setNumber(index,value); - - myMeshing.addGroup(myGroup); - } - { - GROUP myGroup ; - myGroup.setName("OtherFaces"); - myGroup.setMesh(&myMeshing); - myGroup.setEntity(MED_FACE); - myGroup.setNumberOfGeometricType(1); - medGeometryElement myTypes[1] = {MED_TRIA3}; - myGroup.setGeometricType(myTypes); - const int myNumberOfElements[1] = {2} ; - myGroup.setNumberOfElements(myNumberOfElements); - const int index[1+1] = {1,3} ; - const int value[2]= - { - 1,3 - } ; - myGroup.setNumber(index,value); - - myMeshing.addGroup(myGroup); - } - - // all rigtht, we save it ! - - int id = myMeshing.addDriver(MED_DRIVER,filename,myMeshing.getName()); - myMeshing.write(id) ; - -} diff --git a/doc/MEDMEM/MESHconnectivities.cxx b/doc/MEDMEM/MESHconnectivities.cxx deleted file mode 100644 index 2964ff9f8..000000000 --- a/doc/MEDMEM/MESHconnectivities.cxx +++ /dev/null @@ -1,132 +0,0 @@ -#include "MEDMEM_Mesh.hxx" -#include "MEDMEM_CellModel.hxx" - -int main (int argc, char ** argv) { - - const string MedFile = "pointe.med" ; - const string MeshName = "maa1" ; - MESH myMesh(MED_DRIVER,MedFile,MeshName) ; - myMesh.read() ; - - cout << "Mesh name : " << myMesh.getName() << endl << endl ; - - // we get all type for cell entity : - int NumberOfTypes = myMesh.getNumberOfTypes(MED_CELL) ; - const CELLMODEL * Types = myMesh.getCellsTypes(MED_CELL) ; - - cout << "Show Connectivity (Nodal) :" << endl ; - // this example use access with a specified medGeometryElement through - // CELLMODEL class - for (int i=0; iMEDMEM_UsersGuide_2on1.ps - -MEDMEM_UsersGuide_2on1.pdf: MEDMEM_UsersGuide_2on1.ps - ps2pdf MEDMEM_UsersGuide_2on1.ps MEDMEM_UsersGuide_2on1.pdf - - -MEDMEM_UML.eps:MEDMEM_UML.dia - dia -e $@ $< - -MEDMEM_UsersGuide.dvi: MEDMEM_UsersGuide.tex MEDMEM_UML.eps - echo "Running latex..." - latex $< - #echo "Running makeindex..." - #makeindex MEDMEM_UsersGuide.idx - echo "Rerunning latex...." - latex $< - latex_count=5 - while egrep -s 'Rerun (LaTeX|to get cross-references right)' MEDMEM_UsersGuide.log && [ $latex_count -gt 0 ] ;\ - do \ - echo "Rerunning latex...." ;\ - latex $< ;\ - latex_count=`expr $latex_count - 1` ;\ - done - -MEDMEM_UsersGuide.tex:MEDMEM_UsersGuide.tex.in - cd $(top_builddir) && CONFIG_FILES=./doc/MEDMEM/MEDMEM_UsersGuide.tex ./config.status - -# install procedure - -install: $(datadir)/doc ps_2on1 pdf_2on1 - $(RM) -r $(datadir)/doc/html_ref_user $(datadir)/doc/html_ref_devel $(datadir)/doc/*.ps $(datadir)/doc/*.pdf - cp -rf ./doc_ref_user/html $(datadir)/doc/html_ref_user - cp -rf ./doc_ref_devel/html $(datadir)/doc/html_ref_devel - cp -f MedMemory_user_2on1.ps MedMemory_user_2on1.pdf $(datadir)/doc - cp -f MEDMEM_UsersGuide_2on1.ps MEDMEM_UsersGuide_2on1.pdf $(datadir)/doc - cp -f MedMemory_devel_2on1.ps MedMemory_devel_2on1.pdf $(datadir)/doc - -$(datadir)/doc: - $(INSTALL) -d $@ && chmod 755 $@ - -cleandoc: - -$(RM) -r *pdf *ps doc_ref_* $(top_builddir)/src/MEDMEM/doc_ref_* .dep* diff --git a/doc/MEDMEM/TODO Drivers.txt b/doc/MEDMEM/TODO Drivers.txt deleted file mode 100644 index d6cd93c78..000000000 --- a/doc/MEDMEM/TODO Drivers.txt +++ /dev/null @@ -1,4 +0,0 @@ -1- Gerer l'appartenance d'un driver type 3 Within l'objet - -2- Within les méthodes addDriver : - driver = instances[driverType]->run(fileName, this) ; --> Il faut vérifier que le numéro auquel on accède existe ! diff --git a/doc/Makefile.in b/doc/Makefile.in deleted file mode 100644 index 7295ede75..000000000 --- a/doc/Makefile.in +++ /dev/null @@ -1,40 +0,0 @@ - -# -* Makefile *- -# -# Author : Patrick GOLDBRONN (CEA) -# Date : 30/11/2001 -# $Header$ -# -# source path -top_srcdir=@top_srcdir@ -top_builddir=.. -srcdir=@srcdir@ -VPATH=.:@srcdir@ - -SUBDIRS= salome - -@COMMENCE@ - -docs: - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done -clean: - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done - -distclean: clean - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done - -install: - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done - -uninstall: - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done diff --git a/doc/html/INPUT/HTML/MED.html b/doc/html/INPUT/HTML/MED.html deleted file mode 100644 index b8f484ade..000000000 --- a/doc/html/INPUT/HTML/MED.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface MESH
IDL file
Python
string getName ( )
return_value = getName ( )
long getSpaceDimension ( )
return_value = getSpaceDimension ( )
long getMeshDimension ( )
return_value = getMeshDimension ( )
string getCoordinateSystem ( )
return_value = getCoordinateSystem ( )
long getNumberOfNodes ( )
return_value = getNumberOfNodes ( )
double_array getCoordinates ( in medModeSwitch typeSwitch )
return_value = getCoordinates ( typeSwitch )
string_array getCoordinatesNames ( )
return_value = getCoordinatesNames ( )
string_array getCoordinatesUnits ( )
return_value = getCoordinatesUnits ( )
long getNumberOfTypes ( in medEntityMesh entity )
return_value = getNumberOfTypes ( entity )
medGeometryElement_array getTypes ( in medEntityMesh entity )
return_value = getTypes ( entity )
long getNumberOfElements ( in medEntityMesh entity, in medGeometryElement geomElement )
return_value = getNumberOfElements ( entity, geomElement )
long_array getConnectivity ( in medModeSwitch typeSwitch, in medConnectivity mode, in medEntityMesh entity, in medGeometryElement geomElement )
return_value = getConnectivity ( typeSwitch, mode, entity, geomElement )
long_array getConnectivityIndex ( in medConnectivity mode, in medEntityMesh entity )
return_value = getConnectivityIndex ( mode, entity )
long getElementNumber ( in medConnectivity mode, in medEntityMesh entity, in medGeometryElement type, in long_array connectivity )
return_value = getElementNumber ( mode, entity, type, connectivity )
long_array getReverseConnectivity ( in medConnectivity mode )
return_value = getReverseConnectivity ( mode )
long_array getReverseConnectivityIndex ( in medConnectivity mode )
return_value = getReverseConnectivityIndex ( mode )
long getNumberOfFamilies ( in medEntityMesh entity )
return_value = getNumberOfFamilies ( entity )
long getNumberOfGroups ( in medEntityMesh entity )
return_value = getNumberOfGroups ( entity )
Family_array getFamilies ( in medEntityMesh entity )
return_value = getFamilies ( entity )
FAMILY getFamily ( in medEntityMesh entity, in long familyNumber )
return_value = getFamily ( entity, familyNumber )
Group_array getGroups ( in medEntityMesh entity )
return_value = getGroups ( entity )
GROUP getGroup ( in medEntityMesh entity, in long groupNumber )
return_value = getGroup ( entity, groupNumber )
FIELD getVolume ( in SUPPORT mySupport )
return_value = getVolume ( mySupport )
FIELD getArea ( in SUPPORT mySupport )
return_value = getArea ( mySupport )
FIELD getLength ( in SUPPORT mySupport )
return_value = getLength ( mySupport )
FIELD getNormal ( in SUPPORT mySupport )
return_value = getNormal ( mySupport )
FIELD getBarycenter ( in SUPPORT mySupport )
return_value = getBarycenter ( mySupport )
void addInStudy ( in Study myStudy, in MESH myIor )
addInStudy ( myStudy, myIor )
long addDriver ( in medDriverTypes driverType, in string fileName, in string meshName )
return_value = addDriver ( driverType, fileName, meshName )
void rmDriver ( in long i )
rmDriver ( i )
void read ( in long i )
read ( i )
void write ( in long i, in string driverMeshName )
write ( i, driverMeshName )
long getCorbaIndex ( )
return_value = getCorbaIndex ( )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface SUPPORT
IDL file
Python
string getName ( )
return_value = getName ( )
string getDescription ( )
return_value = getDescription ( )
MESH getMesh ( )
return_value = getMesh ( )
medEntityMesh getEntity ( )
return_value = getEntity ( )
boolean isOnAllElements ( )
return_value = isOnAllElements ( )
long getNumberOfElements ( in medGeometryElement geomElement )
return_value = getNumberOfElements ( geomElement )
medGeometryElement_array getTypes ( )
return_value = getTypes ( )
long_array getNumber ( in medGeometryElement geomElement )
return_value = getNumber ( geomElement )
long_array getNumberIndex ( )
return_value = getNumberIndex ( )
long getNumberOfGaussPoints ( in medGeometryElement geomElement )
return_value = getNumberOfGaussPoints ( geomElement )
long getCorbaIndex ( )
return_value = getCorbaIndex ( )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface FAMILY
IDL file
Python
long getIdentifier ( )
return_value = getIdentifier ( )
long getNumberOfAttributes ( )
return_value = getNumberOfAttributes ( )
long_array getAttributesIdentifiers ( )
return_value = getAttributesIdentifiers ( )
long getAttributeIdentifier ( in long i )
return_value = getAttributeIdentifier ( i )
long_array getAttributesValues ( )
return_value = getAttributesValues ( )
long getAttributeValue ( in long i )
return_value = getAttributeValue ( i )
string_array getAttributesDescriptions ( )
return_value = getAttributesDescriptions ( )
string getAttributeDescription ( in long i )
return_value = getAttributeDescription ( i )

- - - - - - - - - - - - - - - - - - - -
interface GROUP
IDL file
Python
long getNumberOfFamilies ( )
return_value = getNumberOfFamilies ( )
Family_array getFamilies ( )
return_value = getFamilies ( )
FAMILY getFamily ( in long i )
return_value = getFamily ( i )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface FIELD
IDL file
Python
string getName ( )
return_value = getName ( )
string getDescription ( )
return_value = getDescription ( )
SUPPORT getSupport ( )
return_value = getSupport ( )
long getNumberOfComponents ( )
return_value = getNumberOfComponents ( )
string_array getComponentsNames ( )
return_value = getComponentsNames ( )
string getComponentName ( in long i )
return_value = getComponentName ( i )
string_array getComponentsUnits ( )
return_value = getComponentsUnits ( )
string getComponentUnit ( in long i )
return_value = getComponentUnit ( i )
long getIterationNumber ( )
return_value = getIterationNumber ( )
double getTime ( )
return_value = getTime ( )
long getOrderNumber ( )
return_value = getOrderNumber ( )
long addDriver ( in medDriverTypes driverType, in string fileName, in string fieldName )
return_value = addDriver ( driverType, fileName, fieldName )
void rmDriver ( in long i )
rmDriver ( i )
void read ( in long i )
read ( i )
void write ( in long i, in string driverFieldName )
write ( i, driverFieldName )
void addInStudy ( in Study myStudy, in FIELD myIor )
addInStudy ( myStudy, myIor )
long getCorbaIndex ( )
return_value = getCorbaIndex ( )

- - - - - - - - - - - -
interface FIELDDOUBLE
IDL file
Python
double_array getValue ( in medModeSwitch mode )
return_value = getValue ( mode )

- - - - - - - - - - - -
interface FIELDINT
IDL file
Python
long_array getValue ( in medModeSwitch mode )
return_value = getValue ( mode )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface MED
IDL file
Python
long getNumberOfMeshes ( )
return_value = getNumberOfMeshes ( )
long getNumberOfFields ( )
return_value = getNumberOfFields ( )
string_array getMeshNames ( )
return_value = getMeshNames ( )
string_array getFieldNames ( )
return_value = getFieldNames ( )
MESH getMeshByName ( in string meshName )
return_value = getMeshByName ( meshName )
MESH getMesh ( in FIELD fieldPtr )
return_value = getMesh ( fieldPtr )
FIELD getField ( in string fieldName, in long pasTemps, in long numOrdre )
return_value = getField ( fieldName, pasTemps, numOrdre )
long addDriver ( in medDriverTypes driverType, in string fileName )
return_value = addDriver ( driverType, fileName )
void rmDriver ( in long i )
rmDriver ( i )
void readFileStruct ( in long i )
readFileStruct ( i )
void writeFrom ( in long i )
writeFrom ( i )
void write ( in long i )
write ( i )
void addMesh ( in MESH ptrMesh )
addMesh ( ptrMesh )
void addField ( in FIELD ptrField )
addField ( ptrField )
void addInStudy ( in Study myStudy, in MED medPtr )
addInStudy ( myStudy, medPtr )

-
diff --git a/doc/html/INPUT/HTML/MED_Gen.html b/doc/html/INPUT/HTML/MED_Gen.html deleted file mode 100644 index 44b43940b..000000000 --- a/doc/html/INPUT/HTML/MED_Gen.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -
interface MED_Gen
IDL file
Python
MESH readMeshInFile ( in string fileName, in string studyName, in string meshName )
return_value = readMeshInFile ( fileName, studyName, meshName )
FIELD readFieldInFile ( in string fileName, in string studyName, in string fieldName, in long ordre, in long iter )
return_value = readFieldInFile ( fileName, studyName, fieldName, ordre, iter )
MED readStructFile ( in string fileName, in string studyName )
return_value = readStructFile ( fileName, studyName )
void readStructFileWithFieldType ( in string fileName, in string studyName )
readStructFileWithFieldType ( fileName, studyName )

-
diff --git a/doc/html/INPUT/doxyfile b/doc/html/INPUT/doxyfile deleted file mode 100755 index 6e7f69462..000000000 --- a/doc/html/INPUT/doxyfile +++ /dev/null @@ -1,201 +0,0 @@ -# Doxyfile 1.3-rc1 - -#--------------------------------------------------------------------------- -# General configuration options -#--------------------------------------------------------------------------- -PROJECT_NAME = "SALOME - MED - v.2.0.0" -PROJECT_NUMBER = id#1.1 -OUTPUT_DIRECTORY = ../ -OUTPUT_LANGUAGE = English -EXTRACT_ALL = YES -EXTRACT_PRIVATE = YES -EXTRACT_STATIC = YES -EXTRACT_LOCAL_CLASSES = YES -HIDE_UNDOC_MEMBERS = NO -HIDE_UNDOC_CLASSES = NO -HIDE_FRIEND_COMPOUNDS = NO -HIDE_IN_BODY_DOCS = NO -BRIEF_MEMBER_DESC = YES -REPEAT_BRIEF = NO -ALWAYS_DETAILED_SEC = YES -INLINE_INHERITED_MEMB = YES -FULL_PATH_NAMES = NO -STRIP_FROM_PATH = -INTERNAL_DOCS = YES -CASE_SENSE_NAMES = YES -SHORT_NAMES = NO -HIDE_SCOPE_NAMES = NO -VERBATIM_HEADERS = YES -SHOW_INCLUDE_FILES = YES -JAVADOC_AUTOBRIEF = YES -MULTILINE_CPP_IS_BRIEF = NO -DETAILS_AT_TOP = NO -INHERIT_DOCS = YES -INLINE_INFO = YES -SORT_MEMBER_DOCS = NO -DISTRIBUTE_GROUP_DOC = NO -TAB_SIZE = 5 -GENERATE_TODOLIST = YES -GENERATE_TESTLIST = YES -GENERATE_BUGLIST = YES -GENERATE_DEPRECATEDLIST= YES -ALIASES = -ENABLED_SECTIONS = -MAX_INITIALIZER_LINES = 25 -OPTIMIZE_OUTPUT_FOR_C = YES -OPTIMIZE_OUTPUT_JAVA = YES -SHOW_USED_FILES = NO -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- -QUIET = NO -WARNINGS = YES -WARN_IF_UNDOCUMENTED = YES -WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = log.txt -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- -INPUT = ../../../share/salome/idl/MED.idl \ - ../../../share/salome/idl/MED_Gen.idl -FILE_PATTERNS = -RECURSIVE = NO -EXCLUDE = -EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = -EXAMPLE_PATH = -EXAMPLE_PATTERNS = -EXAMPLE_RECURSIVE = NO -IMAGE_PATH = sources/ -INPUT_FILTER = -FILTER_SOURCE_FILES = YES -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- -SOURCE_BROWSER = NO -INLINE_SOURCES = NO -STRIP_CODE_COMMENTS = YES -REFERENCED_BY_RELATION = NO -REFERENCES_RELATION = YES -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- -ALPHABETICAL_INDEX = NO -COLS_IN_ALPHA_INDEX = 5 -IGNORE_PREFIX = -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- -GENERATE_HTML = YES -HTML_OUTPUT = html -HTML_FILE_EXTENSION = .html -HTML_HEADER = sources/myheader.html -HTML_FOOTER = -HTML_STYLESHEET = -HTML_ALIGN_MEMBERS = YES -GENERATE_HTMLHELP = NO -CHM_FILE = -HHC_LOCATION = -GENERATE_CHI = NO -BINARY_TOC = YES -TOC_EXPAND = YES -DISABLE_INDEX = YES -ENUM_VALUES_PER_LINE = 4 -GENERATE_TREEVIEW = YES -TREEVIEW_WIDTH = 250 -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- -GENERATE_LATEX = NO -LATEX_OUTPUT = latex -LATEX_CMD_NAME = latex -MAKEINDEX_CMD_NAME = makeindex -COMPACT_LATEX = NO -PAPER_TYPE = a4wide -EXTRA_PACKAGES = -LATEX_HEADER = -PDF_HYPERLINKS = NO -USE_PDFLATEX = NO -LATEX_BATCHMODE = NO -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- -GENERATE_RTF = NO -RTF_OUTPUT = rtf -COMPACT_RTF = NO -RTF_HYPERLINKS = NO -RTF_STYLESHEET_FILE = -RTF_EXTENSIONS_FILE = -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- -GENERATE_MAN = NO -MAN_OUTPUT = man -MAN_EXTENSION = .3 -MAN_LINKS = NO -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- -GENERATE_XML = NO -XML_SCHEMA = -XML_DTD = -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- -GENERATE_AUTOGEN_DEF = NO -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- -GENERATE_PERLMOD = NO -PERLMOD_LATEX = NO -PERLMOD_PRETTY = YES -PERLMOD_MAKEVAR_PREFIX = -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- -ENABLE_PREPROCESSING = YES -MACRO_EXPANSION = YES -EXPAND_ONLY_PREDEF = NO -SEARCH_INCLUDES = YES -INCLUDE_PATH = -INCLUDE_FILE_PATTERNS = -PREDEFINED = -EXPAND_AS_DEFINED = -SKIP_FUNCTION_MACROS = NO -#--------------------------------------------------------------------------- -# Configuration::addtions related to external references -#--------------------------------------------------------------------------- -TAGFILES = -GENERATE_TAGFILE = -ALLEXTERNALS = NO -EXTERNAL_GROUPS = YES -PERL_PATH = /usr/bin/perl -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- -CLASS_DIAGRAMS = YES -HIDE_UNDOC_RELATIONS = NO -HAVE_DOT = YES -CLASS_GRAPH = YES -COLLABORATION_GRAPH = NO -TEMPLATE_RELATIONS = YES -INCLUDE_GRAPH = YES -INCLUDED_BY_GRAPH = NO -GRAPHICAL_HIERARCHY = YES -DOT_IMAGE_FORMAT = jpg -DOT_PATH = -DOTFILE_DIRS = -MAX_DOT_GRAPH_WIDTH = 1024 -MAX_DOT_GRAPH_HEIGHT = 1200 -GENERATE_LEGEND = NO -DOT_CLEANUP = YES -#--------------------------------------------------------------------------- -# Configuration::addtions related to the search engine -#--------------------------------------------------------------------------- -SEARCHENGINE = NO -CGI_NAME = search.cgi -CGI_URL = -DOC_URL = -DOC_ABSPATH = -BIN_ABSPATH = /usr/local/bin/ -EXT_DOC_PATHS = diff --git a/doc/html/INPUT/sources/Application-About.png b/doc/html/INPUT/sources/Application-About.png deleted file mode 100755 index 7b58330d5..000000000 Binary files a/doc/html/INPUT/sources/Application-About.png and /dev/null differ diff --git a/doc/html/INPUT/sources/Application-About1.jpg b/doc/html/INPUT/sources/Application-About1.jpg deleted file mode 100755 index cf7ab8ba0..000000000 Binary files a/doc/html/INPUT/sources/Application-About1.jpg and /dev/null differ diff --git a/doc/html/INPUT/sources/application.gif b/doc/html/INPUT/sources/application.gif deleted file mode 100644 index 0b05d5c18..000000000 Binary files a/doc/html/INPUT/sources/application.gif and /dev/null differ diff --git a/doc/html/INPUT/sources/application.jpg b/doc/html/INPUT/sources/application.jpg deleted file mode 100755 index a6979ab99..000000000 Binary files a/doc/html/INPUT/sources/application.jpg and /dev/null differ diff --git a/doc/html/INPUT/sources/bg_salome.gif b/doc/html/INPUT/sources/bg_salome.gif deleted file mode 100755 index 677b70468..000000000 Binary files a/doc/html/INPUT/sources/bg_salome.gif and /dev/null differ diff --git a/doc/html/INPUT/sources/bg_salomepro.gif b/doc/html/INPUT/sources/bg_salomepro.gif deleted file mode 100755 index 677b70468..000000000 Binary files a/doc/html/INPUT/sources/bg_salomepro.gif and /dev/null differ diff --git a/doc/html/INPUT/sources/doxygen.css b/doc/html/INPUT/sources/doxygen.css deleted file mode 100755 index 6e2c772fe..000000000 --- a/doc/html/INPUT/sources/doxygen.css +++ /dev/null @@ -1,49 +0,0 @@ -H1 { text-align: center; } -CAPTION { font-weight: bold } -A.qindex {} -A.qindexRef {} -A.el { text-decoration: none; font-weight: bold } -A.elRef { font-weight: bold } -A.code { text-decoration: none; font-weight: normal; color: #4444ee } -A.codeRef { font-weight: normal; color: #4444ee } -A:hover { text-decoration: none; background-color: lightblue } -DL.el { margin-left: -1cm } -DIV.fragment { width: 100%; border: none; background-color: #CCCCCC } -DIV.ah { background-color: #CCCCCC; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } -TD.md { background-color: lightblue; font-weight: bold; } -TD.mdname1 { background-color: lightblue; font-weight: bold; color: #602020; } -TD.mdname { background-color: lightblue; font-weight: bold; color: #602020; width: 600px; } -DIV.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold } -DIV.groupText { margin-left: 16px; font-style: italic; font-size: smaller } -BODY { background: url(sources/bg_salomepro.gif) } -TD.indexkey { - background-color: #CCCCCC; - font-weight: bold; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px -} -TD.indexvalue { - background-color: #CCCCCC; - font-style: italic; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px -} -span.keyword { color: #008000 } -span.keywordtype { color: #604020 } -span.keywordflow { color: #e08000 } -span.comment { color: #800000 } -span.preprocessor { color: #806020 } -span.stringliteral { color: #002080 } -span.charliteral { color: #008080 } diff --git a/doc/html/INPUT/sources/logocorp.gif b/doc/html/INPUT/sources/logocorp.gif deleted file mode 100755 index 7697e0837..000000000 Binary files a/doc/html/INPUT/sources/logocorp.gif and /dev/null differ diff --git a/doc/html/INPUT/sources/myheader.html b/doc/html/INPUT/sources/myheader.html deleted file mode 100755 index 83ca543cd..000000000 --- a/doc/html/INPUT/sources/myheader.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - Main Page - - - -  -
- - - - - - -
-
-
- - - - diff --git a/doc/html/INPUT/sources/occ.gif b/doc/html/INPUT/sources/occ.gif deleted file mode 100755 index ce017c8ae..000000000 Binary files a/doc/html/INPUT/sources/occ.gif and /dev/null differ diff --git a/doc/html/INPUT/sources/static/doxygen.css b/doc/html/INPUT/sources/static/doxygen.css deleted file mode 100755 index 0a8e93d50..000000000 --- a/doc/html/INPUT/sources/static/doxygen.css +++ /dev/null @@ -1,49 +0,0 @@ -H1 { text-align: center; } -CAPTION { font-weight: bold } -A.qindex {} -A.qindexRef {} -A.el { text-decoration: none; font-weight: bold } -A.elRef { font-weight: bold } -A.code { text-decoration: none; font-weight: normal; color: #4444ee } -A.codeRef { font-weight: normal; color: #4444ee } -A:hover { text-decoration: none; background-color: lightblue } -DL.el { margin-left: -1cm } -DIV.fragment { width: 100%; border: none; background-color: #CCCCCC } -DIV.ah { background-color: #CCCCCC; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } -TD.md { background-color: lightblue; font-weight: bold; } -TD.mdname1 { background-color: lightblue; font-weight: bold; color: #602020; } -TD.mdname { background-color: lightblue; font-weight: bold; color: #602020; width: 600px; } -DIV.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold } -DIV.groupText { margin-left: 16px; font-style: italic; font-size: smaller } -BODY { background: url(sources/bg_salome.gif) } -TD.indexkey { - background-color: #CCCCCC; - font-weight: bold; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px -} -TD.indexvalue { - background-color: #CCCCCC; - font-style: italic; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px -} -span.keyword { color: #008000 } -span.keywordtype { color: #604020 } -span.keywordflow { color: #e08000 } -span.comment { color: #800000 } -span.preprocessor { color: #806020 } -span.stringliteral { color: #002080 } -span.charliteral { color: #008080 } diff --git a/doc/html/INPUT/sources/static/page2.html b/doc/html/INPUT/sources/static/page2.html deleted file mode 100755 index 1891fe92c..000000000 --- a/doc/html/INPUT/sources/static/page2.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - Main Page - - - - -   -
- - - - - - - - -
- - -
-
- - -
- - diff --git a/doc/html/INPUT/sources/static/tree.js b/doc/html/INPUT/sources/static/tree.js deleted file mode 100755 index 7cdc19393..000000000 --- a/doc/html/INPUT/sources/static/tree.js +++ /dev/null @@ -1,23 +0,0 @@ -foldersTree = gFld("SALOME v.2.0.0 ", "", "") - insDoc(foldersTree, gLnk("Main Page", "", "main.html")) - -aux1 = insFld(foldersTree, gFld("TUI Reference Guide", "")) - aux2 = insFld(aux1, gFld("Modules", "")) - aux3 = insFld(aux2, gFld("SALOME MED module", "")) -/*! insDoc(aux3, gLnk("Overview", "", "overview_Med.html"))*/ - aux4 = insFld(aux3, gFld("Packages", "")) - insDoc(aux4, gLnk("SALOME_MED", "", "namespaceSALOME__MED.html")) -/*! insDoc(aux3, gLnk("Examples", "", "examples_MED.html")) -*/ - - insDoc(aux1, gLnk("Data Structures", "", "annotated.html")) - insDoc(aux1, gLnk("Class Hierarchy", "", "hierarchy.html")) - insDoc(aux1, gLnk("Class methods list", "", "functions.html")) - insDoc(aux1, gLnk("Namespace Members", "", "namespacemembers.html")) - insDoc(aux1, gLnk("File List", "", "files.html")) - -aux1 = insFld(foldersTree, gFld("IDL/Python mapping", "")) - insDoc(aux1, gLnk("Mapping of MED IDL definitions to Python language", "", "page2.html")) -aux1 = insFld(foldersTree, gFld("Med Memory Documentations", "")) - insDoc(aux1, gLnk("Users documentation", "", "../html_ref_user/index.html")) - insDoc(aux1, gLnk("Developpers documentation", "", "../html_ref_devel/index.html")) diff --git a/doc/html/INPUT/sources/static/treeview.js b/doc/html/INPUT/sources/static/treeview.js deleted file mode 100644 index 55eb43d07..000000000 --- a/doc/html/INPUT/sources/static/treeview.js +++ /dev/null @@ -1,505 +0,0 @@ -//**************************************************************** -// You are free to copy the "Folder-Tree" script as long as you -// keep this copyright notice: -// Script found in: http://www.geocities.com/Paris/LeftBank/2178/ -// Author: Marcelino Alves Martins (martins@hks.com) December '97. -//**************************************************************** - -//Log of changes: -// 17 Feb 98 - Fix initialization flashing problem with Netscape -// -// 27 Jan 98 - Root folder starts open; support for USETEXTLINKS; -// make the ftien4 a js file -// -// DvH: Dec 2000 - Made some minor changes to support external -// references - -// Definition of class Folder -// ***************************************************************** - -function Folder(folderDescription, tagName, hreference) //constructor -{ - //constant data - this.desc = folderDescription - this.tagName = tagName - this.hreference = hreference - this.id = -1 - this.navObj = 0 - this.iconImg = 0 - this.nodeImg = 0 - this.isLastNode = 0 - - //dynamic data - this.isOpen = true - this.iconSrc = "ftv2folderopen.png" - this.children = new Array - this.nChildren = 0 - - //methods - this.initialize = initializeFolder - this.setState = setStateFolder - this.addChild = addChild - this.createIndex = createEntryIndex - this.hide = hideFolder - this.display = display - this.renderOb = drawFolder - this.totalHeight = totalHeight - this.subEntries = folderSubEntries - this.outputLink = outputFolderLink -} - -function setStateFolder(isOpen) -{ - var subEntries - var totalHeight - var fIt = 0 - var i=0 - - if (isOpen == this.isOpen) - return - - if (browserVersion == 2) - { - totalHeight = 0 - for (i=0; i < this.nChildren; i++) - totalHeight = totalHeight + this.children[i].navObj.clip.height - subEntries = this.subEntries() - if (this.isOpen) - totalHeight = 0 - totalHeight - for (fIt = this.id + subEntries + 1; fIt < nEntries; fIt++) - indexOfEntries[fIt].navObj.moveBy(0, totalHeight) - } - this.isOpen = isOpen - propagateChangesInState(this) -} - -function propagateChangesInState(folder) -{ - var i=0 - - if (folder.isOpen) - { - if (folder.nodeImg) - if (folder.isLastNode) - folder.nodeImg.src = "ftv2mlastnode.png" - else - folder.nodeImg.src = "ftv2mnode.png" - folder.iconImg.src = "ftv2folderopen.png" - for (i=0; i 0) - auxEv = "" - else - auxEv = "" - - if (level>0) - if (lastNode) //the last 'brother' in the children array - { - this.renderOb(leftSide + auxEv + "") -// leftSide = leftSide + "" - this.isLastNode = 1 - } - else - { - this.renderOb(leftSide + auxEv + "") - leftSide = leftSide + "" - this.isLastNode = 0 - } - else - this.renderOb("") - - if (nc > 0) - { - level = level + 1 - for (i=0 ; i < this.nChildren; i++) - { - if (i == this.nChildren-1) - this.children[i].initialize(level, 1, leftSide) - else - this.children[i].initialize(level, 0, leftSide) - } - } -} - -function drawFolder(leftSide) -{ - if (browserVersion == 2) { - if (!doc.yPos) - doc.yPos=8 - doc.write("") - } - if (browserVersion == 3) - { - doc.write("
") - } - - doc.write("\n") - doc.write("\n\n") - doc.write("\n
") - doc.write(leftSide) - this.outputLink() - doc.write("") - doc.write("") - if (USETEXTLINKS) - { - this.outputLink() - doc.write(this.desc + "") - } - else - doc.write(this.desc) - -/*! - if (this.tagName!="") - { - doc.write(" [external]") - } -*/ - doc.write("
\n") - - if (browserVersion == 2) { - doc.write("") - } - if (browserVersion == 3) { - doc.write("
") - } - - if (browserVersion == 1) { - this.navObj = doc.all["folder"+this.id] - this.iconImg = doc.all["folderIcon"+this.id] - this.nodeImg = doc.all["nodeIcon"+this.id] - } else if (browserVersion == 2) { - this.navObj = doc.layers["folder"+this.id] - this.iconImg = this.navObj.document.images["folderIcon"+this.id] - this.nodeImg = this.navObj.document.images["nodeIcon"+this.id] - doc.yPos=doc.yPos+this.navObj.clip.height - } else if (browserVersion == 3) { - this.navObj = doc.getElementById("folder"+this.id) - this.iconImg = doc.images.namedItem("folderIcon"+this.id) - this.nodeImg = doc.images.namedItem("nodeIcon"+this.id) - } -} - -function outputFolderLink() -{ - if (this.hreference) - { - doc.write(" 0) - doc.write("onClick='javascript:clickOnFolder("+this.id+")'") - doc.write(">") - } - else - doc.write("") -} - -function addChild(childNode) -{ - this.children[this.nChildren] = childNode - this.nChildren++ - return childNode -} - -function folderSubEntries() -{ - var i = 0 - var se = this.nChildren - - for (i=0; i < this.nChildren; i++){ - if (this.children[i].children) //is a folder - se = se + this.children[i].subEntries() - } - - return se -} - - -// Definition of class Item (a document or link inside a Folder) -// ************************************************************* - -function Item(itemDescription, tagName, itemLink) // Constructor -{ - // constant data - this.desc = itemDescription - this.tagName = tagName - this.link = itemLink - this.id = -1 //initialized in initalize() - this.navObj = 0 //initialized in render() - this.iconImg = 0 //initialized in render() - this.iconSrc = "ftv2doc.png" - - // methods - this.initialize = initializeItem - this.createIndex = createEntryIndex - this.hide = hideItem - this.display = display - this.renderOb = drawItem - this.totalHeight = totalHeight -} - -function hideItem() -{ - if (browserVersion == 1 || browserVersion == 3) { - if (this.navObj.style.display == "none") - return - this.navObj.style.display = "none" - } else { - if (this.navObj.visibility == "hidden") - return - this.navObj.visibility = "hidden" - } -} - -function initializeItem(level, lastNode, leftSide) -{ - this.createIndex() - - if (level>0) - if (lastNode) //the last 'brother' in the children array - { - this.renderOb(leftSide + "") - leftSide = leftSide + "" - } - else - { - this.renderOb(leftSide + "") - leftSide = leftSide + "" - } - else - this.renderOb("") -} - -function drawItem(leftSide) -{ - if (browserVersion == 2) - doc.write("") - if (browserVersion == 3) - doc.write("
") - - doc.write("\n\n") - doc.write("\n
") - doc.write(leftSide) - if (this.link!="") - { - doc.write("") - } - doc.write("") - if (this.link!="") - { - doc.write("") - } - doc.write("") - if (USETEXTLINKS && this.link!="") - doc.write("" + this.desc + "") - else - doc.write(this.desc) -/*! - if (this.tagName!="") - { - doc.write(" [external]"); - } -*/ - doc.write("\n
\n") - - if (browserVersion == 2) - doc.write("") - if (browserVersion == 3) - doc.write("
") - - if (browserVersion == 1) { - this.navObj = doc.all["item"+this.id] - this.iconImg = doc.all["itemIcon"+this.id] - } else if (browserVersion == 2) { - this.navObj = doc.layers["item"+this.id] - this.iconImg = this.navObj.document.images["itemIcon"+this.id] - doc.yPos=doc.yPos+this.navObj.clip.height - } else if (browserVersion == 3) { - this.navObj = doc.getElementById("item"+this.id) - this.iconImg = doc.images.namedItem("itemIcon"+this.id) - } -} - - -// Methods common to both objects (pseudo-inheritance) -// ******************************************************** - -function display() -{ - if (browserVersion == 1 || browserVersion == 3) - this.navObj.style.display = "block" - else - this.navObj.visibility = "show" -} - -function createEntryIndex() -{ - this.id = nEntries - indexOfEntries[nEntries] = this - nEntries++ -} - -// total height of subEntries open -function totalHeight() //used with browserVersion == 2 -{ - var h = this.navObj.clip.height - var i = 0 - - if (this.isOpen) //is a folder and _is_ open - for (i=0 ; i < this.nChildren; i++) - h = h + this.children[i].totalHeight() - - return h -} - - -// Events -// ********************************************************* - -function clickOnFolder(folderId) -{ - var clicked = indexOfEntries[folderId] - - if (!clicked.isOpen) - clickOnNode(folderId) - - return - - if (clicked.isSelected) - return -} - -function clickOnNode(folderId) -{ - var clickedFolder = 0 - var state = 0 - - clickedFolder = indexOfEntries[folderId] - state = clickedFolder.isOpen - - clickedFolder.setState(!state) //open<->close -} - -function initializeDocument() -{ - doc = document; - if (doc.all) - browserVersion = 1 //IE4 - else - if (doc.layers) - browserVersion = 2 //NS4 - else if(navigator.userAgent.toLowerCase().indexOf('gecko') != -1) - browserVersion = 3 //mozilla - else - browserVersion = 0 //other - - foldersTree.initialize(0, 1, "") - foldersTree.display() - - if (browserVersion > 0) - { - if(browserVersion != 3) - doc.write(" ") - - // close the whole tree - clickOnNode(0) - // open the root folder - clickOnNode(0) - } -} - -// Auxiliary Functions for Folder-Treee backward compatibility -// ********************************************************* - -function gFld(description, tagName, hreference) -{ - folder = new Folder(description, tagName, hreference) - return folder -} - -function gLnk(description, tagName, linkData) -{ - fullLink = "" - - if (linkData!="") - { - fullLink = "'"+linkData+"' target=\"basefrm\"" - } - - linkItem = new Item(description, tagName, fullLink) - return linkItem -} - -function insFld(parentFolder, childFolder) -{ - return parentFolder.addChild(childFolder) -} - -function insDoc(parentFolder, document) -{ - parentFolder.addChild(document) -} - -// Global variables -// **************** - -USETEXTLINKS = 1 -indexOfEntries = new Array -nEntries = 0 -doc = document -browserVersion = 0 -selectedFolder=0 diff --git a/doc/html/Makefile.in b/doc/html/Makefile.in deleted file mode 100644 index 135b2daef..000000000 --- a/doc/html/Makefile.in +++ /dev/null @@ -1,39 +0,0 @@ -# -* Makefile *- -# -# Author : Vasily Rusyaev (Open Cascade NN) -# Date : 13/02/2003 -# $Header: -# -# source path -top_srcdir=@top_srcdir@ -root_srcdir=@ROOT_SRCDIR@ -top_builddir=../.. -srcdir=@srcdir@ -VPATH=.:@srcdir@ -doxygen=@DOXYGEN@ - -@COMMENCE@ - -doc: - cp -fr $(srcdir)/INPUT ./; \ - cd INPUT; \ - sed 's|../../../share/salome|$(root_srcdir)|' doxyfile > doxyfile1; \ - mv -f doxyfile1 doxyfile; \ - $(doxygen) ./doxyfile; \ - cd ..; \ - cp -fr $(srcdir)/INPUT/sources/static/*.* ./html/ - cp -fr $(srcdir)/INPUT/sources/ html/ - cp -fr $(srcdir)/INPUT/HTML/ html/ - -clean: - rm -rf html - -distclean: clean - rm -rf INPUT - -install: - $(INSTALL) -d $(docdir); \ - cp -rf html $(docdir) - -uninstall: - rm -rf $(docdir)/html diff --git a/doc/salome/MED_index.html b/doc/salome/MED_index.html deleted file mode 100644 index 5217304ed..000000000 --- a/doc/salome/MED_index.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - Med Module Documentation - - - -
-
-
-
-
- - diff --git a/doc/salome/Makefile.in b/doc/salome/Makefile.in deleted file mode 100644 index b411e3271..000000000 --- a/doc/salome/Makefile.in +++ /dev/null @@ -1,43 +0,0 @@ - -# -* Makefile *- -# -# Author : Patrick GOLDBRONN (CEA) -# Date : 30/11/2001 -# $Header$ -# -# source path -top_srcdir=@top_srcdir@ -top_builddir=../.. -srcdir=@srcdir@ -VPATH=.:@srcdir@ - -SUBDIRS= tui - -@COMMENCE@ - -docs: - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done; \ - cp -f $(srcdir)/MED_index.html MED_index.html - -clean: - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done - -distclean: clean - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done - -install: - $(MAKE) docs - (cd tui && $(MAKE) install); - cp -f MED_index.html $(docdir) - -uninstall: - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done; \ - rm -fr $(docdir)/MED_index.html diff --git a/doc/salome/tui/MED/HTML/MED.html b/doc/salome/tui/MED/HTML/MED.html deleted file mode 100644 index 8b1abaeb1..000000000 --- a/doc/salome/tui/MED/HTML/MED.html +++ /dev/null @@ -1,502 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface MESH
IDL file
Python
string getName ( )
return_value = getName ( )
long getSpaceDimension ( )
return_value = getSpaceDimension ( )
long getMeshDimension ( )
return_value = getMeshDimension ( )
boolean getIsAGrid ( )
return_value = getIsAGrid ( )
boolean existConnectivity ( in medConnectivity mode, in medEntityMesh entity )
return_value = existConnectivity ( mode, entity )
string getCoordinatesSystem ( )
return_value = getCoordinatesSystem ( )
long getNumberOfNodes ( )
return_value = getNumberOfNodes ( )
double_array getCoordinates ( in medModeSwitch typeSwitch )
return_value = getCoordinates ( typeSwitch )
double getCoordinate ( in long Number, in long Axis )
return_value = getCoordinate ( Number, Axis )
string_array getCoordinatesNames ( )
return_value = getCoordinatesNames ( )
string_array getCoordinatesUnits ( )
return_value = getCoordinatesUnits ( )
SUPPORT getBoundaryElements ( in medEntityMesh Entity )
return_value = getBoundaryElements ( Entity )
SUPPORT getSkin ( in SUPPORT mySupport3D )
return_value = getSkin ( mySupport3D )
long_array getGlobalNumberingIndex ( in medEntityMesh entity )
return_value = getGlobalNumberingIndex ( entity )
coordinateInfos getCoordGlobal ( )
return_value = getCoordGlobal ( )
long getNumberOfTypes ( in medEntityMesh entity )
return_value = getNumberOfTypes ( entity )
medGeometryElement_array getTypes ( in medEntityMesh entity )
return_value = getTypes ( entity )
long getNumberOfElements ( in medEntityMesh entity, in medGeometryElement geomElement )
return_value = getNumberOfElements ( entity, geomElement )
long_array getConnectivity ( in medModeSwitch typeSwitch, in medConnectivity mode, in medEntityMesh entity, in medGeometryElement geomElement )
return_value = getConnectivity ( typeSwitch, mode, entity, geomElement )
long_array getConnectivityIndex ( in medConnectivity mode, in medEntityMesh entity )
return_value = getConnectivityIndex ( mode, entity )
long getElementNumber ( in medConnectivity mode, in medEntityMesh entity, in medGeometryElement type, in long_array connectivity )
return_value = getElementNumber ( mode, entity, type, connectivity )
medGeometryElement getElementType ( in medEntityMesh entity, in long number )
return_value = getElementType ( entity, number )
long_array getReverseConnectivity ( in medConnectivity mode )
return_value = getReverseConnectivity ( mode )
long_array getReverseConnectivityIndex ( in medConnectivity mode )
return_value = getReverseConnectivityIndex ( mode )
connectivityInfos getConnectGlobal ( in medEntityMesh entity )
return_value = getConnectGlobal ( entity )
long getNumberOfFamilies ( in medEntityMesh entity )
return_value = getNumberOfFamilies ( entity )
long getNumberOfGroups ( in medEntityMesh entity )
return_value = getNumberOfGroups ( entity )
Family_array getFamilies ( in medEntityMesh entity )
return_value = getFamilies ( entity )
FAMILY getFamily ( in medEntityMesh entity, in long familyNumber )
return_value = getFamily ( entity, familyNumber )
Group_array getGroups ( in medEntityMesh entity )
return_value = getGroups ( entity )
GROUP getGroup ( in medEntityMesh entity, in long groupNumber )
return_value = getGroup ( entity, groupNumber )
FIELD getVolume ( in SUPPORT mySupport )
return_value = getVolume ( mySupport )
FIELD getArea ( in SUPPORT mySupport )
return_value = getArea ( mySupport )
FIELD getLength ( in SUPPORT mySupport )
return_value = getLength ( mySupport )
FIELD getNormal ( in SUPPORT mySupport )
return_value = getNormal ( mySupport )
FIELD getBarycenter ( in SUPPORT mySupport )
return_value = getBarycenter ( mySupport )
void addInStudy ( in Study myStudy, in MESH myIor )
addInStudy ( myStudy, myIor )
long addDriver ( in medDriverTypes driverType, in string fileName, in string meshName )
return_value = addDriver ( driverType, fileName, meshName )
void rmDriver ( in long i )
rmDriver ( i )
void read ( in long i )
read ( i )
void write ( in long i, in string driverMeshName )
write ( i, driverMeshName )
long getCorbaIndex ( )
return_value = getCorbaIndex ( )
meshInfos getMeshGlobal ( )
return_value = getMeshGlobal ( )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface SUPPORT
IDL file
Python
string getName ( )
return_value = getName ( )
string getDescription ( )
return_value = getDescription ( )
MESH getMesh ( )
return_value = getMesh ( )
medEntityMesh getEntity ( )
return_value = getEntity ( )
boolean isOnAllElements ( )
return_value = isOnAllElements ( )
long getNumberOfElements ( in medGeometryElement geomElement )
return_value = getNumberOfElements ( geomElement )
long getNumberOfTypes ( )
return_value = getNumberOfTypes ( )
medGeometryElement_array getTypes ( )
return_value = getTypes ( )
long_array getNumber ( in medGeometryElement geomElement )
return_value = getNumber ( geomElement )
long_array getNumberIndex ( )
return_value = getNumberIndex ( )
long getNumberOfGaussPoint ( in medGeometryElement geomElement )
return_value = getNumberOfGaussPoint ( geomElement )
long_array getNumbersOfGaussPoint ( )
return_value = getNumbersOfGaussPoint ( )
void getBoundaryElements ( )
getBoundaryElements ( )
long getCorbaIndex ( )
return_value = getCorbaIndex ( )
supportInfos getSupportGlobal ( )
return_value = getSupportGlobal ( )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface FAMILY
IDL file
Python
long getIdentifier ( )
return_value = getIdentifier ( )
long getNumberOfAttributes ( )
return_value = getNumberOfAttributes ( )
long_array getAttributesIdentifiers ( )
return_value = getAttributesIdentifiers ( )
long getAttributeIdentifier ( in long i )
return_value = getAttributeIdentifier ( i )
long_array getAttributesValues ( )
return_value = getAttributesValues ( )
long getAttributeValue ( in long i )
return_value = getAttributeValue ( i )
string_array getAttributesDescriptions ( )
return_value = getAttributesDescriptions ( )
string getAttributeDescription ( in long i )
return_value = getAttributeDescription ( i )
long getNumberOfGroups ( )
return_value = getNumberOfGroups ( )
string_array getGroupsNames ( )
return_value = getGroupsNames ( )
string getGroupName ( in long i )
return_value = getGroupName ( i )

- - - - - - - - - - - - - - - - - - - -
interface GROUP
IDL file
Python
long getNumberOfFamilies ( )
return_value = getNumberOfFamilies ( )
Family_array getFamilies ( )
return_value = getFamilies ( )
FAMILY getFamily ( in long i )
return_value = getFamily ( i )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface FIELD
IDL file
Python
string getName ( )
return_value = getName ( )
string getDescription ( )
return_value = getDescription ( )
SUPPORT getSupport ( )
return_value = getSupport ( )
long getNumberOfComponents ( )
return_value = getNumberOfComponents ( )
string_array getComponentsNames ( )
return_value = getComponentsNames ( )
string getComponentName ( in long i )
return_value = getComponentName ( i )
string_array getComponentsUnits ( )
return_value = getComponentsUnits ( )
string getComponentUnit ( in long i )
return_value = getComponentUnit ( i )
long getIterationNumber ( )
return_value = getIterationNumber ( )
double getTime ( )
return_value = getTime ( )
long getOrderNumber ( )
return_value = getOrderNumber ( )
long addDriver ( in medDriverTypes driverType, in string fileName, in string fieldName )
return_value = addDriver ( driverType, fileName, fieldName )
void rmDriver ( in long i )
rmDriver ( i )
void read ( in long i )
read ( i )
void write ( in long i, in string driverFieldName )
write ( i, driverFieldName )
void addInStudy ( in Study myStudy, in FIELD myIor )
addInStudy ( myStudy, myIor )
long getCorbaIndex ( )
return_value = getCorbaIndex ( )

- - - - - - - - - - - -
interface FIELDDOUBLE
IDL file
Python
double_array getValue ( in medModeSwitch mode )
return_value = getValue ( mode )

- - - - - - - - - - - -
interface FIELDINT
IDL file
Python
long_array getValue ( in medModeSwitch mode )
return_value = getValue ( mode )

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
interface MED
IDL file
Python
long getNumberOfMeshes ( )
return_value = getNumberOfMeshes ( )
long getNumberOfFields ( )
return_value = getNumberOfFields ( )
string_array getMeshNames ( )
return_value = getMeshNames ( )
string_array getFieldNames ( )
return_value = getFieldNames ( )
MESH getMeshByName ( in string meshName )
return_value = getMeshByName ( meshName )
MESH getMesh ( in FIELD fieldPtr )
return_value = getMesh ( fieldPtr )
long getFieldNumberOfIteration ( in string fieldName )
return_value = getFieldNumberOfIteration ( fieldName )
long_array getFieldIteration ( in string fieldName, in long i )
return_value = getFieldIteration ( fieldName, i )
long_array getFieldIterations ( in string fieldName )
return_value = getFieldIterations ( fieldName )
FIELD getField ( in string fieldName, in long pasTemps, in long numOrdre )
return_value = getField ( fieldName, pasTemps, numOrdre )
long addDriver ( in medDriverTypes driverType, in string fileName )
return_value = addDriver ( driverType, fileName )
void rmDriver ( in long i )
rmDriver ( i )
void readFileStruct ( in long i )
readFileStruct ( i )
void writeFrom ( in long i )
writeFrom ( i )
void write ( in long i )
write ( i )
void addMesh ( in MESH ptrMesh )
addMesh ( ptrMesh )
void addField ( in FIELD ptrField )
addField ( ptrField )
void addInStudy ( in Study myStudy, in MED medPtr )
addInStudy ( myStudy, medPtr )

-
diff --git a/doc/salome/tui/MED/HTML/MED_Gen.html b/doc/salome/tui/MED/HTML/MED_Gen.html deleted file mode 100644 index 44b43940b..000000000 --- a/doc/salome/tui/MED/HTML/MED_Gen.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -
interface MED_Gen
IDL file
Python
MESH readMeshInFile ( in string fileName, in string studyName, in string meshName )
return_value = readMeshInFile ( fileName, studyName, meshName )
FIELD readFieldInFile ( in string fileName, in string studyName, in string fieldName, in long ordre, in long iter )
return_value = readFieldInFile ( fileName, studyName, fieldName, ordre, iter )
MED readStructFile ( in string fileName, in string studyName )
return_value = readStructFile ( fileName, studyName )
void readStructFileWithFieldType ( in string fileName, in string studyName )
readStructFileWithFieldType ( fileName, studyName )

-
diff --git a/doc/salome/tui/MED/doxyfile b/doc/salome/tui/MED/doxyfile deleted file mode 100755 index 1bba3b632..000000000 --- a/doc/salome/tui/MED/doxyfile +++ /dev/null @@ -1,201 +0,0 @@ -# Doxyfile 1.3-rc1 - -#--------------------------------------------------------------------------- -# General configuration options -#--------------------------------------------------------------------------- -PROJECT_NAME = "SALOME - MED - v.2.1.0" -PROJECT_NUMBER = id#1.1 -OUTPUT_DIRECTORY = ../ -OUTPUT_LANGUAGE = English -EXTRACT_ALL = YES -EXTRACT_PRIVATE = YES -EXTRACT_STATIC = YES -EXTRACT_LOCAL_CLASSES = YES -HIDE_UNDOC_MEMBERS = NO -HIDE_UNDOC_CLASSES = NO -HIDE_FRIEND_COMPOUNDS = NO -HIDE_IN_BODY_DOCS = NO -BRIEF_MEMBER_DESC = YES -REPEAT_BRIEF = NO -ALWAYS_DETAILED_SEC = YES -INLINE_INHERITED_MEMB = YES -FULL_PATH_NAMES = NO -STRIP_FROM_PATH = -INTERNAL_DOCS = YES -CASE_SENSE_NAMES = YES -SHORT_NAMES = NO -HIDE_SCOPE_NAMES = NO -VERBATIM_HEADERS = YES -SHOW_INCLUDE_FILES = YES -JAVADOC_AUTOBRIEF = YES -MULTILINE_CPP_IS_BRIEF = NO -DETAILS_AT_TOP = NO -INHERIT_DOCS = YES -INLINE_INFO = YES -SORT_MEMBER_DOCS = NO -DISTRIBUTE_GROUP_DOC = NO -TAB_SIZE = 5 -GENERATE_TODOLIST = YES -GENERATE_TESTLIST = YES -GENERATE_BUGLIST = YES -GENERATE_DEPRECATEDLIST= YES -ALIASES = -ENABLED_SECTIONS = -MAX_INITIALIZER_LINES = 25 -OPTIMIZE_OUTPUT_FOR_C = YES -OPTIMIZE_OUTPUT_JAVA = YES -SHOW_USED_FILES = NO -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- -QUIET = NO -WARNINGS = YES -WARN_IF_UNDOCUMENTED = YES -WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = log.txt -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- -INPUT = ../../../share/salome/idl/MED.idl \ - ../../../share/salome/idl/MED_Gen.idl -FILE_PATTERNS = -RECURSIVE = NO -EXCLUDE = -EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = -EXAMPLE_PATH = -EXAMPLE_PATTERNS = -EXAMPLE_RECURSIVE = NO -IMAGE_PATH = sources/ -INPUT_FILTER = -FILTER_SOURCE_FILES = YES -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- -SOURCE_BROWSER = NO -INLINE_SOURCES = NO -STRIP_CODE_COMMENTS = YES -REFERENCED_BY_RELATION = NO -REFERENCES_RELATION = YES -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- -ALPHABETICAL_INDEX = NO -COLS_IN_ALPHA_INDEX = 5 -IGNORE_PREFIX = -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- -GENERATE_HTML = YES -HTML_OUTPUT = MED -HTML_FILE_EXTENSION = .html -HTML_HEADER = sources/myheader.html -HTML_FOOTER = -HTML_STYLESHEET = -HTML_ALIGN_MEMBERS = YES -GENERATE_HTMLHELP = NO -CHM_FILE = -HHC_LOCATION = -GENERATE_CHI = NO -BINARY_TOC = YES -TOC_EXPAND = YES -DISABLE_INDEX = YES -ENUM_VALUES_PER_LINE = 4 -GENERATE_TREEVIEW = YES -TREEVIEW_WIDTH = 250 -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- -GENERATE_LATEX = NO -LATEX_OUTPUT = latex -LATEX_CMD_NAME = latex -MAKEINDEX_CMD_NAME = makeindex -COMPACT_LATEX = NO -PAPER_TYPE = a4wide -EXTRA_PACKAGES = -LATEX_HEADER = -PDF_HYPERLINKS = NO -USE_PDFLATEX = NO -LATEX_BATCHMODE = NO -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- -GENERATE_RTF = NO -RTF_OUTPUT = rtf -COMPACT_RTF = NO -RTF_HYPERLINKS = NO -RTF_STYLESHEET_FILE = -RTF_EXTENSIONS_FILE = -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- -GENERATE_MAN = NO -MAN_OUTPUT = man -MAN_EXTENSION = .3 -MAN_LINKS = NO -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- -GENERATE_XML = NO -XML_SCHEMA = -XML_DTD = -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- -GENERATE_AUTOGEN_DEF = NO -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- -GENERATE_PERLMOD = NO -PERLMOD_LATEX = NO -PERLMOD_PRETTY = YES -PERLMOD_MAKEVAR_PREFIX = -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- -ENABLE_PREPROCESSING = YES -MACRO_EXPANSION = YES -EXPAND_ONLY_PREDEF = NO -SEARCH_INCLUDES = YES -INCLUDE_PATH = -INCLUDE_FILE_PATTERNS = -PREDEFINED = -EXPAND_AS_DEFINED = -SKIP_FUNCTION_MACROS = NO -#--------------------------------------------------------------------------- -# Configuration::addtions related to external references -#--------------------------------------------------------------------------- -TAGFILES = -GENERATE_TAGFILE = -ALLEXTERNALS = NO -EXTERNAL_GROUPS = YES -PERL_PATH = /usr/bin/perl -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- -CLASS_DIAGRAMS = YES -HIDE_UNDOC_RELATIONS = NO -HAVE_DOT = YES -CLASS_GRAPH = YES -COLLABORATION_GRAPH = NO -TEMPLATE_RELATIONS = YES -INCLUDE_GRAPH = YES -INCLUDED_BY_GRAPH = NO -GRAPHICAL_HIERARCHY = YES -DOT_IMAGE_FORMAT = jpg -DOT_PATH = -DOTFILE_DIRS = -MAX_DOT_GRAPH_WIDTH = 1024 -MAX_DOT_GRAPH_HEIGHT = 1200 -GENERATE_LEGEND = NO -DOT_CLEANUP = YES -#--------------------------------------------------------------------------- -# Configuration::addtions related to the search engine -#--------------------------------------------------------------------------- -SEARCHENGINE = NO -CGI_NAME = search.cgi -CGI_URL = -DOC_URL = -DOC_ABSPATH = -BIN_ABSPATH = /usr/local/bin/ -EXT_DOC_PATHS = diff --git a/doc/salome/tui/MED/sources/Application-About.png b/doc/salome/tui/MED/sources/Application-About.png deleted file mode 100755 index 7b58330d5..000000000 Binary files a/doc/salome/tui/MED/sources/Application-About.png and /dev/null differ diff --git a/doc/salome/tui/MED/sources/Application-About1.jpg b/doc/salome/tui/MED/sources/Application-About1.jpg deleted file mode 100755 index cf7ab8ba0..000000000 Binary files a/doc/salome/tui/MED/sources/Application-About1.jpg and /dev/null differ diff --git a/doc/salome/tui/MED/sources/application.gif b/doc/salome/tui/MED/sources/application.gif deleted file mode 100644 index 0b05d5c18..000000000 Binary files a/doc/salome/tui/MED/sources/application.gif and /dev/null differ diff --git a/doc/salome/tui/MED/sources/application.jpg b/doc/salome/tui/MED/sources/application.jpg deleted file mode 100755 index a6979ab99..000000000 Binary files a/doc/salome/tui/MED/sources/application.jpg and /dev/null differ diff --git a/doc/salome/tui/MED/sources/bg_salome.gif b/doc/salome/tui/MED/sources/bg_salome.gif deleted file mode 100755 index 677b70468..000000000 Binary files a/doc/salome/tui/MED/sources/bg_salome.gif and /dev/null differ diff --git a/doc/salome/tui/MED/sources/logocorp.gif b/doc/salome/tui/MED/sources/logocorp.gif deleted file mode 100755 index 7697e0837..000000000 Binary files a/doc/salome/tui/MED/sources/logocorp.gif and /dev/null differ diff --git a/doc/salome/tui/MED/sources/myheader.html b/doc/salome/tui/MED/sources/myheader.html deleted file mode 100755 index 83ca543cd..000000000 --- a/doc/salome/tui/MED/sources/myheader.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - Main Page - - - -  -
- - - - - - -
-
-
- - - - diff --git a/doc/salome/tui/MED/sources/occ.gif b/doc/salome/tui/MED/sources/occ.gif deleted file mode 100755 index ce017c8ae..000000000 Binary files a/doc/salome/tui/MED/sources/occ.gif and /dev/null differ diff --git a/doc/salome/tui/MED/sources/static/doxygen.css b/doc/salome/tui/MED/sources/static/doxygen.css deleted file mode 100755 index 0a8e93d50..000000000 --- a/doc/salome/tui/MED/sources/static/doxygen.css +++ /dev/null @@ -1,49 +0,0 @@ -H1 { text-align: center; } -CAPTION { font-weight: bold } -A.qindex {} -A.qindexRef {} -A.el { text-decoration: none; font-weight: bold } -A.elRef { font-weight: bold } -A.code { text-decoration: none; font-weight: normal; color: #4444ee } -A.codeRef { font-weight: normal; color: #4444ee } -A:hover { text-decoration: none; background-color: lightblue } -DL.el { margin-left: -1cm } -DIV.fragment { width: 100%; border: none; background-color: #CCCCCC } -DIV.ah { background-color: #CCCCCC; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } -TD.md { background-color: lightblue; font-weight: bold; } -TD.mdname1 { background-color: lightblue; font-weight: bold; color: #602020; } -TD.mdname { background-color: lightblue; font-weight: bold; color: #602020; width: 600px; } -DIV.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold } -DIV.groupText { margin-left: 16px; font-style: italic; font-size: smaller } -BODY { background: url(sources/bg_salome.gif) } -TD.indexkey { - background-color: #CCCCCC; - font-weight: bold; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px -} -TD.indexvalue { - background-color: #CCCCCC; - font-style: italic; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px -} -span.keyword { color: #008000 } -span.keywordtype { color: #604020 } -span.keywordflow { color: #e08000 } -span.comment { color: #800000 } -span.preprocessor { color: #806020 } -span.stringliteral { color: #002080 } -span.charliteral { color: #008080 } diff --git a/doc/salome/tui/MED/sources/static/page2.html b/doc/salome/tui/MED/sources/static/page2.html deleted file mode 100755 index 1891fe92c..000000000 --- a/doc/salome/tui/MED/sources/static/page2.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - Main Page - - - - -   -
- - - - - - - - -
- - -
-
- - -
- - diff --git a/doc/salome/tui/MED/sources/static/tree.js b/doc/salome/tui/MED/sources/static/tree.js deleted file mode 100755 index d410052c4..000000000 --- a/doc/salome/tui/MED/sources/static/tree.js +++ /dev/null @@ -1,20 +0,0 @@ -foldersTree = gFld("SALOME v.2.1.0 ", "", "") - insDoc(foldersTree, gLnk("Main Page", "", "main.html")) - -aux1 = insFld(foldersTree, gFld("TUI Reference Guide", "")) - aux2 = insFld(aux1, gFld("Modules", "")) - aux3 = insFld(aux2, gFld("SALOME MED module", "")) -/*! insDoc(aux3, gLnk("Overview", "", "overview_Med.html"))*/ - aux4 = insFld(aux3, gFld("Packages", "")) - insDoc(aux4, gLnk("SALOME_MED", "", "namespaceSALOME__MED.html")) -/*! insDoc(aux3, gLnk("Examples", "", "examples_MED.html")) -*/ - - insDoc(aux1, gLnk("Data Structures", "", "annotated.html")) - insDoc(aux1, gLnk("Class Hierarchy", "", "hierarchy.html")) - insDoc(aux1, gLnk("Class methods list", "", "functions.html")) - insDoc(aux1, gLnk("Namespace Members", "", "namespacemembers.html")) - insDoc(aux1, gLnk("File List", "", "files.html")) - -aux1 = insFld(foldersTree, gFld("IDL/Python mapping", "")) - insDoc(aux1, gLnk("Mapping of MED IDL definitions to Python language", "", "page2.html")) diff --git a/doc/salome/tui/MED/sources/static/treeview.js b/doc/salome/tui/MED/sources/static/treeview.js deleted file mode 100644 index 55eb43d07..000000000 --- a/doc/salome/tui/MED/sources/static/treeview.js +++ /dev/null @@ -1,505 +0,0 @@ -//**************************************************************** -// You are free to copy the "Folder-Tree" script as long as you -// keep this copyright notice: -// Script found in: http://www.geocities.com/Paris/LeftBank/2178/ -// Author: Marcelino Alves Martins (martins@hks.com) December '97. -//**************************************************************** - -//Log of changes: -// 17 Feb 98 - Fix initialization flashing problem with Netscape -// -// 27 Jan 98 - Root folder starts open; support for USETEXTLINKS; -// make the ftien4 a js file -// -// DvH: Dec 2000 - Made some minor changes to support external -// references - -// Definition of class Folder -// ***************************************************************** - -function Folder(folderDescription, tagName, hreference) //constructor -{ - //constant data - this.desc = folderDescription - this.tagName = tagName - this.hreference = hreference - this.id = -1 - this.navObj = 0 - this.iconImg = 0 - this.nodeImg = 0 - this.isLastNode = 0 - - //dynamic data - this.isOpen = true - this.iconSrc = "ftv2folderopen.png" - this.children = new Array - this.nChildren = 0 - - //methods - this.initialize = initializeFolder - this.setState = setStateFolder - this.addChild = addChild - this.createIndex = createEntryIndex - this.hide = hideFolder - this.display = display - this.renderOb = drawFolder - this.totalHeight = totalHeight - this.subEntries = folderSubEntries - this.outputLink = outputFolderLink -} - -function setStateFolder(isOpen) -{ - var subEntries - var totalHeight - var fIt = 0 - var i=0 - - if (isOpen == this.isOpen) - return - - if (browserVersion == 2) - { - totalHeight = 0 - for (i=0; i < this.nChildren; i++) - totalHeight = totalHeight + this.children[i].navObj.clip.height - subEntries = this.subEntries() - if (this.isOpen) - totalHeight = 0 - totalHeight - for (fIt = this.id + subEntries + 1; fIt < nEntries; fIt++) - indexOfEntries[fIt].navObj.moveBy(0, totalHeight) - } - this.isOpen = isOpen - propagateChangesInState(this) -} - -function propagateChangesInState(folder) -{ - var i=0 - - if (folder.isOpen) - { - if (folder.nodeImg) - if (folder.isLastNode) - folder.nodeImg.src = "ftv2mlastnode.png" - else - folder.nodeImg.src = "ftv2mnode.png" - folder.iconImg.src = "ftv2folderopen.png" - for (i=0; i 0) - auxEv = "" - else - auxEv = "" - - if (level>0) - if (lastNode) //the last 'brother' in the children array - { - this.renderOb(leftSide + auxEv + "") -// leftSide = leftSide + "" - this.isLastNode = 1 - } - else - { - this.renderOb(leftSide + auxEv + "") - leftSide = leftSide + "" - this.isLastNode = 0 - } - else - this.renderOb("") - - if (nc > 0) - { - level = level + 1 - for (i=0 ; i < this.nChildren; i++) - { - if (i == this.nChildren-1) - this.children[i].initialize(level, 1, leftSide) - else - this.children[i].initialize(level, 0, leftSide) - } - } -} - -function drawFolder(leftSide) -{ - if (browserVersion == 2) { - if (!doc.yPos) - doc.yPos=8 - doc.write("") - } - if (browserVersion == 3) - { - doc.write("
") - } - - doc.write("\n") - doc.write("\n\n") - doc.write("\n
") - doc.write(leftSide) - this.outputLink() - doc.write("") - doc.write("") - if (USETEXTLINKS) - { - this.outputLink() - doc.write(this.desc + "") - } - else - doc.write(this.desc) - -/*! - if (this.tagName!="") - { - doc.write(" [external]") - } -*/ - doc.write("
\n") - - if (browserVersion == 2) { - doc.write("") - } - if (browserVersion == 3) { - doc.write("
") - } - - if (browserVersion == 1) { - this.navObj = doc.all["folder"+this.id] - this.iconImg = doc.all["folderIcon"+this.id] - this.nodeImg = doc.all["nodeIcon"+this.id] - } else if (browserVersion == 2) { - this.navObj = doc.layers["folder"+this.id] - this.iconImg = this.navObj.document.images["folderIcon"+this.id] - this.nodeImg = this.navObj.document.images["nodeIcon"+this.id] - doc.yPos=doc.yPos+this.navObj.clip.height - } else if (browserVersion == 3) { - this.navObj = doc.getElementById("folder"+this.id) - this.iconImg = doc.images.namedItem("folderIcon"+this.id) - this.nodeImg = doc.images.namedItem("nodeIcon"+this.id) - } -} - -function outputFolderLink() -{ - if (this.hreference) - { - doc.write(" 0) - doc.write("onClick='javascript:clickOnFolder("+this.id+")'") - doc.write(">") - } - else - doc.write("") -} - -function addChild(childNode) -{ - this.children[this.nChildren] = childNode - this.nChildren++ - return childNode -} - -function folderSubEntries() -{ - var i = 0 - var se = this.nChildren - - for (i=0; i < this.nChildren; i++){ - if (this.children[i].children) //is a folder - se = se + this.children[i].subEntries() - } - - return se -} - - -// Definition of class Item (a document or link inside a Folder) -// ************************************************************* - -function Item(itemDescription, tagName, itemLink) // Constructor -{ - // constant data - this.desc = itemDescription - this.tagName = tagName - this.link = itemLink - this.id = -1 //initialized in initalize() - this.navObj = 0 //initialized in render() - this.iconImg = 0 //initialized in render() - this.iconSrc = "ftv2doc.png" - - // methods - this.initialize = initializeItem - this.createIndex = createEntryIndex - this.hide = hideItem - this.display = display - this.renderOb = drawItem - this.totalHeight = totalHeight -} - -function hideItem() -{ - if (browserVersion == 1 || browserVersion == 3) { - if (this.navObj.style.display == "none") - return - this.navObj.style.display = "none" - } else { - if (this.navObj.visibility == "hidden") - return - this.navObj.visibility = "hidden" - } -} - -function initializeItem(level, lastNode, leftSide) -{ - this.createIndex() - - if (level>0) - if (lastNode) //the last 'brother' in the children array - { - this.renderOb(leftSide + "") - leftSide = leftSide + "" - } - else - { - this.renderOb(leftSide + "") - leftSide = leftSide + "" - } - else - this.renderOb("") -} - -function drawItem(leftSide) -{ - if (browserVersion == 2) - doc.write("") - if (browserVersion == 3) - doc.write("
") - - doc.write("\n\n") - doc.write("\n
") - doc.write(leftSide) - if (this.link!="") - { - doc.write("") - } - doc.write("") - if (this.link!="") - { - doc.write("") - } - doc.write("") - if (USETEXTLINKS && this.link!="") - doc.write("" + this.desc + "") - else - doc.write(this.desc) -/*! - if (this.tagName!="") - { - doc.write(" [external]"); - } -*/ - doc.write("\n
\n") - - if (browserVersion == 2) - doc.write("") - if (browserVersion == 3) - doc.write("
") - - if (browserVersion == 1) { - this.navObj = doc.all["item"+this.id] - this.iconImg = doc.all["itemIcon"+this.id] - } else if (browserVersion == 2) { - this.navObj = doc.layers["item"+this.id] - this.iconImg = this.navObj.document.images["itemIcon"+this.id] - doc.yPos=doc.yPos+this.navObj.clip.height - } else if (browserVersion == 3) { - this.navObj = doc.getElementById("item"+this.id) - this.iconImg = doc.images.namedItem("itemIcon"+this.id) - } -} - - -// Methods common to both objects (pseudo-inheritance) -// ******************************************************** - -function display() -{ - if (browserVersion == 1 || browserVersion == 3) - this.navObj.style.display = "block" - else - this.navObj.visibility = "show" -} - -function createEntryIndex() -{ - this.id = nEntries - indexOfEntries[nEntries] = this - nEntries++ -} - -// total height of subEntries open -function totalHeight() //used with browserVersion == 2 -{ - var h = this.navObj.clip.height - var i = 0 - - if (this.isOpen) //is a folder and _is_ open - for (i=0 ; i < this.nChildren; i++) - h = h + this.children[i].totalHeight() - - return h -} - - -// Events -// ********************************************************* - -function clickOnFolder(folderId) -{ - var clicked = indexOfEntries[folderId] - - if (!clicked.isOpen) - clickOnNode(folderId) - - return - - if (clicked.isSelected) - return -} - -function clickOnNode(folderId) -{ - var clickedFolder = 0 - var state = 0 - - clickedFolder = indexOfEntries[folderId] - state = clickedFolder.isOpen - - clickedFolder.setState(!state) //open<->close -} - -function initializeDocument() -{ - doc = document; - if (doc.all) - browserVersion = 1 //IE4 - else - if (doc.layers) - browserVersion = 2 //NS4 - else if(navigator.userAgent.toLowerCase().indexOf('gecko') != -1) - browserVersion = 3 //mozilla - else - browserVersion = 0 //other - - foldersTree.initialize(0, 1, "") - foldersTree.display() - - if (browserVersion > 0) - { - if(browserVersion != 3) - doc.write(" ") - - // close the whole tree - clickOnNode(0) - // open the root folder - clickOnNode(0) - } -} - -// Auxiliary Functions for Folder-Treee backward compatibility -// ********************************************************* - -function gFld(description, tagName, hreference) -{ - folder = new Folder(description, tagName, hreference) - return folder -} - -function gLnk(description, tagName, linkData) -{ - fullLink = "" - - if (linkData!="") - { - fullLink = "'"+linkData+"' target=\"basefrm\"" - } - - linkItem = new Item(description, tagName, fullLink) - return linkItem -} - -function insFld(parentFolder, childFolder) -{ - return parentFolder.addChild(childFolder) -} - -function insDoc(parentFolder, document) -{ - parentFolder.addChild(document) -} - -// Global variables -// **************** - -USETEXTLINKS = 1 -indexOfEntries = new Array -nEntries = 0 -doc = document -browserVersion = 0 -selectedFolder=0 diff --git a/doc/salome/tui/Makefile.in b/doc/salome/tui/Makefile.in deleted file mode 100644 index 1c1967600..000000000 --- a/doc/salome/tui/Makefile.in +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright (C) 2003 CEA/DEN, EDF R&D -# -# -# -# File : Makefile.in -# Author : Vasily Rusyaev (Open Cascade NN) -# Module : doc -# $Header: - -top_srcdir=@top_srcdir@ -top_builddir=../../.. -root_srcdir=@ROOT_SRCDIR@ -srcdir=@srcdir@ -VPATH=.:@srcdir@ -doxygen=@DOXYGEN@ - -@COMMENCE@ - -docs: - cp -fr $(srcdir)/MED ./INPUT; \ - cd INPUT; \ - sed 's|../../../share/salome|$(root_srcdir)|' ./doxyfile > ./doxyfile1; \ - mv -f doxyfile1 doxyfile; \ - $(doxygen) ./doxyfile; \ - cd ..; \ - cp -fr $(srcdir)/MED/sources/static/*.* ./MED/ - cp -fr $(srcdir)/MED/sources/ MED/ - cp -fr $(srcdir)/MED/HTML/ MED/ - rm -fr INPUT - -clean: - rm -fr MED - -distclean: clean - rm -fr INPUT - -install: - $(INSTALL) -d $(docdir); \ - mkdir -p $(docdir)/tui - cp -fr MED $(docdir)/tui - -uninstall: - rm -fr $(docdir)/tui/MED diff --git a/resources/pointe.med b/resources/pointe.med deleted file mode 100644 index 99ea55289..000000000 Binary files a/resources/pointe.med and /dev/null differ diff --git a/src/MedClient/test/resources/pointe.med b/src/MedClient/test/resources/pointe.med deleted file mode 100644 index 430a74bd6..000000000 Binary files a/src/MedClient/test/resources/pointe.med and /dev/null differ