Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KiT-RT
KiT-RT
Commits
8d5648d7
Commit
8d5648d7
authored
Mar 01, 2021
by
jannick.wolters
Browse files
removed compiler warnings
Former-commit-id:
48647056
parent
9347ea1e
Changes
6
Hide whitespace changes
Inline
Side-by-side
code/include/fluxes/laxfriedrichsflux.h
View file @
8d5648d7
...
...
@@ -5,7 +5,7 @@
class
LaxFriedrichsFlux
:
public
NumericalFlux
{
double
_dt
;
//
double _dt;
public:
/**
...
...
code/include/solvers/mnsolver.h
View file @
8d5648d7
...
...
@@ -72,6 +72,6 @@ class MNSolver : public SolverBase
// Helper
/*! @brief Computes the radiative flux from the solution vector of the moment system */
void
ComputeRadFlux
();
void
ComputeRadFlux
()
override
;
};
#endif // MNSOLVER_H
code/include/solvers/pnsolver.h
View file @
8d5648d7
...
...
@@ -54,7 +54,7 @@ class PNSolver : public SolverBase
void
IterPostprocessing
(
unsigned
idx_pseudotime
)
override
;
// Helper
void
ComputeRadFlux
();
void
ComputeRadFlux
()
override
;
// Initialization of the Solver
/*! @brief parameter functions for setting up system matrix
...
...
code/include/solvers/snsolver.h
View file @
8d5648d7
...
...
@@ -33,7 +33,7 @@ class SNSolver : public SolverBase
void
virtual
IterPostprocessing
(
unsigned
idx_pseudotime
)
override
;
// Helper
void
ComputeRadFlux
();
void
ComputeRadFlux
()
override
;
// --- Member variables ---
};
...
...
code/src/common/config.cpp
View file @
8d5648d7
...
...
@@ -694,7 +694,7 @@ bool Config::TokenizeString( string& str, string& option_name, vector<string>& o
pos
=
str
.
find
(
"="
);
if
(
pos
==
string
::
npos
)
{
string
errmsg
=
"Error in Config::TokenizeString(): line in the configuration file with no
\"
=
\"
sign. "
;
errmsg
+=
"
\n
Look for:
\n
str.length() = "
+
str
.
length
();
errmsg
+=
"
\n
Look for:
\n
str.length() = "
+
std
::
to_string
(
str
.
length
()
)
;
spdlog
::
error
(
errmsg
);
throw
(
-
1
);
}
...
...
code/src/common/io.cpp
View file @
8d5648d7
...
...
@@ -197,7 +197,8 @@ Mesh* LoadSU2MeshFromFile( const Config* settings ) {
getline
(
ifs
,
line
);
if
(
line
.
find
(
"MARKER_TAG"
,
0
)
!=
std
::
string
::
npos
)
{
markerTag
=
line
.
substr
(
line
.
find
(
"="
)
+
1
);
auto
end_pos
=
std
::
remove_if
(
markerTag
.
begin
(),
markerTag
.
end
(),
isspace
);
auto
end_pos
=
std
::
remove_if
(
markerTag
.
begin
(),
markerTag
.
end
(),
[](
char
c
)
{
return
std
::
isspace
(
static_cast
<
unsigned
char
>
(
c
)
);
}
);
markerTag
.
erase
(
end_pos
,
markerTag
.
end
()
);
btype
=
settings
->
GetBoundaryType
(
markerTag
);
if
(
btype
==
BOUNDARY_TYPE
::
INVALID
)
{
...
...
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