CeedOperator

typedef struct CeedOperatorField_private *CeedOperatorField

Handle for object describing CeedOperator fields.

int CeedOperatorGetCeed(CeedOperator op, Ceed *ceed)

Get the Ceed associated with a CeedOperator.

Backend Developer Functions

Return

An error code: 0 - success, otherwise - failure

Parameters
  • op: CeedOperator

  • [out] ceed: Variable to store Ceed

int CeedOperatorGetNumElements(CeedOperator op, CeedInt *numelem)

Get the number of elements associated with a CeedOperator.

Backend Developer Functions

Return

An error code: 0 - success, otherwise - failure

Parameters
  • op: CeedOperator

  • [out] numelem: Variable to store number of elements

int CeedOperatorGetNumQuadraturePoints(CeedOperator op, CeedInt *numqpts)

Get the number of quadrature points associated with a CeedOperator.

Backend Developer Functions

Return

An error code: 0 - success, otherwise - failure

Parameters
  • op: CeedOperator

  • [out] numqpts: Variable to store vector number of quadrature points

int CeedOperatorGetNumArgs(CeedOperator op, CeedInt *numargs)

Get the number of arguments associated with a CeedOperator.

Backend Developer Functions

Return

An error code: 0 - success, otherwise - failure

Parameters
  • op: CeedOperator

  • [out] numargs: Variable to store vector number of arguments

int CeedOperatorIsSetupDone(CeedOperator op, bool *issetupdone)

Get the setup status of a CeedOperator.

Backend Developer Functions

Return

An error code: 0 - success, otherwise - failure

Parameters
  • op: CeedOperator

  • [out] issetupdone: Variable to store setup status

int CeedOperatorGetQFunction(CeedOperator op, CeedQFunction *qf)

Get the QFunction associated with a CeedOperator.

Backend Developer Functions

Return

An error code: 0 - success, otherwise - failure

Parameters
  • op: CeedOperator

  • [out] qf: Variable to store QFunction

int CeedOperatorIsComposite(CeedOperator op, bool *iscomposite)

Get a boolean value indicating if the CeedOperator is composite.

Backend Developer Functions

Return

An error code: 0 - success, otherwise - failure

Parameters
  • op: CeedOperator

  • [out] iscomposite: Variable to store composite status

int CeedOperatorGetNumSub(CeedOperator op, CeedInt *numsub)

Get the number of suboperators associated with a CeedOperator.

Backend Developer Functions

Return

An error code: 0 - success, otherwise - failure

Parameters
  • op: CeedOperator

  • [out] numsub: Variable to store number of suboperators

int CeedOperatorGetSubList(CeedOperator op, CeedOperator **suboperators)

Get the list of suboperators associated with a CeedOperator.

Backend Developer Functions

Return

An error code: 0 - success, otherwise - failure

Parameters
  • op: CeedOperator

  • [out] suboperators: Variable to store list of suboperators

int CeedOperatorGetData(CeedOperator op, void *data)

Get the backend data of a CeedOperator.

Backend Developer Functions

Return

An error code: 0 - success, otherwise - failure

Parameters
  • op: CeedOperator

  • [out] data: Variable to store data

int CeedOperatorSetData(CeedOperator op, void *data)

Set the backend data of a CeedOperator.

Backend Developer Functions

Return

An error code: 0 - success, otherwise - failure

Parameters
  • [out] op: CeedOperator

  • data: Data to set

int CeedOperatorSetSetupDone(CeedOperator op)

Set the setup flag of a CeedOperator to True.

Backend Developer Functions

Return

An error code: 0 - success, otherwise - failure

Parameters
  • op: CeedOperator

int CeedOperatorGetFields(CeedOperator op, CeedOperatorField **inputfields, CeedOperatorField **outputfields)

Get the CeedOperatorFields of a CeedOperator.

Backend Developer Functions

Return

An error code: 0 - success, otherwise - failure

Parameters
  • op: CeedOperator

  • [out] inputfields: Variable to store inputfields

  • [out] outputfields: Variable to store outputfields

int CeedOperatorFieldGetElemRestriction(CeedOperatorField opfield, CeedElemRestriction *rstr)

Get the CeedElemRestriction of a CeedOperatorField.

Backend Developer Functions

Return

An error code: 0 - success, otherwise - failure

Parameters
  • opfield: CeedOperatorField

  • [out] rstr: Variable to store CeedElemRestriction

int CeedOperatorFieldGetBasis(CeedOperatorField opfield, CeedBasis *basis)

Get the CeedBasis of a CeedOperatorField.

Backend Developer Functions

Return

An error code: 0 - success, otherwise - failure

Parameters
  • opfield: CeedOperatorField

  • [out] basis: Variable to store CeedBasis

int CeedOperatorFieldGetVector(CeedOperatorField opfield, CeedVector *vec)

Get the CeedVector of a CeedOperatorField.

Backend Developer Functions

Return

An error code: 0 - success, otherwise - failure

Parameters
  • opfield: CeedOperatorField

  • [out] vec: Variable to store CeedVector