Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/curvature compartments fpp tutorial #30

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
1 change: 1 addition & 0 deletions docs/curvature.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. _curvature-plugin:
Curvature Plugin
----------------

Expand Down
846 changes: 846 additions & 0 deletions docs/example_compartmental_elongated_cells_tutorial.rst

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions docs/focal_point_plasticity.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. _fpp-plugin:
FocalPointPlasticity Plugin
---------------------------

Expand Down Expand Up @@ -122,6 +123,34 @@ example):
</Plugin>


The total number of links a given cell can form is computed as a sum of ``<MaxNumberOfJunctions>`` values coming from ``<Parameters>``
or ``<InternalParameters>`` sections where a given cell type appears. In the example above ``Center`` can form maximum of 2 internal links (between compartments)

CompuCell3D gives you ability to override this default algorithm by adding additional tag that control the total number of links:
Copy link
Collaborator

@fyffep fyffep Sep 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: This could say, ". . . the total number of links of a given cell type." It took me a moment to realize that it's not possible to control the global, simulation-wide number of links. Instead, "total" just pertains to each cell.



.. code-block:: xml

<Plugin Name="FocalPointPlasticity">

<MaxTotalNumberOfLinks CellType="Center">1</MaxTotalNumberOfLinks>
<InternalMaxTotalNumberOfLinks CellType="Center">1</InternalMaxTotalNumberOfLinks>


<Parameters Type1="Top" Type2="Top">
<Lambda>10.0</Lambda>
...

In this example we are limiting the maximum number of links ``Center`` cells can form with Center cells of another cluster to 1
``<MaxTotalNumberOfLinks CellType="Center">1</MaxTotalNumberOfLinks>`` and do the same for number of links the ``Center`` cells can form
with cells that are members of the same cluster: ``<InternalMaxTotalNumberOfLinks CellType="Center">1</InternalMaxTotalNumberOfLinks>``



where we can override this default algorithm. This feature can be useful when working with "elongated" compartmental cells where
you do not want Center cells to form more than two links


We can also specify link constituent law and change it to different form
that "spring relation". To do this we use the following syntax inside
FocalPointPlasticity CC3DML plugin:
Expand Down
Binary file added docs/images/elongated_cells_tutorial/img001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/elongated_cells_tutorial/img002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/elongated_cells_tutorial/img003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/elongated_cells_tutorial/img004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/elongated_cells_tutorial/img005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/elongated_cells_tutorial/img006.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/elongated_cells_tutorial/img007.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/elongated_cells_tutorial/img008.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/elongated_cells_tutorial/img009.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/elongated_cells_tutorial/img010.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/elongated_cells_tutorial/img011.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/elongated_cells_tutorial/img012.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/elongated_cells_tutorial/img013.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/elongated_cells_tutorial/img014.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/elongated_cells_tutorial/img015.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/elongated_cells_tutorial/img016.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/elongated_cells_tutorial/img017.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ or watch the `CompuCell3D Workshop Python tutorial videos <https://www.youtube.c
maboss


.. toctree::
:maxdepth: 2
:hidden:
:caption: Real-world Examples

section_real_world_examples


.. toctree::
:caption: Screenshots, Restarts, Parameter Scans
:hidden:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Real-World Examples Section
.. toctree::
:maxdepth: 1

example_compartmental_elongated_cells_tutorial
example_cell_sorting
example_epithelial_mesenchymal_transition
example_contact_inhibited_cell_growth