aboutsummaryrefslogtreecommitdiff
path: root/Source/Initialization/InjectorMomentum.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Initialization/InjectorMomentum.H')
-rw-r--r--Source/Initialization/InjectorMomentum.H4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Initialization/InjectorMomentum.H b/Source/Initialization/InjectorMomentum.H
index bb5a70784..1d407508c 100644
--- a/Source/Initialization/InjectorMomentum.H
+++ b/Source/Initialization/InjectorMomentum.H
@@ -223,7 +223,7 @@ struct InjectorMomentumParser
return amrex::XDim3{m_ux_parser(x,y,z),m_uy_parser(x,y,z),m_uz_parser(x,y,z)};
}
- GpuParser m_ux_parser, m_uy_parser, m_uz_parser;
+ GpuParser<3> m_ux_parser, m_uy_parser, m_uz_parser;
};
// Base struct for momentum injector.
@@ -301,8 +301,6 @@ struct InjectorMomentum
~InjectorMomentum ();
- std::size_t sharedMemoryNeeded () const noexcept;
-
// call getMomentum from the object stored in the union
// (the union is called Object, and the instance is called object).
AMREX_GPU_HOST_DEVICE