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

@ -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