VPTissue Reference Manual
delta_hamiltonian/PlainGC.h
Go to the documentation of this file.
1 #ifndef SIMPT_DEFAULT_DELTA_HAMILTONIAN_PLAIN_GC_H_INCLUDED
2 #define SIMPT_DEFAULT_DELTA_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 #include <array>
23 
24 
25 namespace SimPT_Sim {
26 struct CoreData;
27 class NeighborNodes;
28 class Node;
29 }
30 
31 namespace SimPT_Default {
32 namespace DeltaHamiltonian {
33 
34 using namespace SimPT_Sim;
35 
39 class PlainGC
40 {
41 public:
43  PlainGC(const CoreData& cd);
44 
46  void Initialize(const CoreData& cd);
47 
49  double operator()(const NeighborNodes&, Node*, std::array<double, 3>);
50 
51 private:
52  double m_lambda_alignment;
53  double m_lambda_bend;
54  double m_lambda_cell_length;
55  double m_lambda_length;
56  double m_rp_stiffness;
57  double m_target_node_distance;
58 };
59 
60 } // namespace
61 } // namespace
62 
63 #endif // end-of-include-guard
Core data with mesh, parameters, random engine and time data.
Definition: CoreData.h:38
Node in cell wall.
Definition: Node.h:39
Namespace for components of the Default model group.
Namespace for the core simulator.
Structure of neighboring nodes: two neighboring nodes from standpoint of a given cell with an orderin...
Definition: NeighborNodes.h:34
PlainGC DeltaHamiltonian function.