Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor 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
Development
openfoam
Commits
5fda3588
Commit
5fda3588
authored
12 years ago
by
Henry
Browse files
Options
Downloads
Patches
Plain Diff
fvcSup: Change field argument to const
parent
9d27f905
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/finiteVolume/finiteVolume/fvc/fvcSup.C
+8
-8
8 additions, 8 deletions
src/finiteVolume/finiteVolume/fvc/fvcSup.C
src/finiteVolume/finiteVolume/fvc/fvcSup.H
+8
-8
8 additions, 8 deletions
src/finiteVolume/finiteVolume/fvc/fvcSup.H
with
16 additions
and
16 deletions
src/finiteVolume/finiteVolume/fvc/fvcSup.C
+
8
−
8
View file @
5fda3588
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011
-2013
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -43,7 +43,7 @@ tmp<GeometricField<Type, fvPatchField, volMesh> >
Su
(
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
su
,
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
)
{
return
su
;
...
...
@@ -54,7 +54,7 @@ tmp<GeometricField<Type, fvPatchField, volMesh> >
Su
(
const
tmp
<
GeometricField
<
Type
,
fvPatchField
,
volMesh
>
>&
tsu
,
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
)
{
return
tsu
;
...
...
@@ -66,7 +66,7 @@ tmp<GeometricField<Type, fvPatchField, volMesh> >
Sp
(
const
volScalarField
&
sp
,
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
)
{
return
sp
*
vf
;
...
...
@@ -77,7 +77,7 @@ tmp<GeometricField<Type, fvPatchField, volMesh> >
Sp
(
const
tmp
<
volScalarField
>&
tsp
,
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
)
{
return
tsp
*
vf
;
...
...
@@ -89,7 +89,7 @@ tmp<GeometricField<Type, fvPatchField, volMesh> >
Sp
(
const
dimensionedScalar
&
sp
,
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
)
{
return
sp
*
vf
;
...
...
@@ -101,7 +101,7 @@ tmp<GeometricField<Type, fvPatchField, volMesh> >
SuSp
(
const
volScalarField
&
sp
,
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
)
{
return
sp
*
vf
;
...
...
@@ -112,7 +112,7 @@ tmp<GeometricField<Type, fvPatchField, volMesh> >
SuSp
(
const
tmp
<
volScalarField
>&
tsp
,
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
vf
)
{
return
tsp
*
vf
;
...
...
This diff is collapsed.
Click to expand it.
src/finiteVolume/finiteVolume/fvc/fvcSup.H
+
8
−
8
View file @
5fda3588
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011
-2013
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -55,14 +55,14 @@ namespace fvc
tmp
<
GeometricField
<
Type
,
fvPatchField
,
volMesh
>
>
Su
(
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
,
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
);
template
<
class
Type
>
tmp
<
GeometricField
<
Type
,
fvPatchField
,
volMesh
>
>
Su
(
const
tmp
<
GeometricField
<
Type
,
fvPatchField
,
volMesh
>
>&
,
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
);
...
...
@@ -72,14 +72,14 @@ namespace fvc
tmp
<
GeometricField
<
Type
,
fvPatchField
,
volMesh
>
>
Sp
(
const
volScalarField
&
,
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
);
template
<
class
Type
>
tmp
<
GeometricField
<
Type
,
fvPatchField
,
volMesh
>
>
Sp
(
const
tmp
<
volScalarField
>&
,
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
);
...
...
@@ -87,7 +87,7 @@ namespace fvc
tmp
<
GeometricField
<
Type
,
fvPatchField
,
volMesh
>
>
Sp
(
const
dimensionedScalar
&
,
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
);
...
...
@@ -97,14 +97,14 @@ namespace fvc
tmp
<
GeometricField
<
Type
,
fvPatchField
,
volMesh
>
>
SuSp
(
const
volScalarField
&
,
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
);
template
<
class
Type
>
tmp
<
GeometricField
<
Type
,
fvPatchField
,
volMesh
>
>
SuSp
(
const
tmp
<
volScalarField
>&
,
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
const
GeometricField
<
Type
,
fvPatchField
,
volMesh
>&
);
}
...
...
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