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/FITKOFDictWriter/FITKOFInitialDirWriter.h

98 lines
2.4 KiB
C

/**********************************************************************
* @file FITKOFInitialDirWriter.h
* @brief 0
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-29
*********************************************************************/
#ifndef __FITKFLOWOFINITIALDIRWRITER_H__
#define __FITKFLOWOFINITIALDIRWRITER_H__
#include "FITKOFDictWriterAPI.h"
#include "FITKOFAbstractDictWriter.h"
namespace Interface
{
class FITKOFAbsBoundaryType;
class FITKOFBoundary;
}
namespace DICT
{
class FITKDictVector;
class FITKDictArray;
class FITKDictGroup;
}
namespace Core
{
class FITKAbstractEasyParam;
}
namespace IO
{
class FITKOFChangeDictionaryDictW;
/**
* @brief ControlMeshDict
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-07-15
*/
class FITKOFInitialDirWriter : public FITKOFAbstractDictWriter
{
public:
explicit FITKOFInitialDirWriter();
virtual ~FITKOFInitialDirWriter();
/**
* @brief
* @param[i] filePath
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-07-19
*/
void setFilePath(const QString& filePath) override;
/**
* @brief run
* @return true: false:
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-07-15
*/
bool run() override;
/**
* @brief
* @return QString
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-07-19
*/
QString getFileName() override;
private:
/**
* @brief FoamFile
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-07-19
*/
void dictObjectFoamFile(QString vName);
bool initialFileWrite(QString vName, Core::FITKAbstractEasyParam* vPara);
bool dimensionsW(QString vName);
private:
/**
* @brief
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-07-19
*/
QString m_fileName{};
/**
* @brief
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-08-30
*/
FITKOFChangeDictionaryDictW* m_boundaryTool;
};
}
#endif