You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#include "FITKOFSnappyHexMeshParallelDriver.h"
|
|
|
|
|
|
|
|
|
|
#include "FITK_Kernel/FITKAppFramework/FITKAbstractProgramDriver.h"
|
|
|
|
|
#include "FITK_Kernel/FITKAppFramework/FITKAbstractCommandRunner.h"
|
|
|
|
|
|
|
|
|
|
namespace FoamDriver
|
|
|
|
|
{
|
|
|
|
|
int FITKOFSnappyHexMeshParallelDriver::getProgramType()
|
|
|
|
|
{
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
QString FITKOFSnappyHexMeshParallelDriver::getProgramName()
|
|
|
|
|
{
|
|
|
|
|
return "mpirun";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void FITKOFSnappyHexMeshParallelDriver::start()
|
|
|
|
|
{
|
|
|
|
|
//输入参数判空
|
|
|
|
|
if (!_inputInfo) return;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void FITKOFSnappyHexMeshParallelDriver::stop()
|
|
|
|
|
{
|
|
|
|
|
_commandRunner->killProcess(_commandRunner->getID());
|
|
|
|
|
}
|
|
|
|
|
}
|