Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
solvers [2012/11/13 23:37]
gag
solvers [2012/12/03 17:05] (current)
gag
Line 1: Line 1:
 ====== Solvers ====== ====== Solvers ======
  
-This Section presents the various **solvers** developed to solve glaciological applications using the finite element code Elmer. A solver is a fortran routine that solve a differential equation on a given domain for all the nodal variables belonging in this domain. Very often, this result in solving a system whichSo time, when the equation is only local, this can be done more simply by iterating on all the nodes of the domain. +This Section presents the various **solvers** developed to solve glaciological applications using the finite element code Elmer. A solver is a Fortran subroutine that solves a differential equation on a given domain for all the nodal variables belonging in this domain. Very often, this results in solving a linear system. In certain cases, when the equation is only local, this can be done more simply by updating and iterating over all the nodes of the domain. 
  
-Non-distributed solvers must be link to Elmer:+ 
 +Solvers in the Elmer/Ice package can be called using the object file name //ElmerIceSolvers//: 
 +<code> 
 +Procedure =  File "ElmerIceSolvers" "NameSolver" 
 +</code>  
 +where ''NameSolver'' is the name of the solver you want to execute.  
 +The source code of the solvers of the Elmer/Ice package can be obtained from the Elmer svn in ''/trunk/elmerice/Solvers/''
 + 
 + 
 +Non-distributed solvers must be linked to ''libelmersolver.so'', for which a wrapper script ''elmerf90'' exists:
 <code> <code>
 elmerf90 MySolver.f90 -o MySolver elmerf90 MySolver.f90 -o MySolver
 </code> </code>
 +
 +In the SIF file (Solver section), the solver has to point on this object file ''MySolver'':
 +<code>
 +Procedure =  File "MySolver" "NameProcedureInMySolver"
 +</code>
 +where ''NameProcedureInMySolver'' is the name of the fortran procedure in the file ''MySolver.f90''.
solvers.1352849861.txt.gz · Last modified: 2012/11/13 23:37 by gag
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0