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.
AppFlow/FITK_Component/FITKOFDriver/FITKOFFoamDictionaryDriver.h

81 lines
2.0 KiB
C

/**
*
* @file FITKOFFoamDictionaryDriver
* @brief foamDiectionary
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-07-04
*
*/
#ifndef FITKFOAMDICTIONARYDRIVER_H
#define FITKFOAMDICTIONARYDRIVER_H
#include "FITK_Kernel/FITKAppFramework/FITKAbstractProgramDriver.h"
#include "FITK_Kernel/FITKAppFramework/FITKProgramDriverFactory.h"
#include "FITKOpenFoamMeshingDriverBase.h"
namespace AppFrame
{
class FITKProgramInputInfo;
}
namespace FoamDriver
{
class FITKOFFoamDictionaryDriver : public FITKOpenFoamMeshingDriverBase
{
Q_OBJECT
public:
explicit FITKOFFoamDictionaryDriver() = default;
virtual ~FITKOFFoamDictionaryDriver() = default;
/**
* @brief FoamDictionary
* @return 1
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-07-02
*/
int getProgramType() override;
/**
* @brief
* @return "foamDictionary"
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-07-02
*/
QString getProgramName() override;
/**
* @brief
* @return int
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-07-02
*/
int getSubdomainsNumber();
/**
* @brief blockMesh
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-07-02
*/
void start() override;
/**
* @brief
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-07-18
*/
void stop() override;
private:
/**
* @brief
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-07-01
*/
int _subdomains = -1;
};
Register2FITKProgramDriverFactory(1, FITKOFFoamDictionaryDriver, FITKOFFoamDictionaryDriver)
}
#endif // FITKFOAMDICTIONARYDRIVER_H