HMIN_element_solver_writebar_vector()

Writes a 2-noded bar with property idpool to HyperMesh using a vector to define the bar local x axis.

Syntax

void HMIN_element_solver_writebar_vector(HM_entityidtype id, char elementtype, HM_entityidtype propertyid, double vector[3], double offseta[3], double offsetb[3], int pinsa, int pinsb, HM_entityidtype nodes[], HM_entityidtype collectorid, int propsidpool);

Type

HyperMesh hminlib Function

Description

Writes a 2-noded bar with property idpool to HyperMesh using a vector to define the bar local x axis.

Inputs

id
The ID of the element.
elementtype
The type of the element, a user-defined value.
propertyid
The ID of the property to which the element should point.
vector[3]
The node at end a or end b of the desired vector.
offseta[3]
The amount to offset the bar at end a of the vector.
offsetb[3]
The amount to offset the bar at end b of the vector.
pinsa
The degrees of freedom assigned to end a of the vector.
Pinsb
The degrees of freedom assigned to end b of the vector.
nodes[2]
The nodes associated with the element.
collectorid
The ID of the collector where the vector element should be placed.
propsidpool
ID pool number of the property to which the element should point.

Errors

None.