Salome HOME
Join modifications from branch BR_DEBUG_3_2_0b1
authorjfa <jfa@opencascade.com>
Thu, 1 Jun 2006 11:21:18 +0000 (11:21 +0000)
committerjfa <jfa@opencascade.com>
Thu, 1 Jun 2006 11:21:18 +0000 (11:21 +0000)
417 files changed:
INSTALL
MED_version.h.in [new file with mode: 0644]
Makefile.in
adm_local/Makefile.in
adm_local/unix/config_files/with_Kernel.m4
adm_local/unix/make_commence.in
adm_local_without_kernel/unix/make_module.in
bin/VERSION [deleted file]
bin/VERSION.in [new file with mode: 0755]
build_configure
configure.in.base
doc/MEDMEM/FIELDcreate.cxx
doc/MEDMEM/FIELDcreate.py
doc/MEDMEM/FIELDgeneral.cxx
doc/MEDMEM/FIELDgeneral.py
doc/MEDMEM/MEDMEM_Content.tex.in [new file with mode: 0644]
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 [deleted file]
doc/MEDMEM/MEDMEM_UML.png.in [new file with mode: 0644]
doc/MEDMEM/MEDMEM_UML_light.png.in [new file with mode: 0644]
doc/MEDMEM/MEDMEM_UsersGuide.tex.in
doc/MEDMEM/MESHINGexample.cxx
doc/MEDMEM/MESHINGexample.py [new file with mode: 0644]
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/Makefile.in
doc/html/INPUT/doxyfile [deleted file]
doc/html/INPUT/doxyfile.in [new file with mode: 0755]
doc/html/Makefile.in
doc/salome/MED_index_v3.1.0.html [deleted file]
doc/salome/Makefile.in
doc/salome/tui/MED/doxyfile [deleted file]
doc/salome/tui/MED/doxyfile.in [new file with mode: 0755]
doc/salome/tui/MED/sources/footer.html [new file with mode: 0755]
doc/salome/tui/MED/sources/myheader.html
doc/salome/tui/MED/sources/static/doxygen.css
doc/salome/tui/MED/sources/static/tree.js [deleted file]
doc/salome/tui/MED/sources/static/tree.js.in [new file with mode: 0755]
doc/salome/tui/Makefile.in
idl/Compo1Py.idl
idl/MED.idl
idl/MED_Gen.idl
idl/Makefile.in
resources/ChampsDarcy.med [new file with mode: 0644]
resources/Deff_fdt_5.8_castem_efmh_diff_conc_dom.med [new file with mode: 0644]
resources/Deff_fdt_5.8_castem_vf_diff_conc_dom.med [new file with mode: 0644]
resources/H_CastCast_EFMH_I129_COUPLEX1.med [new file with mode: 0644]
resources/H_CastCast_VF_I129_COUPLEX1.med [new file with mode: 0644]
resources/H_CastCast_VF_Se79_COUPLEX1.med [new file with mode: 0644]
resources/H_CastPorf_I129_COUPLEX1.med [new file with mode: 0644]
resources/H_CastPorf_Se79_COUPLEX1.med [new file with mode: 0644]
resources/H_PorfCast_EFMH_I129_COUPLEX1.med [new file with mode: 0644]
resources/H_PorfCast_EFMH_Se79_COUPLEX1.med [new file with mode: 0644]
resources/H_PorfPorf_I129_COUPLEX1.med [new file with mode: 0644]
resources/H_Traces_I129_COUPLEX1.med [new file with mode: 0644]
resources/H_Traces_Se79_COUPLEX1.med [new file with mode: 0644]
resources/MEDCatalog.xml [deleted file]
resources/MEDCatalog.xml.in [new file with mode: 0644]
resources/darcy2_Castem_EFMH.med [new file with mode: 0644]
resources/darcy2_Castem_qua_EFMH.med [new file with mode: 0644]
resources/darcy2_Castem_qua_VF.med [new file with mode: 0644]
resources/darcy_1.1_res.med [new file with mode: 0644]
resources/darcy_1.3_resCASTEM.med [new file with mode: 0644]
resources/darcy_1.3_resPORFLOW.med [new file with mode: 0644]
resources/darcy_1.3_resTRACES.med [new file with mode: 0644]
resources/extendedtransport53_triangles.med [new file with mode: 0644]
resources/maillage_5_5_5.med [new file with mode: 0644]
resources/maillage_chemvalIV_cas1_40elts.med [new file with mode: 0644]
src/INTERPOLATION/MEDMEM_Interpolation.hxx
src/INTERPOLATION/MEDMEM_InterpolationHighLevelObjects.hxx
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/MED/testMedAlliances.py [new file with mode: 0755]
src/MED/testMedAlliances1.py [new file with mode: 0755]
src/MEDGUI/MED_images.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/MEDGUI/MedGUI_Selection.cxx
src/MEDGUI/MedGUI_Selection.h
src/MEDMEM/DataTest/constituedump.sh
src/MEDMEM/DataTest/testreadCoordinate.sh
src/MEDMEM/DataTest/testreadEntete.sh
src/MEDMEM/DataTest/tous.sh
src/MEDMEM/Doxyfile_med_devel.in
src/MEDMEM/Doxyfile_med_user.in
src/MEDMEM/MEDMEM_Array.hxx
src/MEDMEM/MEDMEM_ArrayConvert.hxx
src/MEDMEM/MEDMEM_ArrayInterface.hxx
src/MEDMEM/MEDMEM_AsciiFieldDriver.hxx
src/MEDMEM/MEDMEM_CellModel.cxx
src/MEDMEM/MEDMEM_CellModel.hxx
src/MEDMEM/MEDMEM_Compatibility21_22.hxx
src/MEDMEM/MEDMEM_Connectivity.cxx
src/MEDMEM/MEDMEM_Connectivity.hxx
src/MEDMEM/MEDMEM_Coordinate.cxx
src/MEDMEM/MEDMEM_Coordinate.hxx
src/MEDMEM/MEDMEM_DriverFactory.cxx
src/MEDMEM/MEDMEM_DriverFactory.hxx
src/MEDMEM/MEDMEM_DriverTools.cxx
src/MEDMEM/MEDMEM_DriverTools.hxx
src/MEDMEM/MEDMEM_DriversDef.cxx
src/MEDMEM/MEDMEM_DriversDef.hxx
src/MEDMEM/MEDMEM_Exception.cxx
src/MEDMEM/MEDMEM_Exception.hxx
src/MEDMEM/MEDMEM_Family.cxx
src/MEDMEM/MEDMEM_Family.hxx
src/MEDMEM/MEDMEM_Field.cxx
src/MEDMEM/MEDMEM_Field.hxx
src/MEDMEM/MEDMEM_FieldConvert.hxx
src/MEDMEM/MEDMEM_FieldForward.hxx
src/MEDMEM/MEDMEM_Formulae.hxx
src/MEDMEM/MEDMEM_GaussLocalization.hxx
src/MEDMEM/MEDMEM_GenDriver.cxx
src/MEDMEM/MEDMEM_GenDriver.hxx
src/MEDMEM/MEDMEM_GibiMeshDriver.cxx
src/MEDMEM/MEDMEM_GibiMeshDriver.hxx
src/MEDMEM/MEDMEM_Grid.cxx
src/MEDMEM/MEDMEM_Grid.hxx
src/MEDMEM/MEDMEM_Group.cxx
src/MEDMEM/MEDMEM_Group.hxx
src/MEDMEM/MEDMEM_IndexCheckingPolicy.hxx
src/MEDMEM/MEDMEM_Init.cxx
src/MEDMEM/MEDMEM_InterlacingPolicy.hxx
src/MEDMEM/MEDMEM_InterlacingTraits.hxx
src/MEDMEM/MEDMEM_MEDMEMchampLire.cxx
src/MEDMEM/MEDMEM_MEDMEMchampLire.hxx
src/MEDMEM/MEDMEM_MEDMEMgaussEcr.cxx
src/MEDMEM/MEDMEM_MEDMEMgaussEcr.hxx
src/MEDMEM/MEDMEM_MEDMEMprofilEcr.cxx
src/MEDMEM/MEDMEM_MEDMEMprofilEcr.hxx
src/MEDMEM/MEDMEM_Med.cxx
src/MEDMEM/MEDMEM_Med.hxx
src/MEDMEM/MEDMEM_MedFieldDriver.hxx
src/MEDMEM/MEDMEM_MedFieldDriver21.hxx
src/MEDMEM/MEDMEM_MedFieldDriver22.hxx
src/MEDMEM/MEDMEM_MedMedDriver.cxx
src/MEDMEM/MEDMEM_MedMedDriver.hxx
src/MEDMEM/MEDMEM_MedMedDriver21.cxx
src/MEDMEM/MEDMEM_MedMedDriver21.hxx
src/MEDMEM/MEDMEM_MedMedDriver22.cxx
src/MEDMEM/MEDMEM_MedMedDriver22.hxx
src/MEDMEM/MEDMEM_MedMeshDriver.cxx
src/MEDMEM/MEDMEM_MedMeshDriver.hxx
src/MEDMEM/MEDMEM_MedMeshDriver21.cxx
src/MEDMEM/MEDMEM_MedMeshDriver21.hxx
src/MEDMEM/MEDMEM_MedMeshDriver22.cxx
src/MEDMEM/MEDMEM_MedMeshDriver22.hxx
src/MEDMEM/MEDMEM_MedVersion.cxx
src/MEDMEM/MEDMEM_MedVersion.hxx
src/MEDMEM/MEDMEM_Mesh.cxx
src/MEDMEM/MEDMEM_Mesh.hxx
src/MEDMEM/MEDMEM_Meshing.cxx
src/MEDMEM/MEDMEM_Meshing.hxx
src/MEDMEM/MEDMEM_ModulusArray.hxx
src/MEDMEM/MEDMEM_PointerOf.hxx
src/MEDMEM/MEDMEM_PolyhedronArray.cxx
src/MEDMEM/MEDMEM_PolyhedronArray.hxx
src/MEDMEM/MEDMEM_PorflowMeshDriver.cxx
src/MEDMEM/MEDMEM_PorflowMeshDriver.hxx
src/MEDMEM/MEDMEM_RCBase.hxx
src/MEDMEM/MEDMEM_STRING.hxx
src/MEDMEM/MEDMEM_SetInterlacingType.hxx
src/MEDMEM/MEDMEM_SkyLineArray.cxx
src/MEDMEM/MEDMEM_SkyLineArray.hxx
src/MEDMEM/MEDMEM_Support.cxx
src/MEDMEM/MEDMEM_Support.hxx
src/MEDMEM/MEDMEM_Tags.hxx
src/MEDMEM/MEDMEM_TopLevel.cxx
src/MEDMEM/MEDMEM_TopLevel.hxx
src/MEDMEM/MEDMEM_TypeMeshDriver.cxx
src/MEDMEM/MEDMEM_TypeMeshDriver.hxx
src/MEDMEM/MEDMEM_Unit.cxx
src/MEDMEM/MEDMEM_Unit.hxx
src/MEDMEM/MEDMEM_Utilities.hxx
src/MEDMEM/MEDMEM_VtkFieldDriver.hxx
src/MEDMEM/MEDMEM_VtkMedDriver.cxx
src/MEDMEM/MEDMEM_VtkMedDriver.hxx
src/MEDMEM/MEDMEM_VtkMeshDriver.cxx
src/MEDMEM/MEDMEM_VtkMeshDriver.hxx
src/MEDMEM/MEDMEM_define.hxx
src/MEDMEM/MEDMEM_medimport_src.cxx
src/MEDMEM/MEDMEM_medimport_src.hxx
src/MEDMEM/MEDMEM_nArray.hxx
src/MEDMEM/Makefile.in
src/MEDMEM/create_grid.c
src/MEDMEM/create_mesh.c
src/MEDMEM/create_mesh_c2q4.c
src/MEDMEM/create_mesh_c2q4s2.c
src/MEDMEM/create_mesh_c2q4s2_wrong.c
src/MEDMEM/create_mesh_c3h8.c
src/MEDMEM/create_mesh_c3h8q4.c
src/MEDMEM/create_mesh_c3h8q4_wrong.c
src/MEDMEM/create_poly2D.c
src/MEDMEM/create_poly3D.c
src/MEDMEM/duplicateMED.cxx
src/MEDMEM/duplicateMEDMESH.cxx
src/MEDMEM/med2_1_To_med2_2.cxx
src/MEDMEM/med2vtk.cxx
src/MEDMEM/med_test.cxx
src/MEDMEM/testAnalFile.cxx
src/MEDMEM/test_GaussLocalization.cxx
src/MEDMEM/test_MEDMEM_Array.cxx
src/MEDMEM/test_MEDMEM_CellModel.cxx
src/MEDMEM/test_MEDMEM_Meshing.cxx
src/MEDMEM/test_MEDMEM_MeshingFlica.cxx [new file with mode: 0644]
src/MEDMEM/test_MEDMEM_MeshingPoly.cxx
src/MEDMEM/test_MEDMEM_Meshing_poly.cxx
src/MEDMEM/test_MEDMEM_ModulusArray.cxx
src/MEDMEM/test_MEDMEM_PolyConnectivity.cxx
src/MEDMEM/test_MEDMEM_PolyDriverMedMeshRead.cxx
src/MEDMEM/test_MEDMEM_PolyDriverMedMeshWrite.cxx
src/MEDMEM/test_MEDMEM_PolyhedronArray.cxx
src/MEDMEM/test_MEDMEM_SkyLineArray.cxx
src/MEDMEM/test_MEDMEM_nArray.cxx
src/MEDMEM/test_MEDMEM_poly3D.cxx
src/MEDMEM/test_affect_medarray.cxx
src/MEDMEM/test_copie_connectivity.cxx
src/MEDMEM/test_copie_coordinate.cxx
src/MEDMEM/test_copie_family.cxx
src/MEDMEM/test_copie_fieldT.cxx
src/MEDMEM/test_copie_field_.cxx
src/MEDMEM/test_copie_group.cxx
src/MEDMEM/test_copie_medarray.cxx
src/MEDMEM/test_copie_mesh.cxx
src/MEDMEM/test_copie_support.cxx
src/MEDMEM/test_gibi_driver.cxx
src/MEDMEM/test_grid.cxx
src/MEDMEM/test_operation_fielddouble.cxx
src/MEDMEM/test_operation_fieldint.cxx
src/MEDMEM/test_porflow_driver.cxx
src/MEDMEM/test_profil_MedFieldDriver.cxx
src/MEDMEM/test_profil_gauss_MedFieldDriver.cxx
src/MEDMEM/tests/readCoordinate.cxx
src/MEDMEM/tests/readEntete.cxx
src/MEDMEM/tests/testUArray.cxx
src/MEDMEM/tests/testUCellModel.cxx
src/MEDMEM/tests/testUCoordinate.cxx
src/MEDMEM/tests/testUGeoNameMeshEntities.cxx
src/MEDMEM/tests/testUMedException.cxx
src/MEDMEM/tests/testUModulusArray.cxx
src/MEDMEM/tests/testUPointerOf.cxx
src/MEDMEM/tests/testUSkyLineArray.cxx
src/MEDMEM/tests/testUUnit.cxx
src/MEDMEM_I/MEDMEM_Family_i.cxx
src/MEDMEM_I/MEDMEM_Family_i.hxx
src/MEDMEM_I/MEDMEM_FieldTemplate_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_TraitsForFields.hxx
src/MEDMEM_I/MEDMEM_convert.cxx
src/MEDMEM_I/MEDMEM_convert.hxx
src/MEDMEM_I/Makefile.in
src/MEDMEM_SWIG/MEDMEM_SWIG_Templates.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/medmem.py
src/MEDMEM_SWIG/my_typemap.i
src/MEDMEM_SWIG/testDriverAscii.py
src/MEDMEM_SWIG/testGaussLocalization.py
src/MEDMEM_SWIG/testMedMemCxxTests.py
src/MEDMEM_SWIG/testMedMemGeneral.py
src/MEDMEM_SWIG/testMedObj.py
src/MEDMEM_SWIG/testWriteAndFam.py
src/MEDMEM_SWIG/test_gibi.py
src/MEDMEM_SWIG/test_porflow.py
src/MEDMEM_SWIG/test_profil_MedFieldDriver.py
src/MEDWrapper/Base/MED_Algorithm.cxx
src/MEDWrapper/Base/MED_Algorithm.hxx
src/MEDWrapper/Base/MED_Common.hxx
src/MEDWrapper/Base/MED_CoordUtils.cxx
src/MEDWrapper/Base/MED_CoordUtils.hxx
src/MEDWrapper/Base/MED_GaussUtils.cxx
src/MEDWrapper/Base/MED_GaussUtils.hxx
src/MEDWrapper/Base/MED_SharedPtr.hxx
src/MEDWrapper/Base/MED_SliceArray.hxx
src/MEDWrapper/Base/MED_Structures.cxx
src/MEDWrapper/Base/MED_Structures.hxx
src/MEDWrapper/Base/MED_TStructures.hxx
src/MEDWrapper/Base/MED_TWrapper.hxx
src/MEDWrapper/Base/MED_Utilities.cxx
src/MEDWrapper/Base/MED_Utilities.hxx
src/MEDWrapper/Base/MED_Vector.hxx
src/MEDWrapper/Base/MED_Wrapper.cxx
src/MEDWrapper/Base/MED_Wrapper.hxx
src/MEDWrapper/Base/Makefile.in
src/MEDWrapper/Factory/MED_Factory.cxx
src/MEDWrapper/Factory/MED_Factory.hxx
src/MEDWrapper/Factory/MED_Test.cxx
src/MEDWrapper/Factory/Makefile.in
src/MEDWrapper/Factory/mprint_version.cxx
src/MEDWrapper/Makefile.in
src/MEDWrapper/V2_1/Makefile.in
src/MEDWrapper/V2_1/Wrapper/MED_V2_1_Wrapper.cxx
src/MEDWrapper/V2_1/Wrapper/MED_V2_1_Wrapper.hxx
src/MEDWrapper/V2_1/Wrapper/Makefile.in
src/MEDWrapper/V2_2/MED_V2_2_Wrapper.cxx
src/MEDWrapper/V2_2/MED_V2_2_Wrapper.hxx
src/MEDWrapper/V2_2/Makefile.in
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/MemorySpy.cxx
src/MedClient/src/MemorySpy.hxx
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/medClient_test.py
src/MedClient/src/testMeshAlliances.py [new file with mode: 0755]
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/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/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/INSTALL b/INSTALL
index ea43398f3d1b34038eff3f47a0499ad5e9870eb1..a0f2d8c888ceb5720d756fd5b925960ef67a52d3 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,4 +1 @@
-This is the version 3.2.0b1 of MED
-Compatible with :
-       - KERNEL 3.2.0b1
-       - SALOMEGUI 3.2.0b1
+SALOME2 : MED module
diff --git a/MED_version.h.in b/MED_version.h.in
new file mode 100644 (file)
index 0000000..2f744d0
--- /dev/null
@@ -0,0 +1,34 @@
+// Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/
+//
+//  File   : MED_version.h
+//  Author : Vadim SANDLER
+//  Module : SALOME
+
+#if !defined(__MED_VERSION_H__)
+#define __MED_VERSION_H__
+
+/*
+  MED_VERSION is (major << 16) + (minor << 8) + patch.
+*/
+
+#define MED_VERSION_STR "@VERSION@"
+#define MED_VERSION     @XVERSION@
+
+#endif // __MED_VERSION_H__
index 82d3f22894c96fb9f4348ce8e8653e9b115315db..6c65e20a0ea84f2ff821802f87156e4c61da6f94 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 # -* Makefile *- 
 #
 # Author : Patrick GOLDBRONN (CEA)
@@ -9,7 +27,7 @@
 top_srcdir=@top_srcdir@
 top_builddir=.
 srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl:${KERNEL_ROOT_DIR}/idl/salome
+VPATH=.:@srcdir@:@top_srcdir@/bin:./bin/salome:./resources:@top_srcdir@/resources:./bin:@top_srcdir@/idl:${KERNEL_ROOT_DIR}/idl/salome
 
 
 @COMMENCE@
@@ -73,6 +91,29 @@ maill.00_without_seg2.med \
 zzzz121b_without_tr6.med \
 geomMesh21.med \
 geomMesh22.med \
+ChampsDarcy.med \
+darcy_1.1_res.med \
+darcy_1.3_resCASTEM.med \
+darcy_1.3_resPORFLOW.med \
+darcy_1.3_resTRACES.med \
+darcy2_Castem_EFMH.med \
+darcy2_Castem_qua_EFMH.med \
+darcy2_Castem_qua_VF.med \
+Deff_fdt_5.8_castem_efmh_diff_conc_dom.med \
+Deff_fdt_5.8_castem_vf_diff_conc_dom.med \
+extendedtransport53_triangles.med \
+H_CastCast_EFMH_I129_COUPLEX1.med \
+H_CastCast_VF_I129_COUPLEX1.med \
+H_CastCast_VF_Se79_COUPLEX1.med \
+H_CastPorf_I129_COUPLEX1.med \
+H_CastPorf_Se79_COUPLEX1.med \
+H_PorfCast_EFMH_I129_COUPLEX1.med \
+H_PorfCast_EFMH_Se79_COUPLEX1.med \
+H_PorfPorf_I129_COUPLEX1.med \
+H_Traces_I129_COUPLEX1.med \
+H_Traces_Se79_COUPLEX1.med \
+maillage_5_5_5.med \
+maillage_chemvalIV_cas1_40elts.med \
 Darcy3_3D_H_10x10x10.sauve \
 dx200_dy1_avec_2couches.sauve \
 elle_2D_QT_10x10.sauve \
@@ -124,7 +165,8 @@ LDFLAGS= -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome
 LDFLAGSFORBIN= -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome
 
 # copy header files in common directory
-include_list=include/salome/SALOMEconfig.h
+include_list = include/salome/SALOMEconfig.h \
+               include/salome/MED_version.h
 
 ifeq ($(HAVE_SSTREAM),no)
   include_list+=include/salome/sstream
@@ -132,6 +174,12 @@ endif
 
 inc: idl $(include_list)
 
+bin: bin/salome/VERSION
+
+bin/salome/VERSION : bin/VERSION
+       -$(RM) $@
+       $(LN_S) ../../$< $@
+
 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
        -$(RM) $@
        $(LN_S) ../../$< $@
@@ -149,6 +197,10 @@ include/salome/sstream: salome_adm/unix/sstream
        -$(RM) $@
        $(LN_S) ../../$< $@
 
+include/salome/MED_version.h: MED_version.h
+       -$(RM) $@
+       $(LN_S) ../../$< $@
+
 depend: depend_idl
 
 depend_idl:
@@ -164,10 +216,10 @@ install-end:
 
 install-include: $(include_list)
        $(INSTALL) -d  $(includedir)
-#      @for f in X $(include_list); do                         \
-#         if test $$f != X; then                               \
-#           (cp -p $$f $(includedir) || exit 1);               \
-#         fi;                                                  \
+       @for f in X $(include_list); do                         \
+          if test $$f != X; then                               \
+            (cp -p $$f $(includedir) || exit 1);               \
+          fi;                                                  \
        done
 
 # install script in $(bindir) :
index 9b5e810db5609f348cfc90502d69bd7da12b084f..6c0326fadf64a1a600cbfc0496e2ddb7159dbcb9 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 # source path
 top_srcdir=@top_srcdir@
 top_builddir=..
index 5fedcdf1dc525ece1d3457509c51ce91bf9a766d..246e18f5a00e87bd5bc33e1194252030fab8420a 100644 (file)
@@ -10,9 +10,9 @@ AC_DEFUN([WITH_KERNEL],[
 
 AC_ARG_WITH(kernel,
            [  --with-kernel default=yes ],
-           with_kernel="$withval",with_kernel="${MED_WITH_KERNEL}")
+           withkernel="$withval",withkernel="${MED_WITH_KERNEL}")
 
-case $with_kernel in
+case $withkernel in
   no)
 #         AC_MSG_RESULT(************************************************)
 #         AC_MSG_RESULT(*******   WITHOUT KERNEL configuration   *******)
index 476347b7185d62c4c18f51c43ff3a2c015c9a0b3..e9997da99e39e83333c56681874f0c106e2ca526 100644 (file)
@@ -214,15 +214,18 @@ INSTALL_DATA=@INSTALL_DATA@
 # create a symbolic link (or a copie ?)
 LN_S=@LN_S@
 
-KERNEL_ROOT_DIR=@KERNEL_ROOT_DIR@
-KERNEL_SITE_DIR=@KERNEL_SITE_DIR@
+ifeq ($(MED_WITH_KERNEL),yes)
+
+    KERNEL_ROOT_DIR=@KERNEL_ROOT_DIR@
+    KERNEL_SITE_DIR=@KERNEL_SITE_DIR@
 
-KERNEL_LDFLAGS=@KERNEL_LDFLAGS@
-KERNEL_CXXFLAGS=@KERNEL_CXXFLAGS@
+    KERNEL_LDFLAGS=@KERNEL_LDFLAGS@
+    KERNEL_CXXFLAGS=@KERNEL_CXXFLAGS@
 
-GUI_ROOT_DIR=@GUI_ROOT_DIR@
-GUI_LDFLAGS=@GUI_LDFLAGS@
-GUI_CXXFLAGS=@GUI_CXXFLAGS@
+    GUI_ROOT_DIR=@GUI_ROOT_DIR@
+    GUI_LDFLAGS=@GUI_LDFLAGS@
+    GUI_CXXFLAGS=@GUI_CXXFLAGS@
+endif
 
 ## Installation points
 prefix=@prefix@
@@ -263,19 +266,27 @@ Makefile: $(top_builddir)/config.status $(srcdir)/Makefile.in
 
 LOCAL_MAKE = make_commence make_conclude
 
+KERNEL_MAKE = 
+NOKERNEL_MAKE = 
+
 ifeq ($(MED_WITH_KERNEL),yes)
      LOCAL_MAKE += make_omniorb
-endif
-
-KERNEL_MAKE = make_module depend SALOMEconfig.h sstream
 
-ifeq ($(MED_WITH_KERNEL),yes)
+     KERNEL_MAKE = make_module depend SALOMEconfig.h sstream
      KERNEL_MAKE += F77config.h envScript
+
+     NOKERNEL_MAKE = 
+else
+     KERNEL_MAKE = 
+
+     NOKERNEL_MAKE = make_module depend SALOMEconfig.h sstream
+
 endif
 
 $(top_builddir)/config.status: $(top_srcdir)/configure \
                               $(LOCAL_MAKE:%=$(top_srcdir)/adm_local/unix/%.in) \
-                              $(KERNEL_MAKE:%=$(KERNEL_ROOT_DIR)/salome_adm/unix/%.in)
+                              $(KERNEL_MAKE:%=$(KERNEL_ROOT_DIR)/salome_adm/unix/%.in) \
+                              $(NOKERNEL_MAKE:%=$(top_srcdir)/adm_local_without_kernel/unix/%.in)
        cd $(top_builddir) ; ./config.status --recheck
 
 # VPATH contain $(srcdir), so make configure is good in top_srcdir and we must add target configure otherwise :-)
@@ -290,12 +301,8 @@ $(top_srcdir)/configure.in: $(top_srcdir)/configure.in.base
        cd $(top_srcdir) && ./build_configure
 
 
-# ACLOCAL_SRC = \
-# ac_cxx_depend_flag.m4 check_hdf5.m4      enable_pthreads.m4  \
-# ac_cxx_namespaces.m4  libtool.m4         python.m4           \
-# check_pthreads.m4     check_swig.m4 
-
 ifeq ($(MED_WITH_KERNEL),yes)
+
 ACLOCAL_SRC = \
 ac_cxx_bool.m4                    check_corba.m4                        \
 ac_cxx_depend_flag.m4             check_hdf5.m4      enable_pthreads.m4        \
@@ -304,7 +311,6 @@ ac_cxx_namespaces.m4              check_omniorb.m4   pyembed.m4             \
 ac_cxx_partial_specialization.m4  python.m4                             \
 ac_cxx_typename.m4                check_pthreads.m4  check_cas.m4      \
 ac_cc_warnings.m4                 check_swig.m4 
-endif
 
 ACLOCAL_GUI = \
 check_vtk.m4                     check_opengl.m4    check_qt.m4        \
