XAnalysis(ulong id, int type)
| 原型 | XAnalysis(ulong id, int type) |
| 描述 | 构造函数 |
| 参数 | [i]ulong id: 索引ID [i] int type: 求解器类型 |
| 返回值 | 无 |
virtual ~XAnalysis()
| 原型 | virtual ~XAnalysis() |
| 描述 | 析构函数 |
| 参数 | 无 |
| 返回值 | 无 |
static const char * getSolutionTypeString(AnalysisSolutionType type)
| 原型 | static const char * getSolutionTypeString(AnalysisSolutionType type) |
| 描述 | 获取分析类型字符串(不是求解器类型) |
| 参数 | [i]AnalysisSolutionType type: 分析类型 |
| 返回值 | 无 |
AnalysisSolutionType getSolutionType() const
| 原型 | AnalysisSolutionType getSolutionType() const |
| 描述 | 返回分析类型 |
| 参数 | 无 |
| 返回值 | 分析类型 |
void setSolutionType(AnalysisSolutionType t)
| 原型 | void setSolutionType(AnalysisSolutionType t) |
| 描述 | 设置分析类型 |
| 参数 | [i]AnalysisSolutionType t: 分析类型 |
| 返回值 | 无 |
virtual bool isConditionSupported(const XCondition * cnd) const
| 原型 | virtual bool isConditionSupported(const XCondition * cnd) const |
| 描述 | 判断是否支持LBC条件cnd |
| 参数 | [i]const XCondition * cnd: LBC条件 |
| 返回值 | 如支持返回true,否则返回false |
XModel * getMesh() const
| 原型 | XModel * getMesh() const |
| 描述 | 获取分析所应用的网格模型 |
| 参数 | 无 |
| 返回值 | 分析所应用的网格模型 |
void setMesh(XModel * mdl)
| 原型 | void setMesh(XModel * mdl) |
| 描述 | 设定分析所应用的网格模型 |
| 参数 | [i]XModel * mdl: 分析所应用的网格模型 |
| 返回值 | 无 |
void addCase(XLoadCase * lc, XManager * lcMgr)
| 原型 | void addCase(XLoadCase * lc, XManager * lcMgr) |
| 描述 | 为当前分析添加工况 |
| 参数 | [i]XLoadCase * lc: 新工况 [i] XManager * lcMgr:工况管理器 |
| 返回值 | 无 |
void removeCase(XLoadCase * lc, XManager * lcMgr)
| 原型 | void removeCase(XLoadCase * lc, XManager * lcMgr) |
| 描述 | 从当前分析中删除工况 |
| 参数 | [i]XLoadCase * lc: 待删除工况 [i] XManager * lcMgr: 工况管理器 |
| 返回值 | 无 |
int getCaseCount() const
| 原型 | int getCaseCount() const |
| 描述 | 获取工况数 |
| 参数 | 无 |
| 返回值 | 工况数 |
int getCaseIndex(const XLoadCase * lc) const
| 原型 | int getCaseIndex(const XLoadCase * lc) const |
| 描述 | 获取工况的序号 |
| 参数 | [i]const XLoadCase * lc: 工况 |
| 返回值 | 工况lc在分析中的序号 |
const XLoadCase * getCase(int index = 0) const
| 原型 | const XLoadCase * getCase(int index = 0) const |
| 描述 | 获取当前分析第index个工况 |
| 参数 | [i]int index = 0: |
| 返回值 | 当前分析第index个工况 |
void bindCaseIterator(OrderItemIterator<XLoadCase> * hIter) const
| 原型 | void bindCaseIterator(OrderItemIterator<XLoadCase> * hIter) const |
| 描述 | 绑定当前分析的工况遍历迭代器 |
| 参数 | [i]OrderItemIterator<XLoadCase> * hIter: 工况遍历迭代器 |
| 返回值 | 无 |
void clear()
| 原型 | void clear() |
| 描述 | 清空工况 |
| 参数 | 无 |
| 返回值 | 无 |
virtual void write(XBinaryIO * io)
| 原型 | virtual void write(XBinaryIO * io) |
| 描述 | 将分析对象的数据写入到二进制文件中 |
| 参数 | [i]XBinaryIO * io: 二进制文件句柄 |
| 返回值 | 无 |
virtual ErrorCode read(XBinaryIO * io, ModelManager* meshMgr, LoadCaseManager * lcMgr)
| 原型 | virtual ErrorCode read(XBinaryIO * io, ModelManager* meshMgr, LoadCaseManager * lcMgr) |
| 描述 | 从二进制文件中读取分析对象的数据 |
| 参数 | [i]XBinaryIO * io: 二进制文件句柄 [i] ModelManager* meshMgr: 网格模型管理器 [i] LoadCaseManager * lcMgr: 工况管理器 |
| 返回值 | 读取成功返回Error_None,否则返回对应错误码 |
virtual bool checkDataCompleteness() const
| 原型 | virtual bool checkDataCompleteness() const |
| 描述 | 检查数据是否充分满足求解条件 |
| 参数 | 无 |
| 返回值 | 充分满足求解条件返回true,否则返回false |
virtual void setAttribute(const XAttribute * atb)
| 原型 | virtual void setAttribute(const XAttribute * atb) |
| 描述 | 设置分析属性 |
| 参数 | [i]const XAttribute * atb: 分析属性 |
| 返回值 | 无 |
void instantiateCondition(ConditionInstanceManager * ciMgr) const
| 原型 | void instantiateCondition(ConditionInstanceManager * ciMgr) const |
| 描述 | 将该分析所用到的LBC实例化到网格上 |
| 参数 | [i]ConditionInstanceManager * ciMgr: LBC实例管理器 |
| 返回值 | 无 |
virtual void listProperty(vector<ObjPropertyEntry> * prpSheet) const
| 原型 | virtual void listProperty(vector<ObjPropertyEntry> * prpSheet) const |
| 描述 | 列举分析的属性 |
| 参数 | [i]vector<ObjPropertyEntry> * prpSheet: 属性清单 |
| 返回值 | 无 |
virtual bool isResultOutput(TypeID rtype) const
| 原型 | virtual bool isResultOutput(TypeID rtype) const |
| 描述 | 判断是否输出某个结果 |
| 参数 | [i]TypeID rtype: 结果类型 |
| 返回值 | 如输出该结果类型返回true,否则返回false |
virtual const TypeID * getOutputOptions() const
| 原型 | virtual const TypeID * getOutputOptions() const |
| 描述 | 获取需要输出的结果类型数组 |
| 参数 | 无 |
| 返回值 | 结果类型数组 |
virtual int countOutputOptions() const
| 原型 | virtual int countOutputOptions() const |
| 描述 | 获取输出结果类型的个数 |
| 参数 | 无 |
| 返回值 | 输出结果类型的个数 |