%include "MEDPartitionerCommon.i"
#endif
+#ifdef WITH_PARALLEL_INTERPOLATOR
+%include "ParaMEDMEMCommon.i"
+#endif
%{
static const char SEQ_INTERPOL_EXT[]="Sequential interpolator";
std::vector<std::string> ret(EXTENSIONS,EXTENSIONS+NB_OF_EXTENSIONS);
return ret;
}
+
+ bool HasMEDFileExt()
+ {
+#ifdef WITH_MED_FILE
+ return true;
+#else
+ return false;
+#endif
+ }
+
+ bool HasRenumberExt()
+ {
+#ifdef WITH_RENUMBER
+ return true;
+#else
+ return false;
+#endif
+ }
+
+ bool HasPartitionerExt()
+ {
+#ifdef WITH_PARTITIONER
+ return true;
+#else
+ return false;
+#endif
+ }
+
+ bool HasScotchPartitionerAlg()
+ {
+#ifdef WITH_PARTITIONER
+ return MEDPartitioner::HasScotchAlg();
+#else
+ return false;
+#endif
+ }
+
+ bool HasPTScotchPartitionerAlg()
+ {
+#ifdef WITH_PARTITIONER
+ return MEDPartitioner::HasPTScotchAlg();
+#else
+ return false;
+#endif
+ }
+
+ bool HasMetisPartitionerAlg()
+ {
+#ifdef WITH_PARTITIONER
+ return MEDPartitioner::HasMetisAlg();
+#else
+ return false;
+#endif
+ }
+
+ bool HasParallelInterpolatorExt()
+ {
+#ifdef WITH_PARALLEL_INTERPOLATOR
+ return true;
+#else
+ return false;
+#endif
+ }
std::vector<std::string> ActiveExtensions()
{
#endif
#ifdef WITH_PARTITIONER
ret.push_back(std::string(PART_EXT));
+#endif
+#ifdef WITH_PARALLEL_INTERPOLATOR
+ ret.push_back(std::string(PAR_INTERPOL_EXT));
#endif
return ret;
}