Gridap.FESpaces

Gridap.FESpacesModule

The exported names are

source
Gridap.FESpaces.AffineFEOperatorMethod

AffineFEOperator(test::FESpace,trial::FESpace,assem::Assembler,terms::AffineFETerm...) AffineFEOperator(test::FESpace,trial::FESpace,terms::AffineFETerm...)

source
Gridap.FESpaces.CLagrangianFESpaceType
struct CLagrangianFESpace{S} <: SingleFieldFESpace
  grid::Grid
  dof_to_node::Vector{Int}
  dof_to_comp::Vector{Int8}
  node_and_comp_to_dof::Vector{S}
  # + private fields
end
source
Gridap.FESpaces.FEOperatorType
abstract type FEOperator <: GridapType

A FEOperator contains finite element problem, that is assembled as far as possible and ready to be solved. See also FETerm

source
Gridap.FESpaces.FESpaceMethod
FESpace(; kwargs...)

Construct a FESpace. Supported keywords are: [:reffe, :conformity, :order, :labels, :valuetype, :model, :triangulation, :dirichlettags, :dirichletmasks, :dofspace, :constraint, :zeromeantrian, :zeromean_quad]

source
Gridap.FESpaces.FETermType
abstract type FETerm <: GridapType end

A FETerm is a lazy representation of a summand of a finite element problem. It is not assembled. See also FEOperator.

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_values(fs)

source
Gridap.FESpaces.compute_conforming_cell_dofsFunction

computeconformingcelldofs( reffes, conf, gridtopology, facelabeling, dirichlettags)

computeconformingcelldofs( reffes, conf, gridtopology, facelabeling, dirichlettags, dirichlet_components)

The result is the tuple

(cell_dofs, nfree, ndiri, dirichlet_dof_tag, dirichlet_cells)

Assumes that the reffes are aligned with the cell type in the grid_topology and that it is possible to build a conforming space without imposing constraints

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

source
Gridap.FESpaces.get_algebraic_operatorMethod
get_algebraic_operator(feop)

Return an "algebraic view" of an operator. Algebraic means, that the resulting operator acts on plain arrays, instead of FEFunctions. This can be useful for solving with external tools like NLsolve.jl. See also FEOperator.

source
Gridap.FESpaces.get_cell_jacobianMethod

Returns an object representing the contribution to the Jacobian of the given term. Returns nothing if the term has not contribution to the Jacobian (typically for source terms)

source
Gridap.FESpaces.get_cell_matrixMethod

Returns an object representing the contribution to the system matrix of the given term. Returns nothing if the term has not contribution (typically for source terms)

source
Gridap.FESpaces.get_cell_vectorMethod

Returns an object (e.g. a CellVector) representing the contribution to the system rhs of the given term (with Dirichlet bcs included). Returns nothing if the term has not contribution (typically for linear terms)

source
Gridap.FESpaces.get_cell_vectorMethod

Returns an object (e.g. a CellVector) representing the contribution to the system rhs of the given term (without Dirichlet bcs). Returns nothing if the term has not contribution (typically for linear terms)

source
Gridap.FESpaces.interpolateMethod

The resulting FE function is in the space (in particular it fulfills Dirichlet BCs even in the case that the given cell field does not fulfill them)

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_cell_space_physicalMethod

It creates the cell-wise DOF basis and shape functions, when the DOFs are evaluated at the physical space. The DOFs (moments) for the prebasis are assumed to be computable at a reference FE space.

source