9 template <
typename T,
unsigned Dim,
class Mesh,
class Centering,
class... ViewArgs>
29 Kokkos::deep_copy(copy.getView(), this->getView());
40 for (
unsigned int face = 0; face < 2 *
Dim; ++face) {
53 for (
unsigned int face = 0; face < 2 *
Dim; ++face) {
59 template <
class T,
unsigned Dim,
class Mesh,
class Centering,
class... ViewArgs>
62 return this->sum() * dV;
67 return getVolumeIntegral() / mesh_m->getMeshVolume();
72 BareField_t::updateLayout(l, nghost);
Implementations for FFT constructor/destructor and transforms.
void initialize(int &argc, char *argv[], MPI_Comm comm)
void initialize(Mesh_t &, Layout_t &, int nghost=1)
void updateLayout(Layout_t &, int nghost=1)
T getVolumeAverage() const
T getVolumeIntegral() const