diff --git a/.travis.yml b/.travis.yml index e11b65d..131eccb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,6 @@ julia: matrix: allow_failures: - - julia: 1.0 - julia: nightly after_success: diff --git a/REQUIRE b/REQUIRE index 4226ca9..3255747 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,2 +1,2 @@ -julia 0.7 1.0- +julia 1 FEMBase diff --git a/src/FEMBeam.jl b/src/FEMBeam.jl index 871f973..419b125 100644 --- a/src/FEMBeam.jl +++ b/src/FEMBeam.jl @@ -2,10 +2,16 @@ # License is MIT: see https://github.com/JuliaFEM/FEMBeam.jl/blob/master/LICENSE """ - FEMBeam - Beam implementation for JuliaFEM + FEMBeam + +Beam implementation for JuliaFEM. # Supported beams -- Euler-Bernoulli beam in 3d + +- Euler-Bernoulli beam in 3D. Approximation of displacement field is done using + Hermite C1-continuous interpolation polynomials in bending and C0-continuous + Lagrange interpolation polynomials is axial direction and twisting. Each node + has 6 degrees of freedom. """ module FEMBeam diff --git a/src/beam2d.jl b/src/beam2d.jl index ba52d50..3fe311b 100644 --- a/src/beam2d.jl +++ b/src/beam2d.jl @@ -2,13 +2,13 @@ # License is MIT: see https://github.com/JuliaFEM/FEMBeam.jl/blob/master/LICENSE """ - Beam2D - Euler-Bernoulli beam for 2d problems + Beam2D + +Euler-Bernoulli beam for 2d problems. """ struct Beam2D <: FieldProblem end -function FEMBase.get_unknown_field_name(::Problem{Beam2D}) - return "displacement" -end +FEMBase.get_unknown_field_name(::Problem{Beam2D}) = "displacement" function FEMBase.assemble_elements!(::Problem{Beam2D}, ::Assembly, elements::Vector{Element{B}}, ::Float64) where B