Diff of the two buildlogs: -- --- b1/build.log 2023-04-16 16:30:40.514776504 +0000 +++ b2/build.log 2023-04-16 16:32:43.793307845 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 18 10:52:22 -12 2024 -I: pbuilder-time-stamp: 1716072742 +I: Current time: Mon Apr 17 06:30:41 +14 2023 +I: pbuilder-time-stamp: 1681662641 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: copying [./octave-bim_1.1.6.orig.tar.gz] I: copying [./octave-bim_1.1.6-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Wed Nov 16 05:01:39 2022 -12 +gpgv: Signature made Thu Nov 17 07:01:39 2022 +14 gpgv: using RSA key 3F464391498FE874BDB5D98F2124AA1983785C90 gpgv: issuer "rafael@debian.org" gpgv: Can't check signature: No public key @@ -31,137 +31,169 @@ dpkg-source: info: applying xtest-in-bim1c_norm.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/107495/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3518/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 17 06:30 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3518/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3518/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=7' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='8990887812c24d888da54196ed9a055d' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='107495' - PS1='# ' - PS2='> ' + INVOCATION_ID=edb22190f00b424882e85ab25cd163c2 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3518 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.AO6hvPFR/pbuilderrc_kDfa --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.AO6hvPFR/b1 --logfile b1/build.log octave-bim_1.1.6-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.AO6hvPFR/pbuilderrc_aqaj --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.AO6hvPFR/b2 --logfile b2/build.log --extrapackages usrmerge octave-bim_1.1.6-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos16-i386 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-21-686-pae #1 SMP Debian 5.10.162-1 (2023-01-21) i686 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Feb 12 2023 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 2023 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 2023 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 2023 more - -rwsr-xr-x 1 root root 58912 Mar 22 2023 mount - -rwxr-xr-x 1 root root 13856 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Feb 12 2023 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 2023 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 2023 tar - -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 2023 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/107495/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Feb 13 10:21 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 00:20 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 00:20 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 22:38 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 01:43 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 00:20 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 00:20 more + -rwsr-xr-x 1 root root 58912 Mar 24 00:20 mount + -rwxr-xr-x 1 root root 13856 Mar 24 00:20 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Feb 13 10:21 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 06:31 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 Apr 17 06:30 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 00:20 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 13860 Nov 3 06:31 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 22:38 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 00:20 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 00:20 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/3518/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -760,7 +792,7 @@ Get: 555 http://deb.debian.org/debian bookworm/main i386 gmsh i386 4.8.4+ds2-2+b3 [33.3 kB] Get: 556 http://deb.debian.org/debian bookworm/main i386 octave-splines all 1.3.4-3 [24.3 kB] Get: 557 http://deb.debian.org/debian bookworm/main i386 octave-msh i386 1.0.10-12 [30.0 kB] -Fetched 259 MB in 4s (63.0 MB/s) +Fetched 259 MB in 11s (23.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package netbase. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19604 files and directories currently installed.) @@ -3045,8 +3077,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/octave-bim-1.1.6/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../octave-bim_1.1.6-1_source.changes +I: user script /srv/workspace/pbuilder/3518/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/3518/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/octave-bim-1.1.6/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../octave-bim_1.1.6-1_source.changes dpkg-buildpackage: info: source package octave-bim dpkg-buildpackage: info: source version 1.1.6-1 dpkg-buildpackage: info: source distribution unstable @@ -3078,20 +3121,103 @@ dh_octave_check -O--buildsystem=octave Checking package... Checking m files ... -[inst/bim2a_axisymmetric_rhs.m] ->>>>> /build/octave-bim-1.1.6/inst/bim2a_axisymmetric_rhs.m +[inst/bim2c_tri_to_nodes.m] +>>>>> /build/octave-bim-1.1.6/inst/bim2c_tri_to_nodes.m +***** test + msh = bim2c_mesh_properties (msh2m_structured_mesh (linspace (0, 1, 3), linspace (0, 1, 3), 1, 1:4, "random")); + nel = columns (msh.t); + nnod = columns (msh.p); + u_tri = randn (nel, 1); + un1 = bim2c_tri_to_nodes (msh, u_tri); + [un2, m] = bim2c_tri_to_nodes (msh, u_tri); + assert (un1, un2, 1e-10) +warning: 'matrix' object indexed with empty index list +warning: called from + msh2m_geometrical_properties>computearea at line 406 column 7 + msh2m_geometrical_properties at line 167 column 13 + bim2c_mesh_properties at line 44 column 40 + __test__ at line 3 column 6 + test at line 683 column 11 + /tmp/tmp.TS3GUQquA2 at line 14 column 31 + +1 test, 1 passed, 0 known failure, 0 skipped +[inst/bim3a_rhs.m] +>>>>> /build/octave-bim-1.1.6/inst/bim3a_rhs.m ***** shared mesh,f,g,nnodes,nelem ***** test ***** test ***** test 3 tests, 3 passed, 0 known failure, 0 skipped -[inst/bim2c_mesh_properties.m] ->>>>> /build/octave-bim-1.1.6/inst/bim2c_mesh_properties.m +[inst/bim2c_intrp.m] +>>>>> /build/octave-bim-1.1.6/inst/bim2c_intrp.m +***** test + msh = bim2c_mesh_properties (msh2m_structured_mesh (linspace (0, 1, 11), linspace (0, 1, 13), 1, 1:4)); + x = y = linspace (0, 1, 100).'; + u = msh.p(1, :).'; + ui = bim2c_intrp (msh, u, [], [x, y]); + assert (ui, linspace (0, 1, 100), 10*eps); +warning: 'matrix' object indexed with empty index list +warning: called from + msh2m_geometrical_properties>computearea at line 406 column 7 + msh2m_geometrical_properties at line 167 column 13 + bim2c_mesh_properties at line 44 column 40 + __test__ at line 3 column 6 + test at line 683 column 11 + /tmp/tmp.TS3GUQquA2 at line 30 column 31 + +1 test, 1 passed, 0 known failure, 0 skipped +[inst/bim1a_advection_diffusion.m] +>>>>> /build/octave-bim-1.1.6/inst/bim1a_advection_diffusion.m +***** test + x = linspace(0,1,101); + A = bim1a_advection_diffusion(x,1,1,1,0); + alpha = ones(100,1); + gamma = ones(101,1); + eta = gamma; + B = bim1a_advection_diffusion(x,alpha,gamma,eta,0); + assert(A,B) +1 test, 1 passed, 0 known failure, 0 skipped +[inst/bim3a_osc_laplacian.m] +>>>>> /build/octave-bim-1.1.6/inst/bim3a_osc_laplacian.m +***** shared msh, epsilon, M, nnodes, nelem, x, y, z +***** test + msh = bim3c_mesh_properties (msh3m_structured_mesh (0:5, 0:5, 0:5, 1, 1:6)); + x = msh.p (1, :).'; + y = msh.p (2, :).'; + z = msh.p (3, :).'; + u = ones (size (x)); + M = bim3a_osc_laplacian (msh, 1); + assert (M * u, zeros (size (u)), eps * 100) +***** test + u = x; + bnd = bim3c_unknowns_on_faces (msh, [1, 2]); + int = setdiff (1:columns (msh.p), bnd); + assert (M(int, int) * u(int), -M(int, bnd) * u(bnd), 100 * eps) +***** test + u = y; + bnd = bim3c_unknowns_on_faces (msh, [3, 4]); + int = setdiff (1:columns (msh.p), bnd); + assert (M(int, int) * u(int), -M(int, bnd) * u(bnd), 100 * eps) +***** test + u = z; + bnd = bim3c_unknowns_on_faces (msh, [5, 6]); + int = setdiff (1:columns (msh.p), bnd); + assert (M(int, int) * u(int), -M(int, bnd) * u(bnd), 100 * eps) +***** test + u = z; + bnd = bim3c_unknowns_on_faces (msh, [5, 6]); + int = setdiff (1:columns (msh.p), bnd); + M = bim3a_osc_laplacian (msh, pi); + assert (M(int, int) * u(int), -M(int, bnd) * u(bnd), 100 * eps) +5 tests, 5 passed, 0 known failure, 0 skipped +[inst/bim3c_mesh_properties.m] +>>>>> /build/octave-bim-1.1.6/inst/bim3c_mesh_properties.m ***** shared mesh ***** test ***** test ***** test -3 tests, 3 passed, 0 known failure, 0 skipped +***** test +4 tests, 4 passed, 0 known failure, 0 skipped [inst/bim1a_axisymmetric_reaction.m] >>>>> /build/octave-bim-1.1.6/inst/bim1a_axisymmetric_reaction.m ***** test @@ -3146,112 +3272,90 @@ B = bim1a_axisymmetric_reaction(x,delta,zeta); assert(A,B) 3 tests, 3 passed, 0 known failure, 0 skipped -[inst/bim1a_reaction.m] ->>>>> /build/octave-bim-1.1.6/inst/bim1a_reaction.m -***** test - x = linspace(0,1,101); - A = bim1a_reaction(x,1,1); - delta = ones(100,1); - zeta = ones(101,1); - B = bim1a_reaction(x,delta,zeta); - assert(A,B) -1 test, 1 passed, 0 known failure, 0 skipped -[inst/bim3a_rhs.m] ->>>>> /build/octave-bim-1.1.6/inst/bim3a_rhs.m -***** shared mesh,f,g,nnodes,nelem -***** test -***** test -***** test -3 tests, 3 passed, 0 known failure, 0 skipped -[inst/bim3c_global_flux.m] ->>>>> /build/octave-bim-1.1.6/inst/bim3c_global_flux.m -***** test - N = 10; pp = linspace (0, 1, N); msh = bim3c_mesh_properties (msh3m_structured_mesh (pp, pp, pp, 1, 1:6)); - u = ones (N^3, 1); - v = ones (N^3, 1); - alpha = ones (columns (msh.t), 1); - F = bim3c_global_flux (msh, u, alpha, v); - assert (norm (F(:), inf), 0, 100*eps); -1 test, 1 passed, 0 known failure, 0 skipped -[inst/bim3a_reaction.m] ->>>>> /build/octave-bim-1.1.6/inst/bim3a_reaction.m -***** shared mesh,delta,zeta,nnodes,nelem -***** test -***** test -***** test -3 tests, 3 passed, 0 known failure, 0 skipped -[inst/bim3c_unknowns_on_faces.m] ->>>>> /build/octave-bim-1.1.6/inst/bim3c_unknowns_on_faces.m -***** shared mesh -***** test -***** test -***** test -3 tests, 3 passed, 0 known failure, 0 skipped -[inst/bim1a_axisymmetric_rhs.m] ->>>>> /build/octave-bim-1.1.6/inst/bim1a_axisymmetric_rhs.m -***** test - x = linspace(0,1,101); - A = bim1a_axisymmetric_rhs(x,1,1); - delta = ones(100,1); - zeta = ones(101,1); - B = bim1a_axisymmetric_rhs(x,delta,zeta); - assert(A,B) -1 test, 1 passed, 0 known failure, 0 skipped -[inst/bim2c_intrp.m] ->>>>> /build/octave-bim-1.1.6/inst/bim2c_intrp.m +[inst/bim2a_axisymmetric_boundary_mass.m] +>>>>> /build/octave-bim-1.1.6/inst/bim2a_axisymmetric_boundary_mass.m ***** test - msh = bim2c_mesh_properties (msh2m_structured_mesh (linspace (0, 1, 11), linspace (0, 1, 13), 1, 1:4)); - x = y = linspace (0, 1, 100).'; - u = msh.p(1, :).'; - ui = bim2c_intrp (msh, u, [], [x, y]); - assert (ui, linspace (0, 1, 100), 10*eps); + n = 3; + [mesh] = msh2m_structured_mesh(linspace(1,2,n+1),linspace(0,1,n+1),1,1:4); + mesh = bim2c_mesh_properties(mesh); + uex = @(r,z) exp(r); + duexdr = @(r,z) uex(r,z); + d2uexdr2 = @(r,z) uex(r,z); + duexdz = @(r,z) 0*uex(r,z); + d2uexdz2 = @(r,z) 0*uex(r,z); + Rnodesr = bim2c_unknowns_on_side(mesh,[2]); + Rnodesl = bim2c_unknowns_on_side(mesh,[4]); + Nnodes = columns(mesh.p); + Nelements = columns(mesh.t); + D = 1; vr = 1; vz = 0; + alpha = D*ones(Nelements,1); + gamma = ones(Nnodes,1); + eta = ones(Nnodes,1); + beta = 1/D*[vr*ones(1,Nelements); vz*ones(1,Nelements)]; + f = @(r,z) -D./r.*duexdr(r,z) - D.*d2uexdr2(r,z) ... + + vr./r .* uex(r,z) + vr * duexdr(r,z) ... + - D.*d2uexdz2(r,z) + vz * duexdz(r,z); + gr = @(r,z) uex(r,z) - 1 * (-D*duexdr(r,z) + vr*uex(r,z)); + gl = @(r,z) uex(r,z) - (-1) * (-D*duexdr(r,z) + vr*uex(r,z)); + rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(mesh.p(1,:), mesh.p(2,:))); + S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); + Mr = bim2a_axisymmetric_boundary_mass(mesh,2); Ml = bim2a_axisymmetric_boundary_mass(mesh,4); + S(Rnodesr,Rnodesr) += Mr; + rhs(Rnodesr) += diag(Mr) .* gr(mesh.p(1,Rnodesr), mesh.p(2,Rnodesr))'; + S(Rnodesl,Rnodesl) += Ml; + rhs(Rnodesl) += diag(Ml) .* gl(mesh.p(1,Rnodesl), mesh.p(2,Rnodesl))'; + u = S\rhs; + assert(u,uex(mesh.p(1,:), mesh.p(2,:))',1e-7) warning: 'matrix' object indexed with empty index list warning: called from msh2m_geometrical_properties>computearea at line 406 column 7 msh2m_geometrical_properties at line 167 column 13 bim2c_mesh_properties at line 44 column 40 - __test__ at line 3 column 6 + __test__ at line 5 column 9 test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 86 column 31 + /tmp/tmp.TS3GUQquA2 at line 70 column 31 -1 test, 1 passed, 0 known failure, 0 skipped -[inst/bim2a_axisymmetric_reaction.m] ->>>>> /build/octave-bim-1.1.6/inst/bim2a_axisymmetric_reaction.m -***** shared mesh,delta,zeta,nnodes,nelem -***** test -***** test ***** test -***** test - n = 20; + n = 10; [mesh] = msh2m_structured_mesh(linspace(1,2,n+1),linspace(0,1,n+1),1,1:4); mesh = bim2c_mesh_properties(mesh); - uex = @(r,z) exp(r) .* exp(1-z); + uex = @(r,z) exp(r); duexdr = @(r,z) uex(r,z); d2uexdr2 = @(r,z) uex(r,z); - duexdz = @(r,z) -uex(r,z); - d2uexdz2 = @(r,z) uex(r,z); - Dnodes = bim2c_unknowns_on_side(mesh,[1,2,3,4]); + duexdz = @(r,z) 0*uex(r,z); + d2uexdz2 = @(r,z) 0*uex(r,z); + Rnodesr = bim2c_unknowns_on_side(mesh,[2]); + Rnodesl = bim2c_unknowns_on_side(mesh,[4]); + Rnodesb = bim2c_unknowns_on_side(mesh,[1]); + Rnodest = bim2c_unknowns_on_side(mesh,[3]); Nnodes = columns(mesh.p); Nelements = columns(mesh.t); - Varnodes = setdiff(1:Nnodes,Dnodes); - D = 1; vr = 1; vz = 1; sigma = 1; + D = 1; vr = 1; vz = 0; alpha = D*ones(Nelements,1); gamma = ones(Nnodes,1); eta = ones(Nnodes,1); - delta = sigma*ones(columns(mesh.t),1); - zeta = ones(columns(mesh.p),1); beta = 1/D*[vr*ones(1,Nelements); vz*ones(1,Nelements)]; f = @(r,z) -D./r.*duexdr(r,z) - D.*d2uexdr2(r,z) ... + vr./r .* uex(r,z) + vr * duexdr(r,z) ... - - D.*d2uexdz2(r,z) + vz * duexdz(r,z) ... - + sigma * uex(r,z); + - D.*d2uexdz2(r,z) + vz * duexdz(r,z); + gr = @(r,z) uex(r,z) - 1 * (-D*duexdr(r,z) + vr*uex(r,z)); + gl = @(r,z) uex(r,z) - (-1) * (-D*duexdr(r,z) + vr*uex(r,z)); + gb = @(r,z) uex(r,z) - (-1) * (-D*duexdz(r,z) + vz*uex(r,z)); + gt = @(r,z) uex(r,z) - 1 * (-D*duexdz(r,z) + vz*uex(r,z)); rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(mesh.p(1,:), mesh.p(2,:))); S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); - C = bim2a_axisymmetric_reaction(mesh,delta,zeta); - S += C; - u = zeros(Nnodes,1); u(Dnodes) = uex(mesh.p(1,Dnodes), mesh.p(2,Dnodes)); - u(Varnodes) = S(Varnodes,Varnodes)\(rhs(Varnodes) - S(Varnodes,Dnodes)*u(Dnodes)); - assert(u,uex(mesh.p(1,:), mesh.p(2,:))',1e-3) + Mr = bim2a_axisymmetric_boundary_mass(mesh,2); Ml = bim2a_axisymmetric_boundary_mass(mesh,4); + Mb = bim2a_axisymmetric_boundary_mass(mesh,1); Mt = bim2a_axisymmetric_boundary_mass(mesh,3); + S(Rnodesr,Rnodesr) += Mr; + rhs(Rnodesr) += diag(Mr) .* gr(mesh.p(1,Rnodesr), mesh.p(2,Rnodesr))'; + S(Rnodesl,Rnodesl) += Ml; + rhs(Rnodesl) += diag(Ml) .* gl(mesh.p(1,Rnodesl), mesh.p(2,Rnodesl))'; + S(Rnodesb,Rnodesb) += Mb; + rhs(Rnodesb) += diag(Mb) .* gb(mesh.p(1,Rnodesb), mesh.p(2,Rnodesb))'; + S(Rnodest,Rnodest) += Mt; + rhs(Rnodest) += diag(Mt) .* gt(mesh.p(1,Rnodest), mesh.p(2,Rnodest))'; + u = S\rhs; + assert(u,uex(mesh.p(1,:), mesh.p(2,:))',1e-7) warning: 'matrix' object indexed with empty index list warning: called from msh2m_geometrical_properties>computearea at line 406 column 7 @@ -3259,41 +3363,9 @@ bim2c_mesh_properties at line 44 column 40 __test__ at line 5 column 9 test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 94 column 31 + /tmp/tmp.TS3GUQquA2 at line 70 column 31 -4 tests, 4 passed, 0 known failure, 0 skipped -[inst/bim1a_advection_upwind.m] ->>>>> /build/octave-bim-1.1.6/inst/bim1a_advection_upwind.m -***** test - n = 200; - mesh = linspace(0,1,n+1)'; - uex = @(r) - r.^2 + 1; - Nnodes = numel(mesh); - Nelements = Nnodes-1; - D = 1; v = 1; sigma = 0; - alpha = D*ones(Nelements,1); - gamma = ones(Nnodes,1); - eta = ones(Nnodes,1); - beta = 1/D*v*ones(Nelements,1); - delta = ones(Nelements,1); - zeta = sigma*ones(Nnodes,1); - f = @(r) 2*D - 2*v.*r + sigma*uex(r); - rhs = bim1a_rhs(mesh, ones(Nelements,1), f(mesh)); - S = bim1a_laplacian(mesh,alpha,gamma); - A = bim1a_advection_upwind(mesh, beta); - R = bim1a_reaction(mesh, delta, zeta); - S += (A+R); - u = zeros(Nnodes,1); u([1 end]) = uex(mesh([1 end])); - u(2:end-1) = S(2:end-1,2:end-1)\(rhs(2:end-1) - S(2:end-1,[1 end])*u([1 end])); - assert(u,uex(mesh),1e-3) -1 test, 1 passed, 0 known failure, 0 skipped -[inst/bim2a_rhs.m] ->>>>> /build/octave-bim-1.1.6/inst/bim2a_rhs.m -***** shared mesh,f,g,nnodes,nelem -***** test -***** test -***** test -3 tests, 3 passed, 0 known failure, 0 skipped +2 tests, 2 passed, 0 known failure, 0 skipped [inst/bim1a_axisymmetric_advection_upwind.m] >>>>> /build/octave-bim-1.1.6/inst/bim1a_axisymmetric_advection_upwind.m ***** test @@ -3318,243 +3390,6 @@ uh = M \ rhs; assert(uh, uex(mesh), 1e-3); 1 test, 1 passed, 0 known failure, 0 skipped -[inst/bim2a_reaction.m] ->>>>> /build/octave-bim-1.1.6/inst/bim2a_reaction.m -***** shared mesh,delta,zeta,nnodes,nelem -***** test -***** test -***** test -3 tests, 3 passed, 0 known failure, 0 skipped -[inst/bim2a_axisymmetric_advection_diffusion.m] ->>>>> /build/octave-bim-1.1.6/inst/bim2a_axisymmetric_advection_diffusion.m -***** test - n = 3; - [mesh] = msh2m_structured_mesh(linspace(1,2,n+1),linspace(0,1,n+1),1,1:4); - mesh = bim2c_mesh_properties(mesh); - uex = @(r,z) exp(r); - duexdr = @(r,z) uex(r,z); - d2uexdr2 = @(r,z) uex(r,z); - duexdz = @(r,z) 0*uex(r,z); - d2uexdz2 = @(r,z) 0*uex(r,z); - Dnodes = bim2c_unknowns_on_side(mesh,[2,4]); - Nnodes = columns(mesh.p); - Nelements = columns(mesh.t); - Varnodes = setdiff(1:Nnodes,Dnodes); - D = 1; vr = 1; vz = 0; - alpha = D*ones(Nelements,1); - gamma = ones(Nnodes,1); - eta = ones(Nnodes,1); - beta = 1/D*[vr*ones(1,Nelements); vz*ones(1,Nelements)]; - f = @(r,z) -D./r.*duexdr(r,z) - D.*d2uexdr2(r,z) ... - + vr./r .* uex(r,z) + vr * duexdr(r,z) ... - - D.*d2uexdz2(r,z) + vz * duexdz(r,z); - rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(mesh.p(1,:), mesh.p(2,:))); - S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); - u = zeros(Nnodes,1); u(Dnodes) = uex(mesh.p(1,Dnodes), mesh.p(2,Dnodes)); - u(Varnodes) = S(Varnodes,Varnodes)\(rhs(Varnodes) - S(Varnodes,Dnodes)*u(Dnodes)); - assert(u,uex(mesh.p(1,:), mesh.p(2,:))',1e-7) -warning: 'matrix' object indexed with empty index list -warning: called from - msh2m_geometrical_properties>computearea at line 406 column 7 - msh2m_geometrical_properties at line 167 column 13 - bim2c_mesh_properties at line 44 column 40 - __test__ at line 5 column 12 - test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 134 column 31 - -***** test - n = 20; - [mesh] = msh2m_structured_mesh(linspace(1,2,n+1),linspace(0,1,n+1),1,1:4); - mesh = bim2c_mesh_properties(mesh); - uex = @(r,z) exp(r) .* exp(1-z); - duexdr = @(r,z) uex(r,z); - d2uexdr2 = @(r,z) uex(r,z); - duexdz = @(r,z) -uex(r,z); - d2uexdz2 = @(r,z) uex(r,z); - Dnodes = bim2c_unknowns_on_side(mesh,[1,2,3,4]); - Nnodes = columns(mesh.p); - Nelements = columns(mesh.t); - Varnodes = setdiff(1:Nnodes,Dnodes); - D = 1; vr = 1; vz = 1; - alpha = D*ones(Nelements,1); - gamma = ones(Nnodes,1); - eta = ones(Nnodes,1); - beta = 1/D*[vr*ones(1,Nelements); vz*ones(1,Nelements)]; - f = @(r,z) -D./r.*duexdr(r,z) - D.*d2uexdr2(r,z) ... - + vr./r .* uex(r,z) + vr * duexdr(r,z) ... - - D.*d2uexdz2(r,z) + vz * duexdz(r,z); - rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(mesh.p(1,:), mesh.p(2,:))); - S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); - u = zeros(Nnodes,1); u(Dnodes) = uex(mesh.p(1,Dnodes), mesh.p(2,Dnodes)); - u(Varnodes) = S(Varnodes,Varnodes)\(rhs(Varnodes) - S(Varnodes,Dnodes)*u(Dnodes)); - assert(u,uex(mesh.p(1,:), mesh.p(2,:))',1e-3) -warning: 'matrix' object indexed with empty index list -warning: called from - msh2m_geometrical_properties>computearea at line 406 column 7 - msh2m_geometrical_properties at line 167 column 13 - bim2c_mesh_properties at line 44 column 40 - __test__ at line 5 column 12 - test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 134 column 31 - -***** test - n = 10; - [mesh] = msh2m_structured_mesh(linspace(1,2,n+1),linspace(0,1,n+1),1,1:4); - mesh = bim2c_mesh_properties(mesh); - uex = @(r,z) exp(r) .* exp(1-z); - duexdr = @(r,z) uex(r,z); - d2uexdr2 = @(r,z) uex(r,z); - duexdz = @(r,z) -uex(r,z); - d2uexdz2 = @(r,z) uex(r,z); - Dnodes = bim2c_unknowns_on_side(mesh,[1,2,3,4]); - Nnodes = columns(mesh.p); - Nelements = columns(mesh.t); - Varnodes = setdiff(1:Nnodes,Dnodes); - D = 1; - alpha = D*ones(Nelements,1); - gamma = ones(Nnodes,1); - eta = ones(Nnodes,1); - beta = 1/D * mesh.p(1,:)'; - f = @(r,z) -D./r.*duexdr(r,z) - D.*d2uexdr2(r,z) ... - + 1./r .* uex(r,z) + duexdr(r,z) ... - - D.*d2uexdz2(r,z); - rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(mesh.p(1,:), mesh.p(2,:))); - S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); - u = zeros(Nnodes,1); u(Dnodes) = uex(mesh.p(1,Dnodes), mesh.p(2,Dnodes)); - u(Varnodes) = S(Varnodes,Varnodes)\(rhs(Varnodes) - S(Varnodes,Dnodes)*u(Dnodes)); - assert(u,uex(mesh.p(1,:), mesh.p(2,:))',1e-3) -warning: 'matrix' object indexed with empty index list -warning: called from - msh2m_geometrical_properties>computearea at line 406 column 7 - msh2m_geometrical_properties at line 167 column 13 - bim2c_mesh_properties at line 44 column 40 - __test__ at line 5 column 12 - test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 134 column 31 - -***** test - n = 10; - [mesh] = msh2m_structured_mesh(linspace(1,2,n+1),linspace(0,1,n+1),1,1:4); - mesh = bim2c_mesh_properties(mesh); - uex = @(r,z) exp(r) .* exp(1-z); - duexdr = @(r,z) uex(r,z); - d2uexdr2 = @(r,z) uex(r,z); - duexdz = @(r,z) -uex(r,z); - d2uexdz2 = @(r,z) uex(r,z); - Dnodes = bim2c_unknowns_on_side(mesh,[1,2,3,4]); - Nnodes = columns(mesh.p); - Nelements = columns(mesh.t); - Varnodes = setdiff(1:Nnodes,Dnodes); - D = 1; - alpha = D*ones(Nelements,1); - gamma = ones(Nnodes,1); - eta = ones(Nnodes,1); - beta = 1/D * 1/2*(mesh.p(1,:)').^2; - f = @(r,z) 1./r.*(1+r).*(r-D) .* uex(r,z); - rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(mesh.p(1,:), mesh.p(2,:))); - S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); - u = zeros(Nnodes,1); u(Dnodes) = uex(mesh.p(1,Dnodes), mesh.p(2,Dnodes)); - u(Varnodes) = S(Varnodes,Varnodes)\(rhs(Varnodes) - S(Varnodes,Dnodes)*u(Dnodes)); - assert(u,uex(mesh.p(1,:), mesh.p(2,:))',1e-3) -warning: 'matrix' object indexed with empty index list -warning: called from - msh2m_geometrical_properties>computearea at line 406 column 7 - msh2m_geometrical_properties at line 167 column 13 - bim2c_mesh_properties at line 44 column 40 - __test__ at line 5 column 12 - test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 134 column 31 - -***** test - n = 3; - [mesh] = msh2m_structured_mesh(linspace(-2,-1,n+1),linspace(0,1,n+1),1,1:4); - mesh = bim2c_mesh_properties(mesh); - uex = @(r,z) exp(r); - duexdr = @(r,z) uex(r,z); - d2uexdr2 = @(r,z) uex(r,z); - duexdz = @(r,z) 0*uex(r,z); - d2uexdz2 = @(r,z) 0*uex(r,z); - Dnodes = bim2c_unknowns_on_side(mesh,[2,4]); - Nnodes = columns(mesh.p); - Nelements = columns(mesh.t); - Varnodes = setdiff(1:Nnodes,Dnodes); - D = 1; vr = 1; vz = 0; - alpha = D*ones(Nelements,1); - gamma = ones(Nnodes,1); - eta = ones(Nnodes,1); - beta = 1/D*[vr*ones(1,Nelements); vz*ones(1,Nelements)]; - f = @(r,z) -D./r.*duexdr(r,z) - D.*d2uexdr2(r,z) ... - + vr./r .* uex(r,z) + vr * duexdr(r,z) ... - - D.*d2uexdz2(r,z) + vz * duexdz(r,z); - rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(abs(mesh.p(1,:)), mesh.p(2,:))); - S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); - u = zeros(Nnodes,1); u(Dnodes) = uex(abs(mesh.p(1,Dnodes)), mesh.p(2,Dnodes)); - u(Varnodes) = S(Varnodes,Varnodes)\(rhs(Varnodes) - S(Varnodes,Dnodes)*u(Dnodes)); - assert(u,uex(abs(mesh.p(1,:)), mesh.p(2,:))',1e-7) -warning: 'matrix' object indexed with empty index list -warning: called from - msh2m_geometrical_properties>computearea at line 406 column 7 - msh2m_geometrical_properties at line 167 column 13 - bim2c_mesh_properties at line 44 column 40 - __test__ at line 5 column 12 - test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 134 column 31 - -***** test - n = 10; - [mesh] = msh2m_structured_mesh(linspace(-2,-1,n+1),linspace(0,1,n+1),1,1:4); - mesh = bim2c_mesh_properties(mesh); - uex = @(r,z) exp(r) .* exp(1-z); - duexdr = @(r,z) uex(r,z); - d2uexdr2 = @(r,z) uex(r,z); - duexdz = @(r,z) -uex(r,z); - d2uexdz2 = @(r,z) uex(r,z); - Dnodes = bim2c_unknowns_on_side(mesh,[1,2,3,4]); - Nnodes = columns(mesh.p); - Nelements = columns(mesh.t); - Varnodes = setdiff(1:Nnodes,Dnodes); - D = 1; - alpha = D*ones(Nelements,1); - gamma = ones(Nnodes,1); - eta = ones(Nnodes,1); - beta = 1/D * 1/2*(mesh.p(1,:)').^2; - f = @(r,z) 1./r.*(1+r).*(r-D) .* uex(r,z); - rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(abs(mesh.p(1,:)), mesh.p(2,:))); - S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); - u = zeros(Nnodes,1); u(Dnodes) = uex(abs(mesh.p(1,Dnodes)), mesh.p(2,Dnodes)); - u(Varnodes) = S(Varnodes,Varnodes)\(rhs(Varnodes) - S(Varnodes,Dnodes)*u(Dnodes)); - assert(u,uex(abs(mesh.p(1,:)), mesh.p(2,:))',1e-3) -warning: 'matrix' object indexed with empty index list -warning: called from - msh2m_geometrical_properties>computearea at line 406 column 7 - msh2m_geometrical_properties at line 167 column 13 - bim2c_mesh_properties at line 44 column 40 - __test__ at line 5 column 12 - test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 134 column 31 - -***** test - [mesh] = msh2m_structured_mesh([0:.1:1],[0:.1:1],1,1:4); - mesh = bim2c_mesh_properties(mesh); - x = mesh.p(1,:)'; y = mesh.p(2,:)'; - Dnodes = bim2c_unknowns_on_side(mesh,[1:4]); - Nnodes = columns(mesh.p); Nelements = columns(mesh.t); - alpha = ones(Nelements,1); eta=ones(Nnodes,1); - beta = 0; - gamma = ones(Nnodes,1); - A = bim2a_axisymmetric_advection_diffusion(mesh,1,1,1,0); - B = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); - assert(A,B) -warning: 'matrix' object indexed with empty index list -warning: called from - msh2m_geometrical_properties>computearea at line 406 column 7 - msh2m_geometrical_properties at line 167 column 13 - bim2c_mesh_properties at line 44 column 40 - __test__ at line 4 column 9 - test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 134 column 31 - -7 tests, 7 passed, 0 known failure, 0 skipped [inst/bim2a_advection_diffusion.m] >>>>> /build/octave-bim-1.1.6/inst/bim2a_advection_diffusion.m ***** test @@ -3582,7 +3417,7 @@ bim2c_mesh_properties at line 44 column 40 __test__ at line 4 column 9 test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 142 column 31 + /tmp/tmp.TS3GUQquA2 at line 86 column 31 ***** test [mesh] = msh2m_structured_mesh([0:1/3:1],[0:1/3:1],1,1:4); @@ -3608,7 +3443,7 @@ bim2c_mesh_properties at line 44 column 40 __test__ at line 4 column 9 test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 142 column 31 + /tmp/tmp.TS3GUQquA2 at line 86 column 31 ***** test [mesh] = msh2m_structured_mesh([0:1/3:1],[0:1/3:1],1,1:4); @@ -3634,7 +3469,7 @@ bim2c_mesh_properties at line 44 column 40 __test__ at line 4 column 9 test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 142 column 31 + /tmp/tmp.TS3GUQquA2 at line 86 column 31 ***** test [mesh] = msh2m_structured_mesh([0:1/3:1],[0:1/3:1],1,1:4); @@ -3659,7 +3494,7 @@ bim2c_mesh_properties at line 44 column 40 __test__ at line 4 column 9 test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 142 column 31 + /tmp/tmp.TS3GUQquA2 at line 86 column 31 ***** test [mesh] = msh2m_structured_mesh([0:1/1e3:1],[0:1/2:1],1,1:4); @@ -3685,7 +3520,7 @@ bim2c_mesh_properties at line 44 column 40 __test__ at line 4 column 9 test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 142 column 31 + /tmp/tmp.TS3GUQquA2 at line 86 column 31 ***** test [mesh] = msh2m_structured_mesh([0:1/1e3:1],[0:1/2:1],1,1:4); @@ -3711,7 +3546,7 @@ bim2c_mesh_properties at line 44 column 40 __test__ at line 4 column 7 test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 142 column 31 + /tmp/tmp.TS3GUQquA2 at line 86 column 31 ***** test [mesh] = msh2m_structured_mesh([0:.1:1],[0:.1:1],1,1:4); @@ -3741,7 +3576,7 @@ bim2c_mesh_properties at line 44 column 40 __test__ at line 4 column 7 test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 142 column 31 + /tmp/tmp.TS3GUQquA2 at line 86 column 31 ***** test [mesh] = msh2m_structured_mesh([0:.1:1],[0:.1:1],1,1:4); @@ -3762,24 +3597,24 @@ bim2c_mesh_properties at line 44 column 40 __test__ at line 4 column 9 test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 142 column 31 + /tmp/tmp.TS3GUQquA2 at line 86 column 31 8 tests, 8 passed, 0 known failure, 0 skipped -[inst/bim2a_axisymmetric_boundary_mass.m] ->>>>> /build/octave-bim-1.1.6/inst/bim2a_axisymmetric_boundary_mass.m +[inst/bim2a_axisymmetric_advection_diffusion.m] +>>>>> /build/octave-bim-1.1.6/inst/bim2a_axisymmetric_advection_diffusion.m ***** test - n = 3; - [mesh] = msh2m_structured_mesh(linspace(1,2,n+1),linspace(0,1,n+1),1,1:4); - mesh = bim2c_mesh_properties(mesh); - uex = @(r,z) exp(r); - duexdr = @(r,z) uex(r,z); - d2uexdr2 = @(r,z) uex(r,z); - duexdz = @(r,z) 0*uex(r,z); - d2uexdz2 = @(r,z) 0*uex(r,z); - Rnodesr = bim2c_unknowns_on_side(mesh,[2]); - Rnodesl = bim2c_unknowns_on_side(mesh,[4]); + n = 3; + [mesh] = msh2m_structured_mesh(linspace(1,2,n+1),linspace(0,1,n+1),1,1:4); + mesh = bim2c_mesh_properties(mesh); + uex = @(r,z) exp(r); + duexdr = @(r,z) uex(r,z); + d2uexdr2 = @(r,z) uex(r,z); + duexdz = @(r,z) 0*uex(r,z); + d2uexdz2 = @(r,z) 0*uex(r,z); + Dnodes = bim2c_unknowns_on_side(mesh,[2,4]); Nnodes = columns(mesh.p); Nelements = columns(mesh.t); + Varnodes = setdiff(1:Nnodes,Dnodes); D = 1; vr = 1; vz = 0; alpha = D*ones(Nelements,1); gamma = ones(Nnodes,1); @@ -3788,42 +3623,34 @@ f = @(r,z) -D./r.*duexdr(r,z) - D.*d2uexdr2(r,z) ... + vr./r .* uex(r,z) + vr * duexdr(r,z) ... - D.*d2uexdz2(r,z) + vz * duexdz(r,z); - gr = @(r,z) uex(r,z) - 1 * (-D*duexdr(r,z) + vr*uex(r,z)); - gl = @(r,z) uex(r,z) - (-1) * (-D*duexdr(r,z) + vr*uex(r,z)); - rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(mesh.p(1,:), mesh.p(2,:))); - S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); - Mr = bim2a_axisymmetric_boundary_mass(mesh,2); Ml = bim2a_axisymmetric_boundary_mass(mesh,4); - S(Rnodesr,Rnodesr) += Mr; - rhs(Rnodesr) += diag(Mr) .* gr(mesh.p(1,Rnodesr), mesh.p(2,Rnodesr))'; - S(Rnodesl,Rnodesl) += Ml; - rhs(Rnodesl) += diag(Ml) .* gl(mesh.p(1,Rnodesl), mesh.p(2,Rnodesl))'; - u = S\rhs; + rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(mesh.p(1,:), mesh.p(2,:))); + S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); + u = zeros(Nnodes,1); u(Dnodes) = uex(mesh.p(1,Dnodes), mesh.p(2,Dnodes)); + u(Varnodes) = S(Varnodes,Varnodes)\(rhs(Varnodes) - S(Varnodes,Dnodes)*u(Dnodes)); assert(u,uex(mesh.p(1,:), mesh.p(2,:))',1e-7) warning: 'matrix' object indexed with empty index list warning: called from msh2m_geometrical_properties>computearea at line 406 column 7 msh2m_geometrical_properties at line 167 column 13 bim2c_mesh_properties at line 44 column 40 - __test__ at line 5 column 9 + __test__ at line 5 column 12 test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 150 column 31 + /tmp/tmp.TS3GUQquA2 at line 94 column 31 ***** test - n = 10; - [mesh] = msh2m_structured_mesh(linspace(1,2,n+1),linspace(0,1,n+1),1,1:4); - mesh = bim2c_mesh_properties(mesh); - uex = @(r,z) exp(r); - duexdr = @(r,z) uex(r,z); - d2uexdr2 = @(r,z) uex(r,z); - duexdz = @(r,z) 0*uex(r,z); - d2uexdz2 = @(r,z) 0*uex(r,z); - Rnodesr = bim2c_unknowns_on_side(mesh,[2]); - Rnodesl = bim2c_unknowns_on_side(mesh,[4]); - Rnodesb = bim2c_unknowns_on_side(mesh,[1]); - Rnodest = bim2c_unknowns_on_side(mesh,[3]); + n = 20; + [mesh] = msh2m_structured_mesh(linspace(1,2,n+1),linspace(0,1,n+1),1,1:4); + mesh = bim2c_mesh_properties(mesh); + uex = @(r,z) exp(r) .* exp(1-z); + duexdr = @(r,z) uex(r,z); + d2uexdr2 = @(r,z) uex(r,z); + duexdz = @(r,z) -uex(r,z); + d2uexdz2 = @(r,z) uex(r,z); + Dnodes = bim2c_unknowns_on_side(mesh,[1,2,3,4]); Nnodes = columns(mesh.p); Nelements = columns(mesh.t); - D = 1; vr = 1; vz = 0; + Varnodes = setdiff(1:Nnodes,Dnodes); + D = 1; vr = 1; vz = 1; alpha = D*ones(Nelements,1); gamma = ones(Nnodes,1); eta = ones(Nnodes,1); @@ -3831,97 +3658,178 @@ f = @(r,z) -D./r.*duexdr(r,z) - D.*d2uexdr2(r,z) ... + vr./r .* uex(r,z) + vr * duexdr(r,z) ... - D.*d2uexdz2(r,z) + vz * duexdz(r,z); - gr = @(r,z) uex(r,z) - 1 * (-D*duexdr(r,z) + vr*uex(r,z)); - gl = @(r,z) uex(r,z) - (-1) * (-D*duexdr(r,z) + vr*uex(r,z)); - gb = @(r,z) uex(r,z) - (-1) * (-D*duexdz(r,z) + vz*uex(r,z)); - gt = @(r,z) uex(r,z) - 1 * (-D*duexdz(r,z) + vz*uex(r,z)); - rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(mesh.p(1,:), mesh.p(2,:))); - S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); - Mr = bim2a_axisymmetric_boundary_mass(mesh,2); Ml = bim2a_axisymmetric_boundary_mass(mesh,4); - Mb = bim2a_axisymmetric_boundary_mass(mesh,1); Mt = bim2a_axisymmetric_boundary_mass(mesh,3); - S(Rnodesr,Rnodesr) += Mr; - rhs(Rnodesr) += diag(Mr) .* gr(mesh.p(1,Rnodesr), mesh.p(2,Rnodesr))'; - S(Rnodesl,Rnodesl) += Ml; - rhs(Rnodesl) += diag(Ml) .* gl(mesh.p(1,Rnodesl), mesh.p(2,Rnodesl))'; - S(Rnodesb,Rnodesb) += Mb; - rhs(Rnodesb) += diag(Mb) .* gb(mesh.p(1,Rnodesb), mesh.p(2,Rnodesb))'; - S(Rnodest,Rnodest) += Mt; - rhs(Rnodest) += diag(Mt) .* gt(mesh.p(1,Rnodest), mesh.p(2,Rnodest))'; - u = S\rhs; - assert(u,uex(mesh.p(1,:), mesh.p(2,:))',1e-7) + rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(mesh.p(1,:), mesh.p(2,:))); + S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); + u = zeros(Nnodes,1); u(Dnodes) = uex(mesh.p(1,Dnodes), mesh.p(2,Dnodes)); + u(Varnodes) = S(Varnodes,Varnodes)\(rhs(Varnodes) - S(Varnodes,Dnodes)*u(Dnodes)); + assert(u,uex(mesh.p(1,:), mesh.p(2,:))',1e-3) warning: 'matrix' object indexed with empty index list warning: called from msh2m_geometrical_properties>computearea at line 406 column 7 msh2m_geometrical_properties at line 167 column 13 bim2c_mesh_properties at line 44 column 40 - __test__ at line 5 column 9 + __test__ at line 5 column 12 test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 150 column 31 + /tmp/tmp.TS3GUQquA2 at line 94 column 31 -2 tests, 2 passed, 0 known failure, 0 skipped -[inst/bim1c_norm.m] ->>>>> /build/octave-bim-1.1.6/inst/bim1c_norm.m -***** xtest -***** shared L, V, m - L = rand (1); V = rand (1); m = linspace (0,1,5).^2; m *= L; - u = V * ones (size (m))'; - uinf = bim1c_norm (m, u, 'inf'); - uL2 = bim1c_norm (m, u, 'L2'); - uH1 = bim1c_norm (m, u, 'H1'); - assert ([uinf, uL2, uH1], [V, V*sqrt(L), V*sqrt(L)], 1e-12); ***** test - u = V * m'; - uinf = bim1c_norm (m, u, 'inf'); - uL2 = bim1c_norm (m, u, 'L2'); - uH1 = bim1c_norm (m, u, 'H1'); - assert ([uinf, uL2, uH1], - [L*V, V*sqrt(L^3/3), V*sqrt(L^3/3 + L)], - 1e-12); -***** test - u = V * ones (size (diff (m)))'; - uinf = bim1c_norm (m, u, 'inf'); - uL2 = bim1c_norm (m, u, 'L2'); - assert ([uinf, uL2], [V, V*sqrt(L)], 1e-12); -3 tests, 3 passed, 0 known failure, 0 skipped -[inst/bim1a_advection_diffusion.m] ->>>>> /build/octave-bim-1.1.6/inst/bim1a_advection_diffusion.m -***** test - x = linspace(0,1,101); - A = bim1a_advection_diffusion(x,1,1,1,0); - alpha = ones(100,1); - gamma = ones(101,1); - eta = gamma; - B = bim1a_advection_diffusion(x,alpha,gamma,eta,0); - assert(A,B) -1 test, 1 passed, 0 known failure, 0 skipped -[inst/bim2c_tri_to_nodes.m] ->>>>> /build/octave-bim-1.1.6/inst/bim2c_tri_to_nodes.m -***** test - msh = bim2c_mesh_properties (msh2m_structured_mesh (linspace (0, 1, 3), linspace (0, 1, 3), 1, 1:4, "random")); - nel = columns (msh.t); - nnod = columns (msh.p); - u_tri = randn (nel, 1); - un1 = bim2c_tri_to_nodes (msh, u_tri); - [un2, m] = bim2c_tri_to_nodes (msh, u_tri); - assert (un1, un2, 1e-10) + n = 10; + [mesh] = msh2m_structured_mesh(linspace(1,2,n+1),linspace(0,1,n+1),1,1:4); + mesh = bim2c_mesh_properties(mesh); + uex = @(r,z) exp(r) .* exp(1-z); + duexdr = @(r,z) uex(r,z); + d2uexdr2 = @(r,z) uex(r,z); + duexdz = @(r,z) -uex(r,z); + d2uexdz2 = @(r,z) uex(r,z); + Dnodes = bim2c_unknowns_on_side(mesh,[1,2,3,4]); + Nnodes = columns(mesh.p); + Nelements = columns(mesh.t); + Varnodes = setdiff(1:Nnodes,Dnodes); + D = 1; + alpha = D*ones(Nelements,1); + gamma = ones(Nnodes,1); + eta = ones(Nnodes,1); + beta = 1/D * mesh.p(1,:)'; + f = @(r,z) -D./r.*duexdr(r,z) - D.*d2uexdr2(r,z) ... + + 1./r .* uex(r,z) + duexdr(r,z) ... + - D.*d2uexdz2(r,z); + rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(mesh.p(1,:), mesh.p(2,:))); + S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); + u = zeros(Nnodes,1); u(Dnodes) = uex(mesh.p(1,Dnodes), mesh.p(2,Dnodes)); + u(Varnodes) = S(Varnodes,Varnodes)\(rhs(Varnodes) - S(Varnodes,Dnodes)*u(Dnodes)); + assert(u,uex(mesh.p(1,:), mesh.p(2,:))',1e-3) warning: 'matrix' object indexed with empty index list warning: called from msh2m_geometrical_properties>computearea at line 406 column 7 msh2m_geometrical_properties at line 167 column 13 bim2c_mesh_properties at line 44 column 40 - __test__ at line 3 column 6 + __test__ at line 5 column 12 test at line 683 column 11 - /tmp/tmp.foejF3dVlD at line 174 column 31 + /tmp/tmp.TS3GUQquA2 at line 94 column 31 -1 test, 1 passed, 0 known failure, 0 skipped -[inst/bim3c_mesh_properties.m] ->>>>> /build/octave-bim-1.1.6/inst/bim3c_mesh_properties.m -***** shared mesh ***** test + n = 10; + [mesh] = msh2m_structured_mesh(linspace(1,2,n+1),linspace(0,1,n+1),1,1:4); + mesh = bim2c_mesh_properties(mesh); + uex = @(r,z) exp(r) .* exp(1-z); + duexdr = @(r,z) uex(r,z); + d2uexdr2 = @(r,z) uex(r,z); + duexdz = @(r,z) -uex(r,z); + d2uexdz2 = @(r,z) uex(r,z); + Dnodes = bim2c_unknowns_on_side(mesh,[1,2,3,4]); + Nnodes = columns(mesh.p); + Nelements = columns(mesh.t); + Varnodes = setdiff(1:Nnodes,Dnodes); + D = 1; + alpha = D*ones(Nelements,1); + gamma = ones(Nnodes,1); + eta = ones(Nnodes,1); + beta = 1/D * 1/2*(mesh.p(1,:)').^2; + f = @(r,z) 1./r.*(1+r).*(r-D) .* uex(r,z); + rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(mesh.p(1,:), mesh.p(2,:))); + S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); + u = zeros(Nnodes,1); u(Dnodes) = uex(mesh.p(1,Dnodes), mesh.p(2,Dnodes)); + u(Varnodes) = S(Varnodes,Varnodes)\(rhs(Varnodes) - S(Varnodes,Dnodes)*u(Dnodes)); + assert(u,uex(mesh.p(1,:), mesh.p(2,:))',1e-3) +warning: 'matrix' object indexed with empty index list +warning: called from + msh2m_geometrical_properties>computearea at line 406 column 7 + msh2m_geometrical_properties at line 167 column 13 + bim2c_mesh_properties at line 44 column 40 + __test__ at line 5 column 12 + test at line 683 column 11 + /tmp/tmp.TS3GUQquA2 at line 94 column 31 + ***** test + n = 3; + [mesh] = msh2m_structured_mesh(linspace(-2,-1,n+1),linspace(0,1,n+1),1,1:4); + mesh = bim2c_mesh_properties(mesh); + uex = @(r,z) exp(r); + duexdr = @(r,z) uex(r,z); + d2uexdr2 = @(r,z) uex(r,z); + duexdz = @(r,z) 0*uex(r,z); + d2uexdz2 = @(r,z) 0*uex(r,z); + Dnodes = bim2c_unknowns_on_side(mesh,[2,4]); + Nnodes = columns(mesh.p); + Nelements = columns(mesh.t); + Varnodes = setdiff(1:Nnodes,Dnodes); + D = 1; vr = 1; vz = 0; + alpha = D*ones(Nelements,1); + gamma = ones(Nnodes,1); + eta = ones(Nnodes,1); + beta = 1/D*[vr*ones(1,Nelements); vz*ones(1,Nelements)]; + f = @(r,z) -D./r.*duexdr(r,z) - D.*d2uexdr2(r,z) ... + + vr./r .* uex(r,z) + vr * duexdr(r,z) ... + - D.*d2uexdz2(r,z) + vz * duexdz(r,z); + rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(abs(mesh.p(1,:)), mesh.p(2,:))); + S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); + u = zeros(Nnodes,1); u(Dnodes) = uex(abs(mesh.p(1,Dnodes)), mesh.p(2,Dnodes)); + u(Varnodes) = S(Varnodes,Varnodes)\(rhs(Varnodes) - S(Varnodes,Dnodes)*u(Dnodes)); + assert(u,uex(abs(mesh.p(1,:)), mesh.p(2,:))',1e-7) +warning: 'matrix' object indexed with empty index list +warning: called from + msh2m_geometrical_properties>computearea at line 406 column 7 + msh2m_geometrical_properties at line 167 column 13 + bim2c_mesh_properties at line 44 column 40 + __test__ at line 5 column 12 + test at line 683 column 11 + /tmp/tmp.TS3GUQquA2 at line 94 column 31 + ***** test + n = 10; + [mesh] = msh2m_structured_mesh(linspace(-2,-1,n+1),linspace(0,1,n+1),1,1:4); + mesh = bim2c_mesh_properties(mesh); + uex = @(r,z) exp(r) .* exp(1-z); + duexdr = @(r,z) uex(r,z); + d2uexdr2 = @(r,z) uex(r,z); + duexdz = @(r,z) -uex(r,z); + d2uexdz2 = @(r,z) uex(r,z); + Dnodes = bim2c_unknowns_on_side(mesh,[1,2,3,4]); + Nnodes = columns(mesh.p); + Nelements = columns(mesh.t); + Varnodes = setdiff(1:Nnodes,Dnodes); + D = 1; + alpha = D*ones(Nelements,1); + gamma = ones(Nnodes,1); + eta = ones(Nnodes,1); + beta = 1/D * 1/2*(mesh.p(1,:)').^2; + f = @(r,z) 1./r.*(1+r).*(r-D) .* uex(r,z); + rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(abs(mesh.p(1,:)), mesh.p(2,:))); + S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); + u = zeros(Nnodes,1); u(Dnodes) = uex(abs(mesh.p(1,Dnodes)), mesh.p(2,Dnodes)); + u(Varnodes) = S(Varnodes,Varnodes)\(rhs(Varnodes) - S(Varnodes,Dnodes)*u(Dnodes)); + assert(u,uex(abs(mesh.p(1,:)), mesh.p(2,:))',1e-3) +warning: 'matrix' object indexed with empty index list +warning: called from + msh2m_geometrical_properties>computearea at line 406 column 7 + msh2m_geometrical_properties at line 167 column 13 + bim2c_mesh_properties at line 44 column 40 + __test__ at line 5 column 12 + test at line 683 column 11 + /tmp/tmp.TS3GUQquA2 at line 94 column 31 + ***** test -4 tests, 4 passed, 0 known failure, 0 skipped + [mesh] = msh2m_structured_mesh([0:.1:1],[0:.1:1],1,1:4); + mesh = bim2c_mesh_properties(mesh); + x = mesh.p(1,:)'; y = mesh.p(2,:)'; + Dnodes = bim2c_unknowns_on_side(mesh,[1:4]); + Nnodes = columns(mesh.p); Nelements = columns(mesh.t); + alpha = ones(Nelements,1); eta=ones(Nnodes,1); + beta = 0; + gamma = ones(Nnodes,1); + A = bim2a_axisymmetric_advection_diffusion(mesh,1,1,1,0); + B = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); + assert(A,B) +warning: 'matrix' object indexed with empty index list +warning: called from + msh2m_geometrical_properties>computearea at line 406 column 7 + msh2m_geometrical_properties at line 167 column 13 + bim2c_mesh_properties at line 44 column 40 + __test__ at line 4 column 9 + test at line 683 column 11 + /tmp/tmp.TS3GUQquA2 at line 94 column 31 + +7 tests, 7 passed, 0 known failure, 0 skipped [inst/bim1a_rhs.m] >>>>> /build/octave-bim-1.1.6/inst/bim1a_rhs.m ***** test @@ -3932,54 +3840,16 @@ B = bim1a_rhs(x,delta,zeta); assert(A,B) 1 test, 1 passed, 0 known failure, 0 skipped -[inst/bim1c_elem_to_nodes.m] ->>>>> /build/octave-bim-1.1.6/inst/bim1c_elem_to_nodes.m +[inst/bim1a_reaction.m] +>>>>> /build/octave-bim-1.1.6/inst/bim1a_reaction.m ***** test - n = 10; msh = linspace (0, 1, n+1); - nel = n; - nnod = n+1; - u_el = randn (nel, 1); - un1 = bim1c_elem_to_nodes (msh, u_el); - [un2, m] = bim1c_elem_to_nodes (msh, u_el); - un3 = bim1c_elem_to_nodes (m, u_el); - [un4, m] = bim1c_elem_to_nodes (m, u_el); - assert (un1, un2, 1e-10) - assert (un1, un3, 1e-10) - assert (un1, un4, 1e-10) + x = linspace(0,1,101); + A = bim1a_reaction(x,1,1); + delta = ones(100,1); + zeta = ones(101,1); + B = bim1a_reaction(x,delta,zeta); + assert(A,B) 1 test, 1 passed, 0 known failure, 0 skipped -[inst/bim2c_norm.m] ->>>>> /build/octave-bim-1.1.6/inst/bim2c_norm.m -***** test -***** shared L, V, x, y, m - L = rand (1); V = rand (1); x = linspace (0,L,4); y = x; - m = msh2m_structured_mesh (x,y,1,1:4); - m.area = msh2m_geometrical_properties (m, 'area'); - m.shg = msh2m_geometrical_properties (m, 'shg'); - u = V * ones (columns(m.p),1); - uinf = bim2c_norm (m, u, 'inf'); - uL2 = bim2c_norm (m, u, 'L2'); - uH1 = bim2c_norm (m, u, 'H1'); - assert ([uinf, uL2, uH1], [V, V*L, V*L], 1e-12); -***** test - u = V * (m.p(1,:) + 2*m.p(2,:))'; - uinf = bim2c_norm (m, u, 'inf'); - uL2 = bim2c_norm (m, u, 'L2'); - uH1 = bim2c_norm (m, u, 'H1'); - assert ([uinf, uL2, uH1], - [3*L*V, V*L^2*sqrt(8/3), V*sqrt(8/3*L^4 + 5*L^2)], - 1e-12); -***** test - u = V * ones (columns(m.t),1); - uinf = bim2c_norm (m, u, 'inf'); - uL2 = bim2c_norm (m, u, 'L2'); - assert ([uinf, uL2], [V, V*L], 1e-12); -***** test - u = V * ones (columns(m.t),1); - uvect = [u, 2*u]; - uinf = bim2c_norm (m, uvect, 'inf'); - uL2 = bim2c_norm (m, uvect, 'L2'); - assert ([uinf, uL2], [2*V, V*L*sqrt(5)], 1e-12); -4 tests, 4 passed, 0 known failure, 0 skipped [inst/bim1a_axisymmetric_advection_diffusion.m] >>>>> /build/octave-bim-1.1.6/inst/bim1a_axisymmetric_advection_diffusion.m ***** test @@ -4047,46 +3917,54 @@ B = bim1a_axisymmetric_advection_diffusion(x,alpha,gamma,eta,0); assert(A,B) 4 tests, 4 passed, 0 known failure, 0 skipped -[inst/bim3a_laplacian.m] ->>>>> /build/octave-bim-1.1.6/inst/bim3a_laplacian.m -***** shared mesh,epsilon,kappa,nnodes,nelem +[inst/bim1c_norm.m] +>>>>> /build/octave-bim-1.1.6/inst/bim1c_norm.m +***** xtest +***** shared L, V, m + L = rand (1); V = rand (1); m = linspace (0,1,5).^2; m *= L; + u = V * ones (size (m))'; + uinf = bim1c_norm (m, u, 'inf'); + uL2 = bim1c_norm (m, u, 'L2'); + uH1 = bim1c_norm (m, u, 'H1'); + assert ([uinf, uL2, uH1], [V, V*sqrt(L), V*sqrt(L)], 1e-12); +***** test + u = V * m'; + uinf = bim1c_norm (m, u, 'inf'); + uL2 = bim1c_norm (m, u, 'L2'); + uH1 = bim1c_norm (m, u, 'H1'); + assert ([uinf, uL2, uH1], + [L*V, V*sqrt(L^3/3), V*sqrt(L^3/3 + L)], + 1e-12); +***** test + u = V * ones (size (diff (m)))'; + uinf = bim1c_norm (m, u, 'inf'); + uL2 = bim1c_norm (m, u, 'L2'); + assert ([uinf, uL2], [V, V*sqrt(L)], 1e-12); +3 tests, 3 passed, 0 known failure, 0 skipped +[inst/bim2a_rhs.m] +>>>>> /build/octave-bim-1.1.6/inst/bim2a_rhs.m +***** shared mesh,f,g,nnodes,nelem ***** test ***** test ***** test 3 tests, 3 passed, 0 known failure, 0 skipped -[inst/bim3c_norm.m] ->>>>> /build/octave-bim-1.1.6/inst/bim3c_norm.m +[inst/bim1a_axisymmetric_rhs.m] +>>>>> /build/octave-bim-1.1.6/inst/bim1a_axisymmetric_rhs.m ***** test -***** shared L, V, x, y, z, m - L = rand (1); V = rand (1); x = linspace (0,L,4); y = x; z = x; - m = msh3m_structured_mesh (x,y,z,1,1:6); - m.area = msh3m_geometrical_properties (m, 'area'); - m.shg = msh3m_geometrical_properties (m, 'shg'); - u = V * ones (columns(m.p),1); - uinf = bim3c_norm (m, u, 'inf'); - uL2 = bim3c_norm (m, u, 'L2'); - uH1 = bim3c_norm (m, u, 'H1'); - assert ([uinf, uL2, uH1], [V, V*sqrt(L^3), V*sqrt(L^3)], 1e-12); + x = linspace(0,1,101); + A = bim1a_axisymmetric_rhs(x,1,1); + delta = ones(100,1); + zeta = ones(101,1); + B = bim1a_axisymmetric_rhs(x,delta,zeta); + assert(A,B) +1 test, 1 passed, 0 known failure, 0 skipped +[inst/bim3a_laplacian.m] +>>>>> /build/octave-bim-1.1.6/inst/bim3a_laplacian.m +***** shared mesh,epsilon,kappa,nnodes,nelem ***** test - u = V * (m.p(1,:) + 2*m.p(2,:) + 3*m.p(3,:))'; - uinf = bim3c_norm (m, u, 'inf'); - uL2 = bim3c_norm (m, u, 'L2'); - uH1 = bim3c_norm (m, u, 'H1'); - assert ([uinf, uL2, uH1], - [6*L*V, V*sqrt(61/6*L^5), V*sqrt(61/6*L^5 + 14*L^3)], - 1e-12); ***** test - u = V * ones (columns(m.t),1); - uinf = bim3c_norm (m, u, 'inf'); - uL2 = bim3c_norm (m, u, 'L2'); - assert ([uinf, uL2], [V, V*sqrt(L^3)], 1e-12); ***** test - u = V * ones (columns(m.t),1); - uvect = [u, 2*u, 3*u]; - uinf = bim3c_norm (m, uvect, 'inf'); - uL2 = bim3c_norm (m, uvect, 'L2'); - assert ([uinf, uL2], [3*V, V*sqrt(14*L^3)], 1e-12); -4 tests, 4 passed, 0 known failure, 0 skipped +3 tests, 3 passed, 0 known failure, 0 skipped [inst/bim3a_osc_advection_diffusion.m] >>>>> /build/octave-bim-1.1.6/inst/bim3a_osc_advection_diffusion.m ***** shared msh, epsilon, M, nnodes, nelem, x, y, z @@ -4244,6 +4122,111 @@ fpl_vtk_raw_write_field (fname_out, msh, {uosc, "u_osc"; ugal, "u_galerkin"}, {}); unlink (fname); 8 tests, 8 passed, 0 known failure, 0 skipped +[inst/bim2a_axisymmetric_reaction.m] +>>>>> /build/octave-bim-1.1.6/inst/bim2a_axisymmetric_reaction.m +***** shared mesh,delta,zeta,nnodes,nelem +***** test +***** test +***** test +***** test + n = 20; + [mesh] = msh2m_structured_mesh(linspace(1,2,n+1),linspace(0,1,n+1),1,1:4); + mesh = bim2c_mesh_properties(mesh); + uex = @(r,z) exp(r) .* exp(1-z); + duexdr = @(r,z) uex(r,z); + d2uexdr2 = @(r,z) uex(r,z); + duexdz = @(r,z) -uex(r,z); + d2uexdz2 = @(r,z) uex(r,z); + Dnodes = bim2c_unknowns_on_side(mesh,[1,2,3,4]); + Nnodes = columns(mesh.p); + Nelements = columns(mesh.t); + Varnodes = setdiff(1:Nnodes,Dnodes); + D = 1; vr = 1; vz = 1; sigma = 1; + alpha = D*ones(Nelements,1); + gamma = ones(Nnodes,1); + eta = ones(Nnodes,1); + delta = sigma*ones(columns(mesh.t),1); + zeta = ones(columns(mesh.p),1); + beta = 1/D*[vr*ones(1,Nelements); vz*ones(1,Nelements)]; + f = @(r,z) -D./r.*duexdr(r,z) - D.*d2uexdr2(r,z) ... + + vr./r .* uex(r,z) + vr * duexdr(r,z) ... + - D.*d2uexdz2(r,z) + vz * duexdz(r,z) ... + + sigma * uex(r,z); + rhs = bim2a_axisymmetric_rhs(mesh, ones(Nelements,1), f(mesh.p(1,:), mesh.p(2,:))); + S = bim2a_axisymmetric_advection_diffusion(mesh,alpha,gamma,eta,beta); + C = bim2a_axisymmetric_reaction(mesh,delta,zeta); + S += C; + u = zeros(Nnodes,1); u(Dnodes) = uex(mesh.p(1,Dnodes), mesh.p(2,Dnodes)); + u(Varnodes) = S(Varnodes,Varnodes)\(rhs(Varnodes) - S(Varnodes,Dnodes)*u(Dnodes)); + assert(u,uex(mesh.p(1,:), mesh.p(2,:))',1e-3) +warning: 'matrix' object indexed with empty index list +warning: called from + msh2m_geometrical_properties>computearea at line 406 column 7 + msh2m_geometrical_properties at line 167 column 13 + bim2c_mesh_properties at line 44 column 40 + __test__ at line 5 column 9 + test at line 683 column 11 + /tmp/tmp.TS3GUQquA2 at line 166 column 31 + +4 tests, 4 passed, 0 known failure, 0 skipped +[inst/bim3c_norm.m] +>>>>> /build/octave-bim-1.1.6/inst/bim3c_norm.m +***** test +***** shared L, V, x, y, z, m + L = rand (1); V = rand (1); x = linspace (0,L,4); y = x; z = x; + m = msh3m_structured_mesh (x,y,z,1,1:6); + m.area = msh3m_geometrical_properties (m, 'area'); + m.shg = msh3m_geometrical_properties (m, 'shg'); + u = V * ones (columns(m.p),1); + uinf = bim3c_norm (m, u, 'inf'); + uL2 = bim3c_norm (m, u, 'L2'); + uH1 = bim3c_norm (m, u, 'H1'); + assert ([uinf, uL2, uH1], [V, V*sqrt(L^3), V*sqrt(L^3)], 1e-12); +***** test + u = V * (m.p(1,:) + 2*m.p(2,:) + 3*m.p(3,:))'; + uinf = bim3c_norm (m, u, 'inf'); + uL2 = bim3c_norm (m, u, 'L2'); + uH1 = bim3c_norm (m, u, 'H1'); + assert ([uinf, uL2, uH1], + [6*L*V, V*sqrt(61/6*L^5), V*sqrt(61/6*L^5 + 14*L^3)], + 1e-12); +***** test + u = V * ones (columns(m.t),1); + uinf = bim3c_norm (m, u, 'inf'); + uL2 = bim3c_norm (m, u, 'L2'); + assert ([uinf, uL2], [V, V*sqrt(L^3)], 1e-12); +***** test + u = V * ones (columns(m.t),1); + uvect = [u, 2*u, 3*u]; + uinf = bim3c_norm (m, uvect, 'inf'); + uL2 = bim3c_norm (m, uvect, 'L2'); + assert ([uinf, uL2], [3*V, V*sqrt(14*L^3)], 1e-12); +4 tests, 4 passed, 0 known failure, 0 skipped +[inst/bim1a_advection_upwind.m] +>>>>> /build/octave-bim-1.1.6/inst/bim1a_advection_upwind.m +***** test + n = 200; + mesh = linspace(0,1,n+1)'; + uex = @(r) - r.^2 + 1; + Nnodes = numel(mesh); + Nelements = Nnodes-1; + D = 1; v = 1; sigma = 0; + alpha = D*ones(Nelements,1); + gamma = ones(Nnodes,1); + eta = ones(Nnodes,1); + beta = 1/D*v*ones(Nelements,1); + delta = ones(Nelements,1); + zeta = sigma*ones(Nnodes,1); + f = @(r) 2*D - 2*v.*r + sigma*uex(r); + rhs = bim1a_rhs(mesh, ones(Nelements,1), f(mesh)); + S = bim1a_laplacian(mesh,alpha,gamma); + A = bim1a_advection_upwind(mesh, beta); + R = bim1a_reaction(mesh, delta, zeta); + S += (A+R); + u = zeros(Nnodes,1); u([1 end]) = uex(mesh([1 end])); + u(2:end-1) = S(2:end-1,2:end-1)\(rhs(2:end-1) - S(2:end-1,[1 end])*u([1 end])); + assert(u,uex(mesh),1e-3) +1 test, 1 passed, 0 known failure, 0 skipped [inst/bim3c_intrp.m] >>>>> /build/octave-bim-1.1.6/inst/bim3c_intrp.m ***** test @@ -4253,39 +4236,6 @@ ui = bim3c_intrp (msh, u, [], [x, y, z]); assert (ui, linspace (0, 1, 100), 10*eps); 1 test, 1 passed, 0 known failure, 0 skipped -[inst/bim3a_osc_laplacian.m] ->>>>> /build/octave-bim-1.1.6/inst/bim3a_osc_laplacian.m -***** shared msh, epsilon, M, nnodes, nelem, x, y, z -***** test - msh = bim3c_mesh_properties (msh3m_structured_mesh (0:5, 0:5, 0:5, 1, 1:6)); - x = msh.p (1, :).'; - y = msh.p (2, :).'; - z = msh.p (3, :).'; - u = ones (size (x)); - M = bim3a_osc_laplacian (msh, 1); - assert (M * u, zeros (size (u)), eps * 100) -***** test - u = x; - bnd = bim3c_unknowns_on_faces (msh, [1, 2]); - int = setdiff (1:columns (msh.p), bnd); - assert (M(int, int) * u(int), -M(int, bnd) * u(bnd), 100 * eps) -***** test - u = y; - bnd = bim3c_unknowns_on_faces (msh, [3, 4]); - int = setdiff (1:columns (msh.p), bnd); - assert (M(int, int) * u(int), -M(int, bnd) * u(bnd), 100 * eps) -***** test - u = z; - bnd = bim3c_unknowns_on_faces (msh, [5, 6]); - int = setdiff (1:columns (msh.p), bnd); - assert (M(int, int) * u(int), -M(int, bnd) * u(bnd), 100 * eps) -***** test - u = z; - bnd = bim3c_unknowns_on_faces (msh, [5, 6]); - int = setdiff (1:columns (msh.p), bnd); - M = bim3a_osc_laplacian (msh, pi); - assert (M(int, int) * u(int), -M(int, bnd) * u(bnd), 100 * eps) -5 tests, 5 passed, 0 known failure, 0 skipped [inst/bim3c_tri_to_nodes.m] >>>>> /build/octave-bim-1.1.6/inst/bim3c_tri_to_nodes.m ***** test @@ -4297,6 +4247,99 @@ [un2, m] = bim3c_tri_to_nodes (msh, u_tri); assert (un1, un2, 1e-10) 1 test, 1 passed, 0 known failure, 0 skipped +[inst/bim2c_mesh_properties.m] +>>>>> /build/octave-bim-1.1.6/inst/bim2c_mesh_properties.m +***** shared mesh +***** test +***** test +***** test +3 tests, 3 passed, 0 known failure, 0 skipped +[inst/bim3c_global_flux.m] +>>>>> /build/octave-bim-1.1.6/inst/bim3c_global_flux.m +***** test + N = 10; pp = linspace (0, 1, N); msh = bim3c_mesh_properties (msh3m_structured_mesh (pp, pp, pp, 1, 1:6)); + u = ones (N^3, 1); + v = ones (N^3, 1); + alpha = ones (columns (msh.t), 1); + F = bim3c_global_flux (msh, u, alpha, v); + assert (norm (F(:), inf), 0, 100*eps); +1 test, 1 passed, 0 known failure, 0 skipped +[inst/bim2c_norm.m] +>>>>> /build/octave-bim-1.1.6/inst/bim2c_norm.m +***** test +***** shared L, V, x, y, m + L = rand (1); V = rand (1); x = linspace (0,L,4); y = x; + m = msh2m_structured_mesh (x,y,1,1:4); + m.area = msh2m_geometrical_properties (m, 'area'); + m.shg = msh2m_geometrical_properties (m, 'shg'); + u = V * ones (columns(m.p),1); + uinf = bim2c_norm (m, u, 'inf'); + uL2 = bim2c_norm (m, u, 'L2'); + uH1 = bim2c_norm (m, u, 'H1'); + assert ([uinf, uL2, uH1], [V, V*L, V*L], 1e-12); +***** test + u = V * (m.p(1,:) + 2*m.p(2,:))'; + uinf = bim2c_norm (m, u, 'inf'); + uL2 = bim2c_norm (m, u, 'L2'); + uH1 = bim2c_norm (m, u, 'H1'); + assert ([uinf, uL2, uH1], + [3*L*V, V*L^2*sqrt(8/3), V*sqrt(8/3*L^4 + 5*L^2)], + 1e-12); +***** test + u = V * ones (columns(m.t),1); + uinf = bim2c_norm (m, u, 'inf'); + uL2 = bim2c_norm (m, u, 'L2'); + assert ([uinf, uL2], [V, V*L], 1e-12); +***** test + u = V * ones (columns(m.t),1); + uvect = [u, 2*u]; + uinf = bim2c_norm (m, uvect, 'inf'); + uL2 = bim2c_norm (m, uvect, 'L2'); + assert ([uinf, uL2], [2*V, V*L*sqrt(5)], 1e-12); +4 tests, 4 passed, 0 known failure, 0 skipped +[inst/bim3c_unknowns_on_faces.m] +>>>>> /build/octave-bim-1.1.6/inst/bim3c_unknowns_on_faces.m +***** shared mesh +***** test +***** test +***** test +3 tests, 3 passed, 0 known failure, 0 skipped +[inst/bim2a_reaction.m] +>>>>> /build/octave-bim-1.1.6/inst/bim2a_reaction.m +***** shared mesh,delta,zeta,nnodes,nelem +***** test +***** test +***** test +3 tests, 3 passed, 0 known failure, 0 skipped +[inst/bim2a_axisymmetric_rhs.m] +>>>>> /build/octave-bim-1.1.6/inst/bim2a_axisymmetric_rhs.m +***** shared mesh,f,g,nnodes,nelem +***** test +***** test +***** test +3 tests, 3 passed, 0 known failure, 0 skipped +[inst/bim3a_reaction.m] +>>>>> /build/octave-bim-1.1.6/inst/bim3a_reaction.m +***** shared mesh,delta,zeta,nnodes,nelem +***** test +***** test +***** test +3 tests, 3 passed, 0 known failure, 0 skipped +[inst/bim1c_elem_to_nodes.m] +>>>>> /build/octave-bim-1.1.6/inst/bim1c_elem_to_nodes.m +***** test + n = 10; msh = linspace (0, 1, n+1); + nel = n; + nnod = n+1; + u_el = randn (nel, 1); + un1 = bim1c_elem_to_nodes (msh, u_el); + [un2, m] = bim1c_elem_to_nodes (msh, u_el); + un3 = bim1c_elem_to_nodes (m, u_el); + [un4, m] = bim1c_elem_to_nodes (m, u_el); + assert (un1, un2, 1e-10) + assert (un1, un3, 1e-10) + assert (un1, un4, 1e-10) +1 test, 1 passed, 0 known failure, 0 skipped Checking C++ files ... Summary: 92 tests, 92 passed, 0 known failures, 0 skipped dh_installdocs -O--buildsystem=octave @@ -4324,12 +4367,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3518/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3518/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/107495 and its subdirectories -I: Current time: Sat May 18 10:53:39 -12 2024 -I: pbuilder-time-stamp: 1716072819 +I: removing directory /srv/workspace/pbuilder/3518 and its subdirectories +I: Current time: Mon Apr 17 06:32:43 +14 2023 +I: pbuilder-time-stamp: 1681662763