Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pugs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
code
pugs
Commits
8ac50c85
Commit
8ac50c85
authored
3 months ago
by
Philippe Hoch
Browse files
Options
Downloads
Patches
Plain Diff
Bug Fixed in const template in limitor expression
parent
e714f378
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/scheme/CellbyCellLimitation.hpp
+2
-2
2 additions, 2 deletions
src/scheme/CellbyCellLimitation.hpp
with
2 additions
and
2 deletions
src/scheme/CellbyCellLimitation.hpp
+
2
−
2
View file @
8ac50c85
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment