31 "You are trying to use ptscotch but do not have the "
32 "ptscotch library loaded."
33 "\nThis message is from the dummy ptscotch stub library instead.\n"
35 "Please install ptscotch and make sure that libptscotch.so is in your "
37 "The ptscotch library can then be built in "
38 "$FOAM_SRC/parallel/decompose/ptscotch\n";
45 namespace decompositionMethods
61 void Foam::decompositionMethods::ptscotch::check
71 const fileName& meshPath,
72 const List<label>& initxadj,
73 const List<label>& initadjncy,
76 List<label>& finalDecomp
88 const fileName& meshPath,
89 const label adjncySize,
94 List<label>& finalDecomp
Macros for easy insertion into run-time selection tables.
static const List< label > & null()
Return a null List.
Abstract base class for decomposition.
PTScotch domain decomposition. For the main details about how to define the strategies,...
virtual labelList decompose(const pointField &points, const scalarField &pointWeights)
Inherit decompose from decompositionMethod.
ptscotch(const dictionary &decompositionDict)
Construct given the decomposition dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh consisting of general polyhedral cells.
static const char * notImplementedMessage
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
defineTypeNameAndDebug(metis, 0)
addToRunTimeSelectionTable(decompositionMethod, metis, decomposer)
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.