From ec26fdee48b0a20b20fe54c6d5249c54f194a713 Mon Sep 17 00:00:00 2001 From: Chris Bradley Date: Tue, 10 Apr 2018 14:40:58 +1200 Subject: [PATCH 1/3] Update for new computation environment routines. --- src/python/cantilever_growth.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/python/cantilever_growth.py b/src/python/cantilever_growth.py index 933bcc1..3977987 100644 --- a/src/python/cantilever_growth.py +++ b/src/python/cantilever_growth.py @@ -132,8 +132,9 @@ #iron.DiagnosticsSetOn(iron.DiagnosticTypes.FROM,[1,2,3,4,5],"diagnostics",["FiniteElasticity_FiniteElementResidualEvaluate"]) # Get the number of computational nodes and this computational node number -numberOfComputationalNodes = iron.ComputationalNumberOfNodesGet() -computationalNodeNumber = iron.ComputationalNodeNumberGet() +computationEnvironment = iron.ComputationEnvironment() +numberOfComputationalNodes = computationEnvironment.NumberOfWorldNodesGet() +computationalNodeNumber = computationEnvironment.WorldNodeNumberGet() # Create a 3D rectangular cartesian coordinate system coordinateSystem = iron.CoordinateSystem() From ff8996060b0c9908f28c1a52991d1f4311bbce24 Mon Sep 17 00:00:00 2001 From: Chris Bradley Date: Wed, 11 Apr 2018 11:25:07 +1200 Subject: [PATCH 2/3] Adding missed file. --- src/python/stressgrowth.cellml | 84 ++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 src/python/stressgrowth.cellml diff --git a/src/python/stressgrowth.cellml b/src/python/stressgrowth.cellml new file mode 100644 index 0000000..d0575ac --- /dev/null +++ b/src/python/stressgrowth.cellml @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + time + + lambda1 + + + + 1 + bff + S11 + + + + + + + + time + + lambda2 + + + + 1 + bss + S22 + + + + + + + + time + + lambda3 + + + + 1 + bnn + S33 + + + + + From a061208dcfaf853e593d968015ca8b04087231b0 Mon Sep 17 00:00:00 2001 From: Chris Bradley Date: Sat, 15 Sep 2018 19:34:38 +1200 Subject: [PATCH 3/3] Back to working with develop --- src/python/cantilever_growth.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/python/cantilever_growth.py b/src/python/cantilever_growth.py index 3977987..933bcc1 100644 --- a/src/python/cantilever_growth.py +++ b/src/python/cantilever_growth.py @@ -132,9 +132,8 @@ #iron.DiagnosticsSetOn(iron.DiagnosticTypes.FROM,[1,2,3,4,5],"diagnostics",["FiniteElasticity_FiniteElementResidualEvaluate"]) # Get the number of computational nodes and this computational node number -computationEnvironment = iron.ComputationEnvironment() -numberOfComputationalNodes = computationEnvironment.NumberOfWorldNodesGet() -computationalNodeNumber = computationEnvironment.WorldNodeNumberGet() +numberOfComputationalNodes = iron.ComputationalNumberOfNodesGet() +computationalNodeNumber = iron.ComputationalNodeNumberGet() # Create a 3D rectangular cartesian coordinate system coordinateSystem = iron.CoordinateSystem()