#include <libuserd_interface.h>
Inheritance diagram for libuserd::Part:

Public Member Functions
Friends
Detailed Description
This class represents a part (block of mesh). Definition at line 146 of file libuserd_interface.h.Member Function Documentation
element_conn()
override
element_conn
For all element types other than NFACED and NSIDED, return the connectivity (0-based node indices).
Note: connectivity must be allocated to at least:
Returns
ErrorCode
element_conn_nfaced()
override
element_conn_nfaced
Retrieve the nodal indices for a collection of NFACED elements.
Parameters
Returns
ErrorCode
element_conn_nfaced_size()
override
element_conn_nfaced_size
Before an NFACED mesh can be read, the size of the faces_per_element, nodes_per_face and nodes arrays need to be determined. This methods computes the required size of these arrays so that element_conn_nfaced() can be called with the proper I/O buffers.
Parameters
Returns
ErrorCode
element_conn_nsided()
override
element_conn_nsided
Retrieve the nodal indices for a collection of NSIDED elements.
Parameters
Returns
ErrorCode
element_conn_nsided_size()
override
element_conn_nsided_size
Before an NSIDED mesh can be read, the size of the nodes_per_polygon array and nodes array need to be determined. This methods computes the required size of these arrays so that element_conn_nsided() can be called with the proper I/O buffers.
Parameters
Returns
ErrorCode
nodes()
override
nodes
Get the coordinates of the nodes.
Note: the xyz array needs to be allocated to num_coords()*3 floats.
Parameters
Returns
ErrorCode
num_elements()
override
num_elements
Generate a map of the count of the number of elements of each supported type.
Parameters
Returns
ErrorCode
num_nodes()
override
num_nodes
The number of nodes in this part in the current timestep
Parameters
Returns
ErrorCode
rigid_body_transform()
override
rigid_body_transform
The rotation, translation, scale to be applied to this part at this timestep.
Parameters
Returns
ErrorCode will return UNAVAILABLE if it does not exist (and a “unity” transform is returned)
variable_values()
override
variable_values
Get the variable values for the current node, element or constant.
Note: array needs to be at least the number of nodes or elements (for the specified variable and elem_type). For part constants, only a single value is returned.
Parameters
Returns
ErrorCode
Friends And Related Symbol Documentation
Reader
friend
Definition at line 301 of file libuserd_interface.h.
The documentation for this class was generated from the following file:
- D:/ANSYSDev/Product-src/ensight/server/userd/include/libuserd_interface.h