Ceed

int CeedRegisterImpl(const char *prefix, int (*init)(const char*, Ceed), unsigned int priority)

Register a Ceed backend internally.

Note: Backends should call CeedRegister() instead.

Library Developer Functions

Parameters:
  • prefix[in] Prefix of resources for this backend to respond to. For example, the reference backend responds to “/cpu/self”.

  • init[in] Initialization function called by CeedInit() when the backend is selected to drive the requested resource

  • priority[in] Integer priority. Lower values are preferred in case the resource requested by CeedInit() has non-unique best prefix match.

Returns:

An error code: 0 - success, otherwise - failure

static int CeedWorkVectorsCreate(Ceed ceed)

Create a work vector space for a ceed

Library Developer Functions

Parameters:
  • ceed[inout] Ceed to create work vector space for

Returns:

An error code: 0 - success, otherwise - failure

static int CeedWorkVectorsDestroy(Ceed ceed)

Destroy a work vector space for a ceed

Library Developer Functions

Parameters:
  • ceed[inout] Ceed to destroy work vector space for

Returns:

An error code: 0 - success, otherwise - failure

static int CeedView_Object(CeedObject ceed, FILE *stream)

View a Ceed passed as a CeedObject

Library Developer Functions

Parameters:
  • ceed[in] Ceed to view

  • stream[in] Filestream to write to

Returns:

An error code: 0 - success, otherwise - failure

static int CeedDestroy_Object(CeedObject *ceed)

Destroy a Ceed passed as a CeedObject

Library Developer Functions

Parameters:
  • ceed[inout] Address of Ceed context to destroy

Returns:

An error code: 0 - success, otherwise - failure