# Gridap.FESpaces

Gridap.FESpaces.CellConformityType

Minimum data required to describe dof ownership. At this moment, the cell-wise ownership is compressed on cell types. This can be relaxed in the future, to have an arbitrary cell-wise dof ownership.

source
Gridap.FESpaces.CellFEType

Minimum data required to build a conforming FE space. At this moment, the some cell-wise info is compressed on cell types. This can be relaxed in the future, and have an arbitrary cell-wise data.

source
Gridap.FESpaces.FEFunctionMethod
FEFunction(
fs::SingleFieldFESpace, free_values::AbstractVector, dirichlet_values::AbstractVector)

The resulting FEFunction will be in the space if and only if dirichlet_values are the ones provided by get_dirichlet_dof_values(fs)

source
Gridap.FESpaces.NodeToDofGlueType
struct NodeToDofGlue{T}
free_dof_to_node::Vector{Int32}
free_dof_to_comp::Vector{Int16}
dirichlet_dof_to_node::Vector{Int32}
dirichlet_dof_to_comp::Vector{Int16}
node_and_comp_to_dof::Vector{T}
end
source
Gridap.Algebra.residual_and_jacobianMethod
residual, jacobian =
residual_and_jacobian(op, u)


Compute the residual and jacobian of an operator op at a given point u. Depending on the nature of op the point u can either be a plain array or a FEFunction.

source
Gridap.Algebra.solve!Method
uh, cache = solve!(uh,solver,op,cache)

This function changes the state of the input and can render it in a corrupted state. It is recommended to rewrite the input uh with the output as illustrated to prevent any issue. If cache===nothing, then it creates a new cache object.

source
Gridap.Algebra.solve!Method
uh, cache = solve!(uh,solver,op)

This function changes the state of the input and can render it in a corrupted state. It is recommended to rewrite the input uh with the output as illustrated to prevent any issue.

source
Gridap.FESpaces.compute_conforming_cell_dofsFunction

The result is the tuple

(cell_dofs, nfree, ndiri, dirichlet_dof_tag, dirichlet_cells)

If dirichlet_components is given, then get_dof_to_comp has to be defined for the reference elements in reffes.

source