Cantera  2.5.1
EdgeKinetics.h
Go to the documentation of this file.
1 /**
2  * @file EdgeKinetics.h
3  *
4  * @ingroup chemkinetics
5  * @ingroup electrochem
6  */
7 
8 // This file is part of Cantera. See License.txt in the top-level directory or
9 // at https://cantera.org/license.txt for license and copyright information.
10 
11 #ifndef CT_EDGEKINETICS_H
12 #define CT_EDGEKINETICS_H
13 
14 #include "InterfaceKinetics.h"
15 
16 namespace Cantera
17 {
18 /**
19  * Heterogeneous reactions at one-dimensional interfaces between
20  * multiple adjacent two-dimensional surfaces.
21  */
23 {
24 public:
25  //! Constructor
27  m_nDim = 1;
28  }
29 
30  virtual std::string kineticsType() const {
31  return "Edge";
32  }
33 };
34 }
35 
36 #endif
Heterogeneous reactions at one-dimensional interfaces between multiple adjacent two-dimensional surfa...
Definition: EdgeKinetics.h:23
EdgeKinetics()
Constructor.
Definition: EdgeKinetics.h:26
virtual std::string kineticsType() const
Identifies the Kinetics manager type.
Definition: EdgeKinetics.h:30
A kinetics manager for heterogeneous reaction mechanisms.
size_t m_nDim
Number of dimensions of reacting phase (2 for InterfaceKinetics, 1 for EdgeKinetics)
Namespace for the Cantera kernel.
Definition: AnyMap.cpp:264