AffineVariationalInequalities (functions)


siconos.numerics.AVI_display(AffineVariationalInequalities *avi) → None[source]

Affine Variational Inequalities display.

Parameters:avi – pointer to the AffineVariationalInequalities to display

siconos.numerics.AVI_newFromFile(AffineVariationalInequalities *avi, FILE *file) → int[source]

read from file and create AffineVariationalInequalities

Parameters:
  • avi – pointer to a AffineVariationalInequalities to create
  • file – pointer to a FILE
Returns:

1 if successfull


siconos.numerics.AVI_newFromFilename(AffineVariationalInequalities *avi, char *filename) → int[source]

function to read and create a AffineVariationalInequalities from a file

Parameters:
  • avi – pointer to a AffineVariationalInequalities to create
  • filename – that contains the AVI
Returns:

1 if successfull


siconos.numerics.AVI_printInFile(AffineVariationalInequalities *avi, FILE *file) → int[source]

write AVI to file

Parameters:
  • avi – pointer to a AffineVariationalInequalities to print
  • file – pointer to a FILE
Returns:

1 if successfull


siconos.numerics.freeAVI(AffineVariationalInequalities *avi) → None[source]

function to delete a AffineVariationalInequalities

Parameters:avi – pointer to a AffineVariationalInequalities to delete

siconos.numerics.newAVI(None) → AffineVariationalInequalities *[source]

Create an empty AVI struct.

Returns:an empty AffineVariationalInequalities