Gridap.FESpaces
Gridap.FESpaces — ModuleThe exported names are
AffineFEOperatorAffineFETermAssemblerCLagrangianFESpaceCellBasisCellMatrixFieldDirichletFESpaceDiscontinuousFESpaceDivConformingFESpaceFECellBasisStyleFEFunctionFEFunctionStyleFEOperatorFESolverFESourceFESpaceFESpaceWithLastDofRemovedFETermGenericCellBasisGenericCellMatrixFieldGradConformingFESpaceGridapTypeLinearFESolverLinearFETermNonLinearFESolverSingleFieldFEFunctionSingleFieldFESpaceSparseMatrixAssemblerTestFESpaceTrialFESpaceTrialStyleUnsconstrainedFESpaceZeroMeanFESpaceallocate_matrixallocate_matrix_and_vectorallocate_vectorapply_constraints_matrix_and_vector_rowsapply_constraints_matrix_colsapply_constraints_matrix_rowsapply_constraints_vectorassemble_matrixassemble_matrix!assemble_matrix_and_vectorassemble_matrix_and_vector!assemble_vectorassemble_vector!collect_cell_jacobiancollect_cell_matrixcollect_cell_residualcollect_cell_vectorcompute_conforming_cell_dofscompute_dirichlet_valuescompute_dirichlet_values_for_tagscompute_free_and_dirichlet_valuescompute_free_valuesgather_dirichlet_valuesgather_free_and_dirichlet_valuesgather_free_valuesget_algebraic_operatorget_cell_basisget_cell_dof_basisget_cell_dofsget_cell_jacobianget_cell_matrixget_cell_residualget_cell_vectorget_dirichlet_dof_tagget_dirichlet_valuesget_fe_spaceget_free_valuesget_testget_trialinterpolateinterpolate_dirichletinterpolate_everywhereis_a_fe_cell_basisis_a_fe_functionis_testis_trial@lawnum_dirichlet_dofsnum_dirichlet_tagsnum_free_dofsoperatescatter_free_and_dirichlet_valuestest_assemblertest_cell_basistest_cell_matrix_fieldtest_fe_functiontest_fe_operatortest_fe_solvertest_fe_spacetest_single_field_fe_spacezero_dirichlet_valueszero_free_values
Gridap.FESpaces.AffineFEOperator — TypeGridap.FESpaces.AffineFEOperator — MethodGridap.FESpaces.AffineFEOperator — MethodAffineFEOperator(test::FESpace,trial::FESpace,assem::Assembler,terms::AffineFETerm...) AffineFEOperator(test::FESpace,trial::FESpace,terms::AffineFETerm...)
Gridap.FESpaces.AffineFETerm — TypeGridap.FESpaces.AffineFETerm — MethodGridap.FESpaces.Assembler — TypeGridap.FESpaces.CLagrangianFESpace — Typestruct CLagrangianFESpace{S} <: SingleFieldFESpace
grid::Grid
dof_to_node::Vector{Int}
dof_to_comp::Vector{Int8}
node_and_comp_to_dof::Vector{S}
# + private fields
endGridap.FESpaces.CLagrangianFESpace — MethodCLagrangianFESpace(::Type{T},grid::Grid) where TGridap.FESpaces.CellBasis — TypeGridap.FESpaces.CellMatrixField — TypeGridap.FESpaces.DirichletFESpace — Typestruct DirichletFESpace <: SingleFieldFESpace
space::SingleFieldFESpace
endGridap.FESpaces.FEOperator — TypeGridap.FESpaces.FEOperator — MethodGridap.FESpaces.FEOperator — MethodGridap.FESpaces.FESolver — TypeGridap.FESpaces.FESolver — MethodGridap.FESpaces.FESource — TypeGridap.FESpaces.FESource — MethodGridap.FESpaces.FESpace — TypeGridap.FESpaces.FESpace — MethodGridap.FESpaces.FESpaceWithLastDofRemoved — Typestruct FESpaceWithLastDofRemoved <: SingleFieldFESpace
space::SingleFieldFESpace
endGridap.FESpaces.FESpaceWithLastDofRemoved — MethodFESpaceWithLastDofRemoved(space::SingleFieldFESpace)Gridap.FESpaces.FETerm — TypeGridap.FESpaces.FETerm — MethodGridap.FESpaces.GenericCellBasis — TypeGridap.FESpaces.GenericCellBasis — MethodGridap.FESpaces.GenericCellMatrixField — TypeGridap.FESpaces.LinearFESolver — TypeThe solver that solves a LinearFEOperator
Gridap.FESpaces.LinearFESolver — MethodGridap.FESpaces.LinearFETerm — TypeGridap.FESpaces.LinearFETerm — MethodGridap.FESpaces.NonLinearFESolver — TypeA general NonLinearFESolver
Gridap.FESpaces.NonLinearFESolver — MethodGridap.FESpaces.SingleFieldFEFunction — TypeGridap.FESpaces.SingleFieldFEFunction — MethodGridap.FESpaces.SingleFieldFESpace — TypeGridap.FESpaces.SparseMatrixAssembler — MethodGridap.FESpaces.TrialFESpace — MethodGridap.FESpaces.TrialFESpace — MethodGridap.FESpaces.UnsconstrainedFESpace — TypeGeneric implementation of an unconstrained single-field FE space Private fields and type parameters
Gridap.FESpaces.UnsconstrainedFESpace — MethodGridap.FESpaces.ZeroMeanFESpace — Typestruct ZeroMeanFESpace <: SingleFieldFESpace
# private fields
endGridap.FESpaces.ZeroMeanFESpace — MethodZeroMeanFESpace(
space::SingleFieldFESpace,
trian::Triangulation,
quad::CellQuadrature)Gridap.FESpaces.DiscontinuousFESpace — MethodDiscontinuousFESpace(reffes::Vector{<:ReferenceFE}, trian::Triangulation)Gridap.FESpaces.DivConformingFESpace — MethodDivConformingFESpace(
reffes::Vector{<:ReferenceFE},
model::DiscreteModel,
face_labeing::FaceLabeling,
dirichlet_tags)Gridap.FESpaces.FECellBasisStyle — MethodGridap.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_values(fs)
Gridap.FESpaces.FEFunctionStyle — MethodTypes marked with this trait need to implement the following queries
- [
get_free_values(object)] - [
get_fe_space(object)]
Gridap.FESpaces.GradConformingFESpace — FunctionGridap.FESpaces.GradConformingFESpace — FunctionGridap.FESpaces.TestFESpace — MethodGridap.FESpaces.TrialStyle — MethodGridap.FESpaces.allocate_matrix — MethodGridap.FESpaces.allocate_matrix_and_vector — MethodGridap.FESpaces.allocate_vector — MethodGridap.FESpaces.apply_constraints_matrix_and_vector_rows — MethodGridap.FESpaces.apply_constraints_matrix_cols — MethodGridap.FESpaces.apply_constraints_matrix_rows — MethodGridap.FESpaces.apply_constraints_vector — MethodGridap.FESpaces.assemble_matrix! — MethodGridap.FESpaces.assemble_matrix — MethodGridap.FESpaces.assemble_matrix_and_vector! — MethodGridap.FESpaces.assemble_matrix_and_vector — MethodGridap.FESpaces.assemble_vector! — MethodGridap.FESpaces.assemble_vector — MethodGridap.FESpaces.collect_cell_jacobian — MethodGridap.FESpaces.collect_cell_matrix — MethodGridap.FESpaces.collect_cell_residual — MethodGridap.FESpaces.collect_cell_vector — MethodGridap.FESpaces.compute_conforming_cell_dofs — Functioncomputeconformingcelldofs( reffes, gridtopology, facelabeing, dirichlettags)
computeconformingcelldofs( reffes, gridtopology, facelabeing, 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.
Gridap.FESpaces.compute_dirichlet_values — MethodGridap.FESpaces.compute_dirichlet_values_for_tags — MethodGridap.FESpaces.compute_free_and_dirichlet_values — Methodcell_field defined in the reference space with derivatives in the physical one
Gridap.FESpaces.compute_free_values — MethodGridap.FESpaces.gather_dirichlet_values — MethodGridap.FESpaces.gather_free_and_dirichlet_values — MethodGridap.FESpaces.gather_free_values — MethodGridap.FESpaces.get_algebraic_operator — MethodGridap.FESpaces.get_cell_basis — MethodGridap.FESpaces.get_cell_dof_basis — MethodGridap.FESpaces.get_cell_dofs — MethodGridap.FESpaces.get_cell_jacobian — MethodReturns 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)
Gridap.FESpaces.get_cell_matrix — MethodReturns 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)
Gridap.FESpaces.get_cell_residual — MethodReturns an object representing the contribution to the residual of the given term. Returns always something.
Gridap.FESpaces.get_cell_vector — MethodReturns an object (e.g. a CellVector) representing the contribution to the system rhs of the given term. Returns nothing if the term has not contribution (typically for linear terms)
Gridap.FESpaces.get_dirichlet_dof_tag — MethodGridap.FESpaces.get_dirichlet_values — MethodGridap.FESpaces.get_fe_space — MethodGridap.FESpaces.get_free_values — MethodGridap.FESpaces.get_test — MethodGridap.FESpaces.get_test — MethodGridap.FESpaces.get_trial — MethodGridap.FESpaces.get_trial — 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_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.is_a_fe_cell_basis — MethodGridap.FESpaces.is_a_fe_function — MethodGridap.FESpaces.is_test — MethodGridap.FESpaces.is_trial — MethodGridap.FESpaces.num_dirichlet_dofs — MethodGridap.FESpaces.num_dirichlet_tags — MethodGridap.FESpaces.num_free_dofs — MethodGridap.FESpaces.scatter_free_and_dirichlet_values — MethodGridap.FESpaces.test_assembler — MethodGridap.FESpaces.test_cell_basis — MethodGridap.FESpaces.test_cell_matrix_field — 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 — MethodGridap.FESpaces.@law — MacroBase.zero — MethodGridap.Algebra.allocate_jacobian — MethodGridap.Algebra.allocate_residual — MethodGridap.Algebra.get_matrix — MethodGridap.Algebra.get_vector — MethodGridap.Algebra.jacobian! — MethodGridap.Algebra.residual! — MethodGridap.Algebra.solve! — Methoduh = 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.
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.compute_cell_space — MethodGridap.FESpaces.compute_discontinuous_cell_dofs — MethodGridap.Geometry.get_cell_id — MethodGridap.Geometry.get_cell_map — MethodGridap.Geometry.get_cell_shapefuns — Method