diff --git a/Common_CS.mk b/Common_CS.mk index c1b7be1..f67be31 100644 --- a/Common_CS.mk +++ b/Common_CS.mk @@ -45,7 +45,6 @@ MAKE_CLEAN_ARGUMENTS = *~ *.o *.mod *.il *.stb c_* *.so FF90_ALL_FLAGS = -I$(MODDIR) -I. \ $(CGNS_INCLUDE_FLAGS) \ - $(CGNS_VERSION_FLAG) \ $(FF90_GEN_FLAGS) \ $(FF90_OPT_FLAGS) \ $(PETSC_INCLUDE_FLAGS) \ diff --git a/Common_real.mk b/Common_real.mk index 6e5cfbb..16c6aca 100644 --- a/Common_real.mk +++ b/Common_real.mk @@ -45,7 +45,6 @@ MAKE_CLEAN_ARGUMENTS = *~ *.o *.mod *.il *.stb c_* *.so FF90_ALL_FLAGS = -I$(MODDIR) \ $(CGNS_INCLUDE_FLAGS) \ - $(CGNS_VERSION_FLAG) \ $(FF90_GEN_FLAGS) \ $(FF90_OPT_FLAGS) \ $(PETSC_INCLUDE_FLAGS) diff --git a/config/defaults/config.LINUX_GFORTRAN_OPENMPI.mk b/config/defaults/config.LINUX_GFORTRAN_OPENMPI.mk index 2ffcb22..e7dead2 100644 --- a/config/defaults/config.LINUX_GFORTRAN_OPENMPI.mk +++ b/config/defaults/config.LINUX_GFORTRAN_OPENMPI.mk @@ -11,15 +11,9 @@ CC = mpicc # ------- Define CGNS Inlcude and linker flags ------------------------- -# Define the CNGS include directory and linking flags for CGNSlib. We -# can use 3.2.x OR CGNS 3.3+. You must define which version is being -# employed as shown below. We are assuming that HDF5 came from PETSc -# so it is included in ${PETSC_LIB}. Otherwise you will have to -# specify the HDF5 library. - -# ----------- CGNS ------------------ -# CGNS_VERSION_FLAG= # for CGNS 3.2.x -CGNS_VERSION_FLAG=-DUSECGNSMODULE # for CGNS 3.3.x +# Define the CGNS include directory and linking flags for the CGNS library. +# We are assuming that HDF5 came from PETSc so it is included in ${PETSC_LIB}. +# Otherwise you will have to specify the HDF5 library. CGNS_INCLUDE_FLAGS=-I$(CGNS_HOME)/include CGNS_LINKER_FLAGS=-L$(CGNS_HOME)/lib -lcgns diff --git a/config/defaults/config.LINUX_INTEL_OPENMPI.mk b/config/defaults/config.LINUX_INTEL_OPENMPI.mk index d76b9dd..f20c623 100644 --- a/config/defaults/config.LINUX_INTEL_OPENMPI.mk +++ b/config/defaults/config.LINUX_INTEL_OPENMPI.mk @@ -10,15 +10,9 @@ FF90 = mpif90 CC = mpicc # ------- Define CGNS Inlcude and linker flags ------------------------- -# Define the CNGS include directory and linking flags for CGNSlib. We -# can use 3.2.x OR CGNS 3.3+. You must define which version is being -# employed as shown below. We are assuming that HDF5 came from PETSc -# so it is included in ${PETSC_LIB}. Otherwise you will have to -# specify the HDF5 library. - -# ----------- CGNS ------------------ -# CGNS_VERSION_FLAG= # for CGNS 3.2.x -CGNS_VERSION_FLAG=-DUSECGNSMODULE # for CGNS 3.3.x +# Define the CGNS include directory and linking flags for the CGNS library. +# We are assuming that HDF5 came from PETSc so it is included in ${PETSC_LIB}. +# Otherwise you will have to specify the HDF5 library. CGNS_INCLUDE_FLAGS=-I$(CGNS_HOME)/include CGNS_LINKER_FLAGS=-L$(CGNS_HOME)/lib -lcgns diff --git a/config/defaults/config.OSX_GFORTRAN_OPENMPI.mk b/config/defaults/config.OSX_GFORTRAN_OPENMPI.mk index 146f9c3..521a64b 100644 --- a/config/defaults/config.OSX_GFORTRAN_OPENMPI.mk +++ b/config/defaults/config.OSX_GFORTRAN_OPENMPI.mk @@ -10,15 +10,9 @@ FF90 = mpif90 CC = mpicc # ------- Define CGNS Inlcude and linker flags ------------------------- -# Define the CNGS include directory and linking flags for CGNSlib. We -# can use 3.2.x OR CGNS 3.3+. You must define which version is being -# employed as shown below. We are assuming that HDF5 came from PETSc -# so it is included in ${PETSC_LIB}. Otherwise you will have to -# specify the HDF5 library. - -# ----------- CGNS ------------------ -# CGNS_VERSION_FLAG= # for CGNS 3.2.x -CGNS_VERSION_FLAG=-DUSECGNSMODULE # for CGNS 3.3.x +# Define the CGNS include directory and linking flags for the CGNS library. +# We are assuming that HDF5 came from PETSc so it is included in ${PETSC_LIB}. +# Otherwise you will have to specify the HDF5 library. CGNS_INCLUDE_FLAGS=-I$(CGNS_HOME)/include CGNS_LINKER_FLAGS=-L$(CGNS_HOME)/lib -lcgns diff --git a/idwarp/__init__.py b/idwarp/__init__.py index d6282e7..d53439e 100644 --- a/idwarp/__init__.py +++ b/idwarp/__init__.py @@ -1,4 +1,4 @@ -__version__ = "2.3.0" +__version__ = "2.4.0" from .UnstructuredMesh import USMesh from .MultiUnstructuredMesh import MultiUSMesh diff --git a/src/modules/cgnsGrid.F90 b/src/modules/cgnsGrid.F90 index 00e1d38..d2da3c0 100644 --- a/src/modules/cgnsGrid.F90 +++ b/src/modules/cgnsGrid.F90 @@ -1,19 +1,12 @@ module cgnsGrid - ! + ! ! A module to hold the data structures to store information related ! to a structured or unstructured CGNS grid ! use constants -#ifdef USECGNSMODULE use cgns implicit none -#else - implicit none - include "cgnslib_f.h" - integer(kind=4), private :: dummyInt - integer, parameter :: cgsize_t=kind(dummyInt) -#endif save