Module bind_ceed

Module bind_ceed 

Source
Expand description

Bindings generated from libCEED’s C headers using bindgen.

See build.rs to customize the process and refer to the libCEED API docs for usage.

Structs§

CeedBasis_private
CeedContextFieldLabel_private
CeedElemRestriction_private
CeedOperatorField_private
CeedOperator_private
CeedQFunctionContext_private
CeedQFunctionField_private
CeedQFunction_private
CeedRequest_private
CeedVector_private
Ceed_private

Constants§

CEED_EPSILON
CEED_VERSION_MAJOR
CEED_VERSION_MINOR
CEED_VERSION_PATCH
CEED_VERSION_RELEASE
CeedContextFieldType_CEED_CONTEXT_FIELD_DOUBLE
Double precision value
CeedContextFieldType_CEED_CONTEXT_FIELD_INT32
32 bit integer value
CeedCopyMode_CEED_COPY_VALUES
Implementation will copy the values and not store the passed pointer.
CeedCopyMode_CEED_OWN_POINTER
Implementation takes ownership of the pointer and will free using CeedFree() when done using it. The user should not assume that the pointer remains valid after ownership has been transferred. Note that arrays allocated using C++ operator new or other allocators cannot generally be freed using CeedFree(). CeedFree() is capable of freeing any memory that can be freed using free().
CeedCopyMode_CEED_USE_POINTER
Implementation can use and modify the data provided by the user, but does not take ownership.
CeedElemTopology_CEED_TOPOLOGY_HEX
Hexehedron - 3D shape
CeedElemTopology_CEED_TOPOLOGY_LINE
Line
CeedElemTopology_CEED_TOPOLOGY_PRISM
Prism - 3D shape
CeedElemTopology_CEED_TOPOLOGY_PYRAMID
Pyramid - 3D shape
CeedElemTopology_CEED_TOPOLOGY_QUAD
Quadralateral - 2D shape
CeedElemTopology_CEED_TOPOLOGY_TET
Tetrahedron - 3D shape
CeedElemTopology_CEED_TOPOLOGY_TRIANGLE
Triangle - 2D shape
CeedErrorType_CEED_ERROR_ACCESS
Minor error, access lock problem
CeedErrorType_CEED_ERROR_BACKEND
Major error, internal backend error
CeedErrorType_CEED_ERROR_DIMENSION
Minor error, dimension mismatch in inputs
CeedErrorType_CEED_ERROR_INCOMPATIBLE
Minor error, incompatible arguments/configuration
CeedErrorType_CEED_ERROR_INCOMPLETE
Minor error, incomplete object setup
CeedErrorType_CEED_ERROR_MAJOR
Major error, generic
CeedErrorType_CEED_ERROR_MINOR
Minor error, generic
CeedErrorType_CEED_ERROR_SUCCESS
Success error code
CeedErrorType_CEED_ERROR_UNSUPPORTED
Major error, operation unsupported by current backend
CeedEvalMode_CEED_EVAL_CURL
Evaluate curl at quadrature points from input in the basis
CeedEvalMode_CEED_EVAL_DIV
Evaluate divergence at quadrature points from input in the basis
CeedEvalMode_CEED_EVAL_GRAD
Evaluate gradients at quadrature points from input in the basis
CeedEvalMode_CEED_EVAL_INTERP
Interpolate from nodes to quadrature points
CeedEvalMode_CEED_EVAL_NONE
Perform no evaluation (either because there is no data or it is already at quadrature points)
CeedEvalMode_CEED_EVAL_WEIGHT
Using no input, evaluate quadrature weights on the reference element
CeedInt8_FMT
CeedInt_FMT
CeedMemType_CEED_MEM_DEVICE
Memory resides on a device (corresponding to \ref Ceed resource)
CeedMemType_CEED_MEM_HOST
Memory resides on the host
CeedNormType_CEED_NORM_1
\f$\Vert \bm{x}\Vert_1 = \sum_i \vert x_i\vert\f$
CeedNormType_CEED_NORM_2
\f$\Vert \bm{x} \Vert_2 = \sqrt{\sum_i x_i^2}\f$
CeedNormType_CEED_NORM_MAX
\f$\Vert \bm{x} \Vert_\infty = \max_i \vert x_i \vert\f$
CeedQuadMode_CEED_GAUSS
Gauss-Legendre quadrature
CeedQuadMode_CEED_GAUSS_LOBATTO
Gauss-Legendre-Lobatto quadrature
CeedScalarType_CEED_SCALAR_FP32
Single precision
CeedScalarType_CEED_SCALAR_FP64
Double precision
CeedSize_FMT
CeedTransposeMode_CEED_NOTRANSPOSE
Apply the linear transformation
CeedTransposeMode_CEED_TRANSPOSE
Apply the transpose

