libInterpKernelTest_la_CPPFLAGS += \
-DDISABLE_MICROMED \
$(MED3_INCLUDES) $(HDF5_INCLUDES) \
- -I$(srcdir)/../MEDWrapper/V2_1/Core \
-I$(srcdir)/../MEDMEM
libInterpKernelTest_la_LDFLAGS += \
- ../MEDWrapper/V2_1/Core/libmed_V2_1.la \
../MEDMEM/libmedmem.la -lm
endif
// 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 Field.hxx
public:
- friend class MED_MED_RDONLY_DRIVER21;
- friend class MED_MED_WRONLY_DRIVER21;
- friend class MED_MED_RDWR_DRIVER21;
friend class MED_MED_RDONLY_DRIVER22;
friend class MED_MED_WRONLY_DRIVER22;
friend class MED_MED_RDWR_DRIVER22;
// 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 MESH_HXX
#define MESH_HXX
friend class MED_MESH_RDONLY_DRIVER;
friend class MED_MESH_WRONLY_DRIVER;
- friend class MED_MED_RDONLY_DRIVER21;
- friend class MED_MED_WRONLY_DRIVER21;
- friend class MED_MED_RDWR_DRIVER21;
friend class MED_MED_RDONLY_DRIVER22;
friend class MED_MED_WRONLY_DRIVER22;
friend class MED_MED_RDWR_DRIVER22;
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
# SALOMELocalTrace : log on local machine
-#
+
include $(top_srcdir)/adm_local/unix/make_common_starter.am
lib_LTLIBRARIES = libMEDSPLITTERTest.la
libMEDSPLITTERTest_la_CPPFLAGS= $(MPI_INCLUDES) @CPPUNIT_INCLUDES@ $(MED3_INCLUDES) \
$(HDF5_INCLUDES) $(BOOST_CPPFLAGS) $(LIBXML_CXXFLAGS) \
- -I$(srcdir)/.. -I$(srcdir)/../../MEDWrapper/V2_1/Core -I$(srcdir)/../../MEDMEM \
+ -I$(srcdir)/.. -I$(srcdir)/../../MEDMEM \
-I$(srcdir)/../../MEDMEMCppTest -I$(srcdir)/../../INTERP_KERNEL/Bases \
-I$(srcdir)/../../INTERP_KERNEL/GaussPoints \
-I$(srcdir)/../../INTERP_KERNEL
TestParaMEDSPLITTER_CPPFLAGS = $(TestMEDSPLITTER_CPPFLAGS) $(MPI_INCLUDES)
TestParaMEDSPLITTER_CXXFLAGS = @CXXTMPDPTHFLAGS@
TestParaMEDSPLITTER_LDADD = $(MED3_LIBS_C_ONLY) $(libMEDSPLITTERTest_la_LDFLAGS) -lm \
- libMEDSPLITTERTest.la ../../MEDWrapper/V2_1/Core/libmed_V2_1.la \
+ libMEDSPLITTERTest.la \
../../MEDMEM/libmedmem.la ../../INTERP_KERNEL/libinterpkernel.la \
../libmedsplitter.la $(HDF5_LIBS) $(MPI_LIBS) @CPPUNIT_LIBS@
dist_salomescript_DATA += testParaMEDSPLITTER.py
TestMEDSPLITTER_CPPFLAGS= $(libMEDSPLITTERTest_la_CPPFLAGS)
TestMEDSPLITTER_CXXFLAGS = @CXXTMPDPTHFLAGS@
TestMEDSPLITTER_LDADD= $(MED3_LIBS_C_ONLY) $(libMEDSPLITTERTest_la_LDFLAGS) -lm \
- libMEDSPLITTERTest.la ../../MEDWrapper/V2_1/Core/libmed_V2_1.la \
+ libMEDSPLITTERTest.la \
../../MEDMEM/libmedmem.la ../../INTERP_KERNEL/libinterpkernel.la \
../libmedsplitter.la
# TESTS = TestMEDSPLITTER
#
ADD_SUBDIRECTORY(Base)
-ADD_SUBDIRECTORY(V2_1)
ADD_SUBDIRECTORY(V2_2)
ADD_SUBDIRECTORY(Factory)
// 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 :
-// Author :
-// Module :
-//
#include "MED_Factory.hxx"
#include "MED_Utilities.hxx"
#include "MED_V2_2_Wrapper.hxx"
-#include "MED_V2_1_Wrapper.hxx"
#include <stdio.h>
#include <sstream>
aWrapper.reset(new MED::V2_2::TVWrapper(theFileName));
break;
case eV2_1:
- aWrapper.reset(new MED::V2_1::TVWrapper(theFileName));
+ EXCEPTION(std::runtime_error,"Cannot open file '"<<theFileName<<"'. Med version 2.1 is not supported any more.");
+ //aWrapper.reset(new MED::V2_1::TVWrapper(theFileName));
break;
default:
EXCEPTION(std::runtime_error,"MED::CrWrapper - theFileName = '"<<theFileName<<"'");
aWrapper.reset(new MED::V2_2::TVWrapper(theFileName));
break;
case eV2_1:
- aWrapper.reset(new MED::V2_1::TVWrapper(theFileName));
+ EXCEPTION(std::runtime_error,"Cannot open file '"<<theFileName<<"'. Med version 2.1 is not supported any more.");
+ //aWrapper.reset(new MED::V2_1::TVWrapper(theFileName));
break;
default:
aWrapper.reset(new MED::V2_2::TVWrapper(theFileName));
// 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 :
-// Author :
-// Module :
-// $Header$
-//
#ifndef MED_Factory_HeaderFile
#define MED_Factory_HeaderFile
else
libMEDWrapper_la_CPPFLAGS+= -I$(top_builddir)/adm_local_without_kernel/unix
endif
-libMEDWrapper_la_CPPFLAGS+= -I$(srcdir)/../V2_1/Wrapper -I$(srcdir)/../V2_2
-libMEDWrapper_la_LDFLAGS= ../V2_2/libMEDWrapper_V2_2.la ../V2_1/Wrapper/libMEDWrapper_V2_1.la
+libMEDWrapper_la_CPPFLAGS+= -I$(srcdir)/../V2_2
+libMEDWrapper_la_LDFLAGS= ../V2_2/libMEDWrapper_V2_2.la
# Executables targets
bin_PROGRAMS = MED_Test mprint_version
dist_MED_Test_SOURCES= MED_Test.cxx
MED_Test_CPPFLAGS= $(libMEDWrapper_la_CPPFLAGS)
-MED_Test_LDADD= $(libMEDWrapper_la_LDFLAGS) ../Base/libMEDWrapperBase.la ../V2_1/Core/libmed_V2_1.la \
+MED_Test_LDADD= $(libMEDWrapper_la_LDFLAGS) ../Base/libMEDWrapperBase.la \
$(BOOST_LIB_THREAD) libMEDWrapper.la
dist_mprint_version_SOURCES= mprint_version.cxx
mprint_version_CPPFLAGS= $(libMEDWrapper_la_CPPFLAGS)
-mprint_version_LDADD= $(libMEDWrapper_la_LDFLAGS) ../Base/libMEDWrapperBase.la ../V2_1/Core/libmed_V2_1.la \
+mprint_version_LDADD= $(libMEDWrapper_la_LDFLAGS) ../Base/libMEDWrapperBase.la \
$(BOOST_LIB_THREAD) libMEDWrapper.la $(MED3_LIBS_C_ONLY)
# 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 $(top_srcdir)/adm_local/unix/make_common_starter.am
# if without KERNEL, build only med 2.1 library
if MED_ENABLE_KERNEL
- SUBDIRS = Base V2_1 V2_2 Factory
+ SUBDIRS = Base V2_2 Factory
else !MED_ENABLE_KERNEL
- SUBDIRS = Base V2_1
+ SUBDIRS = Base
endif
-DIST_SUBDIRS = Base V2_1 V2_2 Factory
+DIST_SUBDIRS = Base V2_2 Factory
# 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
-#
+
include $(top_srcdir)/adm_local/unix/make_common_starter.am
# this directory must be recompiled before Test folder
librenumber_la_CPPFLAGS= $(MED3_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \
$(BOOST_CPPFLAGS) \
- -I$(srcdir)/../MEDMEM -I$(srcdir)/../MEDWrapper/V2_1/Core -I$(srcdir)/../INTERP_KERNEL/Bases \
+ -I$(srcdir)/../MEDMEM -I$(srcdir)/../INTERP_KERNEL/Bases \
-I$(srcdir)/../INTERP_KERNEL/GaussPoints \
-I$(srcdir)/../INTERP_KERNEL
librenumber_la_LDFLAGS=
#libmedsplitter_la_LDFLAGS= $(MED3_LIBS_C_ONLY) $(HDF5_LIBS) $(STDLIB) \
-# ../MEDMEM/libmedmem.la ../MEDWrapper/V2_1/Core/libmed_V2_1.la
+# ../MEDMEM/libmedmem.la
if MED_ENABLE_METIS
librenumber_la_CPPFLAGS+= $(METIS_CPPFLAGS)
endif
librenumber_la_LDFLAGS+= $(MED3_LIBS_C_ONLY) $(HDF5_LIBS) $(STDLIB) \
- ../MEDMEM/libmedmem.la ../MEDWrapper/V2_1/Core/libmed_V2_1.la ../INTERP_KERNEL/libinterpkernel.la
+ ../MEDMEM/libmedmem.la ../INTERP_KERNEL/libinterpkernel.la
# Executables targets
bin_PROGRAMS= renumber