VPTissue Reference Manual
Default/components/delta_hamiltonian/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 "ElasticWall.h"
23 #include "Maxwell.h"
24 #include "ModifiedGC.h"
25 #include "PlainGC.h"
26 
27 #include <boost/functional/value_factory.hpp>
28 #include <utility>
29 
30 using namespace std;
31 
32 namespace SimPT_Default {
33 namespace DeltaHamiltonian {
34 
35 const typename ComponentTraits<DeltaHamiltonianTag>::MapType g_component_factories
36 {{
37  std::make_pair("ElasticWall", boost::value_factory<ElasticWall>()),
38  std::make_pair("Maxwell", boost::value_factory<Maxwell>()),
39  std::make_pair("ModifiedGC", boost::value_factory<ModifiedGC>()),
40  std::make_pair("PlainGC", boost::value_factory<PlainGC>())
41 }};
42 
43 } // namespace
44 } // namespace
Interface for DeltaHamiltonian::PlainGC.
STL namespace.
Interface for DeltaHamiltonian::ModifiedGC.
Namespace for components of the Default model group.
CellChemistry component factory map.
const ComponentTraits< DeltaHamiltonianTag >::MapType g_component_factories
Stores DeltaHamiltonian component factories.
Interface for DeltaHamiltonian::ElasticWall.
Interface for DeltaHamiltonian::Maxwell.