Commit 2df8799e authored by Timo Koch's avatar Timo Koch
Browse files

[test][1d3d] Use tags to get rid of deprecation warning

parent d3277ec9
......@@ -271,7 +271,7 @@ public:
const Scalar radius = this->couplingManager().radius(source.id());
const Scalar beta = 2*M_PI/(2*M_PI + std::log(radius));
Scalar sourceValue = beta*(pressure3D - pressure1D);
if constexpr(CouplingManager::couplingMode == EmbeddedCouplingMode::kernel)
if constexpr(CouplingManager::couplingMode == Embedded1d3dCouplingMode::kernel)
sourceValue *= this->couplingManager().fluxScalingFactor(source.id());
source = sourceValue*source.quadratureWeight()*source.integrationElement();
......
......@@ -334,7 +334,7 @@ public:
{
NumEqVector source(0.0);
if constexpr(CouplingManager::couplingMode == EmbeddedCouplingMode::kernel)
if constexpr(CouplingManager::couplingMode == Embedded1d3dCouplingMode::kernel)
{
const auto eIdx = this->gridGeometry().elementMapper().index(element);
const auto& sourceIds = this->couplingManager().bulkSourceIds(eIdx, scv.indexInElement());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment