Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
OPAL
src
Commits
35fd36af
Commit
35fd36af
authored
Jul 16, 2020
by
frey_m
Browse files
SAAMG: remove unused function getType
parent
176f5c9d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
15 deletions
+0
-15
src/Solvers/ArbitraryDomain.h
src/Solvers/ArbitraryDomain.h
+0
-2
src/Solvers/BoxCornerDomain.h
src/Solvers/BoxCornerDomain.h
+0
-4
src/Solvers/EllipticDomain.h
src/Solvers/EllipticDomain.h
+0
-3
src/Solvers/IrregularDomain.h
src/Solvers/IrregularDomain.h
+0
-4
src/Solvers/RectangularDomain.h
src/Solvers/RectangularDomain.h
+0
-2
No files found.
src/Solvers/ArbitraryDomain.h
View file @
35fd36af
...
...
@@ -59,8 +59,6 @@ public:
void
getBoundaryStencil
(
int
idx
,
int
idy
,
int
idz
,
StencilValue_t
&
value
,
double
&
scaleFactor
);
/// returns type of boundary condition
std
::
string
getType
()
{
return
"Geometric"
;}
/// queries if a given (x,y,z) coordinate lies inside the domain
bool
isInside
(
int
idx
,
int
idy
,
int
idz
);
/// returns number of nodes in xy plane
...
...
src/Solvers/BoxCornerDomain.h
View file @
35fd36af
...
...
@@ -80,10 +80,6 @@ public:
/// returns discretization at (x,y,z)
void
getBoundaryStencil
(
int
x
,
int
y
,
int
z
,
StencilValue_t
&
value
,
double
&
scaleFactor
);
/// returns type of boundary condition
std
::
string
getType
()
{
return
"BoxCorner"
;}
/// we do not need this
int
getNumXY
(
int
/*z*/
)
{
return
-
1
;}
...
...
src/Solvers/EllipticDomain.h
View file @
35fd36af
...
...
@@ -58,9 +58,6 @@ public:
void
getBoundaryStencil
(
int
x
,
int
y
,
int
z
,
StencilValue_t
&
values
,
double
&
scaleFactor
);
/// returns type of boundary condition
std
::
string
getType
()
{
return
"Elliptic"
;}
/// queries if a given (x,y,z) coordinate lies inside the domain
inline
bool
isInside
(
int
x
,
int
y
,
int
z
)
{
double
xx
=
-
semiMajor_m
+
hr
[
0
]
*
(
x
+
0.5
);
...
...
src/Solvers/IrregularDomain.h
View file @
35fd36af
...
...
@@ -97,10 +97,6 @@ public:
virtual
void
getCoord
(
int
idx
,
int
&
x
,
int
&
y
,
int
&
z
)
=
0
;
/// method that identifies a specialized boundary geometry
/// \return std::string containing a description of the boundary geometry used
virtual
std
::
string
getType
()
=
0
;
/// method that checks if a given point lies inside the boundary
/// \param x index of the current element in the matrix
/// \param y index of the current element in the matrix
...
...
src/Solvers/RectangularDomain.h
View file @
35fd36af
...
...
@@ -52,8 +52,6 @@ public:
/// returns index of neighbours at (x,y,z)
using
IrregularDomain
::
getNeighbours
;
/// returns type of boundary condition
std
::
string
getType
()
{
return
"Rectangular"
;}
/// queries if a given (x,y,z) coordinate lies inside the domain
inline
bool
isInside
(
int
x
,
int
y
,
int
/*z*/
)
{
double
xx
=
(
x
-
(
nr
[
0
]
-
1
)
/
2.0
)
*
hr
[
0
];
...
...
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