Skip to content

Commit

Permalink
trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnonaka committed Nov 25, 2024
1 parent 62cac5e commit f0fd9bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ void GMRESPOISSONT<MF>::apply (MF& lhs, MF& rhs) const
{
// apply matrix to rhs for output lhs
rhs.FillBoundary(m_geom.periodicity());

const GpuArray<Real, AMREX_SPACEDIM> dx = m_geom.CellSizeArray();

for ( MFIter mfi(rhs,TilingIfNotGPU()); mfi.isValid(); ++mfi ) {

const Box& bx = mfi.tilebox();

const Array4<const Real> & rhs_p = rhs.array(mfi);
Expand All @@ -167,7 +167,7 @@ void GMRESPOISSONT<MF>::apply (MF& lhs, MF& rhs) const

}


}

template <typename MF>
Expand Down
2 changes: 1 addition & 1 deletion ExampleCodes/LinearSolvers/GMRES/Poisson/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ int main (int argc, char* argv[])
gmres_poisson.solve(phi, rhs, 1.e-12, 0.);

WriteSingleLevelPlotfile("phi", phi, {"phi"}, geom, 0., 0);

}
amrex::Finalize();
return 0;
Expand Down

0 comments on commit f0fd9bd

Please sign in to comment.