CeedVector

int CeedVectorGetState(CeedVector vec, uint64_t *state)

Get the state of a CeedVector.

Backend Developer Functions

Parameters
  • vec – CeedVector to retrieve state

  • state[out] Variable to store state

Returns

An error code: 0 - success, otherwise - failure

int CeedVectorAddReference(CeedVector vec)

Add a reference to a CeedVector.

Backend Developer Functions

Parameters
  • vec[out] CeedVector to increment reference counter

Returns

An error code: 0 - success, otherwise - failure

int CeedVectorGetData(CeedVector vec, void *data)

Get the backend data of a CeedVector.

Backend Developer Functions

Parameters
  • vec – CeedVector to retrieve state

  • data[out] Variable to store data

Returns

An error code: 0 - success, otherwise - failure

int CeedVectorSetData(CeedVector vec, void *data)

Set the backend data of a CeedVector.

Backend Developer Functions

Parameters
  • vec[out] CeedVector to retrieve state

  • data – Data to set

Returns

An error code: 0 - success, otherwise - failure

int CeedVectorReference(CeedVector vec)

Increment the reference counter for a CeedVector.

Backend Developer Functions

Parameters
  • vec – CeedVector to increment the reference counter

Returns

An error code: 0 - success, otherwise - failure