Export

This file holds the functions for exporting a simulation to a user_project format.

Public API

pcvct.exportSimulationFunction
exportSimulation(simulation_id::Integer[, export_folder::AbstractString])

Create a user_project folder from a simulation that can be loaded into PhysiCell.

Warning: not all features in drbergman/PhysiCell/latest/release are not supported in MathCancer/PhysiCell.

Arguments

  • simulation_id::Integer: the id of the simulation to export. Can also be a Simulation object.
  • export_folder::AbstractString: the folder to export the simulation to. Default is the simulation output folder.

Returns

  • export_folder::AbstractString: the folder where the simulation was exported to
source

Private API

pcvct.createExportFolderMethod
createExportFolder(simulation::Simulation, export_folder::AbstractString)

Create and populate the export folder for a simulation.

source
pcvct.exportIntracellularMethod
exportIntracellular(simulation::Simulation, export_folder::AbstractString)

Export the intracellular model for a simulation to the export folder.

source
pcvct.revertConfigMethod
revertConfig(export_folder::AbstractString, physicell_version::AbstractString)

Revert the config folder in the export folder to the given PhysiCell version.

source
pcvct.revertCustomCPPMethod
revertCustomCPP(path_to_custom_modules::AbstractString, physicell_version::AbstractString)

Revert the custom cpp file in the export folder to the given PhysiCell version.

source
pcvct.revertCustomHeaderMethod
revertCustomHeader(path_to_custom_modules::AbstractString, physicell_version::AbstractString)

Revert the custom header file in the export folder to the given PhysiCell version.

source
pcvct.revertCustomModulesMethod
revertCustomModules(export_folder::AbstractString, physicell_version::AbstractString)

Revert the custom modules in the export folder to the given PhysiCell version.

source
pcvct.revertMainMethod
revertMain(export_folder::AbstractString, physicell_version::AbstractString)

Revert the main.cpp file in the export folder to the given PhysiCell version.

source
pcvct.revertMakefileMethod
revertMakefile(export_folder::AbstractString, physicell_version::AbstractString)

Revert the Makefile in the export folder to the given PhysiCell version.

source
pcvct.setECMSetupElementMethod
setECMSetupElement(xml_doc::XMLDocument)

Set up the ECM element in the XML document to support the ECM module.

source