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.
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @file FITKOpenFOAMDriver
|
|
|
|
|
* @brief blockMesh网格划分类
|
|
|
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
|
|
|
* @date 2024-06-20
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
#ifndef FITKOFBLOCKMESHDRIVER_H
|
|
|
|
|
#define FITKOFBLOCKMESHDRIVER_H
|
|
|
|
|
#include "FITKOFDriverAPI.h"
|
|
|
|
|
#include "FITK_Kernel/FITKAppFramework/FITKAbstractProgramDriver.h"
|
|
|
|
|
#include "FITK_Kernel/FITKAppFramework/FITKProgramDriverFactory.h"
|
|
|
|
|
#include "FITKOpenFoamMeshingDriverBase.h"
|
|
|
|
|
|
|
|
|
|
namespace AppFrame
|
|
|
|
|
{
|
|
|
|
|
class FITKProgramInputInfo;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
namespace FoamDriver
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
class FITKOFDRIVERAPI FITKOFBlockMeshDriver : public FITKOpenFoamMeshingDriverBase
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
explicit FITKOFBlockMeshDriver() = default;
|
|
|
|
|
virtual ~FITKOFBlockMeshDriver() = default;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief 获取blockMesh程序类型
|
|
|
|
|
* @return 1
|
|
|
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
|
|
|
* @date 2024-07-18
|
|
|
|
|
*/
|
|
|
|
|
int getProgramType() override;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief 获取程序名称
|
|
|
|
|
* @return "blockMesh"
|
|
|
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
|
|
|
* @date 2024-07-18
|
|
|
|
|
*/
|
|
|
|
|
QString getProgramName() override;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief 启动blockMesh网格划分程序
|
|
|
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
|
|
|
* @date 2024-07-18
|
|
|
|
|
*/
|
|
|
|
|
virtual void start() override;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief 终止程序
|
|
|
|
|
* @author fulipeng (fulipengqd@yeah.net)
|
|
|
|
|
* @date 2024-07-18
|
|
|
|
|
*/
|
|
|
|
|
virtual void stop() override;
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
Register2FITKProgramDriverFactory(1, FITKOFBlockMeshDriver, FITKOFBlockMeshDriver)
|
|
|
|
|
}
|
|
|
|
|
#endif // FITKOFBLOCKMESHDRIVER_H
|