Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backofen, Rainer
amdis
Commits
fc199ebe
Commit
fc199ebe
authored
Jun 09, 2017
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
constness of some functions added
parent
6b3dafe5
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
11 deletions
+11
-11
AMDiS/src/ProblemInstat.h
AMDiS/src/ProblemInstat.h
+1
-1
AMDiS/src/Quadrature.h
AMDiS/src/Quadrature.h
+1
-1
AMDiS/src/parallel/MeshDistributor.h
AMDiS/src/parallel/MeshDistributor.h
+1
-1
extensions/base_problems/BaseProblem.h
extensions/base_problems/BaseProblem.h
+3
-3
extensions/base_problems/CouplingBaseProblem.h
extensions/base_problems/CouplingBaseProblem.h
+1
-1
extensions/base_problems/CouplingBaseProblem2.h
extensions/base_problems/CouplingBaseProblem2.h
+2
-2
extensions/base_problems/deprecated/NavierStokes_Chorin.h
extensions/base_problems/deprecated/NavierStokes_Chorin.h
+2
-2
No files found.
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