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
4f5b0266
Commit
4f5b0266
authored
Jan 29, 2013
by
Dirk Ekelschot
Browse files
Added Hex to GetTimeStep
parent
c53a2cc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
solvers/CompressibleFlowSolver/EquationSystems/CompressibleFlowSystem.cpp
View file @
4f5b0266
...
...
@@ -36,6 +36,7 @@
#include
<CompressibleFlowSolver/EquationSystems/CompressibleFlowSystem.h>
#include
<LocalRegions/TriExp.h>
#include
<LocalRegions/QuadExp.h>
#include
<LocalRegions/HexExp.h>
#include
<MultiRegions/ExpList.h>
#include
<MultiRegions/AssemblyMap/AssemblyMapDG.h>
#include
<solvers/ADRSolver/EquationSystems/UnsteadyDiffusion.cpp>
...
...
@@ -948,6 +949,12 @@ namespace Nektar
{
minLength
=
sqrt
(
Area
);
}
else
if
(
boost
::
dynamic_pointer_cast
<
LocalRegions
::
HexExp
>
(
m_fields
[
0
]
->
GetExp
(
n
)))
{
minLength
=
sqrt
(
Area
);
}
tstep
[
n
]
=
m_cflSafetyFactor
*
alpha
*
minLength
/
(
stdVelocity
[
n
]
*
cLambda
...
...
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