Skip to content

Commit

Permalink
Merge pull request #222 from kreft/fixes_december
Browse files Browse the repository at this point in the history
Fixes december
  • Loading branch information
Secondus2 authored Jul 5, 2023
2 parents 3ec46aa + dcb2eea commit 1399a19
Show file tree
Hide file tree
Showing 375 changed files with 21,077 additions and 1,692 deletions.
2 changes: 2 additions & 0 deletions .idea/libraries/hamcrest_core_1_3.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10,440 changes: 10,440 additions & 0 deletions bac_000_030000.ml

Large diffs are not rendered by default.

59 changes: 59 additions & 0 deletions colourPalettes/Colorblind-friendly.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<note> original source: http://www.cookbook-r.com/Graphs/Colors_(ggplot2)/</note>
<document>
<colour baseColour="0.1139, 1.0, 0.902" name = "E69F00"
gradient = "false" form = "HSB" opacity = "1.0">
</colour>
<colour baseColour="0.5611, 0.631, 0.914" name = "56B4E9"
gradient = "false" form = "HSB" opacity = "1.0">
</colour>
<colour baseColour="0.4556, 1.0, 0.62" name = "009E73"
gradient = "false" form = "HSB" opacity = "1.0">
</colour>
<colour baseColour="0.1556, 0.725, 0.941" name="F0E442"
gradient = "false" form = "HSB" opacity = "1.0">
</colour>
<colour baseColour="0.0, 114.0, 178.0" name="0072B2"
gradient = "false" form = "HSB" opacity = "1.0">
</colour>
<colour baseColour = "0.5611, 1.0, 0.698" name="D55E00"
gradient = "false" form = "HSB" opacity = "1.0" >
</colour>
<colour baseColour = "0.9083, 0.407, 0.8" name="CC79A7"
gradient = "false" form = "HSB" opacity = "1.0" >
</colour>
<colour baseColour = "0.0, 0.0, 0.0" name="000000"
gradient = "false" form = "HSB" opacity = "1.0" >
</colour>
</document>


<!--
<document>
<colour baseColour="230.0, 159.0, 0.0" name = "E69F00"
gradient = "false" form = "RGB" opacity = "1.0">
</colour>
<colour baseColour="86.0, 180.0, 233.0" name = "56B4E9"
gradient = "false" form = "RGB" opacity = "1.0">
</colour>
<colour baseColour="0.0, 158.0, 115.0" name = "009E73"
gradient = "false" form = "RGB" opacity = "1.0">
</colour>
<colour baseColour="240.0, 228.0, 66.0" name="F0E442"
gradient = "false" form = "RGB" opacity = "1.0">
</colour>
<colour baseColour="0.0, 114.0, 178.0" name="0072B2"
gradient = "false" form = "RGB" opacity = "1.0">
</colour>
<colour baseColour = "213.0, 94.0, 0.0" name="D55E00"
gradient = "false" form = "RGB" opacity = "1.0" >
</colour>
<colour baseColour = "204.0, 121.0, 167.0" name="CC79A7"
gradient = "false" form = "RGB" opacity = "1.0" >
</colour>
<colour baseColour = "0.0, 0.0, 0.0" name="000000"
gradient = "false" form = "RGB" opacity = "1.0" >
</colour>
</document>
-->
16 changes: 8 additions & 8 deletions colourPalettes/Colours.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
<document>
<colour baseColour="0.0, 1.0, 1.0" name = "red"
gradient = "true" form = "HSB" opacity = "1.0">
<shift brightness = "-0.5" saturation = "-0.5"/>
<shift brightness = "-1.0"/>
</colour>
<colour baseColour="0.7, 1.0, 1.0" name = "blue"
gradient = "true" form = "HSB" opacity = "1.0">
<shift brightness = "-0.5" saturation = "-0.5"/>
<shift brightness = "-1.0"/>
</colour>
<colour baseColour="0.3, 1.0, 1.0" name = "green"
gradient = "true" form = "HSB" opacity = "1.0">
<shift brightness = "-0.5" saturation = "-0.5"/>
<shift brightness = "-1.0"/>
</colour>
<colour baseColour="1.0, 1.0, 1.0"
<colour baseColour="0.5, 1.0, 1.0" name = "cyan"
gradient = "true" form = "HSB" opacity = "1.0">
<shift brightness = "-0.5" saturation = "-0.5"/>
<shift brightness = "-1.0" />
</colour>
<colour baseColour="0.5, 1.0, 1.0"
<colour baseColour="0.15, 1.0, 1.0"
gradient = "true" form = "HSB" opacity = "1.0">
<shift brightness = "-0.5" saturation = "-0.5"/>
<shift brightness = "-1.0" saturation = "-0.5"/>
</colour>
<colour baseColour = "0.8, 0.1, 0.6"
<colour baseColour = "0.85, 0.1, 0.6"
gradient = "false" form = "HSB" opacity = "1.0" />
</document>
3 changes: 2 additions & 1 deletion config/local/storage.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# general
default_out=C:/results
ignore_protocol_out=TRUE
ignore_protocol_out=TRUE
output_compression=TRUE
2 changes: 1 addition & 1 deletion config/models/micro_units_01.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# collision
collision_scalar=1e9
collision_scalar=2e9
pull_scalar=-2e10

