Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nektar
Nektar
Commits
aa9bcb1d
Commit
aa9bcb1d
authored
Sep 08, 2016
by
Douglas Serson
Browse files
Add missing const
parent
89526650
Changes
2
Hide whitespace changes
Inline
Side-by-side
solvers/IncNavierStokesSolver/EquationSystems/VCSMapping.cpp
View file @
aa9bcb1d
...
...
@@ -739,8 +739,8 @@ namespace Nektar
* Explicit terms of the mapping
*/
void
VCSMapping
::
ApplyIncNSMappingForcing
(
const
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
inarray
,
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
outarray
)
const
Array
<
OneD
,
const
Array
<
OneD
,
NekDouble
>
>
&
inarray
,
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
outarray
)
{
int
physTot
=
m_fields
[
0
]
->
GetTotPoints
();
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
vel
(
m_nConvectiveFields
);
...
...
@@ -822,7 +822,7 @@ namespace Nektar
}
void
VCSMapping
::
MappingAdvectionCorrection
(
const
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
velPhys
,
const
Array
<
OneD
,
const
Array
<
OneD
,
NekDouble
>
>
&
velPhys
,
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
outarray
)
{
int
physTot
=
m_fields
[
0
]
->
GetTotPoints
();
...
...
@@ -847,8 +847,8 @@ namespace Nektar
}
void
VCSMapping
::
MappingAccelerationCorrection
(
const
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
vel
,
const
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
velPhys
,
const
Array
<
OneD
,
const
Array
<
OneD
,
NekDouble
>
>
&
vel
,
const
Array
<
OneD
,
const
Array
<
OneD
,
NekDouble
>
>
&
velPhys
,
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
outarray
)
{
int
physTot
=
m_fields
[
0
]
->
GetTotPoints
();
...
...
@@ -953,7 +953,7 @@ namespace Nektar
}
void
VCSMapping
::
MappingViscousCorrection
(
const
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
velPhys
,
const
Array
<
OneD
,
const
Array
<
OneD
,
NekDouble
>
>
&
velPhys
,
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
outarray
)
{
// L(U) - 1.0*d^2(u^i)/dx^jdx^j
...
...
solvers/IncNavierStokesSolver/EquationSystems/VCSMapping.h
View file @
aa9bcb1d
...
...
@@ -64,7 +64,7 @@ namespace Nektar
//
void
ApplyIncNSMappingForcing
(
const
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
inarray
,
const
Array
<
OneD
,
const
Array
<
OneD
,
NekDouble
>
>
&
inarray
,
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
outarray
);
virtual
~
VCSMapping
();
...
...
@@ -124,7 +124,7 @@ namespace Nektar
// Correction needed for convective terms = N(u) - ( -(u \nabla) u)
// velPhys is the velocity field (transformed for physical space)
void
MappingAdvectionCorrection
(
const
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
velPhys
,
const
Array
<
OneD
,
const
Array
<
OneD
,
NekDouble
>
>
&
velPhys
,
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
outarray
);
// Correction needed for time-derivative terms
...
...
@@ -132,8 +132,8 @@ namespace Nektar
// vel is the velocity field (can be in wavespace)
// velPhys is the velocity field (transformed for physical space)
void
MappingAccelerationCorrection
(
const
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
vel
,
const
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
velPhys
,
const
Array
<
OneD
,
const
Array
<
OneD
,
NekDouble
>
>
&
vel
,
const
Array
<
OneD
,
const
Array
<
OneD
,
NekDouble
>
>
&
velPhys
,
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
outarray
);
// Correction needed for pressure terms
...
...
@@ -147,7 +147,7 @@ namespace Nektar
// vel is the velocity field (can be in wavespace)
// velPhys is the velocity field (transformed for physical space)
void
MappingViscousCorrection
(
const
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
velPhys
,
const
Array
<
OneD
,
const
Array
<
OneD
,
NekDouble
>
>
&
velPhys
,
Array
<
OneD
,
Array
<
OneD
,
NekDouble
>
>
&
outarray
);
};
...
...
Douglas Serson
@d.serson
mentioned in commit
9550af52
·
Sep 08, 2016
mentioned in commit
9550af52
mentioned in commit 9550af5292cfba5487de02dde583876ae31c0890
Toggle commit list
Write
Preview
Supports
Markdown
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