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
ceedLibrary Developer Functions
- Parameters:
ceed – [inout]
Ceedto 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
ceedLibrary Developer Functions
- Parameters:
ceed – [inout]
Ceedto destroy work vector space for
- Returns:
An error code: 0 - success, otherwise - failure
-
static int CeedView_Object(CeedObject ceed, FILE *stream)
View a
Ceedpassed as aCeedObjectLibrary Developer Functions
- Parameters:
ceed – [in]
Ceedto viewstream – [in] Filestream to write to
- Returns:
An error code: 0 - success, otherwise - failure
-
static int CeedDestroy_Object(CeedObject *ceed)
Destroy a
Ceedpassed as aCeedObjectLibrary Developer Functions
- Parameters:
ceed – [inout] Address of
Ceedcontext to destroy
- Returns:
An error code: 0 - success, otherwise - failure