/// <summary> /// Reads two files - blockMeshDict and topoSetDict /// </summary> /// <param name="path">Project directory</param> /// <returns></returns> public override object Read(string path) { var d = new AblGeometryData(); var bHandler = new BlockMeshDictHandler(); var bPath = bHandler.GetPath(path); d.BlockMesh = (BlockMeshDictData)bHandler.Read(bPath); var tHandler = new TopoSetDictHandler(); var tPath = tHandler.GetPath(path); d.TopoSet = (TopoSetDictData)tHandler.Read(tPath); return d; }
/// <summary> /// Reads two files - blockMeshDict and topoSetDict /// </summary> /// <param name="path">Project directory</param> /// <returns></returns> public override object Read(string path) { var d = new AblGeometryData(); var bHandler = new BlockMeshDictHandler(); var bPath = bHandler.GetPath(path); d.BlockMesh = (BlockMeshDictData)bHandler.Read(bPath); var tHandler = new TopoSetDictHandler(); var tPath = tHandler.GetPath(path); d.TopoSet = (TopoSetDictData)tHandler.Read(tPath); return(d); }