Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dg
dg
Commits
1daddf2f
Commit
1daddf2f
authored
Nov 10, 2016
by
Valentin Vallaeys
Browse files
less include in headers
parent
4f03a993
Pipeline
#1317
failed with stage
in 28 minutes and 29 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
modules/shallowWater/dgConservationLawShallowWater2d.h
View file @
1daddf2f
...
...
@@ -4,7 +4,6 @@
#include
"functionGeneric.h"
#include
"function.h"
#include
"dgDofContainer.h"
#include
"slimMovingBathWettingDrying.h"
void
roeSolver
(
double
uL
,
double
uR
,
double
vL
,
double
vR
,
double
HL
,
double
HR
,
double
&
uStar
,
double
&
vStar
,
double
&
HStar
,
double
&
AStar
,
double
g
,
...
...
@@ -95,8 +94,7 @@ class dgConservationLawShallowWater2d : public dgConservationLawFunction {
/**set the function to evaluate the wind induced surface stress term \f{eqnarray*}\frac{du}{dt} &=& s(0)\\ \frac{dv}{dt} &=& s(1)\f} */
inline
void
setWindStress
(
const
functor
*
windStress
)
{
_windStress
=
windStress
;}
/**set the function to evaluate the bathymetry h (H = h+eta) */
inline
void
setBathymetry
(
functor
*
bathymetry
)
{
_bathymetry
=
bathymetry
;
}
inline
void
setBathymetryConst
(
const
functor
*
bathymetry
)
{
_bathymetry
=
bathymetry
;
}
inline
void
setBathymetry
(
const
functor
*
bathymetry
)
{
_bathymetry
=
bathymetry
;
}
/**set the function to evaluate the gradient of the bathymetry: grad(h) */
inline
void
setBathymetryGradient
(
functor
*
bathymetryGradient
)
{
_bathymetryGradient
=
bathymetryGradient
;}
/**set the function to evaluate the diffusion term */
...
...
modules/shallowWater/dgConservationLawShallowWaterTracer2d.cpp
View file @
1daddf2f
...
...
@@ -8,6 +8,7 @@
#include
<string.h>
#include
<algorithm>
#include
"functorMember.h"
#include
"slimMovingBathWettingDrying.h"
//*************************************
...
...
modules/slim3d/slim3dEquations.cpp
View file @
1daddf2f
#include
"dgConservationLawShallowWater2d.h"
#include
"slim3dEquations.h"
#include
"slim3dSolver.h"
#include
"functionGeneric.h"
...
...
@@ -964,7 +965,7 @@ void slim3dSolverEquations::initialize()
sw2DEq
->
setLaxFriedrichs
(
true
);
sw2DEq
->
setFrom3D
(
true
);
sw2DEq
->
setBathymetry
Const
(
bathCGMin2d
);
sw2DEq
->
setBathymetry
(
bathCGMin2d
);
sw2DEq
->
setSource
(
uvCorr2d
);
sw2DEq
->
setRhoSurf
(
rhoSurf2d
);
sw2DEq
->
setRhoSurfGrad
(
rhoSurfGrad2d
);
...
...
modules/slim3d/slim3dEquations.h
View file @
1daddf2f
...
...
@@ -12,10 +12,10 @@
#include
"dgMesh2MeshProjection.h"
#include
"dgEddyTransportFlux.h"
#include
"dgLimiter.h"
#include
"dgConservationLawShallowWater2d.h"
class
dgSW3dVerticalModel
;
class
dgSW3dTurbulenceGOTM
;
class
dgConservationLawShallowWater2d
;
class
slim3dSolver
;
/** A class that contains all the functions needed by the 3d shallow water equations solver. *
...
...
modules/slim3d/slim3dTimeIntegrator.cpp
View file @
1daddf2f
...
...
@@ -6,6 +6,7 @@
#include
"dgSW3dTurbulenceGOTM.h"
#include
"functionGeneric.h"
#include
"dgTimer.h"
#include
"dgConservationLawShallowWater2d.h"
class
slim3dTimeIntegrator
::
tracerDeviationChecker
{
dgDofContainer
*
_dof
;
...
...
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