Flow123d  last_with_con_2.0.0-4-g42e6930
reaction_term.cc
Go to the documentation of this file.
1 /*!
2  *
3  * Copyright (C) 2015 Technical University of Liberec. All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it under
6  * the terms of the GNU General Public License version 3 as published by the
7  * Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12  *
13  *
14  * @file reaction_term.cc
15  * @brief
16  */
17 
19 #include "system/global_defs.h"
20 
21 #include "io/output_time.hh"
22 #include "mesh/mesh.h"
23 
24 using namespace Input::Type;
25 
27  return Abstract("ReactionTerm",
28  "Equation for reading information about simple chemical reactions.")
29  .close();
30 }
31 
33  : EquationBase(init_mesh, in_rec),
34  concentration_matrix_(nullptr),
35  el_4_loc_(nullptr),
36  row_4_el_(nullptr),
37  distribution_(nullptr)
38 
39 {
40 }
41 
43 {
44 }
45 
46 
47 
48 
50 {
51  OLD_ASSERT(0,"ReactionTerm does not change TimeGovernor.\n");
52 }
static Input::Type::Abstract & get_input_type()
Definition: mesh.h:95
Abstract & close()
Can be used to close the Abstract for further declarations of keys.
ReactionTerm(Mesh &init_mesh, Input::Record in_rec)
Constructor.
Class ReactionTerm is an abstract class representing reaction term in transport.
#define OLD_ASSERT(...)
Definition: global_defs.h:131
Global macros to enhance readability and debugging, general constants.
Accessor to the data with type Type::Record.
Definition: accessors.hh:277
Class for declaration of polymorphic Record.
void choose_next_time(void) override
Disable changes in TimeGovernor by empty method.
~ReactionTerm(void)
Destructor.