Cantera  3.1.0
Loading...
Searching...
No Matches

Zero-dimensional objects adjacent to reactors. More...

Collaboration diagram for Walls:

Detailed Description

Zero-dimensional objects adjacent to reactors.

Wall objects should be instantiated via the newWall function, for example:

shared_ptr<WallBase> piston = newWall("Wall", "my_piston");
shared_ptr< WallBase > newWall(const string &model, const string &name)
Create a WallBase object of the specified type.

Classes

class  ReactorSurface
 A surface where reactions can occur that is in contact with the bulk fluid of a Reactor. More...
 
class  WallBase
 Base class for 'walls' (walls, pistons, etc.) connecting reactors. More...
 
class  Wall
 Represents a wall between between two ReactorBase objects. More...
 

Functions

shared_ptr< WallBasenewWall (const string &model, const string &name="(none)")
 Create a WallBase object of the specified type.
 
shared_ptr< WallBasenewWall3 (const string &model)
 Create a WallBase object of the specified type.
 

Function Documentation

◆ newWall()

shared_ptr< WallBase > newWall ( const string &  model,
const string &  name = "(none)" 
)

Create a WallBase object of the specified type.

Since
Starting in Cantera 3.1, this method returns a shared_ptr<WallBase>

Definition at line 34 of file WallFactory.cpp.

◆ newWall3()

shared_ptr< WallBase > newWall3 ( const string &  model)

Create a WallBase object of the specified type.

Since
New in Cantera 3.0.
Deprecated:
Replaced by newWall. To be removed after Cantera 3.1.

Definition at line 39 of file WallFactory.cpp.