mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-21 18:33:36 +00:00
refactor contact and tests
This commit is contained in:
+4
-11
@@ -247,21 +247,14 @@ function update_elements!{P<:BoundaryProblem}(problem::Problem{P}, u, la)
|
||||
end
|
||||
end
|
||||
|
||||
#=
|
||||
function add_postprocessor!(problem::Union{FieldProblem, BoundaryProblem}, postprocessor_name::Symbol, args...; kwargs...)
|
||||
push!(problem.postprocessors, (postprocessor_name, args, kwargs))
|
||||
end
|
||||
|
||||
function add_preprocessor!(problem::Union{FieldProblem, BoundaryProblem}, preprocessor_name::Symbol, args...; kwargs...)
|
||||
push!(problem.preprocessors, (preprocessor_name, args, kwargs))
|
||||
end
|
||||
|
||||
=#
|
||||
|
||||
function get_elements(problem)
|
||||
return problem.elements
|
||||
end
|
||||
|
||||
function update!(problem::Problem, field_name::ASCIIString, field)
|
||||
update!(problem.elements, field_name, field)
|
||||
end
|
||||
|
||||
""" Return the dimension of the unknown field of this problem. """
|
||||
function get_unknown_field_dimension(problem::Problem)
|
||||
return problem.dimension
|
||||
|
||||
Reference in New Issue
Block a user