libuserd_interface
Last update: 16.07.2025 177 OptOption(const std::string& _name, const std::vector<std::string>& _value, uint32_t _val_index, uint32_t _default_value_index)
178 : name(_name), values(_value), value_index(_val_index), default_value_index(_default_value_index) {
188 OptField(const std::string& _name, const std::string& _value, const std::string& _default_value)
459 ErrorCode element_conn_nsided(ElementType elem_type, uint32_t* nodes_per_polygon, uint32_t* nodes);
564 ErrorCode read_dataset(const std::string& file1, const std::string& file2, bool use_parallel, Reader*& reader);
729 static ErrorCode get_geometry_info(int reader_id, int part_index, std::vector<int>& geoms_vector);
900 //ToDo: Will convert this to const & later (I need add a map or something inside the class to do this)
923 * EnSight USERD readers include a mechanism where they can exchange information between instances.
924 * This is used for parallel I/O operations, where each process reads an independent portion of the data.
925 * Since each Reader instance is in a different process a communications channel needs to be supplied
926 * by the host application to support this. When run this way, every process has a "rank". For example,
927 * if you want to read 5 way parallel, you will have 5 processes and they will be ranks: [0,1,2,3,4].
928 * It is not important which processes have which ranks, only that all of the ranks exist once and only
931 * To run libuserd in parallel one must call one of the set_reduction calls before calling initialize().
956 using ReduceProc = ErrorCode(*) (ReduceOp op, uint32_t number_of_values, ReduceDataType type, void* data, uint32_t count, void* userdata);
982 using ErrorProc = ErrorCode(*) (const char* message, SeverityLevel severity_level, void* userdata);
1089 ErrorCode query_format(const std::string& name1, const std::string& name2, std::vector<ReaderInfo>& reader_info);
@ ELEMENT
This is a field variable per each element of a part.
Definition dynamic_visualization_store_enums.h:20
@ NODE
This is a field variable per each node of a part's mesh.
Definition dynamic_visualization_store_enums.h:19