Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
dumux-repositories
dumux
Commits
b0697d7f
Commit
b0697d7f
authored
7 years ago
by
Simon Emmert
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix/fourierslaw' into 'cleanup/next'
[fix] copy mistake in fourierslaw See merge request
!612
parents
611f84a0
366bb02c
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dumux/discretization/cellcentered/tpfa/fourierslaw.hh
+6
-10
6 additions, 10 deletions
dumux/discretization/cellcentered/tpfa/fourierslaw.hh
with
6 additions
and
10 deletions
dumux/discretization/cellcentered/tpfa/fourierslaw.hh
+
6
−
10
View file @
b0697d7f
...
@@ -75,7 +75,6 @@ class FouriersLawImplementation<TypeTag, DiscretizationMethods::CCTpfa>
...
@@ -75,7 +75,6 @@ class FouriersLawImplementation<TypeTag, DiscretizationMethods::CCTpfa>
//! This interface has to be met by any diffusion-related cache filler class
//! This interface has to be met by any diffusion-related cache filler class
template
<
class
FluxVariablesCacheFiller
>
template
<
class
FluxVariablesCacheFiller
>
static
void
fill
(
FluxVariablesCache
&
scvfFluxVarsCache
,
static
void
fill
(
FluxVariablesCache
&
scvfFluxVarsCache
,
unsigned
int
phaseIdx
,
unsigned
int
compIdx
,
const
Problem
&
problem
,
const
Problem
&
problem
,
const
Element
&
element
,
const
Element
&
element
,
const
FVElementGeometry
&
fvGeometry
,
const
FVElementGeometry
&
fvGeometry
,
...
@@ -83,7 +82,7 @@ class FouriersLawImplementation<TypeTag, DiscretizationMethods::CCTpfa>
...
@@ -83,7 +82,7 @@ class FouriersLawImplementation<TypeTag, DiscretizationMethods::CCTpfa>
const
SubControlVolumeFace
&
scvf
,
const
SubControlVolumeFace
&
scvf
,
const
FluxVariablesCacheFiller
&
fluxVarsCacheFiller
)
const
FluxVariablesCacheFiller
&
fluxVarsCacheFiller
)
{
{
scvfFluxVarsCache
.
updateHea
d
Conduction
(
problem
,
element
,
fvGeometry
,
elemVolVars
,
scvf
);
scvfFluxVarsCache
.
updateHea
t
Conduction
(
problem
,
element
,
fvGeometry
,
elemVolVars
,
scvf
);
}
}
};
};
...
@@ -93,13 +92,11 @@ class FouriersLawImplementation<TypeTag, DiscretizationMethods::CCTpfa>
...
@@ -93,13 +92,11 @@ class FouriersLawImplementation<TypeTag, DiscretizationMethods::CCTpfa>
public:
public:
using
Filler
=
TpfaFouriersLawCacheFiller
;
using
Filler
=
TpfaFouriersLawCacheFiller
;
void
updateDiffusion
(
const
Problem
&
problem
,
void
updateHeatConduction
(
const
Problem
&
problem
,
const
Element
&
element
,
const
Element
&
element
,
const
FVElementGeometry
&
fvGeometry
,
const
FVElementGeometry
&
fvGeometry
,
const
ElementVolumeVariables
&
elemVolVars
,
const
ElementVolumeVariables
&
elemVolVars
,
const
SubControlVolumeFace
&
scvf
,
const
SubControlVolumeFace
&
scvf
)
const
unsigned
int
phaseIdx
,
const
unsigned
int
compIdx
)
{
{
tij_
=
calculateTransmissibility
(
problem
,
element
,
fvGeometry
,
elemVolVars
,
scvf
);
tij_
=
calculateTransmissibility
(
problem
,
element
,
fvGeometry
,
elemVolVars
,
scvf
);
}
}
...
@@ -205,7 +202,6 @@ private:
...
@@ -205,7 +202,6 @@ private:
{
{
const
auto
outsideScvIdx
=
scvf
.
outsideScvIdx
(
i
);
const
auto
outsideScvIdx
=
scvf
.
outsideScvIdx
(
i
);
const
auto
&
outsideVolVars
=
elemVolVars
[
outsideScvIdx
];
const
auto
&
outsideVolVars
=
elemVolVars
[
outsideScvIdx
];
const
auto
outsideElement
=
fvGeometry
.
fvGridGeometry
().
element
(
outsideScvIdx
);
const
auto
&
flippedScvf
=
fvGeometry
.
flipScvf
(
scvf
.
index
(),
i
);
const
auto
&
flippedScvf
=
fvGeometry
.
flipScvf
(
scvf
.
index
(),
i
);
const
auto
&
outsideFluxVarsCache
=
elemFluxVarsCache
[
flippedScvf
];
const
auto
&
outsideFluxVarsCache
=
elemFluxVarsCache
[
flippedScvf
];
...
...
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