Skip to content

Commit

Permalink
Skeleton: Limiter: update interface
Browse files Browse the repository at this point in the history
  • Loading branch information
tamiko committed Jan 28, 2025
1 parent e293a52 commit 60691fc
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions source/skeleton/limiter.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,17 @@ namespace ryujin
return Bounds{};
}

/**
* This function applies a relaxation to a given a (strict) bound @p
* bounds using a non dimensionalized measure @p hd (that should
* scale as $h^d$, where $h$ is the local mesh size).
*/
Bounds fully_relax_bounds(const Bounds & /*bounds*/,
const Number & /*hd*/) const
{
return Bounds{};
}

//@}
/**
* @name Stencil-based computation of bounds
Expand Down Expand Up @@ -155,9 +166,9 @@ namespace ryujin
/**
* Return the computed bounds (with relaxation applied).
*/
Bounds bounds(const Number /*hd_i*/) const
Bounds bounds(const Number hd_i) const
{
auto relaxed_bounds = bounds_;
auto relaxed_bounds = fully_relax_bounds(bounds_, hd_i);

return relaxed_bounds;
}
Expand Down

0 comments on commit 60691fc

Please sign in to comment.