# Dynamic viscosity water of water (ADDED CHECK PROTOCOLS)
Expand Down
3 changes: 0 additions & 3 deletions config/version/current.cfg

This file was deleted.

3 changes: 2 additions & 1 deletion default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
# default storrage location and behavior, fall-back model parameters (only used
# when no value is provided by the user).
supplementary_property_files : \
config/version/current.cfg,\
config/local/storage.cfg,\
config/local/consolas_gray.cfg,\
config/models/micro_units_01.cfg

default_palette : colours.xml
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<document>
<simulation name="test_MultigridCONCNS" outputfolder="../results"
log="DEBUG" comment="this is a file for testing purposes only.">
<!-- ms -->
<timer stepSize="1.0" endOfSimulation="200.0" />
<speciesLib>
<species name="Consumer">
<aspect name="pigment" type="PRIMARY" class="String" value="BLUE" />
<speciesModule name="coccoid" />
</species>

<species name="coccoid">
<aspect name="density" type="PRIMARY" class="Double" value="1.0" />
<aspect name="surfaces" type="CALCULATED" class="AgentSurfaces" />
<aspect name="morphology" type="PRIMARY" class="String" value="coccoid" />
<aspect name="divide" type="EVENT" class="CoccoidDivision" />
<aspect name="updateBody" type="EVENT" class="UpdateBody" />
<aspect name="volume" type="CALCULATED" class="SimpleVolumeState" />
<aspect name="radius" type="CALCULATED" class="CoccoidRadius" />
</species>
</speciesLib>

<compartment name="biofilm">
<shape class="Rectangle" resolutionCalculator="MultigridResolution">
<!-- µm -->
<dimension name="X" isCyclic="false" targetResolution="1.0" max="16.0"></dimension>
<dimension name="Y" isCyclic="false" targetResolution="1.0" max="16.0">
<boundary extreme="0" class="SolidBoundary" />
<boundary extreme="1" class="SolidBoundary" />
</dimension>
</shape>
<solutes>
<!-- µM -->
<solute name="hydrogen" concentration="5.0" defaultDiffusivity="3" />
<solute name="solute2" concentration="0.0" defaultDiffusivity="3" />
</solutes>
<reactions>
<reaction name="hydrogenConsumption">
<expression value="5.0*hydrogen/(3.0+hydrogen)" />
<stoichiometric component="hydrogen" coefficient="-1.0" />
<stoichiometric component="solute2" coefficient="1.0" />
</reaction>
</reactions>
<processManagers>
<!-- ms -->
<process name="SolveDiffusionSteadyState" class="SolveDiffusionSteadyState" priority="1" firstStep="0.0" timerStepSize="1.0">
<aspect name="soluteNames" type="PRIMARY" class="String[]" value="hydrogen,solute2" />
<!-- µm^2 ms^-1-->
</process>
<process name="agentsOutsideDomainDepart"
class="AgentsOutsideDomainDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
</document>
<?xml version="1.0" encoding="UTF-8"?>
<document>
<simulation name="test_MultigridCONCNS" outputfolder="../results"
log="DEBUG" comment="this is a file for testing purposes only.">
<!-- ms -->
<timer stepSize="1.0" endOfSimulation="200.0" />
<speciesLib>
<species name="Consumer">
<aspect name="pigment" type="PRIMARY" class="String" value="BLUE" />
<speciesModule name="coccoid" />
</species>

<species name="coccoid">
<aspect name="density" type="PRIMARY" class="Double" value="1.0" />
<aspect name="surfaces" type="CALCULATED" class="AgentSurfaces" />
<aspect name="morphology" type="PRIMARY" class="String" value="coccoid" />
<aspect name="divide" type="EVENT" class="CoccoidDivision" />
<aspect name="updateBody" type="EVENT" class="UpdateBody" />
<aspect name="volume" type="CALCULATED" class="SimpleVolumeState" />
<aspect name="radius" type="CALCULATED" class="CoccoidRadius" />
</species>
</speciesLib>

<compartment name="biofilm">
<shape class="Rectangle" resolutionCalculator="MultigridResolution">
<!-- µm -->
<dimension name="X" isCyclic="false" targetResolution="1.0" max="16.0"></dimension>
<dimension name="Y" isCyclic="false" targetResolution="1.0" max="16.0">
<boundary extreme="0" class="SolidBoundary" />
<boundary extreme="1" class="SolidBoundary" />
</dimension>
</shape>
<solutes>
<!-- µM -->
<solute name="hydrogen" concentration="5.0" defaultDiffusivity="3" />
<solute name="solute2" concentration="0.0" defaultDiffusivity="3" />
</solutes>
<reactions>
<reaction name="hydrogenConsumption">
<expression value="5.0*hydrogen/(3.0+hydrogen)" />
<stoichiometric component="hydrogen" coefficient="-1.0" />
<stoichiometric component="solute2" coefficient="1.0" />
</reaction>
</reactions>
<processManagers>
<!-- ms -->
<process name="SolveDiffusionSteadyState" class="SolveDiffusionSteadyState" priority="1" firstStep="0.0" timerStepSize="1.0">
<aspect name="soluteNames" type="PRIMARY" class="String[]" value="hydrogen,solute2" />
<!-- µm^2 ms^-1-->
</process>
<process name="agentsOutsideDomainDepart"
class="AgentsOutsideDomainDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
</document>
Loading

0 comments on commit 1399a19

Please sign in to comment.