Base class for 'walls' (walls, pistons, etc.) connecting reactors.  
 More...
#include <Wall.h>
Base class for 'walls' (walls, pistons, etc.) connecting reactors. 
Definition at line 21 of file Wall.h.
 | 
|   | WallBase (const string &name="(none)") | 
|   | 
| 
  | WallBase (const WallBase &)=delete | 
|   | 
| 
WallBase &  | operator= (const WallBase &)=delete | 
|   | 
| virtual string  | type () const | 
|   | String indicating the wall model implemented.  
  | 
|   | 
| string  | name () const | 
|   | Retrieve wall name.  
  | 
|   | 
| void  | setName (const string &name) | 
|   | Set wall name.  
  | 
|   | 
| bool  | setDefaultName (map< string, int > &counts) | 
|   | Set the default name of a wall. Returns false if it was previously set.  
  | 
|   | 
| virtual double  | expansionRate () | 
|   | Rate of volume change (m^3/s) for the adjacent reactors at current reactor network time.  
  | 
|   | 
| virtual double  | heatRate () | 
|   | Heat flow rate through the wall (W) at current reactor network time.  
  | 
|   | 
| double  | area () | 
|   | Area in (m^2).  
  | 
|   | 
| virtual void  | setArea (double a) | 
|   | Set the area [m^2].  
  | 
|   | 
| bool  | install (ReactorBase &leftReactor, ReactorBase &rightReactor) | 
|   | Install the wall between two reactors or reservoirs.  
  | 
|   | 
| virtual void  | initialize () | 
|   | Called just before the start of integration.  
  | 
|   | 
| virtual bool  | ready () | 
|   | True if the wall is correctly configured and ready to use.  
  | 
|   | 
| ReactorBase &  | left () const | 
|   | Return a reference to the Reactor or Reservoir to the left of the wall.  
  | 
|   | 
| ReactorBase &  | right () | 
|   | Return a reference to the Reactor or Reservoir to the right of the wall.  
  | 
|   | 
| void  | setSimTime (double time) | 
|   | Set current reactor network time.  
  | 
|   | 
◆ WallBase()
  
  
      
        
          | WallBase  | 
          ( | 
          const string &  | 
          name = "(none)" | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ ~WallBase()
◆ type()
  
  
      
        
          | virtual string type  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
String indicating the wall model implemented. 
Usually corresponds to the name of the derived class. 
Reimplemented in Wall.
Definition at line 32 of file Wall.h.
 
 
◆ name()
Retrieve wall name. 
Definition at line 37 of file Wall.h.
 
 
◆ setName()
  
  
      
        
          | void setName  | 
          ( | 
          const string &  | 
          name | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Set wall name. 
Definition at line 42 of file Wall.h.
 
 
◆ setDefaultName()
      
        
          | bool setDefaultName  | 
          ( | 
          map< string, int > &  | 
          counts | ) | 
           | 
        
      
 
Set the default name of a wall. Returns false if it was previously set. 
Definition at line 13 of file Wall.cpp.
 
 
◆ expansionRate()
  
  
      
        
          | virtual double expansionRate  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
Rate of volume change (m^3/s) for the adjacent reactors at current reactor network time. 
This method is called by Reactor::evalWalls(). Base class method does nothing (that is, constant volume), but may be overloaded. 
- Since
 - New in Cantera 3.0. 
 
Reimplemented in Wall.
Definition at line 56 of file Wall.h.
 
 
◆ heatRate()
  
  
      
        
          | virtual double heatRate  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
Heat flow rate through the wall (W) at current reactor network time. 
This method is called by Reactor::evalWalls(). Base class method does nothing (that is, an adiabatic wall), but may be overloaded. 
- Since
 - New in Cantera 3.0. 
 
Reimplemented in Wall.
Definition at line 66 of file Wall.h.
 
 
◆ area()
Area in (m^2). 
Definition at line 71 of file Wall.h.
 
 
◆ setArea()
Set the area [m^2]. 
Definition at line 39 of file Wall.cpp.
 
 
◆ install()
Install the wall between two reactors or reservoirs. 
Definition at line 26 of file Wall.cpp.
 
 
◆ initialize()
  
  
      
        
          | virtual void initialize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
Called just before the start of integration. 
Definition at line 82 of file Wall.h.
 
 
◆ ready()
True if the wall is correctly configured and ready to use. 
Definition at line 85 of file Wall.h.
 
 
◆ left()
◆ right()
◆ setSimTime()
  
  
      
        
          | void setSimTime  | 
          ( | 
          double  | 
          time | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Set current reactor network time. 
- Since
 - New in Cantera 3.0. 
 
Definition at line 103 of file Wall.h.
 
 
◆ m_name
◆ m_defaultNameSet
  
  
      
        
          | bool m_defaultNameSet = false | 
         
       
   | 
  
protected   | 
  
 
true if default name has been previously set. 
Definition at line 109 of file Wall.h.
 
 
◆ m_left
◆ m_right
◆ m_time
current reactor network time 
Definition at line 115 of file Wall.h.
 
 
◆ m_area
The documentation for this class was generated from the following files: