Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
d909df40
Commit
d909df40
authored
Mar 19, 2018
by
Thomas Fetzer
Browse files
[misc] Fix "coeffiecient" typo
parent
a28a4dd0
Changes
6
Hide whitespace changes
Inline
Side-by-side
dumux/freeflow/navierstokesnc/volumevariables.hh
View file @
d909df40
...
...
@@ -192,7 +192,7 @@ public:
}
/*!
* \brief Returns the diffusion coeffi
e
cient
* \brief Returns the diffusion coefficient
*/
Scalar
diffusionCoefficient
(
int
pIdx
,
int
compIdx
)
const
{
...
...
@@ -202,7 +202,7 @@ public:
else
if
(
compIdx
>
pIdx
)
return
diffCoefficient_
[
pIdx
][
compIdx
-
1
];
else
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coeffi
e
cient called for phaseIdx = compIdx"
);
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coefficient called for phaseIdx = compIdx"
);
}
protected:
...
...
@@ -221,7 +221,7 @@ protected:
else
if
(
compIdx
>
pIdx
)
diffCoefficient_
[
pIdx
][
compIdx
-
1
]
=
std
::
move
(
d
);
else
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coeffi
e
cient for phaseIdx = compIdx doesn't exist"
);
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coefficient for phaseIdx = compIdx doesn't exist"
);
}
std
::
array
<
std
::
array
<
Scalar
,
numComponents
-
1
>
,
numPhases
>
diffCoefficient_
;
...
...
dumux/porousmediumflow/2p2c/volumevariables.hh
View file @
d909df40
...
...
@@ -558,7 +558,7 @@ public:
Scalar
diffusionCoefficient
(
int
phaseIdx
,
int
compIdx
)
const
{
if
(
phaseIdx
==
compIdx
)
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coeffi
e
cient called for phaseIdx = compIdx"
);
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coefficient called for phaseIdx = compIdx"
);
else
return
diffCoeff_
[
phaseIdx
];
}
...
...
dumux/porousmediumflow/2pnc/volumevariables.hh
View file @
d909df40
...
...
@@ -472,7 +472,7 @@ public:
else
if
(
compIdx
>
phaseIdx
)
return
diffCoefficient_
[
phaseIdx
][
compIdx
-
1
];
else
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coeffi
e
cient called for phaseIdx = compIdx"
);
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coefficient called for phaseIdx = compIdx"
);
}
/*!
...
...
@@ -516,7 +516,7 @@ private:
else
if
(
compIdx
>
phaseIdx
)
diffCoefficient_
[
phaseIdx
][
compIdx
-
1
]
=
std
::
move
(
d
);
else
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coeffi
e
cient for phaseIdx = compIdx doesn't exist"
);
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coefficient for phaseIdx = compIdx doesn't exist"
);
}
std
::
array
<
std
::
array
<
Scalar
,
numComponents
-
1
>
,
numPhases
>
diffCoefficient_
;
...
...
dumux/porousmediumflow/3p3c/volumevariables.hh
View file @
d909df40
...
...
@@ -666,7 +666,7 @@ public:
{
return
permeability_
;
}
/*!
* \brief Returns the diffusion coeffi
e
cient
* \brief Returns the diffusion coefficient
*/
Scalar
diffusionCoefficient
(
int
phaseIdx
,
int
compIdx
)
const
{
...
...
@@ -675,7 +675,7 @@ public:
else
if
(
compIdx
>
phaseIdx
)
return
diffCoefficient_
[
phaseIdx
][
compIdx
-
1
];
else
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coeffi
e
cient called for phaseIdx = compIdx"
);
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coefficient called for phaseIdx = compIdx"
);
}
protected:
...
...
@@ -701,7 +701,7 @@ private:
else
if
(
phaseIdx
==
nPhaseIdx
)
diffCoefficient_
[
phaseIdx
][
compIdx
-
1
]
=
0
;
else
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coeffi
e
cient for phaseIdx = compIdx doesn't exist"
);
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coefficient for phaseIdx = compIdx doesn't exist"
);
}
std
::
array
<
std
::
array
<
Scalar
,
numComponents
-
1
>
,
numPhases
>
diffCoefficient_
;
...
...
dumux/porousmediumflow/3pwateroil/volumevariables.hh
View file @
d909df40
...
...
@@ -790,7 +790,7 @@ public:
}
/*!
* \brief Returns the diffusion coeffi
e
cient
* \brief Returns the diffusion coefficient
*/
Scalar
diffusionCoefficient
(
int
phaseIdx
,
int
compIdx
)
const
{
...
...
dumux/porousmediumflow/mpnc/volumevariables.hh
View file @
d909df40
...
...
@@ -451,7 +451,7 @@ public:
else
if
(
compIdx
>
phaseIdx
)
return
diffCoefficient_
[
phaseIdx
][
compIdx
-
1
];
else
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coeffi
e
cient called for phaseIdx = compIdx"
);
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coefficient called for phaseIdx = compIdx"
);
}
/*!
...
...
@@ -505,7 +505,7 @@ protected:
else
if
(
compIdx
>
phaseIdx
)
diffCoefficient_
[
phaseIdx
][
compIdx
-
1
]
=
std
::
move
(
d
);
else
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coeffi
e
cient for phaseIdx = compIdx doesn't exist"
);
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Diffusion coefficient for phaseIdx = compIdx doesn't exist"
);
}
std
::
array
<
std
::
array
<
Scalar
,
numComponents
-
1
>
,
numPhases
>
diffCoefficient_
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment