# Gridap.CellData

`Gridap.CellData`

— ModuleThe exported names are

`CellDatum`

`CellDof`

`CellField`

`CellPoint`

`CellQuadrature`

`CellState`

`DiracDelta`

`DomainContribution`

`DomainStyle`

`GenericCellField`

`Integrand`

`Interpolable`

`KDTreeSearch`

`Measure`

`PhysicalDomain`

`ReferenceDomain`

`SkeletonCellFieldPair`

`add_contribution!`

`attach_constraints_cols`

`attach_constraints_rows`

`attach_dirichlet`

`change_domain`

`compute_cell_points_from_vector_of_points`

`cross`

`det`

`dot`

`double_contraction`

`get_cell_measure`

`get_cell_points`

`get_contribution`

`get_data`

`get_domains`

`get_normal_vector`

`get_physical_coordinate`

`get_triangulation`

`gradient`

`identity_constraints`

`inner`

`jump`

`make_inverse_table`

`mean`

`num_domains`

`outer`

`symmetric_part`

`test_cell_datum`

`tr`

`update_state!`

`×`

`∇`

`∇∇`

`∫`

`⊗`

`⊙`

`⋅`

`⋅²`

`⋅¹`

`Gridap.CellData.CellDatum`

— TypeData associated with the cells of a Triangulation. CellDatum objects behave as if they are defined in the physical space of the triangulation. But in some cases they are implemented as reference quantities plus some transformation to the physical domain.

`Gridap.CellData.CellDof`

— Type`Gridap.CellData.CellField`

— Type`Gridap.CellData.CellPoint`

— TypeA single point or an array of points on the cells of a Triangulation CellField objects can be evaluated efficiently at CellPoint instances.

`Gridap.CellData.CellQuadrature`

— Type`Gridap.CellData.CellState`

— TypeThis can be used as a CellField as long as one evaluates it on the stored CellPoint.

`Gridap.CellData.CompositeMeasure`

— TypeComposite Measure

Measure such that the integration and target triangulations are different.

- ttrian: Target triangulation, where the domain contribution lives.
- itrian: Integration triangulation, where the integration takes place.
- quad : CellQuadrature, defined in itrian

`Gridap.CellData.DomainContribution`

— Type`Gridap.CellData.DomainStyle`

— TypeTrait that signals if a CellDatum type is implemented in the physical or the reference domain

`Gridap.CellData.DomainStyle`

— MethodTell if the stored array is in the reference or physical domain

`Gridap.CellData.GenericCellField`

— Type`Gridap.CellData.SkeletonCellFieldPair`

— TypeSkeletonCellFieldPair is a special construct for allowing uh.plus and uh.minus to be two different CellFields. In particular, it is useful when we need one of the CellFields to be the dualized version of the other for performing ForwardDiff AD of a Skeleton integration DomainContribution wrt to the degrees of freedom of the CellField, plus and minus sensitivities done separately, so as to restrict the interaction between the dual numbers.

It takes in two CellFields and stores plus version of CellFieldAt of the first CellField and minus version of CellFieldAt of the second the CellField. SkeletonCellFieldPair is associated with same triangulation as that of the CellFields (we check if the triangulations of both CellFields match)

SkeletonCellFieldPair is an internal convenience artifact/construct to aid in dualizing plus and minus side around a Skeleton face separately to perform the sensitivity of degrees of freedom of cells sharing the Skeleton face, without the interaction dual numbers of the two cells. The user doesn't have to deal with this construct anywhere when performing AD of functionals involving integration over Skeleton faces using the public API.

`Gridap.Arrays.get_array`

— MethodGet the raw array of cell data defined in the physical space.

`Gridap.CellData.change_domain`

— MethodChange the underlying data to the target domain

`Gridap.CellData.distance`

— Methoddist = distance(polytope::ExtrusionPolytope, inv_cmap::Field, x::Point)

Calculate distance from point `x`

to the polytope. The polytope is given by its type and by the inverse cell map, i.e. by the map from the physical to the reference space.

Positive distances are outside the polytope, negative distances are inside the polytope.

The distance is measured in an unspecified norm, currently the L∞ norm.

`Gridap.CellData.get_cell_points`

— Method`Gridap.CellData.get_data`

— MethodGet the stored array of cell-wise data. It can be defined in the physical or the reference domain.

`Gridap.CellData.get_physical_coordinate`

— Method`get_physical_coordinate(trian::Triangulation)`

In contrast to get*cell*map, the returned object:

- is a
`CellField`

- its gradient is the identity tensor

`Gridap.CellData.test_cell_datum`

— Method`Gridap.Geometry.get_triangulation`

— MethodReturn the underlying Triangulation object