COMP: missing linkage for ensightToFoam (ldd linker)

This commit is contained in:
Mark Olesen 2022-11-08 17:13:46 +01:00
parent 18216a4639
commit b9c15b8585
3 changed files with 12 additions and 7 deletions

View File

@ -1,7 +1,11 @@
EXE_INC = \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/fileFormats/lnInclude \
-I$(LIB_SRC)/surfMesh/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/conversion/lnInclude
EXE_LIBS = \
-lfileFormats \
-lsurfMesh \
-lmeshTools \
-lconversion

View File

@ -207,7 +207,7 @@ bool Foam::fileFormats::ensightMeshReader::readGoldPart
// Work
DynamicList<label> verts;
DynamicList<label> verts;
string line;
while (is.good())

View File

@ -35,8 +35,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
#ifndef ensightMeshReader_H
#define ensightMeshReader_H
#ifndef Foam_ensightMeshReader_H
#define Foam_ensightMeshReader_H
#include "meshReader.H"
//#include "ensightReadFile.H"
@ -46,6 +46,7 @@ SourceFiles
namespace Foam
{
// Forward Declarations
class ensightReadFile;
namespace fileFormats
@ -59,7 +60,7 @@ class ensightMeshReader
:
public meshReader
{
// Private data
// Private Data
//- Merge distance
const scalar mergeTol_;
@ -168,13 +169,13 @@ public:
// Access
//- Original node id (if supplied) or -1
inline const labelList& nodeIds() const
const labelList& nodeIds() const noexcept
{
return nodeIds_;
}
//- Original element id (if supplied) or -1
inline const labelList& elementIds() const
const labelList& elementIds() const noexcept
{
return elementIds_;
}