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

Method getComponentDatabase

ibtk/src/utilities/AppInitializer.cpp:402–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400} // getRestartDatabase
401
402Pointer<Database>
403AppInitializer::getComponentDatabase(const std::string& component_name, const bool suppress_warning)
404{
405 const bool db_exists = d_input_db->isDatabase(component_name);
406 if (!db_exists && !suppress_warning)
407 {
408 pout << "WARNING: AppInitializer::getComponentDatabase(): Database corresponding to "
409 "component `"
410 << component_name << "' not found in input\n";
411 return new NullDatabase();
412 }
413 else
414 {
415 return d_input_db->getDatabase(component_name);
416 }
417} // getComponentDatabase
418
419bool
420AppInitializer::dumpVizData() const

Callers 15

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 2

mainFunction · 0.64
mainFunction · 0.64