VPTissue Reference Manual
Default/components/cell_chemistry/factories.cpp
Go to the documentation of this file.
1 /*
2  * Copyright 2011-2016 Universiteit Antwerpen
3  *
4  * Licensed under the EUPL, Version 1.1 or as soon they will be approved by
5  * the European Commission - subsequent versions of the EUPL (the "Licence");
6  * You may not use this work except in compliance with the Licence.
7  * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl5
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the Licence is distributed on an "AS IS" basis,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the Licence for the specific language governing
13  * permissions and limitations under the Licence.
14  */
20 #include "factories.h"
21 
22 #include "AuxinGrowth.h"
23 #include "Meinhardt.h"
24 #include "NoOp.h"
25 #include "PINFlux.h"
26 #include "PINFlux2.h"
27 #include "SmithPhyllotaxis.h"
28 #include "Source.h"
29 #include "TestCoupling.h"
30 #include "Wortel.h"
31 #include "WrapperModel.h"
32 
33 #include <boost/functional/value_factory.hpp>
34 #include <utility>
35 
36 using namespace std;
37 
38 namespace SimPT_Default {
39 namespace CellChemistry {
40 
41 const typename ComponentTraits<CellChemistryTag>::MapType g_component_factories
42 {{
43  std::make_pair("AuxinGrowth", boost::value_factory<AuxinGrowth>()),
44  std::make_pair("Meinhardt", boost::value_factory<Meinhardt>()),
45  std::make_pair("NoOp", boost::value_factory<NoOp>()),
46  std::make_pair("PINFlux", boost::value_factory<PINFlux>()),
47  std::make_pair("PINFlux2", boost::value_factory<PINFlux2>()),
48  std::make_pair("SmithPhyllotaxis", boost::value_factory<SmithPhyllotaxis>()),
49  std::make_pair("Source", boost::value_factory<Source>()),
50  std::make_pair("TestCoupling", boost::value_factory<TestCoupling>()),
51  std::make_pair("Wortel", boost::value_factory<Wortel>()),
52  std::make_pair("WrapperModel", boost::value_factory<WrapperModel>())
53 }};
54 
55 } // namespace
56 } // namespace
STL namespace.
CellChemistry::PINFlux header file.
CellChemistry for AuxinGrowth model.
CellChemistry for Wortel model.
Namespace for components of the Default model group.
CellChemistry for Source model.
const ComponentTraits< CellChemistryTag >::MapType g_component_factories
Stores cell chemistry component factories.
CellChemistry for the Wrapper model.
CellChemistry for Meinhardt model.
CellChemistry::PINFlux2 header file.
CellChemistry for SmithPhyllotaxis model.
CellChemistry component factory map.
CellChemistry component for the TestCoupling model.