31 "You are trying to use ptscotch but do not have the "
32 "ptscotchDecomp library loaded."
33 "\nThis message is from the dummy ptscotchDecomp stub library instead.\n"
35 "Please install ptscotch and make sure that libptscotch.so is in your "
37 "The ptscotchDecomp library can then be built in "
38 "$FOAM_SRC/parallel/decompose/ptscotchDecomp\n";
58 void Foam::ptscotchDecomp::check(
const int retVal,
const char* str)
64 const fileName& meshPath,
65 const List<label>& initxadj,
66 const List<label>& initadjncy,
69 List<label>& finalDecomp
81 const fileName& meshPath,
82 const label adjncySize,
87 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.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh consisting of general polyhedral cells.
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.
ptscotchDecomp(const dictionary &decompositionDict)
Construct given the decomposition dictionary and mesh.
static const char * notImplementedMessage
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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.
defineTypeNameAndDebug(combustionModel, 0)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)