PlasCom2
1.0
XPACC Multi-physics simluation application
Boundary.C
Go to the documentation of this file.
1
#include "
Simulation.H
"
2
#include "
Boundary.H
"
3
4
namespace
simulation
{
5
namespace
domain {
6
namespace
boundary {
7
namespace
bc {
8
int
ResolveBCName
(
const
std::string &inName)
9
{
10
for
(
int
iType = 0;iType < (int)
NUMBCTYPE
;iType++){
11
const
std::string &bcName(
bcNames
[iType]);
12
if
(inName == bcName)
return
(iType);
13
}
14
return
((
int
)
NUMBCTYPE
);
15
}
16
17
std::string
ResolveBCType
(
int
inType)
18
{
19
if
(inType >= 0 && inType < (
int
)
NUMBCTYPE
)
20
return
(std::string(
bcNames
[inType]));
21
return
(std::string(
bcNames
[(
int
)NUMBCTYPE]));
22
}
23
}
24
}
25
}
26
}
simulation::domain::boundary::bc::ResolveBCName
int ResolveBCName(const std::string &inName)
Definition:
Boundary.C:8
simulation::domain::boundary::bc::NUMBCTYPE
Definition:
Boundary.H:10
simulation::domain::boundary::bc::ResolveBCType
std::string ResolveBCType(int inType)
Definition:
Boundary.C:17
Simulation.H
simulation::domain::boundary::bc::bcNames
static const char * bcNames[]
Definition:
Boundary.H:11
Boundary.H
simulation
Definition:
Advancer.H:10
Archive
PlasCom2
src
Boundary.C
Generated on Mon Apr 30 2018 11:08:16 for PlasCom2 by
1.8.13