Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/Residual/residual.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class Residual
protected:
/* ------------------- */
/* Constructor members */
const PolarGrid grid_;
const LevelCacheType level_cache_;
const PolarGrid& grid_;
const LevelCacheType& level_cache_;
const bool DirBC_Interior_;
};
} // namespace gmgpolar
7 changes: 3 additions & 4 deletions include/Smoother/smoother.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,13 @@ class Smoother
, DirBC_Interior_(DirBC_Interior)
{
}
KOKKOS_DEFAULTED_FUNCTION Smoother(const Smoother&) = default;
virtual ~Smoother() = default;
virtual ~Smoother() = default;

virtual void smoothing(Vector<double> x, ConstVector<double> rhs, Vector<double> temp) = 0;

protected:
const PolarGrid grid_;
const LevelCacheType level_cache_;
const PolarGrid& grid_;
const LevelCacheType& level_cache_;
const bool DirBC_Interior_;
};
} // namespace gmgpolar
Loading