Cantera 2.6.0

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 */
22 class EdgeKinetics : public InterfaceKinetics
23{
24 public:
25 //! Constructor
26 EdgeKinetics() : InterfaceKinetics() {
27 m_nDim = 1;
28 }
29
30 virtual std::string kineticsType() const {
31 return "Edge";
32 }
33};
34}
35
36#endif
InterfaceKinetics.h
Cantera::EdgeKinetics
Heterogeneous reactions at one-dimensional interfaces between multiple adjacent two-dimensional surfa...
Definition: EdgeKinetics.h:23
Cantera::EdgeKinetics::EdgeKinetics
EdgeKinetics()
Constructor.
Definition: EdgeKinetics.h:26
Cantera::EdgeKinetics::kineticsType
virtual std::string kineticsType() const
Identifies the Kinetics manager type.
Definition: EdgeKinetics.h:30
Cantera::InterfaceKinetics
A kinetics manager for heterogeneous reaction mechanisms.
Definition: InterfaceKinetics.h:58
Cantera::InterfaceKinetics::m_nDim
size_t m_nDim
Number of dimensions of reacting phase (2 for InterfaceKinetics, 1 for EdgeKinetics)
Definition: InterfaceKinetics.h:721
Cantera
Namespace for the Cantera kernel.
Definition: AnyMap.cpp:557