MCPcopy Create free account
hub / github.com/IBAMR/IBAMR / allocateSolver

Method allocateSolver

ibtk/src/solvers/impls/CCPoissonSolverManager.cpp:103–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101/////////////////////////////// PUBLIC ///////////////////////////////////////
102
103Pointer<PoissonSolver>
104CCPoissonSolverManager::allocateSolver(const std::string& solver_type,
105 const std::string& solver_object_name,
106 Pointer<Database> solver_input_db,
107 const std::string& solver_default_options_prefix) const
108{
109 auto it = d_solver_maker_map.find(solver_type);
110 if (it == d_solver_maker_map.end())
111 {
112 TBOX_ERROR("CCPoissonSolverManager::allocateSolver():\n"
113 << " unrecognized solver type: " << solver_type << "\n");
114 }
115 return (it->second)(solver_object_name, solver_input_db, solver_default_options_prefix);
116} // allocateSolver
117
118Pointer<PoissonSolver>
119CCPoissonSolverManager::allocateSolver(const std::string& solver_type,

Callers 11

setCoarseSolverTypeMethod · 0.45
setCoarseSolverTypeMethod · 0.45
setCoarseSolverTypeMethod · 0.45
setCoarseSolverTypeMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 4

findMethod · 0.80
endMethod · 0.45
emptyMethod · 0.45
setPreconditionerMethod · 0.45

Tested by

no test coverage detected