| Cantera 3.0.0

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