# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0
PortGroup           gitlab 1.0
PortGroup           compilers 1.0

name                py-usadel1
gitlab.instance     https://gitlab.jyu.fi
gitlab.setup        jyucmt usadel1 10643f591d58af7e314c4bb20ce05eccb41b45ab
version             0.1
revision            0

categories-append   science
maintainers         nomaintainer
license             GPL-2

description         Quasiclassical equations on a 1D network
long_description    This code solves Usadel equations in a circuit consisting of quasi-1D \
                    metallic wires. This is an efficient approach for modelling charge and heat \
                    transport in mesoscopic electronic circuits made of superconducting and normal-state \
                    metals, in the presence of a sufficient amount of impurities (dirty limit).

checksums           rmd160  5bdd9610ad068117b00663465f122e01cd1ba662 \
                    sha256  e942a30b74471cc19cb03eb42f08c6c278a8ebb25769063726698f23ee8877a0

python.versions     313
python.pep517_backend meson

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-oldest-supported-numpy

    depends_lib-append  port:py${python.version}-numpy \
                        port:py${python.version}-scipy \
                        port:py${python.version}-tables

    python.add_archflags no
    universal_variant no

    compilers.choose    fc f77 f90
    compilers.setup     require_fortran -g95
}
