Gridap.FESpaces
Gridap.FESpaces
— ModuleThe exported names are
AffineFEOperator
Assembler
AssemblyStrategy
BasisStyle
CLagrangianFESpace
CellConformity
CellFE
ConstantFESpace
Constrained
ConstraintStyle
DefaultAssemblyStrategy
DirichletFESpace
DiscreteModelWithFEMap
EvaluationFunction
FEBasis
FEFunction
FEOperator
FESolver
FESpace
FESpaceWithConstantFixed
FESpaceWithLinearConstraints
FiniteElements
GenericAssemblyStrategy
GenericSparseMatrixAssembler
GridWithFEMap
HomogeneousTrialFESpace
HomogeneousTrialFESpace!
LinearFESolver
NonlinearFESolver
SingleFieldFEFunction
SingleFieldFESpace
SparseMatrixAssembler
TestFESpace
TrialFESpace
TrialFESpace!
UnConstrained
UnconstrainedFESpace
ZeroMeanFESpace
add_mesh_displacement!
allocate_matrix
allocate_matrix_and_vector
allocate_vector
assemble_matrix
assemble_matrix!
assemble_matrix_add!
assemble_matrix_and_vector
assemble_matrix_and_vector!
assemble_matrix_and_vector_add!
assemble_vector
assemble_vector!
assemble_vector_add!
col_map
col_mask
collect_cell_matrix
collect_cell_matrix_and_vector
collect_cell_vector
compute_cell_space
compute_conforming_cell_dofs
compute_dirichlet_values_for_tags
compute_dirichlet_values_for_tags!
gather_dirichlet_values
gather_dirichlet_values!
gather_free_and_dirichlet_values!
gather_free_values
gather_free_values!
get_algebraic_operator
get_cell_constraints
get_cell_dof_ids
get_cell_dof_values
get_cell_is_dirichlet
get_cell_isconstrained
get_cols
get_dirichlet_dof_ids
get_dirichlet_dof_tag
get_dirichlet_dof_values
get_dirichlet_values
get_dof_value_type
get_fe_basis
get_fe_dof_basis
get_fe_space
get_free_dof_ids
get_free_dof_values
get_free_values
get_matrix_builder
get_matrix_type
get_rows
get_test
get_trial
get_trial_fe_basis
get_vector_builder
get_vector_type
has_constraints
interpolate
interpolate!
interpolate_dirichlet
interpolate_dirichlet!
interpolate_everywhere
interpolate_everywhere!
num_dirichlet_dofs
num_dirichlet_tags
num_free_dofs
numeric_loop_matrix!
numeric_loop_matrix_and_vector!
numeric_loop_vector!
row_map
row_mask
scatter_free_and_dirichlet_values
symbolic_loop_matrix!
symbolic_loop_matrix_and_vector!
symbolic_loop_vector!
test_assembler
test_fe_function
test_fe_operator
test_fe_solver
test_fe_space
test_single_field_fe_space
test_sparse_matrix_assembler
update_coordinates!
zero_dirichlet_values
zero_free_values
Gridap.FESpaces.AffineFEOperator
— TypeAffineFEOperator
Represent a fully assembled affine (linear) finite element problem. See also FEOperator
Gridap.FESpaces.AffineFEOperator
— MethodGridap.FESpaces.Assembler
— TypeGridap.FESpaces.AssemblyStrategy
— TypeGridap.FESpaces.CellConformity
— TypeMinimum 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.
Gridap.FESpaces.CellConformity
— MethodGenerate A CellConformity from a vector of reference fes
Gridap.FESpaces.CellFE
— TypeMinimum 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.
Gridap.FESpaces.CellFE
— MethodGenerate a CellFE from a vector of reference fes
Gridap.FESpaces.ConstantFESpace
— Typestruct ConstantFESpace <: SingleFieldFESpace
private fields
end
Gridap.FESpaces.DirichletFESpace
— Typestruct DirichletFESpace <: SingleFieldFESpace
space::SingleFieldFESpace
end
Gridap.FESpaces.FEFunction
— MethodGridap.FESpaces.FEFunction
— MethodFEFunction(
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)
Gridap.FESpaces.FEOperator
— Typeabstract type FEOperator <: GridapType
A FEOperator
contains finite element problem, that is assembled as far as possible and ready to be solved. See also FETerm
Gridap.FESpaces.FESolver
— TypeGridap.FESpaces.FESolver
— MethodGridap.FESpaces.FESpaceWithConstantFixed
— TypeFESpaceWithConstantFixed(space::SingleFieldFESpace, fix_constant::Bool,
dof_to_fix::Int=num_free_dofs(space))
Gridap.FESpaces.GridWithFEMap
— TypeGiven a Discrete Model and a reffe, builds a new grid in which the geometrical map is a FEFunction
. This is useful when considering geometrical maps that are the result of a FE problem (mesh displacement).
Gridap.FESpaces.LinearFESolver
— TypeThe solver that solves a LinearFEOperator
Gridap.FESpaces.LinearFESolver
— MethodGridap.FESpaces.NodeToDofGlue
— Typestruct 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
Gridap.FESpaces.NonlinearFESolver
— TypeA general NonlinearFESolver
Gridap.FESpaces.NonlinearFESolver
— MethodGridap.FESpaces.SingleFieldFESpace
— TypeGridap.FESpaces.SparseMatrixAssembler
— TypeGridap.FESpaces.SparseMatrixAssembler
— MethodGridap.FESpaces.TrialFESpace
— MethodGridap.FESpaces.TrialFESpace
— MethodGridap.FESpaces.UnconstrainedFESpace
— TypeGeneric implementation of an unconstrained single-field FE space Private fields and type parameters
Gridap.FESpaces.ZeroMeanFESpace
— Typestruct ZeroMeanFESpace <: SingleFieldFESpace
# private fields
end
Gridap.FESpaces.ZeroMeanFESpace
— MethodBase.zero
— MethodGridap.Algebra.allocate_jacobian
— MethodGridap.Algebra.allocate_matrix
— MethodGridap.Algebra.allocate_matrix_and_vector
— MethodGridap.Algebra.allocate_residual
— MethodGridap.Algebra.allocate_vector
— MethodGridap.Algebra.get_matrix
— MethodGridap.Algebra.get_vector
— MethodGridap.Algebra.jacobian!
— Methodjacobian!(A, op, u)
Inplace version of jacobian
.
Gridap.Algebra.jacobian
— Methodjacobian(op, u)
Compute the jacobian of an operator op
. See also get_algebraic_operator
, residual_and_jacobian!
.
Gridap.Algebra.residual!
— Methodresidual!(b, op, u)
Inplace version of residual
.
Gridap.Algebra.residual
— Methodresidual(op, u)
Compute the residual of op
at u
. See also residual_and_jacobian
Gridap.Algebra.residual_and_jacobian!
— Methodresidual_and_jacobian!(b, A, op, u)
Inplace version of residual_and_jacobian
.
Gridap.Algebra.residual_and_jacobian
— Methodresidual, 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
.
See also jacobian
, residual
, get_algebraic_operator
.
Gridap.Algebra.solve!
— Methoduh, 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.
Gridap.Algebra.solve!
— Methoduh, 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.
Gridap.Algebra.solve
— MethodGridap.Algebra.solve
— MethodSolve that allocates, and sets initial guess to zero and returns the solution
Gridap.FESpaces.CLagrangianFESpace
— MethodCLagrangianFESpace(
::Type{T},
grid::Triangulation,
vector_type::Type,
node_to_tag::AbstractVector,
tag_to_mask::AbstractVector) where T
Gridap.FESpaces.CLagrangianFESpace
— MethodCLagrangianFESpace(::Type{T},grid::Triangulation) where T
Gridap.FESpaces.TestFESpace
— MethodGridap.FESpaces.TrialFESpace!
— MethodGridap.FESpaces.TrialFESpace!
— MethodGridap.FESpaces.assemble_matrix!
— MethodGridap.FESpaces.assemble_matrix
— MethodGridap.FESpaces.assemble_matrix_add!
— MethodGridap.FESpaces.assemble_matrix_and_vector!
— MethodGridap.FESpaces.assemble_matrix_and_vector
— MethodGridap.FESpaces.assemble_vector!
— MethodGridap.FESpaces.assemble_vector
— MethodGridap.FESpaces.assemble_vector_add!
— MethodGridap.FESpaces.col_map
— MethodGridap.FESpaces.col_mask
— MethodGridap.FESpaces.compute_conforming_cell_dofs
— FunctionThe 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
.
Gridap.FESpaces.compute_dirichlet_values_for_tags
— MethodGridap.FESpaces.gather_dirichlet_values!
— MethodGridap.FESpaces.gather_dirichlet_values
— MethodGridap.FESpaces.gather_free_and_dirichlet_values!
— MethodGridap.FESpaces.gather_free_and_dirichlet_values
— MethodGridap.FESpaces.gather_free_values!
— MethodGridap.FESpaces.gather_free_values
— MethodGridap.FESpaces.get_algebraic_operator
— Methodget_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
.
Gridap.FESpaces.get_assembly_strategy
— MethodGridap.FESpaces.get_cell_dof_ids
— MethodGridap.FESpaces.get_cell_dof_values
— MethodGridap.FESpaces.get_cols
— MethodGridap.FESpaces.get_dirichlet_dof_ids
— MethodGridap.FESpaces.get_dirichlet_dof_tag
— MethodGridap.FESpaces.get_dirichlet_dof_values
— MethodGridap.FESpaces.get_fe_basis
— MethodGridap.FESpaces.get_fe_dof_basis
— MethodGridap.FESpaces.get_fe_space
— MethodGridap.FESpaces.get_free_dof_ids
— MethodGridap.FESpaces.get_free_dof_values
— MethodGridap.FESpaces.get_matrix_builder
— MethodGridap.FESpaces.get_rows
— MethodGridap.FESpaces.get_test
— MethodGridap.FESpaces.get_trial
— MethodGridap.FESpaces.get_vector_builder
— MethodGridap.FESpaces.interpolate!
— MethodGridap.FESpaces.interpolate
— MethodThe 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)
Gridap.FESpaces.interpolate_dirichlet!
— MethodGridap.FESpaces.interpolate_dirichlet
— MethodGridap.FESpaces.interpolate_everywhere!
— MethodGridap.FESpaces.interpolate_everywhere
— Methodlike interpolate, but also compute new degrees of freedom for the dirichlet component. The resulting FEFunction does not necessary belongs to the underlying space
Gridap.FESpaces.num_dirichlet_dofs
— MethodGridap.FESpaces.num_dirichlet_tags
— MethodGridap.FESpaces.num_free_dofs
— MethodGridap.FESpaces.row_map
— MethodGridap.FESpaces.row_mask
— MethodGridap.FESpaces.scatter_free_and_dirichlet_values
— MethodGridap.FESpaces.test_assembler
— MethodGridap.FESpaces.test_fe_function
— MethodGridap.FESpaces.test_fe_operator
— MethodGridap.FESpaces.test_fe_solver
— FunctionGridap.FESpaces.test_fe_space
— MethodGridap.FESpaces.test_single_field_fe_space
— FunctionGridap.FESpaces.zero_dirichlet_values
— MethodGridap.FESpaces.zero_free_values
— Method