13 WallFactory* WallFactory::s_factory = 0;
14 std::mutex WallFactory::wall_mutex;
16 WallFactory::WallFactory()
18 reg(
"Wall", []() {
return new Wall(); });
26 return create(wallType);
32 return create(m_types.at(ir));
33 }
catch (out_of_range&) {
34 throw CanteraError(
"WallFactory::newWall",
35 "unknown wall type!");
Header file for base class WallBase.
Namespace for the Cantera kernel.
WallBase * newWall(const std::string &model)
Create a Wall object of the specified type.
const int WallType
Magic numbers.