XResult(ulong id, int type) | 原型 | XResult(ulong id, int type) | | 描述 | 构造函数 | | 参数 | [i]ulong id: 身份ID \\ [i] int type: 结果类型 | | 返回值 | 无 | void clear() | 原型 | void clear() | | 描述 | 清空结果分量 | | 参数 | 无 | | 返回值 | 无 | ~XResult() | 原型 | ~XResult() | | 描述 | 析构函数 | | 参数 | 无 | | 返回值 | 无 | XResult & addComponent(TypeID compType) | 原型 | XResult & addComponent(TypeID compType) | | 描述 | 添加结果分量 | | 参数 | [i]TypeID compType: 结果分量类型 | | 返回值 | 返回结果对象的引用 | XResult & operator << (TypeID compType) | 原型 | XResult & operator << (TypeID compType) | | 描述 | 与addComponent等价的另外一种便捷调用 | | 参数 | [i]TypeID compType: 结果分量类型 | | 返回值 | 返回结果对象的引用 | XResultComponent * getComponentByType(TypeID t) | 原型 | XResultComponent * getComponentByType(TypeID t) | | 描述 | 获取指定类型的结果分量 | | 参数 | [i]TypeID t: 结果分量类型 | | 返回值 | 结果分量指针 | XResultComponent * getComponent(const char * compName) | 原型 | XResultComponent * getComponent(const char * compName) | | 描述 | 获取给定名字的结果分量 | | 参数 | [i]const char * compName: 结果分量名字 | | 返回值 | 结果分量指针 | const char * getLabel(int component) | 原型 | const char * getLabel(int component) | | 描述 | 获取结果分量的标签 | | 参数 | [i]int component: 结果分量序号 | | 返回值 | 结果分量的标签字符串 | int getDoF() const | 原型 | int getDoF() const | | 描述 | 获取结果对象的基础自由度 | | 参数 | 无 | | 返回值 | 无 | TypeID getLocation() const | 原型 | TypeID getLocation() const | | 描述 | 获取结果对象的位置 | | 参数 | 无 | | 返回值 | 结果对象的位置 | void setLocation(TypeID loc) | 原型 | void setLocation(TypeID loc) | | 描述 | 设置结果对象的位置 | | 参数 | [i]TypeID loc: 结果位置 | | 返回值 | 无 | ulong getLayerID() const | 原型 | ulong getLayerID() const | | 描述 | 获取所属结果层ID | | 参数 | 无 | | 返回值 | 所属结果层ID | void setLayerID(int lid) | 原型 | void setLayerID(int lid) | | 描述 | 设置所属结果层ID | | 参数 | [i]int lid: 结果层ID | | 返回值 | 无 | ulong getCoordSysID() | 原型 | ulong getCoordSysID() | | 描述 | 获取局部坐标系ID | | 参数 | 无 | | 返回值 | 局部坐标系ID | void setCoordSysID(ulong cid) | 原型 | void setCoordSysID(ulong cid) | | 描述 | 设置局部坐标系ID | | 参数 | [i]ulong cid: 局部坐标系ID | | 返回值 | 无 | void setFlag(ResultStatus r, bool b) | 原型 | void setFlag(ResultStatus r, bool b) | | 描述 | 设置结果对象的状态 | | 参数 | [i] ResultStatus r: 结果对象的状态(分为正常结果、索引结果、虚结果类型) \\ [i] bool b: 激活或者失效 | | 返回值 | 无 | bool isVirtual() const | 原型 | bool isVirtual() const | | 描述 | 是否为虚结果 | | 参数 | 无 | | 返回值 | 是虚结果返回true,否则返回false | void setReference(ulong id) | 原型 | void setReference(ulong id) | | 描述 | 设置参考结果ID | | 参数 | [i]ulong id: 参考结果ID | | 返回值 | 无 | ulong getReference() const | 原型 | ulong getReference() const | | 描述 | 获取参考结果ID | | 参数 | 无 | | 返回值 | 参考结果ID | virtual bool buildDerivedComponent(TypeID t) | 原型 | virtual bool buildDerivedComponent(TypeID t) | | 描述 | 构建衍生结果 | | 参数 | [i]TypeID t: 衍生结果分量类型 | | 返回值 | 无 | ErrorCode read(H5IO* io, H5Obj * grp) | 原型 | ErrorCode read(H5IO* io, H5Obj * grp) | | 描述 | 从HDF5文件中读取结果数据 | | 参数 | [i]H5IO* io: HDF5文件句柄 \\ [i] H5Obj * grp: 对应的HDF5节点 | | 返回值 | 成功读取则返回Error_None,否则返回相应错误码 | void write(H5IO * io, H5Obj * grp) | 原型 | void write(H5IO * io, H5Obj * grp) | | 描述 | 将结果数据写入到HDF5文件中 | | 参数 | [i]H5IO * io: HDF5文件句柄 \\ [i] H5Obj * grp: 对应的HDF5节点 | | 返回值 | 无 | ResultHeader & getHeader() | 原型 | ResultHeader & getHeader() | | 描述 | 结果属性 | | 参数 | 无 | | 返回值 | 结果属性的引用 | const ResultHeader & getHeader() const | 原型 | const ResultHeader & getHeader() const | | 描述 | 结果属性 | | 参数 | 无 | | 返回值 | 结果属性的引用 | int getComponentIndex(TypeID t) const | 原型 | int getComponentIndex(TypeID t) const | | 描述 | 获取结果分量的索引号 | | 参数 | [i]TypeID t: 结果分量类型 | | 返回值 | 结果分量的索引号 | int getComponentIndexByName(const char * label) const | 原型 | int getComponentIndexByName(const char * label) const | | 描述 | 获取结果分量的索引号 | | 参数 | [i]const char * label: 结果分量的名字 | | 返回值 | 结果分量的索引号 | void setStep(int iMainID, int iSubID) | 原型 | void setStep(int iMainID, int iSubID) | | 描述 | 设置结果所属的步、子步 | | 参数 | [i]int iMainID: 结果步序号 \\ [i] int iSubID: 结果子步序号 | | 返回值 | 无 | float * getComponentData(int component) | 原型 | float * getComponentData(int component) | | 描述 | 获取结果分量的数据首地址 | | 参数 | [i]int component: 结果分量索引号 | | 返回值 | 结果分量的数据地址 | const float * getComponentData(int component) const | 原型 | const float * getComponentData(int component) const | | 描述 | 获取结果分量的数据首地址 | | 参数 | [i]int component: 结果分量索引号 | | 返回值 | 结果分量的数据地址 | float getNodeResultValue(const XNode * n, int component) const | 原型 | float getNodeResultValue(const XNode * n, int component) const | | 描述 | 获取指定分量在节点上的结果 | | 参数 | [i]const XNode * n: 节点指针 \\ [i] int component: 分量索引号 | | 返回值 | 指定分量在节点上的结果数据 | float getElementResultValue(const XElement * n, int component) const | 原型 | float getElementResultValue(const XElement * n, int component) const | | 描述 | 获取指定分量在单元上的结果 | | 参数 | [i]const XElement * n: 单元指针 \\ [i] int component: 分量索引号 | | 返回值 | 指定分量在单元上的结果 | float getElementNodeResultValue(const XElement * n, int nodeIndex, const int * elemNodeIndexArray, int component) const | 原型 | float getElementNodeResultValue(const XElement * n, int nodeIndex, const int * elemNodeIndexArray, int component) const | | 描述 | 获取指定分量在指定单元节点上的结果 | | 参数 | [i]const XElement * n: 单元指针 \\ [i] int nodeIndex: 单元节点序号 \\ [i] const int * elemNodeIndexArray: 单元节点序号索引数组 \\ [i] int component: 分量索引号 | | 返回值 | 指定分量在指定单元节点上的结果 | int getComponentCount() const | 原型 | int getComponentCount() const | | 描述 | 获取分量的个数 | | 参数 | 无 | | 返回值 | 分量的个数 | void addBeamLayer(XResult * rlt) | 原型 | void addBeamLayer(XResult * rlt) | | 描述 | 添加杆梁结果层 | | 参数 | [i]XResult * rlt: 杆梁结果层 | | 返回值 | 无 | void addShellLayer(XResult * rlt) | 原型 | void addShellLayer(XResult * rlt) | | 描述 | 添加板壳结果层 | | 参数 | [i]XResult * rlt: 板壳结果层 | | 返回值 | 无 | void addLocalCSResult(XResult * rlt) | 原型 | void addLocalCSResult(XResult * rlt) | | 描述 | 添加局部坐标系下的结果数据对象 | | 参数 | [i]XResult * rlt: 局部坐标系下的结果数据对象 | | 返回值 | 无 | void allocData(int component, int count) | 原型 | void allocData(int component, int count) | | 描述 | 为指定分量分配内存空间 | | 参数 | [i]int component: 分量索引号 \\ [i] int count: | | 返回值 | | bool loadData(H5IO * io, H5Obj * grp,int component) | 原型 | bool loadData(H5IO * io, H5Obj * grp,int component) | | 描述 | 从HDF5文件中载入指定分量的数据 | | 参数 | [i]H5IO * io: HDF5文件句柄 \\ [i] H5Obj * grp: 对应的HDF5节点 \\ [i]int component: 分量索引号 | | 返回值 | 成功载入返回true,否则返回false | void dumpData(H5IO * io, H5Obj * grp,int component) | 原型 | void dumpData(H5IO * io, H5Obj * grp,int component) | | 描述 | 将指定分量的结果数据倒入到HDF5文件中 | | 参数 | [i]H5IO * io: HDF5文件句柄 \\ [i] H5Obj * grp: 对应的HDF5节点 \\ [i]int component: 分量索引号 | | 返回值 | 无 | bool isIdentical(XResult * rlt) const | 原型 | bool isIdentical(XResult * rlt) const | | 描述 | 判断两个结果是否属于同一类型 | | 参数 | [i]XResult * rlt: 被比较的结果对象指针 | | 返回值 | 若结果类型一致返回true,否则返回false | bool isIdentical(int type, const char * name, int loc) const | 原型 | bool isIdentical(int type, const char * name, int loc) const | | 描述 | 判断结果对象匹配类型、标签与位置 | | 参数 | [i]int type: 结果类型 \\ [i] const char * name: 结果标签字符串 \\ [i] int loc: 结果位置 | | 返回值 | 若结果类型一致返回true,否则返回false | bool isChief() const | 原型 | bool isChief() const | | 描述 | 是否为主结果 | | 参数 | 无 | | 返回值 | 如为主结果返回true,否则返回false | bool isImported() const | 原型 | bool isImported() const | | 描述 | 判断结果是否已导入 | | 参数 | 无 | | 返回值 | 如已导入返回true,否则返回false | bool isLoaded(int comp) const | 原型 | bool isLoaded(int comp) const | | 描述 | 判断结果数据是否已载入内存 | | 参数 | [i]int comp: 分量索引号 | | 返回值 | 结果数据已载入内存返回true,否则返回false | XResult* getLCSResult(ulong cid) | 原型 | XResult* getLCSResult(ulong cid) | | 描述 | 获取指定坐标系下的结果,如cid为0返回本身 | | 参数 | [i]ulong cid: 指定坐标系ID | | 返回值 | 指定坐标系下的结果,如cid为0返回本身 | int getLCSResultCount() const | 原型 | int getLCSResultCount() const | | 描述 | 获取局部坐标系的结果对象个数 | | 参数 | 无 | | 返回值 | 局部坐标系的结果对象个数 | XResult* getLCSResultByIndex(int idx) | 原型 | XResult* getLCSResultByIndex(int idx) | | 描述 | 获取指定序号的局部坐标系结果 | | 参数 | [i]int idx: 局部坐标系结果序号 | | 返回值 | 指定序号的局部坐标系结果 | XResult* getBeamLayer(ulong beamLayerID) | 原型 | XResult* getBeamLayer(ulong beamLayerID) | | 描述 | 获取杆梁层结果 | | 参数 | [i]ulong beamLayerID: 杆梁层ID | | 返回值 | 杆梁层结果指针 | const XResult * getBeamLayer(ulong beamLayerID) const | 原型 | const XResult * getBeamLayer(ulong beamLayerID) const | | 描述 | 获取杆梁层结果 | | 参数 | [i]ulong beamLayerID: 杆梁层ID | | 返回值 | 杆梁层结果指针 | int getBeamLayerCount() const | 原型 | int getBeamLayerCount() const | | 描述 | 获取杆梁层结果个数 | | 参数 | 无 | | 返回值 | 杆梁层结果个数 | XResult* getBeamLayerByIndex(int idx) | 原型 | XResult* getBeamLayerByIndex(int idx) | | 描述 | 通过序号获取杆梁层结果 | | 参数 | [i]int idx: 杆梁层序号 | | 返回值 | 杆梁层结果指针 | XResult* getShellLayerByIndex(int idx) | 原型 | XResult* getShellLayerByIndex(int idx) | | 描述 | 通过序号获取板壳层结果 | | 参数 | [i]int idx: 板壳层序号 | | 返回值 | 板壳层结果指针 | XResult* getShellLayer(ulong shellLayerID) | 原型 | XResult* getShellLayer(ulong shellLayerID) | | 描述 | 获取板壳层结果 | | 参数 | [i]ulong shellLayerID: 板壳层结果ID | | 返回值 | 板壳层结果指针 | const XResult * getShellLayer(ulong shellLayerID) const | 原型 | const XResult * getShellLayer(ulong shellLayerID) const | | 描述 | 获取板壳层结果 | | 参数 | [i]ulong shellLayerID: 板壳层结果ID | | 返回值 | 板壳层结果指针 | int getShellLayerCount() const | 原型 | int getShellLayerCount() const | | 描述 | 获取板壳层结果个数 | | 参数 | 无 | | 返回值 | 板壳层结果个数 | XResult * getLayer(ulong layerID) | 原型 | XResult * getLayer(ulong layerID) | | 描述 | 获取指定ID的结果层 | | 参数 | [i]ulong layerID: 结果层ID | | 返回值 | 指定ID的结果层(可能是杆梁结果,也可能是板壳结果) | XResult* getCurBeamLayer() const | 原型 | XResult* getCurBeamLayer() const | | 描述 | 获取当前杆梁结果层 | | 参数 | 无 | | 返回值 | 当前杆梁结果层 | XResult* getCurShellLayer() const | 原型 | XResult* getCurShellLayer() const | | 描述 | 获取当前板壳结果层 | | 参数 | 无 | | 返回值 | 当前板壳结果层 | void setCurrentBeamLayer(ulong beamLayerID) | 原型 | void setCurrentBeamLayer(ulong beamLayerID) | | 描述 | 设置当前杆梁结果层ID | | 参数 | [i]ulong beamLayerID: 杆梁结果层ID | | 返回值 | 无 | void setCurrentShellLayer(ulong shellLayerID) | 原型 | void setCurrentShellLayer(ulong shellLayerID) | | 描述 | 设置当前板壳结果层ID | | 参数 | [i]ulong shellLayerID: 板壳结果层ID | | 返回值 | 无 | const XResultComponent * getComponent(int cp) const | 原型 | const XResultComponent * getComponent(int cp) const | | 描述 | 获取指定结果分量 | | 参数 | [i]int cp: 分量索引号 | | 返回值 | 指定结果分量指针 | XResultComponent * getComponent(int cp) | 原型 | XResultComponent * getComponent(int cp) | | 描述 | 获取指定结果分量 | | 参数 | [i]int cp: 分量索引号 | | 返回值 | 指定结果分量指针 | const XResultSubstep * getSubstep() const | 原型 | const XResultSubstep * getSubstep() const | | 描述 | 获取对象所在的结果子步 | | 参数 | 无 | | 返回值 | 对象所在的结果子步 | void setSubstep(const XResultSubstep * ss) | 原型 | void setSubstep(const XResultSubstep * ss) | | 描述 | 设置结果子步 | | 参数 | [i]const XResultSubstep * ss: 结果子步指针 | | 返回值 | 无 |