From f72b653b48dc9cceae9a9c2e2d7f9e7796565896 Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Wed, 21 Oct 2015 00:55:49 +0300 Subject: [PATCH] hmm.. doctests, still needs some thinking. --- src/JuliaFEM.jl | 8 ++++++-- src/xdmf.jl | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/JuliaFEM.jl b/src/JuliaFEM.jl index e422e44..b5db2a5 100644 --- a/src/JuliaFEM.jl +++ b/src/JuliaFEM.jl @@ -1,9 +1,12 @@ # This file is a part of JuliaFEM. # License is MIT: see https://github.com/JuliaFEM/JuliaFEM.jl/blob/master/LICENSE.md + +""" +This is JuliaFEM -- Finite Element Package +""" module JuliaFEM using Lexicon - using Logging @Logging.configure(level=DEBUG) @@ -24,7 +27,6 @@ end include("types.jl") # type definitions - include("interpolate.jl") # interpolation routines ### ELEMENTS ### @@ -47,3 +49,5 @@ include("heat.jl") #include("elasticity_solver.jl") end # module + +FEM = JuliaFEM diff --git a/src/xdmf.jl b/src/xdmf.jl index e5e9894..6a5d9b3 100644 --- a/src/xdmf.jl +++ b/src/xdmf.jl @@ -41,9 +41,13 @@ Build a new model for outout Parameters ---------- -Example +Examples ------- - >>> xdmf_new_model() + +```julia +@assert 1+1 == 3 +``` + """ function xdmf_new_model(xdmf_version="2.1") xdoc = XMLDocument()