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
iwr
amdis
Commits
fc199ebe
Commit
fc199ebe
authored
Jun 09, 2017
by
Praetorius, Simon
Browse files
constness of some functions added
parent
6b3dafe5
Changes
7
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/ProblemInstat.h
View file @
fc199ebe
...
...
@@ -101,7 +101,7 @@ namespace AMDiS {
{}
/// Returns \ref name.
inline
std
::
string
getName
()
inline
std
::
string
getName
()
const
{
return
name
;
}
...
...
AMDiS/src/Quadrature.h
View file @
fc199ebe
...
...
@@ -103,7 +103,7 @@ namespace AMDiS {
double
integrateStdSimplex
(
AbstractFunction
<
double
,
DimVec
<
double
>
>
*
f
);
/// Returns \ref name
inline
std
::
string
getName
()
inline
std
::
string
getName
()
const
{
return
name
;
}
...
...
AMDiS/src/parallel/MeshDistributor.h
View file @
fc199ebe
...
...
@@ -151,7 +151,7 @@ namespace AMDiS { namespace Parallel {
/// the program if it finds a non macro element in the mesh.
void
testForMacroMesh
();
inline
std
::
string
getName
()
inline
std
::
string
getName
()
const
{
return
name
;
}
...
...
extensions/base_problems/BaseProblem.h
View file @
fc199ebe
...
...
@@ -126,17 +126,17 @@ public:
}
/// name of the baseBroblem
std
::
string
getName
()
std
::
string
getName
()
const
{
return
name
;
}
int
getNumProblems
()
int
getNumProblems
()
const
{
return
1
;
}
int
getNumComponents
()
int
getNumComponents
()
const
{
return
prob
->
getNumComponents
();
}
...
...
extensions/base_problems/CouplingBaseProblem.h
View file @
fc199ebe
...
...
@@ -108,7 +108,7 @@ public:
return
baseProblems
[
i
]
->
getFeSpace
(
j
);
}
std
::
string
getName
()
{
return
name
;
}
std
::
string
getName
()
const
{
return
name
;
}
protected:
std
::
vector
<
BaseProblemType
*>
baseProblems
;
...
...
extensions/base_problems/CouplingBaseProblem2.h
View file @
fc199ebe
...
...
@@ -204,7 +204,7 @@ public:
return
_GET_
<
i
>
(
baseProblems
).
getFeSpace
(
j
);
}
std
::
string
getName
()
{
return
name
;
}
std
::
string
getName
()
const
{
return
name
;
}
template
<
typename
BaseProblemType
>
...
...
@@ -254,7 +254,7 @@ public:
}
// using CProblemStat::getNumProblems
virtual
int
getNumProblems
()
override
virtual
int
getNumProblems
()
const
override
{
return
CProblemStat
::
getNumProblems
();
}
...
...
extensions/base_problems/deprecated/NavierStokes_Chorin.h
View file @
fc199ebe
...
...
@@ -88,9 +88,9 @@ public:
return
predictorProb
->
getMesh
(
comp
);
}
std
::
string
getName
()
{
return
name
;
};
std
::
string
getName
()
const
{
return
name
;
};
int
getNumProblems
()
{
return
3
;
};
int
getNumProblems
()
const
{
return
3
;
};
ProblemStatType
*
getProblem
(
int
number
=
0
)
{
FUNCNAME
(
"NavierStokes_Chorin::getProblem()"
);
...
...
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