Skip to content
Snippets Groups Projects
Commit 3abf02bb authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'feature/deprecate-scv-scvf-geometry' into 'master'

[staggered][disc] Deprecate scv/scvf.geometry/corner

See merge request !3470
parents c63cac2d 99bc4b9e
No related branches found
No related tags found
1 merge request!3470[staggered][disc] Deprecate scv/scvf.geometry/corner
Pipeline #29073 passed
+5
......@@ -219,11 +219,20 @@ public:
bool hasBoundaryScvf() const
{ return hasBoundaryScvf_; }
typename SubControlVolumeFace::Traits::Geometry geometry (const SubControlVolumeFace& scvf) const
{
assert(isBound());
return scvf.geometry();
}
// suppress warnings due to current implementation
// these interfaces should be used!
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
//! Create the geometry of a given sub control volume
typename SubControlVolume::Traits::Geometry geometry(const SubControlVolume& scv) const
{ return scv.geometry(); }
//! Create the geometry of a given sub control volume face
typename SubControlVolumeFace::Traits::Geometry geometry(const SubControlVolumeFace& scvf) const
{ return scvf.geometry(); }
#pragma GCC diagnostic pop
private:
//! Binding of an element preparing the geometries only inside the element
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment