#endif
return ret;
}
+
+std::vector<std::string> MEDPARTITIONER::MEDPartitioner::AllAlgorithms()
+{
+ std::vector<std::string> ret;
+ ret.push_back(std::string(METIS_PART_ALG));
+ ret.push_back(std::string(SCOTCH_PART_ALG));
+ ret.push_back(std::string(PTSCOTCH_PART_ALG));
+ return ret;
+}
MEDPartitioner(const MEDCoupling::MEDFileData* fileData, Graph* graph, bool create_boundary_faces=false, bool create_joints=false, bool mesure_memory=false);
static MEDPARTITIONER::Graph* Graph(MEDCoupling::MEDCouplingSkyLineArray* graph, Graph::splitter_type split=Graph::METIS, int* edgeweight=0, DataArrayInt* vlbloctab=0);
static std::vector<std::string> AvailableAlgorithms();
+ static std::vector<std::string> AllAlgorithms();
void write(const std::string& filename);
MEDCoupling::MEDFileData* getMEDFileData();
~MEDPartitioner();
MEDPartitioner(const MEDCoupling::MEDFileData* fileData, Graph* graph, bool create_boundary_faces=false, bool create_joints=false, bool mesure_memory=false) throw(INTERP_KERNEL::Exception);
static MEDPARTITIONER::Graph* Graph(MEDCoupling::MEDCouplingSkyLineArray* graph, Graph::splitter_type split=Graph::METIS, int* edgeweight=0, MEDCoupling::DataArrayInt* vlbloctab=0) throw(INTERP_KERNEL::Exception);
static std::vector<std::string> AvailableAlgorithms();
+ static std::vector<std::string> AllAlgorithms();
MEDCoupling::MEDFileData* getMEDFileData() throw(INTERP_KERNEL::Exception);
void write(const std::string& filename) throw(INTERP_KERNEL::Exception);
};
%{
static const char SEQ_INTERPOL_EXT[]="Sequential interpolator";
static const char MEDFILEIO_EXT[]="MED file I/O";
- static const char RENUM_EXT[]="Renumbering";
+ static const char RENUM_EXT[]="Renumberer";
static const char PART_EXT[]="Partitioner";
- static const char PAR_INTERPOL_EXT[]="Parallel interpolator";
+ static const char PAR_INTERPOL_EXT[]="Parallel interpolator (SPMD paradigm)";
static const char *EXTENSIONS[]={SEQ_INTERPOL_EXT,MEDFILEIO_EXT,RENUM_EXT,PART_EXT,PAR_INTERPOL_EXT};
static const int NB_OF_EXTENSIONS=sizeof(EXTENSIONS)/sizeof(const char *);
%inline
{
- std::vector<std::string> Extensions()
+ std::vector<std::string> AllPossibleExtensions()
+ {
+ std::vector<std::string> ret(EXTENSIONS,EXTENSIONS+NB_OF_EXTENSIONS);
+ return ret;
+ }
+
+ std::vector<std::string> ActiveExtensions()
{
std::vector<std::string> ret;
ret.push_back(std::string(SEQ_INTERPOL_EXT));
#endif
#endif
}
+
+ std::vector<std::string> AllRenumberMethods()
+ {
+ std::vector<std::string> ret;
+ ret.push_back(std::string(BOOST_ALG));
+ ret.push_back(std::string(METIS_ALG));
+ return ret;
+ }
std::vector<std::string> RenumberAvailableMethods()
{
{
RENUMBER_EXPORT Renumbering* RenumberingFactory(const std::string& s);
RENUMBER_EXPORT std::vector<std::string> RenumberAvailableMethods();
- const char METIS_ALG[]="METIS";
- const char BOOST_ALG[]="BOOST";
+ RENUMBER_EXPORT std::vector<std::string> AllRenumberMethods();
+ const char METIS_ALG[]="Metis";
+ const char BOOST_ALG[]="Boost";
}
#endif /*RENUMBERINGFACTORY_HXX_*/
{
Renumbering *RenumberingFactory(const std::string& s) throw(INTERP_KERNEL::Exception);
std::vector<std::string> RenumberAvailableMethods();
+ std::vector<std::string> AllRenumberMethods();
}