VPTissue Reference Manual
hamiltonian/PlainGC.h
Go to the documentation of this file.
1 #ifndef SIMPT_DEFAULT_HAMILTONIAN_PLAIN_GC_H_INCLUDED
2 #define SIMPT_DEFAULT_HAMILTONIAN_PLAIN_GC_H_INCLUDED
3 /*
4  * Copyright 2011-2016 Universiteit Antwerpen
5  *
6  * Licensed under the EUPL, Version 1.1 or as soon they will be approved by
7  * the European Commission - subsequent versions of the EUPL (the "Licence");
8  * You may not use this work except in compliance with the Licence.
9  * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl5
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the Licence is distributed on an "AS IS" basis,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the Licence for the specific language governing
15  * permissions and limitations under the Licence.
16  */
22 namespace SimPT_Sim {
23 class Cell;
24 struct CoreData;
25 }
26 
27 namespace SimPT_Default {
28 namespace Hamiltonian {
29 
30 using namespace SimPT_Sim;
31 
35 class PlainGC
36 {
37 public:
39  PlainGC(const CoreData& cd);
40 
42  void Initialize(const CoreData& cd);
43 
45  double operator()(Cell* cell);
46 
47 private:
48  double m_lambda_bend;
49  double m_lambda_cell_length;
50  double m_lambda_length;
51  double m_rp_stiffness;
52  double m_target_node_distance;
53 };
54 
55 } // namespace
56 } // namespace
57 
58 #endif // end-of-include-guard
Core data with mesh, parameters, random engine and time data.
Definition: CoreData.h:38
A cell contains walls and nodes.
Definition: Cell.h:48
Namespace for components of the Default model group.
Namespace for the core simulator.
PlainGC Hamiltonian function.