From b5784b168dfc01babf4841be387d67a2f20c4bf2 Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Sat, 8 Aug 2015 21:21:23 +0300 Subject: [PATCH] Update elasticity_solver.jl --- src/elasticity_solver.jl | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/elasticity_solver.jl b/src/elasticity_solver.jl index 47245f0..1283260 100644 --- a/src/elasticity_solver.jl +++ b/src/elasticity_solver.jl @@ -12,6 +12,37 @@ VERSION < v"0.4-" && using Docile # directly if needed or using general interface combining data model and # solver. +""" +This is dummy function. Testing doctests and documentation. + +Parameters +---------- +x : Array{Float64, 1} + +Returns +------- +Array{float64, 1} + x + 1 + +Notes +----- +This is dummy function + +Raises +------ +Exception + if things are not going right + +Examples +-------- +>>> a = [1.0, 2.0, 3.0] +>>> dummy(a) +[2.0, 3.0, 4.0] +""" +function dummy(a) + return a+1 +end + """ Interpolate field variable using basis functions f for point ip.