# HMIN_equation_write()

Writes an equation to HyperMesh.

## Syntax

`void HMIN_equation_write(HM_entityidtype id, char type, float* constant, int Inode_len, HM_entityidtype *Inodes, int *Idofs, float *Icoeffs, HM_entityidtype Dnode, int Ddof, float* Dcoeff, HM_entityidtype loadcollectorid);`

## Type

HyperMesh hminlib Function

## Description

Writes an equation to HyperMesh.

## Inputs

`id`- The ID of the equation.
`equationtype`- The type of the equation, a user-defined value.
`constant`- The constant of the equation.
`Inode_len`- The number of independent nodes.
`Inodes`- The IDs of the independent nodes.
`Idofs`- The degrees of freedom associated with the independent nodes in the form (123456 or 135).
`Icoeffs`- The coefficients associated with the independent nodes (6 per node).
`Dnode`- The coefficients associated with the independent nodes (6 per node).
`Ddof`- The degree of freedom associated with the dependent node (may be set to 0).
`Dcoeff`- The coefficient associated with the dependent node (may be set to 0).
`loadcollectorid`- The collector where the equation should be placed.

## Errors

None.