
DVS Reader Data Model
A conceptual view of the DVS Reader data model is below. DVS Reader Data Model. For a high level view of the overall DVS Data model see dvs_data_model. A high level summary is that you start with a DVS::IQuery object, point it towards a DVS URI, interrogate the data model, set filters, and then begin iterating over DVS::IPlotChunk, DVS::IMeshChunk, and DVS::IElementBlock objects. The DVS::IPlotChunk and DVS::IMeshChunk objects each refer to a unique tuple of {Time,Object,Rank,Chunk} where Object is based on the Part or Plot they refer to. DVS::IPlotChunk objects shouldn’t need to be split into rank/chunks. Currently EnSight expects to only see one DVS::IPlotChunk per time over all ranks/chunks. DVS::IMeshChunk is a subportion of the mesh and contains methods to get coordinates of the mesh for this chunk and nodal variable data. The elemental connectivity data for the current DVS::IMeshChunk is stored on an DVS::IElementBlock for each element type. DVS::IElementBlock contains the connectivity for unstructured meshes (Structured mesh connectivity is implied) and elemental variable data. All coordinates, connectivity, and variables also contain a hash which can be used for comparison so see if the internal data is different.Getting started with the DVS Reader API
The latest stable code and binaries and can be found in Artifactory. They can also be found in the EnSight install under:CEI/ensightXXX/src/readers/dvs if pulling from artifactory make sure to grab the version which matches your EnSight install if using them together.
The binaries to statically link against can be found under either linux_2.6_64 for Linux and win64 for Windows. For the DVS Reader API you will need the libdvsreader.lib/dll or libdvsreader.so depending on the platform.
All the headers needed for the DVS Reader API are under the include directory. The top level header being the dvs_query_interface.h which includes the DVS::IQuery interface.
For examples of using the API refer to DVS Reader Examples.