Skip to content
Snippets Groups Projects
Commit 8ac50c85 authored by Philippe Hoch's avatar Philippe Hoch
Browse files

Bug Fixed in const template in limitor expression

parent e714f378
No related branches found
No related tags found
No related merge requests found
...@@ -149,7 +149,7 @@ class CellByCellLimitation ...@@ -149,7 +149,7 @@ class CellByCellLimitation
const DiscreteFunctionP0<const double>& epsilon, const DiscreteFunctionP0<const double>& epsilon,
// const DiscreteFunctionDPk<Dimension, double>& // const DiscreteFunctionDPk<Dimension, double>&
auto epsilon_R(const CellId cell_id, const Rd& x), auto epsilon_R(const CellId cell_id, const Rd& x),
CellValue<const double>& lambda_epsilon) // const CellValue<double>& lambda_epsilon) // const
// DiscreteFunctionDPk<Dimension, double>& epsilon_R) const // DiscreteFunctionDPk<Dimension, double>& epsilon_R) const
{ {
const auto& cell_to_face_matrix = mesh.connectivity().cellToFaceMatrix(); const auto& cell_to_face_matrix = mesh.connectivity().cellToFaceMatrix();
...@@ -171,7 +171,7 @@ class CellByCellLimitation ...@@ -171,7 +171,7 @@ class CellByCellLimitation
// QuadratureManager::instance().getLineFormula(GaussLegendreQuadratureDescriptor(m_quadrature_degree)); // QuadratureManager::instance().getLineFormula(GaussLegendreQuadratureDescriptor(m_quadrature_degree));
parallel_for( parallel_for(
mesh.numberOfCells(), PUGS_LAMBDA(const CellId cell_id) { mesh.numberOfCells(), PUGS_LAMBDA(CellId cell_id) {
const double epsilonj = epsilon[cell_id]; const double epsilonj = epsilon[cell_id];
double epsilon_min = epsilonj; double epsilon_min = epsilonj;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment