Update force class names following Chaste force restructure#3
Update force class names following Chaste force restructure#3
Conversation
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…hanInteractionForce Agent-Logs-Url: https://github.com/Chaste/CellBasedComparison2017/sessions/900d25b2-02ee-49b4-a57c-9484fa59c3e8 Co-authored-by: jmosborne <2212095+jmosborne@users.noreply.github.com>
|
@copilot Also replace DifferentialAdhesionGeneralisedLinearSpringForce and RepulsionForce as per the instructions in Chaste/Chaste#513 |
…ulsionForce Agent-Logs-Url: https://github.com/Chaste/CellBasedComparison2017/sessions/5b619335-e853-4cb5-b76a-ee1e7e6c54a5 Co-authored-by: jmosborne <2212095+jmosborne@users.noreply.github.com>
Done in commit 87c1aeb:
|
|
|
||
| // Create a force law and pass it to the simulation | ||
| MAKE_PTR(DifferentialAdhesionGeneralisedLinearSpringForce<2>, p_differential_adhesion_force); | ||
| MAKE_PTR(DifferentialAdhesionLinearSpringForce<2>, p_differential_adhesion_force); |
There was a problem hiding this comment.
| MAKE_PTR(DifferentialAdhesionLinearSpringForce<2>, p_differential_adhesion_force); | |
| MAKE_PTR(DifferentialAdhesionPathmanathanInteractionForce<2>, p_differential_adhesion_force); |
There was a problem hiding this comment.
Updated in commit 45fb0ec — node-based test now uses DifferentialAdhesionPathmanathanInteractionForce<2>, mesh-based test keeps DifferentialAdhesionLinearSpringForce<2>.
|
|
||
| #include "NagaiHondaForce.hpp" | ||
| #include "RepulsionForce.hpp" | ||
| #include "LogarithmicRepulsionForce.hpp" |
There was a problem hiding this comment.
| #include "LogarithmicRepulsionForce.hpp" |
| #include "DiffusionForce.hpp" | ||
| #include "RepulsionForce.hpp" | ||
| #include "GeneralisedLinearSpringForce.hpp" | ||
| #include "LogarithmicRepulsionForce.hpp" |
There was a problem hiding this comment.
| #include "LogarithmicRepulsionForce.hpp" |
|
|
||
| #include "NodeBasedCellPopulation.hpp" | ||
| #include "RepulsionForce.hpp" | ||
| #include "LogarithmicRepulsionForce.hpp" |
There was a problem hiding this comment.
| #include "LogarithmicRepulsionForce.hpp" |
…Force for node-based, remove LogarithmicRepulsionForce includes Agent-Logs-Url: https://github.com/Chaste/CellBasedComparison2017/sessions/e5f2f4ab-5362-4bf4-b7fe-7e898948ccde Co-authored-by: jmosborne <2212095+jmosborne@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
jmosborne
left a comment
There was a problem hiding this comment.
All Pass on my local machine with the correct branch
Following the Chaste force restructure (#513), several force classes were renamed. This PR updates all four test files to use the correct replacement classes.
Changes
TestCylindricalCryptLiteratePaper.hpp— addsLinearSpringForce.hppandPathmanathanInteractionForce.hpp; removes unusedRepulsionForce.hppTestDeltaNotchLiteratePaper.hpp— replacesGeneralisedLinearSpringForce.hppwithLinearSpringForce.hppandPathmanathanInteractionForce.hpp; removes unusedRepulsionForce.hppTestMorphogenMonolayerLiteratePaper.hpp— same include swaps as aboveTestCellSortingLiteratePaper.hpp— replacesDifferentialAdhesionGeneralisedLinearSpringForce.hppwithDifferentialAdhesionPathmanathanInteractionForce.hpp(node-based) andDifferentialAdhesionLinearSpringForce.hpp(mesh-based)In each file,
MAKE_PTRusages are updated accordingly: