api/aspherix_mesh.h

This is the header file used to access mesh properties. The member functions are:


Mesh

Constructor

getForce

Get the total force acting on the mesh

getTorque

Get the total torque acting on the mesh

getMeshElementList

Get a list of all mesh elements, see api/aspherix_mesh_element_list.h

sizeLocal

Get the number of mesh elements on the current processor.

sizeGhost

Get the number of ghost mesh elements on the current processor.

hasMeshModule

Determines whether the mesh has a certain mesh module activated.

getId

Gets the id of the mesh.

getScalarProperty

Gets a scalar value associated with the mesh.

setScalarProperty

Sets a scalar value associated with the mesh.

getListOfScalarProperties

Gets a list of all scalar properties associated with the mesh.

getVectorProperty

Gets a vector value associated with the mesh.

setVectorProperty

Sets a vector value associated with the mesh.

getListOfVectorProperties

Gets a list of all vector properties associated with the mesh.

getExternalIndex

Get index of mesh. Used to reference mesh modules of style ‘6dofexternal’.

setExternalData

For a mesh module of style ‘6dofexternal’ - define time ‘tEnd’ and final position, velocity, orientation and angular velocity at ‘tEnd’.