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 GridSetMatOperator
ElementMatDestroy FieldClassMapView GridSetRhsOperator
ElementMatDuplicate GridAddMatOperator GridView
ElementMatSetDiagonalValues GridAddRhsFunction LocalVarOrderingCreate
ElementMatSetValues GridAddRhsNonlinearOperator LocalVarOrderingDestroy
ElementMatView GridAddRhsOperator LocalVarOrderingDuplicate
ElementMatZero GridCreate LocalVarOrderingSerialize
ElementVecCreate GridDestroy VarOrderingConstrain
ElementVecDestroy GridEvaluateRhs VarOrderingCreate
ElementVecDuplicate GridEvaluateRhsFunction VarOrderingCreateConstrained
ElementVecSetValues GridEvaluateRhsOperator VarOrderingCreateGeneral
ElementVecZero GridEvaluateSystemMatrix VarOrderingCreateReduce
FieldClassMapCreate GridFinalizeBC VarOrderingCreateReduceGeneral
FieldClassMapCreateSubset GridGetNearestBdNode VarOrderingCreateSubset
FieldClassMapCreateTriangular2D GridGetNearestNode VarOrderingDestroy
FieldClassMapDestroy GridRemoveMatOperator VarOrderingDuplicate
FieldClassMapDuplicate GridSerialize VarOrderingSerialize
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