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/FITKFlowOFIOHDF5/FITKFlowOFHDF5Writer.h

93 lines
2.4 KiB
C

/**********************************************************************
* @file FITKFlowOFHDF5Writer.h
* @brief HDF5 线
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-09-07
*********************************************************************/
#ifndef __FITKFLOWOFHDF5WRITER_H__
#define __FITKFLOWOFHDF5WRITER_H__
#include "FITKFlowOFIOHDF5API.h"
#include "FITK_Kernel/FITKCore/FITKCoreMacros.h"
#include "FITK_Interface/FITKInterfaceIO/FITKAbstractHDF5Writer.h"
namespace IO
{
/**
* @brief HDF5
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-30
*/
class FITKFLOWOFIOHDF5API FITKFlowOFHDF5Writer : public FITKAbstractHDF5Writer
{
public:
/**
* @brief Construct a new FITKAbaqusHDF5Writer object
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-30
*/
explicit FITKFlowOFHDF5Writer() = default;
virtual ~FITKFlowOFHDF5Writer() = default;
/**
* @brief run
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-04-10
*/
void run() override;
/**
* @brief
* @param Progress
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-04-10
*/
void sendCalculateProgress(int Progress);
/**
* @brief
* @param[i] level 1 normal 2 warning 3error
* @param[i] str
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-04-10
*/
void consoleMessage(int level, const QString& str) override;
private:
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-04-10
*/
bool writeVersion();
/**
* @brief
* @return bool
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-09-07
*/
bool writeDataGeometry();
bool writeGeoComponent();
bool writeGeometryRefine();
bool writeGeoMeshSize();
bool writeMaterialPoint();
bool writeRegionMesh();
bool writeMesh();
bool writePhysicsData();
private:
};
}
#endif