CeedOperator

typedef struct CeedOperatorField_private *CeedOperatorField

Handle for object describing CeedOperator fields.

int CeedOperatorGetNumArgs(CeedOperator op, CeedInt *num_args)

Get the number of arguments associated with a CeedOperator.

Backend Developer Functions

Parameters
  • op – CeedOperator

  • num_args[out] Variable to store vector number of arguments

Returns

An error code: 0 - success, otherwise - failure

int CeedOperatorIsSetupDone(CeedOperator op, bool *is_setup_done)

Get the setup status of a CeedOperator.

Backend Developer Functions

Parameters
  • op – CeedOperator

  • is_setup_done[out] Variable to store setup status

Returns

An error code: 0 - success, otherwise - failure

int CeedOperatorGetQFunction(CeedOperator op, CeedQFunction *qf)

Get the QFunction associated with a CeedOperator.

Backend Developer Functions

Parameters
  • op – CeedOperator

  • qf[out] Variable to store QFunction

Returns

An error code: 0 - success, otherwise - failure

int CeedOperatorIsComposite(CeedOperator op, bool *is_composite)

Get a boolean value indicating if the CeedOperator is composite.

Backend Developer Functions

Parameters
  • op – CeedOperator

  • is_composite[out] Variable to store composite status

Returns

An error code: 0 - success, otherwise - failure

int CeedOperatorGetNumSub(CeedOperator op, CeedInt *num_suboperators)

Get the number of sub_operators associated with a CeedOperator.

Backend Developer Functions

Parameters
  • op – CeedOperator

  • num_suboperators[out] Variable to store number of sub_operators

Returns

An error code: 0 - success, otherwise - failure

int CeedOperatorGetSubList(CeedOperator op, CeedOperator **sub_operators)

Get the list of sub_operators associated with a CeedOperator.

Backend Developer Functions

Parameters
  • op – CeedOperator

  • sub_operators[out] Variable to store list of sub_operators

Returns

An error code: 0 - success, otherwise - failure

int CeedOperatorGetData(CeedOperator op, void *data)

Get the backend data of a CeedOperator.

Backend Developer Functions

Parameters
  • op – CeedOperator

  • data[out] Variable to store data

Returns

An error code: 0 - success, otherwise - failure

int CeedOperatorSetData(CeedOperator op, void *data)

Set the backend data of a CeedOperator.

Backend Developer Functions

Parameters
  • op[out] CeedOperator

  • data – Data to set

Returns

An error code: 0 - success, otherwise - failure

int CeedOperatorReference(CeedOperator op)

Increment the reference counter for a CeedOperator.

Backend Developer Functions

Parameters
  • op – CeedOperator to increment the reference counter

Returns

An error code: 0 - success, otherwise - failure

int CeedOperatorSetSetupDone(CeedOperator op)

Set the setup flag of a CeedOperator to True.

Backend Developer Functions

Parameters
  • op – CeedOperator

Returns

An error code: 0 - success, otherwise - failure