Flow123d
reaction.cc
Go to the documentation of this file.
1 #include <stdlib.h>
2 
3 #include "reaction/reaction.hh"
4 #include "system/global_defs.h"
5 #include "mesh/mesh.h"
6 #include "io/output.h"
7 
8 using namespace Input::Type;
9 using namespace std;
10 
11 
13  = AbstractRecord("ReactionTerm", "Equation for reading information about simple chemical reactions.");
14 
16  = Record("ReactionTermOutput", "Output setting for transport equations.")
18  "Parameters of output stream.");
19 
21  : EquationBase(init_mesh, in_rec),
22  distribution(nullptr),
23  concentration_matrix_(nullptr),
24  el_4_loc(nullptr),
25  row_4_el(nullptr),
26  output_stream_(nullptr)
27 
28 {
29 }
30 
32 {
33 }
34 
35 
36 double **ReactionTerm::compute_reaction(double **concentrations, int loc_el)
37 {
38  ASSERT(0,"double **ReactionTerm::compute_reaction(double **concentrations, int loc_el)"
39  "needs to be re-implemented in ancestors.\n");
40  return concentrations;
41 }
42 
44 {
45  ASSERT(0,"ReactionTerm does not change TimeGovernor.\n");
46 }