Skip to content

Commit

Permalink
field initializer in core
Browse files Browse the repository at this point in the history
  • Loading branch information
UCaromel committed Sep 19, 2024
1 parent c492585 commit a34ad90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/data/vecfield/vecfield_initializer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <array>

Expand All @@ -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_);
}

Expand Down

0 comments on commit a34ad90

Please sign in to comment.