@@ -315,3 +321,4 @@ $(top_srcdir)/aclocal.m4: $(ACLOCAL_SRC:%=@KERNEL_ROOT_DIR@/salome_adm/unix/conf
        cd $(top_srcdir) ; aclocal -I adm_local/unix/config_files -I @KERNEL_ROOT_DIR@/salome_adm/unix/config_files \
                                                                       -I @GUI_ROOT_DIR@/adm_local/unix/config_files
 
+endif
index cb13120236f435896bd49d6717b0f6a51db6ba13..9ba19557b0290c0c6bae24c4e4613c28f7e12e31 100644 (file)
@@ -48,13 +48,16 @@ depend:
 RESOURCES_FILES_ALL := $(notdir $(wildcard $(srcdir)/resources/*))
 RESOURCES_FILES_ALL := $(filter-out CVS, $(RESOURCES_FILES_ALL))
 RESOURCES_FILES_ALL := $(filter-out %.po, $(RESOURCES_FILES_ALL))
+RESOURCES_FILES_ALL := $(filter-out %.in, $(RESOURCES_FILES_ALL))
 RESOURCES_FILES ?= $(RESOURCES_FILES_ALL)
 
-resources: $(RESOURCES_FILES:%=$(top_builddir)/share/salome/resources/%)
+resources: resources-cp
        @@SETX@; for d in $(SUBDIRS); do        \
           (cd $$d && $(MAKE) $@) || exit 1;    \
        done
 
+resources-cp: $(RESOURCES_FILES:%=$(top_builddir)/share/salome/resources/%)
+
 $(RESOURCES_FILES:%=$(top_builddir)/share/salome/resources/%): $(top_builddir)/share/salome/resources/% : %
        cp -fr $< $@;
 
@@ -104,10 +107,10 @@ distclean: clean
        -$(RM) $(RESOURCES_FILES:%=$(top_builddir)/share/salome/resources/%)
        -$(RM) Makefile
 
-install-resources:
+install-resources: resources-cp
 # one resources directory for all salome modules
        $(INSTALL) -d $(datadir)/resources
-       for f in X $(RESOURCES_FILES:%=$(srcdir)/resources/%); do \
+       @for f in X $(RESOURCES_FILES:%=$(top_builddir)/share/salome/resources/%); do \
           if test $$f != X; then                                                        \
             ($(INSTALL_DATA) $$f $(datadir)/resources/. || exit 1);                     \
           fi;                                                                           \
diff --git a/bin/VERSION b/bin/VERSION
deleted file mode 100755 (executable)
index f534ec4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-THIS IS SALOME - MED VERSION: 3.2.0b1
diff --git a/bin/VERSION.in b/bin/VERSION.in
new file mode 100755 (executable)
index 0000000..f46953d
--- /dev/null
@@ -0,0 +1 @@
+THIS IS SALOME - MED VERSION: @VERSION@
index 6a1c282ca101013564c4be9e3086b15879ca188c..872aa0f6360cee952513600f8c32e9a036be9474 100755 (executable)
@@ -18,7 +18,7 @@ CONF_DIR=`echo $0 | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
 ########################################################################
 # Check --with-kernel option
 
-MED_WITH_KERNEL=""
+MED_WITH_KERNEL="yes"
 
 for option
 do
@@ -36,9 +36,11 @@ done
 ########################################################################
 # Test if the GUI_ROOT_DIR is set correctly if GUI required
 
-if test ! -d "${GUI_ROOT_DIR}"; then
-    echo "failed : GUI_ROOT_DIR variable is not correct !"
-    exit
+if test "$MED_WITH_KERNEL" = "yes"; then
+    if test ! -d "${GUI_ROOT_DIR}"; then
+        echo "failed : GUI_ROOT_DIR variable is not correct !"
+        exit
+    fi
 fi
 
 ########################################################################
@@ -273,12 +275,12 @@ else
 fi
 
 if test "x${MED_WITH_KERNEL}" != "xno"; then
-   AUX_CONFIG_DIR=${KERNEL_ROOT_DIR}/salome_adm/unix/config_files
+   AUX_CONFIG_INC="-I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files -I ${GUI_ROOT_DIR}/adm_local/unix/config_files"
 else
-   AUX_CONFIG_DIR=adm_local_without_kernel/unix/config_files
+   AUX_CONFIG_INC="-I adm_local_without_kernel/unix/config_files"
 fi
 
-aclocal -I adm_local/unix/config_files -I ${AUX_CONFIG_DIR} -I ${GUI_ROOT_DIR}/adm_local/unix/config_files
+aclocal -I adm_local/unix/config_files ${AUX_CONFIG_INC}
 if autoconf
 then
        echo "done"
index 0f5c0952ed133253ffe918b71ef9845fc8c29a82..a36871aa82f6581d4fb800afcb13c4f65b2a8bf7 100644 (file)
@@ -2,8 +2,10 @@
 PACKAGE=salome
 AC_SUBST(PACKAGE)
 
-VERSION=0.0.1
+VERSION=3.2.0
+XVERSION=0x030200
 AC_SUBST(VERSION)
+AC_SUBST(XVERSION)
 
 dnl
 dnl Initialize source and build root directories
@@ -93,26 +95,6 @@ dnl Export the AR macro so that it will be placed in the libtool file
 dnl correctly.
 export AR
 
-echo
-echo ---------------------------------------------
-echo Testing GUI
-echo ---------------------------------------------
-echo
-
-CHECK_SALOME_GUI
-
-echo
-echo ---------------------------------------------
-echo Testing full GUI
-echo ---------------------------------------------
-echo
-
-CHECK_CORBA_IN_GUI
-if test "x${CORBA_IN_GUI}" != "xyes"; then
-  echo "failed : For configure MED module necessary full GUI !"
-  exit
-fi
-
 echo
 echo ---------------------------------------------
 echo testing make
@@ -207,138 +189,120 @@ echo
 
 ENABLE_PTHREADS
 
-dnl
-dnl ---------------------------------------------
-dnl testing WITHIHM
-dnl ---------------------------------------------
-dnl
-
-CHECK_WITHIHM
-
 echo
 echo ---------------------------------------------
-echo BOOST Library
+echo testing python
 echo ---------------------------------------------
 echo
 
-CHECK_BOOST
-
-dnl
-dnl ---------------------------------------------
-dnl testing sockets
-dnl ---------------------------------------------
-dnl
-
-CHECK_SOCKETS
-
-dnl
-dnl ---------------------------------------------
-dnl testing OpenPBS
-dnl ---------------------------------------------
-dnl
+CHECK_PYTHON
 
 echo
 echo ---------------------------------------------
-echo testing OpenPBS
+echo testing swig
 echo ---------------------------------------------
 echo
 
-openpbs_ok=no
-CHECK_OPENPBS
-dnl openpbs_ok is set to yes by CHECK_OPENPBS
-
-dnl
-dnl ---------------------------------------------
-dnl testing LSF
-dnl ---------------------------------------------
-dnl
+CHECK_SWIG
 
 echo
 echo ---------------------------------------------
-echo testing LSF
+echo testing HDF5
 echo ---------------------------------------------
 echo
 
-lsf_ok=no
-CHECK_LSF
-dnl lsf_ok is set to yes by CHECK_LSF
-
-dnl
-dnl ---------------------------------------------
-dnl testing Batch
-dnl ---------------------------------------------
-dnl
-
-WITH_BATCH=no
-test x$openpbs_ok = xyes || test x$lsf_ok = xyes && WITH_BATCH=yes
-AC_SUBST(WITH_BATCH)
-
-if test "X$WITHIHM" = "Xyes"; then
-       echo
-       echo ---------------------------------------------
-       echo testing LEX \& YACC
-       echo ---------------------------------------------
-       echo
-
-       lex_yacc_ok=no
-       AC_PROG_YACC
-       AC_PROG_LEX
-       lex_yacc_ok=yes
-fi
+CHECK_HDF5
 
 echo
 echo ---------------------------------------------
-echo testing python
+echo testing MED2
 echo ---------------------------------------------
 echo
 
-CHECK_PYTHON
+CHECK_MED2
 
 echo
 echo ---------------------------------------------
-echo testing swig
+echo "MED_WITH_KERNEL: ${MED_WITH_KERNEL}"
 echo ---------------------------------------------
-echo
-
-CHECK_SWIG
 
+openpbs_ok=no
 echo
 echo ---------------------------------------------
-echo testing HDF5
+echo testing OpenPBS
 echo ---------------------------------------------
 echo
 
-CHECK_HDF5
+CHECK_OPENPBS
+dnl openpbs_ok is set to yes by CHECK_OPENPBS
 
 echo
 echo ---------------------------------------------
-echo testing MED2
+echo testing LSF
 echo ---------------------------------------------
 echo
 
-CHECK_MED2
+lsf_ok=no
+CHECK_LSF
+dnl lsf_ok is set to yes by CHECK_LSF
 
-dnl
-dnl ---------------------------------------------
-dnl testing MPI
-dnl ---------------------------------------------
-dnl
+if test "${MED_WITH_KERNEL}" = "yes"; then
+{
+       echo
+       echo ---------------------------------------------
+       echo BOOST Library
+       echo ---------------------------------------------
+       echo
 
-CHECK_MPI
-CHECK_MPICH
+       CHECK_BOOST
 
-echo
-echo ----------------------------------------------
-echo testing CPPUNIT only required for unit testing
-echo ----------------------------------------------
-echo
+       dnl
+       dnl ---------------------------------------------
+       dnl testing WITHIHM
+       dnl ---------------------------------------------
+       dnl
 
-CHECK_CPPUNIT
+       CHECK_WITHIHM
 
-echo "MED_WITH_KERNEL ${MED_WITH_KERNEL}"
+       dnl
+       dnl ---------------------------------------------
+       dnl testing sockets
+       dnl ---------------------------------------------
+       dnl
 
-if test "${MED_WITH_KERNEL}" = "yes"; then
-{
+       CHECK_SOCKETS
+
+       dnl
+       dnl ---------------------------------------------
+       dnl testing Batch
+       dnl ---------------------------------------------
+       dnl
+
+       WITH_BATCH=no
+       test x$openpbs_ok = xyes || test x$lsf_ok = xyes && WITH_BATCH=yes
+       AC_SUBST(WITH_BATCH)
+
+       if test "X$WITHIHM" = "Xyes"; then
+               echo
+               echo ---------------------------------------------
+               echo testing LEX \& YACC
+               echo ---------------------------------------------
+               echo
+
+               lex_yacc_ok=no
+               AC_PROG_YACC
+               AC_PROG_LEX
+               lex_yacc_ok=yes
+       fi
+
+       dnl
+       dnl ---------------------------------------------
+       dnl testing MPI
+       dnl ---------------------------------------------
+       dnl
+
+       CHECK_MPI
+       CHECK_MPICH
 
        dnl echo
        dnl echo ---------------------------------------------
@@ -369,7 +333,6 @@ if test "${MED_WITH_KERNEL}" = "yes"; then
        corba=make_$ORB
        CORBA=adm_local/unix/$corba
 
-
        echo
        echo ---------------------------------------------
        echo testing openGL
@@ -436,23 +399,46 @@ if test "${MED_WITH_KERNEL}" = "yes"; then
 
        CHECK_HTML_GENERATORS
 
+       echo
+       echo ---------------------------------------------
+       echo Testing GUI
+       echo ---------------------------------------------
+       echo
+
+       CHECK_SALOME_GUI
+
+       echo
+       echo ---------------------------------------------
+       echo Testing full GUI
+       echo ---------------------------------------------
+       echo
+
+       CHECK_CORBA_IN_GUI
+       if test "x${CORBA_IN_GUI}" != "xyes"; then
+         echo "failed : For configure MED module necessary full GUI !"
+         exit
+       fi
+
+       echo
+       echo ----------------------------------------------
+       echo testing CPPUNIT only required for unit testing
+       echo ----------------------------------------------
+       echo
+
+       CHECK_CPPUNIT
+
 }
 else
 {
-       WITHIHM=""
+       WITHIHM="no"
+       WITHOPENPBS="no"
+       
        AC_SUBST(WITHIHM)
+       AC_SUBST(WITHOPENPBS)
        CPPFLAGS="$CPPFLAGS -DMED_WITHOUT_KERNEL"
 }
 fi # MED_WITH_KERNEL
 
-echo
-echo ---------------------------------------------
-echo Testing html generators
-echo ---------------------------------------------
-echo
-
-CHECK_HTML_GENERATORS
-
 echo
 echo ---------------------------------------------
 echo Summary
@@ -482,17 +468,22 @@ do
      eval echo \$$var
    fi
 done
-echo "---Optional:"
-variables="cppunit_ok openpbs_ok lsf_ok doxygen_ok graphviz_ok"
+
+if test "${MED_WITH_KERNEL}" = "yes"; then
+{
+        echo "---Optional:"
+        variables="cppunit_ok openpbs_ok lsf_ok doxygen_ok graphviz_ok"
  
-for var in $variables
-do
-   eval toto=\$$var
-   if test x$toto != "x"; then
-     printf "   %10s : " `echo \$var | sed -e "s,_ok,,"`
-     eval echo \$$var
-   fi
-done
+        for var in $variables
+        do
+           eval toto=\$$var
+           if test x$toto != "x"; then
+                printf "   %10s : " `echo \$var | sed -e "s,_ok,,"`
+                eval echo \$$var
+           fi
+        done
+}
+fi
 
 echo
 echo "Default ORB   : $DEFAULT_ORB"
index ca07064670825cdb6813d21d125aa6f1288c6d0c..d7535213dd4da66525e6154ad28ebc9a728f6507 100644 (file)
@@ -1,21 +1,5 @@
 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-// 
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either 
-// version 2.1 of the License.
-// 
-// This library is distributed in the hope that it will be useful 
-// but WITHOUT ANY WARRANTY; without even the implied warranty of 
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public  
-// License along with this library; if not, write to the Free Software 
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-//
-// See http://www.salome-platform.org/
 //
 using namespace std;
 #include "MEDMEM_Mesh.hxx"
index 478d6dc5681ba648342563ecaca8d85cf26300b0..908aac18062a3b726121f98876cf0d7af034761f 100644 (file)
@@ -1,3 +1,6 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# 
 ######################################################################
 #                                                                    #
 # This Python script should be executed when the shared library is   #
index 82771051a9829cec5285f5dd90083290086fef59..6a546ee3b7c5fe7f238a51180864d152cfb84fe6 100644 (file)
@@ -1,21 +1,5 @@
 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-// 
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either 
-// version 2.1 of the License.
-// 
-// This library is distributed in the hope that it will be useful 
-// but WITHOUT ANY WARRANTY; without even the implied warranty of 
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public  
-// License along with this library; if not, write to the Free Software 
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-//
-// See http://www.salome-platform.org/
 //
 using namespace std;
 #include "MEDMEM_Mesh.hxx"
index 34f6873ab0493892816394d271ef9d5673991bc8..5daf18bda710941581ad2108d429ba5d849fa34a 100644 (file)
@@ -1,3 +1,6 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# 
 ######################################################################
 #                                                                    #
 # This Python script should be executed when the shared library is   #
diff --git a/doc/MEDMEM/MEDMEM_Content.tex.in b/doc/MEDMEM/MEDMEM_Content.tex.in
new file mode 100644 (file)
index 0000000..109e8bc
--- /dev/null
@@ -0,0 +1,959 @@
+%  ___________________________________________________________________________
+% |                                                                           |
+% |                             DEBUT DU TEXTE                                |
+% |___________________________________________________________________________|
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\chapter{Introduction}
+\section{Rationale for Med Memory}
+The Med data exchange model (DEM in proper english) is the format used in the
+Salome platform for communicating data between different components. It
+manipulates objects that describe the meshes underlying scientific
+computations and the value fields lying on these meshes. This data exchange
+can be achieved either through files using the Med-file formalism or directly
+through memory with the Med Memory (\verb+MEDMEM+) library.
+
+The Med libraries are oganized in multiple layers:
+\begin{itemize}
+\item The MED file layer : C and Fortran API to implement mesh and field
+persistency.
+\item The MED Memory level C++ API to create and manipulate mesh and field
+objects in memory.
+\item Python API generated using SWIG which wraps the complete C++ API of the
+MED Memory
+\item CORBA API to simplify distributed computation inside SALOME (Server
+Side).
+\item MED Client classes to simplify and optimize interaction of distant
+objects within the local solver.
+\end{itemize}
+
+Thanks to Med Memory, any component can access a distant 
+mesh or field object. Two codes running on 
+different machines can thus exchange meshes and fields.
+These meshes and fields can easily be read/written in a Med file
+format, enabling access to the whole Salome suite of tools
+(CAD, meshing, Visualization, other components).
+
+\section{Outline}
+
+In this document, we describe the API of the Med Memory library (available in
+C++ and in Python). This document is intended for developers who are in charge
+of integrating existing applications in the Salome platform.
+
+As will be seen in section \ref{sec:objects}, the API consists
+of very few classes:
+\begin{itemize}
+\item a general MED container,
+\item meshes,
+\item supports and derived classes,
+\item fields
+\item drivers for reading and writing in MED, GIBI and VTK files.
+\end{itemize}
+
+All these are detailed in the following sections. The C++ 
+formalism will be used for the description in these sections.
+ Python syntax is very similar and is given in appendix \ref{sec:python}.
+
+\section{Naming conventions}
+The naming conventions are rather straightforward, but the user used to the
+Med-File semantics may find that there are a few noticeable differences (see
+the following section).
+\begin{description}
+\item[cell] entity of dimension equal to the mesh dimension ($1$, $2$ or $3$).
+\item[component] in a field, represents a value that is available for each
+element of the support (for instance : $T$, $v_x$, $\sigma_{xy}$)).
+\item[connectivity (descending)] connectivity table expressing connectivity of
+dimension $d$ elements in terms of list of dimension $d-1$ elements.
+\item[connectivity (nodal)] connectivity table expressing connectivity of
+dimension $d$ elements in terms of list of nodes.
+\item[coordinates] in a mesh, coordinates can be described by strings giving
+the names of the coordinates, the units of the coordinates, and the type of
+coordinates ('CARTESIAN', 'SPHERICAL' or 'CYLINDRICAL').
+\item[description] string of characters used to describ an object without
+giving any access to a query method.
+\item[dimension] Med Memory discriminates the mesh dimension from the space
+dimension (a surface shape in $3D$ will have $2$ as a mesh dimension).
+\item[driver] object attached to a mesh or a field to read (resp. write) data
+from (resp. to) a Med-file.
+\item[edge] entity of dimension $1$ in a $2D$ mesh.
+\item[element]  elementary component of a mesh ($0D$, $1D$, $2D$ or $3D$).
+\item[entity] category giving information on the dimension of elementary
+components of meshes : node, edge, face (only in $3D$) or cell.
+\item[face] for $3D$ meshes, faces are the $2D$ entities.
+\item[family] support which is composed of a set of groups, which do not
+intersect each other, and which gives access to those groups.
+\item[field] array of integer, integer array, real or real array lying on a
+support (the dimension of the array of values for each element of the support
+is called the number of components). A field is uniquely defined by its name,
+its support, its iteration number and its order number. $-1$ is the default
+value of those two numbers.
+\item[group] support with additional access to parent families.
+\item[iteration number] information attached to a field that expresses the
+number of the time step in the computation ($-1$ is its default value).
+\item[name] information attached to a mesh, support or field to name it and access to it.
+\item[node] entity of dimension $0$.
+\item[order number] information attached to a field that expresses the number
+of an internal iteration inside a time step in the computation ($-1$ is its
+default value).
+\item[support] list of elements of the same entity.
+\item[type] category of an entity (triangle, segment, quadrangle, tetrahedron,
+hexahedron, etc...).
+\end{description}
+
+\section{Limitations and advantages regarding Med-File}
+The Med Memory may only read meshes defined by their nodale connectivities.
+Following this assumption, in Med File framework all elements defined
+in the mesh should be stored as a {\bf MED\_MAILLE}.
+
+The Med Memory is able to read meshes defined by their nodale connectivities,
+and where somme geometric faces are stored as a {\bf MED\_FACE} or a
+{\bf MED\_ARETE} Med files. Which is not really Med File compliant.
+
+{\bf MED\_MAILLE}, {\bf MED\_FACE} and {\bf MED\_ARETE} should be taken in the
+Med File sense. In future version, meshes defined by their descending
+connectivities could be treated.
+
+The field notion in Med File and Med Memory is quite different. In Med memory
+a field is of course its name, but as well its iteration number, its order
+number and finally its corresponding sot of values. But in Med File a field is
+only flagged by its name.
+
+\chapter{Med Memory API}\label{sec:objects}
+
+\section{Conventions}
+
+\begin{itemize}
+\item In this document, one refers to the main user documentation
+\cite{RefManualMedMemory} where the variable \verb+$MED_ROOT_DIR+ (resp.
+\verb+$MED_SRC_DIR+) is the Med Memory directory installation (resp. sources
+directory).
+
+\item All numberings start at one (take care of array index !).
+
+\item When one gets a C (resp. C++) type array (resp. container) using a \texttt{get...} method, one should
+not replace some value of it. Access is in read only. Other use may
+product an impredicable result. To modify a such array (resp. container) use a \texttt{set...}
+method.
+
+\item There are many couple of methods that have similar syntaxes (one singular and one 
+plural). The plural method returns an array and the singular one returns one 
+particular value in this array (see \method{double getCoordinate(int i)} and 
+\method{double* getCoordinates()} for example).
+
+\item Difference between local and global number in mesh element connectivity list~: when one talks about an 
+element number, one could see $i^{th}$ quadrangle ($i^{th}$ in quadrangles 
+array~: local numbering) or $j^{th}$ element ($j^{th}$ in all elements array~: 
+global numbering). These two numbering are equivalent only if one has only one 
+geometric type ;
+
+\end{itemize}
+
+\section{Namespaces}
+Med Memory uses two namespaces : \verb+MEDMEM+ which is the general 
+namespace where the main classes are defined and \verb+MED_EN+
+which defines enums that can be used by an English-speaking 
+programer.
+
+\section{Classes}
+At a basic usage level, the API consists in few classes which are located in
+the \verb+MEDMEM+ C++ namespace (consult figure \ref{fig:uml_light} which gives
+an UML diagram view of the main Med Memory classes~:
+\begin{description}
+\item[MED] the global container;
+\item[MESH] the class containing 2D or 3D mesh objects;
+\item[SUPPORT] the class containing mainly a list of mesh elements;
+\item[FIELD] the class template containing list of values lying on a
+particular support.
+\end{description}
+\begin{center}
+\begin{figure}
+\includegraphics[width=15cm]{MEDMEM_UML_light.png}
+\caption{UML diagram of basic Med Memory API classes.}\label{fig:uml_light}
+\end{figure}
+\end{center}
+The API of those classes is quite sufficient for most of the component
+integrations in the Salome platform. The use of the Med Memory libraries may
+make easier the code coupling in the Salome framework. With these classes, it
+is possible to~:
+\begin{itemize}
+\item read/write meshes and fields from MED-files;
+\item create fields containing scalar or vectorial values on list of elements
+of the mesh;
+\item communicate these fields between different components;
+\item read/write such fields.
+\end{itemize}
+Note that on the figure \ref{fig:uml_light} as well as \ref{fig:uml} that the
+MED container controls the life cycle of all the objects it contains~: its
+destructor will destroy all the objects it aggregates. On the other hand, the
+life cycle of mesh, support and field objects are independent. Destroying a
+support (resp. a mesh) will have no effect on the fields (resp. on the support)
+which refer to it. But the user has to maintain the link~: a mesh agregates a
+support which agregates a field. If the user has to delete Med Memory objects,
+the field has to be deleted first, then the support and finally the mesh.
+
+A more advanced usage of the Med Memory is possible through other classes.
+Figure \ref{fig:uml} gives a complete view of the Med Memory API. It includes :
+\begin{description}
+\item[GROUP] a class inherited from the SUPPORT class used to create supports
+linked to mesh groups. It stores restricted list of elements used to set
+boundary conditions, initial values.
+\item[FAMILY] which is used to manipulate a certain kind of support and does
+not intersect each other;
+\item[MESHING] which builds meshes from scratch, it can be used to transform
+meshes from a specific format to the MED format or to integrate a mesher
+within Salome platform (note that class does not add element or node to a
+mesh);
+\item[Driver classes] which enable the user to get a fine control of the I/O
+operations.
+\end{description}
+\begin{center}
+\begin{figure}
+\includegraphics[width=15cm]{MEDMEM_UML.png}
+\caption{UML diagram of Med Memory API classes.}\label{fig:uml}
+\end{figure}
+\end{center}
+\section{Enums}
+A few enums are defined in the \verb+MED_EN+ namespace :
+\begin{itemize}
+\item The \verb+medGeometryElement+ enum which defines geometry types. The
+available types are linear and quadratic elements (consult
+\cite{RefManualMedMemory}). The entries of the enum are quite
+self-explanatory~:
+\begin{itemize}
+\item \verb+MED_NONE+
+\item \verb+MED_POINT1+
+\item \verb+MED_SEG2+
+\item \verb+MED_SEG3+
+\item \verb+MED_TRIA3+
+\item \verb+MED_QUAD4+
+\item \verb+MED_TRIA6+
+\item \verb+MED_QUAD8+
+\item \verb+MED_TETRA4+
+\item \verb+MED_PYRA5+
+\item \verb+MED_PENTA6+
+\item \verb+MED_HEXA8+
+\item \verb+MED_TETRA10+
+\item \verb+MED_PYRA13+
+\item \verb+MED_PENTA15+
+\item \verb+MED_HEXA20+
+\item \verb+MED_POLYGON+
+\item \verb+MED_POLYHEDRA+
+\item \verb+MED_ALL_ELEMENTS+
+\end{itemize}
+\item
+an enum which contains the different mesh entities, \verb+medEntityMesh+, the
+entries of which being :
+\begin{itemize}
+\item \verb+MED_CELL+
+\item \verb+MED_FACE+
+\item \verb+MED_EDGE+
+\item \verb+MED_NODE+
+\item \verb+MED_ALL_ENTITIES+
+\end{itemize}
+\item an enum which describes the way node coordinates or field values are
+stored,
+\begin{itemize}
+\item \verb+MED_FULL_INTERLACE+ for arrays such that $x_1,y_1,z_1,x_2,y_2,z_2,\ldots,x_n,y_n,z_n$;
+\item \verb+MED_NO_INTERLACE+ for arrays such that $x_1,x_2,\ldots,x_n,y_1,y_2,\ldots,y_n,z_1,z_2,\ldots,z_n$;
+\item \verb+MED_UNDEFINED_INTERLACE+, the undefined interlacing mode.
+\end{itemize}
+\item
+an enum which describes the type of connectivity
+\begin{itemize}
+\item \verb+MED_NODAL+ for nodal connectivity;
+\item \verb+MED_DESCENDING+ for descending connectivity.
+\end{itemize}
+\end{itemize}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\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 destructor of this object will destruct itself all FIELD, SUPPORT and MESH
+objects; via its get method you will have a pointer 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.
+
+To write a complete MED object in an available writing format, on may use
+{\method{addDriver}} and then {\method{write}}.
+
+For an example using these methods, one may see the Python scripts in the
+directory \verb+$MED_ROOT_DIR/bin/salome/+,\verb+testMedObj.py+, or C++
+example program in the directory \verb+$MED_SRC_DIR/src/MEDMEM+,
+\verb+duplicateMED.cxx+.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\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}
+
+Here is a small C++ example program which the Python version may be found in
+\ref{MESHgeneral.py}.
+
+\fileCxx{MESHgeneral.cxx}
+
+\section{Information about nodes}
+
+\begin{enumerate}
+\item I want to get the number of nodes~: Really simple, use \method{getNumberOfNodes}. 
+\item I want to get the coordinates components names~: use \method{getCoordinatesNames}
+which returns a string array (one string for each space dimension) 
+\item I want to get the coordinates components units~: use \method{getCoordinatesUnits}
+which returns a string array (one string for each space dimension) 
+\item I want to get the coordinates system~: use \method{getCoordinatesSystem}
+which returns 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 returns the value of \( i^{th} \) node and \( j^{th} \) axis.
+\end{enumerate}
+
+Here is a small C++ example program which the Python version may be found in
+\ref{MESHcoordinates.py}.
+
+\fileCxx{MESHcoordinates.cxx}
+
+\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).
+
+\textbf{C++ Example~:}
+
+\verb+const medGeometryElement * Types = myMesh.getTypes(MED_CELL);+
+
+(array is of 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}
+
+%%%%%%%%%%%  WITH POLY METHODS %%%%%%%%%%%%
+
+\item The listed above methods do not take into account information about
+  \verb+polygonal+ and \verb+polyhedral+ cells contained in a MESH object. To get
+  full information about cell types, use the same methods with
+  \verb+WithPoly+ postfix:
+\begin{itemize}
+\item use \method{getNumberOfTypesWithPoly} to get the number of
+  geometric types for a mesh entity;
+\item use \method{getTypesWithPoly} to get all geometric types for a mesh entity;
+\item use \method{getNumberOfElementsWithPoly} to get the number of cells;
+\item use \method{getElementTypeWithPoly} to get the geometric type of
+  one element.
+\end{itemize}
+There are separate methods to get number of polygons and polyhedrons:
+\method{getNumberOfPolygons} and \method{getNumberOfPolyhedron}
+
+To get connectivity of polygonal elements, use \method{getPolygonsConnectivity} along with
+\method{getPolygonsConnectivityIndex} (see example \myref{MESHconnectivities.cxx}).
+
+To get nodal connectivity of polyhedral elements, it is necessary use together
+3 methods: \method{getPolyhedronConnectivity}, \method{getPolyhedronFacesIndex}
+and \method{getPolyhedronIndex} (see example \myref{MESHconnectivities.cxx}).
+
+\end{enumerate}
+
+Here is a small C++ example program which the Python version may be found in
+\ref{MESHconnectivities.py}.
+
+\fileCxx{MESHconnectivities.cxx}
+
+\section{Information about FAMILY and GROUP}
+
+If one wants to get from a MESH object
+
+
+
+
+To write a complete MESH object in an available writing format, on may use
+{\method{addDriver}} and then {\method{write}}.
+
+For an example using these methods, one may see the Python scripts in the
+directory \verb+$MED_ROOT_DIR/bin/salome/+,\verb+med_test1.py+, or C++ example
+program in the directory \verb+$MED_SRC_DIR/src/MEDMEM+, \verb+med_test.cxx+.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\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{RefManualMedFile}.
+
+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}). 
+
+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}
+
+Here is a small C++ example program which the Python version may be found in
+\ref{FIELDgeneral.py}.
+
+\fileCxx{FIELDgeneral.cxx}
+
+\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<double> 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.
+
+Here is a small C++ example program which the Python version may be found in
+\ref{FIELDcreate.py}.
+
+\fileCxx{FIELDcreate.cxx}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\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 (use \method{setPolygonsConnectivity} and
+\method{setPolyhedraConnectivity} for poly elements);
+\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. 
+
+Here is a small C++ example program which the Python version may be found in
+\ref{MESHINGexample.py}.
+
+\fileCxx{MESHINGexample.cxx}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\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 <fileName> of type <driverType>.
+
+ex 1.1 : For a FIELD object, invoking FIELD<double> myField(MED\_DRIVER,fileName,fieldName)
+create a FIELD object and a driver which loads the mesh <fieldName>
+from the MED file <fileName> (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 <meshName>
+from the MED file <fileName>.
+
+ex 3 : For a MED object, invoking MED myMed(MED\_DRIVER,fileName)
+create a MED object to explore the MED file <fileName>.
+
+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().
+
+Here is a small C++ example program which the Python version may be found in
+\ref{MEDMEM_InvokingDriverAtObjectCreationTime.py}.
+
+\fileCxx{MEDMEM_InvokingDriverAtObjectCreationTime.cxx}
+
+\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<double>~{*}~myField1~=~new~FIELD<double>;
+then we add a driver with int myDriver1 = myField1->addDriver(driverType1,
+fileName1, fieldName1); for reading <fieldName1> from file <fileName1>
+with myField1->read(myDriver1);
+
+ex2 : We add a new driver of type <driverType2> int myDriver2 = myField1->addDriver(driverType2,
+fileName2,fieldName2); in order to write myField1 in file <fileName2>
+with <fieldName2> 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 ).
+
+Here is a small C++ example program which the Python version may be found in
+\ref{MEDMEM_InvokingDriverFromStandardObjectMethod.py}.
+
+\fileCxx{MEDMEM_InvokingDriverFromStandardObjectMethod.cxx}
+
+\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<double>~{*}~myField1~=~new
+FIELD<double>(); then we create a read-only driver MED\_FIELD\_RDONLY\_DRIVER<double>~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. 
+
+Here is a small C++ example program which the Python version may be found in
+\ref{MEDMEM_InvokingDriverByAttachingItToAnObject.py}.
+
+\fileCxx{MEDMEM_InvokingDriverByAttachingItToAnObject.cxx}
+
+\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 <filename> of type given by the <drivertype>
+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<string> 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<DT\_IT\_>~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}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\chapter{Appendix: Python example scripts.}\label{sec:python}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\section{Full Python example for \ref{MESHgeneral.cxx}~:}
+\label{MESHgeneral.py}
+\verbatiminput{@srcdir@/MESHgeneral.py}
+
+\section{Full Python example for \ref{MESHcoordinates.cxx}~:}
+\label{MESHcoordinates.py}
+\verbatiminput{@srcdir@/MESHcoordinates.py}
+
+\section{Full Python example for \ref{MESHconnectivities.cxx}~:}
+\label{MESHconnectivities.py}
+\verbatiminput{@srcdir@/MESHconnectivities.py}
+
+\section{Full Python example for \ref{FIELDgeneral.cxx}~:}
+\label{FIELDgeneral.py}
+\verbatiminput{@srcdir@/FIELDgeneral.py}
+
+\section{Full Python example for \ref{FIELDcreate.cxx}~:}
+\label{FIELDcreate.py}
+\verbatiminput{@srcdir@/FIELDcreate.py}
+
+\section{Full Python example for \ref{MESHINGexample.cxx}~:}
+\label{MESHINGexample.py}
+\verbatiminput{@srcdir@/MESHINGexample.py}
+
+\section{Full Python example for \ref{MEDMEM_InvokingDriverAtObjectCreationTime.cxx}~:}
+\label{MEDMEM_InvokingDriverAtObjectCreationTime.py}
+\verbatiminput{@srcdir@/MEDMEM_InvokingDriverAtObjectCreationTime.py}
+
+\section{Full Python example for \ref{MEDMEM_InvokingDriverFromStandardObjectMethod.cxx}~:}
+\label{MEDMEM_InvokingDriverFromStandardObjectMethod.py}
+\verbatiminput{@srcdir@/MEDMEM_InvokingDriverFromStandardObjectMethod.py}
+
+\section{Full Python example for \ref{MEDMEM_InvokingDriverByAttachingItToAnObject.cxx}~:}
+\label{MEDMEM_InvokingDriverByAttachingItToAnObject.py}
+\verbatiminput{@srcdir@/MEDMEM_InvokingDriverByAttachingItToAnObject.py}
index 61ec44500a802a1808a76487ae865ac898299b34..91c8ee465059aa52dd306da0812fd93767992e75 100644 (file)
@@ -1,22 +1,6 @@
 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 // 
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either 
-// version 2.1 of the License.
-// 
-// This library is distributed in the hope that it will be useful 
-// but WITHOUT ANY WARRANTY; without even the implied warranty of 
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public  
-// License along with this library; if not, write to the Free Software 
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-//
-// See http://www.salome-platform.org/
-//
 #include "MEDMEM_Exception.hxx"
 #include "MEDMEM_define.hxx"
 
index c13612fb84021624c2bdd8be41c87e61fb92df67..06573aea1726e7950dc5d8a8905b76bb494ea4b3 100644 (file)
@@ -1,3 +1,6 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+#
 ######################################################################
 #                                                                    #
 # This Python script should be executed when the shared library is   #
index d02b07c7467a1dc5096991e34cdcded7f6ce0410..657a7e8ae632e8b07018d5af0b47dbec857e18a5 100644 (file)
@@ -1,22 +1,6 @@
 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 // 
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either 
-// version 2.1 of the License.
-// 
-// This library is distributed in the hope that it will be useful 
-// but WITHOUT ANY WARRANTY; without even the implied warranty of 
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public  
-// License along with this library; if not, write to the Free Software 
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-//
-// See http://www.salome-platform.org/
-//
 #include "MEDMEM_Exception.hxx"
 #include "MEDMEM_define.hxx"
 
index beb217667e7d5b5363348cf4418c9d47f96a4624..78aa1eeeeb1e3d550a8f3d9df4540ab41701c922 100644 (file)
@@ -1,3 +1,6 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# 
 ######################################################################
 #                                                                    #
 # This Python script should be executed when the shared library is   #
index 0465c695b48e7553ad101acfae92f3b05c88cdb8..ba8afff0096bf561a811a1691f46d334acc2ae5d 100644 (file)
@@ -1,22 +1,6 @@
 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 // 
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either 
-// version 2.1 of the License.
-// 
-// This library is distributed in the hope that it will be useful 
-// but WITHOUT ANY WARRANTY; without even the implied warranty of 
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public  
-// License along with this library; if not, write to the Free Software 
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-//
-// See http://www.salome-platform.org/
-//
 #include "MEDMEM_Exception.hxx"
 #include "MEDMEM_define.hxx"
 
index 3ddef5fad1fc80fc64936348149beedc4495b7ea..1b1804df11ec99aa2f830f87c8c6c0d34138dfc8 100644 (file)
@@ -1,3 +1,6 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# 
 ######################################################################
 #                                                                    #
 # This Python script should be executed when the shared library is   #
index fad6b8b399efb8b7d56c685929f793d29c18e8bf..b36fef10b97abc614c5823a365edb05113af6efd 100644 (file)
@@ -1,22 +1,6 @@
 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 // 
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either 
-// version 2.1 of the License.
-// 
-// This library is distributed in the hope that it will be useful 
-// but WITHOUT ANY WARRANTY; without even the implied warranty of 
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public  
-// License along with this library; if not, write to the Free Software 
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-//
-// See http://www.salome-platform.org/
-//
 #include "MEDMEM_Exception.hxx"
 #include "MEDMEM_define.hxx"
 
diff --git a/doc/MEDMEM/MEDMEM_UML.dia b/doc/MEDMEM/MEDMEM_UML.dia
deleted file mode 100644 (file)
index 13d5984..0000000
Binary files a/doc/MEDMEM/MEDMEM_UML.dia and /dev/null differ
diff --git a/doc/MEDMEM/MEDMEM_UML.png.in b/doc/MEDMEM/MEDMEM_UML.png.in
new file mode 100644 (file)
index 0000000..28418d1
Binary files /dev/null and b/doc/MEDMEM/MEDMEM_UML.png.in differ
diff --git a/doc/MEDMEM/MEDMEM_UML_light.png.in b/doc/MEDMEM/MEDMEM_UML_light.png.in
new file mode 100644 (file)
index 0000000..8eff5fa
Binary files /dev/null and b/doc/MEDMEM/MEDMEM_UML_light.png.in differ
index ab5b149b3253348e089e2dedbace0e88e8915aa3..a0ea7cd2a910027831b374df6d2ab6e2a3aae44f 100644 (file)
@@ -71,8 +71,8 @@
 % |                              LE DOCUMENT                                  |
 % |___________________________________________________________________________|
 %
-\title{User's Guide Of Med Memory}
-\author{Patrick Goldbronn \and Eric Fayolle \and Nadir Bouhamou \and Jerome Roy \and Nicolas Crouzet}
+\title{User's Guide Of Med Memory V 3.2}
+\author{Patrick Goldbronn \and Eric Fayolle \and Nadir Bouhamou \and Jerome Roy \and Nicolas Crouzet \and Vincent Bergeaud}
 
 %  ___________________________________________________________________________
 % |                                                                           |
 %\newpage
 \cleardoublepage
 \tableofcontents
+
 %  ___________________________________________________________________________
 % |                                                                           |
-% |                             DEBUT DU TEXTE                                |
+% |                            DOCUMENT PRINCIPAL                             |
 % |___________________________________________________________________________|
+%
 
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\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}
-
-%%%%%%%%%%%  WITH POLY METHODS %%%%%%%%%%%%
-
-\item The listed above methods do not take into account information about
-  \verb+polygonal+ and \verb+polyhedral+ cells contained in a MESH object. To get
-  full information about cell types, use the same methods with
-  \verb+WithPoly+ postfix:
-\begin{itemize}
-\item use \method{getNumberOfTypesWithPoly} to get the number of
-  geometric types for a mesh entity;
-\item use \method{getTypesWithPoly} to get all geometric types for a mesh entity;
-\item use \method{getNumberOfElementsWithPoly} to get the number of cells;
-\item use \method{getElementTypeWithPoly} to get the geometric type of
-  one element.
-\end{itemize}
-There are separate methods to get number of polygons and polyhedrons:
-\method{getNumberOfPolygons} and \method{getNumberOfPolyhedron}
-
-To get connectivity of polygonal elements, use \method{getPolygonsConnectivity} along with
-\method{getPolygonsConnectivityIndex} (see example \myref{MESHconnectivities.cxx}).
-
-To get nodal connectivity of polyhedral elements, it is necessary use together
-3 methods: \method{getPolyhedronConnectivity}, \method{getPolyhedronFacesIndex}
-and \method{getPolyhedronIndex} (see example \myref{MESHconnectivities.cxx}).
-
-\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 (use \method{setPolygonsConnectivity} and
-\method{setPolyhedraConnectivity} for poly elements);
-\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<double> 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 <fileName> of type <driverType>.
-
-ex 1.1 : For a FIELD object, invoking FIELD<double> myField(MED\_DRIVER,fileName,fieldName)
-create a FIELD object and a driver which loads the mesh <fieldName>
-from the MED file <fileName> (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 <meshName>
-from the MED file <fileName>.
-
-ex 3 : For a MED object, invoking MED myMed(MED\_DRIVER,fileName)
-create a MED object to explore the MED file <fileName>.
-
-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<double>~{*}~myField1~=~new~FIELD<double>;
-then we add a driver with int myDriver1 = myField1->addDriver(driverType1,
-fileName1, fieldName1); for reading <fieldName1> from file <fileName1>
-with myField1->read(myDriver1);
-
-ex2 : We add a new driver of type <driverType2> int myDriver2 = myField1->addDriver(driverType2,
-fileName2,fieldName2); in order to write myField1 in file <fileName2>
-with <fieldName2> 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<double>~{*}~myField1~=~new
-FIELD<double>(); then we create a read-only driver MED\_FIELD\_RDONLY\_DRIVER<double>~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 <filename> of type given by the <drivertype>
-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<string> 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<DT\_IT\_>~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}
-
+\input{MEDMEM_Content.tex}
+%
 
 %  ___________________________________________________________________________
 % |                                                                           |
 % |                               REFERENCES                                  |
 % |___________________________________________________________________________|
-%
+
 \newpage
 %\thebibliography{biblio}
 \begin{thebibliography}{1}
@@ -788,9 +118,22 @@ myGibiMeshDriver.close() ;
 
 \addcontentsline{toc}{chapter}{Bibliography}
 
-\bibitem{RefManual} Reference Manual~: \verb+http://www-drn2.cea.fr/MED/MEDMEM/DOC/html/index.html+
+\bibitem{RefManualMedFile}
+\newblock {Reference Manual for Med File~:} \\
+{\sc V. Lefebvre \and E. Fayolle} \\
+\newblock {Projet PAL: Définition du modèle d'échange de données MED V2.2}
+\newblock {\it Note technique EDF/SINETICS}
+\newblock {HI-26-03-012/A} \\
+\newblock {\verb+http://www-drn2.cea.fr/MED/MEDMEM/DOC/html/index.html+}
+
+\bibitem{RefManualMedMemory}
+\newblock {Med Memory Users Reference Manual~:} \\
+\newblock {\verb+file:://$MED_ROOT_DIR/share/salome/doc/html_ref_user/index.html+} \\
+\newblock {\verb+$MED_ROOT_DIR/share/salome/doc/MedMemory_user_2on1.pdf+}
+
 
-\bibitem{vtk} VTK home page~: \verb+http://public.kitware.com/VTK+
+\bibitem{vtk}
+\newblock {VTK home page~: \verb+http://public.kitware.com/VTK+}
 
 \end{thebibliography}
 
index 36ef5a7c95d9d1914340d3ba2ea6b365014ca0f1..e40c27b3580752419a2e2c3daf62bb21f98f1e90 100644 (file)
@@ -1,22 +1,6 @@
 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 // 
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either 
-// version 2.1 of the License.
-// 
-// This library is distributed in the hope that it will be useful 
-// but WITHOUT ANY WARRANTY; without even the implied warranty of 
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public  
-// License along with this library; if not, write to the Free Software 
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-//
-// See http://www.salome-platform.org/
-//
 #include "MEDMEM_Meshing.hxx"
 #include "MEDMEM_Group.hxx"
 
diff --git a/doc/MEDMEM/MESHINGexample.py b/doc/MEDMEM/MESHINGexample.py
new file mode 100644 (file)
index 0000000..9d88636
--- /dev/null
@@ -0,0 +1,696 @@
+###################################################################################
+#
+# This Python script uses the wrapped C++ class MESHING to buid a mesh from only
+# primitive data like coordinates (Pythoin double array) and connectivity (Python
+# integer arrays). It is the Python equivalent of the C++ program
+# test_MEDMEM_Meshing.cxx in the ../MEDMEM directory of the SALOME distribution
+#
+###################################################################################
+
+from libMEDMEM_Swig import *
+
+# files name to save the generated MESH(ING) in different format
+# Med V2.1 Med V2.2 and vtk
+
+med21FileName = "toto21.med"
+
+med22FileName = "toto22.med"
+
+vtkFileName = "toto.vtk"
+
+myMeshing = MESHING()
+
+myMeshing.setName("meshing")
+
+# definition of the coordinates
+
+spaceDimension = 3
+
+numberOfNodes = 19
+
+coordinates = []
+
+coordinate = [0.0, 0.0, 0.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [0.0, 0.0, 1.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [2.0, 0.0, 1.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [0.0, 2.0, 1.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [-2.0, 0.0, 1.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [0.0, -2.0, 1.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [1.0, 1.0, 2.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [-1.0, 1.0, 2.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [-1.0, -1.0, 2.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [1.0, -1.0, 2.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [1.0, 1.0, 3.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [-1.0, 1.0, 3.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [-1.0, -1.0, 3.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [1.0, -1.0, 3.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [1.0, 1.0, 4.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [-1.0, 1.0, 4.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [-1.0, -1.0, 4.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [1.0, -1.0, 4.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+coordinate = [0.0, 0.0, 5.0]
+coordinates.append(coordinate[0])
+coordinates.append(coordinate[1])
+coordinates.append(coordinate[2])
+
+myMeshing.setCoordinates(spaceDimension,numberOfNodes,coordinates,"CARTESIAN",MED_FULL_INTERLACE)
+
+for i in range(spaceDimension):
+    unit = "cm      "
+    if (i == 0):
+        name = "X       "
+    elif (i == 1):
+        name = "Y       "
+    elif (i == 2):
+        name = "Z       "
+
+    myMeshing.setCoordinateName(name,i)
+    myMeshing.setCoordinateUnit(unit,i)
+
+# definition of connectivities
+# cell part
+
+numberOfTypes = 3
+entity = MED_CELL
+
+types = []
+numberOfElements = []
+
+types.append(MED_TETRA4)
+numberOfElements.append(12)
+
+types.append(MED_PYRA5)
+numberOfElements.append(2)
+
+types.append(MED_HEXA8)
+numberOfElements.append(2)
+
+myMeshing.setNumberOfTypes(numberOfTypes,entity)
+myMeshing.setTypes(types,entity)
+myMeshing.setNumberOfElements(numberOfElements,entity)
+
+connectivityTetra = []
+
+connectivity =  [1,2,3,6]
+connectivityTetra.append(connectivity[0])
+connectivityTetra.append(connectivity[1])
+connectivityTetra.append(connectivity[2])
+connectivityTetra.append(connectivity[3])
+connectivity =  [1,2,4,3]
+connectivityTetra.append(connectivity[0])
+connectivityTetra.append(connectivity[1])
+connectivityTetra.append(connectivity[2])
+connectivityTetra.append(connectivity[3])
+connectivity =  [1,2,5,4]
+connectivityTetra.append(connectivity[0])
+connectivityTetra.append(connectivity[1])
+connectivityTetra.append(connectivity[2])
+connectivityTetra.append(connectivity[3])
+connectivity =  [1,2,6,5]
+connectivityTetra.append(connectivity[0])
+connectivityTetra.append(connectivity[1])
+connectivityTetra.append(connectivity[2])
+connectivityTetra.append(connectivity[3])
+connectivity =  [2,7,4,3]
+connectivityTetra.append(connectivity[0])
+connectivityTetra.append(connectivity[1])
+connectivityTetra.append(connectivity[2])
+connectivityTetra.append(connectivity[3])
+connectivity =  [2,8,5,4]
+connectivityTetra.append(connectivity[0])
+connectivityTetra.append(connectivity[1])
+connectivityTetra.append(connectivity[2])
+connectivityTetra.append(connectivity[3])
+connectivity =  [2,9,6,5]
+connectivityTetra.append(connectivity[0])
+connectivityTetra.append(connectivity[1])
+connectivityTetra.append(connectivity[2])
+connectivityTetra.append(connectivity[3])
+connectivity =  [2,10,3,6]
+connectivityTetra.append(connectivity[0])
+connectivityTetra.append(connectivity[1])
+connectivityTetra.append(connectivity[2])
+connectivityTetra.append(connectivity[3])
+connectivity =  [2,7,3,10]
+connectivityTetra.append(connectivity[0])
+connectivityTetra.append(connectivity[1])
+connectivityTetra.append(connectivity[2])
+connectivityTetra.append(connectivity[3])
+connectivity =  [2,8,4,7]
+connectivityTetra.append(connectivity[0])
+connectivityTetra.append(connectivity[1])
+connectivityTetra.append(connectivity[2])
+connectivityTetra.append(connectivity[3])
+connectivity =  [2,9,5,8]
+connectivityTetra.append(connectivity[0])
+connectivityTetra.append(connectivity[1])
+connectivityTetra.append(connectivity[2])
+connectivityTetra.append(connectivity[3])
+connectivity =  [2,10,6,9]
+connectivityTetra.append(connectivity[0])
+connectivityTetra.append(connectivity[1])
+connectivityTetra.append(connectivity[2])
+connectivityTetra.append(connectivity[3])
+
+myMeshing.setConnectivity(connectivityTetra,entity,types[0])
+
+connectivityPyra = []
+connectivity =  [7,8,9,10,2]
+connectivityPyra.append(connectivity[0])
+connectivityPyra.append(connectivity[1])
+connectivityPyra.append(connectivity[2])
+connectivityPyra.append(connectivity[3])
+connectivityPyra.append(connectivity[4])
+connectivity =  [15,18,17,16,19]
+connectivityPyra.append(connectivity[0])
+connectivityPyra.append(connectivity[1])
+connectivityPyra.append(connectivity[2])
+connectivityPyra.append(connectivity[3])
+connectivityPyra.append(connectivity[4])
+
+myMeshing.setConnectivity(connectivityPyra,entity,types[1])
+
+connectivityHexa = []
+connectivity =  [11,12,13,14,7,8,9,10]
+connectivityHexa.append(connectivity[0])
+connectivityHexa.append(connectivity[1])
+connectivityHexa.append(connectivity[2])
+connectivityHexa.append(connectivity[3])
+connectivityHexa.append(connectivity[4])
+connectivityHexa.append(connectivity[5])
+connectivityHexa.append(connectivity[6])
+connectivityHexa.append(connectivity[7])
+connectivity =  [15,16,17,18,11,12,13,14]
+connectivityHexa.append(connectivity[0])
+connectivityHexa.append(connectivity[1])
+connectivityHexa.append(connectivity[2])
+connectivityHexa.append(connectivity[3])
+connectivityHexa.append(connectivity[4])
+connectivityHexa.append(connectivity[5])
+connectivityHexa.append(connectivity[6])
+connectivityHexa.append(connectivity[7])
+
+myMeshing.setConnectivity(connectivityHexa,entity,types[2])
+
+# face part
+
+numberOfTypes = 2
+entity = MED_FACE
+
+types = []
+numberOfElements = []
+
+types.append(MED_TRIA3)
+numberOfElements.append(4)
+
+types.append(MED_QUAD4)
+numberOfElements.append(4)
+
+myMeshing.setNumberOfTypes(numberOfTypes,entity)
+myMeshing.setTypes(types,entity)
+myMeshing.setNumberOfElements(numberOfElements,entity)
+
+connectivityTria = []
+connectivity =  [1,4,3]
+connectivityTria.append(connectivity[0])
+connectivityTria.append(connectivity[1])
+connectivityTria.append(connectivity[2])
+connectivity =  [1,5,4]
+connectivityTria.append(connectivity[0])
+connectivityTria.append(connectivity[1])
+connectivityTria.append(connectivity[2])
+connectivity =  [1,6,5]
+connectivityTria.append(connectivity[0])
+connectivityTria.append(connectivity[1])
+connectivityTria.append(connectivity[2])
+connectivity =  [1,3,6]
+connectivityTria.append(connectivity[0])
+connectivityTria.append(connectivity[1])
+connectivityTria.append(connectivity[2])
+
+myMeshing.setConnectivity(connectivityTria,entity,types[0])
+
+connectivityQuad = []
+connectivity =  [7,8,9,10]
+connectivityQuad.append(connectivity[0])
+connectivityQuad.append(connectivity[1])
+connectivityQuad.append(connectivity[2])
+connectivityQuad.append(connectivity[3])
+connectivity =  [11,12,13,14]
+connectivityQuad.append(connectivity[0])
+connectivityQuad.append(connectivity[1])
+connectivityQuad.append(connectivity[2])
+connectivityQuad.append(connectivity[3])
+connectivity =  [11,7,8,12]
+connectivityQuad.append(connectivity[0])
+connectivityQuad.append(connectivity[1])
+connectivityQuad.append(connectivity[2])
+connectivityQuad.append(connectivity[3])
+connectivity =  [12,8,9,13]
+connectivityQuad.append(connectivity[0])
+connectivityQuad.append(connectivity[1])
+connectivityQuad.append(connectivity[2])
+connectivityQuad.append(connectivity[3])
+
+myMeshing.setConnectivity(connectivityQuad,entity,types[1])
+
+meshDimension = spaceDimension # because there 3D cells in the mesh
+myMeshing.setMeshDimension(meshDimension)
+
+# edge part
+
+# adding GROUPs
+# on Node
+
+myGroup = GROUP()
+myGroup.setName("SomeNodes")
+myGroup.setMesh(myMeshing)
+myGroup.setEntity(MED_NODE)
+myGroup.setNumberOfGeometricType(1)
+
+myTypes = [MED_NONE]
+myGroup.setGeometricType(myTypes)
+
+myNumberOfElements = [4]
+myGroup.setNumberOfElements(myNumberOfElements)
+
+index = [1,5]
+values = [1,4,5,7]
+myGroup.setNumber(index,values)
+
+myMeshing.addGroup(myGroup)
+
+myGroup = GROUP()
+myGroup.setName("OtherNodes")
+myGroup.setMesh(myMeshing)
+myGroup.setEntity(MED_NODE)
+myGroup.setNumberOfGeometricType(1)
+
+myTypes = [MED_NONE]
+myGroup.setGeometricType(myTypes)
+
+myNumberOfElements = [3]
+myGroup.setNumberOfElements(myNumberOfElements)
+
+index = [1,4]
+values = [2,3,6]
+myGroup.setNumber(index,values)
+
+myMeshing.addGroup(myGroup)
+
+# on Cell
+
+myGroup = GROUP()
+myGroup.setName("SomeCells")
+myGroup.setMesh(myMeshing)
+myGroup.setEntity(MED_CELL)
+myGroup.setNumberOfGeometricType(3)
+
+myTypes = [MED_TETRA4,MED_PYRA5,MED_HEXA8]
+myGroup.setGeometricType(myTypes)
+
+myNumberOfElements = [4,1,2]
+myGroup.setNumberOfElements(myNumberOfElements)
+
+index = [1,5,6,8]
+values = [
+    2,7,8,12,
+    13,
+    15,16
+    ]
+myGroup.setNumber(index,values)
+
+myMeshing.addGroup(myGroup)
+
+myGroup = GROUP()
+myGroup.setName("OtherCells")
+myGroup.setMesh(myMeshing)
+myGroup.setEntity(MED_CELL)
+myGroup.setNumberOfGeometricType(2)
+
+myTypes = [MED_TETRA4,MED_PYRA5]
+myGroup.setGeometricType(myTypes)
+
+myNumberOfElements = [4,1]
+myGroup.setNumberOfElements(myNumberOfElements)
+
+index = [1,5,6]
+values = [
+    3,4,5,9,
+    14
+    ]
+myGroup.setNumber(index,values)
+
+myMeshing.addGroup(myGroup)
+
+# on Face
+
+myGroup = GROUP()
+myGroup.setName("SomeFaces")
+myGroup.setMesh(myMeshing)
+myGroup.setEntity(MED_FACE)
+myGroup.setNumberOfGeometricType(2)
+
+myTypes = [MED_TRIA3,MED_QUAD4]
+myGroup.setGeometricType(myTypes)
+
+myNumberOfElements = [2,3]
+myGroup.setNumberOfElements(myNumberOfElements)
+
+index = [1,3,6]
+values = [
+    2,4,
+    5,6,8
+    ]
+myGroup.setNumber(index,values)
+
+myMeshing.addGroup(myGroup)
+
+myGroup = GROUP()
+myGroup.setName("OtherFaces")
+myGroup.setMesh(myMeshing)
+myGroup.setEntity(MED_FACE)
+myGroup.setNumberOfGeometricType(1)
+
+myTypes = [MED_TRIA3]
+myGroup.setGeometricType(myTypes)
+
+myNumberOfElements = [2]
+myGroup.setNumberOfElements(myNumberOfElements)
+
+index = [1,3]
+values = [
+    1,3
+    ]
+myGroup.setNumber(index,values)
+
+myMeshing.addGroup(myGroup)
+
+# saving of the generated mesh in MED 2.1, 2.2 and VTK format
+
+medFileVersion = getMedFileVersionForWriting()
+print "Med File Version For Writing ",medFileVersion
+
+if (medFileVersion == V22):
+    setMedFileVersionForWriting(V21)
+
+idMedV21 = myMeshing.addDriver(MED_DRIVER,med21FileName,myMeshing.getName())
+myMeshing.write(idMedV21)
+
+medFileVersion = getMedFileVersionForWriting()
+if (medFileVersion == V21):
+    setMedFileVersionForWriting(V22)
+
+idMedV22 = myMeshing.addDriver(MED_DRIVER,med22FileName,myMeshing.getName())
+myMeshing.write(idMedV22)
+
+idVtk = myMeshing.addDriver(VTK_DRIVER,vtkFileName,myMeshing.getName())
+myMeshing.write(idVtk)
+
+# we build now 8 fields : 4 fields double (integer) :
+#                         2 fields on nodes (cells) :
+#                         1 scalar (vector)
+
+supportOnNodes = SUPPORT(myMeshing,"On_All_Nodes",MED_NODE)
+numberOfNodes = supportOnNodes.getNumberOfElements(MED_ALL_ELEMENTS)
+
+supportOnCells = SUPPORT(myMeshing,"On_All_Cells",MED_CELL)
+numberOfCells = supportOnCells.getNumberOfElements(MED_ALL_ELEMENTS)
+
+fieldDoubleScalarOnNodes = FIELDDOUBLE(supportOnNodes,1)
+fieldDoubleScalarOnNodes.setName("fieldScalarDoubleNode")
+fieldDoubleScalarOnNodes.setIterationNumber(-1)
+fieldDoubleScalarOnNodes.setOrderNumber(-1)
+fieldDoubleScalarOnNodes.setTime(0.0)
+
+fieldDoubleScalarOnNodes.setComponentName(1,"Vx")
+fieldDoubleScalarOnNodes.setComponentDescription(1,"comp1")
+fieldDoubleScalarOnNodes.setMEDComponentUnit(1,"unit1")
+
+fieldDoubleVectorOnNodes = FIELDDOUBLE(supportOnNodes,spaceDimension)
+fieldDoubleVectorOnNodes.setName("fieldVectorDoubleNode")
+fieldDoubleVectorOnNodes.setIterationNumber(-1)
+fieldDoubleVectorOnNodes.setOrderNumber(-1)
+fieldDoubleVectorOnNodes.setTime(0.0)
+
+fieldDoubleVectorOnNodes.setComponentName(1,"Vx")
+fieldDoubleVectorOnNodes.setComponentDescription(1,"comp1")
+fieldDoubleVectorOnNodes.setMEDComponentUnit(1,"unit1")
+fieldDoubleVectorOnNodes.setComponentName(2,"Vy")
+fieldDoubleVectorOnNodes.setComponentDescription(2,"comp2")
+fieldDoubleVectorOnNodes.setMEDComponentUnit(2,"unit2")
+fieldDoubleVectorOnNodes.setComponentName(3,"Vz")
+fieldDoubleVectorOnNodes.setComponentDescription(3,"comp3")
+fieldDoubleVectorOnNodes.setMEDComponentUnit(3,"unit3")
+
+fieldDoubleScalarOnCells = FIELDDOUBLE(supportOnCells,1)
+fieldDoubleScalarOnCells.setName("fieldScalarDoubleCell")
+fieldDoubleScalarOnCells.setIterationNumber(-1)
+fieldDoubleScalarOnCells.setOrderNumber(-1)
+fieldDoubleScalarOnCells.setTime(0.0)
+
+fieldDoubleScalarOnCells.setComponentName(1,"Vx")
+fieldDoubleScalarOnCells.setComponentDescription(1,"comp1")
+fieldDoubleScalarOnCells.setMEDComponentUnit(1,"unit1")
+
+fieldDoubleVectorOnCells = FIELDDOUBLE(supportOnCells,spaceDimension)
+fieldDoubleVectorOnCells.setName("fieldVectorrDoubleCell")
+fieldDoubleVectorOnCells.setIterationNumber(-1)
+fieldDoubleVectorOnCells.setOrderNumber(-1)
+fieldDoubleVectorOnCells.setTime(0.0)
+
+fieldDoubleVectorOnCells.setComponentName(1,"Vx")
+fieldDoubleVectorOnCells.setComponentDescription(1,"comp1")
+fieldDoubleVectorOnCells.setMEDComponentUnit(1,"unit1")
+fieldDoubleVectorOnCells.setComponentName(2,"Vy")
+fieldDoubleVectorOnCells.setComponentDescription(2,"comp2")
+fieldDoubleVectorOnCells.setMEDComponentUnit(2,"unit2")
+fieldDoubleVectorOnCells.setComponentName(3,"Vz")
+fieldDoubleVectorOnCells.setComponentDescription(3,"comp3")
+fieldDoubleVectorOnCells.setMEDComponentUnit(3,"unit3")
+
+fieldIntScalarOnNodes = FIELDINT(supportOnNodes,1)
+fieldIntScalarOnNodes.setName("fieldScalarIntNode")
+fieldIntScalarOnNodes.setIterationNumber(-1)
+fieldIntScalarOnNodes.setOrderNumber(-1)
+fieldIntScalarOnNodes.setTime(0.0)
+
+fieldIntScalarOnNodes.setComponentName(1,"Vx")
+fieldIntScalarOnNodes.setComponentDescription(1,"comp1")
+fieldIntScalarOnNodes.setMEDComponentUnit(1,"unit1")
+
+fieldIntVectorOnNodes = FIELDINT(supportOnNodes,spaceDimension)
+fieldIntVectorOnNodes.setName("fieldVectorIntNode")
+fieldIntVectorOnNodes.setIterationNumber(-1)
+fieldIntVectorOnNodes.setOrderNumber(-1)
+fieldIntVectorOnNodes.setTime(0.0)
+
+fieldIntVectorOnNodes.setComponentName(1,"Vx")
+fieldIntVectorOnNodes.setComponentDescription(1,"comp1")
+fieldIntVectorOnNodes.setMEDComponentUnit(1,"unit1")
+fieldIntVectorOnNodes.setComponentName(2,"Vy")
+fieldIntVectorOnNodes.setComponentDescription(2,"comp2")
+fieldIntVectorOnNodes.setMEDComponentUnit(2,"unit2")
+fieldIntVectorOnNodes.setComponentName(3,"Vz")
+fieldIntVectorOnNodes.setComponentDescription(3,"comp3")
+fieldIntVectorOnNodes.setMEDComponentUnit(3,"unit3")
+
+fieldIntScalarOnCells = FIELDINT(supportOnCells,1)
+fieldIntScalarOnCells.setName("fieldScalarIntCell")
+fieldIntScalarOnCells.setIterationNumber(-1)
+fieldIntScalarOnCells.setOrderNumber(-1)
+fieldIntScalarOnCells.setTime(0.0)
+
+fieldIntScalarOnCells.setComponentName(1,"Vx")
+fieldIntScalarOnCells.setComponentDescription(1,"comp1")
+fieldIntScalarOnCells.setMEDComponentUnit(1,"unit1")
+
+fieldIntVectorOnCells = FIELDINT(supportOnCells,spaceDimension)
+fieldIntVectorOnCells.setName("fieldVectorrIntCell")
+fieldIntVectorOnCells.setIterationNumber(-1)
+fieldIntVectorOnCells.setOrderNumber(-1)
+fieldIntVectorOnCells.setTime(0.0)
+
+fieldIntVectorOnCells.setComponentName(1,"Vx")
+fieldIntVectorOnCells.setComponentDescription(1,"comp1")
+fieldIntVectorOnCells.setMEDComponentUnit(1,"unit1")
+fieldIntVectorOnCells.setComponentName(2,"Vy")
+fieldIntVectorOnCells.setComponentDescription(2,"comp2")
+fieldIntVectorOnCells.setMEDComponentUnit(2,"unit2")
+fieldIntVectorOnCells.setComponentName(3,"Vz")
+fieldIntVectorOnCells.setComponentDescription(3,"comp3")
+fieldIntVectorOnCells.setMEDComponentUnit(3,"unit3")
+
+for i in range(numberOfNodes):
+    valueInt1 = i+1
+    valueInt2 = i+2
+    valueInt3 = i+3
+    valueDbl1 = valueInt1*0.1
+    valueDbl2 = valueInt2*0.1
+    valueDbl3 = valueInt3*0.1
+    fieldDoubleScalarOnNodes.setValueIJ(i+1,1,valueDbl1)
+
+    fieldIntScalarOnNodes.setValueIJ(i+1,1,valueInt1)
+
+    fieldDoubleVectorOnNodes.setValueIJ(i+1,1,valueDbl1)
+    fieldDoubleVectorOnNodes.setValueIJ(i+1,2,valueDbl2)
+    fieldDoubleVectorOnNodes.setValueIJ(i+1,3,valueDbl3)
+
+    fieldIntVectorOnNodes.setValueIJ(i+1,1,valueInt1)
+    fieldIntVectorOnNodes.setValueIJ(i+1,2,valueInt2)
+    fieldIntVectorOnNodes.setValueIJ(i+1,3,valueInt3)
+
+for i in range(numberOfCells):
+    valueInt1 = i+1
+    valueInt2 = i+2
+    valueInt3 = i+3
+    valueDbl1 = valueInt1*0.1
+    valueDbl2 = valueInt2*0.1
+    valueDbl3 = valueInt3*0.1
+    fieldDoubleScalarOnCells.setValueIJ(i+1,1,valueDbl1)
+
+    fieldIntScalarOnCells.setValueIJ(i+1,1,valueInt1)
+
+    fieldDoubleVectorOnCells.setValueIJ(i+1,1,valueDbl1)
+    fieldDoubleVectorOnCells.setValueIJ(i+1,2,valueDbl2)
+    fieldDoubleVectorOnCells.setValueIJ(i+1,3,valueDbl3)
+
+    fieldIntVectorOnCells.setValueIJ(i+1,1,valueInt1)
+    fieldIntVectorOnCells.setValueIJ(i+1,2,valueInt2)
+    fieldIntVectorOnCells.setValueIJ(i+1,3,valueInt3)
+
+medFileVersion = getMedFileVersionForWriting()
+print "Med File Version For Writing ",medFileVersion
+
+if (medFileVersion == V22):
+    setMedFileVersionForWriting(V21)
+
+idMedV21 = fieldDoubleScalarOnNodes.addDriver(MED_DRIVER,med21FileName,fieldDoubleScalarOnNodes.getName())
+fieldDoubleScalarOnNodes.write(idMedV21)
+
+idMedV21 = fieldIntScalarOnNodes.addDriver(MED_DRIVER,med21FileName,fieldIntScalarOnNodes.getName())
+fieldIntScalarOnNodes.write(idMedV21)
+
+idMedV21 = fieldDoubleVectorOnNodes.addDriver(MED_DRIVER,med21FileName,fieldDoubleVectorOnNodes.getName())
+fieldDoubleVectorOnNodes.write(idMedV21)
+
+idMedV21 = fieldIntVectorOnNodes.addDriver(MED_DRIVER,med21FileName,fieldIntVectorOnNodes.getName())
+fieldIntVectorOnNodes.write(idMedV21)
+
+idMedV21 = fieldDoubleScalarOnCells.addDriver(MED_DRIVER,med21FileName,fieldDoubleScalarOnCells.getName())
+fieldDoubleScalarOnCells.write(idMedV21)
+
+idMedV21 = fieldIntScalarOnCells.addDriver(MED_DRIVER,med21FileName,fieldIntScalarOnCells.getName())
+fieldIntScalarOnCells.write(idMedV21)
+
+idMedV21 = fieldDoubleVectorOnCells.addDriver(MED_DRIVER,med21FileName,fieldDoubleVectorOnCells.getName())
+fieldDoubleVectorOnCells.write(idMedV21)
+
+idMedV21 = fieldIntVectorOnCells.addDriver(MED_DRIVER,med21FileName,fieldIntVectorOnCells.getName())
+fieldIntVectorOnCells.write(idMedV21)
+
+medFileVersion = getMedFileVersionForWriting()
+if (medFileVersion == V21):
+    setMedFileVersionForWriting(V22)
+
+idMedV22 = fieldDoubleScalarOnNodes.addDriver(MED_DRIVER,med22FileName,fieldDoubleScalarOnNodes.getName())
+fieldDoubleScalarOnNodes.write(idMedV22)
+
+idMedV22 = fieldIntScalarOnNodes.addDriver(MED_DRIVER,med22FileName,fieldIntScalarOnNodes.getName())
+fieldIntScalarOnNodes.write(idMedV22)
+
+idMedV22 = fieldDoubleVectorOnNodes.addDriver(MED_DRIVER,med22FileName,fieldDoubleVectorOnNodes.getName())
+fieldDoubleVectorOnNodes.write(idMedV22)
+
+idMedV22 = fieldIntVectorOnNodes.addDriver(MED_DRIVER,med22FileName,fieldIntVectorOnNodes.getName())
+fieldIntVectorOnNodes.write(idMedV22)
+
+idMedV22 = fieldDoubleScalarOnCells.addDriver(MED_DRIVER,med22FileName,fieldDoubleScalarOnCells.getName())
+fieldDoubleScalarOnCells.write(idMedV22)
+
+idMedV22 = fieldIntScalarOnCells.addDriver(MED_DRIVER,med22FileName,fieldIntScalarOnCells.getName())
+fieldIntScalarOnCells.write(idMedV22)
+
+idMedV22 = fieldDoubleVectorOnCells.addDriver(MED_DRIVER,med22FileName,fieldDoubleVectorOnCells.getName())
+fieldDoubleVectorOnCells.write(idMedV22)
+
+idMedV22 = fieldIntVectorOnCells.addDriver(MED_DRIVER,med22FileName,fieldIntVectorOnCells.getName())
+fieldIntVectorOnCells.write(idMedV22)
+
+idVtk = fieldDoubleScalarOnNodes.addDriver(VTK_DRIVER,vtkFileName,fieldDoubleScalarOnNodes.getName())
+fieldDoubleScalarOnNodes.writeAppend(idVtk)
+
+idVtk = fieldIntScalarOnNodes.addDriver(VTK_DRIVER,vtkFileName,fieldIntScalarOnNodes.getName())
+fieldIntScalarOnNodes.writeAppend(idVtk)
+
+idVtk = fieldDoubleVectorOnNodes.addDriver(VTK_DRIVER,vtkFileName,fieldDoubleVectorOnNodes.getName())
+fieldDoubleVectorOnNodes.writeAppend(idVtk)
+
+idVtk = fieldIntVectorOnNodes.addDriver(VTK_DRIVER,vtkFileName,fieldIntVectorOnNodes.getName())
+fieldIntVectorOnNodes.writeAppend(idVtk)
+
+idVtk = fieldDoubleScalarOnCells.addDriver(VTK_DRIVER,vtkFileName,fieldDoubleScalarOnCells.getName())
+fieldDoubleScalarOnCells.writeAppend(idVtk)
+
+idVtk = fieldIntScalarOnCells.addDriver(VTK_DRIVER,vtkFileName,fieldIntScalarOnCells.getName())
+fieldIntScalarOnCells.writeAppend(idVtk)
+
+idVtk = fieldDoubleVectorOnCells.addDriver(VTK_DRIVER,vtkFileName,fieldDoubleVectorOnCells.getName())
+fieldDoubleVectorOnCells.writeAppend(idVtk)
+
+idVtk = fieldIntVectorOnCells.addDriver(VTK_DRIVER,vtkFileName,fieldIntVectorOnCells.getName())
+fieldIntVectorOnCells.writeAppend(idVtk)
index 947cd859836f0acec5b14df993425b794614cf6c..1580d640f305a73100a50ae3347e64029731f4b1 100644 (file)
@@ -1,24 +1,7 @@
 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 // 
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either 
-// version 2.1 of the License.
-// 
-// This library is distributed in the hope that it will be useful 
-// but WITHOUT ANY WARRANTY; without even the implied warranty of 
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public  
-// License along with this library; if not, write to the Free Software 
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-//
-// See http://www.salome-platform.org/
-//
 #include "MEDMEM_Mesh.hxx"
-#include "MEDMEM_CellModel.hxx"
 
 using namespace MEDMEM ;
 using namespace MED_EN ;
@@ -38,16 +21,15 @@ int main (int argc, char ** argv) {
 
   // 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
+  // this example use access with a specified medGeometryElement array
+  const medGeometryElement * Types = myMesh.getTypes(MED_CELL);
+  string * cellTypeNames =  myMesh.getCellTypeNames(MED_CELL);
   for (int i=0; i<NumberOfTypes; i++) {
-    cout << "For type " << Types[i].getName() << " : " << endl ;
-    medGeometryElement myType = Types[i].getType() ;
+    cout << "For type " << cellTypeNames[i] << " : " << endl ;
+    medGeometryElement myType = Types[i] ;
     int NumberOfElements = myMesh.getNumberOfElements(MED_CELL,myType);
-    int NomberOfNodesPerCell = Types[i].getNumberOfNodes() ;
+    int NomberOfNodesPerCell = Types[i]%100 ;
     const int * Connectivity = 
       myMesh.getConnectivity(MED_FULL_INTERLACE,
                             MED_NODAL,
index 4e5e14f0f732fb8c38636ed41d26740248a7ed35..19bf5c4a4f93458fcaa53830bd6cd3fdb8b58c42 100644 (file)
@@ -1,3 +1,6 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# 
 from libMEDMEM_Swig import *
 
 MedFile = "pointe.med"
index d836b635d8d29933751c6d28771627e80fbec364..fca22a17cf5031b264bd4ce04c53ee0a88c49ca1 100644 (file)
@@ -1,22 +1,6 @@
 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 // 
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either 
-// version 2.1 of the License.
-// 
-// This library is distributed in the hope that it will be useful 
-// but WITHOUT ANY WARRANTY; without even the implied warranty of 
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public  
-// License along with this library; if not, write to the Free Software 
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-//
-// See http://www.salome-platform.org/
-//
 #include "MEDMEM_Mesh.hxx"
 
 using namespace MEDMEM ;
index 4508fffef869c2af97f148011eed50fcb9d63cc2..b082a1a3f999b1b2ded042a389bccca65611e022 100644 (file)
@@ -1,3 +1,6 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# 
 from libMEDMEM_Swig import *
 
 MedFile = "pointe.med"
index 68994ae5d44c1e9b541c417dc856b75fb3e7c00a..a577966e7d63c552334ee9ca8b45c8397b3198b1 100644 (file)
@@ -1,22 +1,6 @@
 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 // 
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either 
-// version 2.1 of the License.
-// 
-// This library is distributed in the hope that it will be useful 
-// but WITHOUT ANY WARRANTY; without even the implied warranty of 
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public  
-// License along with this library; if not, write to the Free Software 
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-//
-// See http://www.salome-platform.org/
-//
 using namespace std;
 #include "MEDMEM_Mesh.hxx"
 
index bda6a073b58018304a415564ef85b216810645d0..95fc038684268f25363831dbfda9fbc328ff40ea 100644 (file)
@@ -1,3 +1,6 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# 
 from libMEDMEM_Swig import *
 
 MedFile = "pointe.med"
index b06d7820e56c7bd6149b2618794fde9636dc61af..ed7de656f1d35e01e21f9032f402ca66db11a509 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 # -* Makefile *- 
 #
 # Author : Nadir BOUHAMOU (CEA)
@@ -104,11 +122,8 @@ MedMemory_devel_2on1.pdf:
 
 # User Guide
 
-MEDMEM_UsersGuide.ps: MEDMEM_UsersGuide.dvi
-       dvips -o MEDMEM_UsersGuide.ps MEDMEM_UsersGuide.dvi
-
-MEDMEM_UsersGuide.pdf: MEDMEM_UsersGuide.ps
-       ps2pdf MEDMEM_UsersGuide.ps MEDMEM_UsersGuide.pdf
+MEDMEM_UsersGuide.ps: MEDMEM_UsersGuide.pdf
+       pdf2ps MEDMEM_UsersGuide.pdf MEDMEM_UsersGuide.ps 
 
 MEDMEM_UsersGuide_2on1.ps: MEDMEM_UsersGuide.ps
        psnup -2 MEDMEM_UsersGuide.ps >MEDMEM_UsersGuide_2on1.ps
@@ -116,17 +131,13 @@ MEDMEM_UsersGuide_2on1.ps: MEDMEM_UsersGuide.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 $<
+MEDMEM_UsersGuide.pdf: MEDMEM_UsersGuide.tex MEDMEM_Content.tex MEDMEM_UML_light.png MEDMEM_UML.png FIELDcreate.cxx FIELDgeneral.cxx MEDMEM_InvokingDriverAtObjectCreationTime.cxx MEDMEM_InvokingDriverByAttachingItToAnObject.cxx MEDMEM_InvokingDriverFromStandardObjectMethod.cxx MEDMEM_MedAddingAnExistingObject.cxx MESHconnectivities.cxx MESHcoordinates.cxx MESHgeneral.cxx MESHINGexample.cxx FIELDcreate.py FIELDgeneral.py MEDMEM_InvokingDriverAtObjectCreationTime.py MEDMEM_InvokingDriverByAttachingItToAnObject.py MEDMEM_InvokingDriverFromStandardObjectMethod.py MESHconnectivities.py MESHcoordinates.py MESHgeneral.py MESHINGexample.py
+       echo "Running pdflatex..."
+       pdflatex $<
        #echo "Running makeindex..."
        #makeindex MEDMEM_UsersGuide.idx
        echo "Rerunning latex...."
-       latex $<
+       pdflatex $<
        latex_count=5
        while egrep -s 'Rerun (LaTeX|to get cross-references right)' MEDMEM_UsersGuide.log && [ $latex_count -gt 0 ] ;\
            do \
@@ -138,6 +149,15 @@ MEDMEM_UsersGuide.dvi: MEDMEM_UsersGuide.tex MEDMEM_UML.eps
 MEDMEM_UsersGuide.tex:MEDMEM_UsersGuide.tex.in
        cd $(top_builddir) && CONFIG_FILES=./doc/MEDMEM/MEDMEM_UsersGuide.tex ./config.status
 
+MEDMEM_Content.tex:MEDMEM_Content.tex.in
+       cd $(top_builddir) && CONFIG_FILES=./doc/MEDMEM/MEDMEM_Content.tex ./config.status 
+
+MEDMEM_UML_light.png:MEDMEM_UML_light.png.in
+       cd $(top_builddir) && CONFIG_FILES=./doc/MEDMEM/MEDMEM_UML_light.png ./config.status 
+
+MEDMEM_UML.png:MEDMEM_UML.png.in
+       cd $(top_builddir) && CONFIG_FILES=./doc/MEDMEM/MEDMEM_UML.png ./config.status 
+
 # install procedure
 
 install: $(datadir)/doc ps_2on1 pdf_2on1
index 7295ede75128e9e51b474f63ed9f8d7a128bb3df..c54fc262b7b289c1adc883c4391dfb2f44b85e9a 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 
 # -* Makefile *- 
 #
@@ -15,7 +33,7 @@ SUBDIRS= salome
 
 @COMMENCE@
 
-docs:
+dev_docs:
        @@SETX@; for d in $(SUBDIRS); do        \
           (cd $$d && $(MAKE) $@) || exit 1;    \
        done
diff --git a/doc/html/INPUT/doxyfile b/doc/html/INPUT/doxyfile
deleted file mode 100755 (executable)
index 6e7f694..0000000
+++ /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/doxyfile.in b/doc/html/INPUT/doxyfile.in
new file mode 100755 (executable)
index 0000000..023290e
--- /dev/null
@@ -0,0 +1,201 @@
+# Doxyfile 1.3-rc1
+
+#---------------------------------------------------------------------------
+# General configuration options
+#---------------------------------------------------------------------------
+PROJECT_NAME           = "SALOME - MED - v.@VERSION@"
+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          = 
index 135b2daefec98b741783540625cf546cce5ad1b2..36943e852b70a3c5ba7e3e6e05ebf63ed6275058 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 # -* Makefile *- 
 #
 # Author : Vasily Rusyaev (Open Cascade NN)
diff --git a/doc/salome/MED_index_v3.1.0.html b/doc/salome/MED_index_v3.1.0.html
deleted file mode 100644 (file)
index 5217304..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
-                                                
-  <meta http-equiv="Content-Type"
- content="text/html; charset=iso-8859-1">
-                                                
-  <meta name="GENERATOR"
- content="Mozilla/4.73 [en] (WinNT; I) [Netscape]">
-  <title>Med Module Documentation</title>
-</head>
-  <body bgcolor="#cccccc" text="#000000" link="#0000ee" alink="#0000ee"
- vlink="#551a8b">
-         
-<div align="center">    &nbsp;            
-<center>           
-<center>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
- &nbsp;&nbsp;</center>
-         
-<table width="96%" align="center">
-            <tbody>
-               <tr>
-            <td><a href="http://www.opencascade.com"><img
- src="tui/MED/sources/logocorp.gif" border="0" height="46" width="122">
-                 </a></td>
-              <td>                                                      
-                       
-      <div align="right"><a href="http://www.opencascade.org/SALOME/"><img
- src="tui/MED/sources/application.gif" border="0" height="46"
- width="108">
-                 </a></div>
-            </td>
-            </tr>
-                                                          
-  </tbody>     
-</table>
-         
-<div align="center">     
-<center>     
-<hr width="100%" size="2">    
-<h1>Med MODULE Documentation</h1>
-                                      </center>
-     </div>
-         
-<table width="96%">
-       <tbody>
-                   
-  </tbody>     
-</table>
-     </center>
-         
-<div align="center">        
-<p> <img src="tui/MED/sources/Application-About.png"
- alt="Application-About.png" width="30%" height="20%">
-     &nbsp; &nbsp;&nbsp;          </p>
-              </div>
-         
-<center>     
-<table width="96%">
-       <tbody>
-                     
-  </tbody>     
-</table>
-    <br>
-            </center>
-       
-<address> </address>
-     <br>
-        
-<address> </address>
-     
-<center></center>
-        
-<center><br>
-    </center>
-       
-<address> </address>
-     
-<center><big><a href="tui/MED/index.html">TUI Documentation</a></big></center>
-        
-<address> </address>
-     
-<center></center>
-        
-<center><br>
-    <br>
-     </center>
-     </div>
-      <br>
-   <br>
-  <br>
- <br>
-</body>
-</html>
index c19de8770d05a3d170346256ecd6f2f2bd0716df..c88e711398c4b61726292f91af6079e4e1db0c8b 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 
 # -* Makefile *- 
 #
@@ -15,29 +33,35 @@ SUBDIRS= tui
 
 @COMMENCE@
 
-docs:
+dev_docs:
        @@SETX@; for d in $(SUBDIRS); do        \
           (cd $$d && $(MAKE) $@) || exit 1;    \
        done; \
-       cp -f $(srcdir)/MED_index_v3.1.0.html MED_index_v3.1.0.html
 
 clean:
        @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
+          if test -d $$d/MED; then             \
+             (cd $$d && $(MAKE) $@) || exit 1; \
+          fi;                                  \
        done
 
 distclean: clean
        @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
+          if test -d $$d/MED; then             \
+             (cd $$d && $(MAKE) $@) || exit 1; \
+          fi;                                  \
        done
 
 install:
-       $(MAKE) docs
-       (cd tui && $(MAKE) install);
-       cp -f MED_index_v3.1.0.html $(docdir)
+       @@SETX@; for d in $(SUBDIRS); do        \
+          if test -d $$d/MED; then             \
+             (cd $$d && $(MAKE) $@);           \
+          fi;                                  \
+       done
 
 uninstall:
        @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
+          if test -d $$d/MED; then             \
+             (cd $$d && $(MAKE) $@) || exit 1; \
+          fi;                                  \
        done; \
-       rm -fr $(docdir)/MED_index_v3.1.0.html
diff --git a/doc/salome/tui/MED/doxyfile b/doc/salome/tui/MED/doxyfile
deleted file mode 100755 (executable)
index 7b65feb..0000000
+++ /dev/null
@@ -1,230 +0,0 @@
-# Doxyfile 1.3.7
-
-#---------------------------------------------------------------------------
-# Project related configuration options
-#---------------------------------------------------------------------------
-PROJECT_NAME           = "SALOME - MED - v.3.2.0b1"
-PROJECT_NUMBER         = id#1.1
-OUTPUT_DIRECTORY       = ../
-CREATE_SUBDIRS         = NO
-OUTPUT_LANGUAGE        = English
-USE_WINDOWS_ENCODING   = NO
-BRIEF_MEMBER_DESC      = YES
-REPEAT_BRIEF           = YES
-ABBREVIATE_BRIEF       = 
-ALWAYS_DETAILED_SEC    = NO
-INLINE_INHERITED_MEMB  = NO
-FULL_PATH_NAMES        = NO
-STRIP_FROM_PATH        = 
-STRIP_FROM_INC_PATH    = 
-SHORT_NAMES            = NO
-JAVADOC_AUTOBRIEF      = YES
-MULTILINE_CPP_IS_BRIEF = NO
-DETAILS_AT_TOP         = NO
-INHERIT_DOCS           = NO
-DISTRIBUTE_GROUP_DOC   = NO
-TAB_SIZE               = 5
-ALIASES                = 
-OPTIMIZE_OUTPUT_FOR_C  = YES
-OPTIMIZE_OUTPUT_JAVA   = YES
-SUBGROUPING            = YES
-
-#---------------------------------------------------------------------------
-# Build related configuration options
-#---------------------------------------------------------------------------
-EXTRACT_ALL            = YES
-EXTRACT_PRIVATE        = YES
-EXTRACT_STATIC         = YES
-EXTRACT_LOCAL_CLASSES  = YES
-EXTRACT_LOCAL_METHODS  = NO
-HIDE_UNDOC_MEMBERS     = YES
-HIDE_UNDOC_CLASSES     = YES
-HIDE_FRIEND_COMPOUNDS  = NO
-HIDE_IN_BODY_DOCS      = NO
-INTERNAL_DOCS          = YES
-CASE_SENSE_NAMES       = YES
-HIDE_SCOPE_NAMES       = NO
-SHOW_INCLUDE_FILES     = YES
-INLINE_INFO            = YES
-SORT_MEMBER_DOCS       = NO
-SORT_BRIEF_DOCS        = NO
-SORT_BY_SCOPE_NAME     = NO
-GENERATE_TODOLIST      = YES
-GENERATE_TESTLIST      = YES
-GENERATE_BUGLIST       = YES
-GENERATE_DEPRECATEDLIST= YES
-ENABLED_SECTIONS       = 
-MAX_INITIALIZER_LINES  = 25
-SHOW_USED_FILES        = NO
-
-#---------------------------------------------------------------------------
-# configuration options related to warning and progress messages
-#---------------------------------------------------------------------------
-QUIET                  = NO
-WARNINGS               = YES
-WARN_IF_UNDOCUMENTED   = YES
-WARN_IF_DOC_ERROR      = YES
-WARN_FORMAT            = "$file:$line: $text"
-WARN_LOGFILE           = log.txt
-
-#---------------------------------------------------------------------------
-# configuration options related to the input files
-#---------------------------------------------------------------------------
-INPUT                  = ../../../share/salome/src \
-                        ../../../share/salome/idl \
-                        ../../../build/salome/bin
-FILE_PATTERNS          = *.idl *.h *.hh *.hxx *.c *.cc *.cxx *.ixx *.jxx python_extension_must_be_here
-RECURSIVE              = YES
-EXCLUDE                = 
-EXCLUDE_SYMLINKS       = NO
-EXCLUDE_PATTERNS       = 
-EXAMPLE_PATH           = 
-EXAMPLE_PATTERNS       = 
-EXAMPLE_RECURSIVE      = YES
-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
-VERBATIM_HEADERS       = 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
-LATEX_HIDE_INDICES     = 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_OUTPUT             = xml
-XML_SCHEMA             = 
-XML_DTD                = 
-XML_PROGRAMLISTING     = YES
-
-#---------------------------------------------------------------------------
-# 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::additions 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
-UML_LOOK               = NO
-TEMPLATE_RELATIONS     = YES
-INCLUDE_GRAPH          = YES
-INCLUDED_BY_GRAPH      = NO
-CALL_GRAPH             = NO
-GRAPHICAL_HIERARCHY    = YES
-DOT_IMAGE_FORMAT       = jpg
-DOT_PATH               = 
-DOTFILE_DIRS           = 
-MAX_DOT_GRAPH_WIDTH    = 1024
-MAX_DOT_GRAPH_HEIGHT   = 1200
-MAX_DOT_GRAPH_DEPTH    = 0
-GENERATE_LEGEND        = NO
-DOT_CLEANUP            = YES
-
-#---------------------------------------------------------------------------
-# Configuration::additions related to the search engine   
-#---------------------------------------------------------------------------
-SEARCHENGINE           = NO
diff --git a/doc/salome/tui/MED/doxyfile.in b/doc/salome/tui/MED/doxyfile.in
new file mode 100755 (executable)
index 0000000..06d537f
--- /dev/null
@@ -0,0 +1,231 @@
+# Doxyfile 1.3.7
+
+#---------------------------------------------------------------------------
+# Project related configuration options
+#---------------------------------------------------------------------------
+PROJECT_NAME           = "SALOME - MED - v.@VERSION@"
+PROJECT_NUMBER         = 
+OUTPUT_DIRECTORY       = ../
+CREATE_SUBDIRS         = NO
+OUTPUT_LANGUAGE        = English
+USE_WINDOWS_ENCODING   = NO
+BRIEF_MEMBER_DESC      = YES
+REPEAT_BRIEF           = YES
+ABBREVIATE_BRIEF       = 
+ALWAYS_DETAILED_SEC    = NO
+INLINE_INHERITED_MEMB  = NO
+FULL_PATH_NAMES        = YES
+STRIP_FROM_PATH        = ../../../share/salome \
+                        ../../../build/salome
+STRIP_FROM_INC_PATH    = 
+SHORT_NAMES            = NO
+JAVADOC_AUTOBRIEF      = YES
+MULTILINE_CPP_IS_BRIEF = NO
+DETAILS_AT_TOP         = NO
+INHERIT_DOCS           = NO
+DISTRIBUTE_GROUP_DOC   = NO
+TAB_SIZE               = 5
+ALIASES                = 
+OPTIMIZE_OUTPUT_FOR_C  = YES
+OPTIMIZE_OUTPUT_JAVA   = YES
+SUBGROUPING            = YES
+
+#---------------------------------------------------------------------------
+# Build related configuration options
+#---------------------------------------------------------------------------
+EXTRACT_ALL            = YES
+EXTRACT_PRIVATE        = YES
+EXTRACT_STATIC         = YES
+EXTRACT_LOCAL_CLASSES  = YES
+EXTRACT_LOCAL_METHODS  = NO
+HIDE_UNDOC_MEMBERS     = YES
+HIDE_UNDOC_CLASSES     = YES
+HIDE_FRIEND_COMPOUNDS  = NO
+HIDE_IN_BODY_DOCS      = NO
+INTERNAL_DOCS          = YES
+CASE_SENSE_NAMES       = YES
+HIDE_SCOPE_NAMES       = NO
+SHOW_INCLUDE_FILES     = YES
+INLINE_INFO            = YES
+SORT_MEMBER_DOCS       = NO
+SORT_BRIEF_DOCS        = NO
+SORT_BY_SCOPE_NAME     = NO
+GENERATE_TODOLIST      = YES
+GENERATE_TESTLIST      = YES
+GENERATE_BUGLIST       = YES
+GENERATE_DEPRECATEDLIST= YES
+ENABLED_SECTIONS       = 
+MAX_INITIALIZER_LINES  = 25
+SHOW_USED_FILES        = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+QUIET                  = NO
+WARNINGS               = YES
+WARN_IF_UNDOCUMENTED   = YES
+WARN_IF_DOC_ERROR      = YES
+WARN_FORMAT            = "$file:$line: $text"
+WARN_LOGFILE           = log.txt
+
+#---------------------------------------------------------------------------
+# configuration options related to the input files
+#---------------------------------------------------------------------------
+INPUT                  = ../../../share/salome/src \
+                        ../../../share/salome/idl \
+                        ../../../build/salome/bin
+FILE_PATTERNS          = *.idl *.h *.hh *.hxx *.c *.cc *.cxx *.ixx *.jxx python_extension_must_be_here
+RECURSIVE              = YES
+EXCLUDE                = 
+EXCLUDE_SYMLINKS       = NO
+EXCLUDE_PATTERNS       = 
+EXAMPLE_PATH           = 
+EXAMPLE_PATTERNS       = 
+EXAMPLE_RECURSIVE      = YES
+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
+VERBATIM_HEADERS       = YES
+
+#---------------------------------------------------------------------------
+# configuration options related to the alphabetical class index
+#---------------------------------------------------------------------------
+ALPHABETICAL_INDEX     = YES
+COLS_IN_ALPHA_INDEX    = 3
+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            = sources/footer.html
+HTML_STYLESHEET        = sources/static/doxygen.css
+HTML_ALIGN_MEMBERS     = YES
+GENERATE_HTMLHELP      = NO
+CHM_FILE               = 
+HHC_LOCATION           = 
+GENERATE_CHI           = NO
+BINARY_TOC             = YES
+TOC_EXPAND             = YES
+DISABLE_INDEX          = NO
+ENUM_VALUES_PER_LINE   = 4
+GENERATE_TREEVIEW      = NO
+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
+LATEX_HIDE_INDICES     = 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_OUTPUT             = xml
+XML_SCHEMA             = 
+XML_DTD                = 
+XML_PROGRAMLISTING     = YES
+
+#---------------------------------------------------------------------------
+# 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::additions 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
+UML_LOOK               = NO
+TEMPLATE_RELATIONS     = YES
+INCLUDE_GRAPH          = YES
+INCLUDED_BY_GRAPH      = NO
+CALL_GRAPH             = NO
+GRAPHICAL_HIERARCHY    = YES
+DOT_IMAGE_FORMAT       = jpg
+DOT_PATH               = 
+DOTFILE_DIRS           = 
+MAX_DOT_GRAPH_WIDTH    = 1024
+MAX_DOT_GRAPH_HEIGHT   = 1200
+MAX_DOT_GRAPH_DEPTH    = 0
+GENERATE_LEGEND        = NO
+DOT_CLEANUP            = YES
+
+#---------------------------------------------------------------------------
+# Configuration::additions related to the search engine   
+#---------------------------------------------------------------------------
+SEARCHENGINE           = NO
diff --git a/doc/salome/tui/MED/sources/footer.html b/doc/salome/tui/MED/sources/footer.html
new file mode 100755 (executable)
index 0000000..cb55f39
--- /dev/null
@@ -0,0 +1,5 @@
+</DIV>
+<DIV class="div-footer">
+Generated on $datetime for $projectname by&nbsp;<A href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></A> $doxygenversion</DIV>
+</BODY>
+</HTML>
index 83ca543cda7dcf8bc623fb52b00def9617fd1c8b..d2efb75faade344eacb10128d14a6d5bd3592193 100755 (executable)
@@ -5,20 +5,9 @@
    <meta name="GENERATOR" content="Mozilla/4.73 [en] (WinNT; I) [Netscape]">
    <title>Main Page</title>
 <link href="doxygen.css" rel="stylesheet" type="text/css">
+<link href="tabs.css" rel="stylesheet" type="text/css">
 </head>
 <body>
 &nbsp;
-<center><table WIDTH="96%" >
-<tr>
-<td><a href="http://www.opencascade.com"><img src="sources/logocorp.gif" BORDER=0 height=46 width=122></a></td>
-
-
-<td>
-<div align=right><a href="http://www.opencascade.org/SALOME/"><img src="sources/application.gif" BORDER=0 height=46 width=108></a></div>
-</td>
-</tr>
-</table></center>
-
-
 </body>
 </html>
index 0a8e93d50b5939b2f769931a2fba6c12458b2b86..88e613d2392388224ab7c6ba85e7aafb73185dac 100755 (executable)
-H1 { text-align: center; }
-CAPTION { font-weight: bold }
+H1 { 
+   text-align: center; 
+}
+
+CAPTION { 
+   font-weight: bold 
+}
+
+/* Link in the top navbar */
 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) }
+
+/* Link to any cross-referenced Doxygen element */
+A.el { 
+   text-decoration: none; 
+   font-weight: bold 
+}
+
+A.elRef { 
+   font-weight: bold 
+}
+
+/* Link to any cross-referenced Doxygen element inside a code section 
+   (ex: header)
+*/
+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 
+}
+
+/* A code fragment (ex: header) */
+DIV.fragment { 
+   width: 100%; 
+   border: none; 
+   background-color: #CCCCCC 
+}
+
+/* In the alpha list (coumpound index), style of an alphabetical index letter */
+DIV.ah { 
+   background-color: #CCCCCC; 
+   font-weight: bold; 
+   color: #ffffff; 
+   margin-bottom: 3px; 
+   margin-top: 3px 
+}
+
+/* Method name (+ type) */
+TD.md { 
+   background-color: lightblue; 
+   font-weight: bold; 
+}
+
+/* Method parameter (some of them) */
+TD.mdname1 { 
+   background-color: lightblue; 
+   font-weight: bold; color: #602020; 
+}
+
+/* Method parameter (some of them) */
+TD.mdname { 
+   background-color: lightblue; 
+   font-weight: bold; 
+   color: #602020; 
+   width: 600px; 
+}
+
+/* Separator between methods group (usually empty, seems not supported by IE) */
+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: #FFFFFF;
+}
+
+/*div.div-page { 
+  background-color: #FFFFFF; 
+  margin-left: 1em;
+  margin-right: 1em;
+  margin-top: 1em;
+  margin-bottom: 0.1em;
+
+  padding-left: 1em;
+  padding-right: 1em;
+  padding-top: 0.5em;
+  padding-bottom: 0.5em;
+
+  border: 2px solid #0D299A; 
+  border-width: 2px;
+  border-color: #0D299A; 
+}*/
+
+div.tabs { 
+  text-align: justify; 
+  margin-left    : 2px;         
+  margin-right   : 2px;  
+  margin-top     : 2px; 
+  margin-bottom  : 2px
+  font-weight: bold;
+  color: #FFFFFF;
+}
+
+DIV.div-footer { 
+  margin-left: 1em;
+  margin-right: 1em;
+  margin-bottom: 0.2em;
+  text-align: right;
+  font-size: 9pt; 
+}
+
+/* In File List, Coumpound List, etc, 1st column of the index */
 TD.indexkey { 
    background-color: #CCCCCC; 
    font-weight: bold; 
@@ -28,6 +146,8 @@ TD.indexkey {
    margin-top     : 2px; 
    margin-bottom  : 2px  
 }
+
+/* In File List, Coumpound List, etc, 2nd column of the index */
 TD.indexvalue { 
    background-color: #CCCCCC; 
    font-style: italic; 
@@ -40,6 +160,7 @@ TD.indexvalue {
    margin-top     : 2px; 
    margin-bottom  : 2px  
 }
+
 span.keyword       { color: #008000 }
 span.keywordtype   { color: #604020 }
 span.keywordflow   { color: #e08000 }
diff --git a/doc/salome/tui/MED/sources/static/tree.js b/doc/salome/tui/MED/sources/static/tree.js
deleted file mode 100755 (executable)
index 6ea5bb6..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-foldersTree = gFld("<b>SALOME v.3.2.0b1 </b>", "", "")
-     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/tree.js.in b/doc/salome/tui/MED/sources/static/tree.js.in
new file mode 100755 (executable)
index 0000000..b4ff341
--- /dev/null
@@ -0,0 +1,20 @@
+foldersTree = gFld("<b>SALOME v.@VERSION@ </b>", "", "")
+     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"))
index 5434c551777382dc0901607a9d6f9b082f724eb1..8c85f6e65b4932e83fa356d07479ff7ace2635db 100644 (file)
@@ -1,6 +1,6 @@
 #  Copyright (C) 2003  CEA/DEN, EDF R&D
 #
-#
+#  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #  File   : Makefile.in
 #  Author : Vasily Rusyaev (Open Cascade NN)
@@ -16,8 +16,10 @@ doxygen=@DOXYGEN@
 
 @COMMENCE@
 
-docs:
+dev_docs:
        cp -fr $(srcdir)/MED ./INPUT; \
+       cp -fr ./MED/doxyfile ./INPUT; \
+       cp -fr ./MED/sources/static/tree.js ./INPUT/sources/static; \
        cd INPUT; \
        sed 's|../../../share/salome|$(root_srcdir)|' ./doxyfile > ./doxyfile1; \
        sed 's|../../build/salome|$(top_builddir)|' ./doxyfile1 > ./doxyfile2; \
index 35b2fbd1a767e016d1660ad664be39caf5993505..776ea172ba7b3698ff493b61797f53bfdbb653d1 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "SALOME_Component.idl"
 #include "MED.idl"
index 613e5aabf9cee8c4833495c040ebffde39ec72ba..eca82a04e7ab39678cf512cb73bc60f32977c6e7 100644 (file)
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 // File: MED.idl
 // Project: SALOME
-// Copyright : CEA/DEN/DMSS/LGLS
 // $Header$
 
 /*!
index ef8fda563d93561031ab733a5b78baeee5cd5e7d..fd335d6e0e8d6cfaa36a281fa700ad02e4231154 100644 (file)
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //=============================================================================
 // File      : Med_Gen.idl
 // Project   : SALOME
-// Copyright : EDF 2001
 //=============================================================================
 
 #ifndef _Med_GEN_IDL_
index a0f1340a8c35c4922e351abbdf2e742205e6ad18..99aa659f33c5d103eea2c0bc29acb5d26a67bd96 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 #
 # generate dependencies for idl file :
 #
diff --git a/resources/ChampsDarcy.med b/resources/ChampsDarcy.med
new file mode 100644 (file)
index 0000000..8777507
Binary files /dev/null and b/resources/ChampsDarcy.med differ
diff --git a/resources/Deff_fdt_5.8_castem_efmh_diff_conc_dom.med b/resources/Deff_fdt_5.8_castem_efmh_diff_conc_dom.med
new file mode 100644 (file)
index 0000000..9ff91f9
Binary files /dev/null and b/resources/Deff_fdt_5.8_castem_efmh_diff_conc_dom.med differ
diff --git a/resources/Deff_fdt_5.8_castem_vf_diff_conc_dom.med b/resources/Deff_fdt_5.8_castem_vf_diff_conc_dom.med
new file mode 100644 (file)
index 0000000..1313a19
Binary files /dev/null and b/resources/Deff_fdt_5.8_castem_vf_diff_conc_dom.med differ
diff --git a/resources/H_CastCast_EFMH_I129_COUPLEX1.med b/resources/H_CastCast_EFMH_I129_COUPLEX1.med
new file mode 100644 (file)
index 0000000..365a371
Binary files /dev/null and b/resources/H_CastCast_EFMH_I129_COUPLEX1.med differ
diff --git a/resources/H_CastCast_VF_I129_COUPLEX1.med b/resources/H_CastCast_VF_I129_COUPLEX1.med
new file mode 100644 (file)
index 0000000..fa87507
Binary files /dev/null and b/resources/H_CastCast_VF_I129_COUPLEX1.med differ
diff --git a/resources/H_CastCast_VF_Se79_COUPLEX1.med b/resources/H_CastCast_VF_Se79_COUPLEX1.med
new file mode 100644 (file)
index 0000000..1dd4b07
Binary files /dev/null and b/resources/H_CastCast_VF_Se79_COUPLEX1.med differ
diff --git a/resources/H_CastPorf_I129_COUPLEX1.med b/resources/H_CastPorf_I129_COUPLEX1.med
new file mode 100644 (file)
index 0000000..b718a4b
Binary files /dev/null and b/resources/H_CastPorf_I129_COUPLEX1.med differ
diff --git a/resources/H_CastPorf_Se79_COUPLEX1.med b/resources/H_CastPorf_Se79_COUPLEX1.med
new file mode 100644 (file)
index 0000000..1f7ec7a
Binary files /dev/null and b/resources/H_CastPorf_Se79_COUPLEX1.med differ
diff --git a/resources/H_PorfCast_EFMH_I129_COUPLEX1.med b/resources/H_PorfCast_EFMH_I129_COUPLEX1.med
new file mode 100644 (file)
index 0000000..ae6a02d
Binary files /dev/null and b/resources/H_PorfCast_EFMH_I129_COUPLEX1.med differ
diff --git a/resources/H_PorfCast_EFMH_Se79_COUPLEX1.med b/resources/H_PorfCast_EFMH_Se79_COUPLEX1.med
new file mode 100644 (file)
index 0000000..9c19937
Binary files /dev/null and b/resources/H_PorfCast_EFMH_Se79_COUPLEX1.med differ
diff --git a/resources/H_PorfPorf_I129_COUPLEX1.med b/resources/H_PorfPorf_I129_COUPLEX1.med
new file mode 100644 (file)
index 0000000..a15c4c8
Binary files /dev/null and b/resources/H_PorfPorf_I129_COUPLEX1.med differ
diff --git a/resources/H_Traces_I129_COUPLEX1.med b/resources/H_Traces_I129_COUPLEX1.med
new file mode 100644 (file)
index 0000000..69bb09b
Binary files /dev/null and b/resources/H_Traces_I129_COUPLEX1.med differ
diff --git a/resources/H_Traces_Se79_COUPLEX1.med b/resources/H_Traces_Se79_COUPLEX1.med
new file mode 100644 (file)
index 0000000..528ae30
Binary files /dev/null and b/resources/H_Traces_Se79_COUPLEX1.med differ
diff --git a/resources/MEDCatalog.xml b/resources/MEDCatalog.xml
deleted file mode 100644 (file)
index d610f69..0000000
+++ /dev/null
@@ -1,159 +0,0 @@
-<?xml version='1.0' encoding='us-ascii' ?>
-<!-- XML component catalog -->
-<begin-catalog>
-
-<!-- Path prefix information -->
-
-<path-prefix-list>
-</path-prefix-list>
-
-<!-- Component list -->
-<component-list>
-       <component>
-               <!-- Component identification -->
-               <component-name>MED</component-name>
-               <component-username>Med</component-username>
-               <component-type>MESH</component-type>
-               <component-author>Patrick GOLDBRONN</component-author>
-               <component-version>3.2.0b1</component-version>
-               <component-comment>MED memory component</component-comment>
-               <component-multistudy>1</component-multistudy>
-               <component-icone>ModuleMed.png</component-icone>
-
-               <!-- component interface list -->
-               <component-interface-list>
-                       <!-- component interface identification -->
-                       <component-interface-name>MED</component-interface-name>
-                       <component-interface-comment>No comment</component-interface-comment>
-
-                       <!-- Component service list-->
-                       <component-service-list>
-                           <component-service>
-                               <service-name>readMeshInFile</service-name>
-                               <service-author>goldbronn</service-author>
-                               <service-version>2.0.0</service-version>
-                               <service-comment>unknown</service-comment>
-                               <service-by-default>0</service-by-default>
-                               <inParameter-list>
-                                   <inParameter>
-                                       <inParameter-name>fileName</inParameter-name>
-                                       <inParameter-type>string</inParameter-type>
-                                       <inParameter-comment>unknown</inParameter-comment>
-                                   </inParameter>
-                                   <inParameter>
-                                       <inParameter-name>studyName</inParameter-name>
-                                       <inParameter-type>string</inParameter-type>
-                                       <inParameter-comment>unknown</inParameter-comment>
-                                   </inParameter>
-                                   <inParameter>
-                                       <inParameter-name>meshName</inParameter-name>
-                                       <inParameter-type>string</inParameter-type>
-                                       <inParameter-comment>unknown</inParameter-comment>
-                                   </inParameter>
-                               </inParameter-list>
-                               <outParameter-list>
-                                   <outParameter>
-                                       <outParameter-name>return</outParameter-name>
-                                       <outParameter-type>MESH</outParameter-type>
-                                       <outParameter-comment>unknown</outParameter-comment>
-                                   </outParameter>
-                               </outParameter-list>
-                               <DataStream-list></DataStream-list>
-                           </component-service>
-                           <component-service>
-                               <service-name>readFieldInFile</service-name>
-                               <service-author>goldbronn</service-author>
-                               <service-version>2.0.0</service-version>
-                               <service-comment>unknown</service-comment>
-                               <service-by-default>0</service-by-default>
-                               <inParameter-list>
-                                   <inParameter>
-                                       <inParameter-name>fileName</inParameter-name>
-                                       <inParameter-type>string</inParameter-type>
-                                       <inParameter-comment>unknown</inParameter-comment>
-                                   </inParameter>
-                                   <inParameter>
-                                       <inParameter-name>studyName</inParameter-name>
-                                       <inParameter-type>string</inParameter-type>
-                                       <inParameter-comment>unknown</inParameter-comment>
-                                   </inParameter>
-                                   <inParameter>
-                                       <inParameter-name>fieldName</inParameter-name>
-                                       <inParameter-type>string</inParameter-type>
-                                       <inParameter-comment>unknown</inParameter-comment>
-                                   </inParameter>
-                                   <inParameter>
-                                       <inParameter-name>ordre</inParameter-name>
-                                       <inParameter-type>long</inParameter-type>
-                                       <inParameter-comment>unknown</inParameter-comment>
-                                   </inParameter>
-                                   <inParameter>
-                                       <inParameter-name>iter</inParameter-name>
-                                       <inParameter-type>long</inParameter-type>
-                                       <inParameter-comment>unknown</inParameter-comment>
-                                   </inParameter>
-                               </inParameter-list>
-                               <outParameter-list>
-                                   <outParameter>
-                                       <outParameter-name>return</outParameter-name>
-                                       <outParameter-type>FIELD</outParameter-type>
-                                       <outParameter-comment>unknown</outParameter-comment>
-                                   </outParameter>
-                               </outParameter-list>
-                               <DataStream-list></DataStream-list>
-                           </component-service>
-                           <component-service>
-                               <service-name>readStructFile</service-name>
-                               <service-author>goldbronn</service-author>
-                               <service-version>2.0.0</service-version>
-                               <service-comment>unknown</service-comment>
-                               <service-by-default>0</service-by-default>
-                               <inParameter-list>
-                                   <inParameter>
-                                       <inParameter-name>fileName</inParameter-name>
-                                       <inParameter-type>string</inParameter-type>
-                                       <inParameter-comment>unknown</inParameter-comment>
-                                   </inParameter>
-                                   <inParameter>
-                                       <inParameter-name>studyName</inParameter-name>
-                                       <inParameter-type>string</inParameter-type>
-                                       <inParameter-comment>unknown</inParameter-comment>
-                                   </inParameter>
-                               </inParameter-list>
-                               <outParameter-list>
-                                   <outParameter>
-                                       <outParameter-name>return</outParameter-name>
-                                       <outParameter-type>MED</outParameter-type>
-                                       <outParameter-comment>unknown</outParameter-comment>
-                                   </outParameter>
-                               </outParameter-list>
-                               <DataStream-list></DataStream-list>
-                           </component-service>
-                           <component-service>
-                               <service-name>readStructFileWithFieldType</service-name>
-                               <service-author>goldbronn</service-author>
-                               <service-version>2.0.0</service-version>
-                               <service-comment>unknown</service-comment>
-                               <service-by-default>0</service-by-default>
-                               <inParameter-list>
-                                   <inParameter>
-                                       <inParameter-name>fileName</inParameter-name>
-                                       <inParameter-type>string</inParameter-type>
-                                       <inParameter-comment>unknown</inParameter-comment>
-                                   </inParameter>
-                                   <inParameter>
-                                       <inParameter-name>studyName</inParameter-name>
-                                       <inParameter-type>string</inParameter-type>
-                                       <inParameter-comment>unknown</inParameter-comment>
-                                   </inParameter>
-                               </inParameter-list>
-                               <outParameter-list></outParameter-list>
-                               <DataStream-list></DataStream-list>
-                           </component-service>
-                       </component-service-list>
-               </component-interface-list>
-        <!-- <constraint>hostname = localhost</constraint> -->
-        </component>
-</component-list>
-</begin-catalog>
diff --git a/resources/MEDCatalog.xml.in b/resources/MEDCatalog.xml.in
new file mode 100644 (file)
index 0000000..136c99e
--- /dev/null
@@ -0,0 +1,159 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+<!-- XML component catalog -->
+<begin-catalog>
+
+<!-- Path prefix information -->
+
+<path-prefix-list>
+</path-prefix-list>
+
+<!-- Component list -->
+<component-list>
+       <component>
+               <!-- Component identification -->
+               <component-name>MED</component-name>
+               <component-username>Med</component-username>
+               <component-type>MESH</component-type>
+               <component-author>Patrick GOLDBRONN</component-author>
+               <component-version>@VERSION@</component-version>
+               <component-comment>MED memory component</component-comment>
+               <component-multistudy>1</component-multistudy>
+               <component-icone>ModuleMed.png</component-icone>
+
+               <!-- component interface list -->
+               <component-interface-list>
+                       <!-- component interface identification -->
+                       <component-interface-name>MED</component-interface-name>
+                       <component-interface-comment>No comment</component-interface-comment>
+
+                       <!-- Component service list-->
+                       <component-service-list>
+                           <component-service>
+                               <service-name>readMeshInFile</service-name>
+                               <service-author>goldbronn</service-author>
+                               <service-version>2.0.0</service-version>
+                               <service-comment>unknown</service-comment>
+                               <service-by-default>0</service-by-default>
+                               <inParameter-list>
+                                   <inParameter>
+                                       <inParameter-name>fileName</inParameter-name>
+                                       <inParameter-type>string</inParameter-type>
+                                       <inParameter-comment>unknown</inParameter-comment>
+                                   </inParameter>
+                                   <inParameter>
+                                       <inParameter-name>studyName</inParameter-name>
+                                       <inParameter-type>string</inParameter-type>
+                                       <inParameter-comment>unknown</inParameter-comment>
+                                   </inParameter>
+                                   <inParameter>
+                                       <inParameter-name>meshName</inParameter-name>
+                                       <inParameter-type>string</inParameter-type>
+                                       <inParameter-comment>unknown</inParameter-comment>
+                                   </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                   <outParameter>
+                                       <outParameter-name>return</outParameter-name>
+                                       <outParameter-type>MESH</outParameter-type>
+                                       <outParameter-comment>unknown</outParameter-comment>
+                                   </outParameter>
+                               </outParameter-list>
+                               <DataStream-list></DataStream-list>
+                           </component-service>
+                           <component-service>
+                               <service-name>readFieldInFile</service-name>
+                               <service-author>goldbronn</service-author>
+                               <service-version>2.0.0</service-version>
+                               <service-comment>unknown</service-comment>
+                               <service-by-default>0</service-by-default>
+                               <inParameter-list>
+                                   <inParameter>
+                                       <inParameter-name>fileName</inParameter-name>
+                                       <inParameter-type>string</inParameter-type>
+                                       <inParameter-comment>unknown</inParameter-comment>
+                                   </inParameter>
+                                   <inParameter>
+                                       <inParameter-name>studyName</inParameter-name>
+                                       <inParameter-type>string</inParameter-type>
+                                       <inParameter-comment>unknown</inParameter-comment>
+                                   </inParameter>
+                                   <inParameter>
+                                       <inParameter-name>fieldName</inParameter-name>
+                                       <inParameter-type>string</inParameter-type>
+                                       <inParameter-comment>unknown</inParameter-comment>
+                                   </inParameter>
+                                   <inParameter>
+                                       <inParameter-name>ordre</inParameter-name>
+                                       <inParameter-type>long</inParameter-type>
+                                       <inParameter-comment>unknown</inParameter-comment>
+                                   </inParameter>
+                                   <inParameter>
+                                       <inParameter-name>iter</inParameter-name>
+                                       <inParameter-type>long</inParameter-type>
+                                       <inParameter-comment>unknown</inParameter-comment>
+                                   </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                   <outParameter>
+                                       <outParameter-name>return</outParameter-name>
+                                       <outParameter-type>FIELD</outParameter-type>
+                                       <outParameter-comment>unknown</outParameter-comment>
+                                   </outParameter>
+                               </outParameter-list>
+                               <DataStream-list></DataStream-list>
+                           </component-service>
+                           <component-service>
+                               <service-name>readStructFile</service-name>
+                               <service-author>goldbronn</service-author>
+                               <service-version>2.0.0</service-version>
+                               <service-comment>unknown</service-comment>
+                               <service-by-default>0</service-by-default>
+                               <inParameter-list>
+                                   <inParameter>
+                                       <inParameter-name>fileName</inParameter-name>
+                                       <inParameter-type>string</inParameter-type>
+                                       <inParameter-comment>unknown</inParameter-comment>
+                                   </inParameter>
+                                   <inParameter>
+                                       <inParameter-name>studyName</inParameter-name>
+                                       <inParameter-type>string</inParameter-type>
+                                       <inParameter-comment>unknown</inParameter-comment>
+                                   </inParameter>
+                               </inParameter-list>
+                               <outParameter-list>
+                                   <outParameter>
+                                       <outParameter-name>return</outParameter-name>
+                                       <outParameter-type>MED</outParameter-type>
+                                       <outParameter-comment>unknown</outParameter-comment>
+                                   </outParameter>
+                               </outParameter-list>
+                               <DataStream-list></DataStream-list>
+                           </component-service>
+                           <component-service>
+                               <service-name>readStructFileWithFieldType</service-name>
+                               <service-author>goldbronn</service-author>
+                               <service-version>2.0.0</service-version>
+                               <service-comment>unknown</service-comment>
+                               <service-by-default>0</service-by-default>
+                               <inParameter-list>
+                                   <inParameter>
+                                       <inParameter-name>fileName</inParameter-name>
+                                       <inParameter-type>string</inParameter-type>
+                                       <inParameter-comment>unknown</inParameter-comment>
+                                   </inParameter>
+                                   <inParameter>
+                                       <inParameter-name>studyName</inParameter-name>
+                                       <inParameter-type>string</inParameter-type>
+                                       <inParameter-comment>unknown</inParameter-comment>
+                                   </inParameter>
+                               </inParameter-list>
+                               <outParameter-list></outParameter-list>
+                               <DataStream-list></DataStream-list>
+                           </component-service>
+                       </component-service-list>
+               </component-interface-list>
+        <!-- <constraint>hostname = localhost</constraint> -->
+        </component>
+</component-list>
+</begin-catalog>
diff --git a/resources/darcy2_Castem_EFMH.med b/resources/darcy2_Castem_EFMH.med
new file mode 100644 (file)
index 0000000..139d117
Binary files /dev/null and b/resources/darcy2_Castem_EFMH.med differ
diff --git a/resources/darcy2_Castem_qua_EFMH.med b/resources/darcy2_Castem_qua_EFMH.med
new file mode 100644 (file)
index 0000000..7d695bc
Binary files /dev/null and b/resources/darcy2_Castem_qua_EFMH.med differ
diff --git a/resources/darcy2_Castem_qua_VF.med b/resources/darcy2_Castem_qua_VF.med
new file mode 100644 (file)
index 0000000..71d207b
Binary files /dev/null and b/resources/darcy2_Castem_qua_VF.med differ
diff --git a/resources/darcy_1.1_res.med b/resources/darcy_1.1_res.med
new file mode 100644 (file)
index 0000000..7850f75
Binary files /dev/null and b/resources/darcy_1.1_res.med differ
diff --git a/resources/darcy_1.3_resCASTEM.med b/resources/darcy_1.3_resCASTEM.med
new file mode 100644 (file)
index 0000000..559a73b
Binary files /dev/null and b/resources/darcy_1.3_resCASTEM.med differ
diff --git a/resources/darcy_1.3_resPORFLOW.med b/resources/darcy_1.3_resPORFLOW.med
new file mode 100644 (file)
index 0000000..3a6c749
Binary files /dev/null and b/resources/darcy_1.3_resPORFLOW.med differ
diff --git a/resources/darcy_1.3_resTRACES.med b/resources/darcy_1.3_resTRACES.med
new file mode 100644 (file)
index 0000000..828a6bc
Binary files /dev/null and b/resources/darcy_1.3_resTRACES.med differ
diff --git a/resources/extendedtransport53_triangles.med b/resources/extendedtransport53_triangles.med
new file mode 100644 (file)
index 0000000..32f44ce
Binary files /dev/null and b/resources/extendedtransport53_triangles.med differ
diff --git a/resources/maillage_5_5_5.med b/resources/maillage_5_5_5.med
new file mode 100644 (file)
index 0000000..82a45af
Binary files /dev/null and b/resources/maillage_5_5_5.med differ
diff --git a/resources/maillage_chemvalIV_cas1_40elts.med b/resources/maillage_chemvalIV_cas1_40elts.med
new file mode 100644 (file)
index 0000000..0aa5ec5
Binary files /dev/null and b/resources/maillage_chemvalIV_cas1_40elts.med differ
index e8eca6c02e0bd00f24f7741b88cbd603d8210f04..18c7a523c2a10cfb3a779416750e7169734d21f3 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 # ifndef INTERPOLATION_HXX
 # define INTERPOLATION_HXX
index b3f15452070ff932160212b6c91a318df2448390..50d0392c569904e4fe9f227b63fb8a4e0294862d 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MEDMEM_INTERPOLATION_HIGHLEVEL_OBJECTS_HXX
 #define MEDMEM_INTERPOLATION_HIGHLEVEL_OBJECTS_HXX
index 2ed3c3a98c12b10c01efc1140995cfcb08245ea3..7ece5db5de1075c176c5aaa2cccb1126a95e64f7 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MEDMEM_INTERPOLATION_TOOLS_HXX
 #define MEDMEM_INTERPOLATION_TOOLS_HXX
index 99710f931679ddcf7204cd9a1ef6f84079eef1c0..5c38fa00e909047d2795f29d2710de223e2ff885 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MEDMEM_MAPPING_HXX
 #define MEDMEM_MAPPING_HXX
index b0e84f314fe8a16554eb2f9f64861cff5a6712a9..e12c1fe59f1f5cd6f4677e9ebd1d5098f20e2559 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef COORDONNEES_BARYCENTRIQUES_HPP
 #define COORDONNEES_BARYCENTRIQUES_HPP
index c37fafc735b1422fe462ee9280556d4546827d44..32fb190594731b024f4e125fff92e5040e498144 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef WRAPPERS_CELLS_HXX
 #define WRAPPERS_CELLS_HXX
index c67208a54bf657c831474b3434e9081a92d14573..b771699f4cc1fa40ae337160523c45cf24703157 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MEDMEM_WRAPPER_CONNECTIVITY_HXX
 #define MEDMEM_WRAPPER_CONNECTIVITY_HXX
index 2e3b3d7046ab53781f650419658b4f1d1f06a337..37ecb7d594acfe266db6215889f9f8631d8676b5 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MEDMEM_WRAPPER_FIELD_HXX
 #define MEDMEM_WRAPPER_FIELD_HXX
index 6f8fe2dd2f67b6736233e180981973613f4ba804..918c679654257d9d49be34446084993f822fa082 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MEDMEM_WRAPPER_MESH_HXX
 #define MEDMEM_WRAPPER_MESH_HXX
index 5aae6e1ecd079380fd4313bf5876645593987899..4e40cf4e94f75ac467eeb5acd367e0c03672c1f0 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #ifndef MEDMEM_WRAPPER_NODES_HXX
index 26a956715f31ac5041d377bc538183a9b1f1d5e6..4eeb5b92530674f2af584b35a0b81335bff48f7a 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MEDMEM_DTREE_HXX
 #define MEDMEM_DTREE_HXX
index 530b73d31820e47b38a771dbec7634fea77286f7..a23ddc63d8e8caf6d3f951c0b99b8a11cfcb36d6 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef SOMMET_HPP
 #define SOMMET_HPP
index 50683a71616bf120bdf703359a2e895e6fb51c7a..158d7fded83d9f29d37b818b4f26ea5a8eea03af 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index e60045f3c93c913709714b3ff6123bed4746bb4c..753ddaf2cc98fcb3f8faabbcd739eeee11c5e1fc 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Exception.hxx"
 #include "MEDMEM_define.hxx"
index 46410fd3885868b4ed7d2333f90540e8c574d39a..99e14362fe95eb96ba94bcd4ba33e9842472c391 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Exception.hxx"
 #include "MEDMEM_define.hxx"
index a97d19acdf8325a77ac888974c4567dc5041dae6..8a67dafbccd00d11db2a2e799e28c3ff1517eb1f 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "stdio.h"
 #include "stdlib.h"
index 6d834046af52a325639a46c14244982df95004e3..cf866f6ab79c70243325130561144aebc2ce2da8 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "stdio.h"
 #include "stdlib.h"
index 11c5411ccf00b8e209ddb9366d5afa69c9d1025d..8e2902d32280f2af4c585161a4825823f364cee7 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "stdio.h"
 #include "stdlib.h"
index 3c712aabfcb0b0ea0a2695d256514a4b129f65d3..46f28426010a040ef515f13534981bce4afcd212 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #include <med.h>
 #include <string.h>
 
index d5b6ba2fa727dbc72e0793854203dbacea2401c8..74860bdf8e42f4be07daf59b8ed3b36bc7ce0830 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Exception.hxx"
 #include "MEDMEM_define.hxx"
index 4ac1cd248b7e0a42b4e05c314f3fc1f13d4a988b..8a89585b1e9b21942edddf7a4cd875f4cec2c663 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Exception.hxx"
 #include "MEDMEM_define.hxx"
index bd4ef234bd810d34f489d218d5c3ad0e0e76a42d..851715bcc5611d9a9ff6a3c2e55739f4b19abfea 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Exception.hxx"
 #include "MEDMEM_define.hxx"
index 211bd4c48f3e293893ab51e9990f7ea3cfc7866b..d6534213a0ba9e54add8401f31e1884566c491d7 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Exception.hxx"
 #include "MEDMEM_define.hxx"
index ae1eaead523b2cc4a355eacafcabb7abdacc0bc8..4985f27f63d7deaeaecab36b163d6d3f8b6e19ec 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Exception.hxx"
 #include "MEDMEM_define.hxx"
index 464297cef506465c0ce237da6e74448568f08466..69fbbb95f6a52ca9ca6b0fb719bba76082e8fb01 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Exception.hxx"
 #include "MEDMEM_define.hxx"
index c2c342d494b0d06ceb97d3f6756e1a446587bdcd..b955ee19b3b4670272d004a4ef6b9b7119ea565b 100755 (executable)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index 946583ead612c1335c133270ef85dab5c6690c48..152d671355d456e9074567c8741dc69e53cb5a36 100755 (executable)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index 5a4598675d6abcac73dd2a860cd85d65e1226f92..07cbff46e87e3e9fcdcdc52762b7113c33ec38a0 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 #
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
@@ -33,7 +33,7 @@ VPATH=.:$(srcdir):$(top_srcdir)/idl:$(top_builddir)/idl
 
 @COMMENCE@
 
-EXPORT_PYSCRIPTS =  MED_test1.py MED_test2.py Med_Gen_test.py
+EXPORT_PYSCRIPTS =  MED_test1.py MED_test2.py Med_Gen_test.py testMedAlliances.py testMedAlliances1.py
 
 # Libraries targets
 
index e95211da5a5e7389aa0899751ddf65638f17240b..430cfd9325ec79f6b1afb0c752e0b91c4583a142 100755 (executable)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 2cf3719c9517196c8c6758618669873b3878e528..e5a61657fc8257c46044c50bfee9cec882613570 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 750ab9a68abcefae6add8909d3990d336fa55683..98616fad0db3398494205002c14ab83196382f39 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 ####################################################################################################
 #
 # Test the Med Component: mounting in Memory a .med file and trying to get information through
diff --git a/src/MED/testMedAlliances.py b/src/MED/testMedAlliances.py
new file mode 100755 (executable)
index 0000000..f18dad3
--- /dev/null
@@ -0,0 +1,138 @@
+import salome
+import SALOME
+import os
+
+filePath=os.environ["MED_ROOT_DIR"]
+filePath=filePath+"/share/salome/resources/"
+
+import string
+
+import SALOME_MED
+
+from libSALOME_Swig import *
+sg = SALOMEGUI_Swig()
+
+def print_ord(i):
+    if i == 0:
+        return 'first'
+    elif i == 1:
+        return 'second'
+    elif i == 2:
+        return 'third'
+    else:
+        return `(i+1)`+'th'
+
+def changeBlankToUnderScore(stringWithBlank):
+    blank = ' '
+    underscore = '_'
+    decompString = string.split(stringWithBlank,blank)
+    length = len(decompString)
+    stringWithUnderScore = decompString[0]
+    for i in range(1,length):
+        stringWithUnderScore += underscore
+        stringWithUnderScore += decompString[i]
+    return stringWithUnderScore
+
+def getMedObjectFromStudy(file):
+    objNameInStudy = "MED_OBJECT_FROM_FILE_"+file
+    compNameInStudy= "MED"
+    listOfSO = salome.myStudy.FindObjectByName(objNameInStudy,compNameInStudy)
+    listLength = len(listOfSO)
+    if (listLength == 0) :
+        print objNameInStudy," cannot be found in the Study under the component ",compNameInStudy
+        return None
+    elif (listLength > 1) :
+        print "there are more than one instance of ",objNameInStudy," in the Study under the component ",compNameInStudy
+        return None
+    mySO = listOfSO[0]
+    if (mySO == None) :
+        print objNameInStudy," cannot be found in the Study"
+        return mySO
+    else:
+        anAttr = mySO.FindAttribute("AttributeIOR")[1]
+        obj = salome.orb.string_to_object(anAttr.Value())
+        myObj = obj._narrow(SALOME_MED.MED)
+        if (myObj == None) :
+            print objNameInStudy," has been found in the Study but with the wrong type"
+        return myObj
+
+def getMeshObjectFromStudy(meshName):
+    objNameInStudy = "/Med/MEDMESH/"+meshName
+    mySO = salome.myStudy.FindObjectByPath(objNameInStudy)
+    if (mySO == None) :
+        print objNameInStudy," cannot be found in the Study"
+        return mySO
+    else:
+        anAttr = mySO.FindAttribute("AttributeIOR")[1]
+        obj = salome.orb.string_to_object(anAttr.Value())
+        myObj = obj._narrow(SALOME_MED.MESH)
+        if (myObj == None) :
+            print objNameInStudy," has been found in the Study but with the wrong type"
+        return myObj
+
+def getSupportObjectFromStudy(meshName,supportName):
+    meshNameStudy = changeBlankToUnderScore(meshName)
+    objNameInStudy = "/Med/MEDMESH/MEDSUPPORTS_OF_"+meshNameStudy+"/"+supportName
+    mySO = salome.myStudy.FindObjectByPath(objNameInStudy)
+    if (mySO == None) :
+        print objNameInStudy," cannot be found in the Study"
+        return mySO
+    else:
+        anAttr = mySO.FindAttribute("AttributeIOR")[1]
+        obj = salome.orb.string_to_object(anAttr.Value())
+        myObj = obj._narrow(SALOME_MED.SUPPORT)
+        if (myObj == None) :
+            print objNameInStudy," has been found in the Study but with the wrong type"
+        return myObj
+
+def getFieldObjectFromStudy(dt,it,fieldName,supportName,meshName):
+    meshNameStudy = changeBlankToUnderScore(meshName)
+    objNameInStudy = "/Med/MEDFIELD/"+fieldName+"/("+str(dt)+","+str(it)+")_ON_"+supportName+"_OF_"+meshNameStudy
+    mySO = salome.myStudy.FindObjectByPath(objNameInStudy)
+    if (mySO == None) :
+        print objNameInStudy," cannot be found in the Study"
+        return mySO
+    else:
+        anAttr = mySO.FindAttribute("AttributeIOR")[1]
+        obj = salome.orb.string_to_object(anAttr.Value())
+        myObj = obj._narrow(SALOME_MED.FIELDINT)
+        if (myObj == None):
+            myObj = obj._narrow(SALOME_MED.FIELDDOUBLE)
+            if (myObj == None) :
+                print objNameInStudy," has been found in the Study but with the wrong type"
+        return myObj
+
+medFiles = []
+medFiles.append("ChampsDarcy.med")
+medFiles.append("darcy_1.1_res.med")
+medFiles.append("darcy_1.3_resCASTEM.med")
+medFiles.append("darcy_1.3_resPORFLOW.med")
+medFiles.append("darcy_1.3_resTRACES.med")
+medFiles.append("darcy2_Castem_EFMH.med")
+medFiles.append("darcy2_Castem_qua_EFMH.med")
+medFiles.append("darcy2_Castem_qua_VF.med")
+medFiles.append("Deff_fdt_5.8_castem_efmh_diff_conc_dom.med")
+medFiles.append("Deff_fdt_5.8_castem_vf_diff_conc_dom.med")
+medFiles.append("extendedtransport53_triangles.med")
+medFiles.append("H_CastCast_EFMH_I129_COUPLEX1.med")
+medFiles.append("H_CastCast_VF_I129_COUPLEX1.med")
+medFiles.append("H_CastCast_VF_Se79_COUPLEX1.med")
+medFiles.append("H_CastPorf_I129_COUPLEX1.med")
+medFiles.append("H_CastPorf_Se79_COUPLEX1.med")
+medFiles.append("H_PorfCast_EFMH_I129_COUPLEX1.med")
+medFiles.append("H_PorfCast_EFMH_Se79_COUPLEX1.med")
+medFiles.append("H_PorfPorf_I129_COUPLEX1.med")
+medFiles.append("H_Traces_I129_COUPLEX1.med")
+medFiles.append("H_Traces_Se79_COUPLEX1.med")
+medFiles.append("maillage_5_5_5.med")
+medFiles.append("maillage_chemvalIV_cas1_40elts.med")
+
+nbOfFiles = len(medFiles)
+
+med=salome.lcc.FindOrLoadComponent("FactoryServer", "MED")
+
+for i in range(nbOfFiles):
+  medFile = filePath + medFiles[i]
+  med.readStructFile(medFile,salome.myStudyName)
+
+print "END of the Pyhton script ..... Ctrl D to exit"
diff --git a/src/MED/testMedAlliances1.py b/src/MED/testMedAlliances1.py
new file mode 100755 (executable)
index 0000000..e4e0c4e
--- /dev/null
@@ -0,0 +1,138 @@
+import salome
+import SALOME
+import os
+
+filePath=os.environ["MED_ROOT_DIR"]
+filePath=filePath+"/share/salome/resources/"
+
+import string
+
+import SALOME_MED
+
+from libSALOME_Swig import *
+sg = SALOMEGUI_Swig()
+
+def print_ord(i):
+    if i == 0:
+        return 'first'
+    elif i == 1:
+        return 'second'
+    elif i == 2:
+        return 'third'
+    else:
+        return `(i+1)`+'th'
+
+def changeBlankToUnderScore(stringWithBlank):
+    blank = ' '
+    underscore = '_'
+    decompString = string.split(stringWithBlank,blank)
+    length = len(decompString)
+    stringWithUnderScore = decompString[0]
+    for i in range(1,length):
+        stringWithUnderScore += underscore
+        stringWithUnderScore += decompString[i]
+    return stringWithUnderScore
+
+def getMedObjectFromStudy(file):
+    objNameInStudy = "MED_OBJECT_FROM_FILE_"+file
+    compNameInStudy= "MED"
+    listOfSO = salome.myStudy.FindObjectByName(objNameInStudy,compNameInStudy)
+    listLength = len(listOfSO)
+    if (listLength == 0) :
+        print objNameInStudy," cannot be found in the Study under the component ",compNameInStudy
+        return None
+    elif (listLength > 1) :
+        print "there are more than one instance of ",objNameInStudy," in the Study under the component ",compNameInStudy
+        return None
+    mySO = listOfSO[0]
+    if (mySO == None) :
+        print objNameInStudy," cannot be found in the Study"
+        return mySO
+    else:
+        anAttr = mySO.FindAttribute("AttributeIOR")[1]
+        obj = salome.orb.string_to_object(anAttr.Value())
+        myObj = obj._narrow(SALOME_MED.MED)
+        if (myObj == None) :
+            print objNameInStudy," has been found in the Study but with the wrong type"
+        return myObj
+
+def getMeshObjectFromStudy(meshName):
+    objNameInStudy = "/Med/MEDMESH/"+meshName
+    mySO = salome.myStudy.FindObjectByPath(objNameInStudy)
+    if (mySO == None) :
+        print objNameInStudy," cannot be found in the Study"
+        return mySO
+    else:
+        anAttr = mySO.FindAttribute("AttributeIOR")[1]
+        obj = salome.orb.string_to_object(anAttr.Value())
+        myObj = obj._narrow(SALOME_MED.MESH)
+        if (myObj == None) :
+            print objNameInStudy," has been found in the Study but with the wrong type"
+        return myObj
+
+def getSupportObjectFromStudy(meshName,supportName):
+    meshNameStudy = changeBlankToUnderScore(meshName)
+    objNameInStudy = "/Med/MEDMESH/MEDSUPPORTS_OF_"+meshNameStudy+"/"+supportName
+    mySO = salome.myStudy.FindObjectByPath(objNameInStudy)
+    if (mySO == None) :
+        print objNameInStudy," cannot be found in the Study"
+        return mySO
+    else:
+        anAttr = mySO.FindAttribute("AttributeIOR")[1]
+        obj = salome.orb.string_to_object(anAttr.Value())
+        myObj = obj._narrow(SALOME_MED.SUPPORT)
+        if (myObj == None) :
+            print objNameInStudy," has been found in the Study but with the wrong type"
+        return myObj
+
+def getFieldObjectFromStudy(dt,it,fieldName,supportName,meshName):
+    meshNameStudy = changeBlankToUnderScore(meshName)
+    objNameInStudy = "/Med/MEDFIELD/"+fieldName+"/("+str(dt)+","+str(it)+")_ON_"+supportName+"_OF_"+meshNameStudy
+    mySO = salome.myStudy.FindObjectByPath(objNameInStudy)
+    if (mySO == None) :
+        print objNameInStudy," cannot be found in the Study"
+        return mySO
+    else:
+        anAttr = mySO.FindAttribute("AttributeIOR")[1]
+        obj = salome.orb.string_to_object(anAttr.Value())
+        myObj = obj._narrow(SALOME_MED.FIELDINT)
+        if (myObj == None):
+            myObj = obj._narrow(SALOME_MED.FIELDDOUBLE)
+            if (myObj == None) :
+                print objNameInStudy," has been found in the Study but with the wrong type"
+        return myObj
+
+medFiles = []
+medFiles.append("ChampsDarcy.med")
+medFiles.append("darcy_1.1_res.med")
+medFiles.append("darcy_1.3_resCASTEM.med")
+medFiles.append("darcy_1.3_resPORFLOW.med")
+medFiles.append("darcy_1.3_resTRACES.med")
+medFiles.append("darcy2_Castem_EFMH.med")
+medFiles.append("darcy2_Castem_qua_EFMH.med")
+medFiles.append("darcy2_Castem_qua_VF.med")
+medFiles.append("Deff_fdt_5.8_castem_efmh_diff_conc_dom.med")
+medFiles.append("Deff_fdt_5.8_castem_vf_diff_conc_dom.med")
+medFiles.append("extendedtransport53_triangles.med")
+medFiles.append("H_CastCast_EFMH_I129_COUPLEX1.med")
+medFiles.append("H_CastCast_VF_I129_COUPLEX1.med")
+medFiles.append("H_CastCast_VF_Se79_COUPLEX1.med")
+medFiles.append("H_CastPorf_I129_COUPLEX1.med")
+medFiles.append("H_CastPorf_Se79_COUPLEX1.med")
+medFiles.append("H_PorfCast_EFMH_I129_COUPLEX1.med")
+medFiles.append("H_PorfCast_EFMH_Se79_COUPLEX1.med")
+medFiles.append("H_PorfPorf_I129_COUPLEX1.med")
+medFiles.append("H_Traces_I129_COUPLEX1.med")
+medFiles.append("H_Traces_Se79_COUPLEX1.med")
+medFiles.append("maillage_5_5_5.med")
+medFiles.append("maillage_chemvalIV_cas1_40elts.med")
+
+nbOfFiles = len(medFiles)
+
+med=salome.lcc.FindOrLoadComponent("FactoryServer", "MED")
+
+for i in range(nbOfFiles):
+  medFile = filePath + medFiles[i]
+  med.readStructFileWithFieldType(medFile,salome.myStudyName)
+
+print "END of the Pyhton script ..... Ctrl D to exit"
index 0620063fb45d2ac25cb1320b454cd93a8c427bca..51911bdfa958ef468351fc220cb585a6e056c8bb 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index 5e94cabbeb3cbbb5df049d64a2ba38f9dfa29081..c74756afcc0f979c9cd3400b3928cf5f639d3ceb 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index 3ad78ec6d12059f3bcdfd5106fa2ac88050fc1d8..dbd99fc0a1b96c53fa634550c16ebcf7022035f7 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index 920db6059b85ed5726076920f84692b5f72df3cd..600ee4fb4fc3a39a36b2dbc56a113922d92ce5b0 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 #
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index b0f2cf40fce7c3d070fff26390ec1fb56a2d0a14..916a12a3d6312eaa0759a844b2e6a1c381ea4b66 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index c6c3fabe264db0e8498ab0443b533e9e87af7db6..c555b748ba71fc2b200627cf085c92e99d8a02d1 100644 (file)
@@ -2,7 +2,7 @@
 //
 //  Copyright (C) 2003  CEA/DEN, EDF R&D
 //
-//
+//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //  File   : MEDGUI.h
 //  Module : MED
index e65a3cd04d28970748bbe576efe1d6d28502b67d..7f092825040d4f01db996016a38ad6cfc11b437a 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #include "MedGUI_Selection.h"
index 7c9a7c73eeec97141bc647a34fe9ec0e4739de40..9d14bb947a1e3699b2441d48d14f4e927fdb43b0 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 90faa0ae21f7f011805600e82c0ccf8eaadb5991..4e421b7720c8a2ae1e46b5aed5abcb1f064ab822 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index ecf163058d0cf9c8d49a4f4e9e20eebc0a51c3da..53f2958a9304b7c0f1282425e9b41700f6bf8b09 100755 (executable)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index 26101b85a453ccf34fe8e13b51bb4f48c699c0d9..f4620d7e640373a89c2a2bff2c51ac7b17542438 100755 (executable)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index 52acaa46d3ea2e95de2698329dfde572abcc5103..2793843629a616bfced78c4ed7c3a243098418d6 100755 (executable)
@@ -15,7 +15,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index f2e643b8596197341ffd3236d14eded00d2ffedf..b727dc5887a9857be8165c514298b404848a3b90 100644 (file)
@@ -4,7 +4,7 @@
 # General configuration options
 #---------------------------------------------------------------------------
 PROJECT_NAME           = "Med Memory Developpers'"
-PROJECT_NUMBER         = 3.2.0
+PROJECT_NUMBER         = @VERSION@
 OUTPUT_DIRECTORY       = doc_ref_devel
 OUTPUT_LANGUAGE        = English
 EXTRACT_ALL            = YES
index 89da816cad0dfdd2135b540090579b96027e198b..23fd40fcc7f9c73aec15c4d3665f041e8dfd5bdd 100644 (file)
@@ -4,7 +4,7 @@
 # General configuration options
 #---------------------------------------------------------------------------
 PROJECT_NAME           = "Med Memory Users'"
-PROJECT_NUMBER         = 3.2.0
+PROJECT_NUMBER         = @VERSION@
 OUTPUT_DIRECTORY       = doc_ref_user
 OUTPUT_LANGUAGE        = English
 EXTRACT_ALL            = YES
index 477b569c761f7919f8604e965927395cbb7ec3f4..65dd5a21fdfe0cf1d8cfa62ed653e5f7e44db2ce 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef __MEDARRAY_H__
 #define __MEDARRAY_H__
index 717425738362f7754394245b1b31301752c6f895..85749787efba9272a70ce3a7e3ba1529b9e3e0b5 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef MEDMEM_ARRAY_CONVERT_HXX
 #define MEDMEM_ARRAY_CONVERT_HXX
 
index d82d6cdf60e37f355df2afb0cda1ebf93ab6bacc..7d64f7a4910cb10f717eddba309c0cd475a2709e 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef MEDMEM_ARRAYINTERFACE_HXX
 #define MEDMEM_ARRAYINTERFACE_HXX
 
index 0bdc2070f41e5c24dd1e18eda41483938e8f822d..4a871b8c52b10ae9e0658ecbceed7641c0ce768f 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef ASCII_FIELD_DRIVER_HXX
 #define ASCII_FIELD_DRIVER_HXX
index 96d9822e0e6fc0f41fc64f9c57f294763c5f9045..7b339360942b5bc96a68ce29a14a4d390ca01b58 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
  File MEDMEM_CellModel.cxx
index f465b804f6974cadcd598ee2c3062ccd6fa4a785..ede10661d4ed76bfb04e81b3a8e9da52e7847842 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
  File MEDMEM_CellModel.hxx
index 117f6708c29cc59d19772c7bf2303ace352dc910..66b1b854e0c55f0bd0c23023e3c9365884a10b44 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
   Include file managing the compatibility
index 7981226af72c609fd4e7ebfaece6b9b5a5af389a..c8a4bdab02c0c20f3062048e4f82580e6ddc1939 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Connectivity.hxx"
 #include "MEDMEM_Family.hxx"
@@ -651,7 +651,6 @@ const int * CONNECTIVITY::getConnectivityIndex(medConnectivity ConnectivityType,
 //-----------------------------------------------------------------------------------------------//
 {
   const char * LOC = "CONNECTIVITY::getConnectivityIndex";
-  BEGIN_OF(LOC);
 
   MEDSKYLINEARRAY * Connectivity;
   if (Entity==_entity) {
@@ -741,15 +740,24 @@ const int* CONNECTIVITY::getPolygonsConnectivityIndex(medConnectivity Connectivi
 /*! We suppose in this method that nodal and descending connectivities
   are coherent.*/
 //-------------------------------------------------------------//
-int CONNECTIVITY::getNumberOfPolygons() const
+int CONNECTIVITY::getNumberOfPolygons(MED_EN::medEntityMesh Entity) const
 //-------------------------------------------------------------//
 {
-  if (_polygonsNodal != (MEDSKYLINEARRAY*) NULL)
-    return _polygonsNodal->getNumberOf();
-  else if (_polygonsDescending != (MEDSKYLINEARRAY*) NULL)
-    return _polygonsDescending->getNumberOf();
+  if(Entity==MED_ALL_ENTITIES || Entity==_entity )
+    {
+      if (_polygonsNodal != (MEDSKYLINEARRAY*) NULL)
+       return _polygonsNodal->getNumberOf();
+      else if (_polygonsDescending != (MEDSKYLINEARRAY*) NULL)
+       return _polygonsDescending->getNumberOf();
+      else
+       return 0;
+    }
   else
-    return 0;
+    {
+      if (_constituent == (CONNECTIVITY*) NULL)
+       throw MEDEXCEPTION("getNumberOfPolygons : Entity not found !");
+      return _constituent->getNumberOfPolygons(Entity);
+    }
 }
 
 
index 57f8b61e2c075c4d1869cddad407bf90150b08b5..25722efc564de16fdcb5cae5a43e027da6d81bfd 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef CONNECTIVITY_HXX
 #define CONNECTIVITY_HXX
 #include "MEDMEM_Exception.hxx"
 #include "MEDMEM_define.hxx"
 #include "MEDMEM_PolyhedronArray.hxx"
+#include "MEDMEM_CellModel.hxx"
 
 namespace MEDMEM {
 class MEDSKYLINEARRAY;
-class CELLMODEL;
-class FAMILY;
+ class FAMILY;
 class GROUP;
 
 /*!
@@ -243,7 +243,7 @@ public:
                                              MED_EN::medEntityMesh Entity);
   virtual const int* getPolygonsConnectivityIndex(MED_EN::medConnectivity ConnectivityType,
                                                   MED_EN::medEntityMesh Entity);
-  virtual int getNumberOfPolygons() const;
+  virtual int getNumberOfPolygons(MED_EN::medEntityMesh Entity=MED_EN::MED_ALL_ENTITIES) const;
   virtual const int* getPolyhedronConnectivity(MED_EN::medConnectivity ConnectivityType) const;
   virtual const int* getPolyhedronFacesIndex() const;
   virtual const int* getPolyhedronIndex(MED_EN::medConnectivity ConnectivityType) const;
@@ -254,6 +254,8 @@ public:
   const CELLMODEL &   getType              (MED_EN::medGeometryElement Type) const;
   const CELLMODEL *   getCellsTypes        (MED_EN::medEntityMesh Entity)    const
                                            throw (MEDEXCEPTION);
+  string * getCellTypeNames (MED_EN::medEntityMesh Entity) const
+    throw (MEDEXCEPTION);
 
   int       getNumberOfNodesInType     (MED_EN::medGeometryElement Type) const;
   int       getNumberOfSubCellInType   (MED_EN::medGeometryElement Type) const;
@@ -449,6 +451,43 @@ inline const CELLMODEL * CONNECTIVITY::getCellsTypes(MED_EN::medEntityMesh Entit
     else
       throw MEDEXCEPTION("CONNECTIVITY::getCellsTypes(medEntityMesh) : Not found Entity !");
 }
+/*!
+Returns an array (it should deleted after use) containing the whole list of
+CELLMODEL Name foreach element type present in connectivity for given
+medEntityMesh (similar as getGeometricTypes).\n
+Throw an execption if the given entity is not defined or if the array is not
+defined.
+
+*/
+//-----------------------------------------------------------------------------//
+inline string * CONNECTIVITY::getCellTypeNames(MED_EN::medEntityMesh Entity) const
+                                               throw (MEDEXCEPTION)
+//-----------------------------------------------------------------------------//
+{
+  if (Entity == _entity)
+    if (_type!=NULL)
+      {
+       string * stringArray = new string[_numberOfTypes];
+
+       for (int i=0;i<_numberOfTypes;i++)
+         stringArray[i] = _type[i].getName();
+
+       return stringArray;
+      }
+    else
+      throw MEDEXCEPTION("CONNECTIVITY::getCellTypeNames(medEntityMesh) :"
+                        " CELLMODEL array is not defined !");
+  else
+    if (_constituent != NULL)
+      return _constituent->getCellTypeNames(Entity);
+    else
+      throw MEDEXCEPTION("CONNECTIVITY::getCellTypeNames(medEntityMesh) : Not found Entity !");
+}
+
+
+
+
+
 
 /*! A DOCUMENTER */
 //------------------------------------------------------------------------------------------//
index ceb907c803e4019f15969d220d34b517a1a25528..5fe35807742264647690f36a1c63acebc483291b 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Coordinate.hxx"
 #include "MEDMEM_Exception.hxx"
index 4a476ebc86e5ce3c1e1c22007935992bcf948ddc..68b30e9a773632f33a8ddb600059d0e26c0767d5 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
  File Coordinate.hxx
index ddcd4866a33934c2375ec26c82864390549096b6..9aa2c84542ad9d8630e347061716106566f3afcb 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_DriverFactory.hxx"
 #include "MEDMEM_MedMedDriver.hxx"
index 8249ac8303053fde284fe212a0df4c16e7e533e0..b3871f6b88fef2c804c38ec62a0d8a12d3b3f6c0 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef DRIVERFACTORY_HXX
 #define DRIVERFACTORY_HXX
index 2c79b6bd09fd664f706562f556e689df24fc8d0c..c28a37d19c9e5f3ef138029c45829ef90d21a2ee 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_DriverTools.hxx"
 #include "MEDMEM_STRING.hxx"
index 84a0e41780647a0c87efdd3c78fbbdfa65f06beb..605f4e89ed69df8ea7a05df510b133fc3540ff1d 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef DRIVERTOOLS_HXX
 #define DRIVERTOOLS_HXX
index 577d6552433887a988f2fd42fe614774962a420e..2fd03f1c18c7b88cbe24ee9571dea40dc8d03432 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_DriversDef.hxx"
 
index 009afb92f9078694a3fff3a4e0c4cb1c1ff49442..62f91791efee29682de09b5528f5ae3259ba3fc8 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 # ifndef DRIVERS_DEF_HXX
 # define DRIVERS_DEF_HXX
index 6ca601b52831f6117085a4ecf308f102beb53ef1..473aba560675ea2c18132a7abc408a589e725a33 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
  File MedException.cxx
index de705c3a800e3968f09e76ab64d8eef95a582a7b..5a9edc1d6fce33335b610ff7437259295e477c7b 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
  File MedException.hxx
index ec1fd330cbf3cf47e3124bc6bf1e90e4045b6e0e..f42a4e0fa2113e2c11f63eea0a6988d7a8c6ca5d 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
  File MEDMEM_Family.cxx
index 56bd9d2aee77e8d42fe459bfa21ddd63889726a1..a0d69855f335980cfdc74c4a1ae654aa4f01e35e 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef FAMILY_HXX
 #define FAMILY_HXX
index 12390d5e54c1a74db8d9830a2effa01e9a02dddc..7e6ceeef3a7eb79f37e078ecb080a4eca4cc75a4 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Field.hxx"
 #include "MEDMEM_Mesh.hxx"
index 5f06aafe92da4f8d61614c136129112688542a70..5c39c264ddbbfc5692b22a593dc61e0dc04818e1 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
  File Field.hxx
index 1474ad15d506e3ed04e17ef8d6bfeae7d308b21b..2ddbbaaf82cdf453739f8d78e30a8464642fbde0 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef FIELD_CONVERT_HXX
 #define FIELD_CONVERT_HXX
 
index 60a56adc30cd05e9bc2f784ccfc3f928924d1c43..016ef2f423c75cb2600310674f63c1a5d4c32b2b 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef FIELD_FORWARD
 #define FIELD_FORWARD
 
index d334261de5cab876a26a652581df957d39500815..61bf75b7c16a01ef4233bdc69da0fdf24c4390d3 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MEDMEM_FORMULAE
 #define MEDMEM_FORMULAE
index 8705bfbd7953540049545afc6912fc127e1ff36c..9e691e01dda4d4e46a2dfdd6f62e1dc6df95327c 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef GAUSS_LOCALIZATION_HXX
 #define GAUSS_LOCALIZATION_HXX
 
index 21a471548841279b8b7fa88e79a2e2ec2a700701..15bf873e8df8f8211e93de304af8dcaf9a4c5514 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_GenDriver.hxx"
 #include "MEDMEM_STRING.hxx"
index 4d2a8d7b2f81726a8f2aab2d18184083e133c67b..894bb4e7a343f06a3ebc456b3e97642f80b14b19 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef GENDRIVER_HXX
 #define GENDRIVER_HXX
index 779cafce586c8e05ae100b8aac3a66199445761a..6fdb3d24c141e216a4399ea01d7a25be3e10b9b3 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include <algorithm>
 #include <queue>
index 4e603f0990597c4c99a1dcba7926326b07a7b257..9bc3ba44fa15e10c7bcb2b805c074841d192c921 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef GIBI_MESH_DRIVER_HXX
 #define GIBI_MESH_DRIVER_HXX
index d08be400c71303cfb8d1dde9c61637841e61183d..0d1f5b9eff309b3f6444668d14c1f6d3408fc784 100644 (file)
@@ -1,3 +1,4 @@
+
 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 // 
@@ -15,7 +16,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 // File      : MEDMEM_Grid.hxx
 // Created   : Wed Dec 18 08:35:26 2002
@@ -24,7 +25,6 @@
 // Author    : Edward AGAPOV (eap)
 // Project   : SALOME Pro
 // Module    : MED 
-// Copyright : Open CASCADE
 // $Header$
 
 
index 8ed2d8e9cf5287d012a9af779d1ad900117de171..ac48377829079cbf0c158ae390985b88620107b6 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 // File      : MEDMEM_Grid.hxx
 // Created   : Wed Dec 18 08:35:26 2002
@@ -24,7 +24,6 @@
 // Author    : Edward AGAPOV (eap)
 // Project   : SALOME Pro
 // Module    : MED 
-// Copyright : Open CASCADE
 // $Header$
 
 #ifndef MEDMEM_Grid_HeaderFile
index e71d1921be9fb45f74337b470a7ce82a5b3a1ab6..4030e10d4d4f699cf498cf9632b34eddbdc5a8d7 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
  File Group.cxx
index 064a7151583776d70ad3e1822409ab7142e8a9c1..04a73eaf7d42883c7e65a10d177098fa6a5cd60d 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
  File Group.hxx
index 6cc6ec1227f07cf8b5c1b99592fddb11ec5922ae..8ec18f91eae717e4a0a097c0391b956c78f2d7c7 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef MEDMEM_INDEX_CHECKING_POLICY_HXX
 #define MEDMEM_INDEX_CHECKING_POLICY_HXX 
 
index 3e8036de5aa5ba9e4a0ca3d6fcc876eff28c4389..7d8c3d656e3b3071ebf0506e4eee53091299d41f 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #  ifdef MED_WITH_KERNEL
 //#include "LocalTraceCollector.hxx"
index 10f22f20899abe2219cc0531d36b43da0629d53c..8b4ba070ec40492eac98a82b7e4dc332a45ab86a 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef MEDMEM_INTERLACING_HXX
 #define MEDMEM_INTERLACING_HXX
 
index 88f5d0f86459b468b3f52d6b92b84a42e25fdee3..002896d9169e690faf6b075bc1975b7bb111876b 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef MEDMEM_INTERLACING_TRAITS_HXX
 #define MEDMEM_INTERLACING_TRAITS_HXX
 
index 84d2ca3f61daabd40d7a0e0a29edb2cf7341c812..40ecb817b6b894d205a3feb9d6b9204646b61d76 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #include "MEDMEM_MEDMEMchampLire.hxx"
 /*
  * En attendant une correction de la gestion du mode d'accès au fichier dans MEDfichier
index 6ec287decf1a183e44ed39eb94d24c689cc4ec7d..9f51d99c4da02146f4e064a19560e8cd616061f9 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef  MEDMEM_MEDMEM_CHAMPLIRE_HXX
 #define  MEDMEM_MEDMEM_CHAMPLIRE_HXX
 /*
index 4a868a0f6d7141804038b3bf64e71bae8720c7c8..704536366677d9f7d4b9db2ab610b9b7b0d29410 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #include "MEDMEM_MEDMEMgaussEcr.hxx"
 /*
  * En attendant une correction de la gestion du mode d'accès au fichier dans MEDfichier
index 0f7bf7c43a928943bae95b062d399c8783590554..c64adf8e2b0403c6a0f2d02bb7de6d1bd125fb20 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef  MEDMEM_MEDMEM_GAUSSECR_HXX
 #define  MEDMEM_MEDMEM_GAUSSECR_HXX
 /*
index 68ae798b75873f4f1bc623ebccc15c46d4b2e000..37adbe0ecfe4c70a8d36c01c209254d0f5d92307 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #include "MEDMEM_MEDMEMprofilEcr.hxx"
 /*
  * En attendant une correction de la gestion du mode d'accès au fichier dans MEDfichier
index 83fb853cac0c48c00b36b0d9b35bd288313fa364..fae4d74ee68d091d71857f4ce9f0a2ac11c6b863 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef  MEDMEM_MEDMEM_PROFILECR_HXX
 #define  MEDMEM_MEDMEM_PROFILECR_HXX
 /*
index b8359d72e4fbf9a59f8a4fee9038b15147a64e85..1440b63d8d2440a2a0ffacae7dd1724d8f5d17a3 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 # include <string> 
 # include <math.h>
index 97974a3042e88aaa341d41543e02669d316c15b4..bae0e5b992b310becc79826dee8adb418cb325fa 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 # ifndef MED_HXX
 # define MED_HXX
index 9fafa8a57ad039b7ee2fa9aabb34d1381da2665e..70410e3bbd6f6e604268157f8151c01e10221112 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MED_FIELD_DRIVER_HXX
 #define MED_FIELD_DRIVER_HXX
index 29cc97b474a9caff19d554a69bc48a7a2ec0b673..fea7fd134f112f8388734aee62530058abdd09f3 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MED_FIELD_DRIVER21_HXX
 #define MED_FIELD_DRIVER21_HXX
index 9882667a13a37551bbd06e258e4201dccebcdcdf..02aa8b49acf5729be2218c24ca4c69cd9027e05c 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MED_FIELD_DRIVER22_HXX
 #define MED_FIELD_DRIVER22_HXX
@@ -398,12 +398,17 @@ MED_FIELD_DRIVER22<T>::createFieldSupportPart1(med_2_2::med_idt id,
   //EF : Gérer le meshName pour le driver 2.2
   const char * LOC="MED_FIELD_DRIVER<T>::createFieldSupportPart1(...)";
 
+  BEGIN_OF(LOC);
+
   map<int, list<MED_EN::medGeometryElement> > CellAndNodeEntities;
   map<int, list<MED_EN::medGeometryElement> >::iterator currentEntity;
   CellAndNodeEntities[MED_EN::MED_CELL]  = MED_EN::meshEntities[MED_EN::MED_CELL];
   CellAndNodeEntities[MED_EN::MED_NODE] = MED_EN::meshEntities[MED_EN::MED_NODE];
   list< MED_EN::medGeometryElement >::const_iterator currentGeometry;
 
+  MED_EN::medEntityMesh entityCurrent;
+  MED_EN::medGeometryElement geometryCurrent;
+
   MED_EN::medEntityMesh entity;
   bool alreadyFoundAnEntity=false,alreadyFoundPdtIt = false;
   int  numberOfElements = 0;
@@ -414,7 +419,7 @@ MED_FIELD_DRIVER22<T>::createFieldSupportPart1(med_2_2::med_idt id,
   numberOfElementsOfTypeC.resize(MED_NBR_GEOMETRIE_MAILLE+1);
   numberOfGaussPoint.resize(MED_NBR_GEOMETRIE_MAILLE+1);
 
-  med_2_2::med_int nmaa=0, ngauss=0, numdt=-1, numo=-1, nbPdtIt=0;
+  med_2_2::med_int nmaa=0, ngauss=0, numdt=-1, numo=-1, nbPdtIt=0, nbPdtIt1=0, nbPdtIt2=0;
   char dtunit[MED_TAILLE_PNOM22+1];
   char maa[MED_TAILLE_NOM+1];
   med_2_2::med_float   dt=-1.0;
@@ -431,31 +436,65 @@ MED_FIELD_DRIVER22<T>::createFieldSupportPart1(med_2_2::med_idt id,
     for (currentGeometry  = (*currentEntity).second.begin();
         currentGeometry != (*currentEntity).second.end(); currentGeometry++) {
 
+      entityCurrent = (*currentEntity).first ;
+      geometryCurrent = (*currentGeometry) ;
+
+      // That is a difference between Med File and Med Memory (NB)
+      if (geometryCurrent == MED_EN::MED_SEG2 || geometryCurrent == MED_EN::MED_SEG3)
+       entityCurrent = MED_EN::MED_EDGE;
+
+      if (geometryCurrent == MED_EN::MED_TRIA3 || geometryCurrent == MED_EN::MED_QUAD4 ||
+         geometryCurrent == MED_EN::MED_TRIA6 || geometryCurrent == MED_EN::MED_QUAD8)
+       entityCurrent = MED_EN::MED_FACE;
+
+      nbPdtIt1 = med_2_2::MEDnPasdetemps(id, const_cast <char*> ( fieldName.c_str() ),
+                                        (med_2_2::med_entite_maillage)   (*currentEntity).first,
+                                        (med_2_2::med_geometrie_element)  *currentGeometry );
+
+      nbPdtIt2 = med_2_2::MEDnPasdetemps(id, const_cast <char*> ( fieldName.c_str() ),
+                                        (med_2_2::med_entite_maillage)   entityCurrent,
+                                        (med_2_2::med_geometrie_element)  geometryCurrent );
+
+      if (nbPdtIt2 < nbPdtIt1) entityCurrent = (*currentEntity).first ;
 
-      if ( (nbPdtIt = med_2_2::MEDnPasdetemps(id, const_cast <char*> ( fieldName.c_str() ),
-                                             (med_2_2::med_entite_maillage)   (*currentEntity).first,
-                                             (med_2_2::med_geometrie_element)  *currentGeometry ))  <=  0 )
+      nbPdtIt = (nbPdtIt1>nbPdtIt2)?nbPdtIt1:nbPdtIt2;
+
+      if ( nbPdtIt <=  0 )
        continue;
 
       /* Verifie que le champ n'est pas défini sur un autre type d'entité */
-      if ( alreadyFoundAnEntity ) {
-       if (entity != (*currentEntity).first )
-         throw MEDEXCEPTION(LOCALIZED(STRING(LOC)<<" Field |"  << fieldName
-                                      << "| with (ndt,or) = (" << ndt << ","
-                                      << od << ") must not be defined on nodes and cells" ));
+      if ( alreadyFoundAnEntity )
+       {
+         //if (entity != (*currentEntity).first )  (NB)
+         if ( entity != entityCurrent )
+           throw MEDEXCEPTION(LOCALIZED(STRING(LOC)<<" Field |"  << fieldName
+                                        << "| with (ndt,or) = (" << ndt << ","
+                                        << od << ") must not be defined on nodes and cells" ));
 
-      } else { entity=(*currentEntity).first; alreadyFoundAnEntity = true; };
+       }
+      else
+       { 
+         //entity=(*currentEntity).first; (NB)
+         entity=entityCurrent;
+         alreadyFoundAnEntity = true;
+       };
 
 
       /* Cherche le champ pour le <ndt>,<ot> demandé et détermine le nombre de points de Gauss*/
       ret = 0; alreadyFoundPdtIt = false; ngauss =0;
       for ( med_2_2::med_int j=1; j <= nbPdtIt; j++ ) {
 
-       // Search how many <ngauss> (<fieldName>,<ndt>,<ot>) has
+       // Search how many <ngauss> (<fieldName>,<ndt>,<ot>) has   (NB)
+       //ret += med_2_2::MEDpasdetempsInfo(id, const_cast <char*> ( fieldName.c_str() ),
+       //                               (med_2_2::med_entite_maillage)   (*currentEntity).first,
+       //                               (med_2_2::med_geometrie_element)  *currentGeometry,
+       //                               j, &ngauss,  &numdt,  &numo, dtunit, &dt,
+       //                                maa, &local, &nmaa);
+
        ret += med_2_2::MEDpasdetempsInfo(id, const_cast <char*> ( fieldName.c_str() ),
-                                        (med_2_2::med_entite_maillage)   (*currentEntity).first,
-                                        (med_2_2::med_geometrie_element)  *currentGeometry,
-                                        j, &ngauss,  &numdt,  &numo, dtunit, &dt,
+                                         (med_2_2::med_entite_maillage)   entityCurrent,
+                                         (med_2_2::med_geometrie_element)  *currentGeometry,
+                                         j, &ngauss,  &numdt,  &numo, dtunit, &dt,
                                          maa, &local, &nmaa);
 
        if ( ndt == numdt && numo == od ) {
@@ -464,7 +503,7 @@ MED_FIELD_DRIVER22<T>::createFieldSupportPart1(med_2_2::med_idt id,
          if ( nmaa > 1 ) {
            MESSAGE(LOC<<" Field |" << fieldName << "| with (ndt,or) = ("
                    << ndt << "," << od << ") for (entityType,geometricType)=("
-                   << MED_EN::entNames[(*currentEntity).first] << ","
+                   << MED_EN::entNames[entityCurrent] << ","
                    << MED_EN::geoNames[*currentGeometry] << ")"
                    << "is defined on multiple meshes, using dafault mesh  |" << maa << "|" );
          }
@@ -472,7 +511,7 @@ MED_FIELD_DRIVER22<T>::createFieldSupportPart1(med_2_2::med_idt id,
          if ( !local) {
            MESSAGE(" Field |" << fieldName << "| with (ndt,or) = ("
                    << ndt << "," << od << ") for (entityType,geometricType)=("
-                   << MED_EN::entNames[(*currentEntity).first] << ","
+                   << MED_EN::entNames[entityCurrent] << ","
                    << MED_EN::geoNames[*currentGeometry] << ")"
                    << "is using a mesh on a distant file (ignored)" );
 
@@ -487,7 +526,7 @@ MED_FIELD_DRIVER22<T>::createFieldSupportPart1(med_2_2::med_idt id,
            if ( meshName != maa ) {
              throw MEDEXCEPTION(LOCALIZED(STRING(LOC)<<" Field |" << fieldName << "| with (ndt,or) = ("
                                           << ndt << "," << od << ") for (entityType,geometricType)=("
-                                          << MED_EN::entNames[(*currentEntity).first] << ","
+                                          << MED_EN::entNames[entityCurrent] << ","
                                           << MED_EN::geoNames[*currentGeometry] << ")"
                                           << "is defined on mesh |" << maa << "| not on mesh |" << meshName ));
            }
@@ -496,27 +535,29 @@ MED_FIELD_DRIVER22<T>::createFieldSupportPart1(med_2_2::med_idt id,
 
       }
 
+      MESSAGE(LOC << " a (dt,it) is found ?? " << alreadyFoundPdtIt);
+
       if ( !alreadyFoundPdtIt )
        throw MEDEXCEPTION(LOCALIZED(STRING(LOC)<<" Field |" << fieldName << "| with (ndt,or) = ("
                                     << ndt << "," << od << ") should be defined for (entityType,geometricType)=("
-                                    << MED_EN::entNames[(*currentEntity).first] << ","
+                                    << MED_EN::entNames[entityCurrent] << ","
                                     << MED_EN::geoNames[*currentGeometry] << ")" ));
 
       if ( (ret != 0)  || (ngauss < 1 ) )
        throw MEDEXCEPTION(LOCALIZED(STRING(LOC)<<"Error in MEDpasdetempsInfo for  Field |" << fieldName 
                                     << "| with (ndt,or) = ("
                                     << ndt << "," << od << ") for (entityType,geometricType)=("
-                                    << MED_EN::entNames[(*currentEntity).first] << ","
+                                    << MED_EN::entNames[entityCurrent] << ","
                                     << MED_EN::geoNames[*currentGeometry] << ")" )); ;
 
       if ( (numberOfElements =  med_2_2::MEDnVal(id, const_cast <char*> ( fieldName.c_str() ),
-                                               (med_2_2::med_entite_maillage)   (*currentEntity).first,
+                                               (med_2_2::med_entite_maillage)   entityCurrent,
                                                (med_2_2::med_geometrie_element) *currentGeometry,
                                                 numdt, numo, maa, med_2_2::MED_COMPACT))  <=  0 )
        throw MEDEXCEPTION(LOCALIZED(STRING(LOC)<<"Error in MEDnVal for  Field |" << fieldName
                                     << "| with (ndt,or) = ("
                                     << ndt << "," << od << ") for (entityType,geometricType)=("
-                                    << MED_EN::entNames[(*currentEntity).first] << ","
+                                    << MED_EN::entNames[entityCurrent] << ","
                                     << MED_EN::geoNames[*currentGeometry] << ")" )); ;
 
       numberOfElementsOfType[numberOfGeometricType] = numberOfElements/ngauss;
@@ -687,8 +728,15 @@ template <class T> void MED_FIELD_RDONLY_DRIVER22<T>::read(void)
     MED_FIELD_DRIVER<T>::_fieldName=MED_FIELD_DRIVER<T>::_ptrField->_name;
 
   if ( MED_FIELD_DRIVER<T>::_fieldName.size() > MED_TAILLE_NOM )
-    throw MEDEXCEPTION(LOCALIZED(STRING(LOC)
-                                <<" <fieldName> size in object driver FIELD is > MED_TAILLE_NOM ."));
+    {
+      SCRUTE(MED_FIELD_DRIVER<T>::_fieldName.size());
+      SCRUTE(MED_TAILLE_NOM);
+
+//       throw MEDEXCEPTION(LOCALIZED(STRING(LOC)
+//                                <<" <fieldName> size in object driver FIELD is > MED_TAILLE_NOM ."));
+
+      MESSAGE(LOC << "Warning <fieldName> size in object driver FIELD is > MED_TAILLE_NOM .");
+    }
 
   const string & fieldName = MED_FIELD_DRIVER<T>::_fieldName;
 
@@ -722,7 +770,7 @@ template <class T> void MED_FIELD_RDONLY_DRIVER22<T>::read(void)
 //                    Le nom du maillage associé est lu mais le pointeur SUPPORT-MESH non initialisé
 
 
-  char * tmpFieldName = new char[MED_TAILLE_NOM+1] ;
+  char tmpFieldName[MED_TAILLE_NOM+1] ;
   int err ;
   int    numberOfComponents          = 0;
   char * componentName               = (char *) MED_NULL;
@@ -765,7 +813,7 @@ template <class T> void MED_FIELD_RDONLY_DRIVER22<T>::read(void)
        }
     }
 
-  delete[] tmpFieldName ;
+  //delete[] tmpFieldName ;
 
   // Si aucun champ ne correspond les variables <componentName> et <unitName> ont Ã©té correctement
   // désallouées dans la boucle de recherche
@@ -884,8 +932,13 @@ template <class T> void MED_FIELD_RDONLY_DRIVER22<T>::read(void)
   vector< int >  meshNbOfElOfTypeC;
   // Si le maillage n'est pas trouvé les tableaux renvoyés sont vides
   if (fileHasMesh)
-    this->getMeshGeometricTypeFromFile(id,meshName,entityType,meshGeoType,
-                                       meshNbOfElOfType,meshNbOfElOfTypeC);
+    {
+      MED_EN::medEntityMesh entityTypeLoc = entityType;
+      if (entityType == MED_EN::MED_FACE || entityType == MED_EN::MED_EDGE) entityTypeLoc = MED_EN::MED_CELL;
+
+      this->getMeshGeometricTypeFromFile(id,meshName,entityTypeLoc,meshGeoType,
+                                        meshNbOfElOfType,meshNbOfElOfTypeC);
+    }
 
   SCRUTE(meshGeoType.size());
   SCRUTE(MESHgeoType.size());
index f1253ca28b8da8711bf34657ae1c6fdd0cdc489f..046ace5c75773fcb3834154fca7c399d2e951cab 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_MedMedDriver.hxx"
 #include "MEDMEM_Compatibility21_22.hxx"
index 9bebe73d38e924ed6b8e077ad75f7dc9a1f5d77c..859941536fa9fd70eeebced770d2843081c75e00 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MED_MED_DRIVER_HXX
 #define MED_MED_DRIVER_HXX
index 4fdcc78260be4837aca2e286ebf2e16877b63d10..33877cb564225d916a22f689afed0f4f5f096b5e 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Compatibility21_22.hxx"
 #include "MEDMEM_MedMedDriver21.hxx"
index 5407c46b6bad8e8e82d333948150f816189072a6..68081c898a75997e8e55c89831a0a5f561ec4020 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MED_MED_DRIVER21_HXX
 #define MED_MED_DRIVER21_HXX
index 08cb41d03122a57057bbf7c5c1284f6e093a4ee0..1f245754a40c3afa9fce04d1b0f65ed77260d9ff 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Compatibility21_22.hxx"
 # include "MEDMEM_MedMedDriver22.hxx"
index d3927f6507b9cf432ffb0a38ea3af08e37e72d56..7bcf7d1845097b714a823c9125214a6130ef8cd5 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MED_MED_DRIVER22_HXX
 #define MED_MED_DRIVER22_HXX
index 3bf3d4387715f0b0a2ebbcef188730593c6994f0..a8c1d312f86b931085b9d36a2c967363b88f543f 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_MedMeshDriver.hxx"
 #include "MEDMEM_MedMeshDriver21.hxx"
index f4b88f85bf74b04b0c9db69e1be05a5909ad5a77..757082dc08b6725a601013a059c8a5a5d725d0e7 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MED_MESH_DRIVER_HXX
 #define MED_MESH_DRIVER_HXX
index cdd559c0294f3c64624fcc8c8aab6107e62e012e..ece84c82aa5ca0da07ec46f815b0bf59c7dc30cc 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_MedMeshDriver21.hxx"
 
index 505da25c266867af2ac8caf7ed73cafa05e0fa5e..6d858bdc32ae0da771d3e14a856c0dbb776dbf0b 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MED_MESH_DRIVER21_HXX
 #define MED_MESH_DRIVER21_HXX
index ded1a44bda6fd3b8e1fe25eb21acf043745d7ab5..d1dfec3fbaab409125da00b150c3bab2f796ce2a 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_MedMeshDriver22.hxx"
 
@@ -2464,7 +2464,7 @@ int MED_MESH_WRONLY_DRIVER22::writeConnectivities(medEntityMesh entity) const
       err = MEDpolygoneConnEcr(_medIdt,
                               const_cast <char *> (_meshName.c_str()),
                               tmp_PolygonsConnectivityIndex,
-                              _ptrMesh->getNumberOfPolygons()+1,
+                              _ptrMesh->getNumberOfPolygons(entity)+1,
                               tmp_PolygonsConnectivity,
 //                            (med_2_2::med_entite_maillage) entity, because Med Memory works only in Nodal connectivity
                               (med_2_2::med_entite_maillage) MED_CELL,
@@ -2475,7 +2475,7 @@ int MED_MESH_WRONLY_DRIVER22::writeConnectivities(medEntityMesh entity) const
       err = MEDpolygoneConnEcr(_medIdt,
                               const_cast <char *> (_meshName.c_str()),
                               const_cast <med_int*> (_ptrMesh->getPolygonsConnectivityIndex(MED_NODAL,entity)),
-                              _ptrMesh->getNumberOfPolygons()+1,
+                              _ptrMesh->getNumberOfPolygons(entity)+1,
                               const_cast <med_int*> (_ptrMesh->getPolygonsConnectivity(MED_NODAL,entity)),
 //                            (med_2_2::med_entite_maillage) entity, because Med Memory works only in Nodal connectivity
                               (med_2_2::med_entite_maillage) MED_CELL,
@@ -2864,11 +2864,11 @@ int MED_MESH_WRONLY_DRIVER22::writeFamilyNumbers() const {
     // SOLUTION TEMPORAIRE CAR _ptrMesh->_MEDArray____Family DOIT ETRE ENLEVER DE LA CLASSE MESH
     if  ( ( _ptrMesh->existConnectivity(MED_NODAL,entity) )|( _ptrMesh->existConnectivity(MED_DESCENDING,entity) ) ) { 
 
-      int numberOfTypes           = _ptrMesh->getNumberOfTypes (entity) ;
-      const medGeometryElement  * types = _ptrMesh->getTypes         (entity) ;
+      int numberOfTypes           = _ptrMesh->getNumberOfTypesWithPoly(entity) ;
+      medGeometryElement  * types = _ptrMesh->getTypesWithPoly(entity) ;
       SCRUTE(numberOfTypes);
       
-      int numberOfElements = _ptrMesh->getNumberOfElements(entity, MED_ALL_ELEMENTS) ;
+      int numberOfElements = _ptrMesh->getNumberOfElementsWithPoly(entity, MED_ALL_ELEMENTS) ;
       int * familyArray = new int[numberOfElements] ;
       for (int i=0;i<numberOfElements;i++)
        familyArray[i]=0;
@@ -2907,7 +2907,6 @@ int MED_MESH_WRONLY_DRIVER22::writeFamilyNumbers() const {
       for (int i=0;i<numberOfElements;i++)
        SCRUTE(familyArray[i]);
 
-      const int * typeCount = _ptrMesh->getGlobalNumberingIndex(entity) ;
 //CCRT Clutter
 #if defined(IRIX64) || defined(OSF1) || defined(VPP5000)
       int lgth=numberOfElements;
@@ -2916,15 +2915,14 @@ int MED_MESH_WRONLY_DRIVER22::writeFamilyNumbers() const {
        temp[i2]=(med_2_2::med_int) (familyArray[i2]);
 #endif
       SCRUTE(numberOfTypes);
-
+      int offset=0;
       for (int i=0; i<numberOfTypes; i++) {
-       int typeNumberOfElements = typeCount[i+1] - typeCount[i] ;
+       int typeNumberOfElements = _ptrMesh->getNumberOfElementsWithPoly(entity,types[i]) ;
        SCRUTE(typeNumberOfElements);
-       SCRUTE(typeCount[i+1]);
-       SCRUTE(typeCount[i]);
+       SCRUTE(offset);
 #if defined(IRIX64) || defined(OSF1) || defined(VPP5000)
        err = MEDfamEcr(_medIdt, const_cast <char *> ( _meshName.c_str() ),
-                       (temp+(typeCount[i]-1)), typeNumberOfElements,
+                       (temp+offset), typeNumberOfElements,
 //                     (med_2_2::med_entite_maillage) entity, because Med Memory works only in Nodal connectivity
                        (med_2_2::med_entite_maillage) MED_CELL,
                        (med_2_2::med_geometrie_element) types[i]); 
@@ -2932,15 +2930,16 @@ int MED_MESH_WRONLY_DRIVER22::writeFamilyNumbers() const {
        MESSAGE("On est bien la !!! entity = " << entity << " type " << types[i]);
 
        err = MEDfamEcr(_medIdt, const_cast <char *> ( _meshName.c_str() ),
-                       (familyArray+(typeCount[i]-1)), typeNumberOfElements,
+                       (familyArray+offset), typeNumberOfElements,
 //                     (med_2_2::med_entite_maillage) entity, because Med Memory works only in Nodal connectivity
                        (med_2_2::med_entite_maillage) MED_CELL,
                        (med_2_2::med_geometrie_element) types[i]); 
 #endif
        if ( err != MED_VALID) 
-         throw MEDEXCEPTION(LOCALIZED(STRING(LOC) << "Can't write family for the |"<< _ptrMesh->getNumberOfElements(entity, types[i])
+         throw MEDEXCEPTION(LOCALIZED(STRING(LOC) << "Can't write family for the |"<< _ptrMesh->getNumberOfElementsWithPoly(entity, types[i])
                                       << "| faces of geometric type |" << geoNames[types[i]] <<"|in mesh |"      
-                                      << _ptrMesh->_name.c_str() << "|" ));   
+                                      << _ptrMesh->_name.c_str() << "|" )); 
+       offset+=typeNumberOfElements;  
       }
 //CCRT there was "temp" and "familyArray" for OSF, but only "familyArray" for Linux ...
 #if defined(IRIX64) || defined(OSF1) || defined(VPP5000)
@@ -2948,6 +2947,7 @@ int MED_MESH_WRONLY_DRIVER22::writeFamilyNumbers() const {
 //CCRT#endif
 #endif
       delete[] familyArray ;
+      delete[] types;
       //if (true == ToDestroy) {
       //  int NumberOfFamilies = myFamilies->size();
       //    for (int i=0; i<NumberOfFamilies; i++)
index 25932aaf7f5c67a5f423d2074c9e138009708c7f..fbd86d1f05981ce03c6c1231871f3cb82b21ac22 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MED_MESH_DRIVER22_HXX
 #define MED_MESH_DRIVER22_HXX
index 68a41dace4489a93bc2ff803acc8a56222eb2510..3ad0a36a9a77dad23cb455bd86bfda8421ebe0df 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_MedVersion.hxx"
 #include "MEDMEM_Utilities.hxx"
index bb57fca50b22446cb7aec8fef7b9237e91f810be..b6074f275b931aa8bdc4ac1c3b7c8b63d16c9da1 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MED_VERSION_HXX
 #define MED_VERSION_HXX
index a3f055c3b6c503aeca205719df7c9d6342e7b549..7b75e662d40d81e2c50aabfbda40520d639f7d1d 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
  File Mesh.cxx
index 0c51185a6c3e3c342160bac3733b23a24eda8972..16ff9f32ad546b2070280dc06ba97b95e4790ea4 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MESH_HXX
 #define MESH_HXX
@@ -183,6 +183,7 @@ public :
   virtual inline const MED_EN::medGeometryElement * getTypes(MED_EN::medEntityMesh Entity) const;
   virtual MED_EN::medGeometryElement * getTypesWithPoly(MED_EN::medEntityMesh Entity) const;
   virtual inline const CELLMODEL * getCellsTypes(MED_EN::medEntityMesh Entity) const;
+  virtual inline string * getCellTypeNames(MED_EN::medEntityMesh Entity) const;
   virtual const int * getGlobalNumberingIndex(MED_EN::medEntityMesh Entity) const;
   virtual inline int getNumberOfElements(MED_EN::medEntityMesh Entity,
                                         MED_EN::medGeometryElement Type) const;
@@ -219,7 +220,7 @@ public :
                                             MED_EN::medEntityMesh Entity) const;
   inline const int * getPolygonsConnectivityIndex(MED_EN::medConnectivity ConnectivityType,
                                                   MED_EN::medEntityMesh Entity) const;
-  inline int getNumberOfPolygons() const;
+  inline int getNumberOfPolygons(MED_EN::medEntityMesh Entity=MED_EN::MED_ALL_ENTITIES) const;
   inline int getPolyhedronConnectivityLength(MED_EN::medConnectivity ConnectivityType) const;
   inline const int * getPolyhedronConnectivity(MED_EN::medConnectivity ConnectivityType) const;
   inline const int * getPolyhedronFacesIndex() const;
@@ -543,6 +544,20 @@ inline const CELLMODEL * MESH::getCellsTypes(MED_EN::medEntityMesh Entity) const
   throw MEDEXCEPTION(LOCALIZED("MESH::getCellsTypes( medEntityMesh ) : Connectivity not defined !"));
 }
 
+/*!
+  Get an array (it should deleted after use) of the whole list of CELLMODEL
+  Name of a given type (medEntityMesh).
+
+  REMARK : Don't use MED_NODE as medEntityMesh
+*/
+inline string * MESH::getCellTypeNames(MED_EN::medEntityMesh Entity) const
+{
+  //  checkGridFillConnectivity();
+  if (_connectivity != NULL)
+    return _connectivity->getCellTypeNames(Entity);
+  throw MEDEXCEPTION(LOCALIZED("MESH::getCellTypesName( medEntityMesh ) : Connectivity not defined !"));
+}
+
 /*! Returns an array of size NumbreOfTypes+1 which contains, for each
     geometric type of the given entity, the first global element number
     of this type.
@@ -734,9 +749,9 @@ inline const int * MESH::getPolygonsConnectivityIndex(MED_EN::medConnectivity Co
 /*!
   Return the number of polygons.
  */
-inline int MESH::getNumberOfPolygons() const
+inline int MESH::getNumberOfPolygons(MED_EN::medEntityMesh Entity) const
 {
-  return _connectivity->getNumberOfPolygons();
+  return _connectivity->getNumberOfPolygons(Entity);
 }
 /*!
  Returns the corresponding length of the array returned by MESH::getPolyhedronConnectivity with exactly the same arguments.
index c0552ea5132e484219fafa58a7794032da6a8a39..ab6041b9414ef5f494f309c375e0817455e676ad 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
   File MEDMEM_Meshing.cxx
@@ -191,6 +191,7 @@ void MESHING::setNumberOfTypes(const int NumberOfTypes,
       }
     // all rigth, we could create connectivity !
     CONNECTIVITY * myConnectivity = new CONNECTIVITY(NumberOfTypes,Entity) ;
+    myConnectivity->setEntityDimension(_connectivity->getEntityDimension()-1);
     _connectivity->setConstituent(myConnectivity);
   }
 }
@@ -274,12 +275,8 @@ void MESHING::setPolygonsConnectivity     (const int * ConnectivityIndex,
 {
   if (_connectivity == (CONNECTIVITY*)NULL)
     throw MEDEXCEPTION("No connectivity defined !");
-  if(_connectivity->getPolyTypeRelativeTo()==MED_EN::MED_POLYGON)
-    {
-      _connectivity->setPolygonsConnectivity(MED_NODAL, Entity, ConnectivityValue, ConnectivityIndex,ConnectivityIndex[nbOfPolygons]-1,nbOfPolygons) ;
-    }
-  else
-    throw MEDEXCEPTION("Invalid connectivity for polygons !!!");
+  
+  _connectivity->setPolygonsConnectivity(MED_NODAL, Entity, ConnectivityValue, ConnectivityIndex,ConnectivityIndex[nbOfPolygons]-1,nbOfPolygons) ;
 }
 
 void MESHING::setPolyhedraConnectivity     (const int * PolyhedronIndex,
index 3ee4ef79258277ca2cd24102aafc2ff5586a8a18..0f0fbd4bd0341c74b3f0c48ad3e8faef12348fbc 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
   File MEDMEM_Meshing.hxx
index cf6c99efb6a37662280ed4080c6d9b6fa8501942..0a6593313a91e3874c70c0cb62a4723bf365e150 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef __MEDMODULUSARRAY_H__
 #define __MEDMODULUSARRAY_H__
index a450d244d73eb89a295b26726bcd0c06351a4f51..01a82c842a1065381520a22aecd903304999a3c1 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 # if ! defined( __PointerOf_HXX__ )
 # define __PointerOf_HXX__
index 466aee083d24806577c36c6fdeead71924c1dfbd..fe6f7ac3c940f2cfc5f1a06162593b521bac2080 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_PolyhedronArray.hxx"
 
index 2ec03575db5c5eabe4ff73ad5478a58d829cade1..691c2e7c5a0b3e4695ce2215c5dd667d11a26744 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 # ifndef __POLYHEDRONARRAY_H__
 # define __POLYHEDRONARRAY_H__
index 9a91106e7f6a5eadedd7286a7633f2c0191298f5..c96cb7f6b94160be554b6bee4ae16ebb820338ef 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_PorflowMeshDriver.hxx"
 #include "MEDMEM_DriversDef.hxx"
index 28e3798479c9824a47c231b3663013f6cf64a69c..e0fcbc3d96f80242d1dd883102fa14d64bc22416 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef PORFLOW_MESH_DRIVER_HXX
 #define PORFLOW_MESH_DRIVER_HXX
index 614bc84b8966ba980f922336c91d78788fcdcba9..6df6c023bc3c21a64f26a421740aad211cfc2128 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef __MEDMEM_RCBASE_HXX__
 #define __MEDMEM_RCBASE_HXX__
index 7447ba08b7542bc2636b7792fe6803a2b9542c24..c11eaf1ffb162213a27e387918e9d8947bfbdd1b 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 # ifndef MEDMEM_STRING_HXX
 # define MEDMEM_STRING_HXX
index 48ad7bc8ae0d61601b4e7ae0f219dcb1640e50f2..677cd0a22cf616b755c467eb29e9f56731fdc447 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef MEDMEM_SET_INTERLACING_TYPE
 #define MEDMEM_SET_INTERLACING_TYPE
 
index e425e4f8f3f7ba1308616b8d76d78a36bbea1882..ba077429366444dcdd06999b13d75e2f91ec71f6 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_SkyLineArray.hxx"
 #include "MEDMEM_Utilities.hxx"
index 3c894edd7934ef5ffd7eb347c8212c02aed76128..50434a8b1e0abd51ffe2e3229c48411a6b754aaf 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 # ifndef __MEDSKYLINEARRAY_H__
 # define __MEDSKYLINEARRAY_H__
index 49cac96a9dacec5bd9c186f891b8443809cd9d0c..f6ab76c9044d2d9ebaa793e8a296d510d93f6402 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
  File Support.cxx
@@ -242,6 +242,10 @@ int SUPPORT::getValIndFromGlobalNumber(const int number) const throw (MEDEXCEPTI
   if (_isOnAllElts) return number;
 
   int nbOfEltsThis    = getNumberOfElements(MED_ALL_ELEMENTS);
+  int nbOfEltsThisVerif    = _mesh->getNumberOfElements(_entity,MED_ALL_ELEMENTS);
+
+  if (nbOfEltsThis == nbOfEltsThisVerif) return number;
+
   const int *eltsThis = _number->getValue();
 
   int iThis;
index 4e52628b1bbdb7e01e6ddcad1fc3d66148bb0e44..1d9470ad95b407a951e327a6abebeed23b09b801 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
   File Support.hxx
index 1fd6bfdc7985d97bc77190c17bd28ad81747f307..048207b20a5f2986c1dbf4ec0af80323056b7be6 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef MEDMEM_TAGS_HXX
 #define MEDMEM_TAGS_HXX
 
index 60c74e75babe52dc72aef39afb24d393e0fc1122..5d8e96091b1625d30548f0ad345c5bfbaba49c5e 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #include "MEDMEM_TopLevel.hxx"
 #include "MEDMEM_Med.hxx"
 #include "MEDMEM_Mesh.hxx"
index 5e96879d06692d63eeacd9eadaf80a30d7f78a40..5281aa33441e0deac055944862cc2b3154c2ca67 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef __MEDMEM_TOPLEVEL_HXX__
 #define __MEDMEM_TOPLEVEL_HXX__
 
index 75f73bc3d24dc25a9f6f752f07e631863181ef70..a4fd4def0691498268f107ff59a4d7e3a9c18e0f 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_TypeMeshDriver.hxx"
 #include "MEDMEM_DriversDef.hxx"
index 10bd0c9abb13bd8a7001ba016d3c9b419477939c..8dcd36ed94b71d5806f90debb875765e641447fb 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef TYPE_MESH_DRIVER_HXX
 #define TYPE_MESH_DRIVER_HXX
index 4fc8edfc4f0b1a69011093361927248ac6652477..e0028d11b9893fd1a4319ab1ee22ffdce3349903 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
  File MEDMEM_Unit.cxx
index af457d101efe504dcb85103b7b3937d40bdfb8de..29b9aaf6c0869e5ae17492e6f517f09b1094b7ee 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*
  File Unit.hxx
index df960ad82b54d8a3d0bfb427619905d35fa880dc..3adb5283688c35207129c7b385c085e467f634f3 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef __MEDMEM_UTILITIES
 #define __MEDMEM_UTILITIES
index f8fa62a159bb6f785562508a23d2a709321a8218..9cc1209cd22a554dea7b816b1c2bcb669588750a 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef VTK_FIELD_DRIVER_HXX
 #define VTK_FIELD_DRIVER_HXX
index bdd2a7c4a0d9f70931d3fa56f07486bf018cc642..4444d9637d96874a285e503d16685be9f5cd0d94 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_VtkMedDriver.hxx"
 
index 7752bf163483467ab83630c772e1a0a613e4c535..622f948cac11e9f218683e369b052c6c2889a480 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef VTK_MED_DRIVER_HXX
 #define VTK_MED_DRIVER_HXX
index cad480fe3605dd052b629fe5d457423ef4f6d868..443c5ca92f67b97d503ba77824f7bb8db64429cf 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_VtkMeshDriver.hxx"
 
index f23d20670d3b9c8579888fa6526808724f4338d2..ce1649c5dca0d6126467de609276ae2a84c47037 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef VTK_MESH_DRIVER_HXX
 #define VTK_MESH_DRIVER_HXX
index fb0c4e9d04d0309d9cbfa0d4750a79c186ffb888..68dc408f7df6fdacfa07045561bce76451f1059b 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef DEFINE_HXX
 #define DEFINE_HXX
index 22027d59d7ee5474fa677c7228ca1a7e8304faaa..55d1962655bcc4a7c89b57468ba8b867e4bcf804 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*************************************************************************
 * COPYRIGHT (C) 1999 - 2003  EDF R&D
index 61bc784282d99493f353a2f95b62b7513d2991d4..825f4cc39ba0255d8f8b6f5f031fa7eb36a382ec 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /*************************************************************************
 * COPYRIGHT (C) 1999 - 2003  EDF R&D
index 8651cb531e9c2905e1c7887c27ba1a8bcb785e15..01a6c9b88d4aa6e1df8845d3ec3c77734fc47e48 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef MEDMEM_ARRAY_HXX
 #define MEDMEM_ARRAY_HXX
 
index 9233a75820b7fc822228dbb2b8451cde6044659c..70c5cb418a6f8e0862a96e823d977645d446b4c7 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
@@ -160,7 +160,7 @@ TEST_PROGS = test_MEDMEM_ModulusArray test_MEDMEM_Array test_MEDMEM_SkyLineArray
        test_grid test_MEDMEM_PolyhedronArray test_MEDMEM_PolyConnectivity \
        test_MEDMEM_PolyDriverMedMeshRead test_MEDMEM_PolyDriverMedMeshWrite \
        test_MEDMEM_poly3D test_MEDMEM_nArray test_MEDMEM_Meshing_poly test_profil_MedFieldDriver \
-       test_profil_gauss_MedFieldDriver test_GaussLocalization testAnalFile
+       test_profil_gauss_MedFieldDriver test_GaussLocalization testAnalFile test_MEDMEM_MeshingFlica
 
 LDFLAGS+= -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome 
 LDFLAGSFORBIN+= -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome
index ea274cf054c770291670c18c366a22580d75c21e..b24a4cf2de40ef455589e56d81798439a5bea885 100644 (file)
@@ -1,10 +1,24 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 /*----------------------------------------------------------------------------
   MED MEDMEM : MED files in memory
 
-  Copyright (C) 2003  CEA/DEN, EDF R&D
-
-
-
   File   : create_grid.c
   Module : MED
 ----------------------------------------------------------------------------*/
index bc6d4e5226843853e4b63acef21661fee3a41d19..542df04c559cadd5ba0627a0da973f6401c648e1 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #include <med.h>
 #include <string.h>
 
index 8d6941914ef59aac5b5eca5474c120df489580d0..da36f83b73c4a95da8f88a557eff16c5f7de1c1c 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 /*
   creation d'une geometrie 2d : un cube [0,1]^2
   maillé uniformement en quadrangle reguliers;
index 42859dd40a72a7b654abf85b5350aaae4b3af495..4befc6523946d06297126aeb62c9332182edfcf1 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 /*
   creation d'une geometrie 2d : un cube [0,1]^2
   maillé uniformement en quadrangle reguliers;
index bf077746ef64d5a8da9467a0962c76473fbd9640..e32a418810bf4c3ffdfe4502051dd19e5af899fc 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 /*
   creation d'une geometrie 2d : un cube [0,1]^2
   maillé uniformement en quadrangle reguliers;
index 93d2612d9d40d04474b469d164552ac1afb21e36..7555cc25c4270fe0a2e2683c7b554f2e0caf8d7d 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 /*
   creation d'une geometrie 3d : un cube [0,1]^3
   maillé uniformement en hexahedres reguliers;
index a92a97743254cc4c2d10c5d875245f7cab79a184..ee7705cacbad0cea6dcca990e933489446dffa6c 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 /*
   creation d'une geometrie 3d : un cube [0,1]^3
   maillé uniformement en hexahedres reguliers;
index 1e4f2f8129b52cee294350eae095048fc95a3c71..62a1d2060f7352a0c19a310e3e8eeedc934f6ce0 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 /*
   creation d'une geometrie 3d : un cube [0,1]^3
   maillé uniformement en hexahedres reguliers;
index 3c36cb16492c9786654095321a3f25040aaf3a73..5fcf4f3a15e59f191aac044b1d6a95ce058a9a6c 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 /*
   creation d'une geometrie 2d : 
   maillé en 4 quadrangles reguliers
index a05847f79b3917d314200a2daecafc8ca8438c3d..82f9a5068439877c01729bd140e1b0bbd52525e4 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 /*
   creation d'une geometrie 3d : 
   maillé en :
index bb2f3903056c6b0bf2fec5425f995a5609568786..a8c6648f2daf37f55f6997d032f2eb602ce2ea4e 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include<string>
 
index c1aad307cbac090ae689ebfc9d1bf7569f4a577f..1bafc1d59c6c2dab5fca496bc6d49dccc0d88f4b 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include<string>
 #include<deque>
index 7365a400db7f72e4d5ce3e818cbbe8b4cf58a558..af5fd58f1699826441ea7062f62699b16040d818 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Exception.hxx"
 #include "MEDMEM_medimport_src.hxx"
index ff98ab25fa925560314a80898b98cfeea95bf386..a3e353175fc2af51601fe8ff8dc84724f561ea57 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include<string>
 #include<deque>
index 45e6aacea7569ada79e621ce55769ebcf6068b27..b68e3e5ce6d8b06ac5ca2891b1c7fc386659ae74 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include<string>
 
index 420a613293c77320fadcaca0d16c7ec7d9637a83..a16db0cbb602523960eed7dcc3cf0fd2bb31dfcd 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #include <string>
 #include <deque>
 #include <iostream>
index b538e7f02966e6b30551670bf5840ddba88e2314..89c2d019134914d8bfffde5fe9d4654f64e7f68e 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #include <stdlib.h>
 #include <string>
 
index 874b92777da08fa66976db22b169f38370e1c577..bbb8428d5c8dd0af8bf1013d60568977af7ff463 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Array.hxx"
 
index f0482abe75f800e262f7dcb60f2adec7ccf97041..8c84d48d637461ff7b5734f306fb48f55cbcb0bd 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_CellModel.hxx"
 #include "MEDMEM_DriversDef.hxx"
index 99e4c9d32d3a3fe036878dbabb054ab9adf721c2..11818a084f84447b4cbd16c25f8b481b278edb23 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Meshing.hxx"
 #include "MEDMEM_Group.hxx"
diff --git a/src/MEDMEM/test_MEDMEM_MeshingFlica.cxx b/src/MEDMEM/test_MEDMEM_MeshingFlica.cxx
new file mode 100644 (file)
index 0000000..143a1eb
--- /dev/null
@@ -0,0 +1,201 @@
+// Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#include "MEDMEM_Meshing.hxx"
+#include "MEDMEM_Group.hxx"
+
+double coords[108]=
+  {0, 0.21504, 0.21504, 0, 0.43008, 
+   0.43008, 0.21504, 0, 0.43008, 0, 
+   0.21504, 0.21504, 0, 0.43008, 
+   0.43008, 0.21504, 0, 0.43008, 0, 
+   0.21504, 0.21504, 0, 0.43008, 
+   0.43008, 0.21504, 0, 0.43008, 0, 
+   0.21504, 0.21504, 0, 0.43008, 
+   0.43008, 0.21504, 0, 0.43008,
+   //coordY
+   0, 0, 0.21504, 0.21504, 0, 0.21504, 
+   0.43008, 0.43008, 0.43008, 0, 0, 
+   0.21504, 0.21504, 0, 0.21504, 
+   0.43008, 0.43008, 0.43008, 0, 0, 
+   0.21504, 0.21504, 0, 0.21504, 
+   0.43008, 0.43008, 0.43008, 0, 0, 
+   0.21504, 0.21504, 0, 0.21504, 
+   0.43008, 0.43008, 0.43008,
+   //coordZ
+   0, 0, 0, 0, 0, 0, 0, 0, 0, 0.15677, 0.15677, 
+   0.15677, 0.15677, 0.15677, 
+   0.15677, 0.15677, 0.15677, 
+   0.15677, 0.1934, 0.1934, 
+   0.1934, 0.1934, 0.1934, 
+   0.1934, 0.1934, 0.1934, 
+   0.1934, 0.3485, 0.3485, 
+   0.3485, 0.3485, 0.3485, 
+   0.3485, 0.3485, 0.3485, 
+   0.3485};
+
+int connNodalCellClassical[48]=
+  { 1, 2, 3, 4, 10, 11, 12, 13, 
+    4, 3, 7, 8, 13, 12, 16, 17, 
+    10, 11, 12, 13, 19, 20, 21, 22, 
+    13, 12, 16, 17, 22, 21, 25, 26, 
+    19, 20, 21, 22, 28, 29, 30, 31,
+    22, 21, 25, 26, 31, 30, 34, 35 };
+
+int polyHedraInd[7]={1, 7, 13, 19, 25, 31, 37};
+int polyHedraFacesInd[37]={ 
+  1, 5, 9, 13, 17, 21, 
+  25, 29, 33, 37, 41, 45, 
+  49, 53, 57, 61, 65, 69, 
+  73, 77, 81, 85, 89, 93, 
+  97, 101, 105, 109, 113, 117, 
+  121, 125, 129, 133, 137, 141, 
+  145 };
+
+int polyHedraConn[144]={ 
+  2, 3, 6, 5, 11, 14, 15, 12, 2, 5, 14, 11, 5, 6, 15, 14, 6, 3, 12, 15, 3, 2, 11, 12, 
+  3, 7, 9, 6, 12, 15, 18, 16, 3, 6, 15, 12, 6, 9, 18, 15, 9, 7, 16, 18, 7, 3, 12, 16, 
+  11, 12, 15, 14, 20, 23, 24, 21, 11, 14, 23, 20, 14, 15, 24, 23, 15, 12, 21, 24, 12, 11, 20, 21, 
+  12, 16, 18, 15, 21, 24, 27, 25, 12, 15, 24, 21, 15, 18, 27, 24, 18, 16, 25, 27, 16, 12, 21, 25, 
+  20, 21, 24, 23, 29, 32, 33, 30, 20, 23, 32, 29, 23, 24, 33, 32, 24, 21, 30, 33, 21, 20, 29, 30, 
+  21, 25, 27, 24, 30, 33, 36, 34, 21, 24, 33, 30, 24, 27, 36, 33, 27, 25, 34, 36, 25, 21, 30, 34 };
+
+int connNodalFaceClassical[116]=
+  { 1, 2, 3, 4, 
+    10, 13, 12, 11, 
+    1, 2, 11, 10, 
+    2, 3, 12, 11, 
+    3, 4, 13, 12, 
+    4, 1, 10, 13, 
+    4, 3, 7, 8, 
+    13, 17, 16, 12, 
+    3, 7, 16, 12, 
+    7, 8, 17, 16, 
+    8, 4, 13, 17, 
+    19, 22, 21, 20, 
+    10, 11, 20, 19,
+    11, 12, 21, 20, 
+    12, 13, 22, 21, 
+    13, 10, 19, 22, 
+    22, 26, 25, 21, 
+    12, 16, 25, 21, 
+    16, 17, 26, 25, 
+    17, 13, 22, 26, 
+    28, 31, 30, 29, 
+    19, 20, 29, 28, 
+    20, 21, 30, 29, 
+    21, 22, 31, 30, 
+    22, 19, 28, 31, 
+    31, 35, 34, 30, 
+    21, 25, 34, 30, 
+    25, 26, 35, 34, 
+    26, 22, 31, 35};
+
+int cpolygonsIndex[24]=
+  { 1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45, 49, 53, 57, 61, 65, 69, 
+    73, 77, 81, 85, 89, 93};
+
+int cpolygonsValue[92]=
+  {2, 5, 6, 3, 
+   11, 12, 15, 14, 
+   2, 5, 14, 11, 
+   5, 6, 15, 14, 
+   6, 3, 12, 15, 
+   3, 6, 9, 7, 
+   12, 16, 18, 15, 
+   6, 9, 18, 15, 
+   9, 7, 16, 18, 
+   20, 21, 24, 23, 
+   11, 14, 23, 20, 
+   14, 15, 24, 23, 
+   15, 12, 21, 24, 
+   21, 25, 27, 24, 
+   15, 18, 27, 24, 
+   18, 16, 25, 27, 
+   29, 30, 33, 32, 
+   20, 23, 32, 29, 
+   23, 24, 33, 32, 
+   24, 21, 30, 33, 
+   30, 34, 36, 33, 
+   24, 27, 36, 33, 
+   27, 25, 34, 36};
+
+int bottom[4]={1,7,30,35}; MED_EN::medGeometryElement bottomTypes[2]={MED_EN::MED_QUAD4, MED_EN::MED_POLYGON }; int bottomIndex[3]={1,3,5}; int bottomNbOfElts[2]={2,2};
+int top[4]={21,26,46,50}; MED_EN::medGeometryElement topTypes[2]={MED_EN::MED_QUAD4, MED_EN::MED_POLYGON }; int topIndex[3]={1,3,5}; int topNbOfElts[2]={2,2};
+int side[24]={ 3, 6, 10, 11, 13, 16, 19, 20, 22, 25, 28, 29, 32, 33, 37, 38, 40, 41, 44, 45, 
+              47, 48, 51, 52}; MED_EN::medGeometryElement sideTypes[2]={MED_EN::MED_QUAD4, MED_EN::MED_POLYGON }; int sideIndex[3]={1,13,25}; int sideNbOfElts[2]={12,12};
+
+using namespace MEDMEM;
+
+void addMedFacesGroup( MESHING& meshing, int nFaces, const int *groupValue,
+                      string groupName, const MED_EN::medGeometryElement *mytypes,  const int *index, const int *myNumberOfElements, int nbOfGeomTypes)
+  {
+    GROUP faces ;
+    faces.setName(groupName) ;
+    faces.setMesh(&meshing) ;
+    faces.setEntity(MED_EN::MED_FACE) ;
+    faces.setNumberOfGeometricType(nbOfGeomTypes) ;
+    faces.setGeometricType(mytypes);
+    faces.setNumberOfElements(myNumberOfElements) ;
+    faces.setNumber(index, groupValue) ;
+    meshing.addGroup(faces) ;
+  }
+
+int main()
+{
+  MESHING* meshing = new MESHING();
+  meshing->setName( "TESTMESH" );
+  meshing->setSpaceDimension(3);
+  const int nNodes=36;
+  meshing->setNumberOfNodes(nNodes);
+  meshing->setCoordinates(3, nNodes, coords, "CARTESIAN",
+                         MED_EN::MED_NO_INTERLACE);
+  string coordname[3] = { "x", "y", "z" };
+  meshing->setCoordinatesNames(coordname);
+  string coordunit[3] = { "m", "m", "m" };
+  meshing->setCoordinatesUnits(coordunit);
+  //Cell connectivity info for classical elts
+  const MED_EN::medGeometryElement classicalTypesCell[1]={MED_EN::MED_HEXA8};
+  const int nbOfCellElts[1]={6};
+  meshing->setNumberOfTypes(1,MED_EN::MED_CELL);
+  meshing->setTypes(classicalTypesCell,MED_EN::MED_CELL);
+  meshing->setNumberOfElements(nbOfCellElts,MED_EN::MED_CELL);
+  meshing->setMeshDimension(3);
+  //Face connectivity info for classical elts
+  const MED_EN::medGeometryElement classicalTypesFace[1]={MED_EN::MED_QUAD4};
+  const int nbOfFaceElts[1]={29};
+  meshing->setNumberOfTypes(1,MED_EN::MED_FACE);
+  meshing->setTypes(classicalTypesFace,MED_EN::MED_FACE);
+  meshing->setNumberOfElements(nbOfFaceElts,MED_EN::MED_FACE);
+  //All cell conn
+  meshing->setConnectivity(connNodalCellClassical,MED_EN::MED_CELL,MED_EN::MED_HEXA8);
+  meshing->setPolyhedraConnectivity(polyHedraInd,polyHedraFacesInd,polyHedraConn,6,MED_EN::MED_CELL);
+  //All face conn
+  meshing->setConnectivity(connNodalFaceClassical,MED_EN::MED_FACE,MED_EN::MED_QUAD4);
+  meshing->setPolygonsConnectivity(cpolygonsIndex,cpolygonsValue,23,MED_EN::MED_FACE);
+  //Adding some groups on faces
+  addMedFacesGroup( *meshing, 4,  bottom, "BottomFaces",bottomTypes,bottomIndex,bottomNbOfElts,2) ;
+  addMedFacesGroup( *meshing, 4,  top,    "TopFaces",topTypes,topIndex,topNbOfElts,2) ;
+  addMedFacesGroup( *meshing, 24, side,   "SideFaces",sideTypes,sideIndex,sideNbOfElts,2) ;
+  //writing...
+  int id=meshing->addDriver(MED_DRIVER,"totoFlica_V22.med");
+  meshing->write(id);
+  delete meshing;
+  return 0;
+}
+
index e2d07138db59f27bf458584e6234f9c711057525..36b39284bcc2037d601adc704de5e0f4d8fcb424 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Meshing.hxx"
 #include "MEDMEM_Field.hxx"
@@ -183,12 +183,14 @@ int main (int argc, char ** argv) {
   if(nbPts==7)
     {
       cout << "ALL TESTS OK !!!" << endl;
-      return 0;
     }
   else
     {
       cout << "TEST FAILS !!!" << endl;
       return -1;
     }
+  cout << "Writing test " << endl;
+  int idMed22 = myMeshing.addDriver(MED_DRIVER,"totoPoly_V22.med",myMeshing.getName());
+  myMeshing.write(idMed22);
 
 }
index dff34e41f19d5ae3d9366c21bb398911fc17f437..7bf70645bc8a79cb1ba5dca3d79bc471150f33b7 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Meshing.hxx"
 #include "MEDMEM_DriverFactory.hxx"
index 7a4e1cb82905c37cf829a1458ea62d098a506678..677ea23c17728fc76e1c87bb493ab625e317df77 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_ModulusArray.hxx"
 
index 2cdb88beac11278377eee9a40db58a2734f96097..d454d9022ec6f8c01d6e561501f6ed54d981594d 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 // This program test the implementation of the class CONNECTIVITY for Polygons and Polyhedron. //
 
index 3a90cd3c12baeb63774dc290eb33c89897c3a5f9..c1643c8ff1bca491091cbb0a476c85d3d9432f3c 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 // This program test the implementation of the class MED_MESH_RDONLY_DRIVER for Polygons and Polyhedron. //
 
index 53d5c03df4771dde79a433923d407388bfcb9a26..263bb047f41003615f2207f46e61526392b7cb77 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 // This program test the implementation of the class MED_MESH_WRONLY_DRIVER for Polygons and Polyhedron. //
 
index 2e092ac8b2f40b1f80678b2447c20434c1544b7a..a8ca2c1046506370156bc2c9452324b1bd46c6de 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 // This program test the implementation of the POLYHEDRONARRAY class. //
 
index 547de8b018b00fc33a90016f9a81d109c8ff7a59..667c5833e75c7245e67759557937ff88eb2f0d1d 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_SkyLineArray.hxx"
 
index aed8373ae71f0adbdd82706dab1a644c3755fbb1..06386acf76f110305ca2a3c31843c38ed0c46238 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #include <stdlib.h>
 #include <iostream>
 #include <stdio.h>
index 3dd0a5b6b9fab90e7876bef5f58c03665f814f61..9472e2c4b1f7789804dc93a10f977cc191a03317 100755 (executable)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 // This program test the implementation of the class MED_MESH_RDONLY_DRIVER for Polygons and Polyhedron. //
 
index e1f50799fc7afe006cadb30449441f4041597ffa..e0dcd517713c18ace99a36ecf19792769044d57a 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /* Programme de test du constructeur de copies de la classe MEDARRAY de MEDMEM
    jroy - 16/12/2002 */
index d2886f99ec9f9bbff0def44a8f2cad0d74e80898..c251118905c6471406221d867a1cfcba1fd5bf8e 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /* Programme de test du constructeur de copies de la classe CONNECTIVITY de MEDMEM
    jroy - 19/12/2002 */
index 29b69269a1ab6b2a9b863baa46fbcc714f9634ef..54599409c13c638357652897d1da0b34bec64358 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /* Programme de test du constructeur de copies de la classe COORDINATE de MEDMEM
    jroy - 17/12/2002 */
index e783421a9d7cda74de6b4de9acb57686bbc13976..1e8a14403bf643ddc959852cdedf12e53ef8a2eb 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include<string>
 
index 31a66fa01de0475e6ee39aa6c58abb5423d79a90..00e435c4d312965b1ada37da573e488e50b16225 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /* Programme de test du constructeur de copies de la classe FIELD_ de MEDMEM
    jroy - 12/12/2002 */
index e0c2a0ce9c77318a2d1028c7752a6a75d883491d..8785505720dad884bffa2a7dcb270c0aaa0fd168 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /* Programme de test du constructeur de copies de la classe FIELD_ de MEDMEM
    jroy - 12/12/2002 */
index 185e2b7f1caa28b5e7417db4a0814abb6a83588e..d8b6257197cf574a38e1da922d21826807d95079 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include<string>
 
index ca782db4e0d97f8d5d86385222ab6a880880a050..f25da6fd7348667aaf3313c8e2fb87ce926b400b 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 /* Programme de test du constructeur de copies de la classe MEDARRAY de MEDMEM
    jroy - 16/12/2002 */
index 582b52893e8cb43ee85cfa93370b7b56586900e4..e8f5e001c3ccf92da4cab503f5c60500d57f2f72 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include<string>
 
index 4c1e7c8c51f538a7e85571e0e7c31341664640dc..e8322ba9733d023487bba8d5e261232d0cb35ea0 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include<string>
 
index b423bbb84c9741f648fb75b10373217105ed39f1..831db81d3a9e98d2881cecfc7e443c4cb13df5f8 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_GibiMeshDriver.hxx"
 #include "MEDMEM_Mesh.hxx"
index 9ca9bac83992da963e90bb892ceaae774f452a21..8d5cb61b66816a6984ca15da91d90cb739aa0e55 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_Grid.hxx"
 
index 8853b089f280db9c7ac06f2dba92d0381d79be9c..e156b825bdd15265985a6269b0319029fac94d57 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 // Programme de test des operations sur les champs
 
index 9bdb971f63588c58828c3eee2285e9565b5ec093..53abf6af7a4b9ec50e92e390d323cdf2831cc71a 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 // Programme de test des operations sur les champs
 
index 101d52ce53139a45fe9dedf1eb61d0f091ff45a9..e26b0ba6fbb3374e3c59d201f7fee5c50accbd88 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_PorflowMeshDriver.hxx"
 #include "MEDMEM_Mesh.hxx"
index 54e7e0e07d996b3446e3aa4117721d4802fc4e1b..efe008f1b29e708b9fea64ea91f7dda4aceb572a 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 
 #include <stdlib.h>
 #include<string>
index c1bd8228a364434225710dc2534d96aadf357e2e..e3a181e0b539e2e61b1211137b3114976a7abf25 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 
 #include <stdlib.h>
 #include<string>
index b97e406f4f48a25d4cfc63f179e7bbdbb26e3109..49cbb8c79bd368a9667afe3bd1f3736c80c3bd47 100755 (executable)
@@ -15,7 +15,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 0dc1e47ccf4e271948baa41ffef9fde2ba05a9ca..e9a3503aec925e4484a560bfdd59643bfa228637 100755 (executable)
@@ -15,7 +15,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index fa0a74e6ac812f25cda7e9b017a8426858cea9ac..f857ead4369d7612d6553f0d1be4d0462d8df504 100755 (executable)
@@ -15,7 +15,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 04ec6df9f0aac3031be3179cdad9f43deea42b47..a56637103f68296c8281d76edd595f7da81e6ca9 100755 (executable)
@@ -15,7 +15,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 22641db65200f48bcc60c089518be9563b5fb3a2..f4bcc9c1b729f1eb571097f002bac7e381288a4c 100755 (executable)
@@ -15,7 +15,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 4f4ba4a27241d4d74b0b0bfc734da272725474c6..2d1a0ae2b857294f4db15b85f907a87a54d7e136 100755 (executable)
@@ -15,7 +15,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index e975601ba69c8a6b0f68b8b41cb7f1d75bcbe6d9..c973999d3521c94f6ddf397dbf82041832f4b09e 100644 (file)
@@ -15,7 +15,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 8a5ecd798e2cd374d2b552b148ddd25af4cda869..d24d44042f7be7e5c1fa657c74ef29cfea4601cb 100644 (file)
@@ -15,7 +15,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 75902964b84a97db46491c334574c3c8a8a7e43b..da7f463124d68fa04ab283d46ef9626edd73a546 100644 (file)
@@ -1,6 +1,6 @@
 //  Copyright (C) 2003  CEA/DEN, EDF R&D
 //
-//
+//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //  File   : testUPointerOf.cxx
 //  Module : MED
index ce0d98ee76c7253b793b37cdeb28978515731ec2..b4440ec86f6769062cef09913e05f65b9dc02034 100644 (file)
@@ -15,7 +15,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 058032ea1dc2797fa9ff7a7dd2fc57f3c1b4f026..97ec2f945b455f872fd7e58817ab68bff56de9d9 100755 (executable)
@@ -15,7 +15,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 8a4a95bc1b313c5b089fc9e5b1ce82243c99b517..5b7a74e59962173d57902541532069b935d0beb0 100644 (file)
@@ -1,7 +1,24 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 //=============================================================================
 // File      :  MEDMEM_Family_i.cxx
 // Project   :  SALOME
-// Copyright :  EDF 2002
 // Author    :  EDF
 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_Family_i.cxx
 //=============================================================================
index 73b10160b8c6126a9bf37dc1ea31bd43282a4f38..594b095b4905ee0b6bb96f7b657343f49f8fcc6b 100644 (file)
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //=============================================================================
 // File      : MEDMEM_Family_i.hxx
 // Project   : SALOME
-// Copyright : EDF 2002
 // Author    : EDF
 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_Family_i.hxx
 //=============================================================================
index 2471ddde41d0c1e5db61a4b4f083e17b4867e088..0fe7519ca80da1c2d2f30820194196ad901f36ae 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef __MED_FIELDTEMPLATE_I_HXX__
 #define __MED_FIELDTEMPLATE_I_HXX__
 
index 81045022ce83e0c359d68dc87047096ff3648ace..6b482f32b0763a44dc14c80e151fbb5a6688302a 100644 (file)
@@ -1,9 +1,27 @@
+
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 //=============================================================================
 // File      : MEDMEM_Field_i.cxx
 // Created   : mer fév 20 15:47:57 CET 2002
 // Author    : EDF
 // Project   : SALOME
-// Copyright : EDF 2002
 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_Field_i.cxx
 //=============================================================================
 #include "MEDMEM_Field_i.hxx"
index b2ebbbda34a65c35896aa7114fbf535fa71df483..dbf0adbf309dd1fecd4111f3792bdd8891bcea82 100644 (file)
@@ -1,8 +1,25 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 //=============================================================================
 // File      : MEDMEM_Field_i.hxx
 // Project   : SALOME
 // Author    : EDF
-// Copyright : EDF 2002
 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_Field_i.hxx
 //=============================================================================
 
index cbe693146865fad8100db5accf72728c77d556f1..ffa63d0b33bcb865075c1696f69131a4fa94f490 100644 (file)
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //=============================================================================
 // File      : MEDMEM_Group_i.cxx
 // Project   : SALOME
 // Author    : EDF 
-// Copyright : EDF 2002
 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_Group_i.cxx
 //=============================================================================
 
index 100954436c0374a5fe0ee0c8b3ed9935873d33d1..c5a31fe1934064713445b3d5e764faeb2fdd933f 100644 (file)
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //=============================================================================
 // File      : MEDMEM_Group_i.hxx
 // Project   : SALOME
 // Author    : EDF
-// Copyright : EDF 2002
 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_Group_i.hxx
 //=============================================================================
 #ifndef MED_GROUP_I_HXX_
index 827ba92a2d9961a75ec27b5c799e86491b4bba3a..8340ba0d24a712ba01d97d53949151c468bd7586 100644 (file)
@@ -1,8 +1,25 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 //=============================================================================
 // File      : MEDMEM_Med_i.cxx
 // Project   : SALOME
 // Author    : EDF
-// Copyright : EDF 2002
 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_i.cxx
 //=============================================================================
 
index 40c81090ee1c2189d60e659e15f8eb1809da8b9a..e6bf5587e1e25f993390cb8acc6c1be366aff8d5 100644 (file)
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //=============================================================================
 // File      : MEDMEM_Med_i.hxx
 // Project   : SALOME
 // Author    : EDF
-// Copyright : EDF 2002
 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_Med_i.hxx
 //=============================================================================
 
index 0883688a9396073a6e487c359ff4bc3a33e370a2..b3ba73519e437a18a1b2cbbe87fe138addfbbcb9 100644 (file)
@@ -1,8 +1,25 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 //=============================================================================
 // File      : MEDMEM_Mesh_i.cxx
 // Project   : SALOME
 // Author    : EDF 
-// Copyright : EDF 2002
 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_Mesh_i.cxx
 //=============================================================================
 
index 662641190a75323762866f20f2d1d93b0cc1fa84..45ca0eace062029cceed4256ab323271753e478d 100644 (file)
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //=============================================================================
 // File      : MEDMEM_Mesh_i.hxx
 // Project   : SALOME
 // Author    : EDF 
-// Copyright : EDF 2002
 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_Mesh_i.hxx
 //=============================================================================
 
index 949c72db2ef50e0346e1af7f5322793eaac57a5f..e94d16e4630fab55b348d02224335018042f9be6 100644 (file)
@@ -1,8 +1,25 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 //=============================================================================
 // File      : MEDMEM_Support_i.cxx
 // Project   : SALOME
 // Author    : EDF
-// Copyright : EDF 2002
 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_Support_i.cxx
 //=============================================================================
 
index eb724a0907c87ed3fb29f64770005738a3c29624..5400b8e92bbff2c334229c471dfdc2ac54a7d6b4 100644 (file)
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //=============================================================================
 // File      : MEDMEM_Support_i.hxx
 // Project   : SALOME
 // Author    : EDF 
-// Copyright : EDF 2002
 // $Header: /export/home/PAL/MED/src/MEDMEM_I/MEDMEM_Support_i.hxx
 //=============================================================================
 
index 8dbb9df95c11d22a3ded243e6cbc51ad8ac06cb9..f83a3b15dba439ec601c67a327134955a458a0e5 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 #ifndef __MEDMEM_TRAITSFORFIELDS_HXX__
 #define __MEDMEM_TRAITSFORFIELDS_HXX__
 
index ef78743d12331298421367e4e05e634e5d4adac8..d4b98d83d7768fc13c02a789f570ceae9f726854 100644 (file)
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //=============================================================================
 // File      : MEDMEM_convert.cxx
 // Created   : mer fév 20 15:47:57 CET 2002
 // Author    : EDF
 // Project   : SALOME
-// Copyright : EDF 2002
 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_convert.cxx
 //=============================================================================
 
index af82e5e8fbb20391cd0e3f2e20bd0ce9a6507f1b..e8d2c3008aee715ca6d444b2f285b5792e005ab8 100644 (file)
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //=============================================================================
 // File      : MEDMEM_convert.hxx
 // Created   : mer fév 20 15:47:57 CET 2002
 // Author    : EDF
 // Project   : SALOME
-// Copyright : EDF 2002
 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_convert.hxx
 //=============================================================================
 # if ! defined ( __CONVERT_H__ )
index a71357bbee6ccd702ed24a77c9c7f8bb1367744e..e8123beef87e747a25c49db4d001bd672b3eb85d 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index 835d0960e3d124ebb93d1bebdb979c7e99d9deed..cbfb16476d82bf8f8679fff6c504d77b690a46b9 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef MEDMEM_SWIG_TEMPLATES_HXX_
 #define MEDMEM_SWIG_TEMPLATES_HXX_
index 3709e499fa4892608513d56fe7bc36abaa073309..ef1b48eb829dd334e99a39b914914ec1b288295b 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index f829c0fc71f40839b4717eccc6b6f7894cddd123..4910ae850c4271cba6a643086ede95c71514714a 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 %module libMEDMEM_Swig
 
@@ -1115,7 +1115,7 @@ public :
 
   int getNumberOfTypesWithPoly(medEntityMesh Entity);
 
-  int getNumberOfPolygons();
+  int getNumberOfPolygons(medEntityMesh Entity=MED_ALL_ENTITIES);
 
   int getNumberOfPolyhedronFaces();
 
index 9d88636d6dd7d7b76582dd9d2f21d3e51666f784..607e783f28799ca2974b9ac25692aeacddcd0413 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 ###################################################################################
 #
 # This Python script uses the wrapped C++ class MESHING to buid a mesh from only
index dafa86a6d23edc29daada8ae630a3fb32cf4062a..c984e9849a62579e871cf7be3c4aff27197b6961 100755 (executable)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 ############################################################################
 #
 # This Python script is testing the generation of MED field using a
index 995df1482a89024454750a61c92382ea5cce921d..78a4668b050aeb05751839175a1e8c8ee0768393 100755 (executable)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 ############################################################################
 #
 # this Python script is testing all operations between FIELD(DOUBLE,INT)
index 1e00bd5f677f2df71a1f57f64024bcce983e9a8e..67b6d1b44e60491c90032691e042dba8f7ab06d9 100755 (executable)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 ############################################################################
 #
 # This Python script is testing the merge and the intersection of
index ad1782f247439025fc1ded7fa1bf85900e09d825..2873f444edbdea67a5be019116f5bf3f53e615af 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 ###################################################################################
 #
 # This Python script is parsing a MED file using MED Memory from SALOME platform:
index 95cbad106feffe5cf915a9d2a9327e5eb80fc407..0cff344234be2007dca235faee2e44a0b61397c3 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 ###################################################################################
 #
 # This Python script is parsing a MED file using MED Memory from SALOME platform:
index 620d5df35370b60f077e757f7431a8542b84de6b..4d91a3e247b5a0ecab29a06496eefd7c97f79800 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 ###################################################################################
 #
 # This Python script is parsing a MED file using MED Memory from SALOME platform:
index 437d72dadd930aa6bbc0606aeb4248df5b1cd8f7..ee4fbb0f627a5830f3a0b2ae04140296ba98b90d 100755 (executable)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 #    Python script for testing T5.10 task
 # ###########################################
 
index 22c012559ba602cc72b6083a01ae2699188b13c7..a708ee5bec9bca6a76af1816b899443634a4df4c 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 #% Test function MESH::getSkin() on mesh from file cube_hexa8_quad4.med
 #% The med file can be obtained by running create_mesh_c3h8q4 executable
 
index ab60ce3cceb9810e2c4cd162ce5b9c1d5a6f5565..ebae88d96111dfb1d3a687ecf138b9debf523a06 100644 (file)
@@ -1 +1,19 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 from libMEDMEM_Swig import *
index 98e31688623d0796879bfdc6e62d85affb6afc74..9a96c2e75db5f2d1ef3dc7fc2333dec3ef8c8289 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 %{
 #include <stdio.h>
index cc63c96a91c2c9b6c9f3a0287b2b65e0480e2007..17ff86bea67ab68eea98aab2c64cdf6e8e13a061 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 from libMEDMEM_Swig import *
 
 import os
index ffc2959e275ad94cb5de0a55095ae7df777d2bd7..b412e1948f5b85e82b13da5e7d17d03e05beb4a4 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 ###################################################################################
 #
 # This Python script is to test the API of the C++ GAUSS_LOCALIZATION class
index 2496229513d8869f249a09395770dfc545e175f7..3478bd56b555c334691db684ed8673b5bdd5287d 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 from libMEDMEM_Swig import *
 
 import os,string
index 8720c7833f9430a6d6a2bce87d0dad1375685759..b6ddf0ce928eb073c384df5132dc749f37676057 100755 (executable)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 ###################################################################################
 #
 # This Python script is testing all functionalities of the Med Memory through its
@@ -131,6 +149,80 @@ meshNameFiles.append("elle_3D_HPr_2x2x2")
 files.append("elle_3D_HPr_4x4x4_2.med")
 meshNameFiles.append("elle_3D_HPr_4x4x4")
 
+
+
+files.append("ChampsDarcy.med")
+meshNameFiles.append("2D_I129")
+
+files.append("darcy_1.1_res.med")
+meshNameFiles.append("mail_test1-1-tri")
+
+files.append("darcy_1.3_resCASTEM.med")
+meshNameFiles.append("mail_ktest1-3-tetra")
+
+files.append("darcy_1.3_resPORFLOW.med")
+meshNameFiles.append("mail_ktest1-3-hexa")
+
+files.append("darcy_1.3_resTRACES.med")
+meshNameFiles.append("mail_ktest1-3-tetra")
+
+files.append("darcy2_Castem_EFMH.med")
+meshNameFiles.append("mail_test1-2-tri")
+
+files.append("darcy2_Castem_qua_EFMH.med")
+meshNameFiles.append("mail_test1-2-qua")
+
+files.append("darcy2_Castem_qua_VF.med")
+meshNameFiles.append("mail_test1-2-qua")
+
+files.append("Deff_fdt_5.8_castem_efmh_diff_conc_dom.med")
+meshNameFiles.append("maillage_deffec_fdt")
+
+files.append("Deff_fdt_5.8_castem_vf_diff_conc_dom.med")
+meshNameFiles.append("maillage_deffec_fdt")
+
+files.append("extendedtransport53_triangles.med")
+meshNameFiles.append("TestA3_2094_0.1_rsurf_tri")
+
+files.append("H_CastCast_EFMH_I129_COUPLEX1.med")
+meshNameFiles.append("COUPLEX1")
+
+files.append("H_CastCast_VF_I129_COUPLEX1.med")
+meshNameFiles.append("COUPLEX1")
+
+files.append("H_CastCast_VF_Se79_COUPLEX1.med")
+meshNameFiles.append("COUPLEX1")
+
+files.append("H_CastPorf_I129_COUPLEX1.med")
+meshNameFiles.append("COUPLEX1")
+
+files.append("H_CastPorf_Se79_COUPLEX1.med")
+meshNameFiles.append("COUPLEX1")
+
+files.append("H_PorfCast_EFMH_I129_COUPLEX1.med")
+meshNameFiles.append("COUPLEX1")
+
+files.append("H_PorfCast_EFMH_Se79_COUPLEX1.med")
+meshNameFiles.append("COUPLEX1")
+
+files.append("H_PorfPorf_I129_COUPLEX1.med")
+meshNameFiles.append("COUPLEX1")
+
+files.append("H_Traces_I129_COUPLEX1.med")
+meshNameFiles.append("COUPLEX1")
+
+files.append("H_Traces_Se79_COUPLEX1.med")
+meshNameFiles.append("COUPLEX1")
+
+files.append("maillage_5_5_5.med")
+meshNameFiles.append("maillage_5_5_5")
+
+files.append("maillage_chemvalIV_cas1_40elts.med")
+meshNameFiles.append("maillage_chemvalIV_cas1_40elts")
+
+
+
+
 #
 # Castem or Gibi file list
 #
@@ -251,6 +343,9 @@ for i in range(nbOfFiles):
 #
 ###################################################################################
 
+print " This test is running on ",nbOfFiles," files"
+print ""
+
 for i in range(nbOfFiles):
     file = files[i]
     decompFile = string.split(file,".")
@@ -1084,12 +1179,18 @@ for i in range(nbOfFiles):
                         print "     Norme  2  : ", fielddouble.norm2()
                         print "     Norme Max : ", fielddouble.normMax()
                         fielddouble.getSupport().update()
-                        print "try sobolev",fielddouble.getSupport().getEntity()
-                        if fielddouble.getSupport().getEntity()!=MED_NODE:
-                            if (spaceDim == 3):
-                                fielddouble_vol=fielddouble.getSupport().getMesh().getVolume(fielddouble.getSupport())
-                            elif (spaceDim == 2):
+                        fieldEntity = fielddouble.getSupport().getEntity()
+                        print "try sobolev",fieldEntity
+                        if fieldEntity !=MED_NODE:
+                            if (fieldEntity == MED_CELL):
+                                if (spaceDim == 3):
+                                    fielddouble_vol=fielddouble.getSupport().getMesh().getVolume(fielddouble.getSupport())
+                                elif (spaceDim == 2):
+                                    fielddouble_vol=fielddouble.getSupport().getMesh().getArea(fielddouble.getSupport())
+                            elif (fieldEntity == MED_FACE):
                                 fielddouble_vol=fielddouble.getSupport().getMesh().getArea(fielddouble.getSupport())
+                            elif (fieldEntity == MED_EDGE):
+                                fielddouble_vol=fielddouble.getSupport().getMesh().getLength(fielddouble.getSupport())
                             print "Norme L1  : ", fielddouble.normL1()
                             print "Norme L2  : ", fielddouble.normL2()
                             print "Norme L2(vol) : ", fielddouble.normL2(fielddouble_vol)
index a85882d171cb692adf72e28d04ca0fb150dba2cc..29c162ca620cd6b39a8e87c9141cd4e9d483017a 100755 (executable)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 ###################################################################################
 #
 # This Python script is testing the mounting in memory of a med file,
index 2ee8d2f95fa6d7cea12d740b0df81049445571a1..20a2c4deb1d3d875b7cb621da11d9183582c38f6 100755 (executable)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 ###################################################################################
 #
 # This Python script is testing the writing in Med format V2.1 V2.2
index 8d4c820ae6da4a1cd874d26c37835c6cafcc8ae1..802fa637f581047993f065f8d9d878cd710503d9 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 ###################################################################################
 #
 #
index 10bdaf6bfb5c0d377e38ae87e5b1ced6fea3b2d0..c7b1e3dc03070ba2f74c5932ec74cf5ed8af3b6f 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 ###################################################################################
 #
 #
index 37cd5065b0c1ae3940bb34a04c8b5de528e0c18e..148211840217f8e8f83d523684dc3f35184822fd 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 ############################################################################
 #
 # this Python script is testing the profil functionality using the FIELD
index b9b215532ab3ce2513c41b8f56d98a63e6190ac7..3b110be71dd015e6ebba8febd263dd20526d8748 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index e53380602c135849019aea5b026f7a1c33433353..278a6562ea643adedc0cbfe2ac43986fb196ca38 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 7775b16ce822594a9c4993d0a8f1b8cc08018da6..428de374c5c5d1020a7f6d179e7683d35f42f3b6 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 2b9e0956c8fac960bb0d41d1ce6342652033c9f8..7ab59a631793e1d5edb705ef6fa956319842d263 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 9ed5264074859c204a0495a9e2ae39b112219e33..614ae9b1c7835513e72c4cc4278ea226427b0845 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 8ca5447d249bbc0d61d18e8f1594e8b8da62db5c..0e7a7cfcbf97757337bd029ac1bc0a8412863d3e 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 38e48607db3cbc917b1bddd8d9b2e666d4a4e330..a94a363d04fc0491d6b42974dbac15a5eda0d01b 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index e0067f977a8088c762e8715da371e11e59a8323f..8c1b2b5094073e86be3b45d0946527f770356be1 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 550ad4fdd07c28152a61053a7a547464c384be2e..5364d32e21e2e251ad3cc07f8db053b440230818 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index c87203616ef4b6da5fca2a8210a141d1f02e1f26..f0008a77c26ca49c0a34a87620e310315644231b 100644 (file)
@@ -1,10 +1,10 @@
 //  Copyright (C) 2003  CEA/DEN, EDF R&D
 //
+//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
-//
-//  File   : VISU_Structure.cxx
+//  File   : MED_Structure.cxx
 //  Author : Eugeny NIKOLAEV
-//  Module : VISU
+//  Module : MED
 
 #include "MED_Structures.hxx"
 #include "MED_Utilities.hxx"
index a4160a73886674471ba3d5a67d27432eb19d419a..549c63327115e629ad0b4cdc33e6a0d9e057c58d 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 109f4c5bcdb5f9cde7b8ffb5fc5d8e118c1b4be6..f9bd0ecd212bea52310887d30445897c58c1c86f 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index fe36efa87671e514af30672dfbc86ae2d5e59bb0..506739f7f63dba2bee2d96525dd12b576f8ea86d 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index c66b2fe2cd98103b36bfa71308cbae05a37e1e4e..c459ae26d2237d8ce9bc6b8ddf5ad96be6231db8 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index ab321b51e5b780e8939707e329b7e7a899e491ec..bf970e2b46ca581b327a3a5c756469c409e0bece 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index a2c64758f8de7c692f471be16fb18e575c55d4c9..f1a6d4ae6be1a19b355c772b560693a8faba367e 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 3775c6e9dae1f99154d7c3c67145cf2ad85e970f..ab8c893bc616abc84e397eeac0edbfa33e820e10 100644 (file)
@@ -1,10 +1,10 @@
 //  Copyright (C) 2003  CEA/DEN, EDF R&D
 //
+//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
-//
-//  File   : VISU_DatConvertor.cxx
+//  File   : MED_Wrapper.cxx
 //  Author : Alexey PETROV
-//  Module : VISU
+//  Module : MED
 
 #include "MED_Wrapper.hxx"
 #include "MED_Utilities.hxx"
index db861b118d0a4b556d4d5d98325cb504018a9e9c..cb1397b0e5bc534a1764b4a7b69c61a9007bb129 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 83917e122414b55148c70fb546bc1556c6c5bc52..2459d8a4ac9201a407b5fb732b7817ae251d6971 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
@@ -30,7 +30,7 @@ top_srcdir=@top_srcdir@
 top_builddir=../../..
 srcdir=@srcdir@
 VPATH=.:@srcdir@:@top_srcdir@/idl
-
+BOOST_LIBSUFFIX=@BOOST_LIBSUFFIX@
 
 @COMMENCE@
 
index 6f605b1c6eda6359ee2e0aef26b27d7d831eac51..883a4193c84d47bcc85f29cde86f7ed07d195b6d 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 6e31fa502151c07fa458f6ddfebecc8cef19ff1a..664cddcf411ffbc64e4cdf717111fc2ac1458dd2 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 969af7253b08e7c97b1f1148822078486a68a77b..4f1d6a76d7accdcdae1ee701eda65961542df954 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index bcbbccf42ac60ad65be449ea219f78ee179e8ac2..d672d9fb3aa40bf6f93700f47d348ae7f6fe9dc7 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
@@ -30,7 +30,7 @@ top_srcdir=@top_srcdir@
 top_builddir=../../..
 srcdir=@srcdir@
 VPATH=.:@srcdir@:@top_srcdir@/idl
-
+BOOST_LIBSUFFIX=@BOOST_LIBSUFFIX@
 
 @COMMENCE@
 
index 242e63adb226cfba4f19dd58cbc8375fedd865c8..72ef0ae91b9d9999b5208b4839fc158e53f41108 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 extern "C"{
index c6a625e10503ceeb48bb6d6dba5e62596245cc3c..9976c034b37ea5949787b031e56432978ad249c7 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
@@ -34,6 +34,11 @@ VPATH=.:@srcdir@:@top_srcdir@/idl
 
 @COMMENCE@
 
-SUBDIRS = Base V2_1 V2_2 Factory
+# if without KERNEL, build only med 2.1 library
+ifeq ($(MED_WITH_KERNEL),yes)
+  SUBDIRS = Base V2_1 V2_2 Factory
+else
+  SUBDIRS = V2_1
+endif
 
 @MODULE@
index 906408d74878e197c4bdfefbc072c9a3bb914c13..1ccdf813ed37b692a839dad33a62a0d2521719ac 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
@@ -34,6 +34,11 @@ VPATH=.:@srcdir@:@top_srcdir@/idl
 
 @COMMENCE@
 
-SUBDIRS = Core Wrapper
+# if without KERNEL, build only med 2.1 library
+ifeq ($(MED_WITH_KERNEL),yes)
+  SUBDIRS = Core Wrapper
+else
+  SUBDIRS = Core
+endif
 
 @MODULE@
index a83eb6ca9a02b2aeea1e7cb8c41733bad92a0de3..ba75525053d90cfc73f7adafc797a8c1e3e38a03 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 338db33970e6a63bf793a551cca1276544e7dbd0..5e5269c8b5d89e8170a66bb2c389a19c02f3f9d6 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index 75c57b2d569d2300efc069fa1435f27319ca7126..1e39322ca2a180ef2e8237e2b4d109f0c38e0538 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index 34c626acc6e05a41e6dd130479b01fe8ebc3d367..58aea049bce37e41c0d9493f7d45b5b138f446d4 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index dcd1e5f1a33adbff2e4760b136b1a7339467e660..6eeebd573583cbdf3a3cdf0c7d9de5d69573b462 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
index a1cf82e921629c96733a478b510383fb0db12846..69d4d3d690a82584af05c3ac3cfc652fb2c59638 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index bf550b3e9a17b4a9a539f979c43aac16886cca1d..cea30c26bca602f8f1d9dbc349c72ef2557edf8d 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 """
 
 """
index 261215bd7346245dde4cdf53c67f6a35339783b8..5e4b7731a6c69e4257064934e562117e85d8b91b 100644 (file)
@@ -16,7 +16,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index 34505d711b9018b358472ee2a0599e5a58d705b8..1f0273d84a227094b7ca1d8fc0797a46558eb142 100644 (file)
@@ -15,7 +15,7 @@
 #  License along with this library; if not, write to the Free Software
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 #
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index a2c3f13901015b00027b58273f14456515d86855..11ed603388adaf4ac06ab3f7258a561e775a283b 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index a47ba822537c2e764ddc760f8a79ea7e38cf44ac..831ef370923be29e8292444a21f7ad0ef21a57c8 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MEDMEM_convert.hxx"
 #include "Utils_CorbaException.hxx"
index d756bebbea91f46e59b5f6bdb940783f81a9a48a..b015e8cfccda1dd37df30e3758396b1b4a6eebd5 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef _CONNECTIVITY_CLIENT_HXX
 #define _CONNECTIVITY_CLIENT_HXX
index 02d8eaf693a97ca4f4daea5e8660c54447e6e72f..c72f1200391e1d4facb049ce0539b79e70327a38 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "COORDINATEClient.hxx"
 #include <string>
index 7d5964b4a54688fa6e41d2157451ace794c01f0f..03b8b2bfc23f3955130e0b6ad7b29f253307a6f5 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef _COORDINATE_CLIENT_HXX
 #define _COORDINATE_CLIENT_HXX
index f2721822acaa13ee481c5004435825a78b636952..32790fb2d0832af4be7a52c8332a95d15b332333 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "FAMILYClient.hxx"
 #include "MESHClient.hxx"
index 7ff1aa3a7564ad3836713680a690e9f967b594fb..39915e24d04d1c79270406d7945ad8ac08924dee 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef _FAMILYCLIENT_HXX
 #define _FAMILYCLIENT_HXX
index 66f3914c53e41aa0767e5abd18f53d71cbea2802..d40a5d85917a9083e91d95631be132a49e04969a 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 template<class T, class INTERLACING_TAG>
 FIELDClient<T,INTERLACING_TAG>::FIELDClient(typename FIELDI_TRAITS<T,INTERLACING_TAG>::SimpleFieldCorbaPtrType ptrCorba,MEDMEM::SUPPORT * S):_fieldPtr(FIELDI_TRAITS<T,INTERLACING_TAG>::SimpleFieldGlobalType::_duplicate(ptrCorba)),_refCounter(1)
index 51f51fcb1c1bd023f278bb28e0bb9ba6649707b2..65f19dcca9c63cede09e11a3c1642ef3b9054d7d 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef _FIELDCLIENT_HXX
 #define _FIELDCLIENT_HXX
index d8c79f590699a70e2492d72246a2a3e1360290f0..880711e8200f8f10d51191b5970302f80b390f23 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "FIELDDOUBLEClient.hxx"
 namespace MEDMEM{
index 61c6e5d89774024a0ec5e9cab95dda914aec78c2..585ac3335fbfd84795cce493c6c3d636f14372cd 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef _FIELDDOUBLECLIENT_HXX
 #define _FIELDDOUBLECLIENT_HXX
index 7d1b7978081e47bdf91666106b9ab09b9d7455a6..f3a51c5e42f185b97dbc9e1309f4b6b6a6ef6cbd 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "FIELDINTClient.hxx"
 namespace MEDMEM{
index 746aa219d3e2129a45ae56b967a289dbc88e313e..cc18a14697c1cefba558650f5d360052f6fe14b2 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef _FIELDINTCLIENT_HXX
 #define _FIELDINTCLIENT_HXX
index 4a607ac1f7961a97d7c63c5bea285ef5392bc415..d9fd6efed23c18cfae9177002cb5d6fdc1f53175 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "GROUPClient.hxx"
 #include "MESHClient.hxx"
index 056fbab5ce651e75a2ea1ba5ca200eb563fee9c5..29d47387dbc4b80d4742fb4ba0d25d2dd16af958 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef _GROUPCLIENT_HXX
 #define _GROUPCLIENT_HXX
index 539f45475373c65d62d722e7e5ba1f8babf57f33..3556ef900bbc75ff29757f02592e6d39785d4f6d 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MESHClient.hxx"
 #include "MEDMEM_convert.hxx"
index 99d0fb000a7210a13d167379e41fcda0bd8cff44..ec809c8fb8f72281e25a7ed5b7e94e0b5e9b9231 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef _MESHCLIENT_HXX
 #define _MESHCLIENT_HXX
index b639773d5b736a6528ad708894ff72a35ded0371..06ad12039f37c4acd1bdfd3e588241a4e0e8163e 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
@@ -65,7 +65,8 @@ endif
 SWIG_DEP = libMEDMEM_Swig.i libMedCorba_Swig.i
 
 EXPORT_PYSCRIPTS = libMEDClient.py \
-                  medClient_test.py
+                  medClient_test.py \
+                  testMeshAlliances.py
 
 # Libraries targets
 
index f6361f6c8642a5a9715410ba7340292933f5fb79..08828e395fabf0ada8375471c4a1bd689f2b5ec1 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "MemorySpy.hxx"
 
index d03ba0adbb1b635ad299c5e7059b27c11f11f51e..0c71a62ff91e10d391bfe8331c6ec14922507c74 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef __MEMORYSPY_HXX__
 #define __MEMORYSPY_HXX__
index b5e621291fd0c1ed6ca806adff26db594870750a..d2f3cb68c1fd07278d75af164ddd6a5adb7d3f1c 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "Utils_CorbaException.hxx"
 #include "UtilClient.hxx"
index a49ee973139a1964f6e6b628975f4a763ed3a9ef..3561c1cb5aa6813e6365cc5d2f9b4e3c294ea299 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef _SUPPORTCLIENT_HXX
 #define _SUPPORTCLIENT_HXX
index 5a335fb7f0d3be2227cf2de1f0e504976427eb70..9849d6b8be08bb73c0e55995742593305b63f442 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef _TESTMEDCLIENT_GEN_IDL_
 #define _TESTMEDCLIENT_GEN_IDL_
index 3e3950c45f30e46b4837fda44c5256f47ca03ac8..b1ef5094ab379fe1286bd23a00d2aaee31867b49 100755 (executable)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #define private public
 #define protected public
index a5925fe26e6b17bb81ea11ab3665ed1044b500f4..28b203cd9d2800e9e1ff88d6dc82ee78f0fefab7 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef _TESTMEDCLIENT_GEN_I_HXX_
 #define _TESTMEDCLIENT_GEN_I_HXX_
index 4db2c9f865f47730ce147a3a668e82f5dc9deff7..9e91c3f8dec78625b1f2524fe60bd583d5a1132d 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef UTILCLIENT_HXX_
 #define UTILCLIENT_HXX_
index e52f8073828036a8e43e5743acad13b75d818e14..ed83a920db7b27eea82bc1b159e34cb1678d144a 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 /*
   creation d'une geometrie 2d : un cube [0,1]^2
   maillé uniformement en quadrangle reguliers;
index 22036cae6ca25e7c8b0173b405528f0c466eeae1..e4e001a90d07da4c3853c094eadbc2b27cc21aac 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 /*
   creation d'une geometrie 2d : un cube [0,1]^2
   maillé uniformement en triangles reguliers;
index 8ff563f4595526bc3738743a2ea9bc6d1d41e7ea..2ba30dd7fe3fa9669d2c818ff48e830beb596157 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 /*
   creation d'une geometrie 3d : un cube [0,1]^3
   maillé uniformement en hexahedres reguliers;
index 10e4a204a1f4777d3d6c6e5c324693131aedaa4a..14c23f8e7279f71d04dc45e68fe471d687aee18b 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+//           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either 
+// version 2.1 of the License.
+// 
+// This library is distributed in the hope that it will be useful 
+// but WITHOUT ANY WARRANTY; without even the implied warranty of 
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+// Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public  
+// License along with this library; if not, write to the Free Software 
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 
 /*
   creation d'une geometrie 3d : un cube [0,1]^3
   maillé uniformement en tetrahedres reguliers;
index 40e70d68888cbbda111fa3fbe78cbe5a95a19582..875af24b84ce951f2a3803d30d63e2283674df75 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 %module libMEDClient
 
index f01a357804071a98f375d2935b925a1e04f295d9..68c53c95601d1ed6ba14bf33ccca59d57780f222 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 ####################################################################################################
 #
 # Test the MedClient classes: mounting in Memory a .med file and using this file as a client of
diff --git a/src/MedClient/src/testMeshAlliances.py b/src/MedClient/src/testMeshAlliances.py
new file mode 100755 (executable)
index 0000000..12a4a61
--- /dev/null
@@ -0,0 +1,139 @@
+import salome
+import SALOME
+import os
+
+from libMEDClient import *
+
+filePath=os.environ["MED_ROOT_DIR"]
+filePath=filePath+"/share/salome/resources/"
+
+medFiles = []
+medFiles.append("extendedtransport53_triangles.med")
+medFiles.append("maillage_5_5_5.med")
+medFiles.append("maillage_chemvalIV_cas1_40elts.med")
+
+meshNames = []
+meshNames.append("TestA3_2094_0.1_rsurf_tri")
+meshNames.append("maillage_5_5_5")
+meshNames.append("maillage_chemvalIV_cas1_40elts")
+
+nbOfFiles = len(medFiles)
+
+med=salome.lcc.FindOrLoadComponent("FactoryServer", "MED")
+
+for i in range(nbOfFiles):
+  medFile = filePath + medFiles[i]
+  meshName = meshNames[i]
+
+
+  try:
+    meshCorba = med.readMeshInFile(medFile, salome.myStudyName,meshName)
+  except SALOME.SALOME_Exception, ex:
+    print ex.details
+    print ex.details.type
+    print ex.details.text
+    print ex.details.sourceFile
+    print ex.details.lineNumber
+
+    raise
+
+  print "meshName = ",meshCorba.getName()
+  print "mesh number of nodes", meshCorba.getNumberOfNodes()
+
+
+
+
+
+
+  meshLocalCopy = MESHClient(meshCorba)
+  print "      getting information from the local copy of the distant mesh"
+  name = meshLocalCopy.getName()
+  spaceDimension = meshLocalCopy.getSpaceDimension()
+  meshDimension = meshLocalCopy.getMeshDimension()
+  numberOfNodes = meshLocalCopy.getNumberOfNodes()
+  print "          Name = ", name, " space Dim = ", spaceDimension, " mesh Dim = ", meshDimension, " Nb of Nodes = ", numberOfNodes
+  coordSyst = meshLocalCopy.getCoordinatesSystem()
+  print "          The coordinates system is",coordSyst
+  print "          The Coordinates :"
+  coordNames = []
+  coordUnits = []
+  for isd in range(spaceDimension):
+      coordNames.append(meshLocalCopy.getCoordinateName(isd))
+      coordUnits.append(meshLocalCopy.getCoordinateUnit(isd))
+
+  print "          names:", coordNames
+  print "          units", coordUnits
+  print "          values:"
+  coordinates = meshLocalCopy.getCoordinates(MED_FULL_INTERLACE)
+  for k in range(numberOfNodes):
+      kp1 = k+1
+      print "         ---- ", coordinates[k*spaceDimension:(kp1*spaceDimension)]
+  print ""
+  print "          The Cell Nodal Connectivity of the Cells:"
+  nbTypesCell = meshLocalCopy.getNumberOfTypes(MED_CELL)
+  print ""
+  if (nbTypesCell>0):
+      print "      The Mesh has",nbTypesCell,"Type(s) of Cell"
+      types = meshLocalCopy.getTypes(MED_CELL)
+      for k in range(nbTypesCell):
+          type = types[k]
+          nbElemType = meshLocalCopy.getNumberOfElements(MED_CELL,type)
+          print "     For the type:",type,"there is(are)",nbElemType,"elemnt(s)"
+          connectivity = meshLocalCopy.getConnectivity(MED_FULL_INTERLACE,MED_NODAL,MED_CELL,type)
+          nbNodesPerCell = type%100
+          for j in range(nbElemType):
+              print "       Element",(j+1)," ",connectivity[j*nbNodesPerCell:(j+1)*nbNodesPerCell]
+              pass
+          pass
+      pass
+
+  ##
+  ## TEST METHODS ABOUT POLY ELEMENTS ##
+  ##
+  nbTypesCellWithPoly = meshLocalCopy.getNumberOfTypesWithPoly(MED_CELL)
+  if (nbTypesCell == nbTypesCellWithPoly):
+      print ""
+      print "          No Poly Cells in the mesh"
+      print ""
+      pass
+  else:
+      print ""
+      print "          The Cell Nodal Connectivity of the Poly Cells:"
+      print ""
+      print "      The Mesh has",nbTypesCellWithPoly-nbTypesCell,"Type(s) of Poly Cell"
+      types = meshLocalCopy.getTypesWithPoly(MED_CELL)
+      for k in range(nbTypesCellWithPoly):
+          type = types[k]
+          if type == MED_POLYGON:
+              nbElemType = meshLocalCopy.getNumberOfPolygons()
+          elif type == MED_POLYHEDRA:
+              nbElemType = meshLocalCopy.getNumberOfPolyhedron()
+          else:
+              continue
+          print ""
+          print "     For the type:",type,"there is(are)",nbElemType,"elemnt(s)"
+          if type == MED_POLYGON:
+              connectivity = meshLocalCopy.getPolygonsConnectivity(MED_NODAL,MED_CELL)
+              index = meshLocalCopy.getPolygonsConnectivityIndex(MED_NODAL,MED_CELL)
+              for j in range(nbElemType):
+                  print "       Polygon",(j+1)," ",connectivity[ index[j]-1 : index[j+1]-1 ]
+                  pass
+              pass
+          else:
+              connectivity = meshLocalCopy.getPolyhedronConnectivity(MED_NODAL)
+              fIndex = meshLocalCopy.getPolyhedronFacesIndex()
+              index = meshLocalCopy.getPolyhedronIndex(MED_NODAL)
+              for j in range(nbElemType):
+                  print     "       Polyhedra",(j+1)
+                  iF1, iF2 = index[ j ]-1, index[ j+1 ]-1
+                  for f in range( iF2 - iF1 ):
+                      iN1, iN2 = fIndex[ iF1+f ]-1, fIndex[ iF1+f+1 ]-1
+                      print "         Face",f+1," ",connectivity[ iN1 : iN2 ]
+                      pass
+                  pass
+              pass
+          pass
+      pass
+  pass
+
+print "END of the Pyhton script ..... Ctrl D to exit"
index ba1019984086072ece8d1385a2bc0fa113faae17..654ab3d6ee1437f7cc4f31908c0b882fe243fd3c 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 import salome
 import SALOME_TESTMEDCLIENT
 import SALOME_MED
index 586744316d600dcce5f0a51fb139f2ff8603f206..d6163a8ff24a091b5e8107f25a2cc155fba54146 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index c688571eac8cfc4de9397cbe9906f0bc7336e4dd..2411b3a105630a70a31dee336bea7c52b296e850 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index ee46a855fc69531d0de74f123a40bbec7d2f08d3..6f53ea9e46b332e21e3c31b417fdb17f19a0afb9 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 
 top_srcdir=@top_srcdir@
 top_builddir=../../..
index db73eabd7f9e9a7109f06d499a18b2c16573ee3c..ba83074385ffc1930f0e5b49baa47950a0b09784 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 from libMEDMEM_Swig import *
 
 
index 5b53f9db0795c58a71788fdceb5d6099d82aa6ac..e58ee2ce0a064792312c411e94e266a769cc35c7 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #include "SALOME_Component.idl"
 #include "MED.idl"
index cb075bcad8af4fc3878ad07636ef64a29f11d208..f3dea81afb30a852b3fa756a1f54fecd889e2eee 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 import sys
 from omniORB import CORBA, PortableServer
 import CosNaming
index d77c9eb87b8e9de666eae23eaba53f766e7ddf52..9d905bfd2c5bc9f7285e5f5f4cf24d8c2010611e 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index 2085039c73a91a8df95c4a487ec29f5de7c9c265..d20ebb6193afad5592400a7c8ee6269a58ed52ed 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 import os
 BASE = os.environ["MED_ROOT_DIR"] + '/share/salome/resources/'
 
index 6376e4da38f396752de3e37dc245c6d34b60fe80..6601591a818bfee58b59d6dd9db53c41cd34408d 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 import os
 BASE = os.environ["MED_ROOT_DIR"] + '/share/salome/resources/'
 
index 9ec34ebe20d4f58defc6c4dae4ab1721457f0c0a..9f1ad707e814eb5bf3f7e34fb27c3dfc2bca241b 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 import os
 BASE = os.environ["MED_ROOT_DIR"] + '/share/salome/resources/'
 
index f937a640d94908f37c631719d1c020392823e9b9..2839fd780fa9d60305711a68c2cf7a560525b3a4 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 import os
 BASE = os.environ["MED_ROOT_DIR"] + '/share/salome/resources/'
 
index f18add816c99557a107409fb263be09bac10018e..1afd43d121764e5b0c15e824cd8f7057ef348d7b 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 import os
 BASE = os.environ["MED_ROOT_DIR"] + '/share/salome/resources/'
 
index 9223c9bddbdb0efc08b031997d6b16dcaaee051c..e48d39ad16766b541f5dfda19d7dcdca63654dfd 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef _DEBUG_
 #define _DEBUG_
index 0f6c989301b68b8dc408f4b8ce962c558db4b753..3c42d2d2e9eac82845a98b75bc9c472f72280cd3 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 #ifndef __COMPO2
 #define __COMPO2
index aa2bb3adc9b46e6e83b4d2976d13989c05d4aeb6..13d35f41665d5a76d1f1dfa234938d554be1256d 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index 403690f026039ec4ebea83e19e3d157aa0a82feb..ddae1272226c91b79036ccf0b7cf703f5110e79c 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 import os
 
 ## ne fonctionne pas ?
index 46e2e4dbcfd36c840a217dfa9a5c07bd60372a4b..df81dd5574229da1ca2b999dd4c8e624f236421b 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 import os
 
 BASE = os.environ["MED_ROOT_DIR"] + '/share/salome/resources/'
index 74538d53d51269ae6dbc7fa068face42d5fe1257..21d51de92a5280154050884c6a5cc11d0259c2a1 100644 (file)
@@ -1,3 +1,21 @@
+# Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
+#           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either 
+# version 2.1 of the License.
+# 
+# This library is distributed in the hope that it will be useful 
+# but WITHOUT ANY WARRANTY; without even the implied warranty of 
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+# Lesser General Public License for more details.
+# 
+# You should have received a copy of the GNU Lesser General Public  
+# License along with this library; if not, write to the Free Software 
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+# 
 import os
 
 # import salome
index da488bd8abdadb66e8290d58b19d08c11b03a5d2..f3412fe2d1664a082af98a60a8aabc9adcdc077e 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 %module libCompo2
 
index 71be6d4967988074f787be02044d5d2decdf111b..db6cf0b59662e650e8bc80b561d6321f1522c1c3 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #
index bbf9880fec14135d1e77f38995457dbdb42d6d5e..0ab8d5110bf5eb9067fe841ae427aea7c73f372a 100755 (executable)
@@ -2,7 +2,7 @@
 #
 #  Copyright (C) 2003  CEA/DEN, EDF R&D
 #
-#
+#  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #  File   : batchmode_medcorba_test.py
 #  Module : MED
index 30a576b9a316d8c30bc3bf2a93be8f9ce44a2f85..2dad332e834583cefaa9ebaf6bb5fe2e3d7ec9d5 100644 (file)
@@ -2,7 +2,7 @@
 #
 #  Copyright (C) 2003  CEA/DEN, EDF R&D
 #
-#
+#  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #  File   : batchmode_medcorba_test.py
 #  Module : MED
index 7f7486f845a2b989b250f82928d9fa9ea9d0691e..b63881bdda0be33866d30dd0347bd789bd7af9ce 100644 (file)
@@ -15,7 +15,7 @@
 // License along with this library; if not, write to the Free Software 
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 %module libMedCorba_Swig
 
index dedb4b2127a4f7bf03b1c0a66034f2142a1c607a..56f2fcb088e4ec841b0af25cf897de1ab7887a57 100644 (file)
@@ -17,7 +17,7 @@
 #  License along with this library; if not, write to the Free Software 
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 # 
-#  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #
 #