13WallFactory* WallFactory::s_factory = 0;
14std::mutex WallFactory::wall_mutex;
16WallFactory::WallFactory()
18 reg(
"Wall", []() {
return new Wall(); });
Header file for base class WallBase.
WallBase * create(const std::string &name, Args... args)
Create an object using the object construction function corresponding to "name" and the provided cons...
void reg(const std::string &name, std::function< WallBase *(Args...)> f)
Register a new object construction function.
Base class for 'walls' (walls, pistons, etc.) connecting reactors.
virtual WallBase * newWall(const std::string &wallType)
Create a new wall by type name.
Namespace for the Cantera kernel.