Hi, I want to make a vector in my test space including dirichlet dofs and i run below code in gridap but it gives me the error indicating it belongs to interface. do you know how can i solve this?
cv = assemble_vector(get_dirichlet_dof_values(fem_params.U0_Disp), fem_params.U0_Disp)
error
This function belongs to an interface definition and cannot be used.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] macro expansion
@ C:\Users\marya\.julia\packages\Gridap\971dU\src\Helpers\Macros.jl:9 [inlined]
[3] collect_cell_vector(test::TrialFESpace{Gridap.FESpaces.UnconstrainedFESpace{Vector{Float64}, Gridap.FESpaces.NodeToDofGlue{VectorValue{2, Int32}}}}, vec_contributions::Vector{Float64})
@ Gridap.FESpaces C:\Users\marya\.julia\packages\Gridap\971dU\src\FESpaces\Assemblers.jl:377
[4] assemble_vector(f::Vector{Float64}, a::Gridap.FESpaces.GenericSparseMatrixAssembler, V::TrialFESpace{Gridap.FESpaces.UnconstrainedFESpace{Vector{Float64}, Gridap.FESpaces.NodeToDofGlue{VectorValue{2, Int32}}}})
@ Gridap.FESpaces C:\Users\marya\.julia\packages\Gridap\971dU\src\FESpaces\Assemblers.jl:325
[5] assemble_vector(f::Vector{Float64}, V::TrialFESpace{Gridap.FESpaces.UnconstrainedFESpace{Vector{Float64}, Gridap.FESpaces.NodeToDofGlue{VectorValue{2, Int32}}}})
@ Gridap.FESpaces C:\Users\marya\.julia\packages\Gridap\971dU\src\FESpaces\Assemblers.jl:352
[6] top-level scope
@ In[57]:1
thank you