Statics§

CEED_BASIS_COLLOCATED
CEED_BASIS_NONE
Argument for CeedOperatorSetField that no basis operation is needed to translate between the E-vector and the Q-vector. Only use this option with CeedEvalMode CEED_EVAL_NONE. @ingroup CeedBasis
CEED_ELEMRESTRICTION_NONE
Argument for CeedOperatorSetField to use no ElemRestriction. Only use this option with CeedEvalMode CEED_EVAL_WEIGHT. @ingroup CeedElemRestriction
CEED_QFUNCTION_NONE
Argument for CeedOperatorCreate that QFunction is not created by user. Only used for QFunctions dqf and dqfT. If implemented, a backend may attempt to provide the action of these QFunctions. @ingroup CeedQFunction
CEED_REQUEST_IMMEDIATE
CEED_REQUEST_ORDERED
CEED_STRIDES_BACKEND
Argument for CeedElemRestrictionCreateStrided that L-vector is in the Ceed backend’s preferred layout. This argument should only be used with vectors created by a Ceed backend. @ingroup CeedElemRestriction
CEED_VECTOR_ACTIVE
Argument for CeedOperatorSetField to use active input or output. @ingroup CeedVector
CEED_VECTOR_NONE
Argument for CeedOperatorSetField to use no vector. Only use this option with CeedEvalMode CEED_EVAL_WEIGHT. @ingroup CeedVector
CeedContextFieldTypes
CeedCopyModes
CeedElemTopologies
CeedErrorTypes
String names for enum pretty printing
CeedEvalModes
CeedMemTypes
CeedQuadModes
CeedTransposeModes

Functions§

