Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
399e160e
Commit
399e160e
authored
Dec 21, 2010
by
Mark Olesen
Browse files
COMP: avoid ambiguous construct from tmp
parent
ee9d95f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/finiteVolume/interpolation/surfaceInterpolation/schemes/limiterBlended/limiterBlended.H
View file @
399e160e
...
@@ -138,8 +138,10 @@ public:
...
@@ -138,8 +138,10 @@ public:
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
)
const
)
const
{
{
surfaceScalarField
blendingFactor
=
surfaceScalarField
blendingFactor
tLimitedScheme_
().
limiter
(
vf
);
(
tLimitedScheme_
().
limiter
(
vf
)
);
return
return
blendingFactor
*
tScheme1_
().
weights
(
vf
)
blendingFactor
*
tScheme1_
().
weights
(
vf
)
...
@@ -151,8 +153,10 @@ public:
...
@@ -151,8 +153,10 @@ public:
tmp
<
GeometricField
<
Type
,
fvsPatchField
,
surfaceMesh
>
>
tmp
<
GeometricField
<
Type
,
fvsPatchField
,
surfaceMesh
>
>
interpolate
(
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
)
const
interpolate
(
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
)
const
{
{
surfaceScalarField
blendingFactor
=
surfaceScalarField
blendingFactor
tLimitedScheme_
().
limiter
(
vf
);
(
tLimitedScheme_
().
limiter
(
vf
)
);
return
return
blendingFactor
*
tScheme1_
().
interpolate
(
vf
)
blendingFactor
*
tScheme1_
().
interpolate
(
vf
)
...
@@ -175,8 +179,10 @@ public:
...
@@ -175,8 +179,10 @@ public:
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
)
const
)
const
{
{
surfaceScalarField
blendingFactor
=
surfaceScalarField
blendingFactor
tLimitedScheme_
().
limiter
(
vf
);
(
tLimitedScheme_
().
limiter
(
vf
)
);
if
(
tScheme1_
().
corrected
())
if
(
tScheme1_
().
corrected
())
{
{
...
...
src/meshTools/searchableSurface/searchableBox.C
View file @
399e160e
...
@@ -232,7 +232,7 @@ Foam::pointField Foam::searchableBox::coordinates() const
...
@@ -232,7 +232,7 @@ Foam::pointField Foam::searchableBox::coordinates() const
{
{
pointField
ctrs
(
6
);
pointField
ctrs
(
6
);
const
pointField
pts
=
treeBoundBox
::
points
();
const
pointField
pts
(
treeBoundBox
::
points
()
)
;
const
faceList
&
fcs
=
treeBoundBox
::
faces
;
const
faceList
&
fcs
=
treeBoundBox
::
faces
;
forAll
(
fcs
,
i
)
forAll
(
fcs
,
i
)
...
...
src/sampling/probes/patchProbesTemplates.C
View file @
399e160e
...
@@ -36,7 +36,7 @@ void Foam::patchProbes::sampleAndWrite
...
@@ -36,7 +36,7 @@ void Foam::patchProbes::sampleAndWrite
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vField
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vField
)
)
{
{
Field
<
Type
>
values
=
sample
(
vField
);
Field
<
Type
>
values
(
sample
(
vField
)
)
;
if
(
Pstream
::
master
())
if
(
Pstream
::
master
())
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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