Skip to content

Commit

Permalink
Merge pull request #201 from kreft/agentTransfer
Browse files Browse the repository at this point in the history
Agent transfer
  • Loading branch information
bascee authored May 11, 2021
2 parents 62127bd + 458b8b8 commit 5ef1852
Show file tree
Hide file tree
Showing 193 changed files with 3,779 additions and 1,501 deletions.
3 changes: 3 additions & 0 deletions protocol/1D_test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.05" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="agentsOutsideDomainDepart"
class="AgentsOutsideDomainDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
8 changes: 8 additions & 0 deletions protocol/BM3_fast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,14 @@
<aspect name="fileName" class="String" value="table1" />
<aspect name="tableSpecification" class="String" value="species|biomass@mass|biomass@mass LT 1.0|biomass@mass LT 1.0 AND species = autotroph|%ammonium" />
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
<aspect name="destinationNames" type="PRIMARY" class="InstantiableMap" >
<map entryClass="Double" keyType="String">
<item key="chemostat" value="1.0"/>
</map>
</aspect>
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@
<aspect name="soluteNames" type="PRIMARY" class="String[]" value="hydrogen" />
<!-- µm^2 ms^-1-->
</process>

<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.05" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.05" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@
<aspect name="soluteNames" type="PRIMARY" class="String[]" value="hydrogen" />
<!-- µm^2 ms^-1-->
</process>

<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
3 changes: 3 additions & 0 deletions protocol/BoundaryLayerTests/massConversion.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
<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>
Expand Down
3 changes: 3 additions & 0 deletions protocol/BoundaryLayerTests/massConversion_agent.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
<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>
Expand Down
5 changes: 4 additions & 1 deletion protocol/BoundaryLayerTests/massConversion_with_bulk.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<compartment name="biofilm" scale="20.0">
<shape class="Rectangle" resolutionCalculator="MultigridResolution">
<!-- µm -->
<dimension name="X" isCyclic="false" targetResolution="1.0" max="16.0"></dimension>
<dimension name="X" isCyclic="false" targetResolution="1.0" max="16.0"/>
<dimension name="Y" isCyclic="false" targetResolution="1.0" max="16.0">
<boundary extreme="0" class="SolidBoundary" />
<boundary extreme="1" class="BiofilmBoundaryLayer" partnerCompartment="chemostat" layerThickness="4" />
Expand Down Expand Up @@ -91,6 +91,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.05" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
3 changes: 3 additions & 0 deletions protocol/BoundaryLayerTests/rectangular_biofilm_chemToBf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.05" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.05" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.05" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.05" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.05" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.05" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.15" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.05" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.05" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.05" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
<aspect name="stressThreshold" type="PRIMARY" class="Double" value="1.0" />
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
3 changes: 3 additions & 0 deletions protocol/DiffAdh.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.015" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="agentsOutsideDomainDepart"
class="AgentsOutsideDomainDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
3 changes: 3 additions & 0 deletions protocol/DiffAdh2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.015" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="agentsOutsideDomainDepart"
class="AgentsOutsideDomainDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
3 changes: 3 additions & 0 deletions protocol/DiffAdh2b.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.015" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="agentsOutsideDomainDepart"
class="AgentsOutsideDomainDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
3 changes: 3 additions & 0 deletions protocol/DiffAdh_neg.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@
<aspect name="maxMovement" type="PRIMARY" class="Double" value="0.015" />
<aspect name="relaxationMethod" type="PRIMARY" class="String" value="EULER" />
</process>
<process name="agentsOutsideDomainDepart"
class="AgentsOutsideDomainDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
8 changes: 8 additions & 0 deletions protocol/EDIT-idyno-compare-constant-concentration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@
<aspect name="maxIterations" type="PRIMARY" class="Integer" value="10000" />
<aspect name="gravity_testing" type="PRIMARY" class="Boolean" value="FALSE" />
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
<aspect name="destinationNames" type="PRIMARY" class="InstantiableMap" >
<map entryClass="Double" keyType="String">
<item key="chemostat" value="1.0"/>
</map>
</aspect>
</process>
</processManagers>
</compartment>
<compartment name="chemostat" priority="2" >
Expand Down
3 changes: 3 additions & 0 deletions protocol/GranSim.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@
firstStep="0.0" timerStepSize="1.0">
<aspect name="soluteNames" type="PRIMARY" class="String[]" value="solute1" />
</process>
<process name="agentsOutsideDomainDepart"
class="AgentsOutsideDomainDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
3 changes: 3 additions & 0 deletions protocol/Herz_test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@
<aspect name="tableSpecification" type="PRIMARY" class="String"
value="0 ~ mass | mass > 0.2, mass > 0.15, mass > 0.1, mass > 0.0 | species = AOB | pigment = RED, pigment = BLUE, pigment = GREEN" />
</process>
<process name="agentsOutsideDomainDepart"
class="AgentsOutsideDomainDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
3 changes: 3 additions & 0 deletions protocol/LinkerTest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@
<aspect name="tableSpecification" type="PRIMARY" class="String"
value="0 ~ mass | mass > 0.2, mass > 0.15, mass > 0.1, mass > 0.0 | species = AOB | pigment = RED, pigment = BLUE, pigment = GREEN" />
</process>
<process name="agentsOutsideDomainDepart"
class="AgentsOutsideDomainDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
3 changes: 3 additions & 0 deletions protocol/Microcosm_aspects.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@
value="0 ~ mass ? pigment == RED | mass ? pigment == GREEN" />
<aspect name="fileName" type="PRIMARY" class="String" value="data" />
</process>
<process name="agentsOutsideDomainDepart"
class="AgentsOutsideDomainDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
3 changes: 3 additions & 0 deletions protocol/SpawnerTest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@
<aspect name="tableSpecification" type="PRIMARY" class="String"
value="0 ~ mass | mass > 0.2, mass > 0.15, mass > 0.1, mass > 0.0 | species = AOB | pigment = RED, pigment = BLUE, pigment = GREEN" />
</process>
<process name="agentsOutsideDomainDepart"
class="AgentsOutsideDomainDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
3 changes: 3 additions & 0 deletions protocol/SpawnerTest3D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@
<aspect name="tableSpecification" type="PRIMARY" class="String"
value="0 ~ mass | mass > 0.2, mass > 0.15, mass > 0.1, mass > 0.0 | species = AOB | pigment = RED, pigment = BLUE, pigment = GREEN" />
</process>
<process name="agentsOutsideDomainDepart"
class="AgentsOutsideDomainDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
3 changes: 3 additions & 0 deletions protocol/SpawnerTestDistributed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@
<aspect name="tableSpecification" type="PRIMARY" class="String"
value="0 ~ mass | mass > 0.2, mass > 0.15, mass > 0.1, mass > 0.0 | species = MyAgent | pigment = RED, pigment = BLUE, pigment = GREEN" />
</process>
<process name="agentsOutsideDomainDepart"
class="AgentsOutsideDomainDepart" priority = "1">
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
8 changes: 8 additions & 0 deletions protocol/Strep/3D_strep.xml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,14 @@
same order of magnitude ~ 2.0e-4 m2.day-1 values here in
µm^2/ minute-->
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
<aspect name="destinationNames" type="PRIMARY" class="InstantiableMap" >
<map entryClass="Double" keyType="String">
<item key="chemostat" value="1.0"/>
</map>
</aspect>
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
8 changes: 8 additions & 0 deletions protocol/Strep/3D_strep_cometition.xml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,14 @@
same order of magnitude ~ 2.0e-4 m2.day-1 values here in
µm^2/ minute-->
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
<aspect name="destinationNames" type="PRIMARY" class="InstantiableMap" >
<map entryClass="Double" keyType="String">
<item key="chemostat" value="1.0"/>
</map>
</aspect>
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
8 changes: 8 additions & 0 deletions protocol/Strep/3D_strep_shift.xml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,14 @@
same order of magnitude ~ 2.0e-4 m2.day-1 values here in
µm^2/ minute-->
</process>
<process name="biofilmBoundaryDeparture"
class="AgentsInBoundaryLayerDepart" priority = "1">
<aspect name="destinationNames" type="PRIMARY" class="InstantiableMap" >
<map entryClass="Double" keyType="String">
<item key="chemostat" value="1.0"/>
</map>
</aspect>
</process>
</processManagers>
</compartment>
</simulation>
Expand Down
Loading

0 comments on commit 5ef1852

Please sign in to comment.