CeedAddJitSourceRoot
CeedBasisApply
CeedBasisApplyAtPoints
CeedBasisCreateH1
CeedBasisCreateHcurl
CeedBasisCreateHdiv
CeedBasisCreateProjection
CeedBasisCreateTensorH1
CeedBasisCreateTensorH1Lagrange
CeedBasisDestroy
CeedBasisGetCeed
CeedBasisGetCurl
CeedBasisGetDimension
CeedBasisGetDiv
CeedBasisGetGrad
CeedBasisGetGrad1D
CeedBasisGetInterp
CeedBasisGetInterp1D
CeedBasisGetNumComponents
CeedBasisGetNumNodes
CeedBasisGetNumNodes1D
CeedBasisGetNumQuadraturePoints
CeedBasisGetNumQuadraturePoints1D
CeedBasisGetQRef
CeedBasisGetQWeights
CeedBasisGetTopology
CeedBasisReferenceCopy
CeedBasisView
CeedCompositeOperatorAddSub
CeedCompositeOperatorCreate
CeedCompositeOperatorGetMultiplicity
CeedCompositeOperatorGetNumSub
CeedCompositeOperatorGetSubList
CeedContextFieldLabelGetDescription
CeedDestroy
CeedElemRestrictionApply
CeedElemRestrictionApplyAtPointsInElement
CeedElemRestrictionApplyBlock
CeedElemRestrictionCreate
CeedElemRestrictionCreateAtPoints
CeedElemRestrictionCreateBlocked
CeedElemRestrictionCreateBlockedCurlOriented
CeedElemRestrictionCreateBlockedOriented
CeedElemRestrictionCreateBlockedStrided
CeedElemRestrictionCreateCurlOriented
CeedElemRestrictionCreateOriented
CeedElemRestrictionCreateStrided
CeedElemRestrictionCreateUnorientedCopy
CeedElemRestrictionCreateUnsignedCopy
CeedElemRestrictionCreateVector
CeedElemRestrictionDestroy
CeedElemRestrictionGetBlockSize
CeedElemRestrictionGetCeed
CeedElemRestrictionGetCompStride
CeedElemRestrictionGetElementSize
CeedElemRestrictionGetLVectorSize
CeedElemRestrictionGetMaxPointsInElement
CeedElemRestrictionGetMultiplicity
CeedElemRestrictionGetNumBlocks
CeedElemRestrictionGetNumComponents
CeedElemRestrictionGetNumElements
CeedElemRestrictionGetNumPoints
CeedElemRestrictionGetNumPointsInElement
CeedElemRestrictionReferenceCopy
CeedElemRestrictionView
CeedErrorAbort
CeedErrorExit
CeedErrorImpl
CeedErrorReturn
Ceed error handlers
CeedErrorStore
CeedGaussQuadrature
CeedGetErrorMessage
CeedGetPreferredMemType
CeedGetResource
CeedGetScalarType
CeedGetVersion
CeedInit
CeedIsDeterministic
CeedLobattoQuadrature
CeedOperatorApply
CeedOperatorApplyAdd
CeedOperatorCheckReady
CeedOperatorCreate
CeedOperatorCreateFDMElementInverse
CeedOperatorDestroy
CeedOperatorFieldGetBasis
CeedOperatorFieldGetElemRestriction
CeedOperatorFieldGetName
CeedOperatorFieldGetVector
CeedOperatorGetActiveVectorLengths
CeedOperatorGetCeed
CeedOperatorGetContext
CeedOperatorGetContextDoubleRead
CeedOperatorGetContextFieldLabel
CeedOperatorGetContextInt32Read
CeedOperatorGetFieldByName
CeedOperatorGetFields
CeedOperatorGetFlopsEstimate
CeedOperatorGetNumElements
CeedOperatorGetNumQuadraturePoints
CeedOperatorLinearAssemble
CeedOperatorLinearAssembleAddDiagonal
CeedOperatorLinearAssembleAddPointBlockDiagonal
CeedOperatorLinearAssembleDiagonal
CeedOperatorLinearAssemblePointBlockDiagonal
CeedOperatorLinearAssemblePointBlockDiagonalSymbolic
CeedOperatorLinearAssembleQFunction
CeedOperatorLinearAssembleQFunctionBuildOrUpdate
CeedOperatorLinearAssembleSymbolic
CeedOperatorMultigridLevelCreate
CeedOperatorMultigridLevelCreateH1
CeedOperatorMultigridLevelCreateTensorH1
CeedOperatorReferenceCopy
CeedOperatorRestoreContextDoubleRead
CeedOperatorRestoreContextInt32Read
CeedOperatorSetContextDouble
CeedOperatorSetContextInt32
CeedOperatorSetField
CeedOperatorSetName
CeedOperatorSetQFunctionAssemblyDataUpdateNeeded
CeedOperatorSetQFunctionAssemblyReuse
CeedOperatorView
CeedQFunctionAddInput
CeedQFunctionAddOutput
CeedQFunctionApply
CeedQFunctionContextCreate
CeedQFunctionContextDestroy
CeedQFunctionContextGetAllFieldLabels
CeedQFunctionContextGetContextSize
CeedQFunctionContextGetData
CeedQFunctionContextGetDataRead
CeedQFunctionContextReferenceCopy
CeedQFunctionContextRegisterDouble
CeedQFunctionContextRegisterInt32
CeedQFunctionContextRestoreData
CeedQFunctionContextRestoreDataRead
CeedQFunctionContextSetData
CeedQFunctionContextSetDataDestroy
CeedQFunctionContextTakeData
CeedQFunctionContextView
CeedQFunctionCreateIdentity
CeedQFunctionCreateInterior
CeedQFunctionCreateInteriorByName
CeedQFunctionDestroy
CeedQFunctionFieldGetEvalMode
CeedQFunctionFieldGetName
CeedQFunctionFieldGetSize
CeedQFunctionGetCeed
CeedQFunctionGetFields
CeedQFunctionReferenceCopy
CeedQFunctionRegisterAll
CeedQFunctionSetContext
CeedQFunctionSetContextWritable
CeedQFunctionSetUserFlopsEstimate
CeedQFunctionView
CeedReferenceCopy
CeedRegisterAll
CeedRegistryGetList
CeedRequestWait
CeedResetErrorMessage
CeedSetErrorHandler
CeedSetStream
CeedVectorAXPBY
CeedVectorAXPY
CeedVectorCopy
CeedVectorCreate
CeedVectorDestroy
CeedVectorGetArray
CeedVectorGetArrayRead
CeedVectorGetArrayWrite
CeedVectorGetCeed
CeedVectorGetLength
CeedVectorNorm
CeedVectorPointwiseMult
CeedVectorReciprocal
CeedVectorReferenceCopy
CeedVectorRestoreArray
CeedVectorRestoreArrayRead
CeedVectorScale
CeedVectorSetArray
CeedVectorSetValue
CeedVectorSyncArray
CeedVectorTakeArray
CeedVectorView
CeedVectorViewRange
CeedView
fclose
open_memstream

