29static std::vector<Alien::ISolverFabric*>* solver_fabric_db =
nullptr;
38using namespace Arccore;
45 if (!solver_fabric_db)
46 solver_fabric_db =
new std::vector<ISolverFabric*>();
47 solver_fabric_db->push_back(func());
56 if (!solver_fabric_db) {
57 throw FatalErrorException(A_FUNCINFO,
"There is no converter registered");
60 for (std::vector<ISolverFabric*>::const_iterator i = solver_fabric_db->begin();
61 i != solver_fabric_db->end(); ++i) {
SolverFabricRegisterer.h.
virtual BackEndId backend() const =0
Get the source backend id.
static ISolverFabric * getSolverFabric(BackEndId back_end)
Get the fabric from one solver format to another one.
SolverFabricRegisterer(FabricCreateFunc func)
Creates a solver fabric registerer.
ISolverFabric *(* FabricCreateFunc)()
Type of the solver fabric function.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --