mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-10-02 22:31:31 +00:00
added heat equations.
This commit is contained in:
+11
-1
@@ -57,7 +57,7 @@ Integrate f over element
|
||||
Parameters
|
||||
----------
|
||||
eq::Equation
|
||||
|
||||
|
||||
f::Function
|
||||
Function to integrate
|
||||
"""
|
||||
@@ -69,3 +69,13 @@ function integrate(eq::Equation, f::Function)
|
||||
return sum(target)
|
||||
end
|
||||
|
||||
function get_global_dofs(eq::Equation)
|
||||
eq.global_dofs
|
||||
end
|
||||
|
||||
function set_global_dofs(eq::Equation, dofs)
|
||||
eq.global_dofs = dofs
|
||||
end
|
||||
|
||||
# Equations for heat problems
|
||||
include("heat_equations.jl")
|
||||
|
||||
Reference in New Issue
Block a user