Skip to content
Snippets Groups Projects
Commit af05e82f authored by Joseph Weston's avatar Joseph Weston
Browse files

replace references to Kwant with references to Mumpy

parent eae9846e
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,8 @@
# This file is part of mumpy. It is subject to the license terms in the file
# LICENSE found in the top-level directory of this distribution. A list of
# mumpy authors can be found in the file AUTHORS.md at the top-level
# directory of this distribution and at https://github.com/basnijholt/mumpy
# directory of this distribution and at
# https://gitlab.kwant-project.org/kwant/mumpy.
"""Cython declarations for the C interface to Mumps."""
cdef extern from "mumps_c_types.h":
......
......@@ -4,7 +4,8 @@
# This file is part of mumpy. It is subject to the license terms in the file
# LICENSE found in the top-level directory of this distribution. A list of
# mumpy authors can be found in the file AUTHORS.md at the top-level
# directory of this distribution and at https://github.com/basnijholt/mumpy
# directory of this distribution and at
# https://gitlab.kwant-project.org/kwant/mumpy.
import numpy as np
......
......@@ -4,7 +4,8 @@
# This file is part of mumpy. It is subject to the license terms in the file
# LICENSE found in the top-level directory of this distribution. A list of
# mumpy authors can be found in the file AUTHORS.md at the top-level
# directory of this distribution and at https://github.com/basnijholt/mumpy.
# directory of this distribution and at
# https://gitlab.kwant-project.org/kwant/mumpy.
"""Low-level interface to Mumps.
Thin wrappers around the Mumps C API. At this stage there
......
......@@ -4,7 +4,8 @@
# This file is part of mumpy. It is subject to the license terms in the file
# LICENSE found in the top-level directory of this distribution. A list of
# mumpy authors can be found in the file AUTHORS.md at the top-level
# directory of this distribution and at https://github.com/basnijholt/mumpy.
# directory of this distribution and at
# https://gitlab.kwant-project.org/kwant/mumpy.
"""Interface to the MUMPS sparse solver library"""
......
......@@ -4,7 +4,8 @@
# This file is part of mumpy. It is subject to the license terms in the file
# LICENSE found in the top-level directory of this distribution. A list of
# mumpy authors can be found in the file AUTHORS.md at the top-level
# directory of this distribution and at https://github.com/basnijholt/mumpy
# directory of this distribution and at
# https://gitlab.kwant-project.org/kwant/mumpy.
import numpy as np
......
......@@ -4,7 +4,8 @@
# This file is part of mumpy. It is subject to the license terms in the file
# LICENSE found in the top-level directory of this distribution. A list of
# mumpy authors can be found in the file AUTHORS.md at the top-level
# directory of this distribution and at https://github.com/basnijholt/mumpy
# directory of this distribution and at
# https://gitlab.kwant-project.org/kwant/mumpy.
from mumpy import MUMPSContext, schur_complement
from kwant.lattice import honeycomb
......
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2011-2017 Kwant authors.
#
# This file is part of Kwant. It is subject to the license terms in the file
# LICENSE.rst found in the top-level directory of this distribution and at
# http://kwant-project.org/license. A list of Kwant authors can be found in
# the file AUTHORS.rst at the top-level directory of this distribution and at
# http://kwant-project.org/authors.
# Copyright 2018 Mumpy Authors.
#
# This file is part of mumpy. It is subject to the license terms in the file
# LICENSE found in the top-level directory of this distribution. A list of
# mumpy authors can be found in the file AUTHORS.md at the top-level
# directory of this distribution and at
# https://gitlab.kwant-project.org/kwant/mumpy.
from __future__ import print_function
......@@ -190,7 +190,7 @@ def init_cython():
if cythonize is None:
msg = ("Install Cython >= {0} or use"
" a source distribution (tarball) of Kwant.")
" a source distribution (tarball) of Mumpy.")
ver = '.'.join(str(e) for e in required_cython_version)
cython_help = msg.format(ver)
else:
......@@ -257,7 +257,7 @@ class build_ext(build_ext_orig):
__error_msg = textwrap.dedent("""\
{header}
The compilation of Kwant has failed. Please examine the error message
The compilation of Mumpy has failed. Please examine the error message
above and consult the installation instructions in README.rst.
You might have to customize {{file}}.
......@@ -422,7 +422,7 @@ def maybe_cythonize(exts):
# Cython *cannot* be run, warn otherwise.
error = cythonize is None
if cythonize is False:
dontworry = ('(Do not worry about this if you are building Kwant '
dontworry = ('(Do not worry about this if you are building Mumpy '
'from unmodified sources,\n'
'e.g. with "pip install".)\n\n')
msg = dontworry + msg
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment