https://github.com/geodynamics/citcoms
Revision 9a9729401d48cd0c7b1776afef2e7727f1f253cf authored by Leif Strand on 25 July 2009, 02:48:38 UTC, committed by Leif Strand on 25 July 2009, 02:48:38 UTC
1 parent fb1101a
Raw File
Tip revision: 9a9729401d48cd0c7b1776afef2e7727f1f253cf authored by Leif Strand on 25 July 2009, 02:48:38 UTC
Wrote two new versions of gauss_seidel_2() -- neither of which is very
Tip revision: 9a97294
regional.odb
#!/usr/bin/env python
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
#<LicenseText>
#
# CitcomS.py by Eh Tan, Eun-seo Choi, and Pururav Thoutireddy.
# Copyright (C) 2002-2005, California Institute of Technology.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
#</LicenseText>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#

def solver():

    import CitcomS.Solver as SolverComponent
    return SolverComponent.regionalSolver()


def csolver():

    import CitcomS.Solver as SolverComponent
    return SolverComponent.coupledRegionalSolver('csolver', 'csolver')


def esolver():

    import CitcomS.Solver as SolverComponent
    return SolverComponent.coupledRegionalSolver('esolver', 'esolver')


# version
__id__ = "$Id$"

# End of file
back to top