Type Aliases§

Ceed
Library context created by CeedInit() @ingroup CeedUser
CeedBasis
Handle for object describing discrete finite element evaluations @ingroup CeedBasisUser
CeedContextFieldLabel
Handle for object describing registered fields for CeedQFunctionContext @ingroup CeedQFunctionUser
CeedContextFieldType
Denotes type of data stored in a CeedQFunctionContext field @ingroup CeedQFunction
CeedCopyMode
Conveys ownership status of arrays passed to Ceed interfaces. @ingroup Ceed
CeedElemRestriction
Handle for object describing restriction to elements @ingroup CeedElemRestrictionUser
CeedElemTopology
Type of basis shape to create non-tensor element basis. Dimension can be extracted with bitwise AND (CeedElemTopology & 2**(dim + 2)) == TRUE @ingroup CeedBasis
CeedErrorHandler
CeedErrorType
Ceed error code.
CeedEvalMode
Basis evaluation mode @ingroup CeedBasis
CeedInt
Integer type, used for indexing @ingroup Ceed
CeedInt8
Integer type, for small integers @ingroup Ceed
CeedMemType
Specify memory type. Many Ceed interfaces take or return pointers to memory. This enum is used to specify where the memory being provided or requested must reside. @ingroup Ceed
CeedNormType
Denotes type of vector norm to be computed @ingroup CeedVector
CeedOperator
Handle for object describing FE-type operators acting on vectors
CeedOperatorField
Handle for object describing CeedOperator fields @ingroup CeedOperatorBackend
CeedQFunction
Handle for object describing functions evaluated independently at quadrature points @ingroup CeedQFunctionUser
CeedQFunctionContext
Handle for object describing context data for CeedQFunctions @ingroup CeedQFunctionUser
CeedQFunctionContextDataDestroyUser
Handle for the user provided CeedQFunctionContextDataDestroy callback function
CeedQFunctionField
Handle for object describing CeedQFunction fields @ingroup CeedQFunctionBackend
CeedQFunctionUser
Handle for the user provided CeedQFunction callback function
CeedQuadMode
Type of quadrature; also used for location of nodes @ingroup CeedBasis
CeedRequest
Non-blocking Ceed interfaces return a CeedRequest. To perform an operation immediately, pass \ref CEED_REQUEST_IMMEDIATE instead. @ingroup CeedUser
CeedScalar
CeedScalarType
Scalar (floating point) types
CeedSize
Integer type, used array sizes @ingroup Ceed
CeedTransposeMode
Denotes whether a linear transformation or its transpose should be applied @ingroup CeedBasis
CeedVector
Handle for vectors over the field \ref CeedScalar @ingroup CeedVectorUser
FILE
va_list