Computational Grids - Grid: Examples

The computational grid (Grid) component provides an interface for discretization of fields and construction of various operators and functions over these fields. Grid users can set various options at runtime via the options database (e.g., specifying the interpolation method via -grid_int_type method ). Grid internally employs a Mesh to describe the support of its discretizations, and Discretization objects to describe the process itself. Grid users can also query the Mesh and Discretizations directly in application codes by first extracting the them from the Grid via GridGetMesh() or GridGetDiscretization() and then directly calling various Mesh (or Discretization) routines (e.g., MeshLocatePoint() ).

Beginner - Basic usage
ElementMatCreate FieldClassMapSerialize GridSetRhsOperator
ElementMatDestroy FieldClassMapView GridView
ElementMatDuplicate GridAddMatOperator LocalVarOrderingCreate
ElementMatSetDiagonalValues GridAddRhsFunction LocalVarOrderingDestroy
ElementMatSetValues GridAddRhsNonlinearOperator LocalVarOrderingDuplicate
ElementMatView GridAddRhsOperator LocalVarOrderingSerialize
ElementMatZero GridCreate VarOrderingConstrain
ElementVecCreate GridDestroy VarOrderingCreate
ElementVecDestroy GridEvaluateRhs VarOrderingCreateConstrained
ElementVecDuplicate GridEvaluateRhsFunction VarOrderingCreateGeneral
ElementVecSetValues GridEvaluateRhsOperator VarOrderingCreateReduce
ElementVecZero GridEvaluateSystemMatrix VarOrderingCreateReduceGeneral
FieldClassMapCreate GridFinalizeBC VarOrderingCreateSubset
FieldClassMapCreateSubset GridGetNearestBdNode VarOrderingDestroy
FieldClassMapCreateTriangular2D GridGetNearestNode VarOrderingDuplicate
FieldClassMapDestroy GridSerialize VarOrderingSerialize
FieldClassMapDuplicate GridSetMatOperator
Intermediate - Setting options for algorithms and data structures
ElementMatDuplicateIndices GridGetFieldComponents GridScaleSystemMatrix
ElementMatGetArray GridGetFieldConstraintCompDiff GridSetActiveField
ElementMatGetIndices GridGetFieldDisc GridSetBC
ElementMatGetReduceSize GridGetFieldName GridSetBCContext
ElementMatGetSize GridGetLocalOrder GridSetBCValuesType
ElementVecDuplicateIndices GridGetMatOperatorNext GridSetBoundary
ElementVecGetArray GridGetMatOperatorStart GridSetConstrained
ElementVecGetIndices GridGetMesh GridSetConstraintContext
ElementVecGetReduceSize GridGetNodeClass GridSetExplicitConstraints
ElementVecGetSize GridGetNonlinearOperatorNext GridSetFieldConstrained
ElementVecRestoreArray GridGetNonlinearOperatorStart GridSetFieldConstraintCompDiff
FieldClassMapGetField GridGetNumActiveFields GridSetFieldName
FieldClassMapGetNodeClass GridGetNumFields GridSetFromOptions
FieldClassMapGetNumFields GridGetNumMatOperators GridSetMatrixFree
FieldClassMapGetType GridGetNumNewFields GridSetNumNewFields
FieldClassMapIsConstrained GridGetNumNonlinearOperators GridSetOptionsPrefix
FieldClassMapIsDefined GridGetNumRhsOperators GridSetPointBC
FieldClassMapSetSerializeType GridGetNumVars GridSetReduceElement
FieldClassMapSetType GridGetOptionsPrefix GridSetReduceSystem
GridAddActiveField GridGetOrder GridSetSerializeType
GridAddBC GridGetReduceElement GridSetType
GridAddField GridGetReduceSystem GridSetUp
GridAddPointBC GridGetSerializeType GridSetViewField
GridAppendOptionsPrefix GridGetType GridViewFromOptions
GridDuplicateBC GridGlobalToLocal LocalVarOrderingDuplicateIndices
GridGetActiveField GridGlobalToLocalGeneral LocalVarOrderingGetField
GridGetBCContext GridIsConstrained LocalVarOrderingGetFieldIndex
GridGetBoundaryNext GridIsFieldConstrained LocalVarOrderingGetFieldStart
GridGetBoundarySize GridIsMatrixFree LocalVarOrderingGetSize
GridGetBoundaryStart GridLocalToGlobal VarOrderingCompatible
GridGetClassMap GridPrintHelp VarOrderingDuplicateIndices
GridGetConstraintContext GridRegisterALEOperator VarOrderingGetClassMap
GridGetConstraintInverse GridRegisterOperator VarOrderingGetFirst
GridGetConstraintMatrix GridScaleMatOperator VarOrderingGetLocalSize
GridGetDiscretization GridScaleRhs VarOrderingGetNumTotalFields
GridGetExplicitConstraints GridScaleRhsOperator VarOrderingGetSize
Advanced - Setting more advanced options and customization
FieldClassMapConstrain GridCalcInterpolationElementVecIndices GridSerializeRegisterAll
FieldClassMapReduce GridCalcLocalElementMatIndices GridSerializeRegisterDestroy
FieldClassMapRegister GridCalcLocalElementVecIndices GridSetBoundaryRectangular
FieldClassMapRegisterAll GridCalcPointBCNodes GridSetMatBoundary
FieldClassMapRegisterDestroy GridCreateRestriction GridSetMatBoundaryRectangular
FieldClassMapSerializeRegister GridGetConstraints GridSetMatPointBoundary
FieldClassMapSerializeRegisterAll GridGhostExchange GridSetMatPointBoundaryRectangular
FieldClassMapSerializeRegisterDestroy GridInterpolateElementVec GridSetVecBoundary
GridCalcBCValues GridLocalToElement GridSetVecBoundaryDifference
GridCalcBCValuesDifference GridLocalToElementGeneral GridSetVecBoundaryDifferenceRectangular
GridCalcBoundaryElementMatIndices GridProjectElementVec GridSetVecBoundaryRectangular
GridCalcBoundaryElementVecIndices GridProjectInterpolationElementVec GridSetVecPointBoundary
GridCalcElementMatIndices GridRefineMesh GridSetVecPointBoundaryDifference
GridCalcElementVecIndices GridRegister GridSetVecPointBoundaryRectangular
GridCalcGeneralElementMatIndices GridRegisterAll GridSetupBoundary
GridCalcGeneralElementVecIndices GridSerializeRegister GridSetupGhostScatter
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
GridExtantExchange GridGetBCMultiplier GridSetBCMultiplier

Table of Contents