#include <cpp_example.h>
Public Types | |
using | basePatch = Patch< Domain, Cell, Tissue > |
Public Member Functions | |
Tissue (shared_ptr< Domain > env, MESH_ITEM mesh) | |
void | setup () |
Tissue (shared_ptr< Domain > env, MESH_ITEM mesh) | |
void | setup () |
![]() | |
Patch (shared_ptr< Domain > env, MESH_ITEM mesh_item) | |
Patch (shared_ptr< Domain > env, MESH_ITEM mesh_item) | |
virtual | ~Patch () |
virtual | ~Patch () |
virtual void | step () |
virtual void | step () |
void | set_agent (shared_ptr< Cell > agent) |
To define patch behavior. More... | |
void | set_agent (shared_ptr< Cell > agent) |
To define patch behavior. More... | |
shared_ptr< Cell > | get_agent () |
Assigns agent to the patch. More... | |
shared_ptr< Cell > | get_agent () |
Assigns agent to the patch. More... | |
bool | empty () |
bool | empty () |
void | remove_agent () |
Removes agent from the patch. More... | |
void | remove_agent () |
Removes agent from the patch. More... | |
shared_ptr< Tissue > | empty_neighbor (bool quiet=false) |
Returns an arbitrary adjacent patch without an agent. More... | |
shared_ptr< Tissue > | empty_neighbor (bool quiet=false) |
Returns an arbitrary adjacent patch without an agent. More... | |
vector< shared_ptr< Cell > > | find_neighbor_agents (bool include_self=true) |
Returns agents in one patch neighbors. More... | |
vector< shared_ptr< Cell > > | find_neighbor_agents (bool include_self=true) |
Returns agents in one patch neighbors. More... | |
Public Attributes | |
bool | damage_center = false |
double | ECM = 100 |
![]() | |
unsigned | agent_count |
Keeps the record of residing agents count. More... | |
std::weak_ptr< Cell > | agent |
Pointer to stores agents. More... | |
std::shared_ptr< Domain > | env |
Pointer to the simulation environment. More... | |
bool | on_border |
whether the patch residing on the border of the domain More... | |
unsigned | index |
unique index that associate patch to mesh More... | |
unsigned | layer_index |
the index of the layer in which the patch is residing More... | |
vector< double > | coords |
the coordinates of the patch More... | |
vector< unsigned > | neighbors_indices |
the indices of the neighbor patches More... | |
vector< shared_ptr< Tissue > > | neighbors |
list of neighbor patches More... | |
Definition at line 36 of file cpp_example.h.
using Tissue::basePatch = Patch<Domain,Cell,Tissue> |
Definition at line 37 of file cpp_example.h.
Definition at line 37 of file cpp_example.h.
Definition at line 39 of file cpp_example.h.
|
inline |
Definition at line 40 of file cpp_example.h.
|
inline |
Definition at line 42 of file cpp_example.h.
bool Tissue::damage_center = false |
Definition at line 42 of file cpp_example.h.
double Tissue::ECM = 100 |
Definition at line 43 of file cpp_example.h.