From c4d8962e86f01310422f81327ae6a0e1c3c4c7d6 Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Wed, 28 Jun 2023 11:05:19 +0300 Subject: [PATCH 01/20] Ignore additional files --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index ffa735c..66f7ac7 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,9 @@ dependencies/OpenCL bubbleSim/data +# External tool files +*.cltracer + # User-specific files *.rsuser From b6e91d04c3d223f8b7b9989e6000f5f7691bb1a7 Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Wed, 28 Jun 2023 11:42:43 +0300 Subject: [PATCH 02/20] Collision algorithm, smaller type changes. --- bubbleSim/bubbleSim.vcxproj.filters | 91 ++++++++++++++++------------- bubbleSim/collision.cpp | 38 ++++++++---- bubbleSim/config_reader.hpp | 2 +- bubbleSim/simulation.h | 4 +- 4 files changed, 80 insertions(+), 55 deletions(-) diff --git a/bubbleSim/bubbleSim.vcxproj.filters b/bubbleSim/bubbleSim.vcxproj.filters index a988896..6a98c73 100644 --- a/bubbleSim/bubbleSim.vcxproj.filters +++ b/bubbleSim/bubbleSim.vcxproj.filters @@ -16,81 +16,90 @@ {ad3d76ba-6f94-404f-bc5d-04c6fe891d8f} - - {ead60fb0-b85b-4979-a0a9-ef637c5cf283} - - - {0187af86-67e0-4ada-9316-2c50a6d1db91} - {70c9ae99-7764-4421-ad94-5ac76b6b096b} - - {a5c559dd-9d80-4aef-a16b-8988be73efcd} + + {065cebb1-beb8-4e96-9821-6f828b7743fa} + + + {8271bb38-eced-4c45-837f-66505dc396ac} + + + {25677fb9-0349-4027-b7fb-4c5eac0b861c} + + + {6c4c2689-9937-4d27-8cef-7ffb46d3e1fa} + + + {fc07c3d0-554a-4313-8c45-36b30388084b} - - {729ee2fd-1b8b-46ac-87ea-9dccda36f30d} + + {e2bc3991-b791-4914-8ca2-bb079843d4d7} + + + {d00f1d28-f39c-485c-bc09-b2ad361e7fee} - - Header Files - Header Files Header Files - + + Source Files\Generators + + Header Files + + Physics + - Header Files\Objects + Physics\Bubble - - Header Files\Objects + + Physics\Dynamics - - Header Files\Objects + + Physics\Particles - - Source Files\Generators + + Stream - Header Files - - - Header Files + Config - - Header Files\Streamers + + OpenCL - - Header Files + + Physics\Dynamics - - Source Files - Source Files - - Source Files - - Source Files\Objects - - - Source Files\Objects + Physics\Bubble - Source Files + Physics\Dynamics + + + Physics\Particles - Source Files\Streamers + Stream + + + OpenCL + + + Physics\Dynamics diff --git a/bubbleSim/collision.cpp b/bubbleSim/collision.cpp index fb64f8b..2389f73 100644 --- a/bubbleSim/collision.cpp +++ b/bubbleSim/collision.cpp @@ -3,6 +3,12 @@ CollisionCellCollection::CollisionCellCollection( numType t_meanFreePath, unsigned int t_cellCountInOneAxis, bool t_doubleCellCount, cl::Context& cl_context) { + /* + TODO: + Differentiate if particle is inside or outside the bubble. (Different collision cells) + Change name of t_doubleCellCount to more accurate name. + + */ int openCLerrNum; if (t_cellCountInOneAxis % 2 != 1) { @@ -52,29 +58,30 @@ CollisionCellCollection::CollisionCellCollection( void CollisionCellCollection::generateShiftVector( RandomNumberGenerator& t_rng) { - m_shiftVector = {m_cellLength / 2. - t_rng.generate_number() * m_cellLength, - m_cellLength / 2. - t_rng.generate_number() * m_cellLength, - m_cellLength / 2. - t_rng.generate_number() * m_cellLength}; + m_shiftVector = {m_cellLength / (numType)2. - t_rng.generate_number() * m_cellLength, + m_cellLength / (numType)2. - t_rng.generate_number() * m_cellLength, + m_cellLength / (numType)2. - t_rng.generate_number() * m_cellLength}; } void CollisionCellCollection::recalculate_cells( std::vector& t_particles, RandomNumberGenerator& t_rng) { // 0 index cell is for particles outside the collision cell grid - double phi, theta; + numType phi, theta; + + std::vector> frames(m_cellCount, {(cl_numType)0.,(cl_numType)0.,(cl_numType)0.,(cl_numType)0.,(cl_numType)0.,(cl_numType)1.}); - std::vector> frames; - frames.resize(m_cellCount); /* * Sum up all momentums, energies and masses for each cell */ - for (Particle particle : t_particles) { + for (Particle& particle : t_particles) { if (particle.idxCollisionCell == 0) continue; frames[particle.idxCollisionCell][0] += particle.p_x; frames[particle.idxCollisionCell][1] += particle.p_y; frames[particle.idxCollisionCell][2] += particle.p_z; frames[particle.idxCollisionCell][3] += particle.E; frames[particle.idxCollisionCell][4] += 1; + frames[particle.idxCollisionCell][5] *= particle.E; } /* * Calculate velocities for each collision cell @@ -82,6 +89,15 @@ void CollisionCellCollection::recalculate_cells( for (size_t i = 1; i < m_cellCount; i++) { m_collisionCells[i].particle_count = (int)frames[i][4]; if (frames[i][4] > 1) { + /* + * If T ^ N / (9 * prod(E_i)) <= RNG then skip rotation + * T - temperature, prod(E_i) is product of particles' energies in a cell, N is number of particles in a cell + */ + if (t_rng.generate_number() >= + std::pow(0.01, frames[i][4]) / (9 * frames[i][5])) { + m_collisionCells[i].particle_count = (int)0; + continue; + } m_collisionCells[i].v_x = frames[i][0] / frames[i][3]; m_collisionCells[i].v_y = frames[i][1] / frames[i][3]; m_collisionCells[i].v_z = frames[i][2] / frames[i][3]; @@ -104,13 +120,13 @@ void CollisionCellCollection::recalculate_cells( * gamma = 1/sqrt(1-beta^2) */ m_collisionCells[i].gamma = 1 / std::sqrt(1 - m_collisionCells[i].v2); - phi = std::acos(1 - 2 * t_rng.generate_number()); - theta = 2 * M_PI * t_rng.generate_number(); - + phi = std::acos((numType)1. - (numType)2. * t_rng.generate_number()); + theta = (numType)2 * (numType)M_PI * t_rng.generate_number(); /* * Generate rotation axis and angle for CollisionCell */ - m_collisionCells[i].theta = 2 * M_PI * t_rng.generate_number(); + m_collisionCells[i].theta = + (numType)2. * (numType)M_PI * t_rng.generate_number(); m_collisionCells[i].x = std::sin(phi) * std::cos(theta); m_collisionCells[i].y = std::sin(phi) * std::sin(theta); m_collisionCells[i].z = std::cos(phi); diff --git a/bubbleSim/config_reader.hpp b/bubbleSim/config_reader.hpp index fe71473..97d3447 100644 --- a/bubbleSim/config_reader.hpp +++ b/bubbleSim/config_reader.hpp @@ -7,7 +7,7 @@ class ConfigReader { public: std::string kernelName; int m_seed; - int m_maxSteps; + u_int m_maxSteps; numType dt; numType maxTime; bool cyclicBoundaryOn; diff --git a/bubbleSim/simulation.h b/bubbleSim/simulation.h index 6b7548c..f67d431 100644 --- a/bubbleSim/simulation.h +++ b/bubbleSim/simulation.h @@ -51,7 +51,7 @@ class Simulation { } }; - int getStep() { return m_step; } + unsigned int getStep() { return m_step; } void step(PhaseBubble& bubble, numType t_dP); /* @@ -104,7 +104,7 @@ class Simulation { // Cumulative time int m_seed; numType m_time = 0.; - size_t m_step = 0; + u_int m_step = 0; // One step time length numType m_dt; numType m_step_dt; From 4906e8de97fdf4904fe32303f881c0fee21bef4a Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Wed, 28 Jun 2023 11:54:12 +0300 Subject: [PATCH 03/20] Collision cell structure --- bubbleSim/collision.h | 22 +++++++++++++--------- kernels/kernel.cl | 2 +- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/bubbleSim/collision.h b/bubbleSim/collision.h index 0488c3d..f8da4c3 100644 --- a/bubbleSim/collision.h +++ b/bubbleSim/collision.h @@ -2,23 +2,25 @@ #include "base.h" #include "objects.h" typedef struct CollisionCell { - cl_numType v_x; - cl_numType v_y; - cl_numType v_z; + // Lorentz transformation + cl_numType gamma; + cl_numType vX; + cl_numType vY; + cl_numType vZ; + // Rotation matrix cl_numType x; cl_numType y; cl_numType z; - cl_numType theta; - cl_numType p_E; - cl_numType p_x; - cl_numType p_y; - cl_numType p_z; + // Average 4-momentum values + cl_numType pE; + cl_numType pX; + cl_numType pY; + cl_numType pZ; cl_numType v2; - cl_numType gamma; cl_numType total_mass; cl_uint particle_count; } CollisionCell; @@ -30,6 +32,8 @@ class CollisionCellCollection { std::array& getShiftVector() { return m_shiftVector; } + u_int getCellCount() { return m_cellCount; } + void recalculate_cells(std::vector& t_particles, RandomNumberGenerator& t_rng); diff --git a/kernels/kernel.cl b/kernels/kernel.cl index a9dfbe5..0230816 100644 --- a/kernels/kernel.cl +++ b/kernels/kernel.cl @@ -28,6 +28,7 @@ typedef struct Bubble { // In development typedef struct CollisionCell { + double gamma; double vX; double vY; double vZ; @@ -43,7 +44,6 @@ typedef struct CollisionCell { double p_z; double v2; // v2 = Sum: v_i^2 - double gamma; double mass; unsigned int particle_count; } CollisionCell; From c8fdcce54e57217ce99077a75233336e9d401d7c Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Wed, 28 Jun 2023 11:57:44 +0300 Subject: [PATCH 04/20] Collision cell structure --- bubbleSim/collision.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/bubbleSim/collision.cpp b/bubbleSim/collision.cpp index 2389f73..303cd58 100644 --- a/bubbleSim/collision.cpp +++ b/bubbleSim/collision.cpp @@ -98,24 +98,24 @@ void CollisionCellCollection::recalculate_cells( m_collisionCells[i].particle_count = (int)0; continue; } - m_collisionCells[i].v_x = frames[i][0] / frames[i][3]; - m_collisionCells[i].v_y = frames[i][1] / frames[i][3]; - m_collisionCells[i].v_z = frames[i][2] / frames[i][3]; + m_collisionCells[i].vX = frames[i][0] / frames[i][3]; + m_collisionCells[i].vY = frames[i][1] / frames[i][3]; + m_collisionCells[i].vZ = frames[i][2] / frames[i][3]; m_collisionCells[i].total_mass = std::sqrt(std::pow(frames[i][3], 2) - std::pow(frames[i][0], 2) - std::pow(frames[i][1], 2) - std::pow(frames[i][2], 2)); - m_collisionCells[i].p_x = frames[i][0] / frames[i][4]; - m_collisionCells[i].p_y = frames[i][1] / frames[i][4]; - m_collisionCells[i].p_z = frames[i][2] / frames[i][4]; - m_collisionCells[i].p_E = frames[i][3] / frames[i][4]; + m_collisionCells[i].pX = frames[i][0] / frames[i][4]; + m_collisionCells[i].pY = frames[i][1] / frames[i][4]; + m_collisionCells[i].pZ = frames[i][2] / frames[i][4]; + m_collisionCells[i].pE = frames[i][3] / frames[i][4]; /* * beta = sqrt(v_x^2 + v_y^2 + v_z^2); */ m_collisionCells[i].v2 = - std::fma(m_collisionCells[i].v_x, m_collisionCells[i].v_x, - std::fma(m_collisionCells[i].v_y, m_collisionCells[i].v_y, - m_collisionCells[i].v_z * m_collisionCells[i].v_z)); + std::fma(m_collisionCells[i].vX, m_collisionCells[i].vX, + std::fma(m_collisionCells[i].vY, m_collisionCells[i].vY, + m_collisionCells[i].vZ * m_collisionCells[i].vZ)); /* * gamma = 1/sqrt(1-beta^2) */ From 44afc35685c46d04ebd2cde97eb897d102b9c40a Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Wed, 28 Jun 2023 13:02:52 +0300 Subject: [PATCH 05/20] Type conversion --- bubbleSim/collision.cpp | 6 +-- bubbleSim/opencl_kernels.cpp | 44 ++++++++++++++----- bubbleSim/particle.cpp | 85 +++++++++++++++++++----------------- bubbleSim/particle.h | 22 ++++++---- kernels/kernel.cl | 7 ++- 5 files changed, 99 insertions(+), 65 deletions(-) diff --git a/bubbleSim/collision.cpp b/bubbleSim/collision.cpp index 303cd58..365c4de 100644 --- a/bubbleSim/collision.cpp +++ b/bubbleSim/collision.cpp @@ -76,9 +76,9 @@ void CollisionCellCollection::recalculate_cells( */ for (Particle& particle : t_particles) { if (particle.idxCollisionCell == 0) continue; - frames[particle.idxCollisionCell][0] += particle.p_x; - frames[particle.idxCollisionCell][1] += particle.p_y; - frames[particle.idxCollisionCell][2] += particle.p_z; + frames[particle.idxCollisionCell][0] += particle.pX; + frames[particle.idxCollisionCell][1] += particle.pY; + frames[particle.idxCollisionCell][2] += particle.pZ; frames[particle.idxCollisionCell][3] += particle.E; frames[particle.idxCollisionCell][4] += 1; frames[particle.idxCollisionCell][5] *= particle.E; diff --git a/bubbleSim/opencl_kernels.cpp b/bubbleSim/opencl_kernels.cpp index 8e998b6..04c3aa3 100644 --- a/bubbleSim/opencl_kernels.cpp +++ b/bubbleSim/opencl_kernels.cpp @@ -1,23 +1,31 @@ #include "opencl_kernels.h" OpenCLLoader::OpenCLLoader(std::string kernelPath) { - std::string particleBubbleStepKernelName = "particle_bubble_step"; - std::string cellAssignKernelName = "assign_cell_index_to_particle"; - std::string transformKernelName = "transform_momentum"; - std::string particleStepKernelName = "particle_step"; - std::string particleBounceKernelName = "particle_bounce"; - std::string particleBubbleBoundaryStepKernelName = - "particle_bubble_step_cyclic"; + createContext(m_devices); createProgram(m_context, m_deviceUsed, kernelPath); + + + std::string particleBubbleStepKernelName = "particle_bubble_step"; createKernel(m_program, m_particleBubbleStepKernel, particleBubbleStepKernelName.c_str()); // cl::Kernel + + std::string transformKernelName = "rotate_momentum"; createKernel(m_program, m_rotationKernel, transformKernelName.c_str()); + + std::string cellAssignKernelName = "assign_particle_to_collision_cell"; createKernel(m_program, m_cellAssignmentKernel, cellAssignKernelName.c_str()); + + std::string particleStepKernelName = "particle_step"; createKernel(m_program, m_particleStepKernel, particleStepKernelName.c_str()); + + std::string particleBounceKernelName = "particle_boundary_check"; createKernel(m_program, m_particleBounceKernel, particleBounceKernelName.c_str()); + + std::string particleBubbleBoundaryStepKernelName = + "particle_bubble_step_cyclic"; createKernel(m_program, m_particleBubbleBoundaryStepKernel, particleBubbleBoundaryStepKernelName.c_str()); @@ -25,17 +33,31 @@ OpenCLLoader::OpenCLLoader(std::string kernelPath) { } OpenCLLoader::OpenCLLoader(std::string kernelPath, std::string kernelName) { - std::string particleBubbleStepKernelName = "particle_bubble_step"; - std::string particleBubbleBoundaryStepKernelName = - "particle_bubble_step_cyclic"; - createContext(m_devices); createProgram(m_context, m_deviceUsed, kernelPath); + + // For collision + std::string cellAssignKernelName = "assign_particle_to_collision_cell"; + createKernel(m_program, m_cellAssignmentKernel, cellAssignKernelName.c_str()); + + std::string transformKernelName = "rotate_momentum"; + createKernel(m_program, m_rotationKernel, transformKernelName.c_str()); + + std::string particleBounceKernelName = "particle_boundary_check"; + createKernel(m_program, m_particleBounceKernel, + particleBounceKernelName.c_str()); + createKernel(m_program, m_kernel, kernelName.c_str()); // cl::Kernel + + std::string particleBubbleStepKernelName = "particle_bubble_step"; createKernel(m_program, m_particleBubbleStepKernel, particleBubbleStepKernelName.c_str()); // cl::Kernel + + std::string particleBubbleBoundaryStepKernelName = + "particle_bubble_step_cyclic"; createKernel(m_program, m_particleBubbleBoundaryStepKernel, particleBubbleBoundaryStepKernelName.c_str()); + createQueue(m_context, m_deviceUsed); } diff --git a/bubbleSim/particle.cpp b/bubbleSim/particle.cpp index 0c311e8..2db072f 100644 --- a/bubbleSim/particle.cpp +++ b/bubbleSim/particle.cpp @@ -21,7 +21,7 @@ void ParticleGenerator::calculateCPD(numType t_temperature, numType t_pMax, m_cumulativeProbabilityFunction[0].reserve(vectorSize); m_cumulativeProbabilityFunction[1].reserve(vectorSize); - numType m2 = std::pow(m_mass, 2); + numType m2 = std::pow(m_mass, (numType)2.); numType lastCPFValue = 0.; numType lastMomentumValue = 0.; @@ -32,7 +32,7 @@ void ParticleGenerator::calculateCPD(numType t_temperature, numType t_pMax, // Integral of: dp * p^2 * exp(-sqrt(p^2+m^2)/T) m_cumulativeProbabilityFunction[0].push_back( lastCPFValue + - t_dp * std::pow(lastMomentumValue, 2) * + t_dp * std::pow(lastMomentumValue, (numType)2.) * std::exp( -std::sqrt(std::fma(lastMomentumValue, lastMomentumValue, m2)) / t_temperature)); @@ -87,9 +87,9 @@ numType ParticleGenerator::interp(numType t_xValue, void ParticleGenerator::generateRandomDirection( numType& x, numType& y, numType& z, numType t_radius, RandomNumberGenerator& t_generator) { - numType phi = - std::acos(1 - 2 * t_generator.generate_number()); // inclination - numType theta = 2 * M_PI * t_generator.generate_number(); + numType phi = std::acos( + (numType)1. - (numType)2. * t_generator.generate_number()); // inclination + numType theta = (numType)2. * (numType)M_PI * t_generator.generate_number(); x = t_radius * std::sin(phi) * std::cos(theta); // x y = t_radius * std::sin(phi) * std::sin(theta); // y z = t_radius * std::cos(phi); // z @@ -143,7 +143,7 @@ numType ParticleGenerator::generateNParticlesInBox( numType x, y, z; numType p_x, p_y, p_z; numType E; - numType m2 = std::pow(m_mass, 2); + numType m2 = std::pow(m_mass, (numType)2.); numType pValue; for (u_int i = 0; i < t_N; i++) { @@ -152,7 +152,7 @@ numType ParticleGenerator::generateNParticlesInBox( // Generates 3D space coordinates and pushes to m_P vector generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); - E = std::sqrt(m2 + pow(pValue, 2)); + E = std::sqrt(m2 + pow(pValue, (numType)2.)); totalEnergy += E; t_particles.push_back(Particle{x, y, z, p_x, p_y, p_z, E, m_mass}); } @@ -167,7 +167,7 @@ numType ParticleGenerator::generateNParticlesInBox( numType x, y, z; numType p_x, p_y, p_z; numType E; - numType m2 = std::pow(m_mass, 2); + numType m2 = std::pow(m_mass, (numType)2.); numType pValue; for (u_int i = 0; i < t_N; i++) { @@ -192,7 +192,7 @@ numType ParticleGenerator::generateNParticlesInBox( numType x, y, z; numType p_x, p_y, p_z; numType E; - numType m2 = std::pow(m_mass, 2); + numType m2 = std::pow(m_mass, (numType)2.); numType pValue; numType radius; for (u_int i = 0; i < t_N; i++) { @@ -203,7 +203,7 @@ numType ParticleGenerator::generateNParticlesInBox( } while (radius < t_radiusIn); // Generates 3D space coordinates and pushes to m_P vector generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); - E = std::sqrt(m2 + pow(pValue, 2)); + E = std::sqrt(m2 + pow(pValue, (numType)2.)); totalEnergy += E; t_particles.push_back(Particle{x, y, z, p_x, p_y, p_z, E, m_mass}); } @@ -219,7 +219,7 @@ numType ParticleGenerator::generateNParticlesInBox( numType x, y, z; numType p_x, p_y, p_z; numType E; - numType m2 = std::pow(m_mass, 2); + numType m2 = std::pow(m_mass, (numType)2.); numType pValue; numType radius; for (u_int i = 0; i < t_N; i++) { @@ -231,7 +231,7 @@ numType ParticleGenerator::generateNParticlesInBox( } while (radius < t_radiusIn); // Generates 3D space coordinates and pushes to m_P vector generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); - E = std::sqrt(m2 + pow(pValue, 2)); + E = std::sqrt(m2 + pow(pValue, (numType)2.)); totalEnergy += E; t_particles.push_back(Particle{x, y, z, p_x, p_y, p_z, E, m_mass}); } @@ -245,7 +245,7 @@ numType ParticleGenerator::generateNParticlesInSphere( numType x, y, z; numType p_x, p_y, p_z; numType E; - numType m2 = std::pow(m_mass, 2); + numType m2 = std::pow(m_mass, (numType)2.); numType pValue; numType radius; @@ -258,7 +258,7 @@ numType ParticleGenerator::generateNParticlesInSphere( // Generates 3D space coordinates and pushes to m_P vector generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); - E = std::sqrt(m2 + pow(pValue, 2)); + E = std::sqrt(m2 + pow(pValue, (numType)2.)); totalEnergy += E; t_particles.push_back(Particle{x, y, z, p_x, p_y, p_z, E, m_mass}); } @@ -272,7 +272,7 @@ numType ParticleGenerator::generateNParticlesInSphere( numType x, y, z; numType p_x, p_y, p_z; numType E; - numType m2 = std::pow(m_mass, 2); + numType m2 = std::pow(m_mass, (numType)2.); numType pValue; numType radius; @@ -285,7 +285,7 @@ numType ParticleGenerator::generateNParticlesInSphere( // Generates 3D space coordinates and pushes to m_P vector generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); - E = std::sqrt(m2 + pow(pValue, 2)); + E = std::sqrt(m2 + pow(pValue, (numType)2.)); totalEnergy += E; t_particles.push_back(Particle{x, y, z, p_x, p_y, p_z, E, m_mass}); } @@ -315,7 +315,8 @@ ParticleCollection::ParticleCollection( m_particleCountIn = t_particleCountFalse; m_particleCountOut = t_particleCountTrue; } - m_massDelta2 = std::abs(std::pow(t_massTrue, 2) - std::pow(t_massFalse, 2)); + m_massDelta2 = std::abs(std::pow(t_massTrue, (numType)2.) - + std::pow(t_massFalse, (numType)2.)); m_massInBuffer = cl::Buffer(cl_context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, @@ -352,7 +353,7 @@ ParticleCollection::ParticleCollection( m_particleCountTotal * sizeof(Particle), m_particles.data(), &openCLerrNum); - m_dP = std::vector(m_particleCountTotal, 0.); + m_dP = std::vector(m_particleCountTotal, (numType)0.); m_dPBuffer = cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, m_particleCountTotal * sizeof(numType), m_dP.data(), &openCLerrNum); @@ -393,28 +394,29 @@ numType ParticleCollection::calculateParticleMomentum(u_int i) { // return std::sqrt(m_P[3 * i] * m_P[3 * i] + m_P[3 * i + 1] * m_P[3 * i + 1] // + m_P[3 * i + 2] * m_P[3 * i + 2]); - return std::sqrt(std::fma(m_particles[i].p_x, m_particles[i].p_x, - std::fma(m_particles[i].p_y, m_particles[i].p_y, - m_particles[i].p_z * m_particles[i].p_z))); + return std::sqrt(std::fma(m_particles[i].pX, m_particles[i].pX, + std::fma(m_particles[i].pY, m_particles[i].pY, + m_particles[i].pZ * m_particles[i].pZ))); } numType ParticleCollection::calculateParticleEnergy(u_int i) { return std::sqrt( - std::fma(m_particles[i].p_x, m_particles[i].p_x, - std::fma(m_particles[i].p_y, m_particles[i].p_y, - std::fma(m_particles[i].p_z, m_particles[i].p_z, + std::fma(m_particles[i].pX, m_particles[i].pX, + std::fma(m_particles[i].pY, m_particles[i].pY, + std::fma(m_particles[i].pZ, m_particles[i].pZ, m_particles[i].m * m_particles[i].m)))); } numType ParticleCollection::calculateParticleRadialVelocity(u_int i) { - return std::fma(m_particles[i].p_x, m_particles[i].x, - std::fma(m_particles[i].p_y, m_particles[i].y, - m_particles[i].p_z * m_particles[i].z)) / + return std::fma(m_particles[i].pX, m_particles[i].x, + std::fma(m_particles[i].pY, m_particles[i].y, + m_particles[i].pZ * m_particles[i].z)) / (m_particles[i].E * calculateParticleRadius(i)); } numType ParticleCollection::calculateParticleTangentialVelocity(u_int i) { - return std::sqrt(1 - std::pow(calculateParticleRadialVelocity(i), 2)); + return std::sqrt((numType)1. - + std::pow(calculateParticleRadialVelocity(i), (numType)2.)); } numType ParticleCollection::calculateNumberDensity(numType t_mass, @@ -423,13 +425,13 @@ numType ParticleCollection::calculateNumberDensity(numType t_mass, numType t_pMax) { numType n = 0; numType p = 0; - numType m2 = std::pow(t_mass, 2); + numType m2 = std::pow(t_mass, (numType)2.); for (; p <= t_pMax; p += t_dp) { - n += t_dp * std::pow(p, 2) * + n += t_dp * std::pow(p, (numType)2.) * std::exp(-std::sqrt(std::fma(p, p, m2)) / t_temperature); } - n = n / (numType)(2. * std::pow(M_PI, 2)); + n = n / (numType)((numType)2. * std::pow((numType)M_PI, (numType)2.)); return n; } @@ -439,16 +441,16 @@ numType ParticleCollection::calculateEnergyDensity(numType t_mass, numType t_pMax) { numType rho = 0; numType p = 0; - numType m2 = std::pow(t_mass, 2); + numType m2 = std::pow(t_mass, (numType)2.); numType sqrt_p2_m2; for (; p <= t_pMax; p += t_dp) { sqrt_p2_m2 = std::sqrt(std::fma(p, p, m2)); - rho += t_dp * std::pow(p, 2) * sqrt_p2_m2 * + rho += t_dp * std::pow(p, (numType)2.) * sqrt_p2_m2 * std::exp(-sqrt_p2_m2 / t_temperature); } - rho = rho / (numType)(2 * std::pow(M_PI, 2)); + rho = rho / (numType)((numType)2. * std::pow(M_PI, (numType)2.)); return rho; } @@ -456,7 +458,8 @@ numType ParticleCollection::calculateEnergyDensity(numType t_mass, numType ParticleCollection::countParticleNumberDensity(numType t_radius1) { u_int counter = 0; - numType volume = 4 * (pow(t_radius1, 3) * M_PI) / 3; + numType volume = + (numType)4. * (pow(t_radius1, (numType)3.) * (numType)M_PI) / (numType)3.; for (int i = 0; i < m_particleCountTotal; i++) { if (calculateParticleRadius(i) < t_radius1) { counter += 1; @@ -468,7 +471,10 @@ numType ParticleCollection::countParticleNumberDensity(numType t_radius1) { numType ParticleCollection::countParticleNumberDensity(numType t_radius1, numType t_radius2) { u_int counter = 0; - numType volume = 4 * ((pow(t_radius2, 3) - pow(t_radius1, 3)) * M_PI) / 3; + numType volume = (numType)4. * + ((pow(t_radius2, (numType)3.) - pow(t_radius1, (numType)3.)) * + (numType)M_PI) / + (numType)3.; for (int i = 0; i < m_particleCountTotal; i++) { if ((calculateParticleRadius(i) > t_radius1) && (calculateParticleRadius(i) < t_radius2)) { @@ -481,7 +487,8 @@ numType ParticleCollection::countParticleNumberDensity(numType t_radius1, numType ParticleCollection::countParticleEnergyDensity(numType t_radius1) { numType energy = countParticlesEnergy(t_radius1); std::cout << energy << std::endl; - numType volume = 4 * (pow(t_radius1, 3) * M_PI) / 3; + numType volume = + (numType)4. * (pow(t_radius1, (numType)3.) * (numType)M_PI) / (numType)3.; return energy / volume; } @@ -528,8 +535,8 @@ void ParticleCollection::print_info(ConfigReader t_config, // exp(mu/T) -> ~ chemical potential -> std::cout << std::setprecision(6); numType exp_mu_T = - std::log((m_particleCountIn * std::pow(M_PI, 2)) / - (t_bubble.calculateVolume() * std::pow(m_temperatureFalse, 3))); + std::log((m_particleCountIn * std::pow((numType)M_PI, (numType)2.)) / + (t_bubble.calculateVolume() * std::pow(m_temperatureFalse, (numType)3))); numType nFromParameters = m_particleCountIn / t_bubble.calculateVolume(); // Assuming m = 0 numType rhoFromParameters = diff --git a/bubbleSim/particle.h b/bubbleSim/particle.h index b0abb40..bd26fe4 100644 --- a/bubbleSim/particle.h +++ b/bubbleSim/particle.h @@ -9,9 +9,9 @@ typedef struct Particle { cl_numType y; cl_numType z; - cl_numType p_x; - cl_numType p_y; - cl_numType p_z; + cl_numType pX; + cl_numType pY; + cl_numType pZ; cl_numType E; cl_numType m; @@ -343,9 +343,9 @@ class ParticleCollection { numType getParticleMomentum(u_int i) { return std::sqrt( - std::fma(m_particles[i].p_x, m_particles[i].p_x, - std::fma(m_particles[i].p_y, m_particles[i].p_y, - m_particles[i].p_z * m_particles[i].p_z))); + std::fma(m_particles[i].pX, m_particles[i].pX, + std::fma(m_particles[i].pY, m_particles[i].pY, + m_particles[i].pZ * m_particles[i].pZ))); } numType getParticleMass(u_int i) { return m_particles[i].m; } @@ -392,8 +392,8 @@ class ParticleCollection { void print_particle_info(unsigned int i) { Particle particle = m_particles[i]; std::cout << "(" << particle.x << ", " << particle.y << ", " << particle.z - << ") (" << particle.E << ", " << particle.p_x << ", " - << particle.p_y << ", " << particle.p_z << ")" << std::endl; + << ") (" << particle.E << ", " << particle.pX << ", " + << particle.pY << ", " << particle.pZ << ")" << std::endl; } void revertParticlesToLastStep(cl::CommandQueue& cl_queue) { @@ -452,4 +452,10 @@ class ParticleCollection { makeInteractedBubbleTrueStateCopy(); makePassedBubbleFalseStateCopy(); } + + void printParticleInfo(size_t i) { + Particle p = m_particles[i]; + std::printf("X: (%.7f, %.7f, %.7f), P: (%.7f, %.7f, %.7f, %.7f), m: %.7f\n", + p.x, p.y, p.z, p.E, p.pX, p.pY, p.pZ, p.m); + } }; diff --git a/kernels/kernel.cl b/kernels/kernel.cl index 0230816..682ee27 100644 --- a/kernels/kernel.cl +++ b/kernels/kernel.cl @@ -913,7 +913,7 @@ __kernel void particles_with_false_bubble_step_reflect( } -__kernel void assign_cell_index_to_particle( +__kernel void assign_particle_to_collision_cell( __global Particle *t_particles, __global const unsigned int *maxCellIndex, __global const double *cellLength, @@ -1000,11 +1000,10 @@ __kernel void label_particles_position_by_mass( t_particles[gid].b_inBubble = t_particles[gid].m == mass_in[0]; } -__kernel void transform_momentum( +__kernel void rotate_momentum( __global Particle *t_particles, __global CollisionCell *t_cells, __global unsigned int *number_of_cells - ){ unsigned int gid = get_global_id(0); Particle particle = t_particles[gid]; @@ -1096,7 +1095,7 @@ __kernel void transform_momentum( } } -__kernel void particle_bounce( +__kernel void particle_boundary_check( __global Particle *t_particles, __global double *boundaryDistanceFromCenter // [x_delta] ){ From a26473ae2710eba141629da332943343faddd845 Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Wed, 28 Jun 2023 13:24:47 +0300 Subject: [PATCH 06/20] Delta function thermalization --- bubbleSim/simulation.cpp | 24 +++++++++++++++++------- bubbleSim/simulation.h | 5 +++-- bubbleSim/source.cpp | 39 +++++++++++++++------------------------ configs/test.json | 2 +- 4 files changed, 36 insertions(+), 34 deletions(-) diff --git a/bubbleSim/simulation.cpp b/bubbleSim/simulation.cpp index d7af051..1b11248 100644 --- a/bubbleSim/simulation.cpp +++ b/bubbleSim/simulation.cpp @@ -205,7 +205,7 @@ void Simulation::step(PhaseBubble& bubble, numType t_dP) { bubble.evolveWall(m_dt, t_dP); } -// In development: collisions +// Collision step void Simulation::step(ParticleCollection& particles, CollisionCellCollection& cells, RandomNumberGenerator& generator_collision, int i, @@ -214,12 +214,19 @@ void Simulation::step(ParticleCollection& particles, cl::Kernel& t_rotationKernel, cl::Kernel& t_particleBounceKernel, cl::CommandQueue& cl_queue) { - m_time += m_dt; + /* + * 1) Move particles + * 2) Solve boundaries + */ // Move particles cl_queue.enqueueNDRangeKernel(t_particleStepKernel, cl::NullRange, cl::NDRange(particles.getParticleCountTotal())); - // Generate shift vector + cl_queue.enqueueNDRangeKernel( + t_particleBounceKernel, cl::NullRange, + cl::NDRange(particles.getParticleCountTotal())); + if (i % 1 == 0) { + // Generate shift vector cells.generateShiftVector(generator_collision); cells.writeShiftVectorBuffer(cl_queue); @@ -227,21 +234,24 @@ void Simulation::step(ParticleCollection& particles, cl_queue.enqueueNDRangeKernel( t_cellAssignmentKernel, cl::NullRange, cl::NDRange(particles.getParticleCountTotal())); + // Update particle data on CPU particles.readParticlesBuffer(cl_queue); // Calculate COM and genrate rotation matrix for each cell - cells.recalculate_cells(particles.getParticles(), generator_collision); + // Update data on GPU particles.writeParticlesBuffer(cl_queue); cells.writeCollisionCellBuffer(cl_queue); - // Update momentum + // Rotate momentum cl_queue.enqueueNDRangeKernel( t_rotationKernel, cl::NullRange, cl::NDRange(particles.getParticleCountTotal())); + + // Update simulation time + m_time += m_dt; + m_step += 1; } - cl_queue.enqueueNDRangeKernel(t_particleBounceKernel, cl::NullRange, - cl::NDRange(particles.getParticleCountTotal())); } diff --git a/bubbleSim/simulation.h b/bubbleSim/simulation.h index f67d431..db9d115 100644 --- a/bubbleSim/simulation.h +++ b/bubbleSim/simulation.h @@ -100,11 +100,12 @@ class Simulation { } private: - // Sim time paramters: - // Cumulative time int m_seed; + + // Simulation time state numType m_time = 0.; u_int m_step = 0; + // One step time length numType m_dt; numType m_step_dt; diff --git a/bubbleSim/source.cpp b/bubbleSim/source.cpp index 973aee4..ef22b4c 100644 --- a/bubbleSim/source.cpp +++ b/bubbleSim/source.cpp @@ -76,7 +76,7 @@ int main(int argc, char* argv[]) { } // Collision is in development - bool b_collisionDevelopment = false; + bool b_collisionDevelopment = true; // Read configs and kernel file std::string s_configPath = argv[1]; // "config.json" @@ -106,29 +106,25 @@ int main(int argc, char* argv[]) { // 2) Initialize openCL (kernels, commandQueues) OpenCLLoader kernels(s_kernelPath, config.kernelName); - // 3) Define required physical parameters - numType temperatureFalse = - std::sqrt(std::abs(std::pow(config.particleMassTrue, 2) - - std::pow(config.particleMassFalse, 2))) / - config.parameterEta; - - numType temperatureTrue = 0; // -> No particles generated in true vacuum, - // thus set temperature in true vacuum 0 - // 4) Generate particles ParticleGenerator particleGenerator1; // 4.1) Create generator (calculates distribution) + if (b_collisionDevelopment) { - particleGenerator1 = ParticleGenerator(config.particleMassFalse, 3.); + particleGenerator1 = ParticleGenerator(config.particleMassFalse, 3.*config.particleTemperatureFalse); } else { - particleGenerator1 = - ParticleGenerator(config.particleMassFalse, temperatureFalse, - 30 * temperatureFalse, 1e-5 * temperatureFalse); + particleGenerator1 = ParticleGenerator( + config.particleMassFalse, config.particleTemperatureFalse, + 30 * config.particleTemperatureFalse, + 1e-5 * config.particleTemperatureFalse); } + // 4.2) Create arrays for particles which hold the data of the particles ParticleCollection particles( - config.particleMassTrue, config.particleMassFalse, temperatureTrue, - temperatureFalse, config.particleCountTrue, config.particleCountFalse, + config.particleMassTrue, config.particleMassFalse, + config.particleTemperatureTrue, + config.particleTemperatureFalse, config.particleCountTrue, + config.particleCountFalse, config.parameterCoupling, config.bubbleIsTrueVacuum, kernels.getContext()); @@ -136,7 +132,7 @@ int main(int argc, char* argv[]) { numType genreatedParticleEnergy; if (b_collisionDevelopment) { genreatedParticleEnergy = particleGenerator1.generateNParticlesInBox( - config.bubbleInitialRadius, (u_int)particles.getParticleCountTotal(), + std::sqrt(3) * config.bubbleInitialRadius, (u_int)particles.getParticleCountTotal(), rn_generator, particles.getParticles()); } else { genreatedParticleEnergy = particleGenerator1.generateNParticlesInSphere( @@ -221,10 +217,10 @@ int main(int argc, char* argv[]) { simulation.set_particle_bounce_buffers(particles, cells, kernels.m_particleBounceKernel); - } else if (config.bubbleInteractionsOn) { // Set up buffers for GPU - simulation.set_particle_step_buffers(particles, bubble, *stepKernel); } + simulation.set_particle_step_buffers(particles, bubble, *stepKernel); + // Copy data to the GPU particles.writeAllBuffersToKernel(kernels.getCommandQueue()); simulation.writeAllBuffersToKernel(kernels.getCommandQueue()); @@ -315,16 +311,11 @@ int main(int argc, char* argv[]) { if (config.m_maxSteps > 0 && simulation.getStep() > config.m_maxSteps) { break; } - /* - simulation.step(bubble, 0); - }*/ if (b_collisionDevelopment) { simulation.step(particles, cells, rn_generator, i, *stepKernel, kernels.m_cellAssignmentKernel, kernels.m_rotationKernel, kernels.m_particleBounceKernel, kernels.getCommandQueue()); - - particles.readParticlesBuffer(kernels.getCommandQueue()); } else { if (config.bubbleInteractionsOn) { simulation.step(particles, bubble, *stepKernel, diff --git a/configs/test.json b/configs/test.json index e1d86a5..1e82a90 100644 --- a/configs/test.json +++ b/configs/test.json @@ -26,7 +26,7 @@ "particles": { "mass_false": 0, "mass_true": 1, - "T_false": 0.0, + "T_false": 0.5, "T_true": 0.0, "N_false": 5000, "N_true": 0 From 4b23433b75dcc296f284ac8cea2df692698eb9c6 Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Wed, 28 Jun 2023 13:50:21 +0300 Subject: [PATCH 07/20] Source change to collision system. --- bubbleSim.sln | 6 ++++ bubbleSim/bubbleSim.vcxproj | 66 +++++++++++++++++++++++++++++++++++++ bubbleSim/source.cpp | 9 ++--- configs/config.json | 4 +-- configs/test_oclgrind.json | 2 +- 5 files changed, 80 insertions(+), 7 deletions(-) diff --git a/bubbleSim.sln b/bubbleSim.sln index 3846372..45ef9df 100644 --- a/bubbleSim.sln +++ b/bubbleSim.sln @@ -7,12 +7,18 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bubbleSim", "bubbleSim\bubb EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution + bubbleSim test|x64 = bubbleSim test|x64 + bubbleSim test|x86 = bubbleSim test|x86 Debug|x64 = Debug|x64 Debug|x86 = Debug|x86 Release|x64 = Release|x64 Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution + {82AF250D-0A19-4018-B80B-85345DF10DF0}.bubbleSim test|x64.ActiveCfg = bubbleSim test|x64 + {82AF250D-0A19-4018-B80B-85345DF10DF0}.bubbleSim test|x64.Build.0 = bubbleSim test|x64 + {82AF250D-0A19-4018-B80B-85345DF10DF0}.bubbleSim test|x86.ActiveCfg = bubbleSim test|Win32 + {82AF250D-0A19-4018-B80B-85345DF10DF0}.bubbleSim test|x86.Build.0 = bubbleSim test|Win32 {82AF250D-0A19-4018-B80B-85345DF10DF0}.Debug|x64.ActiveCfg = Debug|x64 {82AF250D-0A19-4018-B80B-85345DF10DF0}.Debug|x64.Build.0 = Debug|x64 {82AF250D-0A19-4018-B80B-85345DF10DF0}.Debug|x86.ActiveCfg = Debug|Win32 diff --git a/bubbleSim/bubbleSim.vcxproj b/bubbleSim/bubbleSim.vcxproj index e8f3e43..d4998d0 100644 --- a/bubbleSim/bubbleSim.vcxproj +++ b/bubbleSim/bubbleSim.vcxproj @@ -1,6 +1,14 @@  + + bubbleSim test + Win32 + + + bubbleSim test + x64 + Debug Win32 @@ -65,6 +73,12 @@ v143 Unicode + + Application + true + v143 + Unicode + Application false @@ -78,6 +92,12 @@ v143 Unicode + + Application + true + v143 + Unicode + Application false @@ -93,12 +113,18 @@ + + + + + + @@ -108,6 +134,11 @@ $(SolutionDir)\bin\intermediates\$(Platform)\$(Configuration)\ false + + $(SolutionDir)\bin\$(Platform)\$(Configuration)\ + $(SolutionDir)\bin\intermediates\$(Platform)\$(Configuration)\ + false + $(SolutionDir)\bin\$(Platform)\$(Configuration)\ $(SolutionDir)\bin\intermediates\$(Platform)\$(Configuration)\ @@ -118,6 +149,11 @@ $(SolutionDir)\bin\intermediates\$(Platform)\$(Configuration)\ false + + $(SolutionDir)\bin\$(Platform)\$(Configuration)\ + $(SolutionDir)\bin\intermediates\$(Platform)\$(Configuration)\ + false + $(SolutionDir)\bin\$(Platform)\$(Configuration)\ $(SolutionDir)\bin\intermediates\$(Platform)\$(Configuration)\ @@ -138,6 +174,21 @@ $(SolutionDir)\dependencies\OpenCL\lib; + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + $(SolutionDir)\dependencies\OpenCL\include; $(SolutionDir)\dependencies\json + stdcpp17 + + + Console + true + $(SolutionDir)\dependencies\OpenCL\lib; + + Level3 @@ -172,6 +223,21 @@ $(SolutionDir)\dependencies\OpenCL\lib; + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + $(SolutionDir)\dependencies\OpenCL\include; $(SolutionDir)\dependencies\json + stdcpp17 + + + Console + true + $(SolutionDir)\dependencies\OpenCL\lib; + + Level3 diff --git a/bubbleSim/source.cpp b/bubbleSim/source.cpp index ef22b4c..b2470ea 100644 --- a/bubbleSim/source.cpp +++ b/bubbleSim/source.cpp @@ -307,10 +307,11 @@ int main(int argc, char* argv[]) { // auto streamEndTime = high_resolution_clock::now(); // auto streamStartTime = high_resolution_clock::now(); - for (int i = 1; (simulation.getTime() <= config.maxTime); i++) { - if (config.m_maxSteps > 0 && simulation.getStep() > config.m_maxSteps) { - break; - } + for (int i = 1; + (simulation.getTime() <= config.maxTime) && + (config.m_maxSteps > 0 && simulation.getStep() < config.m_maxSteps); + i++) { + if (b_collisionDevelopment) { simulation.step(particles, cells, rn_generator, i, *stepKernel, kernels.m_cellAssignmentKernel, kernels.m_rotationKernel, diff --git a/configs/config.json b/configs/config.json index 281eae7..a0802c0 100644 --- a/configs/config.json +++ b/configs/config.json @@ -5,9 +5,9 @@ }, "simulation": { "seed": 1, - "max_steps": 1500, + "max_steps": 10000, "dt": 0.001, - "max_time": 1.5, + "max_time": 15, "cyclic_boundary_on": true, "cyclic_boundary_radius": 500 }, diff --git a/configs/test_oclgrind.json b/configs/test_oclgrind.json index 4b66aee..8b7167c 100644 --- a/configs/test_oclgrind.json +++ b/configs/test_oclgrind.json @@ -37,7 +37,7 @@ "cell_length": 0.5 }, "stream": { - "stream": true, + "stream": false, "stream_time": 0.01, "stream_step": 100, "data_save_path": "data", From c148b5f1e80e2e05409745034dd8da6c9ff8924f Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Wed, 28 Jun 2023 15:42:22 +0300 Subject: [PATCH 08/20] Streaming momentum --- bubbleSim/datastreamer.cpp | 74 +++++++++++++++++++++++++++++++++++--- bubbleSim/datastreamer.h | 10 +++++- bubbleSim/source.cpp | 14 -------- 3 files changed, 79 insertions(+), 19 deletions(-) diff --git a/bubbleSim/datastreamer.cpp b/bubbleSim/datastreamer.cpp index 9fd885d..003acae 100644 --- a/bubbleSim/datastreamer.cpp +++ b/bubbleSim/datastreamer.cpp @@ -26,6 +26,33 @@ void DataStreamer::initStream_Data() { << std::endl; } +void DataStreamer::initStream_Momentum(size_t t_binsCount, + numType t_maxMomentumValue) { + m_initialized_Momentum = true; + m_binsCount_Momentum = t_binsCount; + m_maxMomentum_Momentum = t_maxMomentumValue; + m_dp_Momentum = t_maxMomentumValue / t_binsCount; + + m_stream_MomentumX.open(m_filePath / "pX.csv", std::ios::out); + m_stream_MomentumY.open(m_filePath / "pY.csv", std::ios::out); + m_stream_MomentumZ.open(m_filePath / "pZ.csv", std::ios::out); + + m_stream_MomentumX << t_binsCount << "," << t_maxMomentumValue << "\n"; + m_stream_MomentumY << t_binsCount << "," << t_maxMomentumValue << "\n"; + m_stream_MomentumZ << t_binsCount << "," << t_maxMomentumValue << "\n"; + for (size_t i = 1; i <= t_binsCount; i++) { + if (i == t_binsCount) { + m_stream_MomentumX << i << std::endl; + m_stream_MomentumY << i << std::endl; + m_stream_MomentumZ << i << std::endl; + } else { + m_stream_MomentumX << i << ","; + m_stream_MomentumY << i << ","; + m_stream_MomentumZ << i << ","; + } + } +} + void DataStreamer::initStream_MomentumIn(size_t t_binsCount, numType t_maxMomentumValue) { m_initialized_MomentumIn = true; @@ -170,6 +197,9 @@ void DataStreamer::stream(Simulation& simulation, numType totalEnergy; // Save momentum data + std::vector bins_MomentumX; + std::vector bins_MomentumY; + std::vector bins_MomentumZ; std::vector bins_MomentumIn; std::vector bins_MomentumOut; @@ -184,6 +214,11 @@ void DataStreamer::stream(Simulation& simulation, std::vector bins_TangentialVelocityCount; // Initialize variables + if (m_initialized_Momentum) { + bins_MomentumX.resize(m_binsCount_Momentum, 0); + bins_MomentumY.resize(m_binsCount_Momentum, 0); + bins_MomentumZ.resize(m_binsCount_Momentum, 0); + } if (m_initialized_MomentumIn) { bins_MomentumIn.resize(m_binsCount_MomentumIn, 0); } @@ -222,6 +257,17 @@ void DataStreamer::stream(Simulation& simulation, particleRadius = particleCollection.calculateParticleRadius(i); particleMomentum = particleCollection.calculateParticleMomentum(i); + if (m_initialized_Momentum) { + bins_MomentumX[std::clamp( + (int)(abs(particleCollection.getParticles()[i].pX / m_dp_Momentum)), + 0, (int)m_binsCount_Momentum - 1)] += 1; + bins_MomentumY[std::clamp( + (int)(abs(particleCollection.getParticles()[i].pY / m_dp_Momentum)), + 0, (int)m_binsCount_Momentum - 1)] += 1; + bins_MomentumZ[std::clamp( + (int)(abs(particleCollection.getParticles()[i].pZ / m_dp_Momentum)), + 0, (int)m_binsCount_Momentum - 1)] += 1; + } if (m_initialized_Density && (particleRadius < m_maxRadius_Density)) { bins_Density[(int)(particleRadius / m_dr_Density)] += 1; } @@ -234,7 +280,13 @@ void DataStreamer::stream(Simulation& simulation, (particleRadius < m_maxRadius_RadialVelocity)) { // Average A(N) = [A(N-1) * (N-1) + a(N) ]/N particleRadialVelocity = - particleCollection.calculateParticleRadialVelocity(i); + (particleCollection.getParticles()[i].x * + particleCollection.getParticles()[i].pX + + particleCollection.getParticles()[i].y * + particleCollection.getParticles()[i].pY + + particleCollection.getParticles()[i].z * + particleCollection.getParticles()[i].pZ) / + (particleCollection.getParticles()[i].E * particleRadius); bins_RadialVelocity[(int)(particleRadius / m_dr_RadialVelocity)] = (bins_RadialVelocity[(int)(particleRadius / m_dr_RadialVelocity)] * bins_RadialVelocityCount[(int)(particleRadius / @@ -249,8 +301,12 @@ void DataStreamer::stream(Simulation& simulation, } if (m_initialized_TangentialVelocity && (particleRadius < m_maxRadius_TangentialVelocity)) { - particleTangentialVelocity = - particleCollection.calculateParticleTangentialVelocity(i); + if (m_initialized_RadialVelocity) { + particleTangentialVelocity = std::sqrt(1 - particleRadialVelocity); + } else { + particleTangentialVelocity = + particleCollection.calculateParticleTangentialVelocity(i); + } bins_TangentialVelocity[(int)(particleRadius / m_dr_TangentialVelocity)] = (bins_TangentialVelocity[(int)(particleRadius / m_dr_TangentialVelocity)] * @@ -352,6 +408,16 @@ void DataStreamer::stream(Simulation& simulation, m_stream_TangentialVelocity << bins_TangentialVelocity[m_binsCount_TangentialVelocity - 1] << "\n"; } + if (m_initialized_Momentum) { + for (size_t i = 0; i < m_binsCount_Momentum - 1; i++) { + m_stream_MomentumX << bins_MomentumX[i] << ","; + m_stream_MomentumY << bins_MomentumY[i] << ","; + m_stream_MomentumZ << bins_MomentumZ[i] << ","; + } + m_stream_MomentumX << bins_MomentumX[m_binsCount_Momentum - 1] << "\n"; + m_stream_MomentumY << bins_MomentumY[m_binsCount_Momentum - 1] << "\n"; + m_stream_MomentumZ << bins_MomentumZ[m_binsCount_Momentum - 1] << "\n"; + } /*auto programEndTime = std::chrono::high_resolution_clock::now(); std::cout << "Time taken (stream): " << std::chrono::duration_cast( @@ -568,7 +634,7 @@ void DataStreamer::streamTangentialVelocity( t_stream << average_velocity[t_binsCount - 1] << "\n"; } -void DataStreamer::StreamRadialMomentumProfile( +void DataStreamer::streamRadialMomentumProfile( std::ofstream& t_stream, size_t t_binsCountRadius, size_t t_binsCountMomentum, numType t_minRadiusValue, numType t_maxRadiusValue, numType t_minMomentumValue, diff --git a/bubbleSim/datastreamer.h b/bubbleSim/datastreamer.h index 3faff42..825f281 100644 --- a/bubbleSim/datastreamer.h +++ b/bubbleSim/datastreamer.h @@ -39,6 +39,7 @@ class DataStreamer { void initStream_TangentialVelocity(size_t t_binsCount, numType t_maxRadiusValue); void initStream_radialMomentum(size_t t_binsCount, numType t_maxRadiusValue); + void initStream_Momentum(size_t t_binsCount, numType t_maxMomentumValue); void stream(Simulation& simulation, ParticleCollection& particleCollection, PhaseBubble& bubble, cl::CommandQueue& cl_queue); @@ -74,7 +75,7 @@ class DataStreamer { numType t_maxRadiusValue, ParticleCollection& particleCollection, cl::CommandQueue& cl_queue); - void StreamRadialMomentumProfile( + void streamRadialMomentumProfile( std::ofstream& t_stream, size_t t_binsCountRadius, size_t t_binsCountMomentum, numType t_minRadiusValue, numType t_maxRadiusValue, numType t_minMomentumValue, @@ -85,6 +86,9 @@ class DataStreamer { std::filesystem::path m_filePath; std::ofstream m_stream_Data; + std::ofstream m_stream_MomentumX; + std::ofstream m_stream_MomentumY; + std::ofstream m_stream_MomentumZ; std::ofstream m_stream_MomentumIn; std::ofstream m_stream_MomentumOut; @@ -98,6 +102,7 @@ class DataStreamer { // General data about simulation state bool m_initialized_Data = false; // Momentum profiles in and outside the bubble + bool m_initialized_Momentum = false; bool m_initialized_MomentumIn = false; bool m_initialized_MomentumOut = false; // Energy and number desnity profiles @@ -108,6 +113,7 @@ class DataStreamer { bool m_initialized_TangentialVelocity = false; bool m_initialized_RadialMomentum = false; + size_t m_binsCount_Momentum; size_t m_binsCount_MomentumIn; size_t m_binsCount_MomentumOut; size_t m_binsCount_Density; @@ -115,6 +121,7 @@ class DataStreamer { size_t m_binsCount_RadialVelocity; size_t m_binsCount_TangentialVelocity; + numType m_maxMomentum_Momentum; numType m_maxMomentum_MomentumIn; numType m_maxMomentum_MomentumOut; numType m_maxRadius_Density; @@ -122,6 +129,7 @@ class DataStreamer { numType m_maxRadius_RadialVelocity; numType m_maxRadius_TangentialVelocity; + numType m_dp_Momentum; numType m_dp_MomentumIn; numType m_dp_MomentumOut; numType m_dr_Density; diff --git a/bubbleSim/source.cpp b/bubbleSim/source.cpp index b2470ea..e7a0688 100644 --- a/bubbleSim/source.cpp +++ b/bubbleSim/source.cpp @@ -158,24 +158,10 @@ int main(int argc, char* argv[]) { config.cyclicBoundaryRadius, kernels.getContext()); } - // 6) Define which openCL kernel to use. Kernel defines calculation process on - // the GPU. - // cl::Kernel* stepKernel; // In development: set kernel name in config file. // NB! Different kernels might need different input - /*if (!config.bubbleInteractionsOn) { - stepKernel = &kernels.m_particleStepKernel; - } else if ((config.bubbleInteractionsOn) && (!config.cyclicBoundaryOn)) { - stepKernel = &kernels.m_particleBubbleStepKernel; - } else if ((config.bubbleInteractionsOn) && (config.cyclicBoundaryOn)) { - stepKernel = &kernels.m_particleBubbleBoundaryStepKernel; - } else { - std::cerr << "Kernel for current configuration is not available" - << std::endl; - std::terminate(); - }*/ stepKernel = &kernels.m_kernel; // 7) Initialize bubble object From 1e76a9a125ae7fd983f59586f8056158c49d05e6 Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Fri, 30 Jun 2023 13:23:40 +0300 Subject: [PATCH 09/20] Test collision for n=2 --- bubbleSim/collision.cpp | 11 ++++++++--- bubbleSim/source.cpp | 10 +++------- configs/config.json | 27 ++++++++++++++------------- configs/test.json | 2 +- 4 files changed, 26 insertions(+), 24 deletions(-) diff --git a/bubbleSim/collision.cpp b/bubbleSim/collision.cpp index 365c4de..a30af25 100644 --- a/bubbleSim/collision.cpp +++ b/bubbleSim/collision.cpp @@ -88,13 +88,18 @@ void CollisionCellCollection::recalculate_cells( */ for (size_t i = 1; i < m_cellCount; i++) { m_collisionCells[i].particle_count = (int)frames[i][4]; - if (frames[i][4] > 1) { - /* + if (frames[i][4] != 2) { + m_collisionCells[i].particle_count = (int)0; + continue; + } + //if (frames[i][4] > 1) { + else{ + /* * If T ^ N / (9 * prod(E_i)) <= RNG then skip rotation * T - temperature, prod(E_i) is product of particles' energies in a cell, N is number of particles in a cell */ if (t_rng.generate_number() >= - std::pow(0.01, frames[i][4]) / (9 * frames[i][5])) { + std::pow(0.01, 1) / (3 * std::sqrt(frames[i][5]))) { m_collisionCells[i].particle_count = (int)0; continue; } diff --git a/bubbleSim/source.cpp b/bubbleSim/source.cpp index e7a0688..a774628 100644 --- a/bubbleSim/source.cpp +++ b/bubbleSim/source.cpp @@ -132,7 +132,7 @@ int main(int argc, char* argv[]) { numType genreatedParticleEnergy; if (b_collisionDevelopment) { genreatedParticleEnergy = particleGenerator1.generateNParticlesInBox( - std::sqrt(3) * config.bubbleInitialRadius, (u_int)particles.getParticleCountTotal(), + config.bubbleInitialRadius, (u_int)particles.getParticleCountTotal(), rn_generator, particles.getParticles()); } else { genreatedParticleEnergy = particleGenerator1.generateNParticlesInSphere( @@ -197,16 +197,12 @@ int main(int argc, char* argv[]) { simulation.set_particle_interaction_buffers(particles, cells, kernels.m_cellAssignmentKernel, kernels.m_rotationKernel); - - simulation.set_particle_step_buffers(particles, cells, - kernels.m_particleStepKernel); simulation.set_particle_bounce_buffers(particles, cells, kernels.m_particleBounceKernel); - + } else { + simulation.set_particle_step_buffers(particles, bubble, *stepKernel); } - simulation.set_particle_step_buffers(particles, bubble, *stepKernel); - // Copy data to the GPU particles.writeAllBuffersToKernel(kernels.getCommandQueue()); simulation.writeAllBuffersToKernel(kernels.getCommandQueue()); diff --git a/configs/config.json b/configs/config.json index a0802c0..c7e112d 100644 --- a/configs/config.json +++ b/configs/config.json @@ -1,7 +1,7 @@ { "kernel":{ - "name": "particle_bubble_step_cyclic" + "name": "particle_step" }, "simulation": { "seed": 1, @@ -13,7 +13,7 @@ }, "parameters": { "alpha": 12.24727746868043, - "eta": 17.3898723, + "eta": 100, "upsilon": 0.01, "coupling": 0.0, "dV": 21670.590989998676 @@ -25,26 +25,27 @@ "interaction_on": true }, "particles": { - "mass_false": 0.1, - "mass_true": 0.05576625911018531, - "T_false": 0.003206823957539085, + "mass_false": 0, + "mass_true": 1, + "T_false": 0.01, "T_true": 0.0, "N_false": 750000, "N_true": 0 }, "collision": { "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 + "N_cells": 71, + "cell_length": 0.03 }, "stream": { "stream": true, - "stream_time": 0.01, - "stream_step": 100, + "stream_time": 0.05, + "stream_step": 500, "data_save_path": "data", "stream_data": true, "stream_density_profile": true, "steam_energy_profile": true, + "stream_momentum": false, "stream_momentumIn_profile": true, "stream_momentumOut_profile": true, "stream_radial_velocity": true, @@ -53,13 +54,13 @@ "bins_count_energy": 500, "bins_count_radial_velocity": 500, "bins_count_tangential_velocity": 500, - "bins_count_momentumIn": 500, - "bins_count_momentumOut": 500, + "bins_count_momentumIn": 1000, + "bins_count_momentumOut": 1000, "max_value_density": 1.1, "max_value_energy": 1.1, "max_value_radial_velocity": 1.1, "max_value_tangential_velocity": 1.1, - "max_value_momentumIn": 0.2, - "max_value_momentumOut": 0.2 + "max_value_momentumIn": 0.45, + "max_value_momentumOut": 0.45 } } \ No newline at end of file diff --git a/configs/test.json b/configs/test.json index 1e82a90..1515352 100644 --- a/configs/test.json +++ b/configs/test.json @@ -1,6 +1,6 @@ { "kernel":{ - "name": "particle_bubble_step_cyclic" + "name": "particle_step" }, "simulation": { "seed": 1, From 06aa24dbfac7aabf58d0a547939cc40c3d5770b8 Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Mon, 3 Jul 2023 11:13:48 +0300 Subject: [PATCH 10/20] N=Any collision algorithm --- bubbleSim/collision.cpp | 108 ++++++++++++++++++++------------------- bubbleSim/simulation.cpp | 2 +- bubbleSim/source.cpp | 2 +- kernels/kernel.cl | 2 - 4 files changed, 58 insertions(+), 56 deletions(-) diff --git a/bubbleSim/collision.cpp b/bubbleSim/collision.cpp index a30af25..3b498f8 100644 --- a/bubbleSim/collision.cpp +++ b/bubbleSim/collision.cpp @@ -5,8 +5,8 @@ CollisionCellCollection::CollisionCellCollection( bool t_doubleCellCount, cl::Context& cl_context) { /* TODO: - Differentiate if particle is inside or outside the bubble. (Different collision cells) - Change name of t_doubleCellCount to more accurate name. + Differentiate if particle is inside or outside the bubble. (Different + collision cells) Change name of t_doubleCellCount to more accurate name. */ int openCLerrNum; @@ -58,18 +58,27 @@ CollisionCellCollection::CollisionCellCollection( void CollisionCellCollection::generateShiftVector( RandomNumberGenerator& t_rng) { - m_shiftVector = {m_cellLength / (numType)2. - t_rng.generate_number() * m_cellLength, + m_shiftVector = { + m_cellLength / (numType)2. - t_rng.generate_number() * m_cellLength, m_cellLength / (numType)2. - t_rng.generate_number() * m_cellLength, m_cellLength / (numType)2. - t_rng.generate_number() * m_cellLength}; } void CollisionCellCollection::recalculate_cells( std::vector& t_particles, RandomNumberGenerator& t_rng) { - // 0 index cell is for particles outside the collision cell grid - numType phi, theta; - std::vector> frames(m_cellCount, {(cl_numType)0.,(cl_numType)0.,(cl_numType)0.,(cl_numType)0.,(cl_numType)0.,(cl_numType)1.}); + /* + * 0 index: Sum pX + * 1 index: Sum pY + * 2 index: Sum pZ + * 3 index: Sum E + * 4 index: Particle count in a cell + * 5 index: Prod(E_i) in a cell + */ + std::vector> frames( + m_cellCount, {(cl_numType)0., (cl_numType)0., (cl_numType)0., + (cl_numType)0., (cl_numType)0., (cl_numType)1.}); /* * Sum up all momentums, energies and masses for each cell @@ -87,54 +96,49 @@ void CollisionCellCollection::recalculate_cells( * Calculate velocities for each collision cell */ for (size_t i = 1; i < m_cellCount; i++) { - m_collisionCells[i].particle_count = (int)frames[i][4]; - if (frames[i][4] != 2) { - m_collisionCells[i].particle_count = (int)0; + if ((cl_uint)frames[i][4] < 2) { + m_collisionCells[i].particle_count = (cl_uint)0; continue; } - //if (frames[i][4] > 1) { - else{ - /* - * If T ^ N / (9 * prod(E_i)) <= RNG then skip rotation - * T - temperature, prod(E_i) is product of particles' energies in a cell, N is number of particles in a cell - */ - if (t_rng.generate_number() >= - std::pow(0.01, 1) / (3 * std::sqrt(frames[i][5]))) { - m_collisionCells[i].particle_count = (int)0; - continue; - } - m_collisionCells[i].vX = frames[i][0] / frames[i][3]; - m_collisionCells[i].vY = frames[i][1] / frames[i][3]; - m_collisionCells[i].vZ = frames[i][2] / frames[i][3]; - m_collisionCells[i].total_mass = - std::sqrt(std::pow(frames[i][3], 2) - std::pow(frames[i][0], 2) - - std::pow(frames[i][1], 2) - std::pow(frames[i][2], 2)); - m_collisionCells[i].pX = frames[i][0] / frames[i][4]; - m_collisionCells[i].pY = frames[i][1] / frames[i][4]; - m_collisionCells[i].pZ = frames[i][2] / frames[i][4]; - m_collisionCells[i].pE = frames[i][3] / frames[i][4]; - - /* - * beta = sqrt(v_x^2 + v_y^2 + v_z^2); - */ - m_collisionCells[i].v2 = - std::fma(m_collisionCells[i].vX, m_collisionCells[i].vX, - std::fma(m_collisionCells[i].vY, m_collisionCells[i].vY, - m_collisionCells[i].vZ * m_collisionCells[i].vZ)); - /* - * gamma = 1/sqrt(1-beta^2) - */ - m_collisionCells[i].gamma = 1 / std::sqrt(1 - m_collisionCells[i].v2); - phi = std::acos((numType)1. - (numType)2. * t_rng.generate_number()); - theta = (numType)2 * (numType)M_PI * t_rng.generate_number(); - /* - * Generate rotation axis and angle for CollisionCell - */ - m_collisionCells[i].theta = - (numType)2. * (numType)M_PI * t_rng.generate_number(); - m_collisionCells[i].x = std::sin(phi) * std::cos(theta); - m_collisionCells[i].y = std::sin(phi) * std::sin(theta); - m_collisionCells[i].z = std::cos(phi); + /* + * If T ^ N / prod_N(E_i) <= RNG then skip rotation + * T - temperature, prod(E_i) is product of particles' energies in a cell, + * N is number of particles in a cell + */ + + if (t_rng.generate_number() >= + std::pow(0.01, frames[i][4]) / frames[i][5]) { + m_collisionCells[i].particle_count = (cl_uint)0; + continue; } + m_collisionCells[i].particle_count = (int)frames[i][4]; + m_collisionCells[i].vX = frames[i][0] / frames[i][3]; + m_collisionCells[i].vY = frames[i][1] / frames[i][3]; + m_collisionCells[i].vZ = frames[i][2] / frames[i][3]; + m_collisionCells[i].total_mass = + std::sqrt(std::pow(frames[i][3], 2) - std::pow(frames[i][0], 2) - + std::pow(frames[i][1], 2) - std::pow(frames[i][2], 2)); + m_collisionCells[i].pX = frames[i][0] / frames[i][4]; + m_collisionCells[i].pY = frames[i][1] / frames[i][4]; + m_collisionCells[i].pZ = frames[i][2] / frames[i][4]; + m_collisionCells[i].pE = frames[i][3] / frames[i][4]; + + m_collisionCells[i].v2 = + std::fma(m_collisionCells[i].vX, m_collisionCells[i].vX, + std::fma(m_collisionCells[i].vY, m_collisionCells[i].vY, + m_collisionCells[i].vZ * m_collisionCells[i].vZ)); + + m_collisionCells[i].gamma = 1 / std::sqrt(1 - m_collisionCells[i].v2); + phi = std::acos((numType)1. - (numType)2. * t_rng.generate_number()); + theta = (numType)2 * (numType)M_PI * t_rng.generate_number(); + + /* + * Generate rotation axis and angle for CollisionCell + */ + m_collisionCells[i].theta = + (numType)2. * (numType)M_PI * t_rng.generate_number(); + m_collisionCells[i].x = std::sin(phi) * std::cos(theta); + m_collisionCells[i].y = std::sin(phi) * std::sin(theta); + m_collisionCells[i].z = std::cos(phi); } } \ No newline at end of file diff --git a/bubbleSim/simulation.cpp b/bubbleSim/simulation.cpp index 1b11248..a762e71 100644 --- a/bubbleSim/simulation.cpp +++ b/bubbleSim/simulation.cpp @@ -249,7 +249,7 @@ void Simulation::step(ParticleCollection& particles, cl_queue.enqueueNDRangeKernel( t_rotationKernel, cl::NullRange, cl::NDRange(particles.getParticleCountTotal())); - + //particles.readParticlesBuffer(cl_queue); // Update simulation time m_time += m_dt; m_step += 1; diff --git a/bubbleSim/source.cpp b/bubbleSim/source.cpp index a774628..1e01cd1 100644 --- a/bubbleSim/source.cpp +++ b/bubbleSim/source.cpp @@ -196,7 +196,7 @@ int main(int argc, char* argv[]) { if (b_collisionDevelopment) { simulation.set_particle_interaction_buffers(particles, cells, kernels.m_cellAssignmentKernel, - kernels.m_rotationKernel); + kernels.m_rotationKernel); simulation.set_particle_bounce_buffers(particles, cells, kernels.m_particleBounceKernel); } else { diff --git a/kernels/kernel.cl b/kernels/kernel.cl index 682ee27..62c2c9f 100644 --- a/kernels/kernel.cl +++ b/kernels/kernel.cl @@ -1017,8 +1017,6 @@ __kernel void rotate_momentum( double sin_theta = sin(cell.theta); double p0, p1, p2, p3; - - if ((cell.particle_count > 1) && (cell.mass != 0)){ // Lorentz boost From 305af2a07173d3bf79eb977bb070cdf86b0f01ad Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Tue, 4 Jul 2023 17:44:00 +0300 Subject: [PATCH 11/20] AoS -> SoA. First version. --- bubbleSim/collision.cpp | 53 +- bubbleSim/collision.h | 132 ++- bubbleSim/datastreamer.cpp | 62 +- bubbleSim/opencl_kernels.cpp | 15 +- bubbleSim/particle.cpp | 381 ++++++- bubbleSim/particle.h | 695 ++++++++++--- bubbleSim/simulation.cpp | 468 +++++++-- bubbleSim/simulation.h | 175 +++- bubbleSim/source.cpp | 63 +- configs/config.json | 21 +- configs/test.json | 2 +- configs/test_oclgrind.json | 2 +- kernels/kernel.cl | 1897 ++++++++++++++++------------------ 13 files changed, 2438 insertions(+), 1528 deletions(-) diff --git a/bubbleSim/collision.cpp b/bubbleSim/collision.cpp index 3b498f8..50c45ef 100644 --- a/bubbleSim/collision.cpp +++ b/bubbleSim/collision.cpp @@ -64,11 +64,11 @@ void CollisionCellCollection::generateShiftVector( m_cellLength / (numType)2. - t_rng.generate_number() * m_cellLength}; } -void CollisionCellCollection::recalculate_cells( - std::vector& t_particles, RandomNumberGenerator& t_rng) { +void CollisionCellCollection::recalculate_cells(ParticleCollection& t_particles, + RandomNumberGenerator& t_rng) { numType phi, theta; - /* + /* Initialize count vector * 0 index: Sum pX * 1 index: Sum pY * 2 index: Sum pZ @@ -76,27 +76,32 @@ void CollisionCellCollection::recalculate_cells( * 4 index: Particle count in a cell * 5 index: Prod(E_i) in a cell */ - std::vector> frames( + std::vector> cell_values( m_cellCount, {(cl_numType)0., (cl_numType)0., (cl_numType)0., (cl_numType)0., (cl_numType)0., (cl_numType)1.}); /* * Sum up all momentums, energies and masses for each cell */ - for (Particle& particle : t_particles) { - if (particle.idxCollisionCell == 0) continue; - frames[particle.idxCollisionCell][0] += particle.pX; - frames[particle.idxCollisionCell][1] += particle.pY; - frames[particle.idxCollisionCell][2] += particle.pZ; - frames[particle.idxCollisionCell][3] += particle.E; - frames[particle.idxCollisionCell][4] += 1; - frames[particle.idxCollisionCell][5] *= particle.E; + int collision_cell_index; + + for (size_t i = 0; i < t_particles.getParticleCountTotal(); i++) { + + collision_cell_index = t_particles.returnCollisionCellIndex(i); + if (collision_cell_index == 0) continue; + cell_values[collision_cell_index][0] += t_particles.returnParticlepX(i); + cell_values[collision_cell_index][1] += t_particles.returnParticlepY(i); + cell_values[collision_cell_index][2] += t_particles.returnParticlepZ(i); + cell_values[collision_cell_index][3] += t_particles.returnParticleE(i); + cell_values[collision_cell_index][4] += 1; + cell_values[collision_cell_index][5] *= t_particles.returnParticleE(i); } + /* * Calculate velocities for each collision cell */ for (size_t i = 1; i < m_cellCount; i++) { - if ((cl_uint)frames[i][4] < 2) { + if ((cl_uint)cell_values[i][4] < 2) { m_collisionCells[i].particle_count = (cl_uint)0; continue; } @@ -107,21 +112,21 @@ void CollisionCellCollection::recalculate_cells( */ if (t_rng.generate_number() >= - std::pow(0.01, frames[i][4]) / frames[i][5]) { + std::pow(0.01, cell_values[i][4]) / cell_values[i][5]) { m_collisionCells[i].particle_count = (cl_uint)0; continue; } - m_collisionCells[i].particle_count = (int)frames[i][4]; - m_collisionCells[i].vX = frames[i][0] / frames[i][3]; - m_collisionCells[i].vY = frames[i][1] / frames[i][3]; - m_collisionCells[i].vZ = frames[i][2] / frames[i][3]; + m_collisionCells[i].particle_count = (int)cell_values[i][4]; + m_collisionCells[i].vX = cell_values[i][0] / cell_values[i][3]; + m_collisionCells[i].vY = cell_values[i][1] / cell_values[i][3]; + m_collisionCells[i].vZ = cell_values[i][2] / cell_values[i][3]; m_collisionCells[i].total_mass = - std::sqrt(std::pow(frames[i][3], 2) - std::pow(frames[i][0], 2) - - std::pow(frames[i][1], 2) - std::pow(frames[i][2], 2)); - m_collisionCells[i].pX = frames[i][0] / frames[i][4]; - m_collisionCells[i].pY = frames[i][1] / frames[i][4]; - m_collisionCells[i].pZ = frames[i][2] / frames[i][4]; - m_collisionCells[i].pE = frames[i][3] / frames[i][4]; + std::sqrt(std::pow(cell_values[i][3], 2) - std::pow(cell_values[i][0], 2) - + std::pow(cell_values[i][1], 2) - std::pow(cell_values[i][2], 2)); + m_collisionCells[i].pX = cell_values[i][0] / cell_values[i][4]; + m_collisionCells[i].pY = cell_values[i][1] / cell_values[i][4]; + m_collisionCells[i].pZ = cell_values[i][2] / cell_values[i][4]; + m_collisionCells[i].pE = cell_values[i][3] / cell_values[i][4]; m_collisionCells[i].v2 = std::fma(m_collisionCells[i].vX, m_collisionCells[i].vX, diff --git a/bubbleSim/collision.h b/bubbleSim/collision.h index f8da4c3..833c977 100644 --- a/bubbleSim/collision.h +++ b/bubbleSim/collision.h @@ -2,7 +2,7 @@ #include "base.h" #include "objects.h" typedef struct CollisionCell { - // Lorentz transformation + // Lorentz transformation cl_numType gamma; cl_numType vX; cl_numType vY; @@ -30,71 +30,121 @@ class CollisionCellCollection { CollisionCellCollection(numType t_meanFreePath, unsigned int t_cellCount, bool t_doubleCellCount, cl::Context& cl_context); + void recalculate_cells(ParticleCollection& t_particles, + RandomNumberGenerator& t_rng); + + void generateShiftVector(RandomNumberGenerator& t_rng); + + /* + * ================================================================ + * ================================================================ + * Setters + * ================================================================ + * ================================================================ + */ + + /* + * ================================================================ + * ================================================================ + * Getters + * ================================================================ + * ================================================================ + */ std::array& getShiftVector() { return m_shiftVector; } u_int getCellCount() { return m_cellCount; } - void recalculate_cells(std::vector& t_particles, - RandomNumberGenerator& t_rng); - - void generateShiftVector(RandomNumberGenerator& t_rng); + std::vector& getCollisionCells() { return m_collisionCells; } cl::Buffer& getCellBuffer() { return m_collisionCellsBuffer; } + + cl::Buffer& getCellLengthBuffer() { return m_cellLengthBuffer; } + + cl::Buffer& getCellCountInOneAxisBuffer() { + return m_cellCountInOneAxisBuffer; + } + + cl::Buffer& getShiftVectorBuffer() { return m_shiftVectorBuffer; } + + cl::Buffer& getCellCountBuffer() { return m_cellCountBuffer; } + + cl::Buffer& getStructureRadiusBuffer() { return m_structureRadiusBuffer; } + + /* + * ================================================================ + * ================================================================ + * Buffer writers + * ================================================================ + * ================================================================ + */ + void writeCollisionCellBuffer(cl::CommandQueue& cl_queue) { cl_queue.enqueueWriteBuffer(m_collisionCellsBuffer, CL_TRUE, 0, m_collisionCells.size() * sizeof(CollisionCell), m_collisionCells.data()); } - void readCollisionCellBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueReadBuffer(m_collisionCellsBuffer, CL_TRUE, 0, - m_collisionCells.size() * sizeof(CollisionCell), - m_collisionCells.data()); - } + void writeCellCountBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer(m_cellCountBuffer, CL_TRUE, 0, + sizeof(unsigned int), &m_cellCount); + }; - cl::Buffer& getCellLengthBuffer() { return m_cellLengthBuffer; }; + void writeCellCountInOneAxisBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer(m_cellCountInOneAxisBuffer, CL_TRUE, 0, + sizeof(unsigned int), &m_cellCountInOneAxis); + }; void writeCellLengthBuffer(cl::CommandQueue& cl_queue) { cl_queue.enqueueWriteBuffer(m_cellLengthBuffer, CL_TRUE, 0, sizeof(numType), &m_cellLength); }; - void readCellLengthBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueReadBuffer(m_cellLengthBuffer, CL_TRUE, 0, sizeof(numType), - &m_cellLength); + void writeShiftVectorBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer(m_shiftVectorBuffer, CL_TRUE, 0, + 3 * sizeof(numType), m_shiftVector.data()); }; - cl::Buffer& getCellCountInOneAxisBuffer() { - return m_cellCountInOneAxisBuffer; + void writeStructureRadiusBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer(m_structureRadiusBuffer, CL_TRUE, 0, + sizeof(numType), &m_structureRadius); }; - void writeCellCountInOneAxisBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueWriteBuffer(m_cellCountInOneAxisBuffer, CL_TRUE, 0, - sizeof(unsigned int), &m_cellCountInOneAxis); - }; + void writeAllBuffersToKernel(cl::CommandQueue& cl_queue) { + writeCollisionCellBuffer(cl_queue); + writeCellCountBuffer(cl_queue); + writeCellCountInOneAxisBuffer(cl_queue); + writeCellLengthBuffer(cl_queue); + writeShiftVectorBuffer(cl_queue); + writeStructureRadiusBuffer(cl_queue); + } + + /* + * ================================================================ + * ================================================================ + * Buffer readers + * ================================================================ + * ================================================================ + */ + + void readCollisionCellBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer(m_collisionCellsBuffer, CL_TRUE, 0, + m_collisionCells.size() * sizeof(CollisionCell), + m_collisionCells.data()); + } void readCellCountInOneAxisBuffer(cl::CommandQueue& cl_queue) { cl_queue.enqueueReadBuffer(m_cellCountInOneAxisBuffer, CL_TRUE, 0, sizeof(unsigned int), &m_cellCountInOneAxis); }; - cl::Buffer& getShiftVectorBuffer() { return m_shiftVectorBuffer; }; - - void writeShiftVectorBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueWriteBuffer(m_shiftVectorBuffer, CL_TRUE, 0, - 3 * sizeof(numType), m_shiftVector.data()); - }; - void readShiftVectorBuffer(cl::CommandQueue& cl_queue) { cl_queue.enqueueReadBuffer(m_shiftVectorBuffer, CL_TRUE, 0, 3 * sizeof(numType), m_shiftVector.data()); }; - cl::Buffer& getCellCountBuffer() { return m_cellCountBuffer; } - - void writeCellCountBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueWriteBuffer(m_cellCountBuffer, CL_TRUE, 0, - sizeof(unsigned int), &m_cellCount); + void readCellLengthBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer(m_cellLengthBuffer, CL_TRUE, 0, sizeof(numType), + &m_cellLength); }; void readCellCountBuffer(cl::CommandQueue& cl_queue) { @@ -102,29 +152,11 @@ class CollisionCellCollection { sizeof(unsigned int), &m_cellCount); }; - cl::Buffer& getStructureRadiusBuffer() { return m_structureRadiusBuffer; } - - void writeStructureRadiusBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueWriteBuffer(m_structureRadiusBuffer, CL_TRUE, 0, - sizeof(numType), &m_structureRadius); - }; - void readStructureRadiusBuffer(cl::CommandQueue& cl_queue) { cl_queue.enqueueReadBuffer(m_structureRadiusBuffer, CL_TRUE, 0, sizeof(numType), &m_structureRadius); }; - void writeAllBuffersToKernel(cl::CommandQueue& cl_queue) { - writeCollisionCellBuffer(cl_queue); - writeCellCountBuffer(cl_queue); - writeCellCountInOneAxisBuffer(cl_queue); - writeCellLengthBuffer(cl_queue); - writeShiftVectorBuffer(cl_queue); - writeStructureRadiusBuffer(cl_queue); - } - - std::vector& getCollisionCells() { return m_collisionCells; } - private: std::vector m_collisionCells; cl::Buffer m_collisionCellsBuffer; diff --git a/bubbleSim/datastreamer.cpp b/bubbleSim/datastreamer.cpp index 003acae..6c77d58 100644 --- a/bubbleSim/datastreamer.cpp +++ b/bubbleSim/datastreamer.cpp @@ -176,8 +176,6 @@ void DataStreamer::stream(Simulation& simulation, std::cout << std::setprecision(8) << std::fixed << std::showpoint; - particleCollection.readParticlesBuffer(cl_queue); - /* * Read particle buffers to get if particle interacted with the bubble or not * Don't read bubble buffer as it is not updated. Use PhaseBubble object. @@ -213,6 +211,12 @@ void DataStreamer::stream(Simulation& simulation, std::vector bins_RadialVelocityCount; std::vector bins_TangentialVelocityCount; + // Read data from buffer: + particleCollection.readParticleCoordinatesBuffer(cl_queue); + particleCollection.readParticleMomentumsBuffer(cl_queue); + particleCollection.readParticleEBuffer(cl_queue); + + // Initialize variables if (m_initialized_Momentum) { bins_MomentumX.resize(m_binsCount_Momentum, 0); @@ -259,13 +263,13 @@ void DataStreamer::stream(Simulation& simulation, if (m_initialized_Momentum) { bins_MomentumX[std::clamp( - (int)(abs(particleCollection.getParticles()[i].pX / m_dp_Momentum)), + (int)(abs(particleCollection.returnParticlepX(i) / m_dp_Momentum)), 0, (int)m_binsCount_Momentum - 1)] += 1; bins_MomentumY[std::clamp( - (int)(abs(particleCollection.getParticles()[i].pY / m_dp_Momentum)), + (int)(abs(particleCollection.returnParticlepY(i) / m_dp_Momentum)), 0, (int)m_binsCount_Momentum - 1)] += 1; bins_MomentumZ[std::clamp( - (int)(abs(particleCollection.getParticles()[i].pZ / m_dp_Momentum)), + (int)(abs(particleCollection.returnParticlepZ(i) / m_dp_Momentum)), 0, (int)m_binsCount_Momentum - 1)] += 1; } if (m_initialized_Density && (particleRadius < m_maxRadius_Density)) { @@ -274,19 +278,19 @@ void DataStreamer::stream(Simulation& simulation, if (m_initialized_EnergyDensity && (particleRadius < m_maxRadius_EnergyDensity)) { bins_EnergyDensity[(int)(particleRadius / m_dr_EnergyDensity)] += - particleCollection.getParticleEnergy(i); + particleCollection.returnParticleE(i); } if (m_initialized_RadialVelocity && (particleRadius < m_maxRadius_RadialVelocity)) { // Average A(N) = [A(N-1) * (N-1) + a(N) ]/N particleRadialVelocity = - (particleCollection.getParticles()[i].x * - particleCollection.getParticles()[i].pX + - particleCollection.getParticles()[i].y * - particleCollection.getParticles()[i].pY + - particleCollection.getParticles()[i].z * - particleCollection.getParticles()[i].pZ) / - (particleCollection.getParticles()[i].E * particleRadius); + (particleCollection.returnParticleX(i) * + particleCollection.returnParticlepX(i) + + particleCollection.returnParticleY(i) * + particleCollection.returnParticlepY(i) + + particleCollection.returnParticleY(i) * + particleCollection.returnParticlepY(i)) / + (particleCollection.returnParticleE(i) * particleRadius); bins_RadialVelocity[(int)(particleRadius / m_dr_RadialVelocity)] = (bins_RadialVelocity[(int)(particleRadius / m_dr_RadialVelocity)] * bins_RadialVelocityCount[(int)(particleRadius / @@ -331,13 +335,13 @@ void DataStreamer::stream(Simulation& simulation, if (m_initialized_Data) { if (particleRadius <= bubble.getRadius()) { particleInCount += 1; - particleInEnergy += particleCollection.getParticleEnergy(i); + particleInEnergy += particleCollection.returnParticleE(i); } particleInteractedFalseCount += particleCollection.getInteractedFalse()[i]; particlePassedFalseCount += particleCollection.getPassedFalse()[i]; particleInteractedTrueCount += particleCollection.getInteractedTrue()[i]; - particleTotalEnergy += particleCollection.getParticleEnergy(i); + particleTotalEnergy += particleCollection.returnParticleE(i); } } @@ -496,7 +500,7 @@ void DataStreamer::streamNumberDensity(std::ofstream& t_stream, ParticleCollection& particleCollection, cl::CommandQueue& cl_queue) { std::cout << std::setprecision(8) << std::fixed << std::showpoint; - particleCollection.readParticlesBuffer(cl_queue); + particleCollection.readParticleCoordinatesBuffer(cl_queue); numType dr = (t_maxRadiusValue - t_minRadiusValue) / t_binsCount; std::vector bins(t_binsCount); @@ -508,8 +512,8 @@ void DataStreamer::streamNumberDensity(std::ofstream& t_stream, } t_stream << t_binsCount * dr << "\n"; - for (Particle& p : particleCollection.getParticles()) { - particleRadius = std::sqrt(p.x * p.x + p.y * p.y + p.z * p.z); + for (size_t i = 0; i < particleCollection.getParticleCountTotal(); i++) { + particleRadius = particleCollection.calculateParticleRadius(i); if ((particleRadius >= t_minRadiusValue) && (particleRadius < t_maxRadiusValue)) { bins[(int)((particleRadius - t_minRadiusValue) / dr)] += 1; @@ -527,7 +531,9 @@ void DataStreamer::streamEnergyDensity(std::ofstream& t_stream, numType t_maxRadiusValue, ParticleCollection& particleCollection, cl::CommandQueue& cl_queue) { - particleCollection.readParticlesBuffer(cl_queue); + particleCollection.readParticleCoordinatesBuffer(cl_queue); + particleCollection.readParticleEBuffer(cl_queue); + std::cout << std::setprecision(8) << std::fixed << std::showpoint; numType dr = (t_maxRadiusValue - t_minRadiusValue) / t_binsCount; std::vector bins(t_binsCount, 0.); @@ -538,11 +544,11 @@ void DataStreamer::streamEnergyDensity(std::ofstream& t_stream, t_stream << (i + 1) * dr << ","; } t_stream << t_binsCount * dr << "\n"; - for (Particle& p : particleCollection.getParticles()) { - particleRadius = std::sqrt(p.x * p.x + p.y * p.y + p.z * p.z); + for (size_t i = 0; i < particleCollection.getParticleCountTotal(); i++) { + particleRadius = particleCollection.calculateParticleRadius(i); if ((particleRadius >= t_minRadiusValue) && (particleRadius < t_maxRadiusValue)) { - bins[(int)((particleRadius - t_minRadiusValue) / dr)] += p.E; + bins[(int)((particleRadius - t_minRadiusValue) / dr)] += particleCollection.returnParticleE(i); } } for (size_t i = 0; i < t_binsCount - 1; i++) { @@ -558,7 +564,9 @@ void DataStreamer::streamRadialVelocity(std::ofstream& t_stream, ParticleCollection& particleCollection, cl::CommandQueue& cl_queue) { std::cout << std::setprecision(8) << std::fixed << std::showpoint; - particleCollection.readParticlesBuffer(cl_queue); + particleCollection.readParticleCoordinatesBuffer(cl_queue); + particleCollection.readParticleMomentumsBuffer(cl_queue); + particleCollection.readParticleEBuffer(cl_queue); numType dr = (t_maxRadiusValue - t_minRadiusValue) / t_binsCount; std::vector bins(t_binsCount); @@ -597,7 +605,9 @@ void DataStreamer::streamTangentialVelocity( std::ofstream& t_stream, size_t t_binsCount, numType t_minRadiusValue, numType t_maxRadiusValue, ParticleCollection& particleCollection, cl::CommandQueue& cl_queue) { - particleCollection.readParticlesBuffer(cl_queue); + particleCollection.readParticleCoordinatesBuffer(cl_queue); + particleCollection.readParticleMomentumsBuffer(cl_queue); + particleCollection.readParticleEBuffer(cl_queue); std::cout << std::setprecision(8) << std::fixed << std::showpoint; numType dr = (t_maxRadiusValue - t_minRadiusValue) / t_binsCount; std::vector bins(t_binsCount); @@ -640,7 +650,9 @@ void DataStreamer::streamRadialMomentumProfile( numType t_maxRadiusValue, numType t_minMomentumValue, numType t_maxMomentumValue, ParticleCollection& particleCollection, cl::CommandQueue& cl_queue) { - particleCollection.readParticlesBuffer(cl_queue); + particleCollection.readParticleCoordinatesBuffer(cl_queue); + particleCollection.readParticleMomentumsBuffer(cl_queue); + particleCollection.readParticleEBuffer(cl_queue); std::cout << std::setprecision(8) << std::fixed << std::showpoint; numType particleRadius; numType particleMomentum; diff --git a/bubbleSim/opencl_kernels.cpp b/bubbleSim/opencl_kernels.cpp index 04c3aa3..00e4c2d 100644 --- a/bubbleSim/opencl_kernels.cpp +++ b/bubbleSim/opencl_kernels.cpp @@ -7,7 +7,7 @@ OpenCLLoader::OpenCLLoader(std::string kernelPath) { createProgram(m_context, m_deviceUsed, kernelPath); - std::string particleBubbleStepKernelName = "particle_bubble_step"; + std::string particleBubbleStepKernelName = "particle_step_with_bubble"; createKernel(m_program, m_particleBubbleStepKernel, particleBubbleStepKernelName.c_str()); // cl::Kernel @@ -17,17 +17,13 @@ OpenCLLoader::OpenCLLoader(std::string kernelPath) { std::string cellAssignKernelName = "assign_particle_to_collision_cell"; createKernel(m_program, m_cellAssignmentKernel, cellAssignKernelName.c_str()); - std::string particleStepKernelName = "particle_step"; + std::string particleStepKernelName = "particle_step_linear"; createKernel(m_program, m_particleStepKernel, particleStepKernelName.c_str()); std::string particleBounceKernelName = "particle_boundary_check"; createKernel(m_program, m_particleBounceKernel, particleBounceKernelName.c_str()); - std::string particleBubbleBoundaryStepKernelName = - "particle_bubble_step_cyclic"; - createKernel(m_program, m_particleBubbleBoundaryStepKernel, - particleBubbleBoundaryStepKernelName.c_str()); createQueue(m_context, m_deviceUsed); } @@ -47,14 +43,17 @@ OpenCLLoader::OpenCLLoader(std::string kernelPath, std::string kernelName) { createKernel(m_program, m_particleBounceKernel, particleBounceKernelName.c_str()); + std::string particleStepKernelName = "particle_step_linear"; + createKernel(m_program, m_particleStepKernel, particleStepKernelName.c_str()); + createKernel(m_program, m_kernel, kernelName.c_str()); // cl::Kernel - std::string particleBubbleStepKernelName = "particle_bubble_step"; + std::string particleBubbleStepKernelName = "particle_step_with_bubble"; createKernel(m_program, m_particleBubbleStepKernel, particleBubbleStepKernelName.c_str()); // cl::Kernel std::string particleBubbleBoundaryStepKernelName = - "particle_bubble_step_cyclic"; + "particle_boundary_check"; createKernel(m_program, m_particleBubbleBoundaryStepKernel, particleBubbleBoundaryStepKernelName.c_str()); diff --git a/bubbleSim/particle.cpp b/bubbleSim/particle.cpp index 2db072f..03b2b90 100644 --- a/bubbleSim/particle.cpp +++ b/bubbleSim/particle.cpp @@ -135,6 +135,40 @@ void ParticleGenerator::generatePointInSphere( z = radius * std::cos(phi); // z } +numType ParticleGenerator::generateNParticlesInBox( + numType t_sideHalf, u_int t_N, RandomNumberGenerator& t_generator, + std::vector& t_particle_X, std::vector& t_particle_Y, + std::vector& t_particle_Z, std::vector& t_particle_pX, + std::vector& t_particle_pY, std::vector& t_particle_pZ, + std::vector& t_particle_E, std::vector& t_particle_M) { + numType totalEnergy = 0.; + + numType x, y, z; + numType p_x, p_y, p_z; + numType E; + numType m2 = std::pow(m_mass, (numType)2.); + numType pValue; + + for (u_int i = 0; i < t_N; i++) { + // Generates 3D space coordinates and pushes to m_X vector + generatePointInBox(x, y, z, t_sideHalf, t_generator); + + // Generates 3D space coordinates and pushes to m_P vector + generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); + E = std::sqrt(m2 + pow(pValue, (numType)2.)); + totalEnergy += E; + t_particle_X.push_back(x); + t_particle_Y.push_back(y); + t_particle_Z.push_back(z); + t_particle_pX.push_back(p_x); + t_particle_pY.push_back(p_y); + t_particle_pZ.push_back(p_z); + t_particle_E.push_back(E); + t_particle_M.push_back(m_mass); + } + return totalEnergy; +} + numType ParticleGenerator::generateNParticlesInBox( numType t_sideHalf, u_int t_N, RandomNumberGenerator& t_generator, std::vector& t_particles) { @@ -159,6 +193,42 @@ numType ParticleGenerator::generateNParticlesInBox( return totalEnergy; } +numType ParticleGenerator::generateNParticlesInBox( + numType t_xSideHalf, numType t_ySideHalf, numType t_zSideHalf, u_int t_N, + RandomNumberGenerator& t_generator, std::vector& t_particle_X, + std::vector& t_particle_Y, std::vector& t_particle_Z, + std::vector& t_particle_pX, std::vector& t_particle_pY, + std::vector& t_particle_pZ, std::vector& t_particle_E, + std::vector& t_particle_M) { + numType totalEnergy = 0.; + + numType x, y, z; + numType p_x, p_y, p_z; + numType E; + numType m2 = std::pow(m_mass, (numType)2.); + numType pValue; + + for (u_int i = 0; i < t_N; i++) { + // Generates 3D space coordinates and pushes to m_X vector + generatePointInBox(x, y, z, t_xSideHalf, t_ySideHalf, t_zSideHalf, + t_generator); + // Generates 3D space coordinates and pushes to m_P vector + generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); + + E = std::sqrt(m2 + pow(pValue, 2)); + totalEnergy += E; + t_particle_X.push_back(x); + t_particle_Y.push_back(y); + t_particle_Z.push_back(z); + t_particle_pX.push_back(p_x); + t_particle_pY.push_back(p_y); + t_particle_pZ.push_back(p_z); + t_particle_E.push_back(E); + t_particle_M.push_back(m_mass); + } + return totalEnergy; +} + numType ParticleGenerator::generateNParticlesInBox( numType t_xSideHalf, numType t_ySideHalf, numType t_zSideHalf, u_int t_N, RandomNumberGenerator& t_generator, std::vector& t_particles) { @@ -184,6 +254,43 @@ numType ParticleGenerator::generateNParticlesInBox( return totalEnergy; } +numType ParticleGenerator::generateNParticlesInBox( + numType t_radiusIn, numType t_sideHalf, u_int t_N, + RandomNumberGenerator& t_generator, std::vector& t_particle_X, + std::vector& t_particle_Y, std::vector& t_particle_Z, + std::vector& t_particle_pX, std::vector& t_particle_pY, + std::vector& t_particle_pZ, std::vector& t_particle_E, + std::vector& t_particle_M) { + numType totalEnergy = 0.; + + numType x, y, z; + numType p_x, p_y, p_z; + numType E; + numType m2 = std::pow(m_mass, (numType)2.); + numType pValue; + numType radius; + for (u_int i = 0; i < t_N; i++) { + // Generates 3D space coordinates and pushes to m_X vector + do { + generatePointInBox(x, y, z, t_sideHalf, t_generator); + radius = std::sqrt(std::fma(x, x, fma(y, y, z * z))); + } while (radius < t_radiusIn); + // Generates 3D space coordinates and pushes to m_P vector + generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); + E = std::sqrt(m2 + pow(pValue, (numType)2.)); + totalEnergy += E; + t_particle_X.push_back(x); + t_particle_Y.push_back(y); + t_particle_Z.push_back(z); + t_particle_pX.push_back(p_x); + t_particle_pY.push_back(p_y); + t_particle_pZ.push_back(p_z); + t_particle_E.push_back(E); + t_particle_M.push_back(m_mass); + } + return totalEnergy; +} + numType ParticleGenerator::generateNParticlesInBox( numType t_radiusIn, numType t_sideHalf, u_int t_N, RandomNumberGenerator& t_generator, std::vector& t_particles) { @@ -210,6 +317,44 @@ numType ParticleGenerator::generateNParticlesInBox( return totalEnergy; } +numType ParticleGenerator::generateNParticlesInBox( + numType t_radiusIn, numType t_xSideHalf, numType t_ySideHalf, + numType t_zSideHalf, u_int t_N, RandomNumberGenerator& t_generator, + std::vector& t_particle_X, std::vector& t_particle_Y, + std::vector& t_particle_Z, std::vector& t_particle_pX, + std::vector& t_particle_pY, std::vector& t_particle_pZ, + std::vector& t_particle_E, std::vector& t_particle_M) { + numType totalEnergy = 0.; + + numType x, y, z; + numType p_x, p_y, p_z; + numType E; + numType m2 = std::pow(m_mass, (numType)2.); + numType pValue; + numType radius; + for (u_int i = 0; i < t_N; i++) { + // Generates 3D space coordinates and pushes to m_X vector + do { + generatePointInBox(x, y, z, t_xSideHalf, t_ySideHalf, t_zSideHalf, + t_generator); + radius = std::sqrt(std::fma(x, x, fma(y, y, z * z))); + } while (radius < t_radiusIn); + // Generates 3D space coordinates and pushes to m_P vector + generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); + E = std::sqrt(m2 + pow(pValue, (numType)2.)); + totalEnergy += E; + t_particle_X.push_back(x); + t_particle_Y.push_back(y); + t_particle_Z.push_back(z); + t_particle_pX.push_back(p_x); + t_particle_pY.push_back(p_y); + t_particle_pZ.push_back(p_z); + t_particle_E.push_back(E); + t_particle_M.push_back(m_mass); + } + return totalEnergy; +} + numType ParticleGenerator::generateNParticlesInBox( numType t_radiusIn, numType t_xSideHalf, numType t_ySideHalf, numType t_zSideHalf, u_int t_N, RandomNumberGenerator& t_generator, @@ -238,6 +383,43 @@ numType ParticleGenerator::generateNParticlesInBox( return totalEnergy; } +numType ParticleGenerator::generateNParticlesInSphere( + numType t_radiusMax, u_int t_N, RandomNumberGenerator& t_generator, + std::vector& t_particle_X, std::vector& t_particle_Y, + std::vector& t_particle_Z, std::vector& t_particle_pX, + std::vector& t_particle_pY, std::vector& t_particle_pZ, + std::vector& t_particle_E, std::vector& t_particle_M) { + numType totalEnergy = 0.; + numType x, y, z; + numType p_x, p_y, p_z; + numType E; + numType m2 = std::pow(m_mass, (numType)2.); + numType pValue; + numType radius; + + for (u_int i = 0; i < t_N; i++) { + // Generates 3D space coordinates and pushes to m_X vector + do { + generatePointInSphere(x, y, z, t_radiusMax, t_generator); + radius = std::sqrt(std::fma(x, x, fma(y, y, z * z))); + } while (radius > t_radiusMax); + + // Generates 3D space coordinates and pushes to m_P vector + generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); + E = std::sqrt(m2 + pow(pValue, (numType)2.)); + totalEnergy += E; + t_particle_X.push_back(x); + t_particle_Y.push_back(y); + t_particle_Z.push_back(z); + t_particle_pX.push_back(p_x); + t_particle_pY.push_back(p_y); + t_particle_pZ.push_back(p_z); + t_particle_E.push_back(E); + t_particle_M.push_back(m_mass); + } + return totalEnergy; +} + numType ParticleGenerator::generateNParticlesInSphere( numType t_radiusMax, u_int t_N, RandomNumberGenerator& t_generator, std::vector& t_particles) { @@ -265,6 +447,44 @@ numType ParticleGenerator::generateNParticlesInSphere( return totalEnergy; } +numType ParticleGenerator::generateNParticlesInSphere( + numType t_radiusMin, numType t_radiusMax, u_int t_N, + RandomNumberGenerator& t_generator, std::vector& t_particle_X, + std::vector& t_particle_Y, std::vector& t_particle_Z, + std::vector& t_particle_pX, std::vector& t_particle_pY, + std::vector& t_particle_pZ, std::vector& t_particle_E, + std::vector& t_particle_M) { + numType totalEnergy = 0.; + numType x, y, z; + numType p_x, p_y, p_z; + numType E; + numType m2 = std::pow(m_mass, (numType)2.); + numType pValue; + numType radius; + + for (u_int i = 0; i < t_N; i++) { + // Generates 3D space coordinates and pushes to m_X vector + do { + generatePointInSphere(x, y, z, t_radiusMax, t_generator); + radius = std::sqrt(std::fma(x, x, fma(y, y, z * z))); + } while ((t_radiusMin > radius) || (radius > t_radiusMax)); + + // Generates 3D space coordinates and pushes to m_P vector + generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); + E = std::sqrt(m2 + pow(pValue, (numType)2.)); + totalEnergy += E; + t_particle_X.push_back(x); + t_particle_Y.push_back(y); + t_particle_Z.push_back(z); + t_particle_pX.push_back(p_x); + t_particle_pY.push_back(p_y); + t_particle_pZ.push_back(p_z); + t_particle_E.push_back(E); + t_particle_M.push_back(m_mass); + } + return totalEnergy; +} + numType ParticleGenerator::generateNParticlesInSphere( numType t_radiusMin, numType t_radiusMax, u_int t_N, RandomNumberGenerator& t_generator, std::vector& t_particles) { @@ -301,33 +521,33 @@ ParticleCollection::ParticleCollection( int openCLerrNum; // Masses if (t_bubbleIsTrueVacuum) { - m_massIn = t_massTrue; - m_massOut = t_massFalse; + m_mass_in = t_massTrue; + m_mass_out = t_massFalse; m_temperatureIn = t_temperatureTrue; m_temperatureOut = t_temperatureFalse; m_particleCountIn = t_particleCountTrue; m_particleCountOut = t_particleCountFalse; } else { - m_massIn = t_massFalse; - m_massOut = t_massTrue; + m_mass_in = t_massFalse; + m_mass_out = t_massTrue; m_temperatureIn = t_temperatureFalse; m_temperatureOut = t_temperatureTrue; m_particleCountIn = t_particleCountFalse; m_particleCountOut = t_particleCountTrue; } - m_massDelta2 = std::abs(std::pow(t_massTrue, (numType)2.) - + m_delta_mass_squared = std::abs(std::pow(t_massTrue, (numType)2.) - std::pow(t_massFalse, (numType)2.)); - m_massInBuffer = + m_mass_in_buffer = cl::Buffer(cl_context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, - sizeof(numType), &m_massIn, &openCLerrNum); + sizeof(numType), &m_mass_in, &openCLerrNum); - m_massOutBuffer = + m_mass_out_buffer = cl::Buffer(cl_context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, - sizeof(numType), &m_massOut, &openCLerrNum); - m_massDelta2Buffer = + sizeof(numType), &m_mass_out, &openCLerrNum); + m_delta_mass_squared_buffer = cl::Buffer(cl_context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, - sizeof(numType), &m_massDelta2, &openCLerrNum); + sizeof(numType), &m_delta_mass_squared, &openCLerrNum); // Temperatures m_massTrue = t_massTrue; @@ -347,74 +567,131 @@ ParticleCollection::ParticleCollection( m_coupling = t_coupling; - m_particles.reserve(m_particleCountTotal); - m_particlesBuffer = + m_particle_X.reserve(m_particleCountTotal); + m_particle_Y.reserve(m_particleCountTotal); + m_particle_Z.reserve(m_particleCountTotal); + m_particle_pX.reserve(m_particleCountTotal); + m_particle_pY.reserve(m_particleCountTotal); + m_particle_pZ.reserve(m_particleCountTotal); + m_particle_E.reserve(m_particleCountTotal); + m_particle_M.reserve(m_particleCountTotal); + + m_particle_X_buffer = + cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, + m_particleCountTotal * sizeof(numType), m_particle_X.data(), + &openCLerrNum); + m_particle_Y_buffer = + cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, + m_particleCountTotal * sizeof(numType), m_particle_Y.data(), + &openCLerrNum); + m_particle_Z_buffer = cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, - m_particleCountTotal * sizeof(Particle), m_particles.data(), + m_particleCountTotal * sizeof(numType), m_particle_Z.data(), + &openCLerrNum); + m_particle_pX_buffer = + cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, + m_particleCountTotal * sizeof(numType), m_particle_pX.data(), + &openCLerrNum); + m_particle_pY_buffer = + cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, + m_particleCountTotal * sizeof(numType), m_particle_pY.data(), + &openCLerrNum); + m_particle_pZ_buffer = + cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, + m_particleCountTotal * sizeof(numType), m_particle_pZ.data(), + &openCLerrNum); + m_particle_E_buffer = + cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, + m_particleCountTotal * sizeof(numType), m_particle_E.data(), + &openCLerrNum); + m_particle_M_buffer = + cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, + m_particleCountTotal * sizeof(numType), m_particle_M.data(), &openCLerrNum); m_dP = std::vector(m_particleCountTotal, (numType)0.); - m_dPBuffer = cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, + m_dP_buffer = cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, m_particleCountTotal * sizeof(numType), m_dP.data(), &openCLerrNum); + + m_particle_bool_collide = + std::vector(m_particleCountTotal, (cl_char)0); + + m_particle_bool_collide_buffer = + cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, + m_particleCountTotal * sizeof(cl_char), + m_particle_bool_collide.data(), &openCLerrNum); + + m_particle_bool_in_bubble = + std::vector(m_particleCountTotal, (cl_char)0); + + m_particle_bool_in_bubble_buffer = + cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, + m_particleCountTotal * sizeof(cl_char), + m_particle_bool_in_bubble.data(), &openCLerrNum); + + m_particle_collision_cell_index = + std::vector(m_particleCountTotal, (cl_int)0); + + m_particle_collision_cell_index_buffer = + cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, + m_particleCountTotal * sizeof(cl_int), + m_particle_collision_cell_index.data(), &openCLerrNum); + // Data reserve - m_interactedBubbleFalseState = std::vector(m_particleCountTotal, 0); - m_interactedBubbleFalseStateBuffer = + m_interacted_bubble_false_state = std::vector(m_particleCountTotal, 0); + m_interacted_bubble_false_state_buffer = cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, m_particleCountTotal * sizeof(int8_t), - m_interactedBubbleFalseState.data(), &openCLerrNum); + m_interacted_bubble_false_state.data(), &openCLerrNum); - m_passedBubbleFalseState = std::vector(m_particleCountTotal, 0); - m_passedBubbleFalseStateBuffer = + m_passed_bubble_false_state = std::vector(m_particleCountTotal, 0); + m_passed_bubble_false_state_buffer = cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, m_particleCountTotal * sizeof(int8_t), - m_passedBubbleFalseState.data(), &openCLerrNum); - m_interactedBubbleTrueState = std::vector(m_particleCountTotal, 0); - m_interactedBubbleTrueStateBuffer = + m_passed_bubble_false_state.data(), &openCLerrNum); + m_interacted_bubble_true_state = std::vector(m_particleCountTotal, 0); + m_interacted_bubble_true_state_buffer = cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, m_particleCountTotal * sizeof(int8_t), - m_interactedBubbleTrueState.data(), &openCLerrNum); + m_interacted_bubble_true_state.data(), &openCLerrNum); // Initial simulation values m_initialTotalEnergy = 0.; } /* - * * ParticleCollection functions - * */ -numType ParticleCollection::calculateParticleRadius(u_int i) { - // dot(X, X) - return std::sqrt(std::fma(m_particles[i].x, m_particles[i].x, - std::fma(m_particles[i].y, m_particles[i].y, - m_particles[i].z * m_particles[i].z))); +numType ParticleCollection::calculateParticleRadius(size_t i) { + // x_i * x^i + return std::sqrt(std::fma(m_particle_X[i], m_particle_X[i], + std::fma(m_particle_Y[i], m_particle_Y[i], + m_particle_Z[i] * m_particle_Z[i]))); } -numType ParticleCollection::calculateParticleMomentum(u_int i) { - // return std::sqrt(m_P[3 * i] * m_P[3 * i] + m_P[3 * i + 1] * m_P[3 * i + 1] - // + m_P[3 * i + 2] * m_P[3 * i + 2]); - - return std::sqrt(std::fma(m_particles[i].pX, m_particles[i].pX, - std::fma(m_particles[i].pY, m_particles[i].pY, - m_particles[i].pZ * m_particles[i].pZ))); +numType ParticleCollection::calculateParticleMomentum(size_t i) { + // p_i * p^i + return std::sqrt(std::fma(m_particle_pX[i], m_particle_pX[i], + std::fma(m_particle_pY[i], m_particle_pY[i], + m_particle_pZ[i] * m_particle_pZ[i]))); } -numType ParticleCollection::calculateParticleEnergy(u_int i) { +numType ParticleCollection::calculateParticleEnergy(size_t i) { return std::sqrt( - std::fma(m_particles[i].pX, m_particles[i].pX, - std::fma(m_particles[i].pY, m_particles[i].pY, - std::fma(m_particles[i].pZ, m_particles[i].pZ, - m_particles[i].m * m_particles[i].m)))); + std::fma(m_particle_pX[i], m_particle_pX[i], + std::fma(m_particle_pY[i], m_particle_pY[i], + std::fma(m_particle_pZ[i], m_particle_pZ[i], + m_particle_M[i] * m_particle_M[i])))); } -numType ParticleCollection::calculateParticleRadialVelocity(u_int i) { - return std::fma(m_particles[i].pX, m_particles[i].x, - std::fma(m_particles[i].pY, m_particles[i].y, - m_particles[i].pZ * m_particles[i].z)) / - (m_particles[i].E * calculateParticleRadius(i)); +numType ParticleCollection::calculateParticleRadialVelocity(size_t i) { + return std::fma(m_particle_pX[i], m_particle_X[i], + std::fma(m_particle_pY[i], m_particle_Y[i], + m_particle_pZ[i] * m_particle_Z[i])) / + (m_particle_E[i] * calculateParticleRadius(i)); } -numType ParticleCollection::calculateParticleTangentialVelocity(u_int i) { +numType ParticleCollection::calculateParticleTangentialVelocity(size_t i) { return std::sqrt((numType)1. - std::pow(calculateParticleRadialVelocity(i), (numType)2.)); } @@ -502,7 +779,7 @@ numType ParticleCollection::countParticleEnergyDensity(numType t_radius1, numType ParticleCollection::countParticlesEnergy() { numType energy = 0.; for (int i = 0; i < m_particleCountTotal; i++) { - energy += m_particles[i].E; + energy += m_particle_E[i]; } return energy; } @@ -511,7 +788,7 @@ numType ParticleCollection::countParticlesEnergy(numType t_radius1) { numType energy = 0.; for (int i = 0; i < m_particleCountTotal; i++) { if (calculateParticleRadius(i) < t_radius1) { - energy += m_particles[i].E; + energy += m_particle_E[i]; } } return energy; @@ -524,7 +801,7 @@ numType ParticleCollection::countParticlesEnergy(numType t_radius1, for (int i = 0; i < m_particleCountTotal; i++) { radius = calculateParticleRadius(i); if ((radius > t_radius1) && (radius < t_radius2)) { - energy += m_particles[i].E; + energy += m_particle_E[i]; } } return energy; diff --git a/bubbleSim/particle.h b/bubbleSim/particle.h index bd26fe4..8e82065 100644 --- a/bubbleSim/particle.h +++ b/bubbleSim/particle.h @@ -32,35 +32,83 @@ class ParticleGenerator { std::array, 2> m_cumulativeProbabilityFunction; + numType generateNParticlesInBox( + numType t_sideHalf, u_int t_N, RandomNumberGenerator& t_generator, + std::vector& t_particle_X, std::vector& t_particle_Y, + std::vector& t_particle_Z, std::vector& t_particle_pX, + std::vector& t_particle_pY, std::vector& t_particle_pZ, + std::vector& t_particle_E, std::vector& t_particle_M); + numType generateNParticlesInBox(numType t_sideHalf, u_int t_N, RandomNumberGenerator& t_generator, std::vector& t_particles); + numType generateNParticlesInBox( + numType t_radiusIn, numType t_sideHalf, u_int t_N, + RandomNumberGenerator& t_generator, std::vector& t_particle_X, + std::vector& t_particle_Y, std::vector& t_particle_Z, + std::vector& t_particle_pX, std::vector& t_particle_pY, + std::vector& t_particle_pZ, std::vector& t_particle_E, + std::vector& t_particle_M); + numType generateNParticlesInBox(numType t_radiusIn, numType t_sideHalf, u_int t_N, RandomNumberGenerator& t_generator, std::vector& t_particles); + + numType generateNParticlesInBox( + numType t_xSideHalf, numType t_ySideHalf, numType t_zSideHalf, u_int t_N, + RandomNumberGenerator& t_generator, std::vector& t_particle_X, + std::vector& t_particle_Y, std::vector& t_particle_Z, + std::vector& t_particle_pX, std::vector& t_particle_pY, + std::vector& t_particle_pZ, std::vector& t_particle_E, + std::vector& t_particle_M); + numType generateNParticlesInBox(numType t_xSideHalf, numType t_ySideHalf, numType t_zSideHalf, u_int t_N, RandomNumberGenerator& t_generator, std::vector& t_particles); + numType generateNParticlesInBox( + numType t_radiusIn, numType t_xSideHalf, numType t_ySideHalf, + numType t_zSideHalf, u_int t_N, RandomNumberGenerator& t_generator, + std::vector& t_particle_X, + std::vector& t_particle_Y, std::vector& t_particle_Z, + std::vector& t_particle_pX, std::vector& t_particle_pY, + std::vector& t_particle_pZ, std::vector& t_particle_E, + std::vector& t_particle_M); + numType generateNParticlesInBox(numType t_radiusIn, numType t_xSideHalf, numType t_ySideHalf, numType t_zSideHalf, u_int t_N, RandomNumberGenerator& t_generator, std::vector& t_particles); + numType generateNParticlesInSphere( + numType t_radiusMax, u_int t_N, RandomNumberGenerator& t_generator, + std::vector& t_particle_X, std::vector& t_particle_Y, + std::vector& t_particle_Z, std::vector& t_particle_pX, + std::vector& t_particle_pY, std::vector& t_particle_pZ, + std::vector& t_particle_E, std::vector& t_particle_M); + numType generateNParticlesInSphere(numType t_radiusMax, u_int t_N, RandomNumberGenerator& t_generator, std::vector& t_particles); + numType generateNParticlesInSphere( + numType t_radiusMin, numType t_radiusMax, u_int t_N, + RandomNumberGenerator& t_generator, + std::vector& t_particle_X, std::vector& t_particle_Y, + std::vector& t_particle_Z, std::vector& t_particle_pX, + std::vector& t_particle_pY, std::vector& t_particle_pZ, + std::vector& t_particle_E, std::vector& t_particle_M); + numType generateNParticlesInSphere(numType t_radiusMin, numType t_radiusMax, u_int t_N, RandomNumberGenerator& t_generator, std::vector& t_particles); private: - numType m_mass; + numType m_mass = 0; // Index [0] = Probability, Index [1] = Momentum value numType interp(numType t_xValue, std::vector& t_xArray, @@ -90,6 +138,8 @@ class ParticleGenerator { RandomNumberGenerator& t_generator); }; + +// TODO: Flags for all processes of array initialization.. class ParticleCollection { /* False at the end of variable means False vaccum (lower mass) @@ -97,11 +147,11 @@ class ParticleCollection { */ // Masses of particles in true and false vacuum - numType m_massIn, m_massOut, m_massDelta2; + numType m_mass_in, m_mass_out, m_delta_mass_squared; numType m_massTrue, m_massFalse; - cl::Buffer m_massInBuffer; - cl::Buffer m_massOutBuffer; - cl::Buffer m_massDelta2Buffer; + cl::Buffer m_mass_in_buffer; + cl::Buffer m_mass_out_buffer; + cl::Buffer m_delta_mass_squared_buffer; numType m_coupling; // Temperatures in true and false vacuum numType m_temperatureTrue, m_temperatureFalse, m_temperatureIn, @@ -114,29 +164,66 @@ class ParticleCollection { numType m_initialTotalEnergy; // Data objects for buffers - std::vector m_particles; - std::vector m_particles_copy; - cl::Buffer m_particlesBuffer; + std::vector m_particle_X; + std::vector m_particle_X_copy; + cl::Buffer m_particle_X_buffer; + + std::vector m_particle_Y; + std::vector m_particle_Y_copy; + cl::Buffer m_particle_Y_buffer; + + std::vector m_particle_Z; + std::vector m_particle_Z_copy; + cl::Buffer m_particle_Z_buffer; + + std::vector m_particle_pX; + std::vector m_particle_pX_copy; + cl::Buffer m_particle_pX_buffer; + + std::vector m_particle_pY; + std::vector m_particle_pY_copy; + cl::Buffer m_particle_pY_buffer; + + std::vector m_particle_pZ; + std::vector m_particle_pZ_copy; + cl::Buffer m_particle_pZ_buffer; + + std::vector m_particle_E; + std::vector m_particle_E_copy; + cl::Buffer m_particle_E_buffer; + + std::vector m_particle_M; + std::vector m_particle_M_copy; + cl::Buffer m_particle_M_buffer; + + std::vector m_particle_bool_collide; + std::vector m_particle_bool_collide_copy; + cl::Buffer m_particle_bool_collide_buffer; + + std::vector m_particle_bool_in_bubble; + std::vector m_particle_bool_in_bubble_copy; + cl::Buffer m_particle_bool_in_bubble_buffer; + + std::vector m_particle_collision_cell_index; + std::vector m_particle_collision_cell_index_copy; + cl::Buffer m_particle_collision_cell_index_buffer; + std::vector m_dP; std::vector m_dP_copy; - cl::Buffer m_dPBuffer; - /* - * Count particle-bubble interactions when particle started in - * false vacuum. - */ - std::vector m_interactedBubbleFalseState; - std::vector m_interactedBubbleFalseState_copy; - cl::Buffer m_interactedBubbleFalseStateBuffer; - std::vector m_passedBubbleFalseState; - std::vector m_passedBubbleFalseState_copy; - cl::Buffer m_passedBubbleFalseStateBuffer; - /* - * Interaction with bubble when particle started in true vacuum. - * This also means that particle gets always through the bubble. - */ - std::vector m_interactedBubbleTrueState; - std::vector m_interactedBubbleTrueState_copy; - cl::Buffer m_interactedBubbleTrueStateBuffer; + cl::Buffer m_dP_buffer; + + std::vector m_interacted_bubble_false_state; + std::vector m_interacted_bubble_false_state_copy; + cl::Buffer m_interacted_bubble_false_state_buffer; + + std::vector m_passed_bubble_false_state; + std::vector m_passed_bubble_false_state_copy; + cl::Buffer m_passed_bubble_false_state_buffer; + + std::vector m_interacted_bubble_true_state; + std::vector m_interacted_bubble_true_state_copy; + cl::Buffer m_interacted_bubble_true_state_buffer; + public: /* @@ -154,211 +241,444 @@ class ParticleCollection { ParticleCollection& operator=(const ParticleCollection& t) { return *this; } - std::vector& getParticles() { return m_particles; } + - std::vector& get_dP() { return m_dP; } + + u_int returnCollisionCellIndex(size_t particle_i) { + return (u_int)m_particle_collision_cell_index[particle_i]; + } - std::vector& getInteractedFalse() { - return m_interactedBubbleFalseState; + numType returnParticleX(size_t particle_i) { + return m_particle_X[particle_i]; } - std::vector& getPassedFalse() { return m_passedBubbleFalseState; } + numType returnParticleY(size_t particle_i) { + return m_particle_Y[particle_i]; + } - std::vector& getInteractedTrue() { - return m_interactedBubbleTrueState; + numType returnParticleZ(size_t particle_i) { + return m_particle_Z[particle_i]; } - cl::Buffer& getParticlesBuffer() { return m_particlesBuffer; } + numType returnParticlepX(size_t particle_i) { + return m_particle_pX[particle_i]; + } - void writeParticlesBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueWriteBuffer(m_particlesBuffer, CL_TRUE, 0, - m_particles.size() * sizeof(Particle), - m_particles.data()); + numType returnParticlepY(size_t particle_i) { + return m_particle_pY[particle_i]; } - void readParticlesBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueReadBuffer(m_particlesBuffer, CL_TRUE, 0, - m_particles.size() * sizeof(Particle), - m_particles.data()); + numType returnParticlepZ(size_t particle_i) { + return m_particle_pZ[particle_i]; } - cl::Buffer& get_dPBuffer() { return m_dPBuffer; } + numType returnParticleE(size_t particle_i) { + return m_particle_E[particle_i]; + } - void write_dPBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueWriteBuffer(m_dPBuffer, CL_TRUE, 0, - m_dP.size() * sizeof(numType), m_dP.data()); + numType returnParticleM(size_t particle_i) { + return m_particle_M[particle_i]; } - void read_dPBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueReadBuffer(m_dPBuffer, CL_TRUE, 0, - m_dP.size() * sizeof(numType), m_dP.data()); + numType returnParticledP(size_t particle_i) { return m_dP[particle_i]; } + // TODO: Particle data buffer writing, reading + // TODO - boolean buffers + + + /* + * ================================================================ + * ================================================================ + * Getters + * ================================================================ + * ================================================================ + */ + + numType getMassIn() { return m_mass_in; } + + numType getMassOut() { return m_mass_out; } + + size_t getParticleCountTotal() { return m_particleCountTotal; } + + size_t getParticleCountIn() { return m_particleCountIn; } + + size_t getParticleCountOut() { return m_particleCountOut; } + + size_t getParticleCountTrue() { return m_particleCountTrue; } + + size_t getParticleCountFalse() { return m_particleCountFalse; } + + // Particle functions + + std::vector& getParticleX() { return m_particle_X; } + std::vector& getParticleY() { return m_particle_Y; } + std::vector& getParticleZ() { return m_particle_Z; } + std::vector& getParticlepX() { return m_particle_pX; } + std::vector& getParticlepY() { return m_particle_pY; } + std::vector& getParticlepZ() { return m_particle_pZ; } + std::vector& getParticleE() { return m_particle_E; } + std::vector& getParticleM() { return m_particle_M; } + + + std::vector& getInteractedFalse() { + return m_interacted_bubble_false_state; + } + + std::vector& getPassedFalse() { + return m_interacted_bubble_false_state; + } + + std::vector& getInteractedTrue() { + return m_passed_bubble_false_state; + } + + + cl::Buffer& getParticleXBuffer() { return m_particle_X_buffer; } + cl::Buffer& getParticleYBuffer() { return m_particle_Y_buffer; } + cl::Buffer& getParticleZBuffer() { return m_particle_Z_buffer; } + cl::Buffer& getParticlepXBuffer() { return m_particle_pX_buffer; } + cl::Buffer& getParticlepYBuffer() { return m_particle_pY_buffer; } + cl::Buffer& getParticlepZBuffer() { return m_particle_pZ_buffer; } + cl::Buffer& getParticleEBuffer() { return m_particle_E_buffer; } + cl::Buffer& getParticleMBuffer() { return m_particle_M_buffer; } cl::Buffer& getInteractedBubbleFalseStateBuffer() { - return m_interactedBubbleFalseStateBuffer; + return m_interacted_bubble_false_state_buffer; + } + cl::Buffer& getPassedBubbleFalseStateBuffer() { + return m_passed_bubble_false_state_buffer; + } + cl::Buffer& getInteractedBubbleTrueStateBuffer() { + return m_interacted_bubble_true_state_buffer; } - void resetInteractedBubbleFalseState() { - std::fill(m_interactedBubbleFalseState.begin(), - m_interactedBubbleFalseState.end(), 0); + cl::Buffer& getdPBuffer() { return m_dP_buffer; } + std::vector& getdP() { return m_dP; } + cl::Buffer& getMassInBuffer() { return m_mass_in_buffer; }; + cl::Buffer& getMassOutBuffer() { return m_mass_out_buffer; } + cl::Buffer& getDeltaMassSquaredBuffer() { return m_delta_mass_squared_buffer; }; + cl::Buffer& getParticleInBubbleBuffer() { + return m_particle_bool_in_bubble_buffer; + } + cl::Buffer& getParticleCollisionCellIndexBuffer() { + return m_particle_collision_cell_index_buffer; } - void writeInteractedBubbleFalseStateBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueWriteBuffer( - m_interactedBubbleFalseStateBuffer, CL_TRUE, 0, - m_interactedBubbleFalseState.size() * sizeof(int8_t), - m_interactedBubbleFalseState.data()); + /* + * ================================================================ + * ================================================================ + * Buffer writers + * ================================================================ + * ================================================================ + */ + + void writeParticleXBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer(m_particle_X_buffer, CL_TRUE, 0, + m_particle_X.size() * sizeof(numType), + m_particle_X.data()); } - void readInteractedBubbleFalseStateBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueReadBuffer( - m_interactedBubbleFalseStateBuffer, CL_TRUE, 0, - m_interactedBubbleFalseState.size() * sizeof(int8_t), - m_interactedBubbleFalseState.data()); + void writeParticleYBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer(m_particle_Y_buffer, CL_TRUE, 0, + m_particle_Y.size() * sizeof(numType), + m_particle_Y.data()); } - void resetAndWriteInteractedBubbleFalseState(cl::CommandQueue& cl_queue) { - resetInteractedBubbleFalseState(); - writeInteractedBubbleFalseStateBuffer(cl_queue); + void writeParticleZBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer(m_particle_Z_buffer, CL_TRUE, 0, + m_particle_Z.size() * sizeof(numType), + m_particle_Z.data()); } - cl::Buffer& getPassedBubbleFalseStateBuffer() { - return m_passedBubbleFalseStateBuffer; + void writeParticleCoordinatesBuffer(cl::CommandQueue& cl_queue) { + writeParticleXBuffer(cl_queue); + writeParticleYBuffer(cl_queue); + writeParticleZBuffer(cl_queue); } - void resetPassedBubbleFalseState() { - std::fill(m_passedBubbleFalseState.begin(), m_passedBubbleFalseState.end(), - 0); + void writeParticlepXBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer(m_particle_pX_buffer, CL_TRUE, 0, + m_particle_pX.size() * sizeof(numType), + m_particle_pX.data()); } - void writePassedBubbleFalseStateBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueWriteBuffer( - m_passedBubbleFalseStateBuffer, CL_TRUE, 0, - m_passedBubbleFalseState.size() * sizeof(int8_t), - m_passedBubbleFalseState.data()); + void writeParticlepYBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer(m_particle_pY_buffer, CL_TRUE, 0, + m_particle_pY.size() * sizeof(numType), + m_particle_pY.data()); } - void readPassedBubbleFalseStateBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueReadBuffer(m_passedBubbleFalseStateBuffer, CL_TRUE, 0, - m_passedBubbleFalseState.size() * sizeof(int8_t), - m_passedBubbleFalseState.data()); + void writeParticlepZBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer(m_particle_pZ_buffer, CL_TRUE, 0, + m_particle_pZ.size() * sizeof(numType), + m_particle_pZ.data()); } - void resetAndWritePassedBubbleFalseState(cl::CommandQueue& cl_queue) { - resetPassedBubbleFalseState(); - writePassedBubbleFalseStateBuffer(cl_queue); + void writeParticleMomentumsBuffer(cl::CommandQueue& cl_queue) { + writeParticlepXBuffer(cl_queue); + writeParticlepYBuffer(cl_queue); + writeParticlepZBuffer(cl_queue); } - cl::Buffer& getInteractedBubbleTrueStateBuffer() { - return m_interactedBubbleTrueStateBuffer; + void writeParticleEBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer(m_particle_E_buffer, CL_TRUE, 0, + m_particle_E.size() * sizeof(numType), + m_particle_E.data()); } - void resetInteractedBubbleTrueState() { - std::fill(m_interactedBubbleTrueState.begin(), - m_interactedBubbleTrueState.end(), 0); + void writeParticleMBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer(m_particle_M_buffer, CL_TRUE, 0, + m_particle_M.size() * sizeof(numType), + m_particle_M.data()); + } + + void writeParticleBuffer(cl::CommandQueue& cl_queue) { + writeParticleCoordinatesBuffer(cl_queue); + writeParticleMomentumsBuffer(cl_queue); + writeParticleEBuffer(cl_queue); + writeParticleMBuffer(cl_queue); } + void writeInteractedBubbleFalseStateBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer( + m_interacted_bubble_false_state_buffer, CL_TRUE, 0, + m_interacted_bubble_false_state.size() * sizeof(int8_t), + m_interacted_bubble_false_state.data()); + } + void writePassedBubbleFalseStateBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer( + m_passed_bubble_false_state_buffer, CL_TRUE, 0, + m_passed_bubble_false_state.size() * sizeof(int8_t), + m_passed_bubble_false_state.data()); + } void writeInteractedBubbleTrueStateBuffer(cl::CommandQueue& cl_queue) { cl_queue.enqueueWriteBuffer( - m_interactedBubbleTrueStateBuffer, CL_TRUE, 0, - m_interactedBubbleTrueState.size() * sizeof(int8_t), - m_interactedBubbleTrueState.data()); + m_interacted_bubble_true_state_buffer, CL_TRUE, 0, + m_interacted_bubble_true_state.size() * sizeof(int8_t), + m_interacted_bubble_true_state.data()); } - void readInteractedBubbleTrueStateBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueReadBuffer( - m_interactedBubbleTrueStateBuffer, CL_TRUE, 0, - m_interactedBubbleTrueState.size() * sizeof(int8_t), - m_interactedBubbleTrueState.data()); + void writedPBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer(m_dP_buffer, CL_TRUE, 0, + m_dP.size() * sizeof(numType), m_dP.data()); + } + void writeMassInBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer(m_mass_in_buffer, CL_TRUE, 0, sizeof(numType), + &m_mass_in); + } + void writeMassOutBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer(m_mass_out_buffer, CL_TRUE, 0, sizeof(numType), + &m_mass_out); + } + void writeMassDelta2Buffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer(m_delta_mass_squared_buffer, CL_TRUE, 0, + sizeof(numType), &m_delta_mass_squared); } - void resetAndWriteInteractedBubbleTrueState(cl::CommandQueue& cl_queue) { - resetInteractedBubbleTrueState(); - writeInteractedBubbleTrueStateBuffer(cl_queue); + void writeParticleInBubbelBuffer(cl::CommandQueue & cl_queue) { + cl_queue.enqueueWriteBuffer( + m_particle_bool_in_bubble_buffer, CL_TRUE, 0, + m_particle_bool_in_bubble.size() * sizeof(int8_t), + m_particle_bool_in_bubble.data()); } - cl::Buffer& getMassInBuffer() { return m_massInBuffer; }; + void writeParticleCollisionCellIndexBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueWriteBuffer( + m_particle_collision_cell_index_buffer, CL_TRUE, 0, + m_particle_collision_cell_index.size() * sizeof(int8_t), + m_particle_collision_cell_index.data()); + } - void writeMassInBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueWriteBuffer(m_massInBuffer, CL_TRUE, 0, sizeof(numType), - &m_massIn); + /* + * ================================================================ + * ================================================================ + * Buffer readers + * ================================================================ + * ================================================================ + */ + + void readParticleXBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer(m_particle_X_buffer, CL_TRUE, 0, + m_particle_X.size() * sizeof(numType), + m_particle_X.data()); + } + + void readParticleYBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer(m_particle_Y_buffer, CL_TRUE, 0, + m_particle_Y.size() * sizeof(numType), + m_particle_Y.data()); } - void readMassInBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueReadBuffer(m_massInBuffer, CL_TRUE, 0, sizeof(numType), - &m_massIn); + void readParticleZBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer(m_particle_Z_buffer, CL_TRUE, 0, + m_particle_Z.size() * sizeof(numType), + m_particle_Z.data()); } - cl::Buffer& getMassOutBuffer() { return m_massOutBuffer; } + void readParticleCoordinatesBuffer(cl::CommandQueue& cl_queue) { + readParticleXBuffer(cl_queue); + readParticleYBuffer(cl_queue); + readParticleZBuffer(cl_queue); + } - void writeMassOutBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueWriteBuffer(m_massOutBuffer, CL_TRUE, 0, sizeof(numType), - &m_massOut); + void readParticlepXBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer(m_particle_pX_buffer, CL_TRUE, 0, + m_particle_pX.size() * sizeof(numType), + m_particle_pX.data()); } - void readMassOutBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueReadBuffer(m_massOutBuffer, CL_TRUE, 0, sizeof(numType), - &m_massOut); + void readParticlepYBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer(m_particle_pY_buffer, CL_TRUE, 0, + m_particle_pY.size() * sizeof(numType), + m_particle_pY.data()); } - cl::Buffer& getMassDelta2Buffer() { return m_massDelta2Buffer; }; + void readParticlepZBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer(m_particle_pZ_buffer, CL_TRUE, 0, + m_particle_pZ.size() * sizeof(numType), + m_particle_pZ.data()); + } - void writeMassDelta2Buffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueWriteBuffer(m_massDelta2Buffer, CL_TRUE, 0, sizeof(numType), - &m_massDelta2); + void readParticleMomentumsBuffer(cl::CommandQueue& cl_queue) { + readParticlepXBuffer(cl_queue); + readParticlepYBuffer(cl_queue); + readParticlepZBuffer(cl_queue); + } + + void readParticleEBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer(m_particle_E_buffer, CL_TRUE, 0, + m_particle_E.size() * sizeof(numType), + m_particle_E.data()); + } + + void readParticleMBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer(m_particle_M_buffer, CL_TRUE, 0, + m_particle_M.size() * sizeof(numType), + m_particle_M.data()); + } + + void readInteractedBubbleFalseStateBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer( + m_interacted_bubble_false_state_buffer, CL_TRUE, 0, + m_interacted_bubble_false_state.size() * sizeof(int8_t), + m_interacted_bubble_false_state.data()); } + void readInteractedBubbleTrueStateBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer( + m_interacted_bubble_true_state_buffer, CL_TRUE, 0, + m_interacted_bubble_true_state.size() * sizeof(int8_t), + m_interacted_bubble_true_state.data()); + } + + void readPassedBubbleFalseStateBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer(m_passed_bubble_false_state_buffer, CL_TRUE, 0, + m_passed_bubble_false_state.size() * sizeof(int8_t), + m_passed_bubble_false_state.data()); + } + + void readdPBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer(m_dP_buffer, CL_TRUE, 0, + m_dP.size() * sizeof(numType), m_dP.data()); + } + void readMassInBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer(m_mass_in_buffer, CL_TRUE, 0, sizeof(numType), + &m_mass_in); + } + void readMassOutBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer(m_mass_out_buffer, CL_TRUE, 0, sizeof(numType), + &m_mass_out); + } void readMassDelta2Buffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueReadBuffer(m_massDelta2Buffer, CL_TRUE, 0, sizeof(numType), - &m_massDelta2); + cl_queue.enqueueReadBuffer(m_delta_mass_squared_buffer, CL_TRUE, 0, + sizeof(numType), &m_delta_mass_squared); } - void writeAllBuffersToKernel(cl::CommandQueue cl_queue) { - writeParticlesBuffer(cl_queue); - write_dPBuffer(cl_queue); - writeInteractedBubbleFalseStateBuffer(cl_queue); - writePassedBubbleFalseStateBuffer(cl_queue); - writeInteractedBubbleTrueStateBuffer(cl_queue); - writeMassInBuffer(cl_queue); - writeMassOutBuffer(cl_queue); - writeMassDelta2Buffer(cl_queue); + void readParticleInBubbelBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer( + m_particle_bool_in_bubble_buffer, CL_TRUE, 0, + m_particle_bool_in_bubble.size() * sizeof(int8_t), + m_particle_bool_in_bubble.data()); + } + + void readParticleCollisionCellIndexBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer( + m_particle_collision_cell_index_buffer, CL_TRUE, 0, + m_particle_collision_cell_index.size() * sizeof(int8_t), + m_particle_collision_cell_index.data()); } - numType getMassIn() { return m_massIn; } + /* + * ================================================================ + * ================================================================ + * Reset buffers + * ================================================================ + * ================================================================ + */ - numType getMassOut() { return m_massOut; } - size_t getParticleCountTotal() { return m_particleCountTotal; } + void resetInteractedBubbleFalseState() { + std::fill(m_interacted_bubble_false_state.begin(), + m_interacted_bubble_false_state.end(), 0); + } - size_t getParticleCountIn() { return m_particleCountIn; } + void resetPassedBubbleFalseState() { + std::fill(m_passed_bubble_false_state.begin(), + m_passed_bubble_false_state.end(), + 0); + } - size_t getParticleCountOut() { return m_particleCountOut; } + void resetInteractedBubbleTrueState() { + std::fill(m_interacted_bubble_true_state.begin(), + m_interacted_bubble_true_state.end(), 0); + } - size_t getParticleCountTrue() { return m_particleCountTrue; } + void resetAndWriteInteractedBubbleFalseState(cl::CommandQueue& cl_queue) { + resetInteractedBubbleFalseState(); + writeInteractedBubbleFalseStateBuffer(cl_queue); + } - size_t getParticleCountFalse() { return m_particleCountFalse; } + void resetAndWritePassedBubbleFalseState(cl::CommandQueue& cl_queue) { + resetPassedBubbleFalseState(); + writePassedBubbleFalseStateBuffer(cl_queue); + } - // Particle functions - numType getParticleEnergy(u_int i) { return m_particles[i].E; } + void resetAndWriteInteractedBubbleTrueState(cl::CommandQueue& cl_queue) { + resetInteractedBubbleTrueState(); + writeInteractedBubbleTrueStateBuffer(cl_queue); + } - numType getParticleMomentum(u_int i) { - return std::sqrt( - std::fma(m_particles[i].pX, m_particles[i].pX, - std::fma(m_particles[i].pY, m_particles[i].pY, - m_particles[i].pZ * m_particles[i].pZ))); + void writeAllBuffersToKernel(cl::CommandQueue cl_queue) { + writeParticleBuffer(cl_queue); + writedPBuffer(cl_queue); + writeInteractedBubbleFalseStateBuffer(cl_queue); + writePassedBubbleFalseStateBuffer(cl_queue); + writeInteractedBubbleTrueStateBuffer(cl_queue); + writeMassInBuffer(cl_queue); + writeMassOutBuffer(cl_queue); + writeMassDelta2Buffer(cl_queue); } - numType getParticleMass(u_int i) { return m_particles[i].m; } + /* + * ================================================================ + * ================================================================ + * Other + * ================================================================ + * ================================================================ + */ + + + numType getParticleMass(size_t i) { return m_particle_M[i]; } - numType calculateParticleRadius(u_int i); + numType calculateParticleRadius(size_t i); - numType calculateParticleMomentum(u_int i); + numType calculateParticleMomentum(size_t i); - numType calculateParticleEnergy(u_int i); + numType calculateParticleEnergy(size_t i); - numType calculateParticleRadialVelocity(u_int i); + numType calculateParticleRadialVelocity(size_t i); - numType calculateParticleTangentialVelocity(u_int i); + numType calculateParticleTangentialVelocity(size_t i); // Calculate distributions numType calculateNumberDensity(numType t_mass, numType t_temperature, @@ -387,62 +707,80 @@ class ParticleCollection { numType countParticlesEnergy(numType t_radius1, numType t_radius2); - void print_info(ConfigReader t_config, PhaseBubble& t_bubble); + - void print_particle_info(unsigned int i) { - Particle particle = m_particles[i]; - std::cout << "(" << particle.x << ", " << particle.y << ", " << particle.z - << ") (" << particle.E << ", " << particle.pX << ", " - << particle.pY << ", " << particle.pZ << ")" << std::endl; - } + /* + * ================================================================ + * ================================================================ + * Step revert + * ================================================================ + * ================================================================ + */ void revertParticlesToLastStep(cl::CommandQueue& cl_queue) { - m_particles = m_particles_copy; - writeParticlesBuffer(cl_queue); + m_particle_X = m_particle_X_copy; + m_particle_Y = m_particle_Y_copy; + m_particle_Z = m_particle_Z_copy; + m_particle_pX = m_particle_pX_copy; + m_particle_pY = m_particle_pY_copy; + m_particle_pZ = m_particle_pZ_copy; + m_particle_E = m_particle_E_copy; + m_particle_M = m_particle_M_copy; + + writeParticleBuffer(cl_queue); } - void revert_dPToLastStep(cl::CommandQueue& cl_queue) { + void revertdPToLastStep(cl::CommandQueue& cl_queue) { m_dP = m_dP_copy; - write_dPBuffer(cl_queue); + writedPBuffer(cl_queue); } void revertInteractedBubbleFalseStateToLastStep(cl::CommandQueue& cl_queue) { - m_interactedBubbleFalseState = m_interactedBubbleFalseState_copy; + m_interacted_bubble_false_state = m_interacted_bubble_false_state_copy; writeInteractedBubbleFalseStateBuffer(cl_queue); } void revertPassedBubbleFalseStateToLastStep(cl::CommandQueue& cl_queue) { - m_passedBubbleFalseState = m_passedBubbleFalseState_copy; + m_passed_bubble_false_state = m_passed_bubble_false_state_copy; writePassedBubbleFalseStateBuffer(cl_queue); } void revertInteractedBubbleTrueStateToLastStep(cl::CommandQueue& cl_queue) { - m_interactedBubbleTrueState = m_interactedBubbleTrueState_copy; + m_interacted_bubble_true_state = m_interacted_bubble_true_state_copy; writeInteractedBubbleTrueStateBuffer(cl_queue); } void revertToLastStep(cl::CommandQueue& cl_queue) { revertParticlesToLastStep(cl_queue); - revert_dPToLastStep(cl_queue); + revertdPToLastStep(cl_queue); revertInteractedBubbleFalseStateToLastStep(cl_queue); revertInteractedBubbleTrueStateToLastStep(cl_queue); revertPassedBubbleFalseStateToLastStep(cl_queue); } - void makeParticlesCopy() { m_particles_copy = m_particles; } + void makeParticlesCopy() { + m_particle_X_copy = m_particle_X; + m_particle_Y_copy = m_particle_Y; + m_particle_Z_copy = m_particle_Z; + m_particle_pX_copy = m_particle_pX; + m_particle_pY_copy = m_particle_pY; + m_particle_pZ_copy = m_particle_pZ; + m_particle_E_copy = m_particle_E; + m_particle_M_copy = m_particle_M; + } void make_dPCopy() { m_dP_copy = m_dP; } void makeInteractedBubbleFalseStateCopy() { - m_interactedBubbleFalseState_copy = m_interactedBubbleFalseState; + m_interacted_bubble_false_state_copy = m_interacted_bubble_false_state; } void makePassedBubbleFalseStateCopy() { - m_passedBubbleFalseState_copy = m_passedBubbleFalseState; + m_passed_bubble_false_state_copy = m_passed_bubble_false_state; } void makeInteractedBubbleTrueStateCopy() { - m_interactedBubbleTrueState_copy = m_interactedBubbleTrueState; + m_interacted_bubble_true_state_copy = m_interacted_bubble_true_state; } void makeCopy() { @@ -453,9 +791,28 @@ class ParticleCollection { makePassedBubbleFalseStateCopy(); } + /* + * ================================================================ + * ================================================================ + * Print info + * ================================================================ + * ================================================================ + */ + void printParticleInfo(size_t i) { - Particle p = m_particles[i]; std::printf("X: (%.7f, %.7f, %.7f), P: (%.7f, %.7f, %.7f, %.7f), m: %.7f\n", - p.x, p.y, p.z, p.E, p.pX, p.pY, p.pZ, p.m); + m_particle_X[i], m_particle_Y[i], m_particle_Z[i], + m_particle_E[i], m_particle_pX[i], m_particle_pY[i], + m_particle_pZ[i], m_particle_M[i]); } + + void print_info(ConfigReader t_config, PhaseBubble& t_bubble); + + void print_particle_info(unsigned int i) { + std::cout << "(" << m_particle_X[i] << ", " << m_particle_Y[i] << ", " + << m_particle_Z[i] << ") (" << m_particle_E[i] << ", " + << m_particle_pX[i] << ", " << m_particle_pY[i] << ", " + << m_particle_pZ[i] << ")" << std::endl; + } + }; diff --git a/bubbleSim/simulation.cpp b/bubbleSim/simulation.cpp index a762e71..efffef9 100644 --- a/bubbleSim/simulation.cpp +++ b/bubbleSim/simulation.cpp @@ -4,12 +4,13 @@ Simulation::Simulation(int t_seed, numType t_max_dt, cl::Context& cl_context) { int openCLerrNum = 0; m_seed = t_seed; m_dt = t_max_dt; - m_step_dt = t_max_dt; + m_dt_current = t_max_dt; + m_dt_max = t_max_dt; m_timestepAdapter = TimestepAdapter(t_max_dt, t_max_dt); m_dP = 0.; m_dtBuffer = cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, - sizeof(numType), &m_step_dt, &openCLerrNum); - m_cyclicBoundaryOn = false; + sizeof(numType), &m_dt_current, &openCLerrNum); + m_boundaryOn = false; } Simulation::Simulation(int t_seed, numType t_max_dt, numType t_boundaryRadius, @@ -17,151 +18,400 @@ Simulation::Simulation(int t_seed, numType t_max_dt, numType t_boundaryRadius, int openCLerrNum = 0; m_seed = t_seed; m_dt = t_max_dt; - m_step_dt = t_max_dt; + m_dt_current = t_max_dt; + m_dt_max = t_max_dt; m_timestepAdapter = TimestepAdapter(t_max_dt, t_max_dt); m_dP = 0.; m_dtBuffer = cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, - sizeof(numType), &m_step_dt, &openCLerrNum); - m_cyclicBoundaryOn = true; - m_cyclicBoundaryRadius = t_boundaryRadius; - m_cyclicBoundaryRadiusBuffer = + sizeof(numType), &m_dt_current, &openCLerrNum); + m_boundaryOn = true; + m_boundaryRadius = t_boundaryRadius; + m_boundaryRadiusBuffer = cl::Buffer(cl_context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, - sizeof(numType), &m_cyclicBoundaryRadius, &openCLerrNum); + sizeof(numType), &m_boundaryRadius, &openCLerrNum); } -// No bubble -void Simulation::set_particle_step_buffers(ParticleCollection& t_particles, - CollisionCellCollection& cells, - cl::Kernel& t_particleStepKernel) { - t_particleStepKernel.setArg(0, t_particles.getParticlesBuffer()); - t_particleStepKernel.setArg(1, cells.getStructureRadiusBuffer()); - t_particleStepKernel.setArg(2, m_dtBuffer); +/* + * ================================================================ + * ================================================================ + * Kernel setup + * ================================================================ + * ================================================================ + */ + +// Just linear movement +void Simulation::setBuffersParticleStepLinear( + ParticleCollection& t_particles, cl::Kernel& t_kernel) { + int errNum; + errNum = t_kernel.setArg(0, t_particles.getParticleXBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle X coordinate buffer." + << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(1, t_particles.getParticleYBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle Y coordinate buffer." + << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(2, t_particles.getParticleZBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle Z coordinate buffer." + << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(3, t_particles.getParticleEBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle's energy buffer." << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(4, t_particles.getParticlepXBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle's momentum X coordinate buffer." + << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(5, t_particles.getParticlepYBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle's momentum Y coordinate buffer." + << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(6, t_particles.getParticlepZBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle's momentum Z coordinate buffer." + << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(7, m_dtBuffer); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize timestep buffer." << std::endl; + std::terminate(); + } }; // With a bubble -void Simulation::set_particle_step_buffers( +void Simulation::setBuffersParticleStepWithBubble( ParticleCollection& t_particles, PhaseBubble& t_bubble, - cl::Kernel& t_bubbleInteractionKernel) { + cl::Kernel& t_kernel) { int errNum; - errNum = - t_bubbleInteractionKernel.setArg(0, t_particles.getParticlesBuffer()); + errNum = t_kernel.setArg(0, t_particles.getParticleXBuffer()); if (errNum != CL_SUCCESS) { - std::cerr << "Couldn't initialize particles buffer." << std::endl; + std::cerr << "Couldn't initialize Particle X coordinate buffer." + << std::endl; std::terminate(); } - errNum = t_bubbleInteractionKernel.setArg(1, t_particles.get_dPBuffer()); + errNum = t_kernel.setArg(1, t_particles.getParticleYBuffer()); if (errNum != CL_SUCCESS) { - std::cerr << "Couldn't initialize dP buffer." << std::endl; + std::cerr << "Couldn't initialize Particle Y coordinate buffer." + << std::endl; std::terminate(); } - errNum = t_bubbleInteractionKernel.setArg( - 2, t_particles.getInteractedBubbleFalseStateBuffer()); + errNum = t_kernel.setArg(2, t_particles.getParticleZBuffer()); if (errNum != CL_SUCCESS) { - std::cerr << "Couldn't initialize InteractedFalse buffer." << std::endl; + std::cerr << "Couldn't initialize Particle Z coordinate buffer." + << std::endl; std::terminate(); } - errNum = t_bubbleInteractionKernel.setArg( - 3, t_particles.getPassedBubbleFalseStateBuffer()); + errNum = t_kernel.setArg(3, t_particles.getParticleEBuffer()); if (errNum != CL_SUCCESS) { - std::cerr << "Couldn't initialize PassedFalse buffer." << std::endl; + std::cerr << "Couldn't initialize Particle's energy buffer." << std::endl; std::terminate(); } - errNum = t_bubbleInteractionKernel.setArg( - 4, t_particles.getInteractedBubbleTrueStateBuffer()); + errNum = t_kernel.setArg(4, t_particles.getParticlepXBuffer()); if (errNum != CL_SUCCESS) { - std::cerr << "Couldn't initialize InteractedTrue buffer." << std::endl; + std::cerr << "Couldn't initialize Particle's momentum X coordinate buffer." + << std::endl; std::terminate(); } - errNum = t_bubbleInteractionKernel.setArg(5, t_bubble.getBubbleBuffer()); + errNum = t_kernel.setArg(5, t_particles.getParticlepYBuffer()); if (errNum != CL_SUCCESS) { - std::cerr << "Couldn't initialize Bubble buffer." << std::endl; + std::cerr << "Couldn't initialize Particle's momentum Y coordinate buffer." + << std::endl; std::terminate(); } - errNum = t_bubbleInteractionKernel.setArg(6, m_dtBuffer); + errNum = t_kernel.setArg(6, t_particles.getParticlepZBuffer()); if (errNum != CL_SUCCESS) { - std::cerr << "Couldn't initialize dt buffer." << std::endl; + std::cerr << "Couldn't initialize Particle's momentum Z coordinate buffer." + << std::endl; std::terminate(); } - errNum = t_bubbleInteractionKernel.setArg(7, t_particles.getMassInBuffer()); + errNum = t_kernel.setArg(7, t_particles.getParticleMBuffer()); if (errNum != CL_SUCCESS) { - std::cerr << "Couldn't initialize mass_in buffer." << std::endl; + std::cerr << "Couldn't initialize Particle's mass buffer." << std::endl; std::terminate(); } - errNum = t_bubbleInteractionKernel.setArg(8, t_particles.getMassOutBuffer()); + errNum = t_kernel.setArg(8, t_particles.getdPBuffer()); if (errNum != CL_SUCCESS) { - std::cerr << "Couldn't initialize mass_out buffer." << std::endl; + std::cerr << "Couldn't initialize Particle's pressure (dP) buffer." + << std::endl; std::terminate(); } errNum = - t_bubbleInteractionKernel.setArg(9, t_particles.getMassDelta2Buffer()); + t_kernel.setArg(9, t_particles.getInteractedBubbleFalseStateBuffer()); if (errNum != CL_SUCCESS) { - std::cerr << "Couldn't initialize Dm2 buffer." << std::endl; + std::cerr << "Couldn't initialize Particle's interaction (with bubble from " + "false vacuum) buffer." + << std::endl; std::terminate(); } - - if (m_cyclicBoundaryOn) { - errNum = t_bubbleInteractionKernel.setArg(10, m_cyclicBoundaryRadiusBuffer); - if (errNum != CL_SUCCESS) { - std::cerr << "Couldn't initialize cyclic boundary radius buffer." - << std::endl; - std::terminate(); - } + errNum = t_kernel.setArg(10, t_particles.getPassedBubbleFalseStateBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle's interaction (with bubble from " + "false vacuum) and passing buffer." + << std::endl; + std::terminate(); + } + errNum = + t_kernel.setArg(11, t_particles.getInteractedBubbleTrueStateBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle's interaction (with bubble from " + "true vacuum) buffer." + << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(12, t_bubble.getBubbleBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Bubble buffer." << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(13, t_particles.getMassInBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Mass In buffer." << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(14, t_particles.getMassOutBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Mass Out buffer." << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(15, t_particles.getDeltaMassSquaredBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Delta Mass Squared buffer." << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(16, m_dtBuffer); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize timestep buffer." << std::endl; + std::terminate(); } } -void Simulation::set_particle_interaction_buffers( - ParticleCollection& t_particles, CollisionCellCollection& cells, - cl::Kernel& t_cellAssignmentKernel, cl::Kernel& t_momentumRotationKernel) { - t_cellAssignmentKernel.setArg(0, t_particles.getParticlesBuffer()); - t_cellAssignmentKernel.setArg(1, cells.getCellCountInOneAxisBuffer()); - t_cellAssignmentKernel.setArg(2, cells.getCellLengthBuffer()); - t_cellAssignmentKernel.setArg(3, cells.getShiftVectorBuffer()); +// Mass inside the false vacuum is bigger +void Simulation::setBuffersParticleStepWithBubbleInverted( + ParticleCollection& t_particles, PhaseBubble& t_bubble, + cl::Kernel& t_kernel) { + Simulation::setBuffersParticleStepWithBubble(t_particles, t_bubble, + t_kernel); +} - t_momentumRotationKernel.setArg(0, t_particles.getParticlesBuffer()); - t_momentumRotationKernel.setArg(1, cells.getCellBuffer()); - t_momentumRotationKernel.setArg(2, cells.getCellCountBuffer()); +// With a bubble but all particles reflect back from the bubble wall +void Simulation::setBuffersParticleStepWithBubbleOnlyReflect( + ParticleCollection& t_particles, PhaseBubble& t_bubble, + cl::Kernel& t_kernel) { + int errNum; + errNum = t_kernel.setArg(0, t_particles.getParticleXBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle X coordinate buffer." + << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(1, t_particles.getParticleYBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle Y coordinate buffer." + << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(2, t_particles.getParticleZBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle Z coordinate buffer." + << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(3, t_particles.getParticleEBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle's energy buffer." << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(4, t_particles.getParticlepXBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle's momentum X coordinate buffer." + << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(5, t_particles.getParticlepYBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle's momentum Y coordinate buffer." + << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(6, t_particles.getParticlepZBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle's momentum Z coordinate buffer." + << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(7, t_particles.getdPBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle's pressure (dP) buffer." + << std::endl; + std::terminate(); + } + errNum = + t_kernel.setArg(8, t_particles.getInteractedBubbleFalseStateBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle's interaction (with bubble from " + "false vacuum) buffer." + << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(9, t_particles.getPassedBubbleFalseStateBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle's interaction (with bubble from " + "false vacuum) and passing buffer." + << std::endl; + std::terminate(); + } + errNum = + t_kernel.setArg(10, t_particles.getInteractedBubbleTrueStateBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Particle's interaction (with bubble from " + "true vacuum) buffer." + << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(11, t_bubble.getBubbleBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Bubble buffer." << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(12, t_particles.getMassInBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Mass In buffer." << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(13, t_particles.getMassOutBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Mass Out buffer." << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(14, t_particles.getDeltaMassSquaredBuffer()); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize Delta Mass Squared buffer." << std::endl; + std::terminate(); + } + errNum = t_kernel.setArg(15, m_dtBuffer); + if (errNum != CL_SUCCESS) { + std::cerr << "Couldn't initialize timestep buffer." << std::endl; + std::terminate(); + } } -void Simulation::set_particle_bounce_buffers(ParticleCollection& t_particles, - CollisionCellCollection& cells, - cl::Kernel& t_particleStepKernel) { - t_particleStepKernel.setArg(0, t_particles.getParticlesBuffer()); - t_particleStepKernel.setArg(1, cells.getStructureRadiusBuffer()); +void Simulation::setBuffersParticleBoundaryCheck( + ParticleCollection& t_particles, cl::Kernel& t_kernel) { + t_kernel.setArg(0, t_particles.getParticleXBuffer()); + t_kernel.setArg(1, t_particles.getParticleYBuffer()); + t_kernel.setArg(2, t_particles.getParticleZBuffer()); + t_kernel.setArg(3, m_boundaryRadiusBuffer); }; +void Simulation::setBuffersParticleBoundaryMomentumReflect( + ParticleCollection& t_particles, cl::Kernel& t_kernel) { + t_kernel.setArg(0, t_particles.getParticleXBuffer()); + t_kernel.setArg(1, t_particles.getParticleYBuffer()); + t_kernel.setArg(2, t_particles.getParticleZBuffer()); + t_kernel.setArg(3, t_particles.getParticlepXBuffer()); + t_kernel.setArg(4, t_particles.getParticlepYBuffer()); + t_kernel.setArg(5, t_particles.getParticlepZBuffer()); + t_kernel.setArg(6, m_boundaryRadiusBuffer); +} + +void Simulation::setBuffersRotateMomentum(ParticleCollection& t_particles, + CollisionCellCollection& t_cells, + cl::Kernel& t_kernel) { + t_kernel.setArg(0, t_particles.getParticleEBuffer()); + t_kernel.setArg(1, t_particles.getParticlepXBuffer()); + t_kernel.setArg(2, t_particles.getParticlepYBuffer()); + t_kernel.setArg(3, t_particles.getParticlepZBuffer()); + t_kernel.setArg(4, t_particles.getParticleCollisionCellIndexBuffer()); + t_kernel.setArg(5, t_cells.getCellBuffer()); +} + +void Simulation::setBuffersAssignParticleToCollisionCell( + ParticleCollection& t_particles, CollisionCellCollection& t_cells, + cl::Kernel& t_kernel) { + t_kernel.setArg(0, t_particles.getParticleXBuffer()); + t_kernel.setArg(1, t_particles.getParticleYBuffer()); + t_kernel.setArg(2, t_particles.getParticleZBuffer()); + t_kernel.setArg(3, t_particles.getParticleCollisionCellIndexBuffer()); + t_kernel.setArg(4, t_cells.getCellCountInOneAxisBuffer()); + t_kernel.setArg(5, t_cells.getCellLengthBuffer()); + t_kernel.setArg(6, t_cells.getShiftVectorBuffer()); +} + +void Simulation::setBuffersLabelParticleInBubbleCoordinate( + ParticleCollection& t_particles, PhaseBubble& t_bubble, + cl::Kernel& t_kernel) { + t_kernel.setArg(0, t_particles.getParticleXBuffer()); + t_kernel.setArg(1, t_particles.getParticleYBuffer()); + t_kernel.setArg(2, t_particles.getParticleZBuffer()); + t_kernel.setArg(3, t_particles.getParticleInBubbleBuffer()); + t_kernel.setArg(4, t_bubble.getBubbleBuffer()); +} + +void Simulation::setBuffersLabelParticleInBubbleMass( + ParticleCollection& t_particles, cl::Kernel& t_kernel) { + t_kernel.setArg(0, t_particles.getParticleMBuffer()); + t_kernel.setArg(1, t_particles.getParticleInBubbleBuffer()); + t_kernel.setArg(2, t_particles.getMassInBuffer()); +} + +/* + * ================================================================ + * ================================================================ + * Simulation step + * ================================================================ + * ================================================================ + */ + +// Step with bubble kernel void Simulation::step(ParticleCollection& particles, PhaseBubble& bubble, - cl::Kernel& t_bubbleInteractionKernel, + cl::Kernel& t_particle_step_kernel, cl::CommandQueue& cl_queue) { // 1) Update timestep // numType bubbleStartSpeed = bubble.getSpeed(); m_timestepAdapter.calculateNewTimeStep(bubble); - m_step_dt = m_timestepAdapter.getTimestep(); + m_dt_current = m_timestepAdapter.getTimestep(); // Move timestep to GPU - write_dtBuffer(cl_queue); + writedtBuffer(cl_queue); // 2) Update data on GPU - bubble.calculateRadiusAfterStep2(m_step_dt); + bubble.calculateRadiusAfterStep2(m_dt_current); bubble.writeBubbleBuffer(cl_queue); // 3) Run kernel (move particles on GPU) - cl_queue.enqueueNDRangeKernel(t_bubbleInteractionKernel, cl::NullRange, + cl_queue.enqueueNDRangeKernel(t_particle_step_kernel, cl::NullRange, cl::NDRange(particles.getParticleCountTotal())); // 4 Read particle data from GPU after the step - particles.readParticlesBuffer(cl_queue); - particles.read_dPBuffer(cl_queue); + + // TODO: Energy summation on the GPU + // TODO: dP summation on the GPU + particles.readParticleEBuffer(cl_queue); + particles.readdPBuffer(cl_queue); // Calculate particle energy change -> pressure on the wall m_dP = 0.; numType currentTotalEnergy = 0.; - for (u_int i = 0; i < particles.getParticleCountTotal(); i++) { - m_dP += particles.get_dP()[i]; - currentTotalEnergy += particles.getParticleEnergy(i); + for (size_t i = 0; i < particles.getParticleCountTotal(); i++) { + m_dP += particles.returnParticledP(i); + currentTotalEnergy += particles.returnParticleE(i); } // Convert energy change to pressure m_dP = -m_dP / bubble.calculateArea(); // 5) Evolve bubble - bubble.evolveWall(m_step_dt, m_dP); + bubble.evolveWall(m_dt_current, m_dP); currentTotalEnergy += bubble.calculateEnergy(); /* In development: adaptive timestep ; step revert @@ -191,67 +441,73 @@ void Simulation::step(ParticleCollection& particles, PhaseBubble& bubble, // Update simulation info m_totalEnergy = currentTotalEnergy; - m_time += m_step_dt; - m_step += 1; + m_time += m_dt_current; + m_step_count += 1; // In development: step revert // particles.makeCopy(); // bubble.makeBubbleCopy(); } +// Step with bubble kernel and boundary condition +void Simulation::step(ParticleCollection& particles, PhaseBubble& bubble, + cl::Kernel& t_particle_step_kernel, + cl::Kernel& t_particle_boundary_check_kernel, + cl::CommandQueue& cl_queue) { + Simulation::step(particles, bubble, t_particle_step_kernel, cl_queue); + cl_queue.enqueueNDRangeKernel(t_particle_boundary_check_kernel, cl::NullRange, + cl::NDRange(particles.getParticleCountTotal())); +} + // Step for only calculating bubble void Simulation::step(PhaseBubble& bubble, numType t_dP) { m_time += m_dt; bubble.evolveWall(m_dt, t_dP); } -// Collision step +// Step with collisions void Simulation::step(ParticleCollection& particles, CollisionCellCollection& cells, RandomNumberGenerator& generator_collision, int i, - cl::Kernel& t_particleStepKernel, - cl::Kernel& t_cellAssignmentKernel, - cl::Kernel& t_rotationKernel, - cl::Kernel& t_particleBounceKernel, + cl::Kernel& t_particle_step_kernel, + cl::Kernel& t_assign_particle_to_collision_cell_kernel, + cl::Kernel& t_rotate_momentum_kernel, + cl::Kernel& t_particle_boundary_check_kernel, cl::CommandQueue& cl_queue) { - /* - * 1) Move particles - * 2) Solve boundaries - */ // Move particles - cl_queue.enqueueNDRangeKernel(t_particleStepKernel, cl::NullRange, + + cl_queue.enqueueNDRangeKernel(t_particle_step_kernel, cl::NullRange, cl::NDRange(particles.getParticleCountTotal())); - cl_queue.enqueueNDRangeKernel( - t_particleBounceKernel, cl::NullRange, - cl::NDRange(particles.getParticleCountTotal())); + particles.readParticleXBuffer(cl_queue); + cl_queue.enqueueNDRangeKernel(t_particle_boundary_check_kernel, cl::NullRange, + cl::NDRange(particles.getParticleCountTotal())); if (i % 1 == 0) { // Generate shift vector cells.generateShiftVector(generator_collision); cells.writeShiftVectorBuffer(cl_queue); - // Assign particles to collision cells cl_queue.enqueueNDRangeKernel( - t_cellAssignmentKernel, cl::NullRange, + t_assign_particle_to_collision_cell_kernel, cl::NullRange, cl::NDRange(particles.getParticleCountTotal())); - // Update particle data on CPU - particles.readParticlesBuffer(cl_queue); - + particles.readParticleCoordinatesBuffer(cl_queue); + particles.readParticleMomentumsBuffer(cl_queue); + particles.readParticleEBuffer(cl_queue); + particles.readParticleCollisionCellIndexBuffer(cl_queue); // Calculate COM and genrate rotation matrix for each cell - cells.recalculate_cells(particles.getParticles(), generator_collision); - - - // Update data on GPU - particles.writeParticlesBuffer(cl_queue); + cells.recalculate_cells(particles, generator_collision); + // Update collision cell data on GPU + particles.writeParticleCollisionCellIndexBuffer(cl_queue); cells.writeCollisionCellBuffer(cl_queue); + // Rotate momentum cl_queue.enqueueNDRangeKernel( - t_rotationKernel, cl::NullRange, + t_rotate_momentum_kernel, cl::NullRange, cl::NDRange(particles.getParticleCountTotal())); - //particles.readParticlesBuffer(cl_queue); - // Update simulation time - m_time += m_dt; - m_step += 1; + // particles.readParticlesBuffer(cl_queue); + // Update simulation time + m_time += m_dt_current; + m_step_count += 1; } } diff --git a/bubbleSim/simulation.h b/bubbleSim/simulation.h index db9d115..eda3803 100644 --- a/bubbleSim/simulation.h +++ b/bubbleSim/simulation.h @@ -11,52 +11,72 @@ class Simulation { public: - Simulation() {} + Simulation() { m_seed = 0; } Simulation(int t_seed, numType t_max_dt, cl::Context& cl_context); Simulation(int t_seed, numType t_max_dt, numType boundaryRadius, cl::Context& cl_context); - numType getTime() { return m_time; } - - numType get_dt() { return m_dt; } - - numType get_dt_currentStep() { return m_step_dt; } + void addInitialTotalEnergy(numType energy) { + assert(m_time == 0.); + m_initialTotalEnergy += energy; + m_totalEnergy += energy; + } - numType get_dP() { return m_dP; } + /* + * ================================================================ + * ================================================================ + * Kernel setup + * ================================================================ + * ================================================================ + */ + void setBuffersParticleStepLinear(ParticleCollection& t_particles, + cl::Kernel& t_kernel); - bool getCyclicBoundaryOn() { return m_cyclicBoundaryOn; } + void setBuffersParticleStepWithBubble( + ParticleCollection& t_particles, PhaseBubble& t_bubble, + cl::Kernel& t_bubbleInteractionKernel); - size_t getParticleCount() { return m_particleCount; } + void setBuffersParticleStepWithBubbleInverted( + ParticleCollection& t_particles, PhaseBubble& t_bubble, + cl::Kernel& t_kernel); - numType getTotalEnergy() { return m_totalEnergy; } + void setBuffersParticleStepWithBubbleOnlyReflect( + ParticleCollection& t_particles, PhaseBubble& t_bubble, + cl::Kernel& t_kernel); - numType getInitialTotalEnergy() { return m_initialTotalEnergy; } + void setBuffersParticleBoundaryCheck(ParticleCollection& t_particles, + cl::Kernel& t_kernel); - numType getInitialCompactnes() { return m_initialCompactness; } + void setBuffersParticleBoundaryMomentumReflect( + ParticleCollection& t_particles, cl::Kernel& t_kernel); - void setInitialCompactness(numType t_initialCompacntess) { - m_initialCompactness = t_initialCompacntess; - } + void setBuffersRotateMomentum(ParticleCollection& t_particles, + CollisionCellCollection& cells, + cl::Kernel& t_kernel); - void addInitialTotalEnergy(numType energy) { - assert(m_time == 0.); - m_initialTotalEnergy += energy; - m_totalEnergy += energy; - } + void setBuffersAssignParticleToCollisionCell( + ParticleCollection& t_particles, CollisionCellCollection& cells, + cl::Kernel& t_cellAssignmentKernel); - void set_dt(numType t_dt) { - if (t_dt <= 0.) { - std::cerr << "Set dt value is <= 0." << std::endl; - std::terminate(); - } - }; + void setBuffersLabelParticleInBubbleCoordinate( + ParticleCollection& t_particles, PhaseBubble& t_bubble, + cl::Kernel& t_kernel); - unsigned int getStep() { return m_step; } + void setBuffersLabelParticleInBubbleMass( + ParticleCollection& t_particles, cl::Kernel& t_kernel); + /* + * ================================================================ + * ================================================================ + * Simulation step + * ================================================================ + * ================================================================ + */ void step(PhaseBubble& bubble, numType t_dP); /* * Step with calculated dP value */ + void step(ParticleCollection& particles, PhaseBubble& bubble, cl::Kernel& t_bubbleInteractionKernel, cl::CommandQueue& cl_queue); @@ -66,37 +86,87 @@ class Simulation { cl::Kernel& t_cellAssignmentKernel, cl::Kernel& t_rotationKernel, cl::Kernel& t_particleBounceKernel, cl::CommandQueue& cl_queue); - void set_particle_step_buffers(ParticleCollection& t_particles, - PhaseBubble& t_bubble, - cl::Kernel& t_bubbleInteractionKernel); + void step(ParticleCollection& particles, PhaseBubble& bubble, + cl::Kernel& t_particle_step_kernel, + cl::Kernel& t_particle_boundary_check_kernel, + cl::CommandQueue& cl_queue); + /* + * ================================================================ + * ================================================================ + * Setters + * ================================================================ + * ================================================================ + */ - void set_particle_interaction_buffers(ParticleCollection& t_particles, - CollisionCellCollection& cells, - cl::Kernel& t_cellAssignmentKernel, - cl::Kernel& t_momentumRotationKernel); + void setInitialCompactness(numType t_initialCompacntess) { + m_initialCompactness = t_initialCompacntess; + } - void set_particle_step_buffers(ParticleCollection& t_particles, - CollisionCellCollection& cells, - cl::Kernel& t_particleStepKernel); + void set_dt(numType t_dt) { + if (t_dt <= 0.) { + std::cerr << "Set dt value is <= 0." << std::endl; + std::terminate(); + } + }; - void set_particle_bounce_buffers(ParticleCollection& t_particles, - CollisionCellCollection& cells, - cl::Kernel& t_particleStepKernel); + /* + * ================================================================ + * ================================================================ + * Getters + * ================================================================ + * ================================================================ + */ cl::Buffer& get_dtBuffer() { return m_dtBuffer; } - void read_dtBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueReadBuffer(m_dtBuffer, CL_TRUE, 0, sizeof(numType), - &m_step_dt); - } + unsigned int getStep() { return m_step_count; } + + numType getTime() { return m_time; } + + numType get_dt() { return m_dt; } + + numType get_dt_currentStep() { return m_dt_current; } + + numType get_dP() { return m_dP; } + + bool getCyclicBoundaryOn() { return m_boundaryOn; } + + size_t getParticleCount() { return m_particleCount; } + + numType getTotalEnergy() { return m_totalEnergy; } + + numType getInitialTotalEnergy() { return m_initialTotalEnergy; } + + numType getInitialCompactnes() { return m_initialCompactness; } - void write_dtBuffer(cl::CommandQueue& cl_queue) { + /* + * ================================================================ + * ================================================================ + * Buffer writers + * ================================================================ + * ================================================================ + */ + + void writedtBuffer(cl::CommandQueue& cl_queue) { cl_queue.enqueueWriteBuffer(m_dtBuffer, CL_TRUE, 0, sizeof(numType), - &m_step_dt); + &m_dt_current); } void writeAllBuffersToKernel(cl::CommandQueue& cl_queue) { - write_dtBuffer(cl_queue); + writedtBuffer(cl_queue); + } + + /* + * ================================================================ + * ================================================================ + * Buffer readers + * ================================================================ + * ================================================================ + */ + + void readdtBuffer(cl::CommandQueue& cl_queue) { + cl_queue.enqueueReadBuffer(m_dtBuffer, CL_TRUE, 0, sizeof(numType), + &m_dt_current); } private: @@ -104,17 +174,18 @@ class Simulation { // Simulation time state numType m_time = 0.; - u_int m_step = 0; + u_int m_step_count = 0; // One step time length numType m_dt; - numType m_step_dt; + numType m_dt_current; + numType m_dt_max; TimestepAdapter m_timestepAdapter; cl::Buffer m_dtBuffer; - bool m_cyclicBoundaryOn = false; - numType m_cyclicBoundaryRadius; - cl::Buffer m_cyclicBoundaryRadiusBuffer; + bool m_boundaryOn = false; + numType m_boundaryRadius; + cl::Buffer m_boundaryRadiusBuffer; // Simulation values numType m_initialCompactness = 0.; diff --git a/bubbleSim/source.cpp b/bubbleSim/source.cpp index 1e01cd1..fe55bd0 100644 --- a/bubbleSim/source.cpp +++ b/bubbleSim/source.cpp @@ -1,6 +1,9 @@ #define _CRT_SECURE_NO_WARNINGS #include "source.h" +// Collision is in development +bool b_COLLISION_DEVELOPMENT_ON = true; + std::string createFileNameFromCurrentDate() { static std::random_device rd; static std::mt19937 gen(rd()); @@ -75,9 +78,6 @@ int main(int argc, char* argv[]) { exit(0); } - // Collision is in development - bool b_collisionDevelopment = true; - // Read configs and kernel file std::string s_configPath = argv[1]; // "config.json" std::string s_kernelPath = argv[2]; // "kernel.cl"; @@ -105,13 +105,13 @@ int main(int argc, char* argv[]) { // 2) Initialize openCL (kernels, commandQueues) OpenCLLoader kernels(s_kernelPath, config.kernelName); - // 4) Generate particles ParticleGenerator particleGenerator1; // 4.1) Create generator (calculates distribution) - if (b_collisionDevelopment) { - particleGenerator1 = ParticleGenerator(config.particleMassFalse, 3.*config.particleTemperatureFalse); + if (b_COLLISION_DEVELOPMENT_ON) { + particleGenerator1 = ParticleGenerator( + config.particleMassFalse, 3. * config.particleTemperatureFalse); } else { particleGenerator1 = ParticleGenerator( config.particleMassFalse, config.particleTemperatureFalse, @@ -122,26 +122,31 @@ int main(int argc, char* argv[]) { // 4.2) Create arrays for particles which hold the data of the particles ParticleCollection particles( config.particleMassTrue, config.particleMassFalse, - config.particleTemperatureTrue, - config.particleTemperatureFalse, config.particleCountTrue, - config.particleCountFalse, + config.particleTemperatureTrue, config.particleTemperatureFalse, + config.particleCountTrue, config.particleCountFalse, config.parameterCoupling, config.bubbleIsTrueVacuum, kernels.getContext()); // 4.3) Generate particles numType genreatedParticleEnergy; - if (b_collisionDevelopment) { + if (b_COLLISION_DEVELOPMENT_ON) { genreatedParticleEnergy = particleGenerator1.generateNParticlesInBox( config.bubbleInitialRadius, (u_int)particles.getParticleCountTotal(), - rn_generator, particles.getParticles()); + rn_generator, particles.getParticleX(), particles.getParticleY(), + particles.getParticleZ(), particles.getParticlepX(), + particles.getParticlepY(), particles.getParticlepZ(), + particles.getParticleE(), particles.getParticleM()); } else { genreatedParticleEnergy = particleGenerator1.generateNParticlesInSphere( config.bubbleInitialRadius, (u_int)particles.getParticleCountTotal(), - rn_generator, particles.getParticles()); + rn_generator, particles.getParticleX(), particles.getParticleY(), + particles.getParticleZ(), particles.getParticlepX(), + particles.getParticlepY(), particles.getParticlepZ(), + particles.getParticleE(), particles.getParticleM()); } numType total_energy = 0; for (unsigned int i = 0; i < config.particleCountFalse; i++) { - total_energy += particles.getParticleEnergy(i); + total_energy += particles.returnParticleE(i); } particles.add_to_total_initial_energy(genreatedParticleEnergy); @@ -193,23 +198,27 @@ int main(int argc, char* argv[]) { CollisionCellCollection cells(config.collisionCellLength, config.collisionCellCount, false, kernels.getContext()); - if (b_collisionDevelopment) { - simulation.set_particle_interaction_buffers(particles, cells, - kernels.m_cellAssignmentKernel, - kernels.m_rotationKernel); - simulation.set_particle_bounce_buffers(particles, cells, - kernels.m_particleBounceKernel); + if (b_COLLISION_DEVELOPMENT_ON) { + simulation.setBuffersParticleStepLinear(particles, *stepKernel); + simulation.setBuffersParticleBoundaryCheck(particles, + kernels.m_particleBounceKernel); + simulation.setBuffersAssignParticleToCollisionCell( + particles, cells, kernels.m_cellAssignmentKernel); + simulation.setBuffersRotateMomentum(particles, cells, + kernels.m_rotationKernel); + + cells.writeAllBuffersToKernel(kernels.getCommandQueue()); } else { - simulation.set_particle_step_buffers(particles, bubble, *stepKernel); + simulation.setBuffersParticleStepWithBubble(particles, bubble, *stepKernel); } // Copy data to the GPU - particles.writeAllBuffersToKernel(kernels.getCommandQueue()); + particles.writeParticleCoordinatesBuffer(kernels.getCommandQueue()); + particles.writeParticleEBuffer(kernels.getCommandQueue()); + particles.writeParticleMomentumsBuffer(kernels.getCommandQueue()); + particles.writeParticleMBuffer(kernels.getCommandQueue()); simulation.writeAllBuffersToKernel(kernels.getCommandQueue()); bubble.writeAllBuffersToKernel(kernels.getCommandQueue()); - if (b_collisionDevelopment) { - cells.writeAllBuffersToKernel(kernels.getCommandQueue()); - } // 8) Streaming initialization std::string dataFolderName = createFileNameFromCurrentDate(); @@ -293,12 +302,14 @@ int main(int argc, char* argv[]) { (simulation.getTime() <= config.maxTime) && (config.m_maxSteps > 0 && simulation.getStep() < config.m_maxSteps); i++) { - - if (b_collisionDevelopment) { + particles.readParticleXBuffer(kernels.getCommandQueue()); + std::cout << "x: " << particles.returnParticleX(1) << std::endl; + if (b_COLLISION_DEVELOPMENT_ON) { simulation.step(particles, cells, rn_generator, i, *stepKernel, kernels.m_cellAssignmentKernel, kernels.m_rotationKernel, kernels.m_particleBounceKernel, kernels.getCommandQueue()); + } else { if (config.bubbleInteractionsOn) { simulation.step(particles, bubble, *stepKernel, diff --git a/configs/config.json b/configs/config.json index c7e112d..77c295d 100644 --- a/configs/config.json +++ b/configs/config.json @@ -1,15 +1,14 @@ - { "kernel":{ - "name": "particle_step" + "name": "particle_step_linear" }, "simulation": { "seed": 1, - "max_steps": 10000, + "max_steps": 200, "dt": 0.001, - "max_time": 15, + "max_time": 50, "cyclic_boundary_on": true, - "cyclic_boundary_radius": 500 + "cyclic_boundary_radius": 1 }, "parameters": { "alpha": 12.24727746868043, @@ -20,7 +19,7 @@ }, "bubble": { "initial_radius": 1, - "initial_speed": -0.9300433848366717, + "initial_speed": 0, "is_true_vacuum": false, "interaction_on": true }, @@ -29,18 +28,18 @@ "mass_true": 1, "T_false": 0.01, "T_true": 0.0, - "N_false": 750000, + "N_false": 100000, "N_true": 0 }, "collision": { "collision_on": false, - "N_cells": 71, - "cell_length": 0.03 + "N_cells": 37, + "cell_length": 0.055 }, "stream": { "stream": true, - "stream_time": 0.05, - "stream_step": 500, + "stream_time": 0.01, + "stream_step": 1000, "data_save_path": "data", "stream_data": true, "stream_density_profile": true, diff --git a/configs/test.json b/configs/test.json index 1515352..82cc314 100644 --- a/configs/test.json +++ b/configs/test.json @@ -1,6 +1,6 @@ { "kernel":{ - "name": "particle_step" + "name": "particle_step_linear" }, "simulation": { "seed": 1, diff --git a/configs/test_oclgrind.json b/configs/test_oclgrind.json index 8b7167c..b0abb38 100644 --- a/configs/test_oclgrind.json +++ b/configs/test_oclgrind.json @@ -1,6 +1,6 @@ { "kernel":{ - "name": "particle_bubble_step_cyclic" + "name": "particle_step_linear" }, "simulation": { "seed": 1, diff --git a/kernels/kernel.cl b/kernels/kernel.cl index 62c2c9f..3c3fc65 100644 --- a/kernels/kernel.cl +++ b/kernels/kernel.cl @@ -1,21 +1,5 @@ #pragma OPENCL EXTENSION cl_khr_fp64 : enable -// Particle type (also defined in c++ code) -typedef struct Particle { - double x; - double y; - double z; - - double pX; - double pY; - double pZ; - - double E; - double m; - char b_collide; - char b_inBubble; - int idxCollisionCell; -} Particle; // Bubble type (also defined in c++ code) typedef struct Bubble { double radius; @@ -32,788 +16,639 @@ typedef struct CollisionCell { double vX; double vY; double vZ; - + double x; double y; double z; double theta; - + double p_E; double p_x; double p_y; double p_z; - - double v2; // v2 = Sum: v_i^2 - double mass; + + double v2; // v2 = Sum: v_i^2 + double mass; unsigned int particle_count; } CollisionCell; /* * Given particle and it's velocity move it's location by time=dt. * Also this function already updates particle location. -*/ -void moveLinear( - // X_new = X_old + V * dt - Particle *particle, - double t_v1, double t_v2, double t_v3, - double t_dt - ) { - // x = x + v*dt - particle->x = fma(t_v1, t_dt, particle->x); - particle->y = fma(t_v2, t_dt, particle->y); - particle->z = fma(t_v3, t_dt, particle->z); - } + */ -/* - * Assuming sphere and point collision calculate time when these two collide. - * |r + v * dt|^2 = (R_b+V_b*dt)^2 -*/ -double calculateTimeToWall( - Particle particle, Bubble bubble, double t_dt - ) { - double time1, time2; - /* - * p = 4-vector - * P (capital) = 3-vector - */ - - // P*P/E^2 - V_b^2 - double a = fma(particle.pX, particle.pX, - fma(particle.pY, particle.pY, - fma(particle.pZ, particle.pZ, 0.)))/pow(particle.E, 2) - - bubble.speed * bubble.speed; - // X*P/E^2 - V_b^R_b - double b = fma(particle.x, particle.pX/particle.E, - fma(particle.y, particle.pY/particle.E, - fma(particle.z, particle.pZ/particle.E, - bubble.radius * bubble.speed))); - // X*X - R_b^2 - double c = fma(particle.x, particle.x, - fma(particle.y, particle.y, - fma(particle.z, particle.z, - bubble.radius * bubble.radius))); - - double d = fma(b, b, - a * c); - if (d < 0){ - return 0; - } - - time1 = (-b - sqrt(d))/a; - time2 = (-b + sqrt(d))/a; - if ((0 < time1) && (time1 <= t_dt)){ - return time1; - } - else if ((0 < time2) && (time2 <= t_dt)){ - return time2; - } - else{ - return 0.; - } +double moveLinear_new(double x, double v, double dt) { + // x = x + v*dt + return x + v * dt; } -/* - * Calculate normal for bubble wall. - * Direction is defined such that normal shows in the direction of mass growth. -*/ -void calculateNormal( - double *t_n1, double *t_n2, double *t_n3, - Particle particle, Bubble bubble, double t_X2, double t_mass_in, double t_mass_out - ){ - // If M_in > M_out then normal is towards center of bubble - if (t_mass_in > t_mass_out){ - *t_n1 = -particle.x * bubble.gamma/sqrt(t_X2); - *t_n2 = -particle.y * bubble.gamma/sqrt(t_X2); - *t_n3 = -particle.z * bubble.gamma/sqrt(t_X2); - } - // If M_in < M_out then normal is towards outside the bubble - else { - *t_n1 = particle.x * bubble.gamma/sqrt(t_X2); - *t_n2 = particle.y * bubble.gamma/sqrt(t_X2); - *t_n3 = particle.z * bubble.gamma/sqrt(t_X2); - } - } +// TODO: Remove if clauses? Make into single expression. Also check if time1 < +// time2. +double calculateTimeToWall_new(double x, double y, double z, double E, + double pX, double pY, double pZ, Bubble bubble, + double t_dt) { + // p_i*p^i / E^2 - V_b^2 + double a = fma(pX, pX, fma(pY, pY, fma(pZ, pZ, 0.))) / pow(E, 2) - + bubble.speed * bubble.speed; + // x_i* p^i / E - V_b^R_b + double b = fma(x, pX / E, + fma(y, pY / E, fma(z, pZ / E, -bubble.radius * bubble.speed))); + // x_i * x^i - R_b^2 + double c = fma(x, x, fma(y, y, fma(z, z, -bubble.radius * bubble.radius))); + double d = fma(b, b, -a * c); + + // Solve [-b +- sqrt(b^2 - a*c)]/a + // Select smallest positive solution. + + // No solutions -> Never collide + if (d < 0) { + return 0; + } -/* - * Take in particle and calculate it's radius from (0,0,0)=center of bubble. -*/ -double calculateRadiusSquared(Particle particle){ - return fma(particle.x, particle.x, fma(particle.y, particle.y, particle.z * particle.z)); + double time1, time2; + // Calculate two solutions + time1 = (-b - sqrt(d)) / a; + time2 = (-b + sqrt(d)) / a; + if ((0 < time1) && (time1 <= t_dt)) { + return time1; + } else if ((0 < time2) && (time2 <= t_dt)) { + return time2; + } + // Solution might exist but not for current step -> no solution between 0 < + // time < dt + else { + return 0.; + } } -/* - * Calculate particle energy -*/ -double calculateEnergy(Particle particle){ - return sqrt(fma(particle.pX, particle.pX, - fma(particle.pY, particle.pY, - fma(particle.pZ, particle.pZ, pow(particle.m, 2))))); +// TODO: Return only one sign normal and do sign change in the kernel code or +// somewhere else. All kernels are calculated directed "outside". +void calculateNormal_new(double *t_n1, double *t_n2, double *t_n3, double x, + double y, double z, Bubble bubble, double t_X2) { + // If M_in > M_out then normal is towards center of bubble + *t_n1 = x * bubble.gamma / sqrt(t_X2); + *t_n2 = y * bubble.gamma / sqrt(t_X2); + *t_n3 = z * bubble.gamma / sqrt(t_X2); } -__kernel void particle_bubble_step( - __global Particle *t_particles, - __global double *t_dP, - __global char *t_interactedFalse, - __global char *t_passedFalse, - __global char *t_interactedTrue, - __constant Bubble *t_bubble, - __constant double *t_dt, - __constant double *t_m_in, - __constant double *t_m_out, - __constant double *t_delta_m2 - ){ - - unsigned int gid = get_global_id(0); - /* - * t_dP is a array where each element is "pressure" by particle respective to it's index. - * t_dP is not actual pressure but actually energy change ΔE. Afterwards ΔP = ΔE/Area - */ - - // Bubble parameters - struct Bubble bubble = t_bubble[0]; - // Particle - struct Particle particle = t_particles[gid]; - - double M_in = t_m_in[0]; - double M_out = t_m_out[0]; - double Delta_M2 = t_delta_m2[0]; - double dt = t_dt[0]; - - /* - * Particle parameters - */ - - // Veloscity is needed to calculate if particle crosses bubble wall - double Vx = particle.pX/particle.E; - double Vy = particle.pY/particle.E; - double Vz = particle.pZ/particle.E; - // Particle radius -> check if particle inside the bubble - double X2 = calculateRadiusSquared(particle); - - // Particle coordinates after time dt assuming it's movement is linear. - double X_dt_x = fma(Vx, dt, particle.x); // x component - double X_dt_y = fma(Vy, dt, particle.y); // y component - double X_dt_z = fma(Vz, dt, particle.z); // z component - // fma(a, b, c) = a*b + c (optimized) - double X_dt2 = fma(X_dt_x, X_dt_x, fma( X_dt_y, X_dt_y, X_dt_z * X_dt_z)); - - double n_x, n_y, n_z; - double timeToWall, np; - - // If M_in < M_out -> Check if particle starts inside - // If M_in > M_out -> Check if particle starts outside - if (((X2 < bubble.radius2) && (M_in < M_out)) || ((X2 > bubble.radius2) && (M_in > M_out))){ - // If M_in < M_out -> Check if particle stays in - // If M_in > M_out -> Check if particle stays out - if (((X_dt2 < bubble.radiusAfterStep2) && (M_in < M_out)) || ((X_dt2 > bubble.radiusAfterStep2) && (M_in > M_out))) { - // If Particle stays inside the bubble then just move linear - moveLinear(&particle, Vx, Vy, Vz, dt); - t_dP[gid] = 0.; // Applies zero pressure. - } - // Particle collides with the bubble - else { - // Calculate time to wall and move the particle to the wall - timeToWall = calculateTimeToWall(particle, bubble, dt); - moveLinear(&particle, Vx, Vy, Vz, timeToWall); - // X2 must be used to calculate normal because "bubble" radius changes as well - // and current object bubble radius can't be used - X2 = calculateRadiusSquared(particle); - - // If M_in > M_out then normal is towards inside - // If M_in < M_out then normal is towards outside - calculateNormal(&n_x, &n_y, &n_z, particle, bubble, X2, M_in, M_out); - - // Calculate collision term - np = bubble.speed * bubble.gamma * particle.E - n_x*particle.pX - n_y*particle.pY - n_z*particle.pZ; - - // ========== Interaction with the bubble ========== - // Particle doesn't have enough energy to cross the bubble wall - // Particle keeps lower mass - if (np*np < Delta_M2){ - // Update particle 4-momentum after collision - particle.pX = fma(np*2., n_x, particle.pX); - particle.pY = fma(np*2., n_y, particle.pY); - particle.pZ = fma(np*2., n_z, particle.pZ); - // Calculate applied pressure - t_dP[gid] = bubble.gamma * np * 2. ; - particle.E = calculateEnergy(particle); - - //Particle only interacts - t_interactedFalse[gid] += 1; - } - // Particle crosses the bubble wall and gets new mass - else { - if (M_in < M_out){ - particle.m = M_out; - } - else { - particle.m = M_in; - } - // Calculate particle momentum after collision - particle.pX = fma(np * (1.-sqrt(1.-Delta_M2/pow(np, 2.))), n_x, particle.pX); - particle.pY = fma(np * (1.-sqrt(1.-Delta_M2/pow(np, 2.))), n_y, particle.pY); - particle.pZ = fma(np * (1.-sqrt(1.-Delta_M2/pow(np, 2.))), n_z, particle.pZ); - // Calculate applied pressure - t_dP[gid] = bubble.gamma * np * (1.-sqrt(1.-Delta_M2/pow(np, 2.))); - particle.E = calculateEnergy(particle); - - // Particle interacts and passes through - t_interactedFalse[gid] += 1; - t_passedFalse[gid] += 1; - - } - // Update particle velocity to move it amount of "dt - timeToWall" - Vx = particle.pX / particle.E; - Vy = particle.pY / particle.E; - Vz = particle.pZ / particle.E; - // ========== Movement after the bubble interaction ========== - moveLinear(&particle, Vx, Vy, Vz, dt - timeToWall); - } - } - // If M_in < M_out -> Then particle starts outside - // If M_in > M_out -> Then particle starts inside - else { - // If M_in < M_out -> Particle stays outside - // If M_in > M_out -> Particle stays inside - if (((X_dt2 > bubble.radiusAfterStep2) && (M_in < M_out)) || ((X_dt2 < bubble.radiusAfterStep2) && (M_in > M_out))) { - // If particle doesn't interact with the wall during time interval dt then move linear - moveLinear(&particle, Vx, Vy, Vz, dt); - t_dP[gid] = 0.; - } - // If M_in < M_out -> Particle goes inside from out of the bubble - // If M_in > M_out -> Particle goes outside from the bubble to inside - else { - // Calculate time till collision and move up to this point - timeToWall = calculateTimeToWall(particle, bubble, dt); - moveLinear(&particle, Vx, Vy, Vz, timeToWall); - X2 = calculateRadiusSquared(particle); - - // Calculate normal during the collision - calculateNormal(&n_x, &n_y, &n_z, particle, bubble, X2, M_in, M_out); - - // Calculate collision term - np = bubble.speed * bubble.gamma*particle.E - n_x*particle.pX - n_y*particle.pY - n_z*particle.pZ; - - // As particle moves from higher mass region to lower mass region - // only crossing wall is possible. - if (M_in < M_out) { - particle.m = M_in; - } - else { - particle.m = M_out; - } - - // Update momentum - particle.pX = fma(np * (1-sqrt(1+Delta_M2/pow(np, 2))), n_x, particle.pX); - particle.pY = fma(np * (1-sqrt(1+Delta_M2/pow(np, 2))), n_y, particle.pY); - particle.pZ = fma(np * (1-sqrt(1+Delta_M2/pow(np, 2))), n_z, particle.pZ); - // Calculate applied pressure - t_dP[gid] = bubble.gamma * np * (1.-sqrt(1.+Delta_M2/pow(np, 2.))); - particle.E = calculateEnergy(particle); - - // Update particle velocity and move amount of (dt - timeToWall) - Vx = particle.pX / particle.E; - Vy = particle.pY / particle.E; - Vz = particle.pZ / particle.E; - // Movement after the bubble interaction - moveLinear(&particle, Vx, Vy, Vz, dt - timeToWall); - // Particle interacts from the higher mass side - t_interactedTrue[gid] += 1; - } - } - - // Update particle information - t_particles[gid].x = particle.x; - t_particles[gid].y = particle.y; - t_particles[gid].z = particle.z; - t_particles[gid].pX = particle.pX; - t_particles[gid].pY = particle.pY; - t_particles[gid].pZ = particle.pZ; - t_particles[gid].E = particle.E; - t_particles[gid].m = particle.m; +double calculateDistanceFromCenter(double x, double y, double z) { + return sqrt(fma(x, x, fma(y, y, z * z))); } -__kernel void particle_bubble_step_cyclic( - __global Particle *t_particles, - __global double *t_dP, - __global char *t_interactedFalse, - __global char *t_passedFalse, - __global char *t_interactedTrue, - __constant Bubble *t_bubble, - __constant double *t_dt, - __constant double *t_m_in, - __constant double *t_m_out, - __constant double *t_delta_m2, - __constant double *t_cycleRadius - ){ - - unsigned int gid = get_global_id(0); - // dE - dP is not actual energy difference. dE = ΔE/R_b -> to avoid singularities/noise near R_b ~ 0 - - - // Bubble parameters - struct Bubble bubble = t_bubble[0]; - // Particle - struct Particle particle = t_particles[gid]; - - double M_in = t_m_in[0]; - double M_out = t_m_out[0]; - double Delta_M2 = t_delta_m2[0]; - - // Particle parameters - double dt = t_dt[0]; - - double Vx = particle.pX/particle.E; - double Vy = particle.pY/particle.E; - double Vz = particle.pZ/particle.E; - - double X2 = calculateRadiusSquared(particle); - - double X_dt_x = fma(Vx, dt, particle.x); - double X_dt_y = fma(Vy, dt, particle.y); - double X_dt_z = fma(Vz, dt, particle.z); - double X_dt2 = fma(X_dt_x, X_dt_x, fma( X_dt_y, X_dt_y, X_dt_z * X_dt_z)); - - double n_x, n_y, n_z; - double timeToWall, np; - - // Check if particle in false vacuum - // If M_in < M_out -> Check if particle starts inside - // If M_in > M_out -> Check if particle starts outside - if (((X2 < bubble.radius2) && (M_in < M_out)) || ((X2 > bubble.radius2) && (M_in > M_out))){ - // If M_in < M_out -> Check if particle stays in - // If M_in > M_out -> Check if particle stays out - if (((X_dt2 < bubble.radiusAfterStep2) && (M_in < M_out)) || ((X_dt2 > bubble.radiusAfterStep2) && (M_in > M_out))) { - // X_1 = fma(Vx, dt, X_1); - // X_2 = fma(Vy, dt, X_2); - // X_3 = fma(Vz, dt, X_3); - moveLinear(&particle, Vx, Vy, Vz, dt); - t_dP[gid] = 0.; - // t_interactedFalse[gid] += 0; - // t_passedFalse[gid] += 0; - // t_interactedTrue[gid] += 0; - } - // Maybe get outside - else { - timeToWall = calculateTimeToWall(particle, bubble, dt); - // X_1 = fma(Vx, timeToWall, X_1); - // X_2 = fma(Vy, timeToWall, X_2); - // X_3 = fma(Vz, timeToWall, X_3); - moveLinear(&particle, Vx, Vy, Vz, timeToWall); - // Update X2 - // double X2 = X_1 * X_1 + X_2 * X_2 + X_3 * X_3; - X2 = calculateRadiusSquared(particle); - // n_x = X_1 * Gamma/sqrt(X2); - // n_y = X_2 * Gamma/sqrt(X2); - // n_z = X_3 * Gamma/sqrt(X2); - - // If M_in > M_out then normal is towards inside - // If M_in < M_out then normal is towards outside - calculateNormal(&n_x, &n_y, &n_z, particle, bubble, X2, M_in, M_out); - - np = bubble.speed * bubble.gamma * particle.E - n_x*particle.pX - n_y*particle.pY - n_z*particle.pZ; - - // ========== Interaction with the bubble ========== - // Particle bounces from the wall and stays where it was -> Stays in lower mass region - // Particle keeps lower mass - if ((0 < -np) && (-np < sqrt(Delta_M2))){ - // P_i = P_i + 2 * np * n_i - particle.pX = fma(np*2., n_x, particle.pX); - particle.pY = fma(np*2., n_y, particle.pY); - particle.pZ = fma(np*2., n_z, particle.pZ); - t_dP[gid] = bubble.gamma * np * 2. ; - - // E_particle = sqrt(pow(M[gid], 2.) + P_1*P_1 + P_2*P_2 + P_3*P_3); - - particle.E = calculateEnergy(particle); - - t_interactedFalse[gid] += 1; - } - // Particle gets through the bubble wall -> Gets higher mass - // Particle gets higher mass - else if (-np >= sqrt(Delta_M2)) { - if (M_in < M_out){ - particle.m = M_out; - } - else { - particle.m = M_in; - } - - particle.pX = fma(np * (1.-sqrt(1.-Delta_M2/pow(np, 2.))), n_x, particle.pX); - particle.pY = fma(np * (1.-sqrt(1.-Delta_M2/pow(np, 2.))), n_y, particle.pY); - particle.pZ = fma(np * (1.-sqrt(1.-Delta_M2/pow(np, 2.))), n_z, particle.pZ); - t_dP[gid] = bubble.gamma * np * (1.-sqrt(1.-Delta_M2/pow(np, 2.))); - - particle.E = calculateEnergy(particle); - - t_interactedFalse[gid] += 1; - t_passedFalse[gid] += 1; - - } - else { - printf("Error -np<0, np=%.2f, i:%i\n", np, gid); - moveLinear(&particle, Vx, Vy, Vz, timeToWall); - } - - // Update velocity vector - Vx = particle.pX / particle.E; - Vy = particle.pY / particle.E; - Vz = particle.pZ / particle.E; - // ========== Movement after the bubble interaction ========== - moveLinear(&particle, Vx, Vy, Vz, dt - timeToWall); - } - } - - // If M_in < M_out -> Then particle starts outside - // If M_in > M_out -> Then particle starts inside - else { - // If M_in < M_out -> Particle stays outside - // If M_in > M_out -> Particle stays inside - if (((X_dt2 > bubble.radiusAfterStep2) && (M_in < M_out)) || ((X_dt2 < bubble.radiusAfterStep2) && (M_in > M_out))) { - // X_1 = fma(Vx, dt, X_1); - // X_2 = fma(Vy, dt, X_2); - // X_3 = fma(Vz, dt, X_3); - moveLinear(&particle, Vx, Vy, Vz, dt); - t_dP[gid] = 0.; - // t_interactedFalse[gid] += 0; - // t_passedFalse[gid] += 0; - // t_interactedTrue[gid] += 0; - } - // Particle gets lower mass - // If M_in < M_out -> Particle goes inside from out of the bubble - // If M_in > M_out -> Particle goes outside from the bubble to inside - else { - timeToWall = calculateTimeToWall(particle, bubble, dt); - // X_1 = fma(Vx, timeToWall, X_1); - // X_2 = fma(Vy, timeToWall, X_2); - // X_3 = fma(Vz, timeToWall, X_3); - moveLinear(&particle, Vx, Vy, Vz, timeToWall); - // Update X2 - // double X2 = X_1 * X_1 + X_2 * X_2 + X_3 * X_3; - X2 = calculateRadiusSquared(particle); - // n_x = X_1 * Gamma/sqrt(X2); - // n_y = X_2 * Gamma/sqrt(X2); - // n_z = X_3 * Gamma/sqrt(X2); - calculateNormal(&n_x, &n_y, &n_z, particle, bubble, X2, M_in, M_out); - - np = bubble.speed * bubble.gamma*particle.E - n_x*particle.pX - n_y*particle.pY - n_z*particle.pZ; - if (np > 0){ - // P_i = P_i + np * n_i * sqrt(1-sqrt(1+Δm^2/np^2)) - particle.pX = fma(np * (1-sqrt(1+Delta_M2/pow(np, 2))), n_x, particle.pX); - particle.pY = fma(np * (1-sqrt(1+Delta_M2/pow(np, 2))), n_y, particle.pY); - particle.pZ = fma(np * (1-sqrt(1+Delta_M2/pow(np, 2))), n_z, particle.pZ); - t_dP[gid] = bubble.gamma * np * (1.-sqrt(1.+Delta_M2/pow(np, 2.))); - - if (M_in < M_out) { - particle.m = M_in; - } - else { - particle.m = M_out; - } - - // E_particle = sqrt(M[gid]*M[gid] + P_1*P_1 + P_2*P_2 + P_3*P_3); - particle.E = calculateEnergy(particle); - } - - // Update velocity vector - Vx = particle.pX / particle.E; - Vy = particle.pY / particle.E; - Vz = particle.pZ / particle.E; - // Movement after the bubble interaction - //X_1 = fma(Vx, dt - timeToWall, X_1); - //X_2 = fma(Vy, dt - timeToWall, X_2); - //X_3 = fma(Vz, dt - timeToWall, X_3); - moveLinear(&particle, Vx, Vy, Vz, dt - timeToWall); - - //t_interactedFalse[gid] += 0; - //t_passedFalse[gid] += 0; - t_interactedTrue[gid] += 1; - } - } - /* - * ========== Cyclic condition ========== - * If -R_cyclic < particle.x < R_cyclic -> Then leave coordinate same - * If particle.x > R_cyclic -> Then particle.x = particle.x - 2 * R_cyclic - * If particle.x < -R_cyclic -> Then particle.x = particle.x + 2 * R_cyclic - */ - - double cyclicRadius = t_cycleRadius[0]; - particle.x = (cyclicRadius > fabs(particle.x)) * particle.x + - (particle.x > cyclicRadius) * (particle.x - 2*cyclicRadius) + - (particle.x < -cyclicRadius) * (particle.x + 2*cyclicRadius); - particle.y = (cyclicRadius > fabs(particle.y)) * particle.y + - (particle.y > cyclicRadius) * (particle.y - 2*cyclicRadius) + - (particle.y < -cyclicRadius) * (particle.y + 2*cyclicRadius); - particle.z = (cyclicRadius > fabs(particle.z)) * particle.z + - (particle.z > cyclicRadius) * (particle.z - 2*cyclicRadius) + - (particle.z < -cyclicRadius) * (particle.z + 2*cyclicRadius); - - t_particles[gid].x = particle.x; - t_particles[gid].y = particle.y; - t_particles[gid].z = particle.z; - - t_particles[gid].pX = particle.pX; - t_particles[gid].pY = particle.pY; - t_particles[gid].pZ = particle.pZ; - t_particles[gid].E = particle.E; - t_particles[gid].m = particle.m; +double calculateDistanceSquaredFromCenter(double x, double y, double z) { + return fma(x, x, fma(y, y, z * z)); } -__kernel void particle_bubble_step_cyclic_mass_inverted( - __global Particle *t_particles, - __global double *t_dP, - __global char *t_interactedFalse, - __global char *t_passedFalse, - __global char *t_interactedTrue, - __constant Bubble *t_bubble, - __constant double *t_dt, - __constant double *t_m_in, - __constant double *t_m_out, - __constant double *t_delta_m2, - __constant double *t_cycleRadius - ){ - - unsigned int gid = get_global_id(0); - // Mass inverted: Simualte situation where mass inside is higher - // dE - dP is not actual energy difference. dE = ΔE/R_b -> to avoid singularities/noise near R_b ~ 0 - - // Bubble parameters - struct Bubble bubble = t_bubble[0]; - // Particle - struct Particle particle = t_particles[gid]; - - double M_in = t_m_in[0]; - double M_out = t_m_out[0]; - double Delta_M2 = t_delta_m2[0]; - - // Particle parameters - double dt = t_dt[0]; - - double Vx = particle.pX/particle.E; - double Vy = particle.pY/particle.E; - double Vz = particle.pZ/particle.E; - - double X2 = calculateRadiusSquared(particle); - - double X_dt_x = fma(Vx, dt, particle.x); - double X_dt_y = fma(Vy, dt, particle.y); - double X_dt_z = fma(Vz, dt, particle.z); - double X_dt2 = fma(X_dt_x, X_dt_x, fma( X_dt_y, X_dt_y, X_dt_z * X_dt_z)); - - double n_x, n_y, n_z; - double timeToWall, np; - - // Check if particle in false vacuum - // If M_in < M_out -> Check if particle starts inside - // If M_in > M_out -> Check if particle starts outside - if (((X2 < bubble.radius2) && (M_out < M_in)) || ((X2 > bubble.radius2) && (M_out > M_in))){ - // If M_in < M_out -> Check if particle stays in - // If M_in > M_out -> Check if particle stays out - if (((X_dt2 < bubble.radiusAfterStep2) && (M_out < M_in)) || ((X_dt2 > bubble.radiusAfterStep2) && (M_out > M_in))) { - // X_1 = fma(Vx, dt, X_1); - // X_2 = fma(Vy, dt, X_2); - // X_3 = fma(Vz, dt, X_3); - moveLinear(&particle, Vx, Vy, Vz, dt); - t_dP[gid] = 0.; - // t_interactedFalse[gid] += 0; - // t_passedFalse[gid] += 0; - // t_interactedTrue[gid] += 0; - } - // Maybe get outside - else { - timeToWall = calculateTimeToWall(particle, bubble, dt); - // X_1 = fma(Vx, timeToWall, X_1); - // X_2 = fma(Vy, timeToWall, X_2); - // X_3 = fma(Vz, timeToWall, X_3); - moveLinear(&particle, Vx, Vy, Vz, timeToWall); - // Update X2 - // double X2 = X_1 * X_1 + X_2 * X_2 + X_3 * X_3; - X2 = calculateRadiusSquared(particle); - // n_x = X_1 * Gamma/sqrt(X2); - // n_y = X_2 * Gamma/sqrt(X2); - // n_z = X_3 * Gamma/sqrt(X2); - - // If M_in > M_out then normal is towards inside - // If M_in < M_out then normal is towards outside - calculateNormal(&n_x, &n_y, &n_z, particle, bubble, X2, M_out, M_in); - - np = bubble.speed * bubble.gamma * particle.E - n_x*particle.pX - n_y*particle.pY - n_z*particle.pZ; - - // ========== Interaction with the bubble ========== - // Particle bounces from the wall and stays where it was -> Stays in lower mass region - // Particle keeps lower mass - - if (-np > 0){ - // P_i = P_i + np * n_i * sqrt(1-sqrt(1+Δm^2/np^2)) - particle.pX = fma(np * (1-sqrt(1+Delta_M2/pow(np, 2))), n_x, particle.pX); - particle.pY = fma(np * (1-sqrt(1+Delta_M2/pow(np, 2))), n_y, particle.pY); - particle.pZ = fma(np * (1-sqrt(1+Delta_M2/pow(np, 2))), n_z, particle.pZ); - t_dP[gid] = bubble.gamma * np * (1.-sqrt(1.+Delta_M2/pow(np, 2.))); - - if (M_out < M_in) { - particle.m = M_out; - } - else { - particle.m = M_in; - } - - // E_particle = sqrt(M[gid]*M[gid] + P_1*P_1 + P_2*P_2 + P_3*P_3); - particle.E = calculateEnergy(particle); - t_interactedTrue[gid] += 1; - } - else { - printf("Error -np<0, np=%.2f, i:%i\n", np, gid); - moveLinear(&particle, Vx, Vy, Vz, timeToWall); - } - - - // Update velocity vector - Vx = particle.pX / particle.E; - Vy = particle.pY / particle.E; - Vz = particle.pZ / particle.E; - // ========== Movement after the bubble interaction ========== - moveLinear(&particle, Vx, Vy, Vz, dt - timeToWall); - } - } - - // If M_in < M_out -> Then particle starts outside - // If M_in > M_out -> Then particle starts inside - else { - // If M_in < M_out -> Particle stays outside - // If M_in > M_out -> Particle stays inside - if (((X_dt2 > bubble.radiusAfterStep2) && (M_out < M_in)) || ((X_dt2 < bubble.radiusAfterStep2) && (M_out > M_in))) { - // X_1 = fma(Vx, dt, X_1); - // X_2 = fma(Vy, dt, X_2); - // X_3 = fma(Vz, dt, X_3); - moveLinear(&particle, Vx, Vy, Vz, dt); - t_dP[gid] = 0.; - // t_interactedFalse[gid] += 0; - // t_passedFalse[gid] += 0; - // t_interactedTrue[gid] += 0; - } - // Particle gets lower mass - // If M_in < M_out -> Particle goes inside from out of the bubble - // If M_in > M_out -> Particle goes outside from the bubble to inside - else { - timeToWall = calculateTimeToWall(particle, bubble, dt); - // X_1 = fma(Vx, timeToWall, X_1); - // X_2 = fma(Vy, timeToWall, X_2); - // X_3 = fma(Vz, timeToWall, X_3); - moveLinear(&particle, Vx, Vy, Vz, timeToWall); - // Update X2 - // double X2 = X_1 * X_1 + X_2 * X_2 + X_3 * X_3; - X2 = calculateRadiusSquared(particle); - // n_x = X_1 * Gamma/sqrt(X2); - // n_y = X_2 * Gamma/sqrt(X2); - // n_z = X_3 * Gamma/sqrt(X2); - calculateNormal(&n_x, &n_y, &n_z, particle, bubble, X2, M_out, M_in); - - np = bubble.speed * bubble.gamma*particle.E - n_x*particle.pX - n_y*particle.pY - n_z*particle.pZ; - if ((0 < np) && (np < sqrt(Delta_M2))){ - printf("Error i:%f\n", np); - // P_i = P_i + 2 * np * n_i - particle.pX = fma(np*2., n_x, particle.pX); - particle.pY = fma(np*2., n_y, particle.pY); - particle.pZ = fma(np*2., n_z, particle.pZ); - t_dP[gid] = bubble.gamma * np * 2. ; - - // E_particle = sqrt(pow(M[gid], 2.) + P_1*P_1 + P_2*P_2 + P_3*P_3); - - particle.E = calculateEnergy(particle); - t_interactedFalse[gid] += 1; - } - // Particle gets through the bubble wall -> Gets higher mass - // Particle gets higher mass - else if (np >= sqrt(Delta_M2)) { - if (M_out < M_in){ - particle.m = M_in; - } - else { - particle.m = M_out; - } - - particle.pX = fma(np * (1.-sqrt(1.-Delta_M2/pow(np, 2.))), n_x, particle.pX); - particle.pY = fma(np * (1.-sqrt(1.-Delta_M2/pow(np, 2.))), n_y, particle.pY); - particle.pZ = fma(np * (1.-sqrt(1.-Delta_M2/pow(np, 2.))), n_z, particle.pZ); - t_dP[gid] = bubble.gamma * np * (1.-sqrt(1.-Delta_M2/pow(np, 2.))); - - particle.E = calculateEnergy(particle); - - t_interactedFalse[gid] += 1; - t_passedFalse[gid] += 1; - - } - else { - printf("Error -np<0, np=%.2f, i:%i\n", np, gid); - moveLinear(&particle, Vx, Vy, Vz, timeToWall); - } - - // Update velocity vector - Vx = particle.pX / particle.E; - Vy = particle.pY / particle.E; - Vz = particle.pZ / particle.E; - // Movement after the bubble interaction - //X_1 = fma(Vx, dt - timeToWall, X_1); - //X_2 = fma(Vy, dt - timeToWall, X_2); - //X_3 = fma(Vz, dt - timeToWall, X_3); - moveLinear(&particle, Vx, Vy, Vz, dt - timeToWall); - - //t_interactedFalse[gid] += 0; - //t_passedFalse[gid] += 0; - } - } - /* - * ========== Cyclic condition ========== - * If -R_cyclic < particle.x < R_cyclic -> Then leave coordinate same - * If particle.x > R_cyclic -> Then particle.x = particle.x - 2 * R_cyclic - * If particle.x < -R_cyclic -> Then particle.x = particle.x + 2 * R_cyclic - */ - - double cyclicRadius = t_cycleRadius[0]; - particle.x = (cyclicRadius > fabs(particle.x)) * particle.x + - (particle.x > cyclicRadius) * (particle.x - 2*cyclicRadius) + - (particle.x < -cyclicRadius) * (particle.x + 2*cyclicRadius); - particle.y = (cyclicRadius > fabs(particle.y)) * particle.y + - (particle.y > cyclicRadius) * (particle.y - 2*cyclicRadius) + - (particle.y < -cyclicRadius) * (particle.y + 2*cyclicRadius); - particle.z = (cyclicRadius > fabs(particle.z)) * particle.z + - (particle.z > cyclicRadius) * (particle.z - 2*cyclicRadius) + - (particle.z < -cyclicRadius) * (particle.z + 2*cyclicRadius); - - t_particles[gid].x = particle.x; - t_particles[gid].y = particle.y; - t_particles[gid].z = particle.z; - - t_particles[gid].pX = particle.pX; - t_particles[gid].pY = particle.pY; - t_particles[gid].pZ = particle.pZ; - t_particles[gid].E = particle.E; - t_particles[gid].m = particle.m; +double calculateParticleEnergy(double pX, double pY, double pZ, double mass) { + return sqrt(fma(pX, pX, fma(pY, pY, fma(pZ, pZ, pow(mass, 2))))); } +/* +============================================================================ +============================================================================ + Step +============================================================================ +============================================================================ +*/ +__kernel void particle_step_linear( + __global double *particles_X, __global double *particles_Y, + __global double *particles_Z, __global double *particles_E, + __global double *particles_pX, __global double *particles_pY, + __global double *particles_pZ, __constant double *t_dt) { + unsigned int gid = get_global_id(0); + + double E = particles_E[gid]; + double vX = particles_pX[gid] / E; + double vY = particles_pY[gid] / E; + double vZ = particles_pZ[gid] / E; + double dt = t_dt[0]; + + particles_X[gid] = moveLinear_new(particles_X[gid], vX, dt); + particles_Y[gid] = moveLinear_new(particles_Y[gid], vY, dt); + particles_Z[gid] = moveLinear_new(particles_Z[gid], vZ, dt); +} + +__kernel void particle_step_with_bubble( + __global double *particles_X, __global double *particles_Y, + __global double *particles_Z, __global double *particles_E, + __global double *particles_pX, __global double *particles_pY, + __global double *particles_pZ, __global double *particles_M, + __global double *t_dP, __global char *t_interactedFalse, + __global char *t_passedFalse, __global char *t_interactedTrue, + __constant Bubble *t_bubble, __constant double *t_m_in, + __constant double *t_m_out, __constant double *t_delta_m2, + __constant double *t_dt) { + unsigned int gid = get_global_id(0); + /* + * t_dP is a array where each element is "pressure" by particle respective to + * it's index. t_dP is not actual pressure but actually energy change ΔE. + * Afterwards ΔP = ΔE/Area + */ + + // Bubble parameters + struct Bubble bubble = t_bubble[0]; + // Particle + double x = particles_X[gid]; + double y = particles_Y[gid]; + double z = particles_Z[gid]; + double E = particles_E[gid]; + double pX = particles_pX[gid]; + double pY = particles_pY[gid]; + double pZ = particles_pZ[gid]; + double mass = particles_M[gid]; + + double M_in = t_m_in[0]; + double M_out = t_m_out[0]; + double Delta_M2 = t_delta_m2[0]; + double dt = t_dt[0]; + + // Particle velocity + double vX = pX / E; + double vY = pY / E; + double vZ = pZ / E; + + // Particle radius (squared) from the center + double X2 = calculateDistanceSquaredFromCenter(x, y, z); + + // Particle coordinates after dt assuming linear movement + double x_Vdt = fma(vX, dt, x); // x component + double y_Vdt = fma(vY, dt, y); // y component + double z_Vdt = fma(vZ, dt, z); // z component + + double X_dt2 = fma(x_Vdt, x_Vdt, fma(y_Vdt, y_Vdt, z_Vdt * z_Vdt)); + // Algorithm if mass inside the bubble is bigger + if (M_in < M_out) { + if (X2 < bubble.radius2) { + if (X_dt2 < bubble.radiusAfterStep2) { + x = x_Vdt; + y = y_Vdt; + z = z_Vdt; + t_dP[gid] = 0.; + } else { + double nX, nY, nZ; + double time_to_wall, np; + time_to_wall = + calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear_new(x, vX, time_to_wall); + y = moveLinear_new(y, vY, time_to_wall); + z = moveLinear_new(z, vZ, time_to_wall); + X2 = calculateDistanceSquaredFromCenter(x, y, z); + calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; + if (np * np < Delta_M2) { + // Update particle 4-momentum after collision + pX = fma(np * 2., nX, pX); + pY = fma(np * 2., nY, pY); + pZ = fma(np * 2., nZ, pZ); + // Calculate applied pressure + t_dP[gid] = bubble.gamma * np * 2.; + E = calculateParticleEnergy(pX, pY, pZ, M_in); + + // Particle only interacts + t_interactedFalse[gid] += 1; + } else { + particles_M[gid] = M_out; + + // Calculate particle momentum after collision + pX = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nX, pX); + pY = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nY, pY); + pZ = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nZ, pZ); + // Calculate applied pressure + t_dP[gid] = + bubble.gamma * np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))); + E = calculateParticleEnergy(pX, pY, pZ, M_out); + + // Particle interacts and passes through + t_interactedFalse[gid] += 1; + t_passedFalse[gid] += 1; + } + vX = pX / E; + vY = pY / E; + vZ = pZ / E; + // ========== Movement after the bubble interaction ========== + x = moveLinear_new(x, vX, dt - time_to_wall); + y = moveLinear_new(y, vY, dt - time_to_wall); + z = moveLinear_new(z, vZ, dt - time_to_wall); + } + } else { + if (X_dt2 > bubble.radiusAfterStep2) { + x = moveLinear_new(x, vX, dt); + y = moveLinear_new(y, vY, dt); + z = moveLinear_new(z, vZ, dt); + t_dP[gid] = 0.; + } else { + double nX, nY, nZ; + double time_to_wall, np; + time_to_wall = + calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear_new(x, vX, time_to_wall); + y = moveLinear_new(y, vY, time_to_wall); + z = moveLinear_new(z, vZ, time_to_wall); + X2 = calculateDistanceSquaredFromCenter(x, y, z); + + calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; + + particles_M[gid] = M_in; + pX = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nX, pX); + pY = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nY, pY); + pZ = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nZ, pZ); + + // Calculate applied pressure + t_dP[gid] = + bubble.gamma * np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))); + E = calculateParticleEnergy(pX, pY, pZ, M_in); + + // Update particle velocity and move amount of (dt - timeToWall) + vX = pX / E; + vY = pY / E; + vZ = pZ / E; + // Movement after the bubble interaction + x = moveLinear_new(x, vX, dt - time_to_wall); + y = moveLinear_new(y, vY, dt - time_to_wall); + z = moveLinear_new(z, vZ, dt - time_to_wall); + // Particle interacts from the higher mass side + t_interactedTrue[gid] += 1; + } + } + } else { + if (X2 > bubble.radius2) { + if (X_dt2 > bubble.radiusAfterStep2) { + x = moveLinear_new(x, vX, dt); + y = moveLinear_new(y, vY, dt); + z = moveLinear_new(z, vZ, dt); + t_dP[gid] = 0.; + } else { + double nX, nY, nZ; + double time_to_wall, np; + time_to_wall = + calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear_new(x, vX, time_to_wall); + y = moveLinear_new(y, vY, time_to_wall); + z = moveLinear_new(z, vZ, time_to_wall); + X2 = calculateDistanceSquaredFromCenter(x, y, z); + calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + // Change direction of the normal + nX = -nX; + nY = -nY; + nZ = -nZ; + + np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; + if (np * np < Delta_M2) { + // Update particle 4-momentum after collision + pX = fma(np * 2., nX, pX); + pY = fma(np * 2., nY, pY); + pZ = fma(np * 2., nZ, pZ); + // Calculate applied pressure + t_dP[gid] = bubble.gamma * np * 2.; + E = calculateParticleEnergy(pX, pY, pZ, M_in); + + // Particle only interacts + t_interactedFalse[gid] += 1; + } else { + particles_M[gid] = M_in; + + // Calculate particle momentum after collision + pX = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nX, pX); + pY = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nY, pY); + pZ = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nZ, pZ); + // Calculate applied pressure + t_dP[gid] = + bubble.gamma * np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))); + E = calculateParticleEnergy(pX, pY, pZ, M_out); + + // Particle interacts and passes through + t_interactedFalse[gid] += 1; + t_passedFalse[gid] += 1; + } + vX = pX / E; + vY = pY / E; + vZ = pZ / E; + // ========== Movement after the bubble interaction ========== + x = moveLinear_new(x, vX, dt - time_to_wall); + y = moveLinear_new(y, vY, dt - time_to_wall); + z = moveLinear_new(z, vZ, dt - time_to_wall); + } + } else { + if (X_dt2 < bubble.radiusAfterStep2) { + x = x_Vdt; + y = y_Vdt; + z = z_Vdt; + t_dP[gid] = 0.; + } else { + double nX, nY, nZ; + double time_to_wall, np; + time_to_wall = + calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear_new(x, vX, time_to_wall); + y = moveLinear_new(y, vY, time_to_wall); + z = moveLinear_new(z, vZ, time_to_wall); + X2 = calculateDistanceSquaredFromCenter(x, y, z); + + calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; + + particles_M[gid] = M_out; + pX = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nX, pX); + pY = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nY, pY); + pZ = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nZ, pZ); + + // Calculate applied pressure + t_dP[gid] = + bubble.gamma * np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))); + E = calculateParticleEnergy(pX, pY, pZ, M_in); + + // Update particle velocity and move amount of (dt - timeToWall) + vX = pX / E; + vY = pY / E; + vZ = pZ / E; + // Movement after the bubble interaction + x = moveLinear_new(x, vX, dt - time_to_wall); + y = moveLinear_new(y, vY, dt - time_to_wall); + z = moveLinear_new(z, vZ, dt - time_to_wall); + // Particle interacts from the higher mass side + t_interactedTrue[gid] += 1; + } + } + } + + particles_X[gid] = x; + particles_Y[gid] = y; + particles_Z[gid] = z; + particles_pX[gid] = pX; + particles_pY[gid] = pY; + particles_pZ[gid] = pZ; + particles_E[gid] = E; +} + +__kernel void particle_step_with_bubble_inverted( + __global double *particles_X, __global double *particles_Y, + __global double *particles_Z, __global double *particles_E, + __global double *particles_pX, __global double *particles_pY, + __global double *particles_pZ, __global double *particles_M, + __global double *t_dP, __global char *t_interactedFalse, + __global char *t_passedFalse, __global char *t_interactedTrue, + __constant Bubble *t_bubble, __constant double *t_m_in, + __constant double *t_m_out, __constant double *t_delta_m2, + __constant double *t_dt) { + unsigned int gid = get_global_id(0); + /* + * t_dP is a array where each element is "pressure" by particle respective to + * it's index. t_dP is not actual pressure but actually energy change ΔE. + * Afterwards ΔP = ΔE/Area + */ + + // Normal must be defined in the direction of mass decrease + + // Bubble parameters + struct Bubble bubble = t_bubble[0]; + + // Particle + double x = particles_X[gid]; + double y = particles_Y[gid]; + double z = particles_Z[gid]; + double E = particles_E[gid]; + double pX = particles_pX[gid]; + double pY = particles_pY[gid]; + double pZ = particles_pZ[gid]; + double mass = particles_M[gid]; + + double M_in = t_m_in[0]; + double M_out = t_m_out[0]; + double Delta_M2 = t_delta_m2[0]; + double dt = t_dt[0]; + + // Particle velocity + double vX = pX / E; + double vY = pY / E; + double vZ = pZ / E; + + // Particle radius (squared) from the center + double X2 = calculateDistanceSquaredFromCenter(x, y, z); + + // Particle coordinates after dt assuming linear movement + double x_Vdt = fma(vX, dt, x); // x component + double y_Vdt = fma(vY, dt, y); // y component + double z_Vdt = fma(vZ, dt, z); // z component + + double X_dt2 = fma(x_Vdt, x_Vdt, fma(y_Vdt, y_Vdt, z_Vdt * z_Vdt)); + + if (M_in < M_out) { + if (X2 < bubble.radius2) { + if (X_dt2 < bubble.radiusAfterStep2) { + x = x_Vdt; + y = y_Vdt; + z = z_Vdt; + t_dP[gid] = 0.; + } else { + double nX, nY, nZ; + double time_to_wall, np; + time_to_wall = + calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear_new(x, vX, time_to_wall); + y = moveLinear_new(y, vY, time_to_wall); + z = moveLinear_new(z, vZ, time_to_wall); + X2 = calculateDistanceSquaredFromCenter(x, y, z); + calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + nX = -nX; + nY = -nY; + nZ = -nZ; + + np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; + if (np * np < Delta_M2) { + // Update particle 4-momentum after collision + pX = fma(np * 2., nX, pX); + pY = fma(np * 2., nY, pY); + pZ = fma(np * 2., nZ, pZ); + // Calculate applied pressure + t_dP[gid] = bubble.gamma * np * 2.; + E = calculateParticleEnergy(pX, pY, pZ, M_in); + + // Particle only interacts + t_interactedFalse[gid] += 1; + } else { + particles_M[gid] = M_out; + + // Calculate particle momentum after collision + pX = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nX, pX); + pY = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nY, pY); + pZ = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nZ, pZ); + // Calculate applied pressure + t_dP[gid] = + bubble.gamma * np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))); + E = calculateParticleEnergy(pX, pY, pZ, M_out); + + // Particle interacts and passes through + t_interactedFalse[gid] += 1; + t_passedFalse[gid] += 1; + } + vX = pX / E; + vY = pY / E; + vZ = pZ / E; + // ========== Movement after the bubble interaction ========== + x = moveLinear_new(x, vX, dt - time_to_wall); + y = moveLinear_new(y, vY, dt - time_to_wall); + z = moveLinear_new(z, vZ, dt - time_to_wall); + } + } else { + if (X_dt2 > bubble.radiusAfterStep2) { + x = moveLinear_new(x, vX, dt); + y = moveLinear_new(y, vY, dt); + z = moveLinear_new(z, vZ, dt); + t_dP[gid] = 0.; + } else { + double nX, nY, nZ; + double time_to_wall, np; + time_to_wall = + calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear_new(x, vX, time_to_wall); + y = moveLinear_new(y, vY, time_to_wall); + z = moveLinear_new(z, vZ, time_to_wall); + X2 = calculateDistanceSquaredFromCenter(x, y, z); + + calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + nX = -nX; + nY = -nY; + nZ = -nZ; + + np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; + + particles_M[gid] = M_in; + pX = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nX, pX); + pY = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nY, pY); + pZ = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nZ, pZ); + + // Calculate applied pressure + t_dP[gid] = + bubble.gamma * np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))); + E = calculateParticleEnergy(pX, pY, pZ, M_in); + + // Update particle velocity and move amount of (dt - timeToWall) + vX = pX / E; + vY = pY / E; + vZ = pZ / E; + // Movement after the bubble interaction + x = moveLinear_new(x, vX, dt - time_to_wall); + y = moveLinear_new(y, vY, dt - time_to_wall); + z = moveLinear_new(z, vZ, dt - time_to_wall); + // Particle interacts from the higher mass side + t_interactedTrue[gid] += 1; + } + } + } else { + if (X2 > bubble.radius2) { + if (X_dt2 > bubble.radiusAfterStep2) { + x = x_Vdt; + y = y_Vdt; + z = z_Vdt; + t_dP[gid] = 0.; + } else { + double nX, nY, nZ; + double time_to_wall, np; + time_to_wall = + calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear_new(x, vX, time_to_wall); + y = moveLinear_new(y, vY, time_to_wall); + z = moveLinear_new(z, vZ, time_to_wall); + X2 = calculateDistanceSquaredFromCenter(x, y, z); + calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; + if (np * np < Delta_M2) { + // Update particle 4-momentum after collision + pX = fma(np * 2., nX, pX); + pY = fma(np * 2., nY, pY); + pZ = fma(np * 2., nZ, pZ); + // Calculate applied pressure + t_dP[gid] = bubble.gamma * np * 2.; + E = calculateParticleEnergy(pX, pY, pZ, M_in); + + // Particle only interacts + t_interactedFalse[gid] += 1; + } else { + particles_M[gid] = M_in; + + // Calculate particle momentum after collision + pX = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nX, pX); + pY = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nY, pY); + pZ = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nZ, pZ); + // Calculate applied pressure + t_dP[gid] = + bubble.gamma * np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))); + E = calculateParticleEnergy(pX, pY, pZ, M_out); + + // Particle interacts and passes through + t_interactedFalse[gid] += 1; + t_passedFalse[gid] += 1; + } + vX = pX / E; + vY = pY / E; + vZ = pZ / E; + // ========== Movement after the bubble interaction ========== + x = moveLinear_new(x, vX, dt - time_to_wall); + y = moveLinear_new(y, vY, dt - time_to_wall); + z = moveLinear_new(z, vZ, dt - time_to_wall); + } + } else { + if (X_dt2 < bubble.radiusAfterStep2) { + x = moveLinear_new(x, vX, dt); + y = moveLinear_new(y, vY, dt); + z = moveLinear_new(z, vZ, dt); + t_dP[gid] = 0.; + } else { + double nX, nY, nZ; + double time_to_wall, np; + time_to_wall = + calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear_new(x, vX, time_to_wall); + y = moveLinear_new(y, vY, time_to_wall); + z = moveLinear_new(z, vZ, time_to_wall); + X2 = calculateDistanceSquaredFromCenter(x, y, z); + + calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; + + particles_M[gid] = M_out; + pX = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nX, pX); + pY = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nY, pY); + pZ = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nZ, pZ); + + // Calculate applied pressure + t_dP[gid] = + bubble.gamma * np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))); + E = calculateParticleEnergy(pX, pY, pZ, M_in); + + // Update particle velocity and move amount of (dt - timeToWall) + vX = pX / E; + vY = pY / E; + vZ = pZ / E; + // Movement after the bubble interaction + x = moveLinear_new(x, vX, dt - time_to_wall); + y = moveLinear_new(y, vY, dt - time_to_wall); + z = moveLinear_new(z, vZ, dt - time_to_wall); + // Particle interacts from the higher mass side + t_interactedTrue[gid] += 1; + } + } + } -__kernel void particle_step( - __global Particle *t_particles, - __constant double *boundaryDistanceFromCenter, - __constant double *t_dt - ){ - unsigned int gid = get_global_id(0); - - Particle particle = t_particles[gid]; - double Vx = particle.pX/particle.E; - double Vy = particle.pY/particle.E; - double Vz = particle.pZ/particle.E; - - double dt = t_dt[0]; - - moveLinear(&particle, Vx, Vy, Vz, dt); - - t_particles[gid] = particle; + particles_X[gid] = x; + particles_Y[gid] = y; + particles_Z[gid] = z; + particles_pX[gid] = pX; + particles_pY[gid] = pY; + particles_pZ[gid] = pZ; + particles_E[gid] = E; } __kernel void particles_with_false_bubble_step_reflect( - __global Particle *t_particles, __global double *t_dP, + __global double *particles_X, __global double *particles_Y, + __global double *particles_Z, __global double *particles_E, + __global double *particles_pX, __global double *particles_pY, + __global double *particles_pZ, __global double *t_dP, __global char *t_interactedFalse, __global char *t_passedFalse, __global char *t_interactedTrue, __constant Bubble *t_bubble, - __constant double *t_dt, __constant double *t_m_in, - __constant double *t_m_out, __constant double *t_delta_m2, __constant double *t_cycleRadius) { + __constant double *t_m_in, __constant double *t_m_out, + __constant double *t_delta_m2, __constant double *t_dt) { unsigned int gid = get_global_id(0); // dE - dP is not actual energy difference. dE = ΔE/R_b -> to avoid // singularities/noise near R_b ~ 0 @@ -821,7 +656,13 @@ __kernel void particles_with_false_bubble_step_reflect( // Bubble parameters struct Bubble bubble = t_bubble[0]; // Particle - struct Particle particle = t_particles[gid]; + double x = particles_X[gid]; + double y = particles_Y[gid]; + double z = particles_Z[gid]; + double E = particles_E[gid]; + double pX = particles_pX[gid]; + double pY = particles_pY[gid]; + double pZ = particles_pZ[gid]; double M_in = t_m_in[0]; double M_out = t_m_out[0]; @@ -831,291 +672,341 @@ __kernel void particles_with_false_bubble_step_reflect( double dt = t_dt[0]; // Calculate particle velocity - double Vx = particle.pX / particle.E; - double Vy = particle.pY / particle.E; - double Vz = particle.pZ / particle.E; + double vX = pX / E; + double vY = pY / E; + double vZ = pZ / E; // fma(a, b, c) = a * b + c - double X2 = calculateRadiusSquared(particle); + double X2 = calculateDistanceSquaredFromCenter(x, y, z); // Calculate new coordinates if particle would move linearly // after time dt - double X_dt_x = fma(Vx, dt, particle.x); - double X_dt_y = fma(Vy, dt, particle.y); - double X_dt_z = fma(Vz, dt, particle.z); + double x_Vdt = fma(vX, dt, x); + double y_Vdt = fma(vY, dt, y); + double z_Vdt = fma(vZ, dt, z); // Find new particle radius (from the center) squared - double X_dt2 = fma(X_dt_x, X_dt_x, fma(X_dt_y, X_dt_y, X_dt_z * X_dt_z)); + double X_dt2 = fma(x_Vdt, x_Vdt, fma(y_Vdt, y_Vdt, z_Vdt * z_Vdt)); // Placholders for normal, time to wall, n·p (n and p are 4-vectors) - double n_x, n_y, n_z; - double timeToWall, np; - double collide_radius; if (((X2 < bubble.radius2) && (M_in < M_out))) { // move particles that stay in if ((X_dt2 < bubble.radiusAfterStep2) && (M_in < M_out)) { - particle.x = X_dt_x; - particle.y = X_dt_y; - particle.z = X_dt_z; + x = x_Vdt; + y = y_Vdt; + z = z_Vdt; t_dP[gid] = 0.; - } // reflect particles that would to get out else { - - timeToWall = calculateTimeToWall(particle, bubble, dt); - moveLinear(&particle, Vx, Vy, Vz, timeToWall); + double nX, nY, nZ; + double time_to_wall, np; + time_to_wall = + calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear_new(x, vX, time_to_wall); + y = moveLinear_new(y, vY, time_to_wall); + z = moveLinear_new(z, vZ, time_to_wall); + X2 = calculateDistanceSquaredFromCenter(x, y, z); // Update particle's radius squared value to calculate normal vector // Relativistic reflection algorithm // Calculate normal at the location where particle and bubble interact - collide_radius = pow(bubble.radius + timeToWall * bubble.speed, 2.); - calculateNormal(&n_x, &n_y, &n_z, particle, bubble, collide_radius, M_in, - M_out); - np = bubble.speed * bubble.gamma * particle.E - n_x * particle.pX - - n_y * particle.pY - n_z * particle.pZ; - - particle.pX = fma(np * 2., n_x, particle.pX); - particle.pY = fma(np * 2., n_y, particle.pY); - particle.pZ = fma(np * 2., n_z, particle.pZ); + calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; + + pX = fma(np * 2., nX, pX); + pY = fma(np * 2., nY, pY); + pZ = fma(np * 2., nZ, pZ); t_dP[gid] = bubble.gamma * np * 2.; // Update particle energy - particle.E = calculateEnergy(particle); + E = calculateParticleEnergy(pX, pY, pZ, M_in); // Count particle collision with the bubble wall t_interactedFalse[gid] += 1; // Update velocity vector - Vx = particle.pX / particle.E; - Vy = particle.pY / particle.E; - Vz = particle.pZ / particle.E; + vX = pX / E; + vY = pY / E; + vZ = pZ / E; // ========== Movement after the bubble interaction ========== - moveLinear(&particle, Vx, Vy, Vz, dt - timeToWall); + x = moveLinear_new(x, vX, time_to_wall); + y = moveLinear_new(y, vY, time_to_wall); + z = moveLinear_new(z, vZ, time_to_wall); } } else { - particle.x = 100000; - particle.y = 100000; - particle.z = 100000; + x = INFINITY; + y = INFINITY; + z = INFINITY; } - t_particles[gid].x = particle.x; - t_particles[gid].y = particle.y; - t_particles[gid].z = particle.z; + particles_X[gid] = x; + particles_Y[gid] = y; + particles_Z[gid] = z; + particles_pX[gid] = pX; + particles_pY[gid] = pY; + particles_pZ[gid] = pZ; + particles_E[gid] = E; +} - t_particles[gid].pX = particle.pX; - t_particles[gid].pY = particle.pY; - t_particles[gid].pZ = particle.pZ; - t_particles[gid].E = particle.E; - t_particles[gid].m = particle.m; +/* +============================================================================ +============================================================================ + Collision +============================================================================ +============================================================================ +*/ + +__kernel void rotate_momentum(__global double *particles_E, + __global double *particles_pX, + __global double *particles_pY, + __global double *particles_pZ, + __global int *particles_collision_cell_index, + __global CollisionCell *t_cells) { + unsigned int gid = get_global_id(0); + + // If in bubble then cell number is doubled and second half is in bubble + // cells. + if (particles_collision_cell_index[gid] != 0) { + CollisionCell cell = t_cells[particles_collision_cell_index[gid]]; + + double gamma_minus_one = cell.gamma - 1; + double gamma_minus_one_divided_cell_v2 = gamma_minus_one / cell.v2; + + double cos_theta = cos(cell.theta); + double one_minus_cos_theta = 1 - cos_theta; + double sin_theta = sin(cell.theta); + + double E = particles_E[gid]; + double pX_1 = particles_pX[gid]; + double pY_1 = particles_pY[gid]; + double pZ_1 = particles_pZ[gid]; + double pX_2, pY_2, pZ_2; + + if ((cell.particle_count > 1) && (cell.mass != 0)) { + // Lorentz transformation (to COM frame) + pX_2 = -E * cell.gamma * cell.vX + + pX_1 * (1 + cell.vX * cell.vX * gamma_minus_one_divided_cell_v2) + + pY_1 * cell.vX * cell.vY * gamma_minus_one_divided_cell_v2 + + pZ_1 * cell.vX * cell.vZ * gamma_minus_one_divided_cell_v2; + + pY_2 = -cell.gamma * E * cell.vY + + pY_1 * (1 + cell.vY * cell.vY * gamma_minus_one_divided_cell_v2) + + pX_1 * cell.vX * cell.vY * gamma_minus_one_divided_cell_v2 + + pZ_1 * cell.vY * cell.vZ * gamma_minus_one_divided_cell_v2; + + pZ_2 = -cell.gamma * E * cell.vZ + + pZ_1 * (1 + cell.vZ * cell.vZ * gamma_minus_one_divided_cell_v2) + + pX_1 * cell.vX * cell.vZ * gamma_minus_one_divided_cell_v2 + + pY_1 * cell.vY * cell.vZ * gamma_minus_one_divided_cell_v2; + E = cell.gamma * (E - pX_1 * cell.vX - pY_1 * cell.vY - pZ_1 * cell.vZ); + + // Rotate 3-momentum + pX_1 = + pX_2 * (cos_theta + pow(cell.x, 2) * one_minus_cos_theta) + + pY_2 * (cell.x * cell.y * one_minus_cos_theta - cell.z * sin_theta) + + pZ_2 * (cell.x * cell.z * one_minus_cos_theta + cell.y * sin_theta); + pY_1 = + pX_2 * (cell.x * cell.y * one_minus_cos_theta + cell.z * sin_theta) + + pY_2 * (cos_theta + pow(cell.y, 2) * one_minus_cos_theta) + + pZ_2 * (cell.y * cell.z * one_minus_cos_theta - cell.x * sin_theta); + pZ_1 = + pX_2 * (cell.x * cell.z * one_minus_cos_theta - cell.y * sin_theta) + + pY_2 * (cell.y * cell.z * one_minus_cos_theta + cell.x * sin_theta) + + pZ_2 * (cos_theta + pow(cell.z, 2) * one_minus_cos_theta); + + // Lorentz inverse transformation (to initial frame) + pX_2 = cell.gamma * E * cell.vX + + pX_1 * (1 + cell.vX * cell.vX * gamma_minus_one_divided_cell_v2) + + pY_1 * cell.vX * cell.vY * gamma_minus_one_divided_cell_v2 + + pZ_1 * cell.vX * cell.vZ * gamma_minus_one_divided_cell_v2; + + pY_2 = cell.gamma * E * cell.vY + + pY_1 * (1 + cell.vY * cell.vY * gamma_minus_one_divided_cell_v2) + + pX_1 * cell.vX * cell.vY * gamma_minus_one_divided_cell_v2 + + pZ_1 * cell.vY * cell.vZ * gamma_minus_one_divided_cell_v2; + + pZ_2 = cell.gamma * E * cell.vZ + + pZ_1 * (1 + cell.vZ * cell.vZ * gamma_minus_one_divided_cell_v2) + + pX_1 * cell.vX * cell.vZ * gamma_minus_one_divided_cell_v2 + + pY_1 * cell.vY * cell.vZ * gamma_minus_one_divided_cell_v2; + + E = cell.gamma * (E + pX_1 * cell.vX + pY_1 * cell.vY + pZ_1 * cell.vZ); + particles_E[gid] = E; + particles_pX[gid] = pX_2; + particles_pY[gid] = pY_2; + particles_pZ[gid] = pZ_2; + } + } } +/* +============================================================================ +============================================================================ + Labeling +============================================================================ +============================================================================ +*/ -__kernel void assign_particle_to_collision_cell( - __global Particle *t_particles, - __global const unsigned int *maxCellIndex, - __global const double *cellLength, - __global const double *cuboidShift - ){ - unsigned int gid = get_global_id(0); - - Particle particle = t_particles[gid]; - // Find cell numbers - int x_index = (int) ((particle.x + cellLength[0]*maxCellIndex[0]/2 + cuboidShift[0]) / cellLength[0]); - int y_index = (int) ((particle.y + cellLength[0]*maxCellIndex[0]/2 + cuboidShift[1]) / cellLength[0]); - int z_index = (int) ((particle.z + cellLength[0]*maxCellIndex[0]/2 + cuboidShift[2]) / cellLength[0]); - // Idx = 0 -> if particle is outside of the cuboid cell structure - // Convert cell number into 1D vector - if ((x_index < 0) || (x_index >= maxCellIndex[0])){ - t_particles[gid].idxCollisionCell = 0; - } - else if ((y_index < 0) || (y_index >= maxCellIndex[0])){ - t_particles[gid].idxCollisionCell = 0; - } - else if ((z_index < 0) || (z_index >= maxCellIndex[0])){ - t_particles[gid].idxCollisionCell = 0; - } - else { - t_particles[gid].idxCollisionCell = 1 + x_index + y_index * maxCellIndex[0] + z_index * maxCellIndex[0] * maxCellIndex[0]; - } - - //t_particles[gid].idxCollisionCell = x_index + y_index + z_index; +__kernel void label_particles_position_by_coordinate( + __global double *particles_X, __global double *particles_Y, + __global double *particles_Z, __global char *particles_bool_in_bubble, + __global Bubble *t_bubble) { + unsigned int gid = get_global_id(0); + double x = particles_X[gid]; + double y = particles_Y[gid]; + double z = particles_Z[gid]; + // If R_b^2 > R_x^2 then particle is inside the bubble + particles_bool_in_bubble[gid] = + fma(x, x, fma(y, y, z * z)) < t_bubble[0].radius2; } -__kernel void assign_particle_cell_index_two_phase( - __global Particle *t_particles, - __global const int *maxCellIndex, - __global const double *cellLength, - __global const double *cuboidShift // Random particle location shift - - ){ - unsigned int gid = get_global_id(0); - - Particle particle = t_particles[gid]; - // Find cell numbers - int a = (int) ((particle.x + cuboidShift[0]) / cellLength[0]); - int b = (int) ((particle.y + cuboidShift[1]) / cellLength[1]); - int c = (int) ((particle.z + cuboidShift[2]) / cellLength[2]); - // Idx = 0 -> if particle is outside of the cuboid cell structure - // Convert cell number into 1D vector. First half of the vector is for outisde the bubble and second half is inside the bubble - if ((a < 0) || (a >= maxCellIndex[0])){ - t_particles[gid].idxCollisionCell = 0; - } - else if ((b < 0) || (b >= maxCellIndex[1])){ - t_particles[gid].idxCollisionCell = 0; - } - else if ((c < 0) || (c >= maxCellIndex[2])){ - t_particles[gid].idxCollisionCell = 0; - } - else { - t_particles[gid].idxCollisionCell = 1 + a + b * maxCellIndex[0] + c * maxCellIndex[0] * maxCellIndex[1] + particle.b_inBubble * maxCellIndex[0] * maxCellIndex[1]*maxCellIndex[2]; - } - +__kernel void label_particles_position_by_mass( + __global double *particles_M, __global char *particle_in_bubble, + __global double *mass_in) { + unsigned int gid = get_global_id(0); + + // If R_b^2 > R_x^2 then particle is inside the bubble + particle_in_bubble[gid] = particles_M[gid] == mass_in[0]; } -__kernel void label_particles_position_by_coordinate( - __global Particle *t_particles, - __global Bubble *t_bubble - ){ - unsigned int gid = get_global_id(0); - - // If R_b^2 > R_x^2 then particle is inside the bubble - t_particles[gid].b_inBubble = fma( - t_particles[gid].x, t_particles[gid].x, - fma(t_particles[gid].y, t_particles[gid].y, - t_particles[gid].z * t_particles[gid].z )) < t_bubble[0].radius2; +__kernel void assign_particle_to_collision_cell( + __global double *particles_X, __global double *particles_Y, + __global double *particles_Z, __global int *m_particle_collision_cell_index, + __global const unsigned int *maxCellIndex, + __global const double *cellLength, __global const double *cuboidShift) { + unsigned int gid = get_global_id(0); + + // Find cell numbers + int x_index = (int)((particles_X[gid] + cellLength[0] * maxCellIndex[0] / 2 + + cuboidShift[0]) / + cellLength[0]); + int y_index = (int)((particles_Y[gid] + cellLength[0] * maxCellIndex[0] / 2 + + cuboidShift[1]) / + cellLength[0]); + int z_index = (int)((particles_Z[gid] + cellLength[0] * maxCellIndex[0] / 2 + + cuboidShift[2]) / + cellLength[0]); + // Idx = 0 -> if particle is outside of the cuboid cell structure + // Convert cell number into 1D vector + + if ((x_index < 0) || (x_index >= maxCellIndex[0])) { + m_particle_collision_cell_index[gid] = 0; + + } else if ((y_index < 0) || (y_index >= maxCellIndex[0])) { + m_particle_collision_cell_index[gid] = 0; + + } else if ((z_index < 0) || (z_index >= maxCellIndex[0])) { + m_particle_collision_cell_index[gid] = 0; + + } else { + m_particle_collision_cell_index[gid] = + 1 + x_index + y_index * maxCellIndex[0] + + z_index * maxCellIndex[0] * maxCellIndex[0]; + } } +__kernel void assign_particle_cell_index_two_phase( + __global double *particles_X, __global double *particles_Y, + __global double *particles_Z, __global int *m_particle_collision_cell_index, + __global char *particles_bool_in_bubble, __global const int *maxCellIndex, + __global const double *cellLength, + __global const double *cuboidShift // Random particle location shift + +) { + unsigned int gid = get_global_id(0); -__kernel void label_particles_position_by_mass( - __global Particle *t_particles, - __global double *mass_in - ){ - unsigned int gid = get_global_id(0); - - // If R_b^2 > R_x^2 then particle is inside the bubble - t_particles[gid].b_inBubble = t_particles[gid].m == mass_in[0]; + // Find cell numbers + int a = (int)((particles_X[gid] + cuboidShift[0]) / cellLength[0]); + int b = (int)((particles_Y[gid] + cuboidShift[1]) / cellLength[1]); + int c = (int)((particles_Z[gid] + cuboidShift[2]) / cellLength[2]); + // Idx = 0 -> if particle is outside of the cuboid cell structure + // Convert cell number into 1D vector. First half of the vector is for outisde + // the bubble and second half is inside the bubble + if ((a < 0) || (a >= maxCellIndex[0])) { + m_particle_collision_cell_index[gid] = 0; + } else if ((b < 0) || (b >= maxCellIndex[1])) { + m_particle_collision_cell_index[gid] = 0; + } else if ((c < 0) || (c >= maxCellIndex[2])) { + m_particle_collision_cell_index[gid] = 0; + } else { + m_particle_collision_cell_index[gid] = + 1 + a + b * maxCellIndex[0] + c * maxCellIndex[0] * maxCellIndex[1] + + particles_bool_in_bubble[gid] * maxCellIndex[0] * maxCellIndex[1] * + maxCellIndex[2]; + } } -__kernel void rotate_momentum( - __global Particle *t_particles, - __global CollisionCell *t_cells, - __global unsigned int *number_of_cells - ){ - unsigned int gid = get_global_id(0); - Particle particle = t_particles[gid]; - // If in bubble then cell number is doubled and second half is in bubble cells. - if (particle.idxCollisionCell != 0){ - CollisionCell cell = t_cells[particle.idxCollisionCell]; - - double gamma_minus_one = cell.gamma - 1; - double cos_theta = cos(cell.theta); - double one_minus_cos_theta = 1 - cos_theta; - double sin_theta = sin(cell.theta); - double p0, p1, p2, p3; - - if ((cell.particle_count > 1) && (cell.mass != 0)){ - // Lorentz boost - - p0 = cell.gamma * ( - particle.E - - particle.pX * cell.vX - - particle.pY * cell.vY - - particle.pZ * cell.vZ - ); - p1 = - particle.E * cell.gamma * cell.vX - + particle.pX * (1 + cell.vX * cell.vX * gamma_minus_one/cell.v2) - + particle.pY * cell.vX * cell.vY * gamma_minus_one/cell.v2 - + particle.pZ * cell.vX * cell.vZ * gamma_minus_one/cell.v2; - - p2 = -cell.gamma * particle.E * cell.vY - + particle.pY * (1 + cell.vY * cell.vY * gamma_minus_one/cell.v2) - + particle.pX * cell.vX * cell.vY * gamma_minus_one/cell.v2 - + particle.pZ * cell.vY * cell.vZ * gamma_minus_one/cell.v2; - - p3 = -cell.gamma * particle.E * cell.vZ - + particle.pZ * (1 + cell.vZ * cell.vZ * gamma_minus_one/cell.v2) - + particle.pX * cell.vX * cell.vZ * gamma_minus_one/cell.v2 - + particle.pY * cell.vY * cell.vZ * gamma_minus_one/cell.v2; - - particle.E = p0; - particle.pX = p1; - particle.pY = p2; - particle.pZ = p3; - - // Rotate momentum - p1 = particle.pX * (cos_theta + pow(cell.x, 2) * one_minus_cos_theta) + - particle.pY * (cell.x * cell.y * one_minus_cos_theta - cell.z * sin_theta) + - particle.pZ * (cell.x * cell.z * one_minus_cos_theta + cell.y * sin_theta); - p2 = particle.pX * (cell.x * cell.y * one_minus_cos_theta + cell.z * sin_theta) + - particle.pY * (cos_theta + pow(cell.y, 2) * one_minus_cos_theta) + - particle.pZ * (cell.y*cell.z*one_minus_cos_theta - cell.x * sin_theta); - p3 = particle.pX * (cell.x * cell.z * one_minus_cos_theta - cell.y * sin_theta) + - particle.pY * (cell.y * cell.z * one_minus_cos_theta + cell.x * sin_theta) + - particle.pZ * (cos_theta + pow(cell.z, 2) * one_minus_cos_theta); - - particle.pX = p1; - particle.pY = p2; - particle.pZ = p3; - - // Lorentz inverse transformation - p0 = cell.gamma * ( - particle.E - + particle.pX * cell.vX - + particle.pY * cell.vY - + particle.pZ * cell.vZ - ); - p1 = cell.gamma * particle.E * cell.vX - + particle.pX * (1 + cell.vX * cell.vX * gamma_minus_one/cell.v2) - + particle.pY * cell.vX * cell.vY * gamma_minus_one/cell.v2 - + particle.pZ * cell.vX * cell.vZ * gamma_minus_one/cell.v2; - - p2 = cell.gamma * particle.E * cell.vY - + particle.pY * (1 + cell.vY * cell.vY * gamma_minus_one/cell.v2) - + particle.pX * cell.vX * cell.vY * gamma_minus_one/cell.v2 - + particle.pZ * cell.vY * cell.vZ * gamma_minus_one/cell.v2; - - p3 = cell.gamma * particle.E * cell.vZ - + particle.pZ * (1 + cell.vZ * cell.vZ * gamma_minus_one/cell.v2) - + particle.pX * cell.vX * cell.vZ * gamma_minus_one/cell.v2 - + particle.pY * cell.vY * cell.vZ * gamma_minus_one/cell.v2; - - particle.E = p0; - particle.pX = p1; - particle.pY = p2; - particle.pZ = p3; - - t_particles[gid] = particle; - } - } - } - -__kernel void particle_boundary_check( - __global Particle *t_particles, - __global double *boundaryDistanceFromCenter // [x_delta] - ){ - unsigned int gid = get_global_id(0); - - Particle particle = t_particles[gid]; - - // If Particle is inside the boundary leave value same. Otherwise change the sign - - // abs(x) < Boundary -> leave momentum - // abs(x) > Boundary and x < -Boundary -> Set momentum positive - // abs(x) > Boundary and x > Boundary -> Set momentum negative - particle.pX = ( boundaryDistanceFromCenter[0] > fabs(particle.x)) * particle.pX + // If inside, leave momentum alone - ((boundaryDistanceFromCenter[0] < fabs(particle.x)) && (-boundaryDistanceFromCenter[0] > particle.x)) * fabs(particle.pX) - // particle too -, chane to + - ((boundaryDistanceFromCenter[0] < fabs(particle.x)) && (boundaryDistanceFromCenter[0] < particle.x)) * fabs(particle.pX); // particle too +, chane to - - particle.pY = ( boundaryDistanceFromCenter[0] > fabs(particle.y)) * particle.pY + - ((boundaryDistanceFromCenter[0] < fabs(particle.y)) && (-boundaryDistanceFromCenter[0] > particle.y)) * fabs(particle.pY) - - ((boundaryDistanceFromCenter[0] < fabs(particle.y)) && (boundaryDistanceFromCenter[0] < particle.y)) * fabs(particle.pY); - particle.pZ = ( boundaryDistanceFromCenter[0] > fabs(particle.z)) * particle.pZ + - ((boundaryDistanceFromCenter[0] < fabs(particle.z)) && (-boundaryDistanceFromCenter[0] > particle.z)) * fabs(particle.pZ) - - ((boundaryDistanceFromCenter[0] < fabs(particle.z)) && (boundaryDistanceFromCenter[0] < particle.z)) * fabs(particle.pZ); - - // Update result - t_particles[gid] = particle; +/* +============================================================================ +============================================================================ + Boundaries +============================================================================ +============================================================================ +*/ + +__kernel void particle_boundary_momentum_reflect( + __global double *particles_X, __global double *particles_Y, + __global double *particles_Z, __global double *particles_pX, + __global double *particles_pY, __global double *particles_pZ, + __global double *t_boundaryRadius // [x_delta] +) { + unsigned int gid = get_global_id(0); + + double boundaryRadius = t_boundaryRadius[0]; + double x = particles_X[gid]; + double y = particles_Y[gid]; + double z = particles_Z[gid]; + double pX = particles_pX[gid]; + double pY = particles_pY[gid]; + double pZ = particles_pZ[gid]; + + // If Particle is inside the boundary leave value same. Otherwise change the + // sign abs(x) < Boundary -> leave momentum abs(x) > Boundary and x < + // -Boundary -> Set momentum positive abs(x) > Boundary and x > Boundary -> + // Set momentum negative + pX = (boundaryRadius > fabs(x)) * pX + // If inside, leave momentum alone + ((boundaryRadius < fabs(x)) && (-boundaryRadius > x)) * + fabs(pX) - // particle too -, change to + + ((boundaryRadius < fabs(x)) && (boundaryRadius < x)) * + fabs(pX); // particle too +, change to - + pY = (boundaryRadius > fabs(y)) * pY + + ((boundaryRadius < fabs(y)) && (-boundaryRadius > y)) * fabs(pY) - + ((boundaryRadius < fabs(y)) && (boundaryRadius < y)) * fabs(pY); + pZ = (boundaryRadius > fabs(z)) * pZ + + ((boundaryRadius < fabs(z)) && (-boundaryRadius > z)) * fabs(pZ) - + ((boundaryRadius < fabs(z)) && (boundaryRadius < z)) * fabs(pZ); + + particles_pX[gid] = pX; + particles_pY[gid] = pY; + particles_pZ[gid] = pZ; } + +__kernel void particle_boundary_check(__global double *particles_X, + __global double *particles_Y, + __global double *particles_Z, + __global double *t_boundaryRadius) { + unsigned int gid = get_global_id(0); + + double x = particles_X[gid]; + double y = particles_Y[gid]; + double z = particles_Z[gid]; + double boundaryRadius = t_boundaryRadius[0]; + + x = (boundaryRadius > fabs(x)) * x + + (x > boundaryRadius) * (x - 2 * boundaryRadius) + + (x < -boundaryRadius) * (x + 2 * boundaryRadius); + y = (boundaryRadius > fabs(y)) * y + + (y > boundaryRadius) * (y - 2 * boundaryRadius) + + (y < -boundaryRadius) * (y + 2 * boundaryRadius); + z = (boundaryRadius > fabs(z)) * z + + (z > boundaryRadius) * (z - 2 * boundaryRadius) + + (z < -boundaryRadius) * (z + 2 * boundaryRadius); + + particles_X[gid] = x; + particles_Y[gid] = y; + particles_Z[gid] = z; +} \ No newline at end of file From 2658385dcc21f92def40f51da59573376c4d2a6d Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Wed, 5 Jul 2023 10:24:17 +0300 Subject: [PATCH 12/20] Fixing memory access bug --- bubbleSim/collision.cpp | 1 + bubbleSim/particle.h | 2 +- bubbleSim/simulation.cpp | 3 ++- kernels/kernel.cl | 3 +++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bubbleSim/collision.cpp b/bubbleSim/collision.cpp index 50c45ef..db82c22 100644 --- a/bubbleSim/collision.cpp +++ b/bubbleSim/collision.cpp @@ -116,6 +116,7 @@ void CollisionCellCollection::recalculate_cells(ParticleCollection& t_particles, m_collisionCells[i].particle_count = (cl_uint)0; continue; } + m_collisionCells[i].particle_count = (int)cell_values[i][4]; m_collisionCells[i].vX = cell_values[i][0] / cell_values[i][3]; m_collisionCells[i].vY = cell_values[i][1] / cell_values[i][3]; diff --git a/bubbleSim/particle.h b/bubbleSim/particle.h index 8e82065..43c5cab 100644 --- a/bubbleSim/particle.h +++ b/bubbleSim/particle.h @@ -485,7 +485,7 @@ class ParticleCollection { void writeParticleCollisionCellIndexBuffer(cl::CommandQueue& cl_queue) { cl_queue.enqueueWriteBuffer( m_particle_collision_cell_index_buffer, CL_TRUE, 0, - m_particle_collision_cell_index.size() * sizeof(int8_t), + m_particle_collision_cell_index.size() * sizeof(cl_int), m_particle_collision_cell_index.data()); } diff --git a/bubbleSim/simulation.cpp b/bubbleSim/simulation.cpp index efffef9..ae6a4f1 100644 --- a/bubbleSim/simulation.cpp +++ b/bubbleSim/simulation.cpp @@ -497,10 +497,11 @@ void Simulation::step(ParticleCollection& particles, particles.readParticleCollisionCellIndexBuffer(cl_queue); // Calculate COM and genrate rotation matrix for each cell cells.recalculate_cells(particles, generator_collision); + std::cout << "Theta (cpu): " << cells.getCollisionCells()[312].theta << std::endl; + // Update collision cell data on GPU particles.writeParticleCollisionCellIndexBuffer(cl_queue); cells.writeCollisionCellBuffer(cl_queue); - // Rotate momentum cl_queue.enqueueNDRangeKernel( t_rotate_momentum_kernel, cl::NullRange, diff --git a/kernels/kernel.cl b/kernels/kernel.cl index 3c3fc65..ace388d 100644 --- a/kernels/kernel.cl +++ b/kernels/kernel.cl @@ -770,6 +770,9 @@ __kernel void rotate_momentum(__global double *particles_E, // If in bubble then cell number is doubled and second half is in bubble // cells. if (particles_collision_cell_index[gid] != 0) { + if (gid==0){ + printf("Theta (gpu): %.6f\n", t_cells[312].theta); + } CollisionCell cell = t_cells[particles_collision_cell_index[gid]]; double gamma_minus_one = cell.gamma - 1; From fee428c938c937a9bfa193db2b1276600c0c8367 Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Wed, 5 Jul 2023 10:45:56 +0300 Subject: [PATCH 13/20] Cleaning --- bubbleSim/particle.h | 2 +- bubbleSim/simulation.cpp | 1 - bubbleSim/source.cpp | 9 ++++++++- kernels/kernel.cl | 3 --- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/bubbleSim/particle.h b/bubbleSim/particle.h index 43c5cab..4c7e4e0 100644 --- a/bubbleSim/particle.h +++ b/bubbleSim/particle.h @@ -478,7 +478,7 @@ class ParticleCollection { void writeParticleInBubbelBuffer(cl::CommandQueue & cl_queue) { cl_queue.enqueueWriteBuffer( m_particle_bool_in_bubble_buffer, CL_TRUE, 0, - m_particle_bool_in_bubble.size() * sizeof(int8_t), + m_particle_bool_in_bubble.size() * sizeof(cl_char), m_particle_bool_in_bubble.data()); } diff --git a/bubbleSim/simulation.cpp b/bubbleSim/simulation.cpp index ae6a4f1..ecbffd3 100644 --- a/bubbleSim/simulation.cpp +++ b/bubbleSim/simulation.cpp @@ -497,7 +497,6 @@ void Simulation::step(ParticleCollection& particles, particles.readParticleCollisionCellIndexBuffer(cl_queue); // Calculate COM and genrate rotation matrix for each cell cells.recalculate_cells(particles, generator_collision); - std::cout << "Theta (cpu): " << cells.getCollisionCells()[312].theta << std::endl; // Update collision cell data on GPU particles.writeParticleCollisionCellIndexBuffer(cl_queue); diff --git a/bubbleSim/source.cpp b/bubbleSim/source.cpp index fe55bd0..464ca75 100644 --- a/bubbleSim/source.cpp +++ b/bubbleSim/source.cpp @@ -303,7 +303,14 @@ int main(int argc, char* argv[]) { (config.m_maxSteps > 0 && simulation.getStep() < config.m_maxSteps); i++) { particles.readParticleXBuffer(kernels.getCommandQueue()); - std::cout << "x: " << particles.returnParticleX(1) << std::endl; + particles.readParticlepXBuffer(kernels.getCommandQueue()); + particles.readParticleCollisionCellIndexBuffer(kernels.getCommandQueue()); + std::cout << "X: " << particles.returnParticleX(1) + << ", Px: " << particles.returnParticlepX(1) + << ", Idx: " << particles.returnCollisionCellIndex(1) + << std::endl; + + if (b_COLLISION_DEVELOPMENT_ON) { simulation.step(particles, cells, rn_generator, i, *stepKernel, kernels.m_cellAssignmentKernel, kernels.m_rotationKernel, diff --git a/kernels/kernel.cl b/kernels/kernel.cl index ace388d..3c3fc65 100644 --- a/kernels/kernel.cl +++ b/kernels/kernel.cl @@ -770,9 +770,6 @@ __kernel void rotate_momentum(__global double *particles_E, // If in bubble then cell number is doubled and second half is in bubble // cells. if (particles_collision_cell_index[gid] != 0) { - if (gid==0){ - printf("Theta (gpu): %.6f\n", t_cells[312].theta); - } CollisionCell cell = t_cells[particles_collision_cell_index[gid]]; double gamma_minus_one = cell.gamma - 1; From b0a6978e251435fcf461317626b92da3363a30d1 Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Mon, 10 Jul 2023 16:38:14 +0300 Subject: [PATCH 14/20] Working collision algortihm --- .gitignore | 3 ++ bubbleSim/collision.cpp | 47 ++++++++++++-------- bubbleSim/collision.h | 15 +++---- bubbleSim/particle.cpp | 4 +- bubbleSim/particle.h | 10 ++--- bubbleSim/simulation.cpp | 27 ++++++------ bubbleSim/source.cpp | 14 ++---- configs/collapse_scan/config1.json | 44 ------------------- configs/collapse_scan/config10.json | 44 ------------------- configs/collapse_scan/config100.json | 44 ------------------- configs/collapse_scan/config101.json | 44 ------------------- configs/collapse_scan/config102.json | 44 ------------------- configs/collapse_scan/config103.json | 44 ------------------- configs/collapse_scan/config104.json | 44 ------------------- configs/collapse_scan/config105.json | 44 ------------------- configs/collapse_scan/config106.json | 44 ------------------- configs/collapse_scan/config107.json | 44 ------------------- configs/collapse_scan/config108.json | 44 ------------------- configs/collapse_scan/config109.json | 44 ------------------- configs/collapse_scan/config11.json | 44 ------------------- configs/collapse_scan/config110.json | 44 ------------------- configs/collapse_scan/config111.json | 44 ------------------- configs/collapse_scan/config112.json | 44 ------------------- configs/collapse_scan/config113.json | 44 ------------------- configs/collapse_scan/config114.json | 44 ------------------- configs/collapse_scan/config115.json | 44 ------------------- configs/collapse_scan/config116.json | 44 ------------------- configs/collapse_scan/config117.json | 44 ------------------- configs/collapse_scan/config118.json | 44 ------------------- configs/collapse_scan/config119.json | 44 ------------------- configs/collapse_scan/config12.json | 44 ------------------- configs/collapse_scan/config120.json | 44 ------------------- configs/collapse_scan/config121.json | 44 ------------------- configs/collapse_scan/config122.json | 44 ------------------- configs/collapse_scan/config123.json | 44 ------------------- configs/collapse_scan/config124.json | 44 ------------------- configs/collapse_scan/config125.json | 44 ------------------- configs/collapse_scan/config126.json | 44 ------------------- configs/collapse_scan/config127.json | 44 ------------------- configs/collapse_scan/config128.json | 44 ------------------- configs/collapse_scan/config129.json | 44 ------------------- configs/collapse_scan/config13.json | 44 ------------------- configs/collapse_scan/config130.json | 44 ------------------- configs/collapse_scan/config131.json | 44 ------------------- configs/collapse_scan/config132.json | 44 ------------------- configs/collapse_scan/config133.json | 44 ------------------- configs/collapse_scan/config134.json | 44 ------------------- configs/collapse_scan/config135.json | 44 ------------------- configs/collapse_scan/config136.json | 44 ------------------- configs/collapse_scan/config137.json | 44 ------------------- configs/collapse_scan/config138.json | 44 ------------------- configs/collapse_scan/config139.json | 44 ------------------- configs/collapse_scan/config14.json | 44 ------------------- configs/collapse_scan/config140.json | 44 ------------------- configs/collapse_scan/config141.json | 44 ------------------- configs/collapse_scan/config142.json | 44 ------------------- configs/collapse_scan/config143.json | 44 ------------------- configs/collapse_scan/config144.json | 44 ------------------- configs/collapse_scan/config145.json | 44 ------------------- configs/collapse_scan/config146.json | 44 ------------------- configs/collapse_scan/config147.json | 44 ------------------- configs/collapse_scan/config148.json | 44 ------------------- configs/collapse_scan/config149.json | 44 ------------------- configs/collapse_scan/config15.json | 44 ------------------- configs/collapse_scan/config150.json | 44 ------------------- configs/collapse_scan/config151.json | 44 ------------------- configs/collapse_scan/config152.json | 44 ------------------- configs/collapse_scan/config153.json | 44 ------------------- configs/collapse_scan/config154.json | 44 ------------------- configs/collapse_scan/config155.json | 44 ------------------- configs/collapse_scan/config156.json | 44 ------------------- configs/collapse_scan/config157.json | 44 ------------------- configs/collapse_scan/config158.json | 44 ------------------- configs/collapse_scan/config159.json | 44 ------------------- configs/collapse_scan/config16.json | 44 ------------------- configs/collapse_scan/config160.json | 44 ------------------- configs/collapse_scan/config161.json | 44 ------------------- configs/collapse_scan/config162.json | 44 ------------------- configs/collapse_scan/config163.json | 44 ------------------- configs/collapse_scan/config164.json | 44 ------------------- configs/collapse_scan/config165.json | 44 ------------------- configs/collapse_scan/config166.json | 44 ------------------- configs/collapse_scan/config167.json | 44 ------------------- configs/collapse_scan/config168.json | 44 ------------------- configs/collapse_scan/config169.json | 44 ------------------- configs/collapse_scan/config17.json | 44 ------------------- configs/collapse_scan/config170.json | 44 ------------------- configs/collapse_scan/config171.json | 44 ------------------- configs/collapse_scan/config172.json | 44 ------------------- configs/collapse_scan/config173.json | 44 ------------------- configs/collapse_scan/config174.json | 44 ------------------- configs/collapse_scan/config175.json | 44 ------------------- configs/collapse_scan/config176.json | 44 ------------------- configs/collapse_scan/config177.json | 44 ------------------- configs/collapse_scan/config178.json | 44 ------------------- configs/collapse_scan/config179.json | 44 ------------------- configs/collapse_scan/config18.json | 44 ------------------- configs/collapse_scan/config180.json | 44 ------------------- configs/collapse_scan/config181.json | 44 ------------------- configs/collapse_scan/config182.json | 44 ------------------- configs/collapse_scan/config183.json | 44 ------------------- configs/collapse_scan/config184.json | 44 ------------------- configs/collapse_scan/config185.json | 44 ------------------- configs/collapse_scan/config186.json | 44 ------------------- configs/collapse_scan/config187.json | 44 ------------------- configs/collapse_scan/config188.json | 44 ------------------- configs/collapse_scan/config189.json | 44 ------------------- configs/collapse_scan/config19.json | 44 ------------------- configs/collapse_scan/config190.json | 44 ------------------- configs/collapse_scan/config191.json | 44 ------------------- configs/collapse_scan/config192.json | 44 ------------------- configs/collapse_scan/config193.json | 44 ------------------- configs/collapse_scan/config194.json | 44 ------------------- configs/collapse_scan/config195.json | 44 ------------------- configs/collapse_scan/config196.json | 44 ------------------- configs/collapse_scan/config197.json | 44 ------------------- configs/collapse_scan/config198.json | 44 ------------------- configs/collapse_scan/config199.json | 44 ------------------- configs/collapse_scan/config2.json | 44 ------------------- configs/collapse_scan/config20.json | 44 ------------------- configs/collapse_scan/config200.json | 44 ------------------- configs/collapse_scan/config201.json | 44 ------------------- configs/collapse_scan/config202.json | 44 ------------------- configs/collapse_scan/config203.json | 44 ------------------- configs/collapse_scan/config204.json | 44 ------------------- configs/collapse_scan/config205.json | 44 ------------------- configs/collapse_scan/config206.json | 44 ------------------- configs/collapse_scan/config207.json | 44 ------------------- configs/collapse_scan/config208.json | 44 ------------------- configs/collapse_scan/config209.json | 44 ------------------- configs/collapse_scan/config21.json | 44 ------------------- configs/collapse_scan/config210.json | 44 ------------------- configs/collapse_scan/config211.json | 44 ------------------- configs/collapse_scan/config212.json | 44 ------------------- configs/collapse_scan/config213.json | 44 ------------------- configs/collapse_scan/config214.json | 44 ------------------- configs/collapse_scan/config215.json | 44 ------------------- configs/collapse_scan/config216.json | 44 ------------------- configs/collapse_scan/config217.json | 44 ------------------- configs/collapse_scan/config218.json | 44 ------------------- configs/collapse_scan/config219.json | 44 ------------------- configs/collapse_scan/config22.json | 44 ------------------- configs/collapse_scan/config220.json | 44 ------------------- configs/collapse_scan/config221.json | 44 ------------------- configs/collapse_scan/config222.json | 44 ------------------- configs/collapse_scan/config223.json | 44 ------------------- configs/collapse_scan/config224.json | 44 ------------------- configs/collapse_scan/config225.json | 44 ------------------- configs/collapse_scan/config226.json | 44 ------------------- configs/collapse_scan/config227.json | 44 ------------------- configs/collapse_scan/config228.json | 44 ------------------- configs/collapse_scan/config229.json | 44 ------------------- configs/collapse_scan/config23.json | 44 ------------------- configs/collapse_scan/config230.json | 44 ------------------- configs/collapse_scan/config231.json | 44 ------------------- configs/collapse_scan/config232.json | 44 ------------------- configs/collapse_scan/config233.json | 44 ------------------- configs/collapse_scan/config234.json | 44 ------------------- configs/collapse_scan/config235.json | 44 ------------------- configs/collapse_scan/config236.json | 44 ------------------- configs/collapse_scan/config237.json | 44 ------------------- configs/collapse_scan/config238.json | 44 ------------------- configs/collapse_scan/config239.json | 44 ------------------- configs/collapse_scan/config24.json | 44 ------------------- configs/collapse_scan/config240.json | 44 ------------------- configs/collapse_scan/config241.json | 44 ------------------- configs/collapse_scan/config242.json | 44 ------------------- configs/collapse_scan/config243.json | 44 ------------------- configs/collapse_scan/config244.json | 44 ------------------- configs/collapse_scan/config245.json | 44 ------------------- configs/collapse_scan/config246.json | 44 ------------------- configs/collapse_scan/config247.json | 44 ------------------- configs/collapse_scan/config248.json | 44 ------------------- configs/collapse_scan/config249.json | 44 ------------------- configs/collapse_scan/config25.json | 44 ------------------- configs/collapse_scan/config250.json | 44 ------------------- configs/collapse_scan/config251.json | 44 ------------------- configs/collapse_scan/config252.json | 44 ------------------- configs/collapse_scan/config253.json | 44 ------------------- configs/collapse_scan/config254.json | 44 ------------------- configs/collapse_scan/config255.json | 44 ------------------- configs/collapse_scan/config256.json | 44 ------------------- configs/collapse_scan/config257.json | 44 ------------------- configs/collapse_scan/config258.json | 44 ------------------- configs/collapse_scan/config259.json | 44 ------------------- configs/collapse_scan/config26.json | 44 ------------------- configs/collapse_scan/config260.json | 44 ------------------- configs/collapse_scan/config261.json | 44 ------------------- configs/collapse_scan/config262.json | 44 ------------------- configs/collapse_scan/config263.json | 44 ------------------- configs/collapse_scan/config264.json | 44 ------------------- configs/collapse_scan/config265.json | 44 ------------------- configs/collapse_scan/config266.json | 44 ------------------- configs/collapse_scan/config267.json | 44 ------------------- configs/collapse_scan/config268.json | 44 ------------------- configs/collapse_scan/config269.json | 44 ------------------- configs/collapse_scan/config27.json | 44 ------------------- configs/collapse_scan/config270.json | 44 ------------------- configs/collapse_scan/config271.json | 44 ------------------- configs/collapse_scan/config272.json | 44 ------------------- configs/collapse_scan/config273.json | 44 ------------------- configs/collapse_scan/config274.json | 44 ------------------- configs/collapse_scan/config275.json | 44 ------------------- configs/collapse_scan/config276.json | 44 ------------------- configs/collapse_scan/config277.json | 44 ------------------- configs/collapse_scan/config278.json | 44 ------------------- configs/collapse_scan/config279.json | 44 ------------------- configs/collapse_scan/config28.json | 44 ------------------- configs/collapse_scan/config280.json | 44 ------------------- configs/collapse_scan/config281.json | 44 ------------------- configs/collapse_scan/config282.json | 44 ------------------- configs/collapse_scan/config283.json | 44 ------------------- configs/collapse_scan/config284.json | 44 ------------------- configs/collapse_scan/config285.json | 44 ------------------- configs/collapse_scan/config286.json | 44 ------------------- configs/collapse_scan/config287.json | 44 ------------------- configs/collapse_scan/config288.json | 44 ------------------- configs/collapse_scan/config289.json | 44 ------------------- configs/collapse_scan/config29.json | 44 ------------------- configs/collapse_scan/config290.json | 44 ------------------- configs/collapse_scan/config291.json | 44 ------------------- configs/collapse_scan/config292.json | 44 ------------------- configs/collapse_scan/config293.json | 44 ------------------- configs/collapse_scan/config294.json | 44 ------------------- configs/collapse_scan/config295.json | 44 ------------------- configs/collapse_scan/config296.json | 44 ------------------- configs/collapse_scan/config297.json | 44 ------------------- configs/collapse_scan/config298.json | 44 ------------------- configs/collapse_scan/config299.json | 44 ------------------- configs/collapse_scan/config3.json | 44 ------------------- configs/collapse_scan/config30.json | 44 ------------------- configs/collapse_scan/config300.json | 44 ------------------- configs/collapse_scan/config301.json | 44 ------------------- configs/collapse_scan/config302.json | 44 ------------------- configs/collapse_scan/config303.json | 44 ------------------- configs/collapse_scan/config304.json | 44 ------------------- configs/collapse_scan/config305.json | 44 ------------------- configs/collapse_scan/config306.json | 44 ------------------- configs/collapse_scan/config307.json | 44 ------------------- configs/collapse_scan/config308.json | 44 ------------------- configs/collapse_scan/config309.json | 44 ------------------- configs/collapse_scan/config31.json | 44 ------------------- configs/collapse_scan/config310.json | 44 ------------------- configs/collapse_scan/config311.json | 44 ------------------- configs/collapse_scan/config312.json | 44 ------------------- configs/collapse_scan/config313.json | 44 ------------------- configs/collapse_scan/config314.json | 44 ------------------- configs/collapse_scan/config315.json | 44 ------------------- configs/collapse_scan/config316.json | 44 ------------------- configs/collapse_scan/config317.json | 44 ------------------- configs/collapse_scan/config318.json | 44 ------------------- configs/collapse_scan/config319.json | 44 ------------------- configs/collapse_scan/config32.json | 44 ------------------- configs/collapse_scan/config320.json | 44 ------------------- configs/collapse_scan/config321.json | 44 ------------------- configs/collapse_scan/config322.json | 44 ------------------- configs/collapse_scan/config323.json | 44 ------------------- configs/collapse_scan/config324.json | 44 ------------------- configs/collapse_scan/config325.json | 44 ------------------- configs/collapse_scan/config326.json | 44 ------------------- configs/collapse_scan/config327.json | 44 ------------------- configs/collapse_scan/config328.json | 44 ------------------- configs/collapse_scan/config329.json | 44 ------------------- configs/collapse_scan/config33.json | 44 ------------------- configs/collapse_scan/config330.json | 44 ------------------- configs/collapse_scan/config331.json | 44 ------------------- configs/collapse_scan/config332.json | 44 ------------------- configs/collapse_scan/config333.json | 44 ------------------- configs/collapse_scan/config334.json | 44 ------------------- configs/collapse_scan/config335.json | 44 ------------------- configs/collapse_scan/config336.json | 44 ------------------- configs/collapse_scan/config337.json | 44 ------------------- configs/collapse_scan/config338.json | 44 ------------------- configs/collapse_scan/config339.json | 44 ------------------- configs/collapse_scan/config34.json | 44 ------------------- configs/collapse_scan/config340.json | 44 ------------------- configs/collapse_scan/config341.json | 44 ------------------- configs/collapse_scan/config342.json | 44 ------------------- configs/collapse_scan/config343.json | 44 ------------------- configs/collapse_scan/config344.json | 44 ------------------- configs/collapse_scan/config345.json | 44 ------------------- configs/collapse_scan/config346.json | 44 ------------------- configs/collapse_scan/config347.json | 44 ------------------- configs/collapse_scan/config348.json | 44 ------------------- configs/collapse_scan/config349.json | 44 ------------------- configs/collapse_scan/config35.json | 44 ------------------- configs/collapse_scan/config350.json | 44 ------------------- configs/collapse_scan/config351.json | 44 ------------------- configs/collapse_scan/config352.json | 44 ------------------- configs/collapse_scan/config353.json | 44 ------------------- configs/collapse_scan/config354.json | 44 ------------------- configs/collapse_scan/config355.json | 44 ------------------- configs/collapse_scan/config356.json | 44 ------------------- configs/collapse_scan/config357.json | 44 ------------------- configs/collapse_scan/config358.json | 44 ------------------- configs/collapse_scan/config359.json | 44 ------------------- configs/collapse_scan/config36.json | 44 ------------------- configs/collapse_scan/config360.json | 44 ------------------- configs/collapse_scan/config37.json | 44 ------------------- configs/collapse_scan/config38.json | 44 ------------------- configs/collapse_scan/config39.json | 44 ------------------- configs/collapse_scan/config4.json | 44 ------------------- configs/collapse_scan/config40.json | 44 ------------------- configs/collapse_scan/config41.json | 44 ------------------- configs/collapse_scan/config42.json | 44 ------------------- configs/collapse_scan/config43.json | 44 ------------------- configs/collapse_scan/config44.json | 44 ------------------- configs/collapse_scan/config45.json | 44 ------------------- configs/collapse_scan/config46.json | 44 ------------------- configs/collapse_scan/config47.json | 44 ------------------- configs/collapse_scan/config48.json | 44 ------------------- configs/collapse_scan/config49.json | 44 ------------------- configs/collapse_scan/config5.json | 44 ------------------- configs/collapse_scan/config50.json | 44 ------------------- configs/collapse_scan/config51.json | 44 ------------------- configs/collapse_scan/config52.json | 44 ------------------- configs/collapse_scan/config53.json | 44 ------------------- configs/collapse_scan/config54.json | 44 ------------------- configs/collapse_scan/config55.json | 44 ------------------- configs/collapse_scan/config56.json | 44 ------------------- configs/collapse_scan/config57.json | 44 ------------------- configs/collapse_scan/config58.json | 44 ------------------- configs/collapse_scan/config59.json | 44 ------------------- configs/collapse_scan/config6.json | 44 ------------------- configs/collapse_scan/config60.json | 44 ------------------- configs/collapse_scan/config61.json | 44 ------------------- configs/collapse_scan/config62.json | 44 ------------------- configs/collapse_scan/config63.json | 44 ------------------- configs/collapse_scan/config64.json | 44 ------------------- configs/collapse_scan/config65.json | 44 ------------------- configs/collapse_scan/config66.json | 44 ------------------- configs/collapse_scan/config67.json | 44 ------------------- configs/collapse_scan/config68.json | 44 ------------------- configs/collapse_scan/config69.json | 44 ------------------- configs/collapse_scan/config7.json | 44 ------------------- configs/collapse_scan/config70.json | 44 ------------------- configs/collapse_scan/config71.json | 44 ------------------- configs/collapse_scan/config72.json | 44 ------------------- configs/collapse_scan/config73.json | 44 ------------------- configs/collapse_scan/config74.json | 44 ------------------- configs/collapse_scan/config75.json | 44 ------------------- configs/collapse_scan/config76.json | 44 ------------------- configs/collapse_scan/config77.json | 44 ------------------- configs/collapse_scan/config78.json | 44 ------------------- configs/collapse_scan/config79.json | 44 ------------------- configs/collapse_scan/config8.json | 44 ------------------- configs/collapse_scan/config80.json | 44 ------------------- configs/collapse_scan/config81.json | 44 ------------------- configs/collapse_scan/config82.json | 44 ------------------- configs/collapse_scan/config83.json | 44 ------------------- configs/collapse_scan/config84.json | 44 ------------------- configs/collapse_scan/config85.json | 44 ------------------- configs/collapse_scan/config86.json | 44 ------------------- configs/collapse_scan/config87.json | 44 ------------------- configs/collapse_scan/config88.json | 44 ------------------- configs/collapse_scan/config89.json | 44 ------------------- configs/collapse_scan/config9.json | 44 ------------------- configs/collapse_scan/config90.json | 44 ------------------- configs/collapse_scan/config91.json | 44 ------------------- configs/collapse_scan/config92.json | 44 ------------------- configs/collapse_scan/config93.json | 44 ------------------- configs/collapse_scan/config94.json | 44 ------------------- configs/collapse_scan/config95.json | 44 ------------------- configs/collapse_scan/config96.json | 44 ------------------- configs/collapse_scan/config97.json | 44 ------------------- configs/collapse_scan/config98.json | 44 ------------------- configs/collapse_scan/config99.json | 44 ------------------- configs/config.json | 12 ++--- configs/etascan/config1.json | 37 ---------------- configs/etascan/config10.json | 37 ---------------- configs/etascan/config11.json | 37 ---------------- configs/etascan/config12.json | 37 ---------------- configs/etascan/config13.json | 37 ---------------- configs/etascan/config14.json | 37 ---------------- configs/etascan/config15.json | 37 ---------------- configs/etascan/config16.json | 37 ---------------- configs/etascan/config17.json | 37 ---------------- configs/etascan/config18.json | 37 ---------------- configs/etascan/config19.json | 37 ---------------- configs/etascan/config2.json | 37 ---------------- configs/etascan/config20.json | 37 ---------------- configs/etascan/config21.json | 37 ---------------- configs/etascan/config22.json | 37 ---------------- configs/etascan/config23.json | 37 ---------------- configs/etascan/config24.json | 37 ---------------- configs/etascan/config25.json | 37 ---------------- configs/etascan/config26.json | 37 ---------------- configs/etascan/config27.json | 37 ---------------- configs/etascan/config28.json | 37 ---------------- configs/etascan/config29.json | 37 ---------------- configs/etascan/config3.json | 37 ---------------- configs/etascan/config30.json | 37 ---------------- configs/etascan/config31.json | 37 ---------------- configs/etascan/config32.json | 37 ---------------- configs/etascan/config33.json | 37 ---------------- configs/etascan/config34.json | 37 ---------------- configs/etascan/config35.json | 37 ---------------- configs/etascan/config36.json | 37 ---------------- configs/etascan/config37.json | 37 ---------------- configs/etascan/config38.json | 37 ---------------- configs/etascan/config39.json | 37 ---------------- configs/etascan/config4.json | 37 ---------------- configs/etascan/config40.json | 37 ---------------- configs/etascan/config41.json | 37 ---------------- configs/etascan/config42.json | 37 ---------------- configs/etascan/config43.json | 37 ---------------- configs/etascan/config44.json | 37 ---------------- configs/etascan/config45.json | 37 ---------------- configs/etascan/config46.json | 37 ---------------- configs/etascan/config47.json | 37 ---------------- configs/etascan/config48.json | 37 ---------------- configs/etascan/config49.json | 37 ---------------- configs/etascan/config5.json | 37 ---------------- configs/etascan/config50.json | 37 ---------------- configs/etascan/config51.json | 37 ---------------- configs/etascan/config6.json | 37 ---------------- configs/etascan/config7.json | 37 ---------------- configs/etascan/config8.json | 37 ---------------- configs/etascan/config9.json | 37 ---------------- configs/simtests/config1.json | 35 --------------- configs/simtests/config10.json | 35 --------------- configs/simtests/config11.json | 35 --------------- configs/simtests/config12.json | 35 --------------- configs/simtests/config13.json | 35 --------------- configs/simtests/config14.json | 35 --------------- configs/simtests/config15.json | 35 --------------- configs/simtests/config16.json | 35 --------------- configs/simtests/config17.json | 35 --------------- configs/simtests/config18.json | 35 --------------- configs/simtests/config19.json | 35 --------------- configs/simtests/config2.json | 35 --------------- configs/simtests/config20.json | 35 --------------- configs/simtests/config21.json | 35 --------------- configs/simtests/config22.json | 35 --------------- configs/simtests/config23.json | 35 --------------- configs/simtests/config24.json | 35 --------------- configs/simtests/config25.json | 35 --------------- configs/simtests/config26.json | 35 --------------- configs/simtests/config27.json | 35 --------------- configs/simtests/config28.json | 35 --------------- configs/simtests/config29.json | 35 --------------- configs/simtests/config3.json | 35 --------------- configs/simtests/config30.json | 35 --------------- configs/simtests/config31.json | 35 --------------- configs/simtests/config32.json | 35 --------------- configs/simtests/config33.json | 35 --------------- configs/simtests/config34.json | 35 --------------- configs/simtests/config35.json | 35 --------------- configs/simtests/config36.json | 35 --------------- configs/simtests/config37.json | 35 --------------- configs/simtests/config38.json | 35 --------------- configs/simtests/config39.json | 35 --------------- configs/simtests/config4.json | 35 --------------- configs/simtests/config40.json | 35 --------------- configs/simtests/config41.json | 35 --------------- configs/simtests/config42.json | 35 --------------- configs/simtests/config43.json | 35 --------------- configs/simtests/config44.json | 35 --------------- configs/simtests/config45.json | 35 --------------- configs/simtests/config46.json | 35 --------------- configs/simtests/config47.json | 35 --------------- configs/simtests/config48.json | 35 --------------- configs/simtests/config49.json | 35 --------------- configs/simtests/config5.json | 35 --------------- configs/simtests/config50.json | 35 --------------- configs/simtests/config51.json | 35 --------------- configs/simtests/config52.json | 35 --------------- configs/simtests/config53.json | 35 --------------- configs/simtests/config54.json | 35 --------------- configs/simtests/config55.json | 35 --------------- configs/simtests/config56.json | 35 --------------- configs/simtests/config57.json | 35 --------------- configs/simtests/config58.json | 35 --------------- configs/simtests/config59.json | 35 --------------- configs/simtests/config6.json | 35 --------------- configs/simtests/config60.json | 35 --------------- configs/simtests/config61.json | 35 --------------- configs/simtests/config62.json | 35 --------------- configs/simtests/config63.json | 35 --------------- configs/simtests/config64.json | 35 --------------- configs/simtests/config65.json | 35 --------------- configs/simtests/config66.json | 35 --------------- configs/simtests/config67.json | 35 --------------- configs/simtests/config68.json | 35 --------------- configs/simtests/config69.json | 35 --------------- configs/simtests/config7.json | 35 --------------- configs/simtests/config70.json | 35 --------------- configs/simtests/config71.json | 35 --------------- configs/simtests/config72.json | 35 --------------- configs/simtests/config73.json | 35 --------------- configs/simtests/config74.json | 35 --------------- configs/simtests/config75.json | 35 --------------- configs/simtests/config76.json | 35 --------------- configs/simtests/config77.json | 35 --------------- configs/simtests/config78.json | 35 --------------- configs/simtests/config8.json | 35 --------------- configs/simtests/config9.json | 35 --------------- configs/test_collision.json | 65 ++++++++++++++++++++++++++++ kernels/kernel.cl | 55 ++++++++++++----------- 499 files changed, 163 insertions(+), 20546 deletions(-) delete mode 100644 configs/collapse_scan/config1.json delete mode 100644 configs/collapse_scan/config10.json delete mode 100644 configs/collapse_scan/config100.json delete mode 100644 configs/collapse_scan/config101.json delete mode 100644 configs/collapse_scan/config102.json delete mode 100644 configs/collapse_scan/config103.json delete mode 100644 configs/collapse_scan/config104.json delete mode 100644 configs/collapse_scan/config105.json delete mode 100644 configs/collapse_scan/config106.json delete mode 100644 configs/collapse_scan/config107.json delete mode 100644 configs/collapse_scan/config108.json delete mode 100644 configs/collapse_scan/config109.json delete mode 100644 configs/collapse_scan/config11.json delete mode 100644 configs/collapse_scan/config110.json delete mode 100644 configs/collapse_scan/config111.json delete mode 100644 configs/collapse_scan/config112.json delete mode 100644 configs/collapse_scan/config113.json delete mode 100644 configs/collapse_scan/config114.json delete mode 100644 configs/collapse_scan/config115.json delete mode 100644 configs/collapse_scan/config116.json delete mode 100644 configs/collapse_scan/config117.json delete mode 100644 configs/collapse_scan/config118.json delete mode 100644 configs/collapse_scan/config119.json delete mode 100644 configs/collapse_scan/config12.json delete mode 100644 configs/collapse_scan/config120.json delete mode 100644 configs/collapse_scan/config121.json delete mode 100644 configs/collapse_scan/config122.json delete mode 100644 configs/collapse_scan/config123.json delete mode 100644 configs/collapse_scan/config124.json delete mode 100644 configs/collapse_scan/config125.json delete mode 100644 configs/collapse_scan/config126.json delete mode 100644 configs/collapse_scan/config127.json delete mode 100644 configs/collapse_scan/config128.json delete mode 100644 configs/collapse_scan/config129.json delete mode 100644 configs/collapse_scan/config13.json delete mode 100644 configs/collapse_scan/config130.json delete mode 100644 configs/collapse_scan/config131.json delete mode 100644 configs/collapse_scan/config132.json delete mode 100644 configs/collapse_scan/config133.json delete mode 100644 configs/collapse_scan/config134.json delete mode 100644 configs/collapse_scan/config135.json delete mode 100644 configs/collapse_scan/config136.json delete mode 100644 configs/collapse_scan/config137.json delete mode 100644 configs/collapse_scan/config138.json delete mode 100644 configs/collapse_scan/config139.json delete mode 100644 configs/collapse_scan/config14.json delete mode 100644 configs/collapse_scan/config140.json delete mode 100644 configs/collapse_scan/config141.json delete mode 100644 configs/collapse_scan/config142.json delete mode 100644 configs/collapse_scan/config143.json delete mode 100644 configs/collapse_scan/config144.json delete mode 100644 configs/collapse_scan/config145.json delete mode 100644 configs/collapse_scan/config146.json delete mode 100644 configs/collapse_scan/config147.json delete mode 100644 configs/collapse_scan/config148.json delete mode 100644 configs/collapse_scan/config149.json delete mode 100644 configs/collapse_scan/config15.json delete mode 100644 configs/collapse_scan/config150.json delete mode 100644 configs/collapse_scan/config151.json delete mode 100644 configs/collapse_scan/config152.json delete mode 100644 configs/collapse_scan/config153.json delete mode 100644 configs/collapse_scan/config154.json delete mode 100644 configs/collapse_scan/config155.json delete mode 100644 configs/collapse_scan/config156.json delete mode 100644 configs/collapse_scan/config157.json delete mode 100644 configs/collapse_scan/config158.json delete mode 100644 configs/collapse_scan/config159.json delete mode 100644 configs/collapse_scan/config16.json delete mode 100644 configs/collapse_scan/config160.json delete mode 100644 configs/collapse_scan/config161.json delete mode 100644 configs/collapse_scan/config162.json delete mode 100644 configs/collapse_scan/config163.json delete mode 100644 configs/collapse_scan/config164.json delete mode 100644 configs/collapse_scan/config165.json delete mode 100644 configs/collapse_scan/config166.json delete mode 100644 configs/collapse_scan/config167.json delete mode 100644 configs/collapse_scan/config168.json delete mode 100644 configs/collapse_scan/config169.json delete mode 100644 configs/collapse_scan/config17.json delete mode 100644 configs/collapse_scan/config170.json delete mode 100644 configs/collapse_scan/config171.json delete mode 100644 configs/collapse_scan/config172.json delete mode 100644 configs/collapse_scan/config173.json delete mode 100644 configs/collapse_scan/config174.json delete mode 100644 configs/collapse_scan/config175.json delete mode 100644 configs/collapse_scan/config176.json delete mode 100644 configs/collapse_scan/config177.json delete mode 100644 configs/collapse_scan/config178.json delete mode 100644 configs/collapse_scan/config179.json delete mode 100644 configs/collapse_scan/config18.json delete mode 100644 configs/collapse_scan/config180.json delete mode 100644 configs/collapse_scan/config181.json delete mode 100644 configs/collapse_scan/config182.json delete mode 100644 configs/collapse_scan/config183.json delete mode 100644 configs/collapse_scan/config184.json delete mode 100644 configs/collapse_scan/config185.json delete mode 100644 configs/collapse_scan/config186.json delete mode 100644 configs/collapse_scan/config187.json delete mode 100644 configs/collapse_scan/config188.json delete mode 100644 configs/collapse_scan/config189.json delete mode 100644 configs/collapse_scan/config19.json delete mode 100644 configs/collapse_scan/config190.json delete mode 100644 configs/collapse_scan/config191.json delete mode 100644 configs/collapse_scan/config192.json delete mode 100644 configs/collapse_scan/config193.json delete mode 100644 configs/collapse_scan/config194.json delete mode 100644 configs/collapse_scan/config195.json delete mode 100644 configs/collapse_scan/config196.json delete mode 100644 configs/collapse_scan/config197.json delete mode 100644 configs/collapse_scan/config198.json delete mode 100644 configs/collapse_scan/config199.json delete mode 100644 configs/collapse_scan/config2.json delete mode 100644 configs/collapse_scan/config20.json delete mode 100644 configs/collapse_scan/config200.json delete mode 100644 configs/collapse_scan/config201.json delete mode 100644 configs/collapse_scan/config202.json delete mode 100644 configs/collapse_scan/config203.json delete mode 100644 configs/collapse_scan/config204.json delete mode 100644 configs/collapse_scan/config205.json delete mode 100644 configs/collapse_scan/config206.json delete mode 100644 configs/collapse_scan/config207.json delete mode 100644 configs/collapse_scan/config208.json delete mode 100644 configs/collapse_scan/config209.json delete mode 100644 configs/collapse_scan/config21.json delete mode 100644 configs/collapse_scan/config210.json delete mode 100644 configs/collapse_scan/config211.json delete mode 100644 configs/collapse_scan/config212.json delete mode 100644 configs/collapse_scan/config213.json delete mode 100644 configs/collapse_scan/config214.json delete mode 100644 configs/collapse_scan/config215.json delete mode 100644 configs/collapse_scan/config216.json delete mode 100644 configs/collapse_scan/config217.json delete mode 100644 configs/collapse_scan/config218.json delete mode 100644 configs/collapse_scan/config219.json delete mode 100644 configs/collapse_scan/config22.json delete mode 100644 configs/collapse_scan/config220.json delete mode 100644 configs/collapse_scan/config221.json delete mode 100644 configs/collapse_scan/config222.json delete mode 100644 configs/collapse_scan/config223.json delete mode 100644 configs/collapse_scan/config224.json delete mode 100644 configs/collapse_scan/config225.json delete mode 100644 configs/collapse_scan/config226.json delete mode 100644 configs/collapse_scan/config227.json delete mode 100644 configs/collapse_scan/config228.json delete mode 100644 configs/collapse_scan/config229.json delete mode 100644 configs/collapse_scan/config23.json delete mode 100644 configs/collapse_scan/config230.json delete mode 100644 configs/collapse_scan/config231.json delete mode 100644 configs/collapse_scan/config232.json delete mode 100644 configs/collapse_scan/config233.json delete mode 100644 configs/collapse_scan/config234.json delete mode 100644 configs/collapse_scan/config235.json delete mode 100644 configs/collapse_scan/config236.json delete mode 100644 configs/collapse_scan/config237.json delete mode 100644 configs/collapse_scan/config238.json delete mode 100644 configs/collapse_scan/config239.json delete mode 100644 configs/collapse_scan/config24.json delete mode 100644 configs/collapse_scan/config240.json delete mode 100644 configs/collapse_scan/config241.json delete mode 100644 configs/collapse_scan/config242.json delete mode 100644 configs/collapse_scan/config243.json delete mode 100644 configs/collapse_scan/config244.json delete mode 100644 configs/collapse_scan/config245.json delete mode 100644 configs/collapse_scan/config246.json delete mode 100644 configs/collapse_scan/config247.json delete mode 100644 configs/collapse_scan/config248.json delete mode 100644 configs/collapse_scan/config249.json delete mode 100644 configs/collapse_scan/config25.json delete mode 100644 configs/collapse_scan/config250.json delete mode 100644 configs/collapse_scan/config251.json delete mode 100644 configs/collapse_scan/config252.json delete mode 100644 configs/collapse_scan/config253.json delete mode 100644 configs/collapse_scan/config254.json delete mode 100644 configs/collapse_scan/config255.json delete mode 100644 configs/collapse_scan/config256.json delete mode 100644 configs/collapse_scan/config257.json delete mode 100644 configs/collapse_scan/config258.json delete mode 100644 configs/collapse_scan/config259.json delete mode 100644 configs/collapse_scan/config26.json delete mode 100644 configs/collapse_scan/config260.json delete mode 100644 configs/collapse_scan/config261.json delete mode 100644 configs/collapse_scan/config262.json delete mode 100644 configs/collapse_scan/config263.json delete mode 100644 configs/collapse_scan/config264.json delete mode 100644 configs/collapse_scan/config265.json delete mode 100644 configs/collapse_scan/config266.json delete mode 100644 configs/collapse_scan/config267.json delete mode 100644 configs/collapse_scan/config268.json delete mode 100644 configs/collapse_scan/config269.json delete mode 100644 configs/collapse_scan/config27.json delete mode 100644 configs/collapse_scan/config270.json delete mode 100644 configs/collapse_scan/config271.json delete mode 100644 configs/collapse_scan/config272.json delete mode 100644 configs/collapse_scan/config273.json delete mode 100644 configs/collapse_scan/config274.json delete mode 100644 configs/collapse_scan/config275.json delete mode 100644 configs/collapse_scan/config276.json delete mode 100644 configs/collapse_scan/config277.json delete mode 100644 configs/collapse_scan/config278.json delete mode 100644 configs/collapse_scan/config279.json delete mode 100644 configs/collapse_scan/config28.json delete mode 100644 configs/collapse_scan/config280.json delete mode 100644 configs/collapse_scan/config281.json delete mode 100644 configs/collapse_scan/config282.json delete mode 100644 configs/collapse_scan/config283.json delete mode 100644 configs/collapse_scan/config284.json delete mode 100644 configs/collapse_scan/config285.json delete mode 100644 configs/collapse_scan/config286.json delete mode 100644 configs/collapse_scan/config287.json delete mode 100644 configs/collapse_scan/config288.json delete mode 100644 configs/collapse_scan/config289.json delete mode 100644 configs/collapse_scan/config29.json delete mode 100644 configs/collapse_scan/config290.json delete mode 100644 configs/collapse_scan/config291.json delete mode 100644 configs/collapse_scan/config292.json delete mode 100644 configs/collapse_scan/config293.json delete mode 100644 configs/collapse_scan/config294.json delete mode 100644 configs/collapse_scan/config295.json delete mode 100644 configs/collapse_scan/config296.json delete mode 100644 configs/collapse_scan/config297.json delete mode 100644 configs/collapse_scan/config298.json delete mode 100644 configs/collapse_scan/config299.json delete mode 100644 configs/collapse_scan/config3.json delete mode 100644 configs/collapse_scan/config30.json delete mode 100644 configs/collapse_scan/config300.json delete mode 100644 configs/collapse_scan/config301.json delete mode 100644 configs/collapse_scan/config302.json delete mode 100644 configs/collapse_scan/config303.json delete mode 100644 configs/collapse_scan/config304.json delete mode 100644 configs/collapse_scan/config305.json delete mode 100644 configs/collapse_scan/config306.json delete mode 100644 configs/collapse_scan/config307.json delete mode 100644 configs/collapse_scan/config308.json delete mode 100644 configs/collapse_scan/config309.json delete mode 100644 configs/collapse_scan/config31.json delete mode 100644 configs/collapse_scan/config310.json delete mode 100644 configs/collapse_scan/config311.json delete mode 100644 configs/collapse_scan/config312.json delete mode 100644 configs/collapse_scan/config313.json delete mode 100644 configs/collapse_scan/config314.json delete mode 100644 configs/collapse_scan/config315.json delete mode 100644 configs/collapse_scan/config316.json delete mode 100644 configs/collapse_scan/config317.json delete mode 100644 configs/collapse_scan/config318.json delete mode 100644 configs/collapse_scan/config319.json delete mode 100644 configs/collapse_scan/config32.json delete mode 100644 configs/collapse_scan/config320.json delete mode 100644 configs/collapse_scan/config321.json delete mode 100644 configs/collapse_scan/config322.json delete mode 100644 configs/collapse_scan/config323.json delete mode 100644 configs/collapse_scan/config324.json delete mode 100644 configs/collapse_scan/config325.json delete mode 100644 configs/collapse_scan/config326.json delete mode 100644 configs/collapse_scan/config327.json delete mode 100644 configs/collapse_scan/config328.json delete mode 100644 configs/collapse_scan/config329.json delete mode 100644 configs/collapse_scan/config33.json delete mode 100644 configs/collapse_scan/config330.json delete mode 100644 configs/collapse_scan/config331.json delete mode 100644 configs/collapse_scan/config332.json delete mode 100644 configs/collapse_scan/config333.json delete mode 100644 configs/collapse_scan/config334.json delete mode 100644 configs/collapse_scan/config335.json delete mode 100644 configs/collapse_scan/config336.json delete mode 100644 configs/collapse_scan/config337.json delete mode 100644 configs/collapse_scan/config338.json delete mode 100644 configs/collapse_scan/config339.json delete mode 100644 configs/collapse_scan/config34.json delete mode 100644 configs/collapse_scan/config340.json delete mode 100644 configs/collapse_scan/config341.json delete mode 100644 configs/collapse_scan/config342.json delete mode 100644 configs/collapse_scan/config343.json delete mode 100644 configs/collapse_scan/config344.json delete mode 100644 configs/collapse_scan/config345.json delete mode 100644 configs/collapse_scan/config346.json delete mode 100644 configs/collapse_scan/config347.json delete mode 100644 configs/collapse_scan/config348.json delete mode 100644 configs/collapse_scan/config349.json delete mode 100644 configs/collapse_scan/config35.json delete mode 100644 configs/collapse_scan/config350.json delete mode 100644 configs/collapse_scan/config351.json delete mode 100644 configs/collapse_scan/config352.json delete mode 100644 configs/collapse_scan/config353.json delete mode 100644 configs/collapse_scan/config354.json delete mode 100644 configs/collapse_scan/config355.json delete mode 100644 configs/collapse_scan/config356.json delete mode 100644 configs/collapse_scan/config357.json delete mode 100644 configs/collapse_scan/config358.json delete mode 100644 configs/collapse_scan/config359.json delete mode 100644 configs/collapse_scan/config36.json delete mode 100644 configs/collapse_scan/config360.json delete mode 100644 configs/collapse_scan/config37.json delete mode 100644 configs/collapse_scan/config38.json delete mode 100644 configs/collapse_scan/config39.json delete mode 100644 configs/collapse_scan/config4.json delete mode 100644 configs/collapse_scan/config40.json delete mode 100644 configs/collapse_scan/config41.json delete mode 100644 configs/collapse_scan/config42.json delete mode 100644 configs/collapse_scan/config43.json delete mode 100644 configs/collapse_scan/config44.json delete mode 100644 configs/collapse_scan/config45.json delete mode 100644 configs/collapse_scan/config46.json delete mode 100644 configs/collapse_scan/config47.json delete mode 100644 configs/collapse_scan/config48.json delete mode 100644 configs/collapse_scan/config49.json delete mode 100644 configs/collapse_scan/config5.json delete mode 100644 configs/collapse_scan/config50.json delete mode 100644 configs/collapse_scan/config51.json delete mode 100644 configs/collapse_scan/config52.json delete mode 100644 configs/collapse_scan/config53.json delete mode 100644 configs/collapse_scan/config54.json delete mode 100644 configs/collapse_scan/config55.json delete mode 100644 configs/collapse_scan/config56.json delete mode 100644 configs/collapse_scan/config57.json delete mode 100644 configs/collapse_scan/config58.json delete mode 100644 configs/collapse_scan/config59.json delete mode 100644 configs/collapse_scan/config6.json delete mode 100644 configs/collapse_scan/config60.json delete mode 100644 configs/collapse_scan/config61.json delete mode 100644 configs/collapse_scan/config62.json delete mode 100644 configs/collapse_scan/config63.json delete mode 100644 configs/collapse_scan/config64.json delete mode 100644 configs/collapse_scan/config65.json delete mode 100644 configs/collapse_scan/config66.json delete mode 100644 configs/collapse_scan/config67.json delete mode 100644 configs/collapse_scan/config68.json delete mode 100644 configs/collapse_scan/config69.json delete mode 100644 configs/collapse_scan/config7.json delete mode 100644 configs/collapse_scan/config70.json delete mode 100644 configs/collapse_scan/config71.json delete mode 100644 configs/collapse_scan/config72.json delete mode 100644 configs/collapse_scan/config73.json delete mode 100644 configs/collapse_scan/config74.json delete mode 100644 configs/collapse_scan/config75.json delete mode 100644 configs/collapse_scan/config76.json delete mode 100644 configs/collapse_scan/config77.json delete mode 100644 configs/collapse_scan/config78.json delete mode 100644 configs/collapse_scan/config79.json delete mode 100644 configs/collapse_scan/config8.json delete mode 100644 configs/collapse_scan/config80.json delete mode 100644 configs/collapse_scan/config81.json delete mode 100644 configs/collapse_scan/config82.json delete mode 100644 configs/collapse_scan/config83.json delete mode 100644 configs/collapse_scan/config84.json delete mode 100644 configs/collapse_scan/config85.json delete mode 100644 configs/collapse_scan/config86.json delete mode 100644 configs/collapse_scan/config87.json delete mode 100644 configs/collapse_scan/config88.json delete mode 100644 configs/collapse_scan/config89.json delete mode 100644 configs/collapse_scan/config9.json delete mode 100644 configs/collapse_scan/config90.json delete mode 100644 configs/collapse_scan/config91.json delete mode 100644 configs/collapse_scan/config92.json delete mode 100644 configs/collapse_scan/config93.json delete mode 100644 configs/collapse_scan/config94.json delete mode 100644 configs/collapse_scan/config95.json delete mode 100644 configs/collapse_scan/config96.json delete mode 100644 configs/collapse_scan/config97.json delete mode 100644 configs/collapse_scan/config98.json delete mode 100644 configs/collapse_scan/config99.json delete mode 100644 configs/etascan/config1.json delete mode 100644 configs/etascan/config10.json delete mode 100644 configs/etascan/config11.json delete mode 100644 configs/etascan/config12.json delete mode 100644 configs/etascan/config13.json delete mode 100644 configs/etascan/config14.json delete mode 100644 configs/etascan/config15.json delete mode 100644 configs/etascan/config16.json delete mode 100644 configs/etascan/config17.json delete mode 100644 configs/etascan/config18.json delete mode 100644 configs/etascan/config19.json delete mode 100644 configs/etascan/config2.json delete mode 100644 configs/etascan/config20.json delete mode 100644 configs/etascan/config21.json delete mode 100644 configs/etascan/config22.json delete mode 100644 configs/etascan/config23.json delete mode 100644 configs/etascan/config24.json delete mode 100644 configs/etascan/config25.json delete mode 100644 configs/etascan/config26.json delete mode 100644 configs/etascan/config27.json delete mode 100644 configs/etascan/config28.json delete mode 100644 configs/etascan/config29.json delete mode 100644 configs/etascan/config3.json delete mode 100644 configs/etascan/config30.json delete mode 100644 configs/etascan/config31.json delete mode 100644 configs/etascan/config32.json delete mode 100644 configs/etascan/config33.json delete mode 100644 configs/etascan/config34.json delete mode 100644 configs/etascan/config35.json delete mode 100644 configs/etascan/config36.json delete mode 100644 configs/etascan/config37.json delete mode 100644 configs/etascan/config38.json delete mode 100644 configs/etascan/config39.json delete mode 100644 configs/etascan/config4.json delete mode 100644 configs/etascan/config40.json delete mode 100644 configs/etascan/config41.json delete mode 100644 configs/etascan/config42.json delete mode 100644 configs/etascan/config43.json delete mode 100644 configs/etascan/config44.json delete mode 100644 configs/etascan/config45.json delete mode 100644 configs/etascan/config46.json delete mode 100644 configs/etascan/config47.json delete mode 100644 configs/etascan/config48.json delete mode 100644 configs/etascan/config49.json delete mode 100644 configs/etascan/config5.json delete mode 100644 configs/etascan/config50.json delete mode 100644 configs/etascan/config51.json delete mode 100644 configs/etascan/config6.json delete mode 100644 configs/etascan/config7.json delete mode 100644 configs/etascan/config8.json delete mode 100644 configs/etascan/config9.json delete mode 100644 configs/simtests/config1.json delete mode 100644 configs/simtests/config10.json delete mode 100644 configs/simtests/config11.json delete mode 100644 configs/simtests/config12.json delete mode 100644 configs/simtests/config13.json delete mode 100644 configs/simtests/config14.json delete mode 100644 configs/simtests/config15.json delete mode 100644 configs/simtests/config16.json delete mode 100644 configs/simtests/config17.json delete mode 100644 configs/simtests/config18.json delete mode 100644 configs/simtests/config19.json delete mode 100644 configs/simtests/config2.json delete mode 100644 configs/simtests/config20.json delete mode 100644 configs/simtests/config21.json delete mode 100644 configs/simtests/config22.json delete mode 100644 configs/simtests/config23.json delete mode 100644 configs/simtests/config24.json delete mode 100644 configs/simtests/config25.json delete mode 100644 configs/simtests/config26.json delete mode 100644 configs/simtests/config27.json delete mode 100644 configs/simtests/config28.json delete mode 100644 configs/simtests/config29.json delete mode 100644 configs/simtests/config3.json delete mode 100644 configs/simtests/config30.json delete mode 100644 configs/simtests/config31.json delete mode 100644 configs/simtests/config32.json delete mode 100644 configs/simtests/config33.json delete mode 100644 configs/simtests/config34.json delete mode 100644 configs/simtests/config35.json delete mode 100644 configs/simtests/config36.json delete mode 100644 configs/simtests/config37.json delete mode 100644 configs/simtests/config38.json delete mode 100644 configs/simtests/config39.json delete mode 100644 configs/simtests/config4.json delete mode 100644 configs/simtests/config40.json delete mode 100644 configs/simtests/config41.json delete mode 100644 configs/simtests/config42.json delete mode 100644 configs/simtests/config43.json delete mode 100644 configs/simtests/config44.json delete mode 100644 configs/simtests/config45.json delete mode 100644 configs/simtests/config46.json delete mode 100644 configs/simtests/config47.json delete mode 100644 configs/simtests/config48.json delete mode 100644 configs/simtests/config49.json delete mode 100644 configs/simtests/config5.json delete mode 100644 configs/simtests/config50.json delete mode 100644 configs/simtests/config51.json delete mode 100644 configs/simtests/config52.json delete mode 100644 configs/simtests/config53.json delete mode 100644 configs/simtests/config54.json delete mode 100644 configs/simtests/config55.json delete mode 100644 configs/simtests/config56.json delete mode 100644 configs/simtests/config57.json delete mode 100644 configs/simtests/config58.json delete mode 100644 configs/simtests/config59.json delete mode 100644 configs/simtests/config6.json delete mode 100644 configs/simtests/config60.json delete mode 100644 configs/simtests/config61.json delete mode 100644 configs/simtests/config62.json delete mode 100644 configs/simtests/config63.json delete mode 100644 configs/simtests/config64.json delete mode 100644 configs/simtests/config65.json delete mode 100644 configs/simtests/config66.json delete mode 100644 configs/simtests/config67.json delete mode 100644 configs/simtests/config68.json delete mode 100644 configs/simtests/config69.json delete mode 100644 configs/simtests/config7.json delete mode 100644 configs/simtests/config70.json delete mode 100644 configs/simtests/config71.json delete mode 100644 configs/simtests/config72.json delete mode 100644 configs/simtests/config73.json delete mode 100644 configs/simtests/config74.json delete mode 100644 configs/simtests/config75.json delete mode 100644 configs/simtests/config76.json delete mode 100644 configs/simtests/config77.json delete mode 100644 configs/simtests/config78.json delete mode 100644 configs/simtests/config8.json delete mode 100644 configs/simtests/config9.json create mode 100644 configs/test_collision.json diff --git a/.gitignore b/.gitignore index 66f7ac7..952b062 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,9 @@ bubbleSim/data # User-specific files (MonoDevelop/Xamarin Studio) *.userprefs +tools +traces + # Mono auto generated files mono_crash.* diff --git a/bubbleSim/collision.cpp b/bubbleSim/collision.cpp index db82c22..e6ccaad 100644 --- a/bubbleSim/collision.cpp +++ b/bubbleSim/collision.cpp @@ -24,7 +24,7 @@ CollisionCellCollection::CollisionCellCollection( } m_cellCountBuffer = cl::Buffer(cl_context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, - sizeof(unsigned int), &m_cellCount, &openCLerrNum); + sizeof(u_int), &m_cellCount, &openCLerrNum); m_doubleCellCount = t_doubleCellCount; m_meanFreePath = t_meanFreePath; @@ -32,7 +32,7 @@ CollisionCellCollection::CollisionCellCollection( m_cellCountInOneAxis = t_cellCountInOneAxis; m_cellCountInOneAxisBuffer = cl::Buffer(cl_context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, - sizeof(unsigned int), &m_cellCountInOneAxis, &openCLerrNum); + sizeof(u_int), &m_cellCountInOneAxis, &openCLerrNum); m_collisionCells.resize(m_cellCount); m_collisionCellsBuffer = @@ -65,6 +65,7 @@ void CollisionCellCollection::generateShiftVector( } void CollisionCellCollection::recalculate_cells(ParticleCollection& t_particles, + numType t_temperature, RandomNumberGenerator& t_rng) { numType phi, theta; @@ -84,11 +85,14 @@ void CollisionCellCollection::recalculate_cells(ParticleCollection& t_particles, * Sum up all momentums, energies and masses for each cell */ int collision_cell_index; - - for (size_t i = 0; i < t_particles.getParticleCountTotal(); i++) { + // m_particle_collision_cell_index[gid] + for (size_t i = 0; i < t_particles.getParticleCountTotal(); i++) { collision_cell_index = t_particles.returnCollisionCellIndex(i); - if (collision_cell_index == 0) continue; + + if (collision_cell_index == 0) { + continue; + } cell_values[collision_cell_index][0] += t_particles.returnParticlepX(i); cell_values[collision_cell_index][1] += t_particles.returnParticlepY(i); cell_values[collision_cell_index][2] += t_particles.returnParticlepZ(i); @@ -100,9 +104,14 @@ void CollisionCellCollection::recalculate_cells(ParticleCollection& t_particles, /* * Calculate velocities for each collision cell */ + + double no_collision_probability = 0.; + double probability = 0; + for (size_t i = 1; i < m_cellCount; i++) { + m_collisionCells[i].particle_count = (cl_uint)cell_values[i][4]; if ((cl_uint)cell_values[i][4] < 2) { - m_collisionCells[i].particle_count = (cl_uint)0; + m_collisionCells[i].b_collide = 0; continue; } /* @@ -111,30 +120,29 @@ void CollisionCellCollection::recalculate_cells(ParticleCollection& t_particles, * N is number of particles in a cell */ - if (t_rng.generate_number() >= - std::pow(0.01, cell_values[i][4]) / cell_values[i][5]) { - m_collisionCells[i].particle_count = (cl_uint)0; + no_collision_probability = + std::exp(-(std::pow(cell_values[i][3] / (3 * cell_values[i][4]), + cell_values[i][4]) / + cell_values[i][5])) ; + + probability = t_rng.generate_number(); + if (probability <= no_collision_probability) { + m_collisionCells[i].b_collide = 0; continue; } - + m_collisionCells[i].b_collide = 1; m_collisionCells[i].particle_count = (int)cell_values[i][4]; m_collisionCells[i].vX = cell_values[i][0] / cell_values[i][3]; m_collisionCells[i].vY = cell_values[i][1] / cell_values[i][3]; m_collisionCells[i].vZ = cell_values[i][2] / cell_values[i][3]; - m_collisionCells[i].total_mass = - std::sqrt(std::pow(cell_values[i][3], 2) - std::pow(cell_values[i][0], 2) - - std::pow(cell_values[i][1], 2) - std::pow(cell_values[i][2], 2)); + m_collisionCells[i].total_mass = std::sqrt( + std::pow(cell_values[i][3], 2) - std::pow(cell_values[i][0], 2) - + std::pow(cell_values[i][1], 2) - std::pow(cell_values[i][2], 2)); m_collisionCells[i].pX = cell_values[i][0] / cell_values[i][4]; m_collisionCells[i].pY = cell_values[i][1] / cell_values[i][4]; m_collisionCells[i].pZ = cell_values[i][2] / cell_values[i][4]; m_collisionCells[i].pE = cell_values[i][3] / cell_values[i][4]; - m_collisionCells[i].v2 = - std::fma(m_collisionCells[i].vX, m_collisionCells[i].vX, - std::fma(m_collisionCells[i].vY, m_collisionCells[i].vY, - m_collisionCells[i].vZ * m_collisionCells[i].vZ)); - - m_collisionCells[i].gamma = 1 / std::sqrt(1 - m_collisionCells[i].v2); phi = std::acos((numType)1. - (numType)2. * t_rng.generate_number()); theta = (numType)2 * (numType)M_PI * t_rng.generate_number(); @@ -147,4 +155,5 @@ void CollisionCellCollection::recalculate_cells(ParticleCollection& t_particles, m_collisionCells[i].y = std::sin(phi) * std::sin(theta); m_collisionCells[i].z = std::cos(phi); } + // exit(0); } \ No newline at end of file diff --git a/bubbleSim/collision.h b/bubbleSim/collision.h index 833c977..fefcc34 100644 --- a/bubbleSim/collision.h +++ b/bubbleSim/collision.h @@ -3,7 +3,6 @@ #include "objects.h" typedef struct CollisionCell { // Lorentz transformation - cl_numType gamma; cl_numType vX; cl_numType vY; cl_numType vZ; @@ -20,7 +19,7 @@ typedef struct CollisionCell { cl_numType pY; cl_numType pZ; - cl_numType v2; + cl_char b_collide; cl_numType total_mass; cl_uint particle_count; } CollisionCell; @@ -30,7 +29,7 @@ class CollisionCellCollection { CollisionCellCollection(numType t_meanFreePath, unsigned int t_cellCount, bool t_doubleCellCount, cl::Context& cl_context); - void recalculate_cells(ParticleCollection& t_particles, + void recalculate_cells(ParticleCollection& t_particles, numType t_temperature, RandomNumberGenerator& t_rng); void generateShiftVector(RandomNumberGenerator& t_rng); @@ -86,12 +85,12 @@ class CollisionCellCollection { void writeCellCountBuffer(cl::CommandQueue& cl_queue) { cl_queue.enqueueWriteBuffer(m_cellCountBuffer, CL_TRUE, 0, - sizeof(unsigned int), &m_cellCount); + sizeof(u_int), &m_cellCount); }; void writeCellCountInOneAxisBuffer(cl::CommandQueue& cl_queue) { cl_queue.enqueueWriteBuffer(m_cellCountInOneAxisBuffer, CL_TRUE, 0, - sizeof(unsigned int), &m_cellCountInOneAxis); + sizeof(u_int), &m_cellCountInOneAxis); }; void writeCellLengthBuffer(cl::CommandQueue& cl_queue) { @@ -134,7 +133,7 @@ class CollisionCellCollection { void readCellCountInOneAxisBuffer(cl::CommandQueue& cl_queue) { cl_queue.enqueueReadBuffer(m_cellCountInOneAxisBuffer, CL_TRUE, 0, - sizeof(unsigned int), &m_cellCountInOneAxis); + sizeof(u_int), &m_cellCountInOneAxis); }; void readShiftVectorBuffer(cl::CommandQueue& cl_queue) { @@ -165,10 +164,10 @@ class CollisionCellCollection { numType m_cellLength; cl::Buffer m_cellLengthBuffer; - unsigned int m_cellCountInOneAxis; + u_int m_cellCountInOneAxis; cl::Buffer m_cellCountInOneAxisBuffer; - unsigned int m_cellCount; + u_int m_cellCount; cl::Buffer m_cellCountBuffer; std::array m_shiftVector; diff --git a/bubbleSim/particle.cpp b/bubbleSim/particle.cpp index 03b2b90..e9c1529 100644 --- a/bubbleSim/particle.cpp +++ b/bubbleSim/particle.cpp @@ -631,11 +631,11 @@ ParticleCollection::ParticleCollection( m_particle_bool_in_bubble.data(), &openCLerrNum); m_particle_collision_cell_index = - std::vector(m_particleCountTotal, (cl_int)0); + std::vector(m_particleCountTotal, (cl_uint)0); m_particle_collision_cell_index_buffer = cl::Buffer(cl_context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, - m_particleCountTotal * sizeof(cl_int), + m_particleCountTotal * sizeof(cl_uint), m_particle_collision_cell_index.data(), &openCLerrNum); // Data reserve diff --git a/bubbleSim/particle.h b/bubbleSim/particle.h index 4c7e4e0..9b84e18 100644 --- a/bubbleSim/particle.h +++ b/bubbleSim/particle.h @@ -18,7 +18,7 @@ typedef struct Particle { cl_char b_collide = (cl_char)1; cl_char b_inBubble = (cl_char)0; - cl_int idxCollisionCell = (cl_int)0; + cl_uint idxCollisionCell = (cl_uint)0; } Particle; class ParticleGenerator { @@ -204,8 +204,8 @@ class ParticleCollection { std::vector m_particle_bool_in_bubble_copy; cl::Buffer m_particle_bool_in_bubble_buffer; - std::vector m_particle_collision_cell_index; - std::vector m_particle_collision_cell_index_copy; + std::vector m_particle_collision_cell_index; + std::vector m_particle_collision_cell_index_copy; cl::Buffer m_particle_collision_cell_index_buffer; std::vector m_dP; @@ -485,7 +485,7 @@ class ParticleCollection { void writeParticleCollisionCellIndexBuffer(cl::CommandQueue& cl_queue) { cl_queue.enqueueWriteBuffer( m_particle_collision_cell_index_buffer, CL_TRUE, 0, - m_particle_collision_cell_index.size() * sizeof(cl_int), + m_particle_collision_cell_index.size() * sizeof(cl_uint), m_particle_collision_cell_index.data()); } @@ -604,7 +604,7 @@ class ParticleCollection { void readParticleCollisionCellIndexBuffer(cl::CommandQueue& cl_queue) { cl_queue.enqueueReadBuffer( m_particle_collision_cell_index_buffer, CL_TRUE, 0, - m_particle_collision_cell_index.size() * sizeof(int8_t), + m_particle_collision_cell_index.size() * sizeof(cl_uint), m_particle_collision_cell_index.data()); } diff --git a/bubbleSim/simulation.cpp b/bubbleSim/simulation.cpp index ecbffd3..e58aff7 100644 --- a/bubbleSim/simulation.cpp +++ b/bubbleSim/simulation.cpp @@ -40,8 +40,8 @@ Simulation::Simulation(int t_seed, numType t_max_dt, numType t_boundaryRadius, */ // Just linear movement -void Simulation::setBuffersParticleStepLinear( - ParticleCollection& t_particles, cl::Kernel& t_kernel) { +void Simulation::setBuffersParticleStepLinear(ParticleCollection& t_particles, + cl::Kernel& t_kernel) { int errNum; errNum = t_kernel.setArg(0, t_particles.getParticleXBuffer()); if (errNum != CL_SUCCESS) { @@ -202,8 +202,7 @@ void Simulation::setBuffersParticleStepWithBubble( void Simulation::setBuffersParticleStepWithBubbleInverted( ParticleCollection& t_particles, PhaseBubble& t_bubble, cl::Kernel& t_kernel) { - Simulation::setBuffersParticleStepWithBubble(t_particles, t_bubble, - t_kernel); + Simulation::setBuffersParticleStepWithBubble(t_particles, t_bubble, t_kernel); } // With a bubble but all particles reflect back from the bubble wall @@ -328,8 +327,8 @@ void Simulation::setBuffersParticleBoundaryMomentumReflect( } void Simulation::setBuffersRotateMomentum(ParticleCollection& t_particles, - CollisionCellCollection& t_cells, - cl::Kernel& t_kernel) { + CollisionCellCollection& t_cells, + cl::Kernel& t_kernel) { t_kernel.setArg(0, t_particles.getParticleEBuffer()); t_kernel.setArg(1, t_particles.getParticlepXBuffer()); t_kernel.setArg(2, t_particles.getParticlepYBuffer()); @@ -451,9 +450,9 @@ void Simulation::step(ParticleCollection& particles, PhaseBubble& bubble, // Step with bubble kernel and boundary condition void Simulation::step(ParticleCollection& particles, PhaseBubble& bubble, - cl::Kernel& t_particle_step_kernel, - cl::Kernel& t_particle_boundary_check_kernel, - cl::CommandQueue& cl_queue) { + cl::Kernel& t_particle_step_kernel, + cl::Kernel& t_particle_boundary_check_kernel, + cl::CommandQueue& cl_queue) { Simulation::step(particles, bubble, t_particle_step_kernel, cl_queue); cl_queue.enqueueNDRangeKernel(t_particle_boundary_check_kernel, cl::NullRange, cl::NDRange(particles.getParticleCountTotal())); @@ -475,6 +474,8 @@ void Simulation::step(ParticleCollection& particles, cl::Kernel& t_particle_boundary_check_kernel, cl::CommandQueue& cl_queue) { // Move particles + // TODO: Define temperature from config or dynamically. + numType temperature = (numType)0.01; cl_queue.enqueueNDRangeKernel(t_particle_step_kernel, cl::NullRange, cl::NDRange(particles.getParticleCountTotal())); @@ -496,7 +497,7 @@ void Simulation::step(ParticleCollection& particles, particles.readParticleEBuffer(cl_queue); particles.readParticleCollisionCellIndexBuffer(cl_queue); // Calculate COM and genrate rotation matrix for each cell - cells.recalculate_cells(particles, generator_collision); + cells.recalculate_cells(particles, temperature, generator_collision); // Update collision cell data on GPU particles.writeParticleCollisionCellIndexBuffer(cl_queue); @@ -506,8 +507,8 @@ void Simulation::step(ParticleCollection& particles, t_rotate_momentum_kernel, cl::NullRange, cl::NDRange(particles.getParticleCountTotal())); // particles.readParticlesBuffer(cl_queue); - // Update simulation time - m_time += m_dt_current; - m_step_count += 1; } + // Update simulation time + m_time += m_dt_current; + m_step_count += 1; } diff --git a/bubbleSim/source.cpp b/bubbleSim/source.cpp index 464ca75..b9819f0 100644 --- a/bubbleSim/source.cpp +++ b/bubbleSim/source.cpp @@ -105,10 +105,11 @@ int main(int argc, char* argv[]) { // 2) Initialize openCL (kernels, commandQueues) OpenCLLoader kernels(s_kernelPath, config.kernelName); + + // 4) Generate particles - ParticleGenerator particleGenerator1; + ParticleGenerator particleGenerator1; // 4.1) Create generator (calculates distribution) - if (b_COLLISION_DEVELOPMENT_ON) { particleGenerator1 = ParticleGenerator( config.particleMassFalse, 3. * config.particleTemperatureFalse); @@ -298,18 +299,11 @@ int main(int argc, char* argv[]) { // auto streamEndTime = high_resolution_clock::now(); // auto streamStartTime = high_resolution_clock::now(); + for (int i = 1; (simulation.getTime() <= config.maxTime) && (config.m_maxSteps > 0 && simulation.getStep() < config.m_maxSteps); i++) { - particles.readParticleXBuffer(kernels.getCommandQueue()); - particles.readParticlepXBuffer(kernels.getCommandQueue()); - particles.readParticleCollisionCellIndexBuffer(kernels.getCommandQueue()); - std::cout << "X: " << particles.returnParticleX(1) - << ", Px: " << particles.returnParticlepX(1) - << ", Idx: " << particles.returnCollisionCellIndex(1) - << std::endl; - if (b_COLLISION_DEVELOPMENT_ON) { simulation.step(particles, cells, rn_generator, i, *stepKernel, diff --git a/configs/collapse_scan/config1.json b/configs/collapse_scan/config1.json deleted file mode 100644 index 8cc5a5d..0000000 --- a/configs/collapse_scan/config1.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 2.593822301243847 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config10.json b/configs/collapse_scan/config10.json deleted file mode 100644 index 6334efa..0000000 --- a/configs/collapse_scan/config10.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.16211389382774044 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config100.json b/configs/collapse_scan/config100.json deleted file mode 100644 index 56720bb..0000000 --- a/configs/collapse_scan/config100.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0015831434944115277 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config101.json b/configs/collapse_scan/config101.json deleted file mode 100644 index 044e91f..0000000 --- a/configs/collapse_scan/config101.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0015831434944115277 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config102.json b/configs/collapse_scan/config102.json deleted file mode 100644 index 56720bb..0000000 --- a/configs/collapse_scan/config102.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0015831434944115277 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config103.json b/configs/collapse_scan/config103.json deleted file mode 100644 index 4cfb522..0000000 --- a/configs/collapse_scan/config103.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.000648455575310962 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config104.json b/configs/collapse_scan/config104.json deleted file mode 100644 index d684227..0000000 --- a/configs/collapse_scan/config104.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.000648455575310962 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config105.json b/configs/collapse_scan/config105.json deleted file mode 100644 index 4cfb522..0000000 --- a/configs/collapse_scan/config105.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.000648455575310962 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config106.json b/configs/collapse_scan/config106.json deleted file mode 100644 index d684227..0000000 --- a/configs/collapse_scan/config106.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.000648455575310962 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config107.json b/configs/collapse_scan/config107.json deleted file mode 100644 index 4cfb522..0000000 --- a/configs/collapse_scan/config107.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.000648455575310962 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config108.json b/configs/collapse_scan/config108.json deleted file mode 100644 index d684227..0000000 --- a/configs/collapse_scan/config108.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.000648455575310962 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config109.json b/configs/collapse_scan/config109.json deleted file mode 100644 index 7c88b97..0000000 --- a/configs/collapse_scan/config109.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 11.34797256794183 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config11.json b/configs/collapse_scan/config11.json deleted file mode 100644 index 56b80c4..0000000 --- a/configs/collapse_scan/config11.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.16211389382774044 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config110.json b/configs/collapse_scan/config110.json deleted file mode 100644 index 8a922b3..0000000 --- a/configs/collapse_scan/config110.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 11.34797256794183 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config111.json b/configs/collapse_scan/config111.json deleted file mode 100644 index 7c88b97..0000000 --- a/configs/collapse_scan/config111.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 11.34797256794183 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config112.json b/configs/collapse_scan/config112.json deleted file mode 100644 index 8a922b3..0000000 --- a/configs/collapse_scan/config112.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 11.34797256794183 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config113.json b/configs/collapse_scan/config113.json deleted file mode 100644 index 7c88b97..0000000 --- a/configs/collapse_scan/config113.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 11.34797256794183 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config114.json b/configs/collapse_scan/config114.json deleted file mode 100644 index 8a922b3..0000000 --- a/configs/collapse_scan/config114.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 11.34797256794183 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config115.json b/configs/collapse_scan/config115.json deleted file mode 100644 index 89129c4..0000000 --- a/configs/collapse_scan/config115.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.7092482854963644 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config116.json b/configs/collapse_scan/config116.json deleted file mode 100644 index 706acb5..0000000 --- a/configs/collapse_scan/config116.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.7092482854963644 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config117.json b/configs/collapse_scan/config117.json deleted file mode 100644 index 89129c4..0000000 --- a/configs/collapse_scan/config117.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.7092482854963644 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config118.json b/configs/collapse_scan/config118.json deleted file mode 100644 index 706acb5..0000000 --- a/configs/collapse_scan/config118.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.7092482854963644 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config119.json b/configs/collapse_scan/config119.json deleted file mode 100644 index 89129c4..0000000 --- a/configs/collapse_scan/config119.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.7092482854963644 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config12.json b/configs/collapse_scan/config12.json deleted file mode 100644 index 6334efa..0000000 --- a/configs/collapse_scan/config12.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.16211389382774044 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config120.json b/configs/collapse_scan/config120.json deleted file mode 100644 index 706acb5..0000000 --- a/configs/collapse_scan/config120.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.7092482854963644 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config121.json b/configs/collapse_scan/config121.json deleted file mode 100644 index 6695307..0000000 --- a/configs/collapse_scan/config121.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04432801784352278 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config122.json b/configs/collapse_scan/config122.json deleted file mode 100644 index d1a13e4..0000000 --- a/configs/collapse_scan/config122.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04432801784352278 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config123.json b/configs/collapse_scan/config123.json deleted file mode 100644 index 6695307..0000000 --- a/configs/collapse_scan/config123.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04432801784352278 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config124.json b/configs/collapse_scan/config124.json deleted file mode 100644 index d1a13e4..0000000 --- a/configs/collapse_scan/config124.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04432801784352278 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config125.json b/configs/collapse_scan/config125.json deleted file mode 100644 index 6695307..0000000 --- a/configs/collapse_scan/config125.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04432801784352278 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config126.json b/configs/collapse_scan/config126.json deleted file mode 100644 index d1a13e4..0000000 --- a/configs/collapse_scan/config126.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04432801784352278 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config127.json b/configs/collapse_scan/config127.json deleted file mode 100644 index 4fd9d29..0000000 --- a/configs/collapse_scan/config127.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.00875615167279462 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config128.json b/configs/collapse_scan/config128.json deleted file mode 100644 index 32b2c7b..0000000 --- a/configs/collapse_scan/config128.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.00875615167279462 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config129.json b/configs/collapse_scan/config129.json deleted file mode 100644 index 4fd9d29..0000000 --- a/configs/collapse_scan/config129.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.00875615167279462 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config13.json b/configs/collapse_scan/config13.json deleted file mode 100644 index 8889fe9..0000000 --- a/configs/collapse_scan/config13.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.010132118364233778 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config130.json b/configs/collapse_scan/config130.json deleted file mode 100644 index 32b2c7b..0000000 --- a/configs/collapse_scan/config130.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.00875615167279462 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config131.json b/configs/collapse_scan/config131.json deleted file mode 100644 index 4fd9d29..0000000 --- a/configs/collapse_scan/config131.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.00875615167279462 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config132.json b/configs/collapse_scan/config132.json deleted file mode 100644 index 32b2c7b..0000000 --- a/configs/collapse_scan/config132.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.00875615167279462 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config133.json b/configs/collapse_scan/config133.json deleted file mode 100644 index ef9e065..0000000 --- a/configs/collapse_scan/config133.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0027705011152201735 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config134.json b/configs/collapse_scan/config134.json deleted file mode 100644 index b56da1b..0000000 --- a/configs/collapse_scan/config134.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0027705011152201735 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config135.json b/configs/collapse_scan/config135.json deleted file mode 100644 index ef9e065..0000000 --- a/configs/collapse_scan/config135.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0027705011152201735 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config136.json b/configs/collapse_scan/config136.json deleted file mode 100644 index b56da1b..0000000 --- a/configs/collapse_scan/config136.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0027705011152201735 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config137.json b/configs/collapse_scan/config137.json deleted file mode 100644 index ef9e065..0000000 --- a/configs/collapse_scan/config137.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0027705011152201735 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config138.json b/configs/collapse_scan/config138.json deleted file mode 100644 index b56da1b..0000000 --- a/configs/collapse_scan/config138.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0027705011152201735 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config139.json b/configs/collapse_scan/config139.json deleted file mode 100644 index ae32965..0000000 --- a/configs/collapse_scan/config139.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0011347972567941835 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config14.json b/configs/collapse_scan/config14.json deleted file mode 100644 index 4dc166d..0000000 --- a/configs/collapse_scan/config14.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.010132118364233778 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config140.json b/configs/collapse_scan/config140.json deleted file mode 100644 index ff9e71f..0000000 --- a/configs/collapse_scan/config140.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0011347972567941835 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config141.json b/configs/collapse_scan/config141.json deleted file mode 100644 index ae32965..0000000 --- a/configs/collapse_scan/config141.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0011347972567941835 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config142.json b/configs/collapse_scan/config142.json deleted file mode 100644 index ff9e71f..0000000 --- a/configs/collapse_scan/config142.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0011347972567941835 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config143.json b/configs/collapse_scan/config143.json deleted file mode 100644 index ae32965..0000000 --- a/configs/collapse_scan/config143.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0011347972567941835 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config144.json b/configs/collapse_scan/config144.json deleted file mode 100644 index ff9e71f..0000000 --- a/configs/collapse_scan/config144.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.0, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0011347972567941835 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config145.json b/configs/collapse_scan/config145.json deleted file mode 100644 index 0b3a570..0000000 --- a/configs/collapse_scan/config145.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.33022454115281097, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.015119352164571451 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config146.json b/configs/collapse_scan/config146.json deleted file mode 100644 index d3b5a53..0000000 --- a/configs/collapse_scan/config146.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.33022454115281097, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.015119352164571451 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config147.json b/configs/collapse_scan/config147.json deleted file mode 100644 index 0b3a570..0000000 --- a/configs/collapse_scan/config147.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.33022454115281097, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.015119352164571451 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config148.json b/configs/collapse_scan/config148.json deleted file mode 100644 index d3b5a53..0000000 --- a/configs/collapse_scan/config148.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.33022454115281097, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.015119352164571451 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config149.json b/configs/collapse_scan/config149.json deleted file mode 100644 index 0b3a570..0000000 --- a/configs/collapse_scan/config149.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.33022454115281097, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.015119352164571451 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config15.json b/configs/collapse_scan/config15.json deleted file mode 100644 index 8889fe9..0000000 --- a/configs/collapse_scan/config15.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.010132118364233778 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config150.json b/configs/collapse_scan/config150.json deleted file mode 100644 index d3b5a53..0000000 --- a/configs/collapse_scan/config150.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.33022454115281097, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.015119352164571451 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config151.json b/configs/collapse_scan/config151.json deleted file mode 100644 index edf2a53..0000000 --- a/configs/collapse_scan/config151.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.2357911223500371, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.029649276815754647 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config152.json b/configs/collapse_scan/config152.json deleted file mode 100644 index cddae83..0000000 --- a/configs/collapse_scan/config152.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.2357911223500371, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.029649276815754647 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config153.json b/configs/collapse_scan/config153.json deleted file mode 100644 index edf2a53..0000000 --- a/configs/collapse_scan/config153.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.2357911223500371, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.029649276815754647 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config154.json b/configs/collapse_scan/config154.json deleted file mode 100644 index cddae83..0000000 --- a/configs/collapse_scan/config154.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.2357911223500371, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.029649276815754647 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config155.json b/configs/collapse_scan/config155.json deleted file mode 100644 index edf2a53..0000000 --- a/configs/collapse_scan/config155.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.2357911223500371, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.029649276815754647 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config156.json b/configs/collapse_scan/config156.json deleted file mode 100644 index cddae83..0000000 --- a/configs/collapse_scan/config156.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.2357911223500371, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.029649276815754647 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config157.json b/configs/collapse_scan/config157.json deleted file mode 100644 index 620b296..0000000 --- a/configs/collapse_scan/config157.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.251657442485813, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.049108935958222674 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config158.json b/configs/collapse_scan/config158.json deleted file mode 100644 index 34c75cc..0000000 --- a/configs/collapse_scan/config158.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.251657442485813, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.049108935958222674 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config159.json b/configs/collapse_scan/config159.json deleted file mode 100644 index 620b296..0000000 --- a/configs/collapse_scan/config159.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.251657442485813, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.049108935958222674 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config16.json b/configs/collapse_scan/config16.json deleted file mode 100644 index 4dc166d..0000000 --- a/configs/collapse_scan/config16.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.010132118364233778 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config160.json b/configs/collapse_scan/config160.json deleted file mode 100644 index 34c75cc..0000000 --- a/configs/collapse_scan/config160.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.251657442485813, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.049108935958222674 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config161.json b/configs/collapse_scan/config161.json deleted file mode 100644 index 620b296..0000000 --- a/configs/collapse_scan/config161.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.251657442485813, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.049108935958222674 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config162.json b/configs/collapse_scan/config162.json deleted file mode 100644 index 34c75cc..0000000 --- a/configs/collapse_scan/config162.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.251657442485813, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.049108935958222674 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config163.json b/configs/collapse_scan/config163.json deleted file mode 100644 index ce574b1..0000000 --- a/configs/collapse_scan/config163.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 14.714737348482123, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.05646993825981861 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config164.json b/configs/collapse_scan/config164.json deleted file mode 100644 index d1a627b..0000000 --- a/configs/collapse_scan/config164.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 14.714737348482123, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.05646993825981861 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config165.json b/configs/collapse_scan/config165.json deleted file mode 100644 index ce574b1..0000000 --- a/configs/collapse_scan/config165.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 14.714737348482123, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.05646993825981861 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config166.json b/configs/collapse_scan/config166.json deleted file mode 100644 index d1a627b..0000000 --- a/configs/collapse_scan/config166.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 14.714737348482123, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.05646993825981861 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config167.json b/configs/collapse_scan/config167.json deleted file mode 100644 index ce574b1..0000000 --- a/configs/collapse_scan/config167.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 14.714737348482123, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.05646993825981861 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config168.json b/configs/collapse_scan/config168.json deleted file mode 100644 index d1a627b..0000000 --- a/configs/collapse_scan/config168.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 14.714737348482123, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.05646993825981861 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config169.json b/configs/collapse_scan/config169.json deleted file mode 100644 index 261d32e..0000000 --- a/configs/collapse_scan/config169.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 47.196609839958896, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.056435040243410395 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config17.json b/configs/collapse_scan/config17.json deleted file mode 100644 index 8889fe9..0000000 --- a/configs/collapse_scan/config17.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.010132118364233778 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config170.json b/configs/collapse_scan/config170.json deleted file mode 100644 index dc6f751..0000000 --- a/configs/collapse_scan/config170.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 47.196609839958896, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.056435040243410395 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config171.json b/configs/collapse_scan/config171.json deleted file mode 100644 index 261d32e..0000000 --- a/configs/collapse_scan/config171.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 47.196609839958896, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.056435040243410395 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config172.json b/configs/collapse_scan/config172.json deleted file mode 100644 index dc6f751..0000000 --- a/configs/collapse_scan/config172.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 47.196609839958896, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.056435040243410395 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config173.json b/configs/collapse_scan/config173.json deleted file mode 100644 index 261d32e..0000000 --- a/configs/collapse_scan/config173.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 47.196609839958896, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.056435040243410395 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config174.json b/configs/collapse_scan/config174.json deleted file mode 100644 index dc6f751..0000000 --- a/configs/collapse_scan/config174.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 47.196609839958896, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.056435040243410395 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config175.json b/configs/collapse_scan/config175.json deleted file mode 100644 index 9b4e542..0000000 --- a/configs/collapse_scan/config175.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 108.45332660394739, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.05290748711684051 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config176.json b/configs/collapse_scan/config176.json deleted file mode 100644 index cbaffa6..0000000 --- a/configs/collapse_scan/config176.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 108.45332660394739, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.05290748711684051 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config177.json b/configs/collapse_scan/config177.json deleted file mode 100644 index 9b4e542..0000000 --- a/configs/collapse_scan/config177.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 108.45332660394739, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.05290748711684051 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config178.json b/configs/collapse_scan/config178.json deleted file mode 100644 index cbaffa6..0000000 --- a/configs/collapse_scan/config178.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 108.45332660394739, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.05290748711684051 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config179.json b/configs/collapse_scan/config179.json deleted file mode 100644 index 9b4e542..0000000 --- a/configs/collapse_scan/config179.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 108.45332660394739, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.05290748711684051 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config18.json b/configs/collapse_scan/config18.json deleted file mode 100644 index 4dc166d..0000000 --- a/configs/collapse_scan/config18.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.010132118364233778 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config180.json b/configs/collapse_scan/config180.json deleted file mode 100644 index cbaffa6..0000000 --- a/configs/collapse_scan/config180.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 108.45332660394739, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.05290748711684051 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.2, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config181.json b/configs/collapse_scan/config181.json deleted file mode 100644 index e53d300..0000000 --- a/configs/collapse_scan/config181.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3297316025359337, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01751671812257243 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config182.json b/configs/collapse_scan/config182.json deleted file mode 100644 index 38bf371..0000000 --- a/configs/collapse_scan/config182.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3297316025359337, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01751671812257243 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config183.json b/configs/collapse_scan/config183.json deleted file mode 100644 index e53d300..0000000 --- a/configs/collapse_scan/config183.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3297316025359337, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01751671812257243 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config184.json b/configs/collapse_scan/config184.json deleted file mode 100644 index 38bf371..0000000 --- a/configs/collapse_scan/config184.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3297316025359337, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01751671812257243 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config185.json b/configs/collapse_scan/config185.json deleted file mode 100644 index e53d300..0000000 --- a/configs/collapse_scan/config185.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3297316025359337, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01751671812257243 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config186.json b/configs/collapse_scan/config186.json deleted file mode 100644 index 38bf371..0000000 --- a/configs/collapse_scan/config186.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3297316025359337, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01751671812257243 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config187.json b/configs/collapse_scan/config187.json deleted file mode 100644 index c36483f..0000000 --- a/configs/collapse_scan/config187.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.21748278192675213, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.03521434498239692 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config188.json b/configs/collapse_scan/config188.json deleted file mode 100644 index f500cc8..0000000 --- a/configs/collapse_scan/config188.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.21748278192675213, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.03521434498239692 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config189.json b/configs/collapse_scan/config189.json deleted file mode 100644 index c36483f..0000000 --- a/configs/collapse_scan/config189.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.21748278192675213, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.03521434498239692 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config19.json b/configs/collapse_scan/config19.json deleted file mode 100644 index d519056..0000000 --- a/configs/collapse_scan/config19.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0020014060966387706 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config190.json b/configs/collapse_scan/config190.json deleted file mode 100644 index f500cc8..0000000 --- a/configs/collapse_scan/config190.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.21748278192675213, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.03521434498239692 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config191.json b/configs/collapse_scan/config191.json deleted file mode 100644 index c36483f..0000000 --- a/configs/collapse_scan/config191.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.21748278192675213, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.03521434498239692 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config192.json b/configs/collapse_scan/config192.json deleted file mode 100644 index f500cc8..0000000 --- a/configs/collapse_scan/config192.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.21748278192675213, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.03521434498239692 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config193.json b/configs/collapse_scan/config193.json deleted file mode 100644 index 0c6f3b2..0000000 --- a/configs/collapse_scan/config193.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.96608406261026, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.06268141422883589 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config194.json b/configs/collapse_scan/config194.json deleted file mode 100644 index 6036ed9..0000000 --- a/configs/collapse_scan/config194.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.96608406261026, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.06268141422883589 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config195.json b/configs/collapse_scan/config195.json deleted file mode 100644 index 0c6f3b2..0000000 --- a/configs/collapse_scan/config195.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.96608406261026, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.06268141422883589 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config196.json b/configs/collapse_scan/config196.json deleted file mode 100644 index 6036ed9..0000000 --- a/configs/collapse_scan/config196.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.96608406261026, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.06268141422883589 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config197.json b/configs/collapse_scan/config197.json deleted file mode 100644 index 0c6f3b2..0000000 --- a/configs/collapse_scan/config197.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.96608406261026, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.06268141422883589 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config198.json b/configs/collapse_scan/config198.json deleted file mode 100644 index 6036ed9..0000000 --- a/configs/collapse_scan/config198.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 2.96608406261026, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.06268141422883589 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config199.json b/configs/collapse_scan/config199.json deleted file mode 100644 index 62d0ec2..0000000 --- a/configs/collapse_scan/config199.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 20.351097066696532, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.07762114707772517 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config2.json b/configs/collapse_scan/config2.json deleted file mode 100644 index 755e559..0000000 --- a/configs/collapse_scan/config2.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 2.593822301243847 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config20.json b/configs/collapse_scan/config20.json deleted file mode 100644 index bee98f0..0000000 --- a/configs/collapse_scan/config20.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0020014060966387706 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config200.json b/configs/collapse_scan/config200.json deleted file mode 100644 index ceb9512..0000000 --- a/configs/collapse_scan/config200.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 20.351097066696532, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.07762114707772517 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config201.json b/configs/collapse_scan/config201.json deleted file mode 100644 index 62d0ec2..0000000 --- a/configs/collapse_scan/config201.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 20.351097066696532, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.07762114707772517 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config202.json b/configs/collapse_scan/config202.json deleted file mode 100644 index ceb9512..0000000 --- a/configs/collapse_scan/config202.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 20.351097066696532, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.07762114707772517 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config203.json b/configs/collapse_scan/config203.json deleted file mode 100644 index 62d0ec2..0000000 --- a/configs/collapse_scan/config203.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 20.351097066696532, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.07762114707772517 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config204.json b/configs/collapse_scan/config204.json deleted file mode 100644 index ceb9512..0000000 --- a/configs/collapse_scan/config204.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 20.351097066696532, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.07762114707772517 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config205.json b/configs/collapse_scan/config205.json deleted file mode 100644 index 384807b..0000000 --- a/configs/collapse_scan/config205.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 69.48671546549483, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.08290136702652015 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config206.json b/configs/collapse_scan/config206.json deleted file mode 100644 index c9e62a9..0000000 --- a/configs/collapse_scan/config206.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 69.48671546549483, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.08290136702652015 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config207.json b/configs/collapse_scan/config207.json deleted file mode 100644 index 384807b..0000000 --- a/configs/collapse_scan/config207.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 69.48671546549483, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.08290136702652015 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config208.json b/configs/collapse_scan/config208.json deleted file mode 100644 index c9e62a9..0000000 --- a/configs/collapse_scan/config208.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 69.48671546549483, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.08290136702652015 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config209.json b/configs/collapse_scan/config209.json deleted file mode 100644 index 384807b..0000000 --- a/configs/collapse_scan/config209.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 69.48671546549483, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.08290136702652015 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config21.json b/configs/collapse_scan/config21.json deleted file mode 100644 index d519056..0000000 --- a/configs/collapse_scan/config21.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0020014060966387706 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config210.json b/configs/collapse_scan/config210.json deleted file mode 100644 index c9e62a9..0000000 --- a/configs/collapse_scan/config210.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 69.48671546549483, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.08290136702652015 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config211.json b/configs/collapse_scan/config211.json deleted file mode 100644 index ef1e5c6..0000000 --- a/configs/collapse_scan/config211.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 168.63293796808344, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.08217534049868122 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config212.json b/configs/collapse_scan/config212.json deleted file mode 100644 index 56415ea..0000000 --- a/configs/collapse_scan/config212.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 168.63293796808344, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.08217534049868122 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config213.json b/configs/collapse_scan/config213.json deleted file mode 100644 index ef1e5c6..0000000 --- a/configs/collapse_scan/config213.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 168.63293796808344, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.08217534049868122 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config214.json b/configs/collapse_scan/config214.json deleted file mode 100644 index 56415ea..0000000 --- a/configs/collapse_scan/config214.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 168.63293796808344, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.08217534049868122 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config215.json b/configs/collapse_scan/config215.json deleted file mode 100644 index ef1e5c6..0000000 --- a/configs/collapse_scan/config215.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 168.63293796808344, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.08217534049868122 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config216.json b/configs/collapse_scan/config216.json deleted file mode 100644 index 56415ea..0000000 --- a/configs/collapse_scan/config216.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 168.63293796808344, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.08217534049868122 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.4, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config217.json b/configs/collapse_scan/config217.json deleted file mode 100644 index 1d6cf62..0000000 --- a/configs/collapse_scan/config217.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.32927303692617366, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01974691381978319 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config218.json b/configs/collapse_scan/config218.json deleted file mode 100644 index 3631267..0000000 --- a/configs/collapse_scan/config218.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.32927303692617366, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01974691381978319 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config219.json b/configs/collapse_scan/config219.json deleted file mode 100644 index 1d6cf62..0000000 --- a/configs/collapse_scan/config219.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.32927303692617366, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01974691381978319 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config22.json b/configs/collapse_scan/config22.json deleted file mode 100644 index bee98f0..0000000 --- a/configs/collapse_scan/config22.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0020014060966387706 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config220.json b/configs/collapse_scan/config220.json deleted file mode 100644 index 3631267..0000000 --- a/configs/collapse_scan/config220.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.32927303692617366, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01974691381978319 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config221.json b/configs/collapse_scan/config221.json deleted file mode 100644 index 1d6cf62..0000000 --- a/configs/collapse_scan/config221.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.32927303692617366, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01974691381978319 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config222.json b/configs/collapse_scan/config222.json deleted file mode 100644 index 3631267..0000000 --- a/configs/collapse_scan/config222.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.32927303692617366, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01974691381978319 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config223.json b/configs/collapse_scan/config223.json deleted file mode 100644 index 6d3e831..0000000 --- a/configs/collapse_scan/config223.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.20021874913375032, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04046198169347816 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config224.json b/configs/collapse_scan/config224.json deleted file mode 100644 index ca4c222..0000000 --- a/configs/collapse_scan/config224.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.20021874913375032, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04046198169347816 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config225.json b/configs/collapse_scan/config225.json deleted file mode 100644 index 6d3e831..0000000 --- a/configs/collapse_scan/config225.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.20021874913375032, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04046198169347816 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config226.json b/configs/collapse_scan/config226.json deleted file mode 100644 index ca4c222..0000000 --- a/configs/collapse_scan/config226.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.20021874913375032, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04046198169347816 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config227.json b/configs/collapse_scan/config227.json deleted file mode 100644 index 6d3e831..0000000 --- a/configs/collapse_scan/config227.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.20021874913375032, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04046198169347816 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config228.json b/configs/collapse_scan/config228.json deleted file mode 100644 index ca4c222..0000000 --- a/configs/collapse_scan/config228.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.20021874913375032, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04046198169347816 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config229.json b/configs/collapse_scan/config229.json deleted file mode 100644 index 49f9706..0000000 --- a/configs/collapse_scan/config229.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 3.705936234589145, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0767369200635712 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config23.json b/configs/collapse_scan/config23.json deleted file mode 100644 index d519056..0000000 --- a/configs/collapse_scan/config23.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0020014060966387706 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config230.json b/configs/collapse_scan/config230.json deleted file mode 100644 index 2f1dc9a..0000000 --- a/configs/collapse_scan/config230.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 3.705936234589145, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0767369200635712 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config231.json b/configs/collapse_scan/config231.json deleted file mode 100644 index 49f9706..0000000 --- a/configs/collapse_scan/config231.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 3.705936234589145, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0767369200635712 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config232.json b/configs/collapse_scan/config232.json deleted file mode 100644 index 2f1dc9a..0000000 --- a/configs/collapse_scan/config232.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 3.705936234589145, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0767369200635712 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config233.json b/configs/collapse_scan/config233.json deleted file mode 100644 index 49f9706..0000000 --- a/configs/collapse_scan/config233.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 3.705936234589145, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0767369200635712 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config234.json b/configs/collapse_scan/config234.json deleted file mode 100644 index 2f1dc9a..0000000 --- a/configs/collapse_scan/config234.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 3.705936234589145, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0767369200635712 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config235.json b/configs/collapse_scan/config235.json deleted file mode 100644 index 46365f1..0000000 --- a/configs/collapse_scan/config235.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 26.866878048507964, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.10207250416777583 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config236.json b/configs/collapse_scan/config236.json deleted file mode 100644 index f68eda1..0000000 --- a/configs/collapse_scan/config236.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 26.866878048507964, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.10207250416777583 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config237.json b/configs/collapse_scan/config237.json deleted file mode 100644 index 46365f1..0000000 --- a/configs/collapse_scan/config237.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 26.866878048507964, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.10207250416777583 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config238.json b/configs/collapse_scan/config238.json deleted file mode 100644 index f68eda1..0000000 --- a/configs/collapse_scan/config238.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 26.866878048507964, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.10207250416777583 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config239.json b/configs/collapse_scan/config239.json deleted file mode 100644 index 46365f1..0000000 --- a/configs/collapse_scan/config239.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 26.866878048507964, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.10207250416777583 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config24.json b/configs/collapse_scan/config24.json deleted file mode 100644 index bee98f0..0000000 --- a/configs/collapse_scan/config24.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0020014060966387706 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config240.json b/configs/collapse_scan/config240.json deleted file mode 100644 index f68eda1..0000000 --- a/configs/collapse_scan/config240.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 26.866878048507964, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.10207250416777583 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config241.json b/configs/collapse_scan/config241.json deleted file mode 100644 index 7d92578..0000000 --- a/configs/collapse_scan/config241.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 98.05833533018827, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.1168260976117116 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config242.json b/configs/collapse_scan/config242.json deleted file mode 100644 index a28d000..0000000 --- a/configs/collapse_scan/config242.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 98.05833533018827, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.1168260976117116 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config243.json b/configs/collapse_scan/config243.json deleted file mode 100644 index 7d92578..0000000 --- a/configs/collapse_scan/config243.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 98.05833533018827, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.1168260976117116 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config244.json b/configs/collapse_scan/config244.json deleted file mode 100644 index a28d000..0000000 --- a/configs/collapse_scan/config244.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 98.05833533018827, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.1168260976117116 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config245.json b/configs/collapse_scan/config245.json deleted file mode 100644 index 7d92578..0000000 --- a/configs/collapse_scan/config245.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 98.05833533018827, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.1168260976117116 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config246.json b/configs/collapse_scan/config246.json deleted file mode 100644 index a28d000..0000000 --- a/configs/collapse_scan/config246.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 98.05833533018827, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.1168260976117116 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config247.json b/configs/collapse_scan/config247.json deleted file mode 100644 index fb38b38..0000000 --- a/configs/collapse_scan/config247.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 253.25968368580342, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.12333285430949018 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config248.json b/configs/collapse_scan/config248.json deleted file mode 100644 index 558d17d..0000000 --- a/configs/collapse_scan/config248.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 253.25968368580342, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.12333285430949018 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config249.json b/configs/collapse_scan/config249.json deleted file mode 100644 index fb38b38..0000000 --- a/configs/collapse_scan/config249.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 253.25968368580342, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.12333285430949018 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config25.json b/configs/collapse_scan/config25.json deleted file mode 100644 index 0d784d9..0000000 --- a/configs/collapse_scan/config25.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0006332573977646111 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config250.json b/configs/collapse_scan/config250.json deleted file mode 100644 index 558d17d..0000000 --- a/configs/collapse_scan/config250.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 253.25968368580342, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.12333285430949018 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config251.json b/configs/collapse_scan/config251.json deleted file mode 100644 index fb38b38..0000000 --- a/configs/collapse_scan/config251.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 253.25968368580342, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.12333285430949018 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config252.json b/configs/collapse_scan/config252.json deleted file mode 100644 index 558d17d..0000000 --- a/configs/collapse_scan/config252.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 253.25968368580342, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.12333285430949018 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config253.json b/configs/collapse_scan/config253.json deleted file mode 100644 index 494f75b..0000000 --- a/configs/collapse_scan/config253.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3288624088922744, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02174396910449034 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config254.json b/configs/collapse_scan/config254.json deleted file mode 100644 index d651aec..0000000 --- a/configs/collapse_scan/config254.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3288624088922744, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02174396910449034 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config255.json b/configs/collapse_scan/config255.json deleted file mode 100644 index 494f75b..0000000 --- a/configs/collapse_scan/config255.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3288624088922744, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02174396910449034 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config256.json b/configs/collapse_scan/config256.json deleted file mode 100644 index d651aec..0000000 --- a/configs/collapse_scan/config256.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3288624088922744, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02174396910449034 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config257.json b/configs/collapse_scan/config257.json deleted file mode 100644 index 494f75b..0000000 --- a/configs/collapse_scan/config257.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3288624088922744, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02174396910449034 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config258.json b/configs/collapse_scan/config258.json deleted file mode 100644 index d651aec..0000000 --- a/configs/collapse_scan/config258.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3288624088922744, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02174396910449034 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config259.json b/configs/collapse_scan/config259.json deleted file mode 100644 index 7f58d6d..0000000 --- a/configs/collapse_scan/config259.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.18512829359980024, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.045048930142683824 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config26.json b/configs/collapse_scan/config26.json deleted file mode 100644 index ab54b5a..0000000 --- a/configs/collapse_scan/config26.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0006332573977646111 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config260.json b/configs/collapse_scan/config260.json deleted file mode 100644 index 2cb1f38..0000000 --- a/configs/collapse_scan/config260.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.18512829359980024, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.045048930142683824 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config261.json b/configs/collapse_scan/config261.json deleted file mode 100644 index 7f58d6d..0000000 --- a/configs/collapse_scan/config261.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.18512829359980024, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.045048930142683824 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config262.json b/configs/collapse_scan/config262.json deleted file mode 100644 index 2cb1f38..0000000 --- a/configs/collapse_scan/config262.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.18512829359980024, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.045048930142683824 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config263.json b/configs/collapse_scan/config263.json deleted file mode 100644 index 7f58d6d..0000000 --- a/configs/collapse_scan/config263.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.18512829359980024, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.045048930142683824 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config264.json b/configs/collapse_scan/config264.json deleted file mode 100644 index 2cb1f38..0000000 --- a/configs/collapse_scan/config264.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.18512829359980024, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.045048930142683824 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config265.json b/configs/collapse_scan/config265.json deleted file mode 100644 index d46de57..0000000 --- a/configs/collapse_scan/config265.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.427668059079238, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09044818057538626 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config266.json b/configs/collapse_scan/config266.json deleted file mode 100644 index f88d486..0000000 --- a/configs/collapse_scan/config266.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.427668059079238, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09044818057538626 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config267.json b/configs/collapse_scan/config267.json deleted file mode 100644 index d46de57..0000000 --- a/configs/collapse_scan/config267.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.427668059079238, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09044818057538626 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config268.json b/configs/collapse_scan/config268.json deleted file mode 100644 index f88d486..0000000 --- a/configs/collapse_scan/config268.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.427668059079238, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09044818057538626 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config269.json b/configs/collapse_scan/config269.json deleted file mode 100644 index d46de57..0000000 --- a/configs/collapse_scan/config269.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.427668059079238, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09044818057538626 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config27.json b/configs/collapse_scan/config27.json deleted file mode 100644 index 0d784d9..0000000 --- a/configs/collapse_scan/config27.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0006332573977646111 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config270.json b/configs/collapse_scan/config270.json deleted file mode 100644 index f88d486..0000000 --- a/configs/collapse_scan/config270.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.427668059079238, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09044818057538626 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config271.json b/configs/collapse_scan/config271.json deleted file mode 100644 index 97fe603..0000000 --- a/configs/collapse_scan/config271.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 34.1740535340593, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.12949367710401047 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config272.json b/configs/collapse_scan/config272.json deleted file mode 100644 index 54fa3d9..0000000 --- a/configs/collapse_scan/config272.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 34.1740535340593, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.12949367710401047 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config273.json b/configs/collapse_scan/config273.json deleted file mode 100644 index 97fe603..0000000 --- a/configs/collapse_scan/config273.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 34.1740535340593, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.12949367710401047 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config274.json b/configs/collapse_scan/config274.json deleted file mode 100644 index 54fa3d9..0000000 --- a/configs/collapse_scan/config274.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 34.1740535340593, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.12949367710401047 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config275.json b/configs/collapse_scan/config275.json deleted file mode 100644 index 97fe603..0000000 --- a/configs/collapse_scan/config275.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 34.1740535340593, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.12949367710401047 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config276.json b/configs/collapse_scan/config276.json deleted file mode 100644 index 54fa3d9..0000000 --- a/configs/collapse_scan/config276.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 34.1740535340593, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.12949367710401047 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config277.json b/configs/collapse_scan/config277.json deleted file mode 100644 index 3ecd3f2..0000000 --- a/configs/collapse_scan/config277.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 134.52179382935236, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.16012126294173387 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config278.json b/configs/collapse_scan/config278.json deleted file mode 100644 index e23ebd2..0000000 --- a/configs/collapse_scan/config278.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 134.52179382935236, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.16012126294173387 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config279.json b/configs/collapse_scan/config279.json deleted file mode 100644 index 3ecd3f2..0000000 --- a/configs/collapse_scan/config279.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 134.52179382935236, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.16012126294173387 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config28.json b/configs/collapse_scan/config28.json deleted file mode 100644 index ab54b5a..0000000 --- a/configs/collapse_scan/config28.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0006332573977646111 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config280.json b/configs/collapse_scan/config280.json deleted file mode 100644 index e23ebd2..0000000 --- a/configs/collapse_scan/config280.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 134.52179382935236, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.16012126294173387 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config281.json b/configs/collapse_scan/config281.json deleted file mode 100644 index 3ecd3f2..0000000 --- a/configs/collapse_scan/config281.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 134.52179382935236, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.16012126294173387 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config282.json b/configs/collapse_scan/config282.json deleted file mode 100644 index e23ebd2..0000000 --- a/configs/collapse_scan/config282.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 134.52179382935236, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.16012126294173387 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config283.json b/configs/collapse_scan/config283.json deleted file mode 100644 index 82c2ac5..0000000 --- a/configs/collapse_scan/config283.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 374.61592991569614, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.18235345515942805 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config284.json b/configs/collapse_scan/config284.json deleted file mode 100644 index 2c349ad..0000000 --- a/configs/collapse_scan/config284.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 374.61592991569614, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.18235345515942805 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config285.json b/configs/collapse_scan/config285.json deleted file mode 100644 index 82c2ac5..0000000 --- a/configs/collapse_scan/config285.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 374.61592991569614, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.18235345515942805 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config286.json b/configs/collapse_scan/config286.json deleted file mode 100644 index 2c349ad..0000000 --- a/configs/collapse_scan/config286.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 374.61592991569614, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.18235345515942805 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config287.json b/configs/collapse_scan/config287.json deleted file mode 100644 index 82c2ac5..0000000 --- a/configs/collapse_scan/config287.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 374.61592991569614, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.18235345515942805 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config288.json b/configs/collapse_scan/config288.json deleted file mode 100644 index 2c349ad..0000000 --- a/configs/collapse_scan/config288.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 374.61592991569614, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.18235345515942805 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.8, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config289.json b/configs/collapse_scan/config289.json deleted file mode 100644 index 547163e..0000000 --- a/configs/collapse_scan/config289.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3286989968603194, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02253870992844614 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config29.json b/configs/collapse_scan/config29.json deleted file mode 100644 index 0d784d9..0000000 --- a/configs/collapse_scan/config29.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0006332573977646111 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config290.json b/configs/collapse_scan/config290.json deleted file mode 100644 index 22eef93..0000000 --- a/configs/collapse_scan/config290.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3286989968603194, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02253870992844614 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config291.json b/configs/collapse_scan/config291.json deleted file mode 100644 index 547163e..0000000 --- a/configs/collapse_scan/config291.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3286989968603194, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02253870992844614 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config292.json b/configs/collapse_scan/config292.json deleted file mode 100644 index 22eef93..0000000 --- a/configs/collapse_scan/config292.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3286989968603194, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02253870992844614 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config293.json b/configs/collapse_scan/config293.json deleted file mode 100644 index 547163e..0000000 --- a/configs/collapse_scan/config293.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3286989968603194, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02253870992844614 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config294.json b/configs/collapse_scan/config294.json deleted file mode 100644 index 22eef93..0000000 --- a/configs/collapse_scan/config294.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3286989968603194, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02253870992844614 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config295.json b/configs/collapse_scan/config295.json deleted file mode 100644 index dee5ce0..0000000 --- a/configs/collapse_scan/config295.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.17974446318017645, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04668541835462154 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config296.json b/configs/collapse_scan/config296.json deleted file mode 100644 index a416a85..0000000 --- a/configs/collapse_scan/config296.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.17974446318017645, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04668541835462154 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config297.json b/configs/collapse_scan/config297.json deleted file mode 100644 index dee5ce0..0000000 --- a/configs/collapse_scan/config297.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.17974446318017645, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04668541835462154 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config298.json b/configs/collapse_scan/config298.json deleted file mode 100644 index a416a85..0000000 --- a/configs/collapse_scan/config298.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.17974446318017645, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04668541835462154 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config299.json b/configs/collapse_scan/config299.json deleted file mode 100644 index dee5ce0..0000000 --- a/configs/collapse_scan/config299.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.17974446318017645, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04668541835462154 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config3.json b/configs/collapse_scan/config3.json deleted file mode 100644 index 8cc5a5d..0000000 --- a/configs/collapse_scan/config3.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 2.593822301243847 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config30.json b/configs/collapse_scan/config30.json deleted file mode 100644 index ab54b5a..0000000 --- a/configs/collapse_scan/config30.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0006332573977646111 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config300.json b/configs/collapse_scan/config300.json deleted file mode 100644 index a416a85..0000000 --- a/configs/collapse_scan/config300.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.17974446318017645, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.04668541835462154 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config301.json b/configs/collapse_scan/config301.json deleted file mode 100644 index 7859a0c..0000000 --- a/configs/collapse_scan/config301.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.720574918299511, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09601274363910331 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config302.json b/configs/collapse_scan/config302.json deleted file mode 100644 index 584acff..0000000 --- a/configs/collapse_scan/config302.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.720574918299511, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09601274363910331 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config303.json b/configs/collapse_scan/config303.json deleted file mode 100644 index 7859a0c..0000000 --- a/configs/collapse_scan/config303.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.720574918299511, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09601274363910331 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config304.json b/configs/collapse_scan/config304.json deleted file mode 100644 index 584acff..0000000 --- a/configs/collapse_scan/config304.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.720574918299511, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09601274363910331 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config305.json b/configs/collapse_scan/config305.json deleted file mode 100644 index 7859a0c..0000000 --- a/configs/collapse_scan/config305.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.720574918299511, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09601274363910331 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config306.json b/configs/collapse_scan/config306.json deleted file mode 100644 index 584acff..0000000 --- a/configs/collapse_scan/config306.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.720574918299511, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09601274363910331 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config307.json b/configs/collapse_scan/config307.json deleted file mode 100644 index 533842b..0000000 --- a/configs/collapse_scan/config307.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 37.75772221391661, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.14294188274938516 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config308.json b/configs/collapse_scan/config308.json deleted file mode 100644 index 8fa2902..0000000 --- a/configs/collapse_scan/config308.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 37.75772221391661, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.14294188274938516 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config309.json b/configs/collapse_scan/config309.json deleted file mode 100644 index 533842b..0000000 --- a/configs/collapse_scan/config309.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 37.75772221391661, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.14294188274938516 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config31.json b/configs/collapse_scan/config31.json deleted file mode 100644 index 588a1ef..0000000 --- a/configs/collapse_scan/config31.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.00025938223012438483 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config310.json b/configs/collapse_scan/config310.json deleted file mode 100644 index 8fa2902..0000000 --- a/configs/collapse_scan/config310.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 37.75772221391661, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.14294188274938516 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config311.json b/configs/collapse_scan/config311.json deleted file mode 100644 index 533842b..0000000 --- a/configs/collapse_scan/config311.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 37.75772221391661, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.14294188274938516 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config312.json b/configs/collapse_scan/config312.json deleted file mode 100644 index 8fa2902..0000000 --- a/configs/collapse_scan/config312.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 37.75772221391661, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.14294188274938516 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config313.json b/configs/collapse_scan/config313.json deleted file mode 100644 index 233220b..0000000 --- a/configs/collapse_scan/config313.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 155.44852651567746, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.18496877847546736 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config314.json b/configs/collapse_scan/config314.json deleted file mode 100644 index 2ec5d5d..0000000 --- a/configs/collapse_scan/config314.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 155.44852651567746, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.18496877847546736 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config315.json b/configs/collapse_scan/config315.json deleted file mode 100644 index 233220b..0000000 --- a/configs/collapse_scan/config315.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 155.44852651567746, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.18496877847546736 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config316.json b/configs/collapse_scan/config316.json deleted file mode 100644 index 2ec5d5d..0000000 --- a/configs/collapse_scan/config316.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 155.44852651567746, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.18496877847546736 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config317.json b/configs/collapse_scan/config317.json deleted file mode 100644 index 233220b..0000000 --- a/configs/collapse_scan/config317.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 155.44852651567746, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.18496877847546736 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config318.json b/configs/collapse_scan/config318.json deleted file mode 100644 index 2ec5d5d..0000000 --- a/configs/collapse_scan/config318.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 155.44852651567746, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.18496877847546736 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config319.json b/configs/collapse_scan/config319.json deleted file mode 100644 index a93e513..0000000 --- a/configs/collapse_scan/config319.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 454.06384281135564, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.22099228670743562 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config32.json b/configs/collapse_scan/config32.json deleted file mode 100644 index aa3d81f..0000000 --- a/configs/collapse_scan/config32.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.00025938223012438483 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config320.json b/configs/collapse_scan/config320.json deleted file mode 100644 index 0b1fc20..0000000 --- a/configs/collapse_scan/config320.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 454.06384281135564, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.22099228670743562 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config321.json b/configs/collapse_scan/config321.json deleted file mode 100644 index a93e513..0000000 --- a/configs/collapse_scan/config321.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 454.06384281135564, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.22099228670743562 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config322.json b/configs/collapse_scan/config322.json deleted file mode 100644 index 0b1fc20..0000000 --- a/configs/collapse_scan/config322.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 454.06384281135564, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.22099228670743562 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config323.json b/configs/collapse_scan/config323.json deleted file mode 100644 index a93e513..0000000 --- a/configs/collapse_scan/config323.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 454.06384281135564, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.22099228670743562 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config324.json b/configs/collapse_scan/config324.json deleted file mode 100644 index 0b1fc20..0000000 --- a/configs/collapse_scan/config324.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 454.06384281135564, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.22099228670743562 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.9, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config325.json b/configs/collapse_scan/config325.json deleted file mode 100644 index 893ea47..0000000 --- a/configs/collapse_scan/config325.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3286548704007655, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02275331529381955 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config326.json b/configs/collapse_scan/config326.json deleted file mode 100644 index 129ae94..0000000 --- a/configs/collapse_scan/config326.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3286548704007655, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02275331529381955 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config327.json b/configs/collapse_scan/config327.json deleted file mode 100644 index 893ea47..0000000 --- a/configs/collapse_scan/config327.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3286548704007655, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02275331529381955 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config328.json b/configs/collapse_scan/config328.json deleted file mode 100644 index 129ae94..0000000 --- a/configs/collapse_scan/config328.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3286548704007655, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02275331529381955 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config329.json b/configs/collapse_scan/config329.json deleted file mode 100644 index 893ea47..0000000 --- a/configs/collapse_scan/config329.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3286548704007655, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02275331529381955 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config33.json b/configs/collapse_scan/config33.json deleted file mode 100644 index 588a1ef..0000000 --- a/configs/collapse_scan/config33.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.00025938223012438483 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config330.json b/configs/collapse_scan/config330.json deleted file mode 100644 index 129ae94..0000000 --- a/configs/collapse_scan/config330.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.3286548704007655, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.02275331529381955 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config331.json b/configs/collapse_scan/config331.json deleted file mode 100644 index 817bea1..0000000 --- a/configs/collapse_scan/config331.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.18086851169020352, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.046343748578099496 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config332.json b/configs/collapse_scan/config332.json deleted file mode 100644 index 6f9a81b..0000000 --- a/configs/collapse_scan/config332.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.18086851169020352, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.046343748578099496 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config333.json b/configs/collapse_scan/config333.json deleted file mode 100644 index 817bea1..0000000 --- a/configs/collapse_scan/config333.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.18086851169020352, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.046343748578099496 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config334.json b/configs/collapse_scan/config334.json deleted file mode 100644 index 6f9a81b..0000000 --- a/configs/collapse_scan/config334.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.18086851169020352, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.046343748578099496 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config335.json b/configs/collapse_scan/config335.json deleted file mode 100644 index 817bea1..0000000 --- a/configs/collapse_scan/config335.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.18086851169020352, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.046343748578099496 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config336.json b/configs/collapse_scan/config336.json deleted file mode 100644 index 6f9a81b..0000000 --- a/configs/collapse_scan/config336.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": -0.18086851169020352, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.046343748578099496 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config337.json b/configs/collapse_scan/config337.json deleted file mode 100644 index 7c9d1d0..0000000 --- a/configs/collapse_scan/config337.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.68936620438892, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09541984917034527 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config338.json b/configs/collapse_scan/config338.json deleted file mode 100644 index 6df44a9..0000000 --- a/configs/collapse_scan/config338.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.68936620438892, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09541984917034527 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config339.json b/configs/collapse_scan/config339.json deleted file mode 100644 index 7c9d1d0..0000000 --- a/configs/collapse_scan/config339.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.68936620438892, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09541984917034527 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config34.json b/configs/collapse_scan/config34.json deleted file mode 100644 index aa3d81f..0000000 --- a/configs/collapse_scan/config34.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.00025938223012438483 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config340.json b/configs/collapse_scan/config340.json deleted file mode 100644 index 6df44a9..0000000 --- a/configs/collapse_scan/config340.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.68936620438892, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09541984917034527 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config341.json b/configs/collapse_scan/config341.json deleted file mode 100644 index 7c9d1d0..0000000 --- a/configs/collapse_scan/config341.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.68936620438892, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09541984917034527 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config342.json b/configs/collapse_scan/config342.json deleted file mode 100644 index 6df44a9..0000000 --- a/configs/collapse_scan/config342.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 4.68936620438892, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.09541984917034527 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config343.json b/configs/collapse_scan/config343.json deleted file mode 100644 index bdd98cb..0000000 --- a/configs/collapse_scan/config343.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 38.628702646454585, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.14621035565138749 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config344.json b/configs/collapse_scan/config344.json deleted file mode 100644 index 4bba8bc..0000000 --- a/configs/collapse_scan/config344.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 38.628702646454585, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.14621035565138749 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config345.json b/configs/collapse_scan/config345.json deleted file mode 100644 index bdd98cb..0000000 --- a/configs/collapse_scan/config345.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 38.628702646454585, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.14621035565138749 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config346.json b/configs/collapse_scan/config346.json deleted file mode 100644 index 4bba8bc..0000000 --- a/configs/collapse_scan/config346.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 38.628702646454585, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.14621035565138749 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config347.json b/configs/collapse_scan/config347.json deleted file mode 100644 index bdd98cb..0000000 --- a/configs/collapse_scan/config347.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 38.628702646454585, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.14621035565138749 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config348.json b/configs/collapse_scan/config348.json deleted file mode 100644 index 4bba8bc..0000000 --- a/configs/collapse_scan/config348.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 38.628702646454585, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.14621035565138749 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config349.json b/configs/collapse_scan/config349.json deleted file mode 100644 index 2cb643f..0000000 --- a/configs/collapse_scan/config349.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 166.36091529084158, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.19792568644888522 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config35.json b/configs/collapse_scan/config35.json deleted file mode 100644 index 588a1ef..0000000 --- a/configs/collapse_scan/config35.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.00025938223012438483 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config350.json b/configs/collapse_scan/config350.json deleted file mode 100644 index 1857e9e..0000000 --- a/configs/collapse_scan/config350.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 166.36091529084158, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.19792568644888522 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config351.json b/configs/collapse_scan/config351.json deleted file mode 100644 index 2cb643f..0000000 --- a/configs/collapse_scan/config351.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 166.36091529084158, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.19792568644888522 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config352.json b/configs/collapse_scan/config352.json deleted file mode 100644 index 1857e9e..0000000 --- a/configs/collapse_scan/config352.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 166.36091529084158, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.19792568644888522 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config353.json b/configs/collapse_scan/config353.json deleted file mode 100644 index 2cb643f..0000000 --- a/configs/collapse_scan/config353.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 166.36091529084158, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.19792568644888522 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config354.json b/configs/collapse_scan/config354.json deleted file mode 100644 index 1857e9e..0000000 --- a/configs/collapse_scan/config354.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 166.36091529084158, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.19792568644888522 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config355.json b/configs/collapse_scan/config355.json deleted file mode 100644 index ea5ead2..0000000 --- a/configs/collapse_scan/config355.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 513.561142810844, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.24992830363289847 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config356.json b/configs/collapse_scan/config356.json deleted file mode 100644 index 916ffd9..0000000 --- a/configs/collapse_scan/config356.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 513.561142810844, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.24992830363289847 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config357.json b/configs/collapse_scan/config357.json deleted file mode 100644 index ea5ead2..0000000 --- a/configs/collapse_scan/config357.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 513.561142810844, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.24992830363289847 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config358.json b/configs/collapse_scan/config358.json deleted file mode 100644 index 916ffd9..0000000 --- a/configs/collapse_scan/config358.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 513.561142810844, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.24992830363289847 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config359.json b/configs/collapse_scan/config359.json deleted file mode 100644 index ea5ead2..0000000 --- a/configs/collapse_scan/config359.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 513.561142810844, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.24992830363289847 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config36.json b/configs/collapse_scan/config36.json deleted file mode 100644 index aa3d81f..0000000 --- a/configs/collapse_scan/config36.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.00025938223012438483 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config360.json b/configs/collapse_scan/config360.json deleted file mode 100644 index 916ffd9..0000000 --- a/configs/collapse_scan/config360.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 513.561142810844, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.24992830363289847 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.99, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config37.json b/configs/collapse_scan/config37.json deleted file mode 100644 index b5546fb..0000000 --- a/configs/collapse_scan/config37.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 4.539189027176732 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config38.json b/configs/collapse_scan/config38.json deleted file mode 100644 index 5ec182c..0000000 --- a/configs/collapse_scan/config38.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 4.539189027176732 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config39.json b/configs/collapse_scan/config39.json deleted file mode 100644 index b5546fb..0000000 --- a/configs/collapse_scan/config39.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 4.539189027176732 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config4.json b/configs/collapse_scan/config4.json deleted file mode 100644 index 755e559..0000000 --- a/configs/collapse_scan/config4.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 2.593822301243847 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config40.json b/configs/collapse_scan/config40.json deleted file mode 100644 index 5ec182c..0000000 --- a/configs/collapse_scan/config40.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 4.539189027176732 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config41.json b/configs/collapse_scan/config41.json deleted file mode 100644 index b5546fb..0000000 --- a/configs/collapse_scan/config41.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 4.539189027176732 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config42.json b/configs/collapse_scan/config42.json deleted file mode 100644 index 5ec182c..0000000 --- a/configs/collapse_scan/config42.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 4.539189027176732 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config43.json b/configs/collapse_scan/config43.json deleted file mode 100644 index 0492b92..0000000 --- a/configs/collapse_scan/config43.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.28369931419854577 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config44.json b/configs/collapse_scan/config44.json deleted file mode 100644 index b65cebd..0000000 --- a/configs/collapse_scan/config44.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.28369931419854577 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config45.json b/configs/collapse_scan/config45.json deleted file mode 100644 index 0492b92..0000000 --- a/configs/collapse_scan/config45.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.28369931419854577 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config46.json b/configs/collapse_scan/config46.json deleted file mode 100644 index b65cebd..0000000 --- a/configs/collapse_scan/config46.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.28369931419854577 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config47.json b/configs/collapse_scan/config47.json deleted file mode 100644 index 0492b92..0000000 --- a/configs/collapse_scan/config47.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.28369931419854577 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config48.json b/configs/collapse_scan/config48.json deleted file mode 100644 index b65cebd..0000000 --- a/configs/collapse_scan/config48.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.28369931419854577 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config49.json b/configs/collapse_scan/config49.json deleted file mode 100644 index 627e2e0..0000000 --- a/configs/collapse_scan/config49.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01773120713740911 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config5.json b/configs/collapse_scan/config5.json deleted file mode 100644 index 8cc5a5d..0000000 --- a/configs/collapse_scan/config5.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 2.593822301243847 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config50.json b/configs/collapse_scan/config50.json deleted file mode 100644 index c6561d5..0000000 --- a/configs/collapse_scan/config50.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01773120713740911 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config51.json b/configs/collapse_scan/config51.json deleted file mode 100644 index 627e2e0..0000000 --- a/configs/collapse_scan/config51.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01773120713740911 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config52.json b/configs/collapse_scan/config52.json deleted file mode 100644 index c6561d5..0000000 --- a/configs/collapse_scan/config52.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01773120713740911 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config53.json b/configs/collapse_scan/config53.json deleted file mode 100644 index 627e2e0..0000000 --- a/configs/collapse_scan/config53.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01773120713740911 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config54.json b/configs/collapse_scan/config54.json deleted file mode 100644 index c6561d5..0000000 --- a/configs/collapse_scan/config54.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.01773120713740911 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config55.json b/configs/collapse_scan/config55.json deleted file mode 100644 index 1e9f62b..0000000 --- a/configs/collapse_scan/config55.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0035024606691178477 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config56.json b/configs/collapse_scan/config56.json deleted file mode 100644 index b8bc204..0000000 --- a/configs/collapse_scan/config56.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0035024606691178477 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config57.json b/configs/collapse_scan/config57.json deleted file mode 100644 index 1e9f62b..0000000 --- a/configs/collapse_scan/config57.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0035024606691178477 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config58.json b/configs/collapse_scan/config58.json deleted file mode 100644 index b8bc204..0000000 --- a/configs/collapse_scan/config58.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0035024606691178477 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config59.json b/configs/collapse_scan/config59.json deleted file mode 100644 index 1e9f62b..0000000 --- a/configs/collapse_scan/config59.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0035024606691178477 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config6.json b/configs/collapse_scan/config6.json deleted file mode 100644 index 755e559..0000000 --- a/configs/collapse_scan/config6.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 2.593822301243847 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config60.json b/configs/collapse_scan/config60.json deleted file mode 100644 index b8bc204..0000000 --- a/configs/collapse_scan/config60.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0035024606691178477 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config61.json b/configs/collapse_scan/config61.json deleted file mode 100644 index 24627f6..0000000 --- a/configs/collapse_scan/config61.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0011082004460880694 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config62.json b/configs/collapse_scan/config62.json deleted file mode 100644 index ebc133c..0000000 --- a/configs/collapse_scan/config62.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0011082004460880694 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config63.json b/configs/collapse_scan/config63.json deleted file mode 100644 index 24627f6..0000000 --- a/configs/collapse_scan/config63.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0011082004460880694 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config64.json b/configs/collapse_scan/config64.json deleted file mode 100644 index ebc133c..0000000 --- a/configs/collapse_scan/config64.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0011082004460880694 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config65.json b/configs/collapse_scan/config65.json deleted file mode 100644 index 24627f6..0000000 --- a/configs/collapse_scan/config65.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0011082004460880694 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config66.json b/configs/collapse_scan/config66.json deleted file mode 100644 index ebc133c..0000000 --- a/configs/collapse_scan/config66.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0011082004460880694 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config67.json b/configs/collapse_scan/config67.json deleted file mode 100644 index c11f926..0000000 --- a/configs/collapse_scan/config67.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0004539189027176734 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config68.json b/configs/collapse_scan/config68.json deleted file mode 100644 index 40df287..0000000 --- a/configs/collapse_scan/config68.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0004539189027176734 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config69.json b/configs/collapse_scan/config69.json deleted file mode 100644 index c11f926..0000000 --- a/configs/collapse_scan/config69.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0004539189027176734 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config7.json b/configs/collapse_scan/config7.json deleted file mode 100644 index 56b80c4..0000000 --- a/configs/collapse_scan/config7.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.16211389382774044 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config70.json b/configs/collapse_scan/config70.json deleted file mode 100644 index 40df287..0000000 --- a/configs/collapse_scan/config70.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0004539189027176734 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config71.json b/configs/collapse_scan/config71.json deleted file mode 100644 index c11f926..0000000 --- a/configs/collapse_scan/config71.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0004539189027176734 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config72.json b/configs/collapse_scan/config72.json deleted file mode 100644 index 40df287..0000000 --- a/configs/collapse_scan/config72.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.6, - "eta": 5.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0004539189027176734 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config73.json b/configs/collapse_scan/config73.json deleted file mode 100644 index f266867..0000000 --- a/configs/collapse_scan/config73.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 6.484555753109618 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config74.json b/configs/collapse_scan/config74.json deleted file mode 100644 index e1b306e..0000000 --- a/configs/collapse_scan/config74.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 6.484555753109618 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config75.json b/configs/collapse_scan/config75.json deleted file mode 100644 index f266867..0000000 --- a/configs/collapse_scan/config75.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 6.484555753109618 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config76.json b/configs/collapse_scan/config76.json deleted file mode 100644 index e1b306e..0000000 --- a/configs/collapse_scan/config76.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 6.484555753109618 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config77.json b/configs/collapse_scan/config77.json deleted file mode 100644 index f266867..0000000 --- a/configs/collapse_scan/config77.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 6.484555753109618 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config78.json b/configs/collapse_scan/config78.json deleted file mode 100644 index e1b306e..0000000 --- a/configs/collapse_scan/config78.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 0.5, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 6.484555753109618 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config79.json b/configs/collapse_scan/config79.json deleted file mode 100644 index 40c5728..0000000 --- a/configs/collapse_scan/config79.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.4052847345693511 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config8.json b/configs/collapse_scan/config8.json deleted file mode 100644 index 6334efa..0000000 --- a/configs/collapse_scan/config8.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.16211389382774044 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config80.json b/configs/collapse_scan/config80.json deleted file mode 100644 index b64de8e..0000000 --- a/configs/collapse_scan/config80.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.4052847345693511 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config81.json b/configs/collapse_scan/config81.json deleted file mode 100644 index 40c5728..0000000 --- a/configs/collapse_scan/config81.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.4052847345693511 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config82.json b/configs/collapse_scan/config82.json deleted file mode 100644 index b64de8e..0000000 --- a/configs/collapse_scan/config82.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.4052847345693511 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config83.json b/configs/collapse_scan/config83.json deleted file mode 100644 index 40c5728..0000000 --- a/configs/collapse_scan/config83.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.4052847345693511 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config84.json b/configs/collapse_scan/config84.json deleted file mode 100644 index b64de8e..0000000 --- a/configs/collapse_scan/config84.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.4052847345693511 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config85.json b/configs/collapse_scan/config85.json deleted file mode 100644 index 8d0b0cf..0000000 --- a/configs/collapse_scan/config85.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.025330295910584444 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config86.json b/configs/collapse_scan/config86.json deleted file mode 100644 index c49924d..0000000 --- a/configs/collapse_scan/config86.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.025330295910584444 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config87.json b/configs/collapse_scan/config87.json deleted file mode 100644 index 8d0b0cf..0000000 --- a/configs/collapse_scan/config87.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.025330295910584444 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config88.json b/configs/collapse_scan/config88.json deleted file mode 100644 index c49924d..0000000 --- a/configs/collapse_scan/config88.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.025330295910584444 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config89.json b/configs/collapse_scan/config89.json deleted file mode 100644 index 8d0b0cf..0000000 --- a/configs/collapse_scan/config89.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.025330295910584444 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config9.json b/configs/collapse_scan/config9.json deleted file mode 100644 index 56b80c4..0000000 --- a/configs/collapse_scan/config9.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 0.2, - "eta": 1.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.16211389382774044 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config90.json b/configs/collapse_scan/config90.json deleted file mode 100644 index c49924d..0000000 --- a/configs/collapse_scan/config90.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 2.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.025330295910584444 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config91.json b/configs/collapse_scan/config91.json deleted file mode 100644 index ef65f0c..0000000 --- a/configs/collapse_scan/config91.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.005003515241596926 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config92.json b/configs/collapse_scan/config92.json deleted file mode 100644 index a17c35c..0000000 --- a/configs/collapse_scan/config92.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.005003515241596926 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config93.json b/configs/collapse_scan/config93.json deleted file mode 100644 index ef65f0c..0000000 --- a/configs/collapse_scan/config93.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.005003515241596926 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config94.json b/configs/collapse_scan/config94.json deleted file mode 100644 index a17c35c..0000000 --- a/configs/collapse_scan/config94.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.005003515241596926 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config95.json b/configs/collapse_scan/config95.json deleted file mode 100644 index ef65f0c..0000000 --- a/configs/collapse_scan/config95.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.005003515241596926 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config96.json b/configs/collapse_scan/config96.json deleted file mode 100644 index a17c35c..0000000 --- a/configs/collapse_scan/config96.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 3.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.005003515241596926 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config97.json b/configs/collapse_scan/config97.json deleted file mode 100644 index 044e91f..0000000 --- a/configs/collapse_scan/config97.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0015831434944115277 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config98.json b/configs/collapse_scan/config98.json deleted file mode 100644 index 56720bb..0000000 --- a/configs/collapse_scan/config98.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0015831434944115277 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": false - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/collapse_scan/config99.json b/configs/collapse_scan/config99.json deleted file mode 100644 index 044e91f..0000000 --- a/configs/collapse_scan/config99.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 20000, - "dt": 0.1, - "cyclic_boundary_on": true - }, - "parameters": { - "alpha": 1.0, - "eta": 4.0, - "upsilon": 0.0332678594173761, - "coupling": 0, - "dV": 0.0015831434944115277 - }, - "bubble": { - "initial_radius": 100.0, - "initial_speed": 0.0, - "is_true_vacuum": false, - "interaction_on": true - }, - "particles": { - "mass_false": 0, - "mass_true": 1.0, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0 - }, - "collision": { - "collision_on": false, - "N_cells": 41, - "cell_length": 0.5 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_save_path": "data", - "stream_data": true, - "stream_density_profile": true, - "stream_momentum_profile": true, - "profile_density_bins_count": 500, - "profile_momentum_bins_count": 100 - } -} \ No newline at end of file diff --git a/configs/config.json b/configs/config.json index 77c295d..1431166 100644 --- a/configs/config.json +++ b/configs/config.json @@ -4,7 +4,7 @@ }, "simulation": { "seed": 1, - "max_steps": 200, + "max_steps": 4000, "dt": 0.001, "max_time": 50, "cyclic_boundary_on": true, @@ -26,15 +26,15 @@ "particles": { "mass_false": 0, "mass_true": 1, - "T_false": 0.01, + "T_false": 0.1, "T_true": 0.0, "N_false": 100000, "N_true": 0 }, "collision": { "collision_on": false, - "N_cells": 37, - "cell_length": 0.055 + "N_cells": 27, + "cell_length": 0.0741 }, "stream": { "stream": true, @@ -59,7 +59,7 @@ "max_value_energy": 1.1, "max_value_radial_velocity": 1.1, "max_value_tangential_velocity": 1.1, - "max_value_momentumIn": 0.45, - "max_value_momentumOut": 0.45 + "max_value_momentumIn": 1.15, + "max_value_momentumOut": 1.15 } } \ No newline at end of file diff --git a/configs/etascan/config1.json b/configs/etascan/config1.json deleted file mode 100644 index db0ca05..0000000 --- a/configs/etascan/config1.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config10.json b/configs/etascan/config10.json deleted file mode 100644 index 10fd697..0000000 --- a/configs/etascan/config10.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.72, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config11.json b/configs/etascan/config11.json deleted file mode 100644 index ce9d10c..0000000 --- a/configs/etascan/config11.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.8, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config12.json b/configs/etascan/config12.json deleted file mode 100644 index bad6a65..0000000 --- a/configs/etascan/config12.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.88, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config13.json b/configs/etascan/config13.json deleted file mode 100644 index fd51a86..0000000 --- a/configs/etascan/config13.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.96, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config14.json b/configs/etascan/config14.json deleted file mode 100644 index 1fde566..0000000 --- a/configs/etascan/config14.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.04, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config15.json b/configs/etascan/config15.json deleted file mode 100644 index b9b39cd..0000000 --- a/configs/etascan/config15.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.12, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config16.json b/configs/etascan/config16.json deleted file mode 100644 index 483548b..0000000 --- a/configs/etascan/config16.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.2, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config17.json b/configs/etascan/config17.json deleted file mode 100644 index ed6e2d9..0000000 --- a/configs/etascan/config17.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.2800000000000002, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config18.json b/configs/etascan/config18.json deleted file mode 100644 index c820b8f..0000000 --- a/configs/etascan/config18.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.3600000000000003, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config19.json b/configs/etascan/config19.json deleted file mode 100644 index 7f5370e..0000000 --- a/configs/etascan/config19.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.44, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config2.json b/configs/etascan/config2.json deleted file mode 100644 index 52240c2..0000000 --- a/configs/etascan/config2.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.08, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config20.json b/configs/etascan/config20.json deleted file mode 100644 index 38b0f06..0000000 --- a/configs/etascan/config20.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.52, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config21.json b/configs/etascan/config21.json deleted file mode 100644 index 7465e8c..0000000 --- a/configs/etascan/config21.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.6, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config22.json b/configs/etascan/config22.json deleted file mode 100644 index 7947b24..0000000 --- a/configs/etascan/config22.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.6799999999999997, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config23.json b/configs/etascan/config23.json deleted file mode 100644 index e7d6dfc..0000000 --- a/configs/etascan/config23.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.76, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config24.json b/configs/etascan/config24.json deleted file mode 100644 index a649cf3..0000000 --- a/configs/etascan/config24.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.84, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config25.json b/configs/etascan/config25.json deleted file mode 100644 index 865e063..0000000 --- a/configs/etascan/config25.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 2.92, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config26.json b/configs/etascan/config26.json deleted file mode 100644 index 3c8def0..0000000 --- a/configs/etascan/config26.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config27.json b/configs/etascan/config27.json deleted file mode 100644 index 022a7fb..0000000 --- a/configs/etascan/config27.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.08, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config28.json b/configs/etascan/config28.json deleted file mode 100644 index 2f10b62..0000000 --- a/configs/etascan/config28.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.16, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config29.json b/configs/etascan/config29.json deleted file mode 100644 index 565129c..0000000 --- a/configs/etascan/config29.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.24, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config3.json b/configs/etascan/config3.json deleted file mode 100644 index 5eb8750..0000000 --- a/configs/etascan/config3.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.16, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config30.json b/configs/etascan/config30.json deleted file mode 100644 index 39380d2..0000000 --- a/configs/etascan/config30.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.32, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config31.json b/configs/etascan/config31.json deleted file mode 100644 index c3d8472..0000000 --- a/configs/etascan/config31.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.4, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config32.json b/configs/etascan/config32.json deleted file mode 100644 index ae7d31a..0000000 --- a/configs/etascan/config32.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.48, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config33.json b/configs/etascan/config33.json deleted file mode 100644 index 5946808..0000000 --- a/configs/etascan/config33.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.56, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config34.json b/configs/etascan/config34.json deleted file mode 100644 index 68e200b..0000000 --- a/configs/etascan/config34.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.64, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config35.json b/configs/etascan/config35.json deleted file mode 100644 index e64a325..0000000 --- a/configs/etascan/config35.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.72, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config36.json b/configs/etascan/config36.json deleted file mode 100644 index 07ced19..0000000 --- a/configs/etascan/config36.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.8000000000000003, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config37.json b/configs/etascan/config37.json deleted file mode 100644 index 8ea6c6a..0000000 --- a/configs/etascan/config37.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.88, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config38.json b/configs/etascan/config38.json deleted file mode 100644 index 07f4d34..0000000 --- a/configs/etascan/config38.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 3.96, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config39.json b/configs/etascan/config39.json deleted file mode 100644 index 346d9ba..0000000 --- a/configs/etascan/config39.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.04, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config4.json b/configs/etascan/config4.json deleted file mode 100644 index d8fc094..0000000 --- a/configs/etascan/config4.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.24, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config40.json b/configs/etascan/config40.json deleted file mode 100644 index d909226..0000000 --- a/configs/etascan/config40.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.12, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config41.json b/configs/etascan/config41.json deleted file mode 100644 index 2ae2e77..0000000 --- a/configs/etascan/config41.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.2, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config42.json b/configs/etascan/config42.json deleted file mode 100644 index 525dc44..0000000 --- a/configs/etascan/config42.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.28, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config43.json b/configs/etascan/config43.json deleted file mode 100644 index b5bdfce..0000000 --- a/configs/etascan/config43.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.359999999999999, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config44.json b/configs/etascan/config44.json deleted file mode 100644 index caaacb2..0000000 --- a/configs/etascan/config44.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.4399999999999995, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config45.json b/configs/etascan/config45.json deleted file mode 100644 index d5fe083..0000000 --- a/configs/etascan/config45.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.52, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config46.json b/configs/etascan/config46.json deleted file mode 100644 index 2f9a1ab..0000000 --- a/configs/etascan/config46.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.6, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config47.json b/configs/etascan/config47.json deleted file mode 100644 index 2cc02aa..0000000 --- a/configs/etascan/config47.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.68, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config48.json b/configs/etascan/config48.json deleted file mode 100644 index 8485373..0000000 --- a/configs/etascan/config48.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.76, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config49.json b/configs/etascan/config49.json deleted file mode 100644 index 02b4a1e..0000000 --- a/configs/etascan/config49.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.84, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config5.json b/configs/etascan/config5.json deleted file mode 100644 index b0dc73c..0000000 --- a/configs/etascan/config5.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.32, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config50.json b/configs/etascan/config50.json deleted file mode 100644 index dabbea4..0000000 --- a/configs/etascan/config50.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 4.92, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config51.json b/configs/etascan/config51.json deleted file mode 100644 index dd988ce..0000000 --- a/configs/etascan/config51.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 5.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config6.json b/configs/etascan/config6.json deleted file mode 100644 index b6a3a58..0000000 --- a/configs/etascan/config6.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.4, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config7.json b/configs/etascan/config7.json deleted file mode 100644 index a4353b3..0000000 --- a/configs/etascan/config7.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.48, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config8.json b/configs/etascan/config8.json deleted file mode 100644 index 68b9e66..0000000 --- a/configs/etascan/config8.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.56, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/etascan/config9.json b/configs/etascan/config9.json deleted file mode 100644 index 94ec1c6..0000000 --- a/configs/etascan/config9.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 100000, - "dt": 0.05, - "dV_positive": true - }, - "parameters": { - "alpha": 0.6, - "eta": 1.6400000000000001, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 200.0, - "initial_speed": -0.6, - "is_true_vacuum": false, - "interaction": true - }, - "particles": { - "mass_false": 0.5, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config1.json b/configs/simtests/config1.json deleted file mode 100644 index 101cde7..0000000 --- a/configs/simtests/config1.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 100, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config10.json b/configs/simtests/config10.json deleted file mode 100644 index 5376da3..0000000 --- a/configs/simtests/config10.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 25000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config11.json b/configs/simtests/config11.json deleted file mode 100644 index ab94a70..0000000 --- a/configs/simtests/config11.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 50000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config12.json b/configs/simtests/config12.json deleted file mode 100644 index 589bb49..0000000 --- a/configs/simtests/config12.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 75000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config13.json b/configs/simtests/config13.json deleted file mode 100644 index 7c068e9..0000000 --- a/configs/simtests/config13.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 100000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config14.json b/configs/simtests/config14.json deleted file mode 100644 index 46e7f31..0000000 --- a/configs/simtests/config14.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 250000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config15.json b/configs/simtests/config15.json deleted file mode 100644 index 09c446b..0000000 --- a/configs/simtests/config15.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config16.json b/configs/simtests/config16.json deleted file mode 100644 index b4a7171..0000000 --- a/configs/simtests/config16.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config17.json b/configs/simtests/config17.json deleted file mode 100644 index 8f7ba53..0000000 --- a/configs/simtests/config17.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 1000000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config18.json b/configs/simtests/config18.json deleted file mode 100644 index 10ddaba..0000000 --- a/configs/simtests/config18.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 2000000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config19.json b/configs/simtests/config19.json deleted file mode 100644 index 3c5583d..0000000 --- a/configs/simtests/config19.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 6000000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config2.json b/configs/simtests/config2.json deleted file mode 100644 index 0c8dc38..0000000 --- a/configs/simtests/config2.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 250, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config20.json b/configs/simtests/config20.json deleted file mode 100644 index 9f30222..0000000 --- a/configs/simtests/config20.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.001 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config21.json b/configs/simtests/config21.json deleted file mode 100644 index e3aa8f3..0000000 --- a/configs/simtests/config21.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.005 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config22.json b/configs/simtests/config22.json deleted file mode 100644 index b5d65b4..0000000 --- a/configs/simtests/config22.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.01 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config23.json b/configs/simtests/config23.json deleted file mode 100644 index 2553d51..0000000 --- a/configs/simtests/config23.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.05 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config24.json b/configs/simtests/config24.json deleted file mode 100644 index 09c446b..0000000 --- a/configs/simtests/config24.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config25.json b/configs/simtests/config25.json deleted file mode 100644 index 3c90544..0000000 --- a/configs/simtests/config25.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.5 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config26.json b/configs/simtests/config26.json deleted file mode 100644 index 9ade6a8..0000000 --- a/configs/simtests/config26.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config27.json b/configs/simtests/config27.json deleted file mode 100644 index 1f89119..0000000 --- a/configs/simtests/config27.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 2 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config28.json b/configs/simtests/config28.json deleted file mode 100644 index 95a4c4b..0000000 --- a/configs/simtests/config28.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 11485, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config29.json b/configs/simtests/config29.json deleted file mode 100644 index 53ff2c6..0000000 --- a/configs/simtests/config29.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 28922, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config3.json b/configs/simtests/config3.json deleted file mode 100644 index 2ce33f3..0000000 --- a/configs/simtests/config3.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config30.json b/configs/simtests/config30.json deleted file mode 100644 index 203b2e5..0000000 --- a/configs/simtests/config30.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 25477, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config31.json b/configs/simtests/config31.json deleted file mode 100644 index a178412..0000000 --- a/configs/simtests/config31.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 64434, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config32.json b/configs/simtests/config32.json deleted file mode 100644 index f891d7c..0000000 --- a/configs/simtests/config32.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 33359, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config33.json b/configs/simtests/config33.json deleted file mode 100644 index f62da4c..0000000 --- a/configs/simtests/config33.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 88724, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config34.json b/configs/simtests/config34.json deleted file mode 100644 index 5e5cbd3..0000000 --- a/configs/simtests/config34.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 32108, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config35.json b/configs/simtests/config35.json deleted file mode 100644 index 8aec397..0000000 --- a/configs/simtests/config35.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 82625, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config36.json b/configs/simtests/config36.json deleted file mode 100644 index 216a228..0000000 --- a/configs/simtests/config36.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 33925, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config37.json b/configs/simtests/config37.json deleted file mode 100644 index d7c663a..0000000 --- a/configs/simtests/config37.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 12840, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config38.json b/configs/simtests/config38.json deleted file mode 100644 index 5d3b1d7..0000000 --- a/configs/simtests/config38.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 90114, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config39.json b/configs/simtests/config39.json deleted file mode 100644 index ff60da4..0000000 --- a/configs/simtests/config39.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 13494, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config4.json b/configs/simtests/config4.json deleted file mode 100644 index 629e268..0000000 --- a/configs/simtests/config4.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 750, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config40.json b/configs/simtests/config40.json deleted file mode 100644 index acf1fe6..0000000 --- a/configs/simtests/config40.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 56504, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config41.json b/configs/simtests/config41.json deleted file mode 100644 index 9a4b580..0000000 --- a/configs/simtests/config41.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 46232, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config42.json b/configs/simtests/config42.json deleted file mode 100644 index cc29feb..0000000 --- a/configs/simtests/config42.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 9893, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config43.json b/configs/simtests/config43.json deleted file mode 100644 index b65ba4c..0000000 --- a/configs/simtests/config43.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 50324, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config44.json b/configs/simtests/config44.json deleted file mode 100644 index b70a428..0000000 --- a/configs/simtests/config44.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 822, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config45.json b/configs/simtests/config45.json deleted file mode 100644 index df79526..0000000 --- a/configs/simtests/config45.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 14435, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config46.json b/configs/simtests/config46.json deleted file mode 100644 index 453d66a..0000000 --- a/configs/simtests/config46.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 73418, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config47.json b/configs/simtests/config47.json deleted file mode 100644 index a51cbad..0000000 --- a/configs/simtests/config47.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 29747, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config48.json b/configs/simtests/config48.json deleted file mode 100644 index c2b1ae2..0000000 --- a/configs/simtests/config48.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 14679, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config49.json b/configs/simtests/config49.json deleted file mode 100644 index 09fcc61..0000000 --- a/configs/simtests/config49.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 48235, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config5.json b/configs/simtests/config5.json deleted file mode 100644 index 8750a95..0000000 --- a/configs/simtests/config5.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 1000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config50.json b/configs/simtests/config50.json deleted file mode 100644 index 1a9e218..0000000 --- a/configs/simtests/config50.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 74910, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config51.json b/configs/simtests/config51.json deleted file mode 100644 index 1f7ec9e..0000000 --- a/configs/simtests/config51.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 56011, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config52.json b/configs/simtests/config52.json deleted file mode 100644 index c90d19d..0000000 --- a/configs/simtests/config52.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 36129, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config53.json b/configs/simtests/config53.json deleted file mode 100644 index 8fa7e8b..0000000 --- a/configs/simtests/config53.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1120, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config54.json b/configs/simtests/config54.json deleted file mode 100644 index 5306b09..0000000 --- a/configs/simtests/config54.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 29546, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config55.json b/configs/simtests/config55.json deleted file mode 100644 index f0039e1..0000000 --- a/configs/simtests/config55.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 45064, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config56.json b/configs/simtests/config56.json deleted file mode 100644 index 1551f60..0000000 --- a/configs/simtests/config56.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 5264, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config57.json b/configs/simtests/config57.json deleted file mode 100644 index 870c09a..0000000 --- a/configs/simtests/config57.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 78520, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config58.json b/configs/simtests/config58.json deleted file mode 100644 index 1869894..0000000 --- a/configs/simtests/config58.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 61965, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config59.json b/configs/simtests/config59.json deleted file mode 100644 index e7aedba..0000000 --- a/configs/simtests/config59.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 27261, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config6.json b/configs/simtests/config6.json deleted file mode 100644 index d34c389..0000000 --- a/configs/simtests/config6.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 2500, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config60.json b/configs/simtests/config60.json deleted file mode 100644 index 684e444..0000000 --- a/configs/simtests/config60.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 42076, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config61.json b/configs/simtests/config61.json deleted file mode 100644 index 4b6458e..0000000 --- a/configs/simtests/config61.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 26213, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config62.json b/configs/simtests/config62.json deleted file mode 100644 index ba02eb3..0000000 --- a/configs/simtests/config62.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 18345, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config63.json b/configs/simtests/config63.json deleted file mode 100644 index 73e3e3c..0000000 --- a/configs/simtests/config63.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 55991, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config64.json b/configs/simtests/config64.json deleted file mode 100644 index 9c4e5a8..0000000 --- a/configs/simtests/config64.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 77396, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config65.json b/configs/simtests/config65.json deleted file mode 100644 index e9f4970..0000000 --- a/configs/simtests/config65.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 57193, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config66.json b/configs/simtests/config66.json deleted file mode 100644 index b896aef..0000000 --- a/configs/simtests/config66.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 63068, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config67.json b/configs/simtests/config67.json deleted file mode 100644 index 5365a97..0000000 --- a/configs/simtests/config67.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 48613, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config68.json b/configs/simtests/config68.json deleted file mode 100644 index 9ee03b7..0000000 --- a/configs/simtests/config68.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 84032, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config69.json b/configs/simtests/config69.json deleted file mode 100644 index da0ef5b..0000000 --- a/configs/simtests/config69.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 61662, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config7.json b/configs/simtests/config7.json deleted file mode 100644 index 083fabc..0000000 --- a/configs/simtests/config7.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 5000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config70.json b/configs/simtests/config70.json deleted file mode 100644 index 6739e7c..0000000 --- a/configs/simtests/config70.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 48066, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config71.json b/configs/simtests/config71.json deleted file mode 100644 index adfea86..0000000 --- a/configs/simtests/config71.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 95075, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config72.json b/configs/simtests/config72.json deleted file mode 100644 index 7b50ce5..0000000 --- a/configs/simtests/config72.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 51095, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config73.json b/configs/simtests/config73.json deleted file mode 100644 index 0d68c32..0000000 --- a/configs/simtests/config73.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 72446, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config74.json b/configs/simtests/config74.json deleted file mode 100644 index 5db277e..0000000 --- a/configs/simtests/config74.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 99888, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config75.json b/configs/simtests/config75.json deleted file mode 100644 index 29a8a18..0000000 --- a/configs/simtests/config75.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 38444, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config76.json b/configs/simtests/config76.json deleted file mode 100644 index 219736f..0000000 --- a/configs/simtests/config76.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 69317, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config77.json b/configs/simtests/config77.json deleted file mode 100644 index 906516e..0000000 --- a/configs/simtests/config77.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 11124, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config78.json b/configs/simtests/config78.json deleted file mode 100644 index 09c446b..0000000 --- a/configs/simtests/config78.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 500000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config8.json b/configs/simtests/config8.json deleted file mode 100644 index 9442f86..0000000 --- a/configs/simtests/config8.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 7500, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/simtests/config9.json b/configs/simtests/config9.json deleted file mode 100644 index b7bb2e7..0000000 --- a/configs/simtests/config9.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "simulation": { - "seed": 1, - "max_steps": 0, - "dt": 0.1 - }, - "parameters": { - "alpha": -0.6, - "eta": 2.0, - "upsilon": 0.0332678594173761 - }, - "bubble": { - "initial_radius": 150, - "initial_speed": -0.6, - "is_true_vacuum": false - }, - "particles": { - "mass_false": 0.0, - "mass_true": 1, - "T_false": 0.0, - "T_true": 0.0, - "N_false": 10000, - "N_true": 0, - "coupling": 0.0 - }, - "stream": { - "stream": true, - "stream_freq": 10, - "data_path": "data", - "data": true, - "profile": true, - "profile_density_bins": 1000, - "profile_momentum_bins": 1000 - } -} \ No newline at end of file diff --git a/configs/test_collision.json b/configs/test_collision.json new file mode 100644 index 0000000..1431166 --- /dev/null +++ b/configs/test_collision.json @@ -0,0 +1,65 @@ +{ + "kernel":{ + "name": "particle_step_linear" + }, + "simulation": { + "seed": 1, + "max_steps": 4000, + "dt": 0.001, + "max_time": 50, + "cyclic_boundary_on": true, + "cyclic_boundary_radius": 1 + }, + "parameters": { + "alpha": 12.24727746868043, + "eta": 100, + "upsilon": 0.01, + "coupling": 0.0, + "dV": 21670.590989998676 + }, + "bubble": { + "initial_radius": 1, + "initial_speed": 0, + "is_true_vacuum": false, + "interaction_on": true + }, + "particles": { + "mass_false": 0, + "mass_true": 1, + "T_false": 0.1, + "T_true": 0.0, + "N_false": 100000, + "N_true": 0 + }, + "collision": { + "collision_on": false, + "N_cells": 27, + "cell_length": 0.0741 + }, + "stream": { + "stream": true, + "stream_time": 0.01, + "stream_step": 1000, + "data_save_path": "data", + "stream_data": true, + "stream_density_profile": true, + "steam_energy_profile": true, + "stream_momentum": false, + "stream_momentumIn_profile": true, + "stream_momentumOut_profile": true, + "stream_radial_velocity": true, + "stream_tangential_velocity": true, + "bins_count_density": 500, + "bins_count_energy": 500, + "bins_count_radial_velocity": 500, + "bins_count_tangential_velocity": 500, + "bins_count_momentumIn": 1000, + "bins_count_momentumOut": 1000, + "max_value_density": 1.1, + "max_value_energy": 1.1, + "max_value_radial_velocity": 1.1, + "max_value_tangential_velocity": 1.1, + "max_value_momentumIn": 1.15, + "max_value_momentumOut": 1.15 + } +} \ No newline at end of file diff --git a/kernels/kernel.cl b/kernels/kernel.cl index 3c3fc65..2388429 100644 --- a/kernels/kernel.cl +++ b/kernels/kernel.cl @@ -12,7 +12,6 @@ typedef struct Bubble { // In development typedef struct CollisionCell { - double gamma; double vX; double vY; double vZ; @@ -27,7 +26,7 @@ typedef struct CollisionCell { double p_y; double p_z; - double v2; // v2 = Sum: v_i^2 + char b_collide; double mass; unsigned int particle_count; } CollisionCell; @@ -760,11 +759,11 @@ __kernel void particles_with_false_bubble_step_reflect( */ __kernel void rotate_momentum(__global double *particles_E, - __global double *particles_pX, - __global double *particles_pY, - __global double *particles_pZ, - __global int *particles_collision_cell_index, - __global CollisionCell *t_cells) { + __global double *particles_pX, + __global double *particles_pY, + __global double *particles_pZ, + __global unsigned int *particles_collision_cell_index, + __global CollisionCell *t_cells) { unsigned int gid = get_global_id(0); // If in bubble then cell number is doubled and second half is in bubble @@ -772,8 +771,11 @@ __kernel void rotate_momentum(__global double *particles_E, if (particles_collision_cell_index[gid] != 0) { CollisionCell cell = t_cells[particles_collision_cell_index[gid]]; - double gamma_minus_one = cell.gamma - 1; - double gamma_minus_one_divided_cell_v2 = gamma_minus_one / cell.v2; + double v2 = fma(cell.vX, cell.vX, fma(cell.vY, cell.vY, cell.vZ * cell.vZ)); + double gamma = 1 / sqrt(1 - v2); + double gamma_minus_one = gamma - 1; + + double gamma_minus_one_divided_cell_v2 = gamma_minus_one / v2; double cos_theta = cos(cell.theta); double one_minus_cos_theta = 1 - cos_theta; @@ -785,23 +787,23 @@ __kernel void rotate_momentum(__global double *particles_E, double pZ_1 = particles_pZ[gid]; double pX_2, pY_2, pZ_2; - if ((cell.particle_count > 1) && (cell.mass != 0)) { + if ((cell.particle_count > 1) && (cell.mass != 0) && (cell.b_collide)) { // Lorentz transformation (to COM frame) - pX_2 = -E * cell.gamma * cell.vX + + pX_2 = -E * gamma * cell.vX + pX_1 * (1 + cell.vX * cell.vX * gamma_minus_one_divided_cell_v2) + pY_1 * cell.vX * cell.vY * gamma_minus_one_divided_cell_v2 + pZ_1 * cell.vX * cell.vZ * gamma_minus_one_divided_cell_v2; - pY_2 = -cell.gamma * E * cell.vY + + pY_2 = -gamma * E * cell.vY + pY_1 * (1 + cell.vY * cell.vY * gamma_minus_one_divided_cell_v2) + pX_1 * cell.vX * cell.vY * gamma_minus_one_divided_cell_v2 + pZ_1 * cell.vY * cell.vZ * gamma_minus_one_divided_cell_v2; - pZ_2 = -cell.gamma * E * cell.vZ + + pZ_2 = -gamma * E * cell.vZ + pZ_1 * (1 + cell.vZ * cell.vZ * gamma_minus_one_divided_cell_v2) + pX_1 * cell.vX * cell.vZ * gamma_minus_one_divided_cell_v2 + pY_1 * cell.vY * cell.vZ * gamma_minus_one_divided_cell_v2; - E = cell.gamma * (E - pX_1 * cell.vX - pY_1 * cell.vY - pZ_1 * cell.vZ); + E = gamma * (E - pX_1 * cell.vX - pY_1 * cell.vY - pZ_1 * cell.vZ); // Rotate 3-momentum pX_1 = @@ -818,22 +820,22 @@ __kernel void rotate_momentum(__global double *particles_E, pZ_2 * (cos_theta + pow(cell.z, 2) * one_minus_cos_theta); // Lorentz inverse transformation (to initial frame) - pX_2 = cell.gamma * E * cell.vX + + pX_2 = gamma * E * cell.vX + pX_1 * (1 + cell.vX * cell.vX * gamma_minus_one_divided_cell_v2) + pY_1 * cell.vX * cell.vY * gamma_minus_one_divided_cell_v2 + pZ_1 * cell.vX * cell.vZ * gamma_minus_one_divided_cell_v2; - pY_2 = cell.gamma * E * cell.vY + + pY_2 = gamma * E * cell.vY + pY_1 * (1 + cell.vY * cell.vY * gamma_minus_one_divided_cell_v2) + pX_1 * cell.vX * cell.vY * gamma_minus_one_divided_cell_v2 + pZ_1 * cell.vY * cell.vZ * gamma_minus_one_divided_cell_v2; - pZ_2 = cell.gamma * E * cell.vZ + + pZ_2 = gamma * E * cell.vZ + pZ_1 * (1 + cell.vZ * cell.vZ * gamma_minus_one_divided_cell_v2) + pX_1 * cell.vX * cell.vZ * gamma_minus_one_divided_cell_v2 + pY_1 * cell.vY * cell.vZ * gamma_minus_one_divided_cell_v2; - E = cell.gamma * (E + pX_1 * cell.vX + pY_1 * cell.vY + pZ_1 * cell.vZ); + E = gamma * (E + pX_1 * cell.vX + pY_1 * cell.vY + pZ_1 * cell.vZ); particles_E[gid] = E; particles_pX[gid] = pX_2; particles_pY[gid] = pY_2; @@ -845,7 +847,7 @@ __kernel void rotate_momentum(__global double *particles_E, /* ============================================================================ ============================================================================ - Labeling + Labeling ============================================================================ ============================================================================ */ @@ -875,7 +877,7 @@ __kernel void label_particles_position_by_mass( __kernel void assign_particle_to_collision_cell( __global double *particles_X, __global double *particles_Y, - __global double *particles_Z, __global int *m_particle_collision_cell_index, + __global double *particles_Z, __global unsigned int *m_particle_collision_cell_index, __global const unsigned int *maxCellIndex, __global const double *cellLength, __global const double *cuboidShift) { unsigned int gid = get_global_id(0); @@ -895,12 +897,13 @@ __kernel void assign_particle_to_collision_cell( if ((x_index < 0) || (x_index >= maxCellIndex[0])) { m_particle_collision_cell_index[gid] = 0; - + //printf("X. %i", x_index); } else if ((y_index < 0) || (y_index >= maxCellIndex[0])) { m_particle_collision_cell_index[gid] = 0; - + //printf("Y. %i", y_index); } else if ((z_index < 0) || (z_index >= maxCellIndex[0])) { m_particle_collision_cell_index[gid] = 0; + //printf("Z. %i", z_index); } else { m_particle_collision_cell_index[gid] = @@ -911,7 +914,7 @@ __kernel void assign_particle_to_collision_cell( __kernel void assign_particle_cell_index_two_phase( __global double *particles_X, __global double *particles_Y, - __global double *particles_Z, __global int *m_particle_collision_cell_index, + __global double *particles_Z, __global unsigned int *m_particle_collision_cell_index, __global char *particles_bool_in_bubble, __global const int *maxCellIndex, __global const double *cellLength, __global const double *cuboidShift // Random particle location shift @@ -986,9 +989,9 @@ __kernel void particle_boundary_momentum_reflect( } __kernel void particle_boundary_check(__global double *particles_X, - __global double *particles_Y, - __global double *particles_Z, - __global double *t_boundaryRadius) { + __global double *particles_Y, + __global double *particles_Z, + __global double *t_boundaryRadius) { unsigned int gid = get_global_id(0); double x = particles_X[gid]; From 109f1560ac3df711bdc8be5c9c28957599a7685f Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Thu, 13 Jul 2023 12:19:10 +0300 Subject: [PATCH 15/20] Delted old functions. New output. --- bubbleSim/bubble.cpp | 11 +- bubbleSim/bubbleSim.vcxproj.filters | 12 +- bubbleSim/collision.cpp | 16 +- bubbleSim/particle.cpp | 283 +++++----------------- bubbleSim/particle.h | 232 +++++++----------- bubbleSim/source.cpp | 68 ++++-- configs/config.json | 34 +-- kernels/kernel.cl | 359 +++++++++++++++------------- 8 files changed, 409 insertions(+), 606 deletions(-) diff --git a/bubbleSim/bubble.cpp b/bubbleSim/bubble.cpp index 7dcf07f..d6252ab 100644 --- a/bubbleSim/bubble.cpp +++ b/bubbleSim/bubble.cpp @@ -48,8 +48,7 @@ numType PhaseBubble::calculateVolume() { } numType PhaseBubble::calculateEnergy() { - return calculateArea() * m_sigma / sqrt(1 - m_bubble.speed * m_bubble.speed) - - calculateVolume() * m_dV; + return calculateArea() * m_sigma * m_bubble.gamma - calculateVolume() * m_dV; } numType PhaseBubble::calculateRadiusAfterStep2(numType dt) { m_bubble.radiusAfterStep2 = @@ -64,9 +63,9 @@ void PhaseBubble::evolveWall(numType dt, numType dP) { numType gammaChange; numType sgn = ((0 < m_bubble.speed) - (m_bubble.speed < 0)); // sign of speed - if (m_bubble.gamma >= 10) { - newRadius = m_bubble.radius + dt * m_bubble.speed; + newRadius = m_bubble.radius + dt * m_bubble.speed; + if (m_bubble.gamma >= 20) { gammaChange = (std::fma(m_dV, dt, dP) / m_sigma * std::sqrt((m_bubble.gamma - 1) / m_bubble.gamma) - 2 * std::sqrt((m_bubble.gamma - 1) * m_bubble.gamma) / @@ -74,10 +73,7 @@ void PhaseBubble::evolveWall(numType dt, numType dP) { sgn; newGamma = m_bubble.gamma + gammaChange; newSpeed = std::sqrt(1 - 1 / std::pow(newGamma, 2)) * sgn; - } else { - newRadius = m_bubble.radius + dt * m_bubble.speed; - numType velocityElement = std::fma(-m_bubble.speed, m_bubble.speed, 1); newSpeed = @@ -86,6 +82,7 @@ void PhaseBubble::evolveWall(numType dt, numType dP) { 2 * velocityElement * dt / m_bubble.radius; newGamma = 1.0 / std::exp((std::log1p((-newSpeed * newSpeed)) * 0.5)); } + m_bubble.radius = newRadius; m_bubble.speed = newSpeed; m_bubble.gamma = newGamma; diff --git a/bubbleSim/bubbleSim.vcxproj.filters b/bubbleSim/bubbleSim.vcxproj.filters index 6a98c73..98301b3 100644 --- a/bubbleSim/bubbleSim.vcxproj.filters +++ b/bubbleSim/bubbleSim.vcxproj.filters @@ -42,12 +42,6 @@ - - Header Files - - - Header Files - Source Files\Generators @@ -78,6 +72,12 @@ Physics\Dynamics + + Source Files + + + Source Files + diff --git a/bubbleSim/collision.cpp b/bubbleSim/collision.cpp index e6ccaad..e105e43 100644 --- a/bubbleSim/collision.cpp +++ b/bubbleSim/collision.cpp @@ -77,9 +77,9 @@ void CollisionCellCollection::recalculate_cells(ParticleCollection& t_particles, * 4 index: Particle count in a cell * 5 index: Prod(E_i) in a cell */ - std::vector> cell_values( + std::vector> cell_values( m_cellCount, {(cl_numType)0., (cl_numType)0., (cl_numType)0., - (cl_numType)0., (cl_numType)0., (cl_numType)1.}); + (cl_numType)0., (cl_numType)0., (cl_numType)1., (cl_numType)0.,}); /* * Sum up all momentums, energies and masses for each cell @@ -99,6 +99,7 @@ void CollisionCellCollection::recalculate_cells(ParticleCollection& t_particles, cell_values[collision_cell_index][3] += t_particles.returnParticleE(i); cell_values[collision_cell_index][4] += 1; cell_values[collision_cell_index][5] *= t_particles.returnParticleE(i); + cell_values[collision_cell_index][6] += std::log(t_particles.returnParticleE(i)); } /* @@ -108,6 +109,7 @@ void CollisionCellCollection::recalculate_cells(ParticleCollection& t_particles, double no_collision_probability = 0.; double probability = 0; + for (size_t i = 1; i < m_cellCount; i++) { m_collisionCells[i].particle_count = (cl_uint)cell_values[i][4]; if ((cl_uint)cell_values[i][4] < 2) { @@ -120,11 +122,11 @@ void CollisionCellCollection::recalculate_cells(ParticleCollection& t_particles, * N is number of particles in a cell */ - no_collision_probability = - std::exp(-(std::pow(cell_values[i][3] / (3 * cell_values[i][4]), - cell_values[i][4]) / - cell_values[i][5])) ; - + no_collision_probability = std::exp( + -std::exp(cell_values[i][4] * + std::log(cell_values[i][3] / (3 * cell_values[i][4])) - + cell_values[i][6])); + probability = t_rng.generate_number(); if (probability <= no_collision_probability) { m_collisionCells[i].b_collide = 0; diff --git a/bubbleSim/particle.cpp b/bubbleSim/particle.cpp index e9c1529..a7567ba 100644 --- a/bubbleSim/particle.cpp +++ b/bubbleSim/particle.cpp @@ -137,10 +137,7 @@ void ParticleGenerator::generatePointInSphere( numType ParticleGenerator::generateNParticlesInBox( numType t_sideHalf, u_int t_N, RandomNumberGenerator& t_generator, - std::vector& t_particle_X, std::vector& t_particle_Y, - std::vector& t_particle_Z, std::vector& t_particle_pX, - std::vector& t_particle_pY, std::vector& t_particle_pZ, - std::vector& t_particle_E, std::vector& t_particle_M) { + ParticleCollection& t_particles) { numType totalEnergy = 0.; numType x, y, z; @@ -157,49 +154,22 @@ numType ParticleGenerator::generateNParticlesInBox( generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); E = std::sqrt(m2 + pow(pValue, (numType)2.)); totalEnergy += E; - t_particle_X.push_back(x); - t_particle_Y.push_back(y); - t_particle_Z.push_back(z); - t_particle_pX.push_back(p_x); - t_particle_pY.push_back(p_y); - t_particle_pZ.push_back(p_z); - t_particle_E.push_back(E); - t_particle_M.push_back(m_mass); + t_particles.getParticleX().push_back(x); + t_particles.getParticleY().push_back(y); + t_particles.getParticleZ().push_back(z); + t_particles.getParticlepX().push_back(p_x); + t_particles.getParticlepY().push_back(p_y); + t_particles.getParticlepZ().push_back(p_z); + t_particles.getParticleE().push_back(E); + t_particles.getParticleM().push_back(m_mass); } return totalEnergy; } -numType ParticleGenerator::generateNParticlesInBox( - numType t_sideHalf, u_int t_N, RandomNumberGenerator& t_generator, - std::vector& t_particles) { - numType totalEnergy = 0.; - - numType x, y, z; - numType p_x, p_y, p_z; - numType E; - numType m2 = std::pow(m_mass, (numType)2.); - numType pValue; - - for (u_int i = 0; i < t_N; i++) { - // Generates 3D space coordinates and pushes to m_X vector - generatePointInBox(x, y, z, t_sideHalf, t_generator); - - // Generates 3D space coordinates and pushes to m_P vector - generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); - E = std::sqrt(m2 + pow(pValue, (numType)2.)); - totalEnergy += E; - t_particles.push_back(Particle{x, y, z, p_x, p_y, p_z, E, m_mass}); - } - return totalEnergy; -} numType ParticleGenerator::generateNParticlesInBox( numType t_xSideHalf, numType t_ySideHalf, numType t_zSideHalf, u_int t_N, - RandomNumberGenerator& t_generator, std::vector& t_particle_X, - std::vector& t_particle_Y, std::vector& t_particle_Z, - std::vector& t_particle_pX, std::vector& t_particle_pY, - std::vector& t_particle_pZ, std::vector& t_particle_E, - std::vector& t_particle_M) { + RandomNumberGenerator& t_generator, ParticleCollection& t_particles) { numType totalEnergy = 0.; numType x, y, z; @@ -217,50 +187,21 @@ numType ParticleGenerator::generateNParticlesInBox( E = std::sqrt(m2 + pow(pValue, 2)); totalEnergy += E; - t_particle_X.push_back(x); - t_particle_Y.push_back(y); - t_particle_Z.push_back(z); - t_particle_pX.push_back(p_x); - t_particle_pY.push_back(p_y); - t_particle_pZ.push_back(p_z); - t_particle_E.push_back(E); - t_particle_M.push_back(m_mass); - } - return totalEnergy; -} - -numType ParticleGenerator::generateNParticlesInBox( - numType t_xSideHalf, numType t_ySideHalf, numType t_zSideHalf, u_int t_N, - RandomNumberGenerator& t_generator, std::vector& t_particles) { - numType totalEnergy = 0.; - - numType x, y, z; - numType p_x, p_y, p_z; - numType E; - numType m2 = std::pow(m_mass, (numType)2.); - numType pValue; - - for (u_int i = 0; i < t_N; i++) { - // Generates 3D space coordinates and pushes to m_X vector - generatePointInBox(x, y, z, t_xSideHalf, t_ySideHalf, t_zSideHalf, - t_generator); - // Generates 3D space coordinates and pushes to m_P vector - generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); - - E = std::sqrt(m2 + pow(pValue, 2)); - totalEnergy += E; - t_particles.push_back(Particle{x, y, z, p_x, p_y, p_z, E, m_mass}); + t_particles.getParticleX().push_back(x); + t_particles.getParticleY().push_back(y); + t_particles.getParticleZ().push_back(z); + t_particles.getParticlepX().push_back(p_x); + t_particles.getParticlepY().push_back(p_y); + t_particles.getParticlepZ().push_back(p_z); + t_particles.getParticleE().push_back(E); + t_particles.getParticleM().push_back(m_mass); } return totalEnergy; } numType ParticleGenerator::generateNParticlesInBox( numType t_radiusIn, numType t_sideHalf, u_int t_N, - RandomNumberGenerator& t_generator, std::vector& t_particle_X, - std::vector& t_particle_Y, std::vector& t_particle_Z, - std::vector& t_particle_pX, std::vector& t_particle_pY, - std::vector& t_particle_pZ, std::vector& t_particle_E, - std::vector& t_particle_M) { + RandomNumberGenerator& t_generator, ParticleCollection& t_particles) { numType totalEnergy = 0.; numType x, y, z; @@ -279,86 +220,23 @@ numType ParticleGenerator::generateNParticlesInBox( generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); E = std::sqrt(m2 + pow(pValue, (numType)2.)); totalEnergy += E; - t_particle_X.push_back(x); - t_particle_Y.push_back(y); - t_particle_Z.push_back(z); - t_particle_pX.push_back(p_x); - t_particle_pY.push_back(p_y); - t_particle_pZ.push_back(p_z); - t_particle_E.push_back(E); - t_particle_M.push_back(m_mass); + t_particles.getParticleX().push_back(x); + t_particles.getParticleY().push_back(y); + t_particles.getParticleZ().push_back(z); + t_particles.getParticlepX().push_back(p_x); + t_particles.getParticlepY().push_back(p_y); + t_particles.getParticlepZ().push_back(p_z); + t_particles.getParticleE().push_back(E); + t_particles.getParticleM().push_back(m_mass); } return totalEnergy; } -numType ParticleGenerator::generateNParticlesInBox( - numType t_radiusIn, numType t_sideHalf, u_int t_N, - RandomNumberGenerator& t_generator, std::vector& t_particles) { - numType totalEnergy = 0.; - - numType x, y, z; - numType p_x, p_y, p_z; - numType E; - numType m2 = std::pow(m_mass, (numType)2.); - numType pValue; - numType radius; - for (u_int i = 0; i < t_N; i++) { - // Generates 3D space coordinates and pushes to m_X vector - do { - generatePointInBox(x, y, z, t_sideHalf, t_generator); - radius = std::sqrt(std::fma(x, x, fma(y, y, z * z))); - } while (radius < t_radiusIn); - // Generates 3D space coordinates and pushes to m_P vector - generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); - E = std::sqrt(m2 + pow(pValue, (numType)2.)); - totalEnergy += E; - t_particles.push_back(Particle{x, y, z, p_x, p_y, p_z, E, m_mass}); - } - return totalEnergy; -} - -numType ParticleGenerator::generateNParticlesInBox( - numType t_radiusIn, numType t_xSideHalf, numType t_ySideHalf, - numType t_zSideHalf, u_int t_N, RandomNumberGenerator& t_generator, - std::vector& t_particle_X, std::vector& t_particle_Y, - std::vector& t_particle_Z, std::vector& t_particle_pX, - std::vector& t_particle_pY, std::vector& t_particle_pZ, - std::vector& t_particle_E, std::vector& t_particle_M) { - numType totalEnergy = 0.; - - numType x, y, z; - numType p_x, p_y, p_z; - numType E; - numType m2 = std::pow(m_mass, (numType)2.); - numType pValue; - numType radius; - for (u_int i = 0; i < t_N; i++) { - // Generates 3D space coordinates and pushes to m_X vector - do { - generatePointInBox(x, y, z, t_xSideHalf, t_ySideHalf, t_zSideHalf, - t_generator); - radius = std::sqrt(std::fma(x, x, fma(y, y, z * z))); - } while (radius < t_radiusIn); - // Generates 3D space coordinates and pushes to m_P vector - generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); - E = std::sqrt(m2 + pow(pValue, (numType)2.)); - totalEnergy += E; - t_particle_X.push_back(x); - t_particle_Y.push_back(y); - t_particle_Z.push_back(z); - t_particle_pX.push_back(p_x); - t_particle_pY.push_back(p_y); - t_particle_pZ.push_back(p_z); - t_particle_E.push_back(E); - t_particle_M.push_back(m_mass); - } - return totalEnergy; -} numType ParticleGenerator::generateNParticlesInBox( numType t_radiusIn, numType t_xSideHalf, numType t_ySideHalf, numType t_zSideHalf, u_int t_N, RandomNumberGenerator& t_generator, - std::vector& t_particles) { + ParticleCollection& t_particles) { numType totalEnergy = 0.; numType x, y, z; @@ -378,51 +256,22 @@ numType ParticleGenerator::generateNParticlesInBox( generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); E = std::sqrt(m2 + pow(pValue, (numType)2.)); totalEnergy += E; - t_particles.push_back(Particle{x, y, z, p_x, p_y, p_z, E, m_mass}); + t_particles.getParticleX().push_back(x); + t_particles.getParticleY().push_back(y); + t_particles.getParticleZ().push_back(z); + t_particles.getParticlepX().push_back(p_x); + t_particles.getParticlepY().push_back(p_y); + t_particles.getParticlepZ().push_back(p_z); + t_particles.getParticleE().push_back(E); + t_particles.getParticleM().push_back(m_mass); } return totalEnergy; } -numType ParticleGenerator::generateNParticlesInSphere( - numType t_radiusMax, u_int t_N, RandomNumberGenerator& t_generator, - std::vector& t_particle_X, std::vector& t_particle_Y, - std::vector& t_particle_Z, std::vector& t_particle_pX, - std::vector& t_particle_pY, std::vector& t_particle_pZ, - std::vector& t_particle_E, std::vector& t_particle_M) { - numType totalEnergy = 0.; - numType x, y, z; - numType p_x, p_y, p_z; - numType E; - numType m2 = std::pow(m_mass, (numType)2.); - numType pValue; - numType radius; - - for (u_int i = 0; i < t_N; i++) { - // Generates 3D space coordinates and pushes to m_X vector - do { - generatePointInSphere(x, y, z, t_radiusMax, t_generator); - radius = std::sqrt(std::fma(x, x, fma(y, y, z * z))); - } while (radius > t_radiusMax); - - // Generates 3D space coordinates and pushes to m_P vector - generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); - E = std::sqrt(m2 + pow(pValue, (numType)2.)); - totalEnergy += E; - t_particle_X.push_back(x); - t_particle_Y.push_back(y); - t_particle_Z.push_back(z); - t_particle_pX.push_back(p_x); - t_particle_pY.push_back(p_y); - t_particle_pZ.push_back(p_z); - t_particle_E.push_back(E); - t_particle_M.push_back(m_mass); - } - return totalEnergy; -} numType ParticleGenerator::generateNParticlesInSphere( numType t_radiusMax, u_int t_N, RandomNumberGenerator& t_generator, - std::vector& t_particles) { + ParticleCollection& t_particles) { numType totalEnergy = 0.; numType x, y, z; numType p_x, p_y, p_z; @@ -442,52 +291,21 @@ numType ParticleGenerator::generateNParticlesInSphere( generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); E = std::sqrt(m2 + pow(pValue, (numType)2.)); totalEnergy += E; - t_particles.push_back(Particle{x, y, z, p_x, p_y, p_z, E, m_mass}); - } - return totalEnergy; -} - -numType ParticleGenerator::generateNParticlesInSphere( - numType t_radiusMin, numType t_radiusMax, u_int t_N, - RandomNumberGenerator& t_generator, std::vector& t_particle_X, - std::vector& t_particle_Y, std::vector& t_particle_Z, - std::vector& t_particle_pX, std::vector& t_particle_pY, - std::vector& t_particle_pZ, std::vector& t_particle_E, - std::vector& t_particle_M) { - numType totalEnergy = 0.; - numType x, y, z; - numType p_x, p_y, p_z; - numType E; - numType m2 = std::pow(m_mass, (numType)2.); - numType pValue; - numType radius; - - for (u_int i = 0; i < t_N; i++) { - // Generates 3D space coordinates and pushes to m_X vector - do { - generatePointInSphere(x, y, z, t_radiusMax, t_generator); - radius = std::sqrt(std::fma(x, x, fma(y, y, z * z))); - } while ((t_radiusMin > radius) || (radius > t_radiusMax)); - - // Generates 3D space coordinates and pushes to m_P vector - generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); - E = std::sqrt(m2 + pow(pValue, (numType)2.)); - totalEnergy += E; - t_particle_X.push_back(x); - t_particle_Y.push_back(y); - t_particle_Z.push_back(z); - t_particle_pX.push_back(p_x); - t_particle_pY.push_back(p_y); - t_particle_pZ.push_back(p_z); - t_particle_E.push_back(E); - t_particle_M.push_back(m_mass); + t_particles.getParticleX().push_back(x); + t_particles.getParticleY().push_back(y); + t_particles.getParticleZ().push_back(z); + t_particles.getParticlepX().push_back(p_x); + t_particles.getParticlepY().push_back(p_y); + t_particles.getParticlepZ().push_back(p_z); + t_particles.getParticleE().push_back(E); + t_particles.getParticleM().push_back(m_mass); } return totalEnergy; } numType ParticleGenerator::generateNParticlesInSphere( numType t_radiusMin, numType t_radiusMax, u_int t_N, - RandomNumberGenerator& t_generator, std::vector& t_particles) { + RandomNumberGenerator& t_generator, ParticleCollection& t_particles) { numType totalEnergy = 0.; numType x, y, z; numType p_x, p_y, p_z; @@ -507,7 +325,14 @@ numType ParticleGenerator::generateNParticlesInSphere( generateParticleMomentum(p_x, p_y, p_z, pValue, t_generator); E = std::sqrt(m2 + pow(pValue, (numType)2.)); totalEnergy += E; - t_particles.push_back(Particle{x, y, z, p_x, p_y, p_z, E, m_mass}); + t_particles.getParticleX().push_back(x); + t_particles.getParticleY().push_back(y); + t_particles.getParticleZ().push_back(z); + t_particles.getParticlepX().push_back(p_x); + t_particles.getParticlepY().push_back(p_y); + t_particles.getParticlepZ().push_back(p_z); + t_particles.getParticleE().push_back(E); + t_particles.getParticleM().push_back(m_mass); } return totalEnergy; } diff --git a/bubbleSim/particle.h b/bubbleSim/particle.h index 9b84e18..7acba2f 100644 --- a/bubbleSim/particle.h +++ b/bubbleSim/particle.h @@ -21,123 +21,6 @@ typedef struct Particle { cl_uint idxCollisionCell = (cl_uint)0; } Particle; -class ParticleGenerator { - public: - ParticleGenerator() {} - // Constructur to generate particles according to Boltzmann distribution - ParticleGenerator(numType t_mass, numType t_temperature, - numType t_maxMomentumValue, numType t_dp); - // Constructur to generate all particles with same momentum value - ParticleGenerator(numType t_mass, numType t_momentum); - - std::array, 2> m_cumulativeProbabilityFunction; - - numType generateNParticlesInBox( - numType t_sideHalf, u_int t_N, RandomNumberGenerator& t_generator, - std::vector& t_particle_X, std::vector& t_particle_Y, - std::vector& t_particle_Z, std::vector& t_particle_pX, - std::vector& t_particle_pY, std::vector& t_particle_pZ, - std::vector& t_particle_E, std::vector& t_particle_M); - - numType generateNParticlesInBox(numType t_sideHalf, u_int t_N, - RandomNumberGenerator& t_generator, - std::vector& t_particles); - - numType generateNParticlesInBox( - numType t_radiusIn, numType t_sideHalf, u_int t_N, - RandomNumberGenerator& t_generator, std::vector& t_particle_X, - std::vector& t_particle_Y, std::vector& t_particle_Z, - std::vector& t_particle_pX, std::vector& t_particle_pY, - std::vector& t_particle_pZ, std::vector& t_particle_E, - std::vector& t_particle_M); - - numType generateNParticlesInBox(numType t_radiusIn, numType t_sideHalf, - u_int t_N, RandomNumberGenerator& t_generator, - std::vector& t_particles); - - - numType generateNParticlesInBox( - numType t_xSideHalf, numType t_ySideHalf, numType t_zSideHalf, u_int t_N, - RandomNumberGenerator& t_generator, std::vector& t_particle_X, - std::vector& t_particle_Y, std::vector& t_particle_Z, - std::vector& t_particle_pX, std::vector& t_particle_pY, - std::vector& t_particle_pZ, std::vector& t_particle_E, - std::vector& t_particle_M); - - numType generateNParticlesInBox(numType t_xSideHalf, numType t_ySideHalf, - numType t_zSideHalf, u_int t_N, - RandomNumberGenerator& t_generator, - std::vector& t_particles); - - numType generateNParticlesInBox( - numType t_radiusIn, numType t_xSideHalf, numType t_ySideHalf, - numType t_zSideHalf, u_int t_N, RandomNumberGenerator& t_generator, - std::vector& t_particle_X, - std::vector& t_particle_Y, std::vector& t_particle_Z, - std::vector& t_particle_pX, std::vector& t_particle_pY, - std::vector& t_particle_pZ, std::vector& t_particle_E, - std::vector& t_particle_M); - - numType generateNParticlesInBox(numType t_radiusIn, numType t_xSideHalf, - numType t_ySideHalf, numType t_zSideHalf, - u_int t_N, RandomNumberGenerator& t_generator, - std::vector& t_particles); - - numType generateNParticlesInSphere( - numType t_radiusMax, u_int t_N, RandomNumberGenerator& t_generator, - std::vector& t_particle_X, std::vector& t_particle_Y, - std::vector& t_particle_Z, std::vector& t_particle_pX, - std::vector& t_particle_pY, std::vector& t_particle_pZ, - std::vector& t_particle_E, std::vector& t_particle_M); - - numType generateNParticlesInSphere(numType t_radiusMax, u_int t_N, - RandomNumberGenerator& t_generator, - std::vector& t_particles); - - numType generateNParticlesInSphere( - numType t_radiusMin, numType t_radiusMax, u_int t_N, - RandomNumberGenerator& t_generator, - std::vector& t_particle_X, std::vector& t_particle_Y, - std::vector& t_particle_Z, std::vector& t_particle_pX, - std::vector& t_particle_pY, std::vector& t_particle_pZ, - std::vector& t_particle_E, std::vector& t_particle_M); - - numType generateNParticlesInSphere(numType t_radiusMin, numType t_radiusMax, - u_int t_N, - RandomNumberGenerator& t_generator, - std::vector& t_particles); - - private: - numType m_mass = 0; - // Index [0] = Probability, Index [1] = Momentum value - - numType interp(numType t_xValue, std::vector& t_xArray, - std::vector& t_yArray); - - void generateRandomDirection(numType& x, numType& y, numType& z, - numType t_radius, - RandomNumberGenerator& t_generator); - - void generateParticleMomentum(numType& p_x, numType& p_y, numType& p_z, - numType& t_pResult, - RandomNumberGenerator& t_generator); - - void calculateCPD(numType t_temperature, numType t_pMax, numType t_dp); - void calculateCPD(numType t_momentum); - void generatePointInBox(numType& x, numType& y, numType& z, - numType& t_SideHalf, - RandomNumberGenerator& t_generator); - - void generatePointInSphere(numType& x, numType& y, numType& z, - numType t_maxRadius, - RandomNumberGenerator& t_generator); - - void generatePointInBox(numType& x, numType& y, numType& z, - numType& t_xSideHalf, numType& t_ySideHalf, - numType& t_zSideHalf, - RandomNumberGenerator& t_generator); -}; - // TODO: Flags for all processes of array initialization.. class ParticleCollection { @@ -224,7 +107,6 @@ class ParticleCollection { std::vector m_interacted_bubble_true_state_copy; cl::Buffer m_interacted_bubble_true_state_buffer; - public: /* * NB!!! When initializing the vectors and buffers it is important @@ -241,9 +123,6 @@ class ParticleCollection { ParticleCollection& operator=(const ParticleCollection& t) { return *this; } - - - u_int returnCollisionCellIndex(size_t particle_i) { return (u_int)m_particle_collision_cell_index[particle_i]; } @@ -280,20 +159,18 @@ class ParticleCollection { return m_particle_M[particle_i]; } - numType returnParticledP(size_t particle_i) { return m_dP[particle_i]; - } + numType returnParticledP(size_t particle_i) { return m_dP[particle_i]; } // TODO: Particle data buffer writing, reading // TODO - boolean buffers - /* - * ================================================================ - * ================================================================ - * Getters - * ================================================================ - * ================================================================ - */ + * ================================================================ + * ================================================================ + * Getters + * ================================================================ + * ================================================================ + */ numType getMassIn() { return m_mass_in; } @@ -320,8 +197,7 @@ class ParticleCollection { std::vector& getParticleE() { return m_particle_E; } std::vector& getParticleM() { return m_particle_M; } - - std::vector& getInteractedFalse() { + std::vector& getInteractedFalse() { return m_interacted_bubble_false_state; } @@ -333,7 +209,6 @@ class ParticleCollection { return m_passed_bubble_false_state; } - cl::Buffer& getParticleXBuffer() { return m_particle_X_buffer; } cl::Buffer& getParticleYBuffer() { return m_particle_Y_buffer; } cl::Buffer& getParticleZBuffer() { return m_particle_Z_buffer; } @@ -356,7 +231,9 @@ class ParticleCollection { std::vector& getdP() { return m_dP; } cl::Buffer& getMassInBuffer() { return m_mass_in_buffer; }; cl::Buffer& getMassOutBuffer() { return m_mass_out_buffer; } - cl::Buffer& getDeltaMassSquaredBuffer() { return m_delta_mass_squared_buffer; }; + cl::Buffer& getDeltaMassSquaredBuffer() { + return m_delta_mass_squared_buffer; + }; cl::Buffer& getParticleInBubbleBuffer() { return m_particle_bool_in_bubble_buffer; } @@ -475,7 +352,7 @@ class ParticleCollection { sizeof(numType), &m_delta_mass_squared); } - void writeParticleInBubbelBuffer(cl::CommandQueue & cl_queue) { + void writeParticleInBubbelBuffer(cl::CommandQueue& cl_queue) { cl_queue.enqueueWriteBuffer( m_particle_bool_in_bubble_buffer, CL_TRUE, 0, m_particle_bool_in_bubble.size() * sizeof(cl_char), @@ -499,10 +376,10 @@ class ParticleCollection { void readParticleXBuffer(cl::CommandQueue& cl_queue) { cl_queue.enqueueReadBuffer(m_particle_X_buffer, CL_TRUE, 0, - m_particle_X.size() * sizeof(numType), - m_particle_X.data()); + m_particle_X.size() * sizeof(numType), + m_particle_X.data()); } - + void readParticleYBuffer(cl::CommandQueue& cl_queue) { cl_queue.enqueueReadBuffer(m_particle_Y_buffer, CL_TRUE, 0, m_particle_Y.size() * sizeof(numType), @@ -572,7 +449,8 @@ class ParticleCollection { } void readPassedBubbleFalseStateBuffer(cl::CommandQueue& cl_queue) { - cl_queue.enqueueReadBuffer(m_passed_bubble_false_state_buffer, CL_TRUE, 0, + cl_queue.enqueueReadBuffer( + m_passed_bubble_false_state_buffer, CL_TRUE, 0, m_passed_bubble_false_state.size() * sizeof(int8_t), m_passed_bubble_false_state.data()); } @@ -616,7 +494,6 @@ class ParticleCollection { * ================================================================ */ - void resetInteractedBubbleFalseState() { std::fill(m_interacted_bubble_false_state.begin(), m_interacted_bubble_false_state.end(), 0); @@ -624,8 +501,7 @@ class ParticleCollection { void resetPassedBubbleFalseState() { std::fill(m_passed_bubble_false_state.begin(), - m_passed_bubble_false_state.end(), - 0); + m_passed_bubble_false_state.end(), 0); } void resetInteractedBubbleTrueState() { @@ -666,7 +542,6 @@ class ParticleCollection { * ================================================================ * ================================================================ */ - numType getParticleMass(size_t i) { return m_particle_M[i]; } @@ -707,8 +582,6 @@ class ParticleCollection { numType countParticlesEnergy(numType t_radius1, numType t_radius2); - - /* * ================================================================ * ================================================================ @@ -814,5 +687,74 @@ class ParticleCollection { << m_particle_pX[i] << ", " << m_particle_pY[i] << ", " << m_particle_pZ[i] << ")" << std::endl; } +}; + + +class ParticleGenerator { + public: + ParticleGenerator() {} + // Constructur to generate particles according to Boltzmann distribution + ParticleGenerator(numType t_mass, numType t_temperature, + numType t_maxMomentumValue, numType t_dp); + // Constructur to generate all particles with same momentum value + ParticleGenerator(numType t_mass, numType t_momentum); + + std::array, 2> m_cumulativeProbabilityFunction; + + numType generateNParticlesInBox(numType t_sideHalf, u_int t_N, + RandomNumberGenerator& t_generator, + ParticleCollection& t_particles); + + numType generateNParticlesInBox(numType t_radiusIn, numType t_sideHalf, + u_int t_N, RandomNumberGenerator& t_generator, + ParticleCollection& t_particles); + + numType generateNParticlesInBox(numType t_xSideHalf, numType t_ySideHalf, + numType t_zSideHalf, u_int t_N, + RandomNumberGenerator& t_generator, + ParticleCollection& t_particles); + + numType generateNParticlesInBox(numType t_radiusIn, numType t_xSideHalf, + numType t_ySideHalf, numType t_zSideHalf, + u_int t_N, RandomNumberGenerator& t_generator, + ParticleCollection& t_particles); + + numType generateNParticlesInSphere(numType t_radiusMax, u_int t_N, + RandomNumberGenerator& t_generator, + ParticleCollection& t_particles); + + numType generateNParticlesInSphere(numType t_radiusMin, numType t_radiusMax, + u_int t_N, + RandomNumberGenerator& t_generator, + ParticleCollection& t_particles); + + private: + numType m_mass = 0; + // Index [0] = Probability, Index [1] = Momentum value + + numType interp(numType t_xValue, std::vector& t_xArray, + std::vector& t_yArray); + + void generateRandomDirection(numType& x, numType& y, numType& z, + numType t_radius, + RandomNumberGenerator& t_generator); + + void generateParticleMomentum(numType& p_x, numType& p_y, numType& p_z, + numType& t_pResult, + RandomNumberGenerator& t_generator); + void calculateCPD(numType t_temperature, numType t_pMax, numType t_dp); + void calculateCPD(numType t_momentum); + void generatePointInBox(numType& x, numType& y, numType& z, + numType& t_SideHalf, + RandomNumberGenerator& t_generator); + + void generatePointInSphere(numType& x, numType& y, numType& z, + numType t_maxRadius, + RandomNumberGenerator& t_generator); + + void generatePointInBox(numType& x, numType& y, numType& z, + numType& t_xSideHalf, numType& t_ySideHalf, + numType& t_zSideHalf, + RandomNumberGenerator& t_generator); }; diff --git a/bubbleSim/source.cpp b/bubbleSim/source.cpp index b9819f0..1f97ac2 100644 --- a/bubbleSim/source.cpp +++ b/bubbleSim/source.cpp @@ -1,8 +1,13 @@ #define _CRT_SECURE_NO_WARNINGS #include "source.h" +using std::chrono::duration; +using std::chrono::duration_cast; +using std::chrono::high_resolution_clock; +using std::chrono::milliseconds; + // Collision is in development -bool b_COLLISION_DEVELOPMENT_ON = true; +bool b_COLLISION_DEVELOPMENT_ON = false; std::string createFileNameFromCurrentDate() { static std::random_device rd; @@ -72,11 +77,39 @@ void appendSimulationInfoFile(std::ofstream& infoStream, infoStream << t_postionDifference << "," << t_programRuntime << std::endl; } +std::string measureTime(std::chrono::steady_clock::time_point start_time) { + auto end_time = high_resolution_clock::now(); + auto ms_int = std::chrono::duration_cast( + end_time - start_time); + int seconds = (int)(ms_int.count() / 1000) % 60; + int minutes = ((int)(ms_int.count() / (1000 * 60)) % 60); + int hours = ((int)(ms_int.count() / (1000 * 60 * 60)) % 24); + + std::string lapsed_time = ""; + if (hours < 10) { + lapsed_time += "0" + std::to_string(hours) + ":"; + } else { + lapsed_time += std::to_string(hours) + ":"; + } + if (minutes < 10) { + lapsed_time += "0" + std::to_string(minutes) + ":"; + } else { + lapsed_time += std::to_string(minutes) + ":"; + } + if (seconds < 10) { + lapsed_time += "0" + std::to_string(seconds); + } else { + lapsed_time += std::to_string(seconds); + } + return lapsed_time; +} + int main(int argc, char* argv[]) { if (argc != 3) { std::cerr << "Usage: bubbleSim.exe config.json kernel.cl" << std::endl; exit(0); } + auto program_start_time = high_resolution_clock::now(); // Read configs and kernel file std::string s_configPath = argv[1]; // "config.json" @@ -85,11 +118,6 @@ int main(int argc, char* argv[]) { std::cout << "Config path: " << s_configPath << std::endl; std::cout << "Kernel path: " << s_kernelPath << std::endl; - using std::chrono::duration; - using std::chrono::duration_cast; - using std::chrono::high_resolution_clock; - using std::chrono::milliseconds; - auto programStartTime = high_resolution_clock::now(); ConfigReader config(s_configPath); /* =============== =============== @@ -106,9 +134,8 @@ int main(int argc, char* argv[]) { // 2) Initialize openCL (kernels, commandQueues) OpenCLLoader kernels(s_kernelPath, config.kernelName); - // 4) Generate particles - ParticleGenerator particleGenerator1; + ParticleGenerator particleGenerator1; // 4.1) Create generator (calculates distribution) if (b_COLLISION_DEVELOPMENT_ON) { particleGenerator1 = ParticleGenerator( @@ -133,17 +160,11 @@ int main(int argc, char* argv[]) { if (b_COLLISION_DEVELOPMENT_ON) { genreatedParticleEnergy = particleGenerator1.generateNParticlesInBox( config.bubbleInitialRadius, (u_int)particles.getParticleCountTotal(), - rn_generator, particles.getParticleX(), particles.getParticleY(), - particles.getParticleZ(), particles.getParticlepX(), - particles.getParticlepY(), particles.getParticlepZ(), - particles.getParticleE(), particles.getParticleM()); + rn_generator, particles); } else { genreatedParticleEnergy = particleGenerator1.generateNParticlesInSphere( - config.bubbleInitialRadius, (u_int)particles.getParticleCountTotal(), - rn_generator, particles.getParticleX(), particles.getParticleY(), - particles.getParticleZ(), particles.getParticlepX(), - particles.getParticlepY(), particles.getParticlepZ(), - particles.getParticleE(), particles.getParticleM()); + config.bubbleInitialRadius, 2 * config.bubbleInitialRadius, + (u_int)particles.getParticleCountTotal(), rn_generator, particles); } numType total_energy = 0; for (unsigned int i = 0; i < config.particleCountFalse; i++) { @@ -295,6 +316,7 @@ int main(int argc, char* argv[]) { << ", dP: " << simulation.get_dP() / simulation.get_dt_currentStep() << ", E: " << simulation.getTotalEnergy() / simulation.getInitialTotalEnergy() + << ", Runtime: " << measureTime(program_start_time) << std::endl; // auto streamEndTime = high_resolution_clock::now(); @@ -304,7 +326,6 @@ int main(int argc, char* argv[]) { (simulation.getTime() <= config.maxTime) && (config.m_maxSteps > 0 && simulation.getStep() < config.m_maxSteps); i++) { - if (b_COLLISION_DEVELOPMENT_ON) { simulation.step(particles, cells, rn_generator, i, *stepKernel, kernels.m_cellAssignmentKernel, kernels.m_rotationKernel, @@ -348,6 +369,7 @@ int main(int argc, char* argv[]) { << ", E: " << simulation.getTotalEnergy() / simulation.getInitialTotalEnergy() + << ", Runtime: " << measureTime(program_start_time) << std::endl; /*std::cout << "Time taken (steps): " @@ -387,14 +409,12 @@ int main(int argc, char* argv[]) { // Measure runtime auto programEndTime = high_resolution_clock::now(); auto ms_int = std::chrono::duration_cast( - programEndTime - programStartTime); - int seconds = (int)(ms_int.count() / 1000) % 60; - int minutes = ((int)(ms_int.count() / (1000 * 60)) % 60); - int hours = ((int)(ms_int.count() / (1000 * 60 * 60)) % 24); + programEndTime - program_start_time); appendSimulationInfoFile(infoStream, 0, (int)ms_int.count()); std::cout << std::endl - << "Program run: " << hours << "h " << minutes << "m " << seconds - << "s " << std::endl; + << "Program run: " << measureTime(program_start_time) << std::endl; } + +// std::cout << std::resetiosflags( std::cout.flags() ); \ No newline at end of file diff --git a/configs/config.json b/configs/config.json index 1431166..f989758 100644 --- a/configs/config.json +++ b/configs/config.json @@ -1,32 +1,32 @@ { "kernel":{ - "name": "particle_step_linear" + "name": "particle_step_with_bubble" }, "simulation": { "seed": 1, - "max_steps": 4000, - "dt": 0.001, + "max_steps": 2000, + "dt": 0.0001, "max_time": 50, "cyclic_boundary_on": true, - "cyclic_boundary_radius": 1 + "cyclic_boundary_radius": 50 }, "parameters": { "alpha": 12.24727746868043, - "eta": 100, - "upsilon": 0.01, + "eta": 1000, + "upsilon": 0.4, "coupling": 0.0, - "dV": 21670.590989998676 + "dV": 0.24 }, "bubble": { "initial_radius": 1, "initial_speed": 0, - "is_true_vacuum": false, + "is_true_vacuum": true, "interaction_on": true }, "particles": { "mass_false": 0, "mass_true": 1, - "T_false": 0.1, + "T_false": 0.00001, "T_true": 0.0, "N_false": 100000, "N_true": 0 @@ -38,8 +38,8 @@ }, "stream": { "stream": true, - "stream_time": 0.01, - "stream_step": 1000, + "stream_time": 0.001, + "stream_step": 10000, "data_save_path": "data", "stream_data": true, "stream_density_profile": true, @@ -55,11 +55,11 @@ "bins_count_tangential_velocity": 500, "bins_count_momentumIn": 1000, "bins_count_momentumOut": 1000, - "max_value_density": 1.1, - "max_value_energy": 1.1, - "max_value_radial_velocity": 1.1, - "max_value_tangential_velocity": 1.1, - "max_value_momentumIn": 1.15, - "max_value_momentumOut": 1.15 + "max_value_density": 11, + "max_value_energy": 11, + "max_value_radial_velocity": 11, + "max_value_tangential_velocity": 11, + "max_value_momentumIn": 11.5, + "max_value_momentumOut": 11.5 } } \ No newline at end of file diff --git a/kernels/kernel.cl b/kernels/kernel.cl index 2388429..d685c76 100644 --- a/kernels/kernel.cl +++ b/kernels/kernel.cl @@ -36,16 +36,15 @@ typedef struct CollisionCell { * Also this function already updates particle location. */ -double moveLinear_new(double x, double v, double dt) { +double moveLinear(double x, double v, double dt) { // x = x + v*dt return x + v * dt; } // TODO: Remove if clauses? Make into single expression. Also check if time1 < // time2. -double calculateTimeToWall_new(double x, double y, double z, double E, - double pX, double pY, double pZ, Bubble bubble, - double t_dt) { +double calculateTimeToWall(double x, double y, double z, double E, double pX, + double pY, double pZ, Bubble bubble, double t_dt) { // p_i*p^i / E^2 - V_b^2 double a = fma(pX, pX, fma(pY, pY, fma(pZ, pZ, 0.))) / pow(E, 2) - bubble.speed * bubble.speed; @@ -68,6 +67,44 @@ double calculateTimeToWall_new(double x, double y, double z, double E, // Calculate two solutions time1 = (-b - sqrt(d)) / a; time2 = (-b + sqrt(d)) / a; + if ((0 < time1) && (fabs(time1) <= t_dt)) { + return time1; + } else if ((0 < time2) && (fabs(time2) <= t_dt)) { + return time2; + } + // Solution might exist but not for current step -> no solution between 0 < + // time < dt + else { + return 0.; + } +} + +double calculateTimeToWall_DEBUG(double x, double y, double z, double E, + double pX, double pY, double pZ, Bubble bubble, + double t_dt) { + // p_i*p^i / E^2 - V_b^2 + double a = fma(pX, pX, fma(pY, pY, fma(pZ, pZ, 0.))) / pow(E, 2) - + bubble.speed * bubble.speed; + // x_i* p^i / E - V_b^R_b + double b = fma(x, pX / E, + fma(y, pY / E, fma(z, pZ / E, -bubble.radius * bubble.speed))); + // x_i * x^i - R_b^2 + double c = fma(x, x, fma(y, y, fma(z, z, -bubble.radius * bubble.radius))); + double d = fma(b, b, -a * c); + + // Solve [-b +- sqrt(b^2 - a*c)]/a + // Select smallest positive solution. + + // No solutions -> Never collide + if (d < 0) { + return 0; + } + + double time1, time2; + // Calculate two solutions + time1 = (-b - sqrt(d)) / a; + time2 = (-b + sqrt(d)) / a; + printf("Time1: %.20f, Time2: %.20f\n", time1, time2); if ((0 < time1) && (time1 <= t_dt)) { return time1; } else if ((0 < time2) && (time2 <= t_dt)) { @@ -82,8 +119,8 @@ double calculateTimeToWall_new(double x, double y, double z, double E, // TODO: Return only one sign normal and do sign change in the kernel code or // somewhere else. All kernels are calculated directed "outside". -void calculateNormal_new(double *t_n1, double *t_n2, double *t_n3, double x, - double y, double z, Bubble bubble, double t_X2) { +void calculateNormal(double *t_n1, double *t_n2, double *t_n3, double x, + double y, double z, Bubble bubble, double t_X2) { // If M_in > M_out then normal is towards center of bubble *t_n1 = x * bubble.gamma / sqrt(t_X2); *t_n2 = y * bubble.gamma / sqrt(t_X2); @@ -99,7 +136,7 @@ double calculateDistanceSquaredFromCenter(double x, double y, double z) { } double calculateParticleEnergy(double pX, double pY, double pZ, double mass) { - return sqrt(fma(pX, pX, fma(pY, pY, fma(pZ, pZ, pow(mass, 2))))); + return sqrt(fma(pX, pX, fma(pY, pY, fma(pZ, pZ, pow(mass, 2.))))); } /* @@ -122,9 +159,9 @@ __kernel void particle_step_linear( double vZ = particles_pZ[gid] / E; double dt = t_dt[0]; - particles_X[gid] = moveLinear_new(particles_X[gid], vX, dt); - particles_Y[gid] = moveLinear_new(particles_Y[gid], vY, dt); - particles_Z[gid] = moveLinear_new(particles_Z[gid], vZ, dt); + particles_X[gid] = moveLinear(particles_X[gid], vX, dt); + particles_Y[gid] = moveLinear(particles_Y[gid], vY, dt); + particles_Z[gid] = moveLinear(particles_Z[gid], vZ, dt); } __kernel void particle_step_with_bubble( @@ -143,7 +180,6 @@ __kernel void particle_step_with_bubble( * it's index. t_dP is not actual pressure but actually energy change ΔE. * Afterwards ΔP = ΔE/Area */ - // Bubble parameters struct Bubble bubble = t_bubble[0]; // Particle @@ -158,9 +194,9 @@ __kernel void particle_step_with_bubble( double M_in = t_m_in[0]; double M_out = t_m_out[0]; + double Delta_M2 = t_delta_m2[0]; double dt = t_dt[0]; - // Particle velocity double vX = pX / E; double vY = pY / E; @@ -175,202 +211,188 @@ __kernel void particle_step_with_bubble( double z_Vdt = fma(vZ, dt, z); // z component double X_dt2 = fma(x_Vdt, x_Vdt, fma(y_Vdt, y_Vdt, z_Vdt * z_Vdt)); - // Algorithm if mass inside the bubble is bigger + // M in < M out -> False vacuum bubble inside if (M_in < M_out) { + // Particle starts inside the bubble if (X2 < bubble.radius2) { + // Particle stays inside the bubble if (X_dt2 < bubble.radiusAfterStep2) { x = x_Vdt; y = y_Vdt; z = z_Vdt; t_dP[gid] = 0.; - } else { + } + // Particle can get out + else { double nX, nY, nZ; double time_to_wall, np; - time_to_wall = - calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); - x = moveLinear_new(x, vX, time_to_wall); - y = moveLinear_new(y, vY, time_to_wall); - z = moveLinear_new(z, vZ, time_to_wall); + time_to_wall = calculateTimeToWall(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear(x, vX, time_to_wall); + y = moveLinear(y, vY, time_to_wall); + z = moveLinear(z, vZ, time_to_wall); X2 = calculateDistanceSquaredFromCenter(x, y, z); - calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + calculateNormal(&nX, &nY, &nZ, x, y, z, bubble, X2); np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; + // Particle bounces back from the bubble wall if (np * np < Delta_M2) { - // Update particle 4-momentum after collision pX = fma(np * 2., nX, pX); pY = fma(np * 2., nY, pY); pZ = fma(np * 2., nZ, pZ); - // Calculate applied pressure t_dP[gid] = bubble.gamma * np * 2.; E = calculateParticleEnergy(pX, pY, pZ, M_in); - - // Particle only interacts t_interactedFalse[gid] += 1; - } else { + } + // Particle penetrates the bubble wall + else { particles_M[gid] = M_out; - - // Calculate particle momentum after collision pX = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nX, pX); pY = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nY, pY); pZ = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nZ, pZ); - // Calculate applied pressure t_dP[gid] = bubble.gamma * np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))); E = calculateParticleEnergy(pX, pY, pZ, M_out); - - // Particle interacts and passes through t_interactedFalse[gid] += 1; t_passedFalse[gid] += 1; } vX = pX / E; vY = pY / E; vZ = pZ / E; - // ========== Movement after the bubble interaction ========== - x = moveLinear_new(x, vX, dt - time_to_wall); - y = moveLinear_new(y, vY, dt - time_to_wall); - z = moveLinear_new(z, vZ, dt - time_to_wall); + x = moveLinear(x, vX, dt - time_to_wall); + y = moveLinear(y, vY, dt - time_to_wall); + z = moveLinear(z, vZ, dt - time_to_wall); } - } else { + } + // Particle starts outside + else { + // Particle stays outsided if (X_dt2 > bubble.radiusAfterStep2) { - x = moveLinear_new(x, vX, dt); - y = moveLinear_new(y, vY, dt); - z = moveLinear_new(z, vZ, dt); + x = moveLinear(x, vX, dt); + y = moveLinear(y, vY, dt); + z = moveLinear(z, vZ, dt); t_dP[gid] = 0.; - } else { + } + // Particle penetrates the bubble wall + else { double nX, nY, nZ; double time_to_wall, np; - time_to_wall = - calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); - x = moveLinear_new(x, vX, time_to_wall); - y = moveLinear_new(y, vY, time_to_wall); - z = moveLinear_new(z, vZ, time_to_wall); + time_to_wall = calculateTimeToWall(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear(x, vX, time_to_wall); + y = moveLinear(y, vY, time_to_wall); + z = moveLinear(z, vZ, time_to_wall); X2 = calculateDistanceSquaredFromCenter(x, y, z); - - calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + calculateNormal(&nX, &nY, &nZ, x, y, z, bubble, X2); np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; - particles_M[gid] = M_in; pX = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nX, pX); pY = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nY, pY); pZ = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nZ, pZ); - - // Calculate applied pressure t_dP[gid] = bubble.gamma * np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))); E = calculateParticleEnergy(pX, pY, pZ, M_in); - - // Update particle velocity and move amount of (dt - timeToWall) vX = pX / E; vY = pY / E; vZ = pZ / E; - // Movement after the bubble interaction - x = moveLinear_new(x, vX, dt - time_to_wall); - y = moveLinear_new(y, vY, dt - time_to_wall); - z = moveLinear_new(z, vZ, dt - time_to_wall); - // Particle interacts from the higher mass side + x = moveLinear(x, vX, dt - time_to_wall); + y = moveLinear(y, vY, dt - time_to_wall); + z = moveLinear(z, vZ, dt - time_to_wall); t_interactedTrue[gid] += 1; } } } else { + // Particle starts outside the bubble if (X2 > bubble.radius2) { + // Particle stays outside if (X_dt2 > bubble.radiusAfterStep2) { - x = moveLinear_new(x, vX, dt); - y = moveLinear_new(y, vY, dt); - z = moveLinear_new(z, vZ, dt); + x = x_Vdt; + y = y_Vdt; + z = z_Vdt; t_dP[gid] = 0.; - } else { + } + // Particle can get out + else { double nX, nY, nZ; double time_to_wall, np; - time_to_wall = - calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); - x = moveLinear_new(x, vX, time_to_wall); - y = moveLinear_new(y, vY, time_to_wall); - z = moveLinear_new(z, vZ, time_to_wall); + time_to_wall = calculateTimeToWall(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear(x, vX, time_to_wall); + y = moveLinear(y, vY, time_to_wall); + z = moveLinear(z, vZ, time_to_wall); X2 = calculateDistanceSquaredFromCenter(x, y, z); - calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); - // Change direction of the normal - nX = -nX; - nY = -nY; - nZ = -nZ; - + calculateNormal(&nX, &nY, &nZ, x, y, z, bubble, X2); np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; + // Particle bounces back from the bubble wall if (np * np < Delta_M2) { - // Update particle 4-momentum after collision + particles_M[gid] = M_out; pX = fma(np * 2., nX, pX); pY = fma(np * 2., nY, pY); pZ = fma(np * 2., nZ, pZ); - // Calculate applied pressure + if (np < 0) { + printf("gid %i\n", gid); + } t_dP[gid] = bubble.gamma * np * 2.; - E = calculateParticleEnergy(pX, pY, pZ, M_in); - - // Particle only interacts + E = calculateParticleEnergy(pX, pY, pZ, M_out); + np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; t_interactedFalse[gid] += 1; - } else { + } + // Particle penetrates the bubble wall + else { particles_M[gid] = M_in; - - // Calculate particle momentum after collision pX = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nX, pX); pY = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nY, pY); pZ = fma(np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))), nZ, pZ); - // Calculate applied pressure t_dP[gid] = bubble.gamma * np * (1. - sqrt(1. - Delta_M2 / pow(np, 2.))); - E = calculateParticleEnergy(pX, pY, pZ, M_out); - - // Particle interacts and passes through + E = calculateParticleEnergy(pX, pY, pZ, M_in); t_interactedFalse[gid] += 1; t_passedFalse[gid] += 1; } vX = pX / E; vY = pY / E; vZ = pZ / E; - // ========== Movement after the bubble interaction ========== - x = moveLinear_new(x, vX, dt - time_to_wall); - y = moveLinear_new(y, vY, dt - time_to_wall); - z = moveLinear_new(z, vZ, dt - time_to_wall); + x = moveLinear(x, vX, dt - time_to_wall); + y = moveLinear(y, vY, dt - time_to_wall); + z = moveLinear(z, vZ, dt - time_to_wall); } - } else { + } + // Particle starts inside the bubble + else { + // Particle stays inside if (X_dt2 < bubble.radiusAfterStep2) { x = x_Vdt; y = y_Vdt; z = z_Vdt; t_dP[gid] = 0.; - } else { + } + // Particle penetrates the bubble wall + else { double nX, nY, nZ; double time_to_wall, np; - time_to_wall = - calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); - x = moveLinear_new(x, vX, time_to_wall); - y = moveLinear_new(y, vY, time_to_wall); - z = moveLinear_new(z, vZ, time_to_wall); + time_to_wall = calculateTimeToWall(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear(x, vX, time_to_wall); + y = moveLinear(y, vY, time_to_wall); + z = moveLinear(z, vZ, time_to_wall); X2 = calculateDistanceSquaredFromCenter(x, y, z); - - calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + calculateNormal(&nX, &nY, &nZ, x, y, z, bubble, X2); + nX = -nX; + nY = -nY; + nZ = -nZ; np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; - particles_M[gid] = M_out; pX = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nX, pX); pY = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nY, pY); pZ = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nZ, pZ); - - // Calculate applied pressure t_dP[gid] = bubble.gamma * np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))); - E = calculateParticleEnergy(pX, pY, pZ, M_in); - - // Update particle velocity and move amount of (dt - timeToWall) + E = calculateParticleEnergy(pX, pY, pZ, M_out); vX = pX / E; vY = pY / E; vZ = pZ / E; - // Movement after the bubble interaction - x = moveLinear_new(x, vX, dt - time_to_wall); - y = moveLinear_new(y, vY, dt - time_to_wall); - z = moveLinear_new(z, vZ, dt - time_to_wall); - // Particle interacts from the higher mass side + x = moveLinear(x, vX, dt - time_to_wall); + y = moveLinear(y, vY, dt - time_to_wall); + z = moveLinear(z, vZ, dt - time_to_wall); t_interactedTrue[gid] += 1; } } } - particles_X[gid] = x; particles_Y[gid] = y; particles_Z[gid] = z; @@ -442,13 +464,12 @@ __kernel void particle_step_with_bubble_inverted( } else { double nX, nY, nZ; double time_to_wall, np; - time_to_wall = - calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); - x = moveLinear_new(x, vX, time_to_wall); - y = moveLinear_new(y, vY, time_to_wall); - z = moveLinear_new(z, vZ, time_to_wall); + time_to_wall = calculateTimeToWall(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear(x, vX, time_to_wall); + y = moveLinear(y, vY, time_to_wall); + z = moveLinear(z, vZ, time_to_wall); X2 = calculateDistanceSquaredFromCenter(x, y, z); - calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + calculateNormal(&nX, &nY, &nZ, x, y, z, bubble, X2); nX = -nX; nY = -nY; nZ = -nZ; @@ -485,27 +506,26 @@ __kernel void particle_step_with_bubble_inverted( vY = pY / E; vZ = pZ / E; // ========== Movement after the bubble interaction ========== - x = moveLinear_new(x, vX, dt - time_to_wall); - y = moveLinear_new(y, vY, dt - time_to_wall); - z = moveLinear_new(z, vZ, dt - time_to_wall); + x = moveLinear(x, vX, dt - time_to_wall); + y = moveLinear(y, vY, dt - time_to_wall); + z = moveLinear(z, vZ, dt - time_to_wall); } } else { if (X_dt2 > bubble.radiusAfterStep2) { - x = moveLinear_new(x, vX, dt); - y = moveLinear_new(y, vY, dt); - z = moveLinear_new(z, vZ, dt); + x = moveLinear(x, vX, dt); + y = moveLinear(y, vY, dt); + z = moveLinear(z, vZ, dt); t_dP[gid] = 0.; } else { double nX, nY, nZ; double time_to_wall, np; - time_to_wall = - calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); - x = moveLinear_new(x, vX, time_to_wall); - y = moveLinear_new(y, vY, time_to_wall); - z = moveLinear_new(z, vZ, time_to_wall); + time_to_wall = calculateTimeToWall(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear(x, vX, time_to_wall); + y = moveLinear(y, vY, time_to_wall); + z = moveLinear(z, vZ, time_to_wall); X2 = calculateDistanceSquaredFromCenter(x, y, z); - calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + calculateNormal(&nX, &nY, &nZ, x, y, z, bubble, X2); nX = -nX; nY = -nY; nZ = -nZ; @@ -527,9 +547,9 @@ __kernel void particle_step_with_bubble_inverted( vY = pY / E; vZ = pZ / E; // Movement after the bubble interaction - x = moveLinear_new(x, vX, dt - time_to_wall); - y = moveLinear_new(y, vY, dt - time_to_wall); - z = moveLinear_new(z, vZ, dt - time_to_wall); + x = moveLinear(x, vX, dt - time_to_wall); + y = moveLinear(y, vY, dt - time_to_wall); + z = moveLinear(z, vZ, dt - time_to_wall); // Particle interacts from the higher mass side t_interactedTrue[gid] += 1; } @@ -544,13 +564,12 @@ __kernel void particle_step_with_bubble_inverted( } else { double nX, nY, nZ; double time_to_wall, np; - time_to_wall = - calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); - x = moveLinear_new(x, vX, time_to_wall); - y = moveLinear_new(y, vY, time_to_wall); - z = moveLinear_new(z, vZ, time_to_wall); + time_to_wall = calculateTimeToWall(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear(x, vX, time_to_wall); + y = moveLinear(y, vY, time_to_wall); + z = moveLinear(z, vZ, time_to_wall); X2 = calculateDistanceSquaredFromCenter(x, y, z); - calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + calculateNormal(&nX, &nY, &nZ, x, y, z, bubble, X2); np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; if (np * np < Delta_M2) { // Update particle 4-momentum after collision @@ -583,27 +602,26 @@ __kernel void particle_step_with_bubble_inverted( vY = pY / E; vZ = pZ / E; // ========== Movement after the bubble interaction ========== - x = moveLinear_new(x, vX, dt - time_to_wall); - y = moveLinear_new(y, vY, dt - time_to_wall); - z = moveLinear_new(z, vZ, dt - time_to_wall); + x = moveLinear(x, vX, dt - time_to_wall); + y = moveLinear(y, vY, dt - time_to_wall); + z = moveLinear(z, vZ, dt - time_to_wall); } } else { if (X_dt2 < bubble.radiusAfterStep2) { - x = moveLinear_new(x, vX, dt); - y = moveLinear_new(y, vY, dt); - z = moveLinear_new(z, vZ, dt); + x = moveLinear(x, vX, dt); + y = moveLinear(y, vY, dt); + z = moveLinear(z, vZ, dt); t_dP[gid] = 0.; } else { double nX, nY, nZ; double time_to_wall, np; - time_to_wall = - calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); - x = moveLinear_new(x, vX, time_to_wall); - y = moveLinear_new(y, vY, time_to_wall); - z = moveLinear_new(z, vZ, time_to_wall); + time_to_wall = calculateTimeToWall(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear(x, vX, time_to_wall); + y = moveLinear(y, vY, time_to_wall); + z = moveLinear(z, vZ, time_to_wall); X2 = calculateDistanceSquaredFromCenter(x, y, z); - calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + calculateNormal(&nX, &nY, &nZ, x, y, z, bubble, X2); np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; particles_M[gid] = M_out; @@ -615,15 +633,14 @@ __kernel void particle_step_with_bubble_inverted( t_dP[gid] = bubble.gamma * np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))); E = calculateParticleEnergy(pX, pY, pZ, M_in); - // Update particle velocity and move amount of (dt - timeToWall) vX = pX / E; vY = pY / E; vZ = pZ / E; // Movement after the bubble interaction - x = moveLinear_new(x, vX, dt - time_to_wall); - y = moveLinear_new(y, vY, dt - time_to_wall); - z = moveLinear_new(z, vZ, dt - time_to_wall); + x = moveLinear(x, vX, dt - time_to_wall); + y = moveLinear(y, vY, dt - time_to_wall); + z = moveLinear(z, vZ, dt - time_to_wall); // Particle interacts from the higher mass side t_interactedTrue[gid] += 1; } @@ -701,18 +718,17 @@ __kernel void particles_with_false_bubble_step_reflect( else { double nX, nY, nZ; double time_to_wall, np; - time_to_wall = - calculateTimeToWall_new(x, y, z, E, pX, pY, pZ, bubble, dt); - x = moveLinear_new(x, vX, time_to_wall); - y = moveLinear_new(y, vY, time_to_wall); - z = moveLinear_new(z, vZ, time_to_wall); + time_to_wall = calculateTimeToWall(x, y, z, E, pX, pY, pZ, bubble, dt); + x = moveLinear(x, vX, time_to_wall); + y = moveLinear(y, vY, time_to_wall); + z = moveLinear(z, vZ, time_to_wall); X2 = calculateDistanceSquaredFromCenter(x, y, z); // Update particle's radius squared value to calculate normal vector // Relativistic reflection algorithm // Calculate normal at the location where particle and bubble interact - calculateNormal_new(&nX, &nY, &nZ, x, y, z, bubble, X2); + calculateNormal(&nX, &nY, &nZ, x, y, z, bubble, X2); np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; pX = fma(np * 2., nX, pX); @@ -731,9 +747,9 @@ __kernel void particles_with_false_bubble_step_reflect( vZ = pZ / E; // ========== Movement after the bubble interaction ========== - x = moveLinear_new(x, vX, time_to_wall); - y = moveLinear_new(y, vY, time_to_wall); - z = moveLinear_new(z, vZ, time_to_wall); + x = moveLinear(x, vX, time_to_wall); + y = moveLinear(y, vY, time_to_wall); + z = moveLinear(z, vZ, time_to_wall); } } else { x = INFINITY; @@ -758,12 +774,11 @@ __kernel void particles_with_false_bubble_step_reflect( ============================================================================ */ -__kernel void rotate_momentum(__global double *particles_E, - __global double *particles_pX, - __global double *particles_pY, - __global double *particles_pZ, - __global unsigned int *particles_collision_cell_index, - __global CollisionCell *t_cells) { +__kernel void rotate_momentum( + __global double *particles_E, __global double *particles_pX, + __global double *particles_pY, __global double *particles_pZ, + __global unsigned int *particles_collision_cell_index, + __global CollisionCell *t_cells) { unsigned int gid = get_global_id(0); // If in bubble then cell number is doubled and second half is in bubble @@ -877,7 +892,8 @@ __kernel void label_particles_position_by_mass( __kernel void assign_particle_to_collision_cell( __global double *particles_X, __global double *particles_Y, - __global double *particles_Z, __global unsigned int *m_particle_collision_cell_index, + __global double *particles_Z, + __global unsigned int *m_particle_collision_cell_index, __global const unsigned int *maxCellIndex, __global const double *cellLength, __global const double *cuboidShift) { unsigned int gid = get_global_id(0); @@ -897,13 +913,13 @@ __kernel void assign_particle_to_collision_cell( if ((x_index < 0) || (x_index >= maxCellIndex[0])) { m_particle_collision_cell_index[gid] = 0; - //printf("X. %i", x_index); + // printf("X. %i", x_index); } else if ((y_index < 0) || (y_index >= maxCellIndex[0])) { m_particle_collision_cell_index[gid] = 0; - //printf("Y. %i", y_index); + // printf("Y. %i", y_index); } else if ((z_index < 0) || (z_index >= maxCellIndex[0])) { m_particle_collision_cell_index[gid] = 0; - //printf("Z. %i", z_index); + // printf("Z. %i", z_index); } else { m_particle_collision_cell_index[gid] = @@ -914,7 +930,8 @@ __kernel void assign_particle_to_collision_cell( __kernel void assign_particle_cell_index_two_phase( __global double *particles_X, __global double *particles_Y, - __global double *particles_Z, __global unsigned int *m_particle_collision_cell_index, + __global double *particles_Z, + __global unsigned int *m_particle_collision_cell_index, __global char *particles_bool_in_bubble, __global const int *maxCellIndex, __global const double *cellLength, __global const double *cuboidShift // Random particle location shift From 13bc9ffc78b4b4a891d0f4f04641c950dfe7a25b Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Mon, 17 Jul 2023 14:54:04 +0300 Subject: [PATCH 16/20] Working version --- bubbleSim/bubble.cpp | 9 +--- bubbleSim/bubble.h | 4 -- bubbleSim/collision.cpp | 29 ++++++++--- bubbleSim/collision.h | 2 +- bubbleSim/config_reader.hpp | 12 ++--- bubbleSim/particle.cpp | 45 +--------------- bubbleSim/particle.h | 14 +---- bubbleSim/simulation.cpp | 100 ++++++++++++++++++++++++++++-------- bubbleSim/simulation.h | 44 ++++++++++------ bubbleSim/source.cpp | 27 +++++++--- configs/config.json | 26 +++++----- kernels/kernel.cl | 32 +++++------- 12 files changed, 191 insertions(+), 153 deletions(-) diff --git a/bubbleSim/bubble.cpp b/bubbleSim/bubble.cpp index d6252ab..72134a2 100644 --- a/bubbleSim/bubble.cpp +++ b/bubbleSim/bubble.cpp @@ -20,8 +20,8 @@ PhaseBubble::PhaseBubble(numType t_initialRadius, numType t_initialSpeed, numType gamma = 1.0 / std::exp((std::log1p((-t_initialSpeed * t_initialSpeed)) * 0.5)); numType gammaXspeed = t_initialSpeed * gamma; - m_bubble = Bubble{t_initialRadius, radius2, radius2, t_initialSpeed, - gamma, gammaXspeed, gamma}; + m_bubble = Bubble{t_initialRadius, radius2, t_initialSpeed, + gamma, gammaXspeed}; m_bubble_copy = m_bubble; m_bubbleBuffer = cl::Buffer(cl_context, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, @@ -50,11 +50,6 @@ numType PhaseBubble::calculateVolume() { numType PhaseBubble::calculateEnergy() { return calculateArea() * m_sigma * m_bubble.gamma - calculateVolume() * m_dV; } -numType PhaseBubble::calculateRadiusAfterStep2(numType dt) { - m_bubble.radiusAfterStep2 = - pow(std::fma(m_bubble.speed, dt, m_bubble.radius), 2); - return m_bubble.radiusAfterStep2; -} void PhaseBubble::evolveWall(numType dt, numType dP) { numType newRadius; // R_(i+1) diff --git a/bubbleSim/bubble.h b/bubbleSim/bubble.h index 8b10ca1..c9b5407 100644 --- a/bubbleSim/bubble.h +++ b/bubbleSim/bubble.h @@ -5,13 +5,11 @@ typedef struct Bubble { cl_numType radius; cl_numType radius2; // Squared - cl_numType radiusAfterStep2; // (radius + speed * dt)^2 cl_numType speed; cl_numType gamma; cl_numType gammaXspeed; // gamma * speed - cl_numType gamma_dynamic; } Bubble; class PhaseBubble { @@ -21,7 +19,6 @@ class PhaseBubble { numType getGamma() { return m_bubble.gamma; } numType getGammaSpeed() { return m_bubble.gammaXspeed; } numType getRadius2() { return m_bubble.radius2; } - numType getRadiusAfterDt2() { return m_bubble.radiusAfterStep2; } numType getdV() { return m_dV; } numType getSigma() { return m_sigma; } numType getInitialRadius() { return m_initialRadius; } @@ -32,7 +29,6 @@ class PhaseBubble { void evolveWall(numType dt, numType dP); numType calculateArea(); numType calculateVolume(); - numType calculateRadiusAfterStep2(numType dt); numType calculateEnergy(); cl::Buffer& getBubbleBuffer() { return m_bubbleBuffer; } diff --git a/bubbleSim/collision.cpp b/bubbleSim/collision.cpp index e105e43..82006ff 100644 --- a/bubbleSim/collision.cpp +++ b/bubbleSim/collision.cpp @@ -65,7 +65,6 @@ void CollisionCellCollection::generateShiftVector( } void CollisionCellCollection::recalculate_cells(ParticleCollection& t_particles, - numType t_temperature, RandomNumberGenerator& t_rng) { numType phi, theta; @@ -77,10 +76,17 @@ void CollisionCellCollection::recalculate_cells(ParticleCollection& t_particles, * 4 index: Particle count in a cell * 5 index: Prod(E_i) in a cell */ - std::vector> cell_values( - m_cellCount, {(cl_numType)0., (cl_numType)0., (cl_numType)0., - (cl_numType)0., (cl_numType)0., (cl_numType)1., (cl_numType)0.,}); - + std::vector> cell_values(m_cellCount, + { + (cl_numType)0., + (cl_numType)0., + (cl_numType)0., + (cl_numType)0., + (cl_numType)0., + (cl_numType)1., + (cl_numType)0., + }); + // std::array cell_counter = {0}; /* * Sum up all momentums, energies and masses for each cell */ @@ -99,7 +105,8 @@ void CollisionCellCollection::recalculate_cells(ParticleCollection& t_particles, cell_values[collision_cell_index][3] += t_particles.returnParticleE(i); cell_values[collision_cell_index][4] += 1; cell_values[collision_cell_index][5] *= t_particles.returnParticleE(i); - cell_values[collision_cell_index][6] += std::log(t_particles.returnParticleE(i)); + cell_values[collision_cell_index][6] += + std::log(t_particles.returnParticleE(i)); } /* @@ -109,9 +116,12 @@ void CollisionCellCollection::recalculate_cells(ParticleCollection& t_particles, double no_collision_probability = 0.; double probability = 0; - for (size_t i = 1; i < m_cellCount; i++) { m_collisionCells[i].particle_count = (cl_uint)cell_values[i][4]; + /*if (m_collisionCells[i].particle_count < 30) { + cell_counter[m_collisionCells[i].particle_count] += 1; + }*/ + if ((cl_uint)cell_values[i][4] < 2) { m_collisionCells[i].b_collide = 0; continue; @@ -157,5 +167,10 @@ void CollisionCellCollection::recalculate_cells(ParticleCollection& t_particles, m_collisionCells[i].y = std::sin(phi) * std::sin(theta); m_collisionCells[i].z = std::cos(phi); } + + /*for (u_int count : cell_counter) { + std::cout << count << ", "; + } + std::cout << std::endl;*/ // exit(0); } \ No newline at end of file diff --git a/bubbleSim/collision.h b/bubbleSim/collision.h index fefcc34..92eff44 100644 --- a/bubbleSim/collision.h +++ b/bubbleSim/collision.h @@ -29,7 +29,7 @@ class CollisionCellCollection { CollisionCellCollection(numType t_meanFreePath, unsigned int t_cellCount, bool t_doubleCellCount, cl::Context& cl_context); - void recalculate_cells(ParticleCollection& t_particles, numType t_temperature, + void recalculate_cells(ParticleCollection& t_particles, RandomNumberGenerator& t_rng); void generateShiftVector(RandomNumberGenerator& t_rng); diff --git a/bubbleSim/config_reader.hpp b/bubbleSim/config_reader.hpp index 97d3447..703843a 100644 --- a/bubbleSim/config_reader.hpp +++ b/bubbleSim/config_reader.hpp @@ -31,10 +31,10 @@ class ConfigReader { /* * Collision parameters */ - bool collisionCellOn; + bool collision_on; numType parameterCoupling; - unsigned int collisionCellCount; - numType collisionCellLength; + unsigned int collision_cell_count; + numType collision_cell_length; /* * Bubble parameters */ @@ -109,9 +109,9 @@ class ConfigReader { /* * Collisions */ - collisionCellOn = config["collision"]["collision_on"]; - collisionCellCount = config["collision"]["N_cells"]; - collisionCellLength = config["collision"]["cell_length"]; + collision_on = config["collision"]["collision_on"]; + collision_cell_count = config["collision"]["N_cells"]; + collision_cell_length = config["collision"]["cell_length"]; /* * Bubble parameters */ diff --git a/bubbleSim/particle.cpp b/bubbleSim/particle.cpp index a7567ba..de83d81 100644 --- a/bubbleSim/particle.cpp +++ b/bubbleSim/particle.cpp @@ -630,47 +630,4 @@ numType ParticleCollection::countParticlesEnergy(numType t_radius1, } } return energy; -} - -void ParticleCollection::print_info(ConfigReader t_config, - PhaseBubble& t_bubble) { - // exp(mu/T) -> ~ chemical potential -> - std::cout << std::setprecision(6); - numType exp_mu_T = - std::log((m_particleCountIn * std::pow((numType)M_PI, (numType)2.)) / - (t_bubble.calculateVolume() * std::pow(m_temperatureFalse, (numType)3))); - numType nFromParameters = m_particleCountIn / t_bubble.calculateVolume(); - // Assuming m = 0 - numType rhoFromParameters = - m_particleCountIn * 3 * m_massTrue / - (t_config.parameterEta * t_bubble.calculateVolume()); - numType energyFromParameters = 3 * m_massTrue / t_config.parameterEta; - - numType particleTotalEnergy = countParticlesEnergy(); - numType nSim = m_particleCountIn / t_bubble.calculateVolume(); - numType rhoSim = particleTotalEnergy / t_bubble.calculateVolume(); - numType energySim = particleTotalEnergy / m_particleCountFalse; - numType dVrho = abs(t_bubble.getdV()) / rhoSim; - - std::string sublabel_prefix = "==== "; - std::string sublabel_sufix = " ===="; - - std::cout << "=============== Particles ===============" << std::endl; - std::cout << sublabel_prefix + "exp(mu/T) (m-=0): " << exp_mu_T - << sublabel_sufix << std::endl; - std::cout << sublabel_prefix + "dV/rho: " << dVrho << sublabel_sufix - << std::endl; - - std::cout << sublabel_prefix + "Number density" + sublabel_sufix << std::endl; - std::cout << "Sim: " << nSim << ", Param: " << nFromParameters - << ", Ratio (sim/param): " << nSim / nFromParameters << std::endl; - std::cout << sublabel_prefix + "Energy density" + sublabel_sufix << std::endl; - std::cout << "Sim: " << rhoSim << ", Param (m=0): " << rhoFromParameters - - << ", Ratio (sim/param): " << rhoSim / rhoFromParameters - << std::endl; - std::cout << sublabel_prefix + "" + sublabel_sufix << std::endl; - std::cout << "Sim: " << energySim << ", Param (m=0): " << energyFromParameters - << ", Ratio (sim/param): " << energySim / energyFromParameters - << std::endl; -} +} \ No newline at end of file diff --git a/bubbleSim/particle.h b/bubbleSim/particle.h index 7acba2f..102b98b 100644 --- a/bubbleSim/particle.h +++ b/bubbleSim/particle.h @@ -202,11 +202,11 @@ class ParticleCollection { } std::vector& getPassedFalse() { - return m_interacted_bubble_false_state; + return m_passed_bubble_false_state; } std::vector& getInteractedTrue() { - return m_passed_bubble_false_state; + return m_interacted_bubble_true_state; } cl::Buffer& getParticleXBuffer() { return m_particle_X_buffer; } @@ -672,15 +672,6 @@ class ParticleCollection { * ================================================================ */ - void printParticleInfo(size_t i) { - std::printf("X: (%.7f, %.7f, %.7f), P: (%.7f, %.7f, %.7f, %.7f), m: %.7f\n", - m_particle_X[i], m_particle_Y[i], m_particle_Z[i], - m_particle_E[i], m_particle_pX[i], m_particle_pY[i], - m_particle_pZ[i], m_particle_M[i]); - } - - void print_info(ConfigReader t_config, PhaseBubble& t_bubble); - void print_particle_info(unsigned int i) { std::cout << "(" << m_particle_X[i] << ", " << m_particle_Y[i] << ", " << m_particle_Z[i] << ") (" << m_particle_E[i] << ", " @@ -689,7 +680,6 @@ class ParticleCollection { } }; - class ParticleGenerator { public: ParticleGenerator() {} diff --git a/bubbleSim/simulation.cpp b/bubbleSim/simulation.cpp index e58aff7..844f1c8 100644 --- a/bubbleSim/simulation.cpp +++ b/bubbleSim/simulation.cpp @@ -375,42 +375,36 @@ void Simulation::setBuffersLabelParticleInBubbleMass( */ // Step with bubble kernel +/* + * Simple bubble step algorithm with bubble + * + * // TODO: Energy summation on the GPU + * // TODO: dP summation on the GPU + * // TODO: Simulation revert option + */ void Simulation::step(ParticleCollection& particles, PhaseBubble& bubble, cl::Kernel& t_particle_step_kernel, cl::CommandQueue& cl_queue) { - // 1) Update timestep - // numType bubbleStartSpeed = bubble.getSpeed(); m_timestepAdapter.calculateNewTimeStep(bubble); m_dt_current = m_timestepAdapter.getTimestep(); - - // Move timestep to GPU writedtBuffer(cl_queue); - // 2) Update data on GPU - bubble.calculateRadiusAfterStep2(m_dt_current); - bubble.writeBubbleBuffer(cl_queue); - // 3) Run kernel (move particles on GPU) cl_queue.enqueueNDRangeKernel(t_particle_step_kernel, cl::NullRange, cl::NDRange(particles.getParticleCountTotal())); - // 4 Read particle data from GPU after the step - // TODO: Energy summation on the GPU - // TODO: dP summation on the GPU particles.readParticleEBuffer(cl_queue); particles.readdPBuffer(cl_queue); - // Calculate particle energy change -> pressure on the wall m_dP = 0.; numType currentTotalEnergy = 0.; for (size_t i = 0; i < particles.getParticleCountTotal(); i++) { m_dP += particles.returnParticledP(i); currentTotalEnergy += particles.returnParticleE(i); } - // Convert energy change to pressure - m_dP = -m_dP / bubble.calculateArea(); - // 5) Evolve bubble + m_dP = -m_dP / bubble.calculateArea(); bubble.evolveWall(m_dt_current, m_dP); + bubble.writeBubbleBuffer(cl_queue); currentTotalEnergy += bubble.calculateEnergy(); /* In development: adaptive timestep ; step revert @@ -438,7 +432,6 @@ void Simulation::step(ParticleCollection& particles, PhaseBubble& bubble, } */ - // Update simulation info m_totalEnergy = currentTotalEnergy; m_time += m_dt_current; m_step_count += 1; @@ -475,12 +468,9 @@ void Simulation::step(ParticleCollection& particles, cl::CommandQueue& cl_queue) { // Move particles // TODO: Define temperature from config or dynamically. - numType temperature = (numType)0.01; cl_queue.enqueueNDRangeKernel(t_particle_step_kernel, cl::NullRange, cl::NDRange(particles.getParticleCountTotal())); - particles.readParticleXBuffer(cl_queue); - cl_queue.enqueueNDRangeKernel(t_particle_boundary_check_kernel, cl::NullRange, cl::NDRange(particles.getParticleCountTotal())); if (i % 1 == 0) { @@ -497,7 +487,7 @@ void Simulation::step(ParticleCollection& particles, particles.readParticleEBuffer(cl_queue); particles.readParticleCollisionCellIndexBuffer(cl_queue); // Calculate COM and genrate rotation matrix for each cell - cells.recalculate_cells(particles, temperature, generator_collision); + cells.recalculate_cells(particles, generator_collision); // Update collision cell data on GPU particles.writeParticleCollisionCellIndexBuffer(cl_queue); @@ -512,3 +502,73 @@ void Simulation::step(ParticleCollection& particles, m_time += m_dt_current; m_step_count += 1; } + +void Simulation::collide(ParticleCollection& particles, + CollisionCellCollection& cells, + RandomNumberGenerator& t_rng, + cl::Kernel& t_assign_particle_to_collision_cell_kernel, + cl::Kernel& t_rotate_momentum_kernel, + cl::CommandQueue& cl_queue) { + cells.generateShiftVector(t_rng); + cells.writeShiftVectorBuffer(cl_queue); + // Assign particles to collision cells + cl_queue.enqueueNDRangeKernel(t_assign_particle_to_collision_cell_kernel, + cl::NullRange, + cl::NDRange(particles.getParticleCountTotal())); + // Update particle data on CPU + particles.readParticleCoordinatesBuffer(cl_queue); + particles.readParticleMomentumsBuffer(cl_queue); + particles.readParticleEBuffer(cl_queue); + particles.readParticleCollisionCellIndexBuffer(cl_queue); + // Calculate COM and genrate rotation matrix for each cell + cells.recalculate_cells(particles, t_rng); + + // Update collision cell data on GPU + particles.writeParticleCollisionCellIndexBuffer(cl_queue); + cells.writeCollisionCellBuffer(cl_queue); + // Rotate momentum + cl_queue.enqueueNDRangeKernel(t_rotate_momentum_kernel, cl::NullRange, + cl::NDRange(particles.getParticleCountTotal())); +} + +void Simulation::step(ParticleCollection& particles, PhaseBubble& bubble, + CollisionCellCollection& cells, + RandomNumberGenerator& t_rng, + cl::Kernel& t_particle_step_kernel, + cl::Kernel& t_particle_boundary_check_kernel, + cl::Kernel& t_assign_particle_to_collision_cell_kernel, + cl::Kernel& t_rotate_momentum_kernel, + cl::CommandQueue& cl_queue) { + m_timestepAdapter.calculateNewTimeStep(bubble); + m_dt_current = m_timestepAdapter.getTimestep(); + writedtBuffer(cl_queue); + + cl_queue.enqueueNDRangeKernel(t_particle_step_kernel, cl::NullRange, + cl::NDRange(particles.getParticleCountTotal())); + cl_queue.enqueueNDRangeKernel(t_particle_boundary_check_kernel, cl::NullRange, + cl::NDRange(particles.getParticleCountTotal())); + if (true) { + collide(particles, cells, t_rng, t_assign_particle_to_collision_cell_kernel, + t_rotate_momentum_kernel, cl_queue); + } + + particles.readParticleEBuffer(cl_queue); + particles.readdPBuffer(cl_queue); + + m_dP = 0.; + numType currentTotalEnergy = 0.; + for (size_t i = 0; i < particles.getParticleCountTotal(); i++) { + m_dP += particles.returnParticledP(i); + currentTotalEnergy += particles.returnParticleE(i); + } + + m_dP = -m_dP / bubble.calculateArea(); + + bubble.evolveWall(m_dt_current, m_dP); + bubble.writeBubbleBuffer(cl_queue); + currentTotalEnergy += bubble.calculateEnergy(); + + m_totalEnergy = currentTotalEnergy; + m_time += m_dt_current; + m_step_count += 1; +} \ No newline at end of file diff --git a/bubbleSim/simulation.h b/bubbleSim/simulation.h index eda3803..b2e194e 100644 --- a/bubbleSim/simulation.h +++ b/bubbleSim/simulation.h @@ -30,29 +30,29 @@ class Simulation { * ================================================================ */ void setBuffersParticleStepLinear(ParticleCollection& t_particles, - cl::Kernel& t_kernel); + cl::Kernel& t_kernel); - void setBuffersParticleStepWithBubble( - ParticleCollection& t_particles, PhaseBubble& t_bubble, - cl::Kernel& t_bubbleInteractionKernel); + void setBuffersParticleStepWithBubble(ParticleCollection& t_particles, + PhaseBubble& t_bubble, + cl::Kernel& t_bubbleInteractionKernel); - void setBuffersParticleStepWithBubbleInverted( - ParticleCollection& t_particles, PhaseBubble& t_bubble, - cl::Kernel& t_kernel); + void setBuffersParticleStepWithBubbleInverted(ParticleCollection& t_particles, + PhaseBubble& t_bubble, + cl::Kernel& t_kernel); void setBuffersParticleStepWithBubbleOnlyReflect( ParticleCollection& t_particles, PhaseBubble& t_bubble, cl::Kernel& t_kernel); void setBuffersParticleBoundaryCheck(ParticleCollection& t_particles, - cl::Kernel& t_kernel); + cl::Kernel& t_kernel); void setBuffersParticleBoundaryMomentumReflect( ParticleCollection& t_particles, cl::Kernel& t_kernel); void setBuffersRotateMomentum(ParticleCollection& t_particles, - CollisionCellCollection& cells, - cl::Kernel& t_kernel); + CollisionCellCollection& cells, + cl::Kernel& t_kernel); void setBuffersAssignParticleToCollisionCell( ParticleCollection& t_particles, CollisionCellCollection& cells, @@ -62,8 +62,8 @@ class Simulation { ParticleCollection& t_particles, PhaseBubble& t_bubble, cl::Kernel& t_kernel); - void setBuffersLabelParticleInBubbleMass( - ParticleCollection& t_particles, cl::Kernel& t_kernel); + void setBuffersLabelParticleInBubbleMass(ParticleCollection& t_particles, + cl::Kernel& t_kernel); /* * ================================================================ * ================================================================ @@ -87,9 +87,23 @@ class Simulation { cl::Kernel& t_particleBounceKernel, cl::CommandQueue& cl_queue); void step(ParticleCollection& particles, PhaseBubble& bubble, - cl::Kernel& t_particle_step_kernel, - cl::Kernel& t_particle_boundary_check_kernel, - cl::CommandQueue& cl_queue); + cl::Kernel& t_particle_step_kernel, + cl::Kernel& t_particle_boundary_check_kernel, + cl::CommandQueue& cl_queue); + + void step(ParticleCollection& particles, PhaseBubble& bubble, + CollisionCellCollection& cells, RandomNumberGenerator& t_rng, + cl::Kernel& t_particle_step_kernel, + cl::Kernel& t_particle_boundary_check_kernel, + cl::Kernel& t_assign_particle_to_collision_cell_kernel, + cl::Kernel& t_rotate_momentum_kernel, cl::CommandQueue& cl_queue); + + void collide(ParticleCollection& particles, CollisionCellCollection& cells, + RandomNumberGenerator& generator_collision, + cl::Kernel& t_assign_particle_to_collision_cell_kernel, + cl::Kernel& t_rotate_momentum_kernel, + cl::CommandQueue& cl_queue); + /* * ================================================================ * ================================================================ diff --git a/bubbleSim/source.cpp b/bubbleSim/source.cpp index 1f97ac2..824ec6c 100644 --- a/bubbleSim/source.cpp +++ b/bubbleSim/source.cpp @@ -217,8 +217,8 @@ int main(int argc, char* argv[]) { bubble.getInitialRadius()); // In development: collision - CollisionCellCollection cells(config.collisionCellLength, - config.collisionCellCount, false, + CollisionCellCollection cells(config.collision_cell_length, + config.collision_cell_count, false, kernels.getContext()); if (b_COLLISION_DEVELOPMENT_ON) { simulation.setBuffersParticleStepLinear(particles, *stepKernel); @@ -234,6 +234,16 @@ int main(int argc, char* argv[]) { simulation.setBuffersParticleStepWithBubble(particles, bubble, *stepKernel); } + if (config.collision_on) { + simulation.setBuffersParticleBoundaryCheck(particles, + kernels.m_particleBounceKernel); + simulation.setBuffersAssignParticleToCollisionCell( + particles, cells, kernels.m_cellAssignmentKernel); + simulation.setBuffersRotateMomentum(particles, cells, + kernels.m_rotationKernel); + cells.writeAllBuffersToKernel(kernels.getCommandQueue()); + } + // Copy data to the GPU particles.writeParticleCoordinatesBuffer(kernels.getCommandQueue()); particles.writeParticleEBuffer(kernels.getCommandQueue()); @@ -284,8 +294,6 @@ int main(int argc, char* argv[]) { std::cout << std::endl; config.print_info(); std::cout << std::endl; - particles.print_info(config, bubble); - std::cout << std::endl; bubble.print_info(config); std::cout << std::endl; // 9) Streams @@ -334,8 +342,15 @@ int main(int argc, char* argv[]) { } else { if (config.bubbleInteractionsOn) { - simulation.step(particles, bubble, *stepKernel, - kernels.getCommandQueue()); + if (config.collision_on) { + simulation.step(particles, bubble, cells, rn_generator, *stepKernel, + kernels.m_particleBounceKernel, + kernels.m_cellAssignmentKernel, + kernels.m_rotationKernel, kernels.getCommandQueue()); + } else { + simulation.step(particles, bubble, *stepKernel, + kernels.getCommandQueue()); + } } else { simulation.step(bubble, 0); } diff --git a/configs/config.json b/configs/config.json index f989758..4f52691 100644 --- a/configs/config.json +++ b/configs/config.json @@ -4,41 +4,41 @@ }, "simulation": { "seed": 1, - "max_steps": 2000, - "dt": 0.0001, + "max_steps": 20000, + "dt": 0.01, "max_time": 50, "cyclic_boundary_on": true, - "cyclic_boundary_radius": 50 + "cyclic_boundary_radius": 3 }, "parameters": { "alpha": 12.24727746868043, "eta": 1000, "upsilon": 0.4, "coupling": 0.0, - "dV": 0.24 + "dV": 1600000 }, "bubble": { "initial_radius": 1, - "initial_speed": 0, + "initial_speed": 0.5, "is_true_vacuum": true, "interaction_on": true }, "particles": { "mass_false": 0, "mass_true": 1, - "T_false": 0.00001, + "T_false": 0.5, "T_true": 0.0, - "N_false": 100000, + "N_false": 750000, "N_true": 0 }, "collision": { - "collision_on": false, - "N_cells": 27, - "cell_length": 0.0741 + "collision_on": true, + "N_cells": 101, + "cell_length": 0.0298 }, "stream": { "stream": true, - "stream_time": 0.001, + "stream_time": 0.01, "stream_step": 10000, "data_save_path": "data", "stream_data": true, @@ -59,7 +59,7 @@ "max_value_energy": 11, "max_value_radial_velocity": 11, "max_value_tangential_velocity": 11, - "max_value_momentumIn": 11.5, - "max_value_momentumOut": 11.5 + "max_value_momentumIn": 15, + "max_value_momentumOut": 15 } } \ No newline at end of file diff --git a/kernels/kernel.cl b/kernels/kernel.cl index d685c76..ce7f7e6 100644 --- a/kernels/kernel.cl +++ b/kernels/kernel.cl @@ -4,7 +4,6 @@ typedef struct Bubble { double radius; double radius2; // Squared - double radiusAfterStep2; // (radius + speed * dt)^2 double speed; double gamma; double gammaXspeed; // gamma * speed @@ -216,12 +215,12 @@ __kernel void particle_step_with_bubble( // Particle starts inside the bubble if (X2 < bubble.radius2) { // Particle stays inside the bubble - if (X_dt2 < bubble.radiusAfterStep2) { + if (X_dt2 < pow(bubble.radius + bubble.speed*dt, 2.)) { x = x_Vdt; y = y_Vdt; z = z_Vdt; t_dP[gid] = 0.; - } + } // Particle can get out else { double nX, nY, nZ; @@ -241,7 +240,7 @@ __kernel void particle_step_with_bubble( t_dP[gid] = bubble.gamma * np * 2.; E = calculateParticleEnergy(pX, pY, pZ, M_in); t_interactedFalse[gid] += 1; - } + } // Particle penetrates the bubble wall else { particles_M[gid] = M_out; @@ -261,16 +260,16 @@ __kernel void particle_step_with_bubble( y = moveLinear(y, vY, dt - time_to_wall); z = moveLinear(z, vZ, dt - time_to_wall); } - } + } // Particle starts outside else { // Particle stays outsided - if (X_dt2 > bubble.radiusAfterStep2) { + if (X_dt2 > pow(bubble.radius + bubble.speed*dt, 2.)) { x = moveLinear(x, vX, dt); y = moveLinear(y, vY, dt); z = moveLinear(z, vZ, dt); t_dP[gid] = 0.; - } + } // Particle penetrates the bubble wall else { double nX, nY, nZ; @@ -302,7 +301,7 @@ __kernel void particle_step_with_bubble( // Particle starts outside the bubble if (X2 > bubble.radius2) { // Particle stays outside - if (X_dt2 > bubble.radiusAfterStep2) { + if (X_dt2 > pow(bubble.radius + bubble.speed*dt, 2.)) { x = x_Vdt; y = y_Vdt; z = z_Vdt; @@ -352,11 +351,11 @@ __kernel void particle_step_with_bubble( y = moveLinear(y, vY, dt - time_to_wall); z = moveLinear(z, vZ, dt - time_to_wall); } - } + } // Particle starts inside the bubble else { // Particle stays inside - if (X_dt2 < bubble.radiusAfterStep2) { + if (X_dt2 < pow(bubble.radius + bubble.speed*dt, 2.)) { x = x_Vdt; y = y_Vdt; z = z_Vdt; @@ -372,9 +371,6 @@ __kernel void particle_step_with_bubble( z = moveLinear(z, vZ, time_to_wall); X2 = calculateDistanceSquaredFromCenter(x, y, z); calculateNormal(&nX, &nY, &nZ, x, y, z, bubble, X2); - nX = -nX; - nY = -nY; - nZ = -nZ; np = bubble.speed * bubble.gamma * E - nX * pX - nY * pY - nZ * pZ; particles_M[gid] = M_out; pX = fma(np * (1. - sqrt(1. + Delta_M2 / pow(np, 2.))), nX, pX); @@ -456,7 +452,7 @@ __kernel void particle_step_with_bubble_inverted( if (M_in < M_out) { if (X2 < bubble.radius2) { - if (X_dt2 < bubble.radiusAfterStep2) { + if (X_dt2 < pow(bubble.radius + bubble.speed*dt, 2.)) { x = x_Vdt; y = y_Vdt; z = z_Vdt; @@ -511,7 +507,7 @@ __kernel void particle_step_with_bubble_inverted( z = moveLinear(z, vZ, dt - time_to_wall); } } else { - if (X_dt2 > bubble.radiusAfterStep2) { + if (X_dt2 > pow(bubble.radius + bubble.speed*dt, 2.)) { x = moveLinear(x, vX, dt); y = moveLinear(y, vY, dt); z = moveLinear(z, vZ, dt); @@ -556,7 +552,7 @@ __kernel void particle_step_with_bubble_inverted( } } else { if (X2 > bubble.radius2) { - if (X_dt2 > bubble.radiusAfterStep2) { + if (X_dt2 > pow(bubble.radius + bubble.speed*dt, 2.)) { x = x_Vdt; y = y_Vdt; z = z_Vdt; @@ -607,7 +603,7 @@ __kernel void particle_step_with_bubble_inverted( z = moveLinear(z, vZ, dt - time_to_wall); } } else { - if (X_dt2 < bubble.radiusAfterStep2) { + if (X_dt2 < pow(bubble.radius + bubble.speed*dt, 2.)) { x = moveLinear(x, vX, dt); y = moveLinear(y, vY, dt); z = moveLinear(z, vZ, dt); @@ -708,7 +704,7 @@ __kernel void particles_with_false_bubble_step_reflect( if (((X2 < bubble.radius2) && (M_in < M_out))) { // move particles that stay in - if ((X_dt2 < bubble.radiusAfterStep2) && (M_in < M_out)) { + if ((X_dt2 < pow(bubble.radius + bubble.speed*dt, 2.)) && (M_in < M_out)) { x = x_Vdt; y = y_Vdt; z = z_Vdt; From 9f16e57109123b83825d71c3dfa7d94cd972fe99 Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Mon, 17 Jul 2023 15:22:02 +0300 Subject: [PATCH 17/20] Working version. Bug fix --- bubbleSim/source.cpp | 54 +++++++++++++++++++++++++------------------- configs/config.json | 2 +- 2 files changed, 32 insertions(+), 24 deletions(-) diff --git a/bubbleSim/source.cpp b/bubbleSim/source.cpp index 824ec6c..6396a1c 100644 --- a/bubbleSim/source.cpp +++ b/bubbleSim/source.cpp @@ -77,13 +77,10 @@ void appendSimulationInfoFile(std::ofstream& infoStream, infoStream << t_postionDifference << "," << t_programRuntime << std::endl; } -std::string measureTime(std::chrono::steady_clock::time_point start_time) { - auto end_time = high_resolution_clock::now(); - auto ms_int = std::chrono::duration_cast( - end_time - start_time); - int seconds = (int)(ms_int.count() / 1000) % 60; - int minutes = ((int)(ms_int.count() / (1000 * 60)) % 60); - int hours = ((int)(ms_int.count() / (1000 * 60 * 60)) % 24); +std::string measureTime(std::chrono::milliseconds time_delta) { + int seconds = (int)(time_delta.count() / 1000) % 60; + int minutes = ((int)(time_delta.count() / (1000 * 60)) % 60); + int hours = ((int)(time_delta.count() / (1000 * 60 * 60)) % 24); std::string lapsed_time = ""; if (hours < 10) { @@ -110,6 +107,7 @@ int main(int argc, char* argv[]) { exit(0); } auto program_start_time = high_resolution_clock::now(); + //auto program_second_time = high_resolution_clock::now(); // Read configs and kernel file std::string s_configPath = argv[1]; // "config.json" @@ -315,6 +313,7 @@ int main(int argc, char* argv[]) { int stepsSinceLastStream = 0; std::cout << "=============== Simulation ===============" << std::endl; std::cout << std::setprecision(6) << std::fixed << std::showpoint; + auto program_second_time = high_resolution_clock::now(); std::cout << "Step: " << simulation.getStep() << ", Time: " << simulation.getTime() << ", R: " << bubble.getRadius() << ", V: " << bubble.getSpeed() @@ -324,7 +323,10 @@ int main(int argc, char* argv[]) { << ", dP: " << simulation.get_dP() / simulation.get_dt_currentStep() << ", E: " << simulation.getTotalEnergy() / simulation.getInitialTotalEnergy() - << ", Runtime: " << measureTime(program_start_time) + << ", Runtime: " + << measureTime( + std::chrono::duration_cast( + program_second_time - program_start_time)) << std::endl; // auto streamEndTime = high_resolution_clock::now(); @@ -372,20 +374,21 @@ int main(int argc, char* argv[]) { // streamEndTime = high_resolution_clock::now(); std::cout << std::setprecision(6) << std::fixed << std::showpoint; - - std::cout << "Step: " << simulation.getStep() - << ", Time: " << simulation.getTime() - << ", R: " << bubble.getRadius() << ", V: " << bubble.getSpeed() - << ", C/C0: " - << (simulation.getTotalEnergy() / bubble.getRadius()) / - simulation.getInitialCompactnes() - << ", dP: " - << simulation.get_dP() / simulation.get_dt_currentStep() - << ", E: " - << simulation.getTotalEnergy() / - simulation.getInitialTotalEnergy() - << ", Runtime: " << measureTime(program_start_time) - << std::endl; + program_second_time = high_resolution_clock::now(); + + std::cout + << "Step: " << simulation.getStep() + << ", Time: " << simulation.getTime() << ", R: " << bubble.getRadius() + << ", V: " << bubble.getSpeed() << ", C/C0: " + << (simulation.getTotalEnergy() / bubble.getRadius()) / + simulation.getInitialCompactnes() + << ", dP: " << simulation.get_dP() / simulation.get_dt_currentStep() + << ", E: " + << simulation.getTotalEnergy() / simulation.getInitialTotalEnergy() + << ", Runtime: " + << measureTime(std::chrono::duration_cast( + program_second_time - program_start_time)) + << std::endl; /*std::cout << "Time taken (steps): " << std::chrono::duration_cast( @@ -427,9 +430,14 @@ int main(int argc, char* argv[]) { programEndTime - program_start_time); appendSimulationInfoFile(infoStream, 0, (int)ms_int.count()); + program_second_time = high_resolution_clock::now(); std::cout << std::endl - << "Program run: " << measureTime(program_start_time) << std::endl; + << "Program run: " + << measureTime( + std::chrono::duration_cast( + program_second_time - program_start_time)) + << std::endl; } // std::cout << std::resetiosflags( std::cout.flags() ); \ No newline at end of file diff --git a/configs/config.json b/configs/config.json index 4f52691..59c1381 100644 --- a/configs/config.json +++ b/configs/config.json @@ -8,7 +8,7 @@ "dt": 0.01, "max_time": 50, "cyclic_boundary_on": true, - "cyclic_boundary_radius": 3 + "cyclic_boundary_radius": 50 }, "parameters": { "alpha": 12.24727746868043, From 7d854889983ce0fb3e3ded45f5c78fd81ebd9eb4 Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Mon, 17 Jul 2023 15:24:27 +0300 Subject: [PATCH 18/20] Working version. Bug fix --- bubbleSim/source.cpp | 41 ++--------------------------------------- 1 file changed, 2 insertions(+), 39 deletions(-) diff --git a/bubbleSim/source.cpp b/bubbleSim/source.cpp index 6396a1c..95edd42 100644 --- a/bubbleSim/source.cpp +++ b/bubbleSim/source.cpp @@ -77,29 +77,7 @@ void appendSimulationInfoFile(std::ofstream& infoStream, infoStream << t_postionDifference << "," << t_programRuntime << std::endl; } -std::string measureTime(std::chrono::milliseconds time_delta) { - int seconds = (int)(time_delta.count() / 1000) % 60; - int minutes = ((int)(time_delta.count() / (1000 * 60)) % 60); - int hours = ((int)(time_delta.count() / (1000 * 60 * 60)) % 24); - - std::string lapsed_time = ""; - if (hours < 10) { - lapsed_time += "0" + std::to_string(hours) + ":"; - } else { - lapsed_time += std::to_string(hours) + ":"; - } - if (minutes < 10) { - lapsed_time += "0" + std::to_string(minutes) + ":"; - } else { - lapsed_time += std::to_string(minutes) + ":"; - } - if (seconds < 10) { - lapsed_time += "0" + std::to_string(seconds); - } else { - lapsed_time += std::to_string(seconds); - } - return lapsed_time; -} + int main(int argc, char* argv[]) { if (argc != 3) { @@ -322,11 +300,7 @@ int main(int argc, char* argv[]) { simulation.getInitialCompactnes() << ", dP: " << simulation.get_dP() / simulation.get_dt_currentStep() << ", E: " - << simulation.getTotalEnergy() / simulation.getInitialTotalEnergy() - << ", Runtime: " - << measureTime( - std::chrono::duration_cast( - program_second_time - program_start_time)) + << simulation.getTotalEnergy() / simulation.getInitialTotalEnergy() << std::endl; // auto streamEndTime = high_resolution_clock::now(); @@ -385,9 +359,6 @@ int main(int argc, char* argv[]) { << ", dP: " << simulation.get_dP() / simulation.get_dt_currentStep() << ", E: " << simulation.getTotalEnergy() / simulation.getInitialTotalEnergy() - << ", Runtime: " - << measureTime(std::chrono::duration_cast( - program_second_time - program_start_time)) << std::endl; /*std::cout << "Time taken (steps): " @@ -430,14 +401,6 @@ int main(int argc, char* argv[]) { programEndTime - program_start_time); appendSimulationInfoFile(infoStream, 0, (int)ms_int.count()); - program_second_time = high_resolution_clock::now(); - - std::cout << std::endl - << "Program run: " - << measureTime( - std::chrono::duration_cast( - program_second_time - program_start_time)) - << std::endl; } // std::cout << std::resetiosflags( std::cout.flags() ); \ No newline at end of file From c3fb4b0e7a3d7f18a1eb639c9f85a0647dae5ad1 Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Mon, 17 Jul 2023 15:30:11 +0300 Subject: [PATCH 19/20] Config fix. --- configs/config.json | 2 +- configs/test.json | 6 +++--- configs/test_collision.json | 6 +++--- configs/test_oclgrind.json | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/configs/config.json b/configs/config.json index 59c1381..70255b7 100644 --- a/configs/config.json +++ b/configs/config.json @@ -4,8 +4,8 @@ }, "simulation": { "seed": 1, - "max_steps": 20000, "dt": 0.01, + "max_steps": 20000, "max_time": 50, "cyclic_boundary_on": true, "cyclic_boundary_radius": 50 diff --git a/configs/test.json b/configs/test.json index 82cc314..e52333d 100644 --- a/configs/test.json +++ b/configs/test.json @@ -1,6 +1,6 @@ { "kernel":{ - "name": "particle_step_linear" + "name": "particle_step_with_bubble" }, "simulation": { "seed": 1, @@ -20,7 +20,7 @@ "bubble": { "initial_radius": 77.5, "initial_speed": -0.6, - "is_true_vacuum": false, + "is_true_vacuum": true, "interaction_on": true }, "particles": { @@ -32,7 +32,7 @@ "N_true": 0 }, "collision": { - "collision_on": false, + "collision_on": true, "N_cells": 41, "cell_length": 0.5 }, diff --git a/configs/test_collision.json b/configs/test_collision.json index 1431166..8057f75 100644 --- a/configs/test_collision.json +++ b/configs/test_collision.json @@ -1,6 +1,6 @@ { "kernel":{ - "name": "particle_step_linear" + "name": "particle_step_with_bubble" }, "simulation": { "seed": 1, @@ -20,7 +20,7 @@ "bubble": { "initial_radius": 1, "initial_speed": 0, - "is_true_vacuum": false, + "is_true_vacuum": true, "interaction_on": true }, "particles": { @@ -32,7 +32,7 @@ "N_true": 0 }, "collision": { - "collision_on": false, + "collision_on": true, "N_cells": 27, "cell_length": 0.0741 }, diff --git a/configs/test_oclgrind.json b/configs/test_oclgrind.json index b0abb38..8d8f48c 100644 --- a/configs/test_oclgrind.json +++ b/configs/test_oclgrind.json @@ -1,6 +1,6 @@ { "kernel":{ - "name": "particle_step_linear" + "name": "particle_step_with_bubble" }, "simulation": { "seed": 1, @@ -15,12 +15,12 @@ "eta": 2.0, "upsilon": 0.0332678594173761, "coupling": 0.0, - "dV": 2.1980521562747397e-5 + "dV": 0.0010990260781373697 }, "bubble": { "initial_radius": 77.5, "initial_speed": -0.6, - "is_true_vacuum": false, + "is_true_vacuum": true, "interaction_on": true }, "particles": { @@ -32,7 +32,7 @@ "N_true": 0 }, "collision": { - "collision_on": false, + "collision_on": true, "N_cells": 41, "cell_length": 0.5 }, From 45007f3e462772d6bfad5ac339118c3d1dae74ee Mon Sep 17 00:00:00 2001 From: Martin Vasar Date: Mon, 17 Jul 2023 16:13:07 +0300 Subject: [PATCH 20/20] oclgrind config fix --- configs/test_oclgrind.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/test_oclgrind.json b/configs/test_oclgrind.json index 8d8f48c..1b422d7 100644 --- a/configs/test_oclgrind.json +++ b/configs/test_oclgrind.json @@ -26,7 +26,7 @@ "particles": { "mass_false": 0, "mass_true": 1, - "T_false": 0.0, + "T_false": 0.5, "T_true": 0.0, "N_false": 100, "N_true": 0