From 2f4896e6b7fc15084be6ef3c54369b5e087cd43d Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Tue, 23 Jun 2015 23:45:15 +0300 Subject: [PATCH] moved interface code out from solver --- src/elasticity_solver.jl | 16 ---------------- src/interfaces.jl | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 16 deletions(-) create mode 100644 src/interfaces.jl diff --git a/src/elasticity_solver.jl b/src/elasticity_solver.jl index 3e4c0e9..7173636 100644 --- a/src/elasticity_solver.jl +++ b/src/elasticity_solver.jl @@ -6,22 +6,6 @@ using Logging VERSION < v"0.4-" && using Docile -export solve_elasticity_interface! - -@doc """ -This is generic interface that reads data from data model, solves elasticity -problem and updates model. - -Parameters ----------- -model : to be defined -""" -> -function solve_elasticity_interface!() - return 0 -end - - - # Below this line is internal functions related to solver. They can be used # directly if needed or using general interface combining data model and # solver. diff --git a/src/interfaces.jl b/src/interfaces.jl new file mode 100644 index 0000000..860ae35 --- /dev/null +++ b/src/interfaces.jl @@ -0,0 +1,24 @@ +# This file is a part of JuliaFEM. License is MIT: https://github.com/ovainola/JuliaFEM/blob/master/README.md +module interfaces + +using Logging +@Logging.configure(level=DEBUG) + +VERSION < v"0.4-" && using Docile + +#using JuliaFEM.elasticity_solver +export solve_elasticity_interface! + +@doc """ +This is generic interface that reads data from data model, solves elasticity +problem and updates model. + +Parameters +---------- +model : to be defined +""" -> +function solve_elasticity_interface!() + return 0 +end + +end \ No newline at end of file