COMP: fix linkage on some libs and utils (general and mingw)

- remove finiteVolume dependency from libfaDecompose
This commit is contained in:
Mark Olesen 2021-05-31 20:54:22 +02:00
parent e681c127f2
commit 9f26e6738f
7 changed files with 18 additions and 19 deletions

View File

@ -10,6 +10,7 @@ EXE_LIBS = \
-lfiniteVolume \
-lfiniteArea \
-lfileFormats \
-lmeshTools \
-lconversion \
-llagrangianIntermediate \
-lgenericPatchFields

View File

@ -1,9 +1,7 @@
EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/finiteArea/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
LIB_LIBS = \
-lfiniteVolume \
-lfiniteArea \
-lmeshTools

View File

@ -56,7 +56,7 @@ void Foam::faMeshDecomposition::distributeFaces()
time().caseName()/("processor" + Foam::name(procI))
);
fvMesh procMesh
polyMesh procMesh
(
IOobject
(
@ -161,7 +161,7 @@ void Foam::faMeshDecomposition::distributeFaces()
Foam::faMeshDecomposition::faMeshDecomposition
(
const fvMesh& mesh,
const polyMesh& mesh,
const label nProcessors,
const dictionary& params
)
@ -266,7 +266,7 @@ void Foam::faMeshDecomposition::decomposeMesh()
time().caseName()/("processor" + Foam::name(procI))
);
fvMesh procFvMesh
polyMesh procFvMesh
(
IOobject
(
@ -1058,8 +1058,8 @@ void Foam::faMeshDecomposition::decomposeMesh()
);
// read finite volume mesh
fvMesh procFvMesh
// Read volume mesh
polyMesh procFvMesh
(
IOobject
(
@ -1176,8 +1176,8 @@ bool Foam::faMeshDecomposition::writeDecomposition()
processorCasePath
);
// read finite volume mesh
fvMesh procFvMesh
// Read volume mesh
polyMesh procFvMesh
(
IOobject
(

View File

@ -42,7 +42,7 @@ SourceFiles
#ifndef faMeshDecomposition_H
#define faMeshDecomposition_H
#include "fvMesh.H"
#include "polyMesh.H"
#include "faMesh.H"
#include "labelList.H"
#include "PtrList.H"
@ -140,7 +140,7 @@ public:
// \param params additional parameters, sent to updateParameters
faMeshDecomposition
(
const fvMesh& mesh,
const polyMesh& mesh,
const label nProcessors,
const dictionary& params = dictionary::null
);

View File

@ -3,7 +3,7 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude
EXE_LIBS = \
LIB_LIBS = \
-lfiniteArea \
-lfiniteVolume \
-lmeshTools

View File

@ -131,15 +131,15 @@ void Foam::processorFaMeshes::read()
Foam::processorFaMeshes::processorFaMeshes
(
const PtrList<fvMesh>& processorFvMeshes
const UPtrList<fvMesh>& processorFvMeshes
)
:
fvMeshes_(processorFvMeshes),
meshes_(processorFvMeshes.size()),
pointProcAddressing_(processorFvMeshes.size()),
edgeProcAddressing_(processorFvMeshes.size()),
faceProcAddressing_(processorFvMeshes.size()),
boundaryProcAddressing_(processorFvMeshes.size())
pointProcAddressing_(meshes_.size()),
edgeProcAddressing_(meshes_.size()),
faceProcAddressing_(meshes_.size()),
boundaryProcAddressing_(meshes_.size())
{
read();
}

View File

@ -60,7 +60,7 @@ class processorFaMeshes
// Private data
//- List of processor finite volume meshes
const PtrList<fvMesh>& fvMeshes_;
const UPtrList<fvMesh>& fvMeshes_;
//- List of processor finite area meshes
PtrList<faMesh> meshes_;
@ -95,7 +95,7 @@ public:
// Constructors
//- Construct from components
processorFaMeshes(const PtrList<fvMesh>& processorFvMeshes);
explicit processorFaMeshes(const UPtrList<fvMesh>& processorFvMeshes);
// Member Functions