PHengLEI-NCCR/API/Physics/include/Solver.hxx

39 lines
579 B
C++
Raw Normal View History

2024-10-14 09:32:17 +08:00
inline void PHSolver::SetKey(int key)
{
this->key = key;
}
inline int PHSolver::GetKey() const
{
return key;
}
inline void PHSolver::SetName(string name)
{
this->solverName = name;
}
inline string PHSolver::GetName() const
{
return this->solverName;
}
inline void PHSolver::SetIndex(int index)
{
this->index = index;
}
inline int PHSolver::GetIndex() const
{
return index;
}
inline PHGeometry * PHSolver::GetGeometry()
{
return geometry;
}
inline void PHSolver::SetGeometry(PHGeometry *geometry)
{
this->geometry = geometry;
}