Mac OSX Porting changes
This commit is contained in:
parent
5d98ea3dea
commit
629d716c38
16 changed files with 21 additions and 16 deletions
|
@ -27,8 +27,9 @@ Application
|
|||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "argList.H"
|
||||
#include "triSurface.H"
|
||||
#include "objectRegistry.H"
|
||||
#include "foamTime.H"
|
||||
#include "triSurface.H"
|
||||
#include "polyMesh.H"
|
||||
#include "faCFD.H"
|
||||
#include "IFstream.H"
|
||||
|
|
|
@ -27,6 +27,7 @@ Description
|
|||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "argList.H"
|
||||
#include "objectRegistry.H"
|
||||
#include "foamTime.H"
|
||||
#include "triSurf.H"
|
||||
#include "triSurfaceCopyParts.H"
|
||||
|
|
|
@ -28,6 +28,7 @@ Description
|
|||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "argList.H"
|
||||
#include "objectRegistry.H"
|
||||
#include "foamTime.H"
|
||||
#include "polyMeshGenModifier.H"
|
||||
#include "meshOptimizer.H"
|
||||
|
|
|
@ -28,6 +28,7 @@ Description
|
|||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "argList.H"
|
||||
#include "objectRegistry.H"
|
||||
#include "foamTime.H"
|
||||
#include "polyMeshGenModifier.H"
|
||||
#include "meshOptimizer.H"
|
||||
|
|
|
@ -28,6 +28,7 @@ Description
|
|||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "argList.H"
|
||||
#include "objectRegistry.H"
|
||||
#include "foamTime.H"
|
||||
#include "polyMeshGenModifier.H"
|
||||
#include "symmetryPlaneOptimisation.H"
|
||||
|
|
|
@ -31,8 +31,9 @@ Author
|
|||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "argList.H"
|
||||
#include "autoPtr.H"
|
||||
#include "objectRegistry.H"
|
||||
#include "foamTime.H"
|
||||
#include "autoPtr.H"
|
||||
#include "triSurf.H"
|
||||
#include "triSurfModifier.H"
|
||||
#include "demandDrivenData.H"
|
||||
|
|
|
@ -30,6 +30,7 @@ Description
|
|||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "argList.H"
|
||||
#include "objectRegistry.H"
|
||||
#include "foamTime.H"
|
||||
#include "voronoiMeshGenerator.H"
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ void basicSymmetryFvPatchField<scalar>::evaluate(const Pstream::commsTypes)
|
|||
// Local typedefs
|
||||
typedef scalar Type;
|
||||
typedef outerProduct<vector, Type>::type gradType;
|
||||
typedef GeometricField<gradType, fvPatchField, volMesh> gradFieldType;
|
||||
typedef GeometricField<gradType, Foam::fvPatchField, volMesh> gradFieldType;
|
||||
|
||||
if (!updated())
|
||||
{
|
||||
|
@ -141,7 +141,7 @@ tmp<vectorField> basicSymmetryFvPatchField<vector>::snGrad() const
|
|||
// Local typedefs
|
||||
typedef vector Type;
|
||||
typedef outerProduct<vector, Type>::type gradType;
|
||||
typedef GeometricField<gradType, fvPatchField, volMesh> gradFieldType;
|
||||
typedef GeometricField<gradType, Foam::fvPatchField, volMesh> gradFieldType;
|
||||
|
||||
vectorField nHat = this->patch().nf();
|
||||
|
||||
|
@ -214,7 +214,7 @@ void basicSymmetryFvPatchField<vector>::evaluate(const Pstream::commsTypes)
|
|||
// Local typedefs
|
||||
typedef vector Type;
|
||||
typedef outerProduct<vector, Type>::type gradType;
|
||||
typedef GeometricField<gradType, fvPatchField, volMesh> gradFieldType;
|
||||
typedef GeometricField<gradType, Foam::fvPatchField, volMesh> gradFieldType;
|
||||
|
||||
if (!updated())
|
||||
{
|
||||
|
|
|
@ -406,7 +406,6 @@ void Field<Type>::map
|
|||
if
|
||||
(
|
||||
mapper.direct()
|
||||
&& &mapper.directAddressing()
|
||||
&& mapper.directAddressing().size()
|
||||
)
|
||||
{
|
||||
|
@ -451,7 +450,6 @@ void Field<Type>::autoMap
|
|||
(
|
||||
(
|
||||
mapper.direct()
|
||||
&& &mapper.directAddressing()
|
||||
&& mapper.directAddressing().size()
|
||||
)
|
||||
|| (!mapper.direct() && mapper.addressing().size())
|
||||
|
|
|
@ -36,10 +36,11 @@ SourceFiles
|
|||
#ifndef coordinateModifier_H
|
||||
#define coordinateModifier_H
|
||||
|
||||
#include "objectRegistry.H"
|
||||
#include "foamTime.H"
|
||||
#include "word.H"
|
||||
#include "point.H"
|
||||
#include "coordinateModificationList.H"
|
||||
#include "foamTime.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
CPP = cpp $(GFLAGS)
|
||||
LD = ld -64
|
||||
|
||||
PROJECT_LIBS = -l$(WM_PROJECT) -liberty -lnsl -lsocket -L$(FOAM_LIBBIN)/dummy -lPstream
|
||||
PROJECT_LIBS = -l$(WM_PROJECT) -liberty -lnsl -lsocket
|
||||
|
||||
include $(GENERAL_RULES)/standard
|
||||
|
||||
|
|
|
@ -19,5 +19,5 @@ cpptoo = $(Ctoo)
|
|||
LINK_LIBS = $(c++DBUG) -lpthread
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -lpthread -dynamiclib -undefined dynamic_lookup
|
||||
# LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN) -lfoam -L$(FOAM_MPI_LIBBIN) -lPstream
|
||||
LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN)/$(FOAM_MPI) -lPstream
|
||||
# LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN)
|
||||
LINKEXE = $(CC) $(c++FLAGS) -lpthread
|
||||
|
|
|
@ -18,5 +18,4 @@ cpptoo = $(Ctoo)
|
|||
LINK_LIBS = $(c++DBUG) -lpthread
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -lpthread -dynamiclib -undefined dynamic_lookup
|
||||
# LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN) -lfoam -L$(FOAM_MPI_LIBBIN) -lPstream
|
||||
LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN)/$(FOAM_MPI) -lPstream
|
||||
LINKEXE = $(CC) $(c++FLAGS) -lpthread
|
||||
|
|
|
@ -18,4 +18,4 @@ cpptoo = $(Ctoo)
|
|||
LINK_LIBS = $(c++DBUG) -lpthread
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -lpthread -dynamiclib -undefined dynamic_lookup
|
||||
LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN) -lfoam -L$(FOAM_MPI_LIBBIN) -lPstream
|
||||
LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN)
|
||||
|
|
|
@ -18,4 +18,4 @@ cpptoo = $(Ctoo)
|
|||
LINK_LIBS = $(c++DBUG) -lrt
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -shared
|
||||
LINKEXE = $(CC) $(c++FLAGS) -L$(FOAM_MPI_LIBBIN) -lPstream
|
||||
LINKEXE = $(CC) $(c++FLAGS)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
CPP = /usr/lib/cpp -undef $(GFLAGS)
|
||||
|
||||
PROJECT_LIBS = -l$(WM_PROJECT) -liberty -lnsl -lsocket -L$(FOAM_LIBBIN)/dummy -lPstream
|
||||
PROJECT_LIBS = -l$(WM_PROJECT) -liberty -lnsl -lsocket
|
||||
|
||||
include $(GENERAL_RULES)/standard
|
||||
|
||||
|
|
Reference in a new issue