From a34ad90241062d0cc382d0bd3f46a9c20ed80320 Mon Sep 17 00:00:00 2001 From: UCaromel Date: Thu, 19 Sep 2024 15:16:43 +0200 Subject: [PATCH] field initializer in core --- .../data/field/initializers/field_user_initializer.hpp | 0 src/core/data/vecfield/vecfield_initializer.hpp | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/{amr => core}/data/field/initializers/field_user_initializer.hpp (100%) diff --git a/src/amr/data/field/initializers/field_user_initializer.hpp b/src/core/data/field/initializers/field_user_initializer.hpp similarity index 100% rename from src/amr/data/field/initializers/field_user_initializer.hpp rename to src/core/data/field/initializers/field_user_initializer.hpp diff --git a/src/core/data/vecfield/vecfield_initializer.hpp b/src/core/data/vecfield/vecfield_initializer.hpp index b2a9c6234..edeb83bc6 100644 --- a/src/core/data/vecfield/vecfield_initializer.hpp +++ b/src/core/data/vecfield/vecfield_initializer.hpp @@ -4,7 +4,7 @@ #include "core/data/grid/gridlayoutdefs.hpp" #include "core/data/vecfield/vecfield_component.hpp" #include "initializer/data_provider.hpp" -#include "amr/data/field/initializers/field_user_initializer.hpp" +#include "core/data/field/initializers/field_user_initializer.hpp" #include @@ -31,9 +31,9 @@ namespace core { static_assert(GridLayout::dimension == VecField::dimension, "dimension mismatch between vecfield and gridlayout"); - + FieldUserFunctionInitializer::initialize(v.getComponent(Component::X), layout, x_); - FieldUserFunctionInitializer::initialize(v.getComponent(Component::Y), layout, y_); + FieldUserFunctionInitializer::initialize(v.getComponent(Component::Y), layout, y_); FieldUserFunctionInitializer::initialize(v.getComponent(Component::Z), layout, z_); }