VPTissue Reference Manual
delta_hamiltonian/ElasticWall.h
Go to the documentation of this file.
1 #ifndef SIMPT_DEFAULT_DELTA_HAMILTONIAN_ELASTIC_WALL_H_INCLUDED
2 #define SIMPT_DEFAULT_DELTA_HAMILTONIAN_ELASTIC_WALL_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 Mesh;
28 class NeighborNodes;
29 class Node;
30 }
31 
32 namespace SimPT_Default {
33 namespace DeltaHamiltonian {
34 
35 using namespace SimPT_Sim;
40 {
41 public:
43  ElasticWall(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_elastic_modulus;
53  double m_lambda_alignment;
54  double m_lambda_bend;
55  double m_lambda_cell_length;
56  double m_lambda_length;
57  Mesh* m_mesh;
58  double m_rp_stiffness;
59  double m_target_node_distance;
60 };
61 
62 } // namespace
63 } // namespace
64 
65 #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
Structure of cells; key data structure.
Definition: Mesh.h:62