From 1e1c84a2110c00341c06cc31220c6e8dfb34a8d0 Mon Sep 17 00:00:00 2001 From: csendlinger Date: Thu, 27 Jun 2024 10:44:45 +0200 Subject: [PATCH] updated exaple json files (test_parameter & test_poisson_parameter effectively the same) --- simulation_config/function_examples.json | 7 +++++ simulation_config/test_parameter.json | 13 ++++++--- simulation_config/test_poisson_parameter.json | 27 ++++++++++++++++++- 3 files changed, 43 insertions(+), 4 deletions(-) diff --git a/simulation_config/function_examples.json b/simulation_config/function_examples.json index 7073f21..20b4241 100755 --- a/simulation_config/function_examples.json +++ b/simulation_config/function_examples.json @@ -54,6 +54,13 @@ "yValuesKey": "/vz(ms)", "prefactor": 1 } + }, + "f5": { + "Exponential": { + "scale": -1, + "prefactor": 1, + "comment": "f5 = prefactor*exp(scale*x)" + } } }, "3dto1D examples": { diff --git a/simulation_config/test_parameter.json b/simulation_config/test_parameter.json index 64e2822..4454823 100755 --- a/simulation_config/test_parameter.json +++ b/simulation_config/test_parameter.json @@ -568,6 +568,15 @@ } } } + }, + "GradientField": { + "VectorFieldFunctionInZ": { + "zFunction": { + "Constant3D": { + "constant": 2.5 + } + } + } } }, "GravityField": { @@ -639,9 +648,7 @@ "OverwriteLast": "true" }, "DeletionLogger": { - "Species": [ - "all" - ], + "Species": "all", "Intervall": "EachSync", "OverwriteLast": "true" }, diff --git a/simulation_config/test_poisson_parameter.json b/simulation_config/test_poisson_parameter.json index 67c6166..874adbf 100755 --- a/simulation_config/test_poisson_parameter.json +++ b/simulation_config/test_poisson_parameter.json @@ -565,6 +565,15 @@ } } } + }, + "GradientField": { + "VectorFieldFunctionInZ": { + "zFunction": { + "Constant3D": { + "constant": 0 + } + } + } } }, "PoissonSolver": { @@ -585,8 +594,24 @@ "GlobalPositionBinning" ] }, + "Boundary": { + "Top": { + "type": "neumann", + "value": 0 + }, + "Bottom": { + "type": "dirichlet", + "value": 0 + }, + "Hull": { + "type": "dirichlet", + "value": 0 + } + }, "TargetAccuracy": 1e-7, - "NumCycles": 2e4 + "NumCycles": 2e4, + "Intervall": 1, + "Offset": 0 }, "Simulation": { "SimulatedEvents": 1,