#include <cmath>\r
#include <cassert>\r
#include <stdlib.h>\r
-#include "mex.h"\r
\r
#include "SLPrecangle.hpp"\r
\r
-#define my_PI 3.141592653589793\r
#define EPS 0.00001\r
\r
using namespace std;\r
sol /= 2 * p + 2;\r
} else {\r
sol = NAN;\r
- printf("warning in G00: no case for p=%.2f defined\n", p);\r
+ cout << "warning in G00: no case for p="<< p <<" defined. Possible: [-1.5,-0.5,0.5,...]\n";\r
//mexErrMsgTxt("no case for p defined\n");\r
}\r
\r
return (y - x) * pow((x * x + y * y + a * a - 2 * x * y), -0.5)\r
/ (a * a);\r
default:\r
- printf("p must be either 0, -1/2, -1 or -3/2. (%.2f)\n", p);\r
+ cout << "p must be either 0, -1/2, -1 or -3/2. (" << p << ")\n";\r
return NAN;\r
}\r
}\r
--- /dev/null
+# Ignore object files and compiled libraries:
+*.o
+*.a
+*.deps
+
+# Created by ./configure:
+*.out
+*.log
+Makefile
+/config.status
+/src/config.h
+/aclocal.m4
+
+# Binaries:
+/src/boundary_mesh/testhilbertmesh
+
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
$(top_srcdir)/m4/ax_boost_base.m4 \
$(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
- $(top_srcdir)/m4/ax_lapack.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
$(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
distcleancheck_listfiles = find . -type f -print
ACLOCAL = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run aclocal-1.11
AMTAR = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run tar
+AM_CXXFLAGS =
+AM_LDFLAGS =
AUTOCONF = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoconf
AUTOHEADER = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoheader
AUTOMAKE = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run automake-1.11
BOOST_ROOT_PATH = /usr
CC = gcc
CCDEPMODE = depmode=gcc3
-CFLAGS = -g -O2
+CFLAGS = -I/usr/local/include
CPP = gcc -E
CPPFLAGS =
CXX = g++
LDFLAGS =
LIBOBJS =
LIBS =
+LOKI_CPPFLAGS = -I/usr/local/include
+LOKI_LDFLAGS = -L/usr/local/lib
+LOKI_ROOT_PATH = /usr/local
LTLIBOBJS =
MAKEINFO = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run makeinfo
MKDIR_P = /bin/mkdir -p
top_builddir = .
top_srcdir = .
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = src
+SUBDIRS = src t
##DX_CLEAN_HTML = docs/doxygen/html
##DX_CLEAN_CHM = docs/doxygen/chm
###DX_CLEAN_CHI = docs/doxygen/hilbert3d.chi
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = src
+SUBDIRS = src t
## --------------------------------- ##
## Format-independent Doxygen rules. ##
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
$(top_srcdir)/m4/ax_boost_base.m4 \
$(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
- $(top_srcdir)/m4/ax_lapack.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
$(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
distcleancheck_listfiles = find . -type f -print
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
+AM_CXXFLAGS = @AM_CXXFLAGS@
+AM_LDFLAGS = @AM_LDFLAGS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
+LOKI_CPPFLAGS = @LOKI_CPPFLAGS@
+LOKI_LDFLAGS = @LOKI_LDFLAGS@
+LOKI_ROOT_PATH = @LOKI_ROOT_PATH@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = src
+SUBDIRS = src t
@DX_COND_doc_TRUE@@DX_COND_html_TRUE@DX_CLEAN_HTML = @DX_DOCDIR@/html
@DX_COND_chm_TRUE@@DX_COND_doc_TRUE@DX_CLEAN_CHM = @DX_DOCDIR@/chm
@DX_COND_chi_TRUE@@DX_COND_chm_TRUE@@DX_COND_doc_TRUE@DX_CLEAN_CHI = @DX_DOCDIR@/@PACKAGE@.chi
m4_include([m4/ax_boost_regex.m4])
m4_include([m4/ax_hlib.m4])
m4_include([m4/ax_lapack.m4])
+m4_include([m4/ax_lib_loki.m4])
m4_include([m4/ax_prog_doxygen.m4])
am__EXEEXT_TRUE
LTLIBOBJS
LIB@&t@OBJS
+AM_LDFLAGS
+AM_CXXFLAGS
EGREP
GREP
CPP
+LOKI_ROOT_PATH
+LOKI_LDFLAGS
+LOKI_CPPFLAGS
HLIB_LIB
HLIB_ROOT_PATH
HLIB_LDFLAGS
with_blas
with_lapack
with_hlib
+with_loki
'
ac_precious_vars='build_alias
host_alias
--with-lapack=<lib> use LAPACK library <lib>
--with-hlib@<:@=DIR@:>@ use hlib (default is yes) - it is possible to
specify the root directory for hlib (optional)
+ --with-loki@<:@=DIR|:>@ specify the root directory for the loki library
Some influential environment variables:
CXX C++ compiler command
LDFLAGS="$LDFLAGS_SAVED"
fi
+AX_BOOST_TEST
ac_ext=f
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
fi
+
+@%:@ Check whether --with-loki was given.
+if test "${with_loki+set}" = set; then :
+ withval=$with_loki;
+ if test "$withval" = "no"; then
+ as_fn_error $? "Sorry, but it is not possible to compile without loki" "$LINENO" 5
+ want_loki="no"
+ elif test "$withval" = "yes"; then
+ want_loki="yes"
+ ac_loki_path=""
+ else
+ want_loki="yes"
+ ac_loki_path="$withval"
+ fi
+
+else
+
+ want_loki="yes";
+
+fi
+
+
+ if test "x$want_loki" = "xyes"; then
+ if test "x$ac_loki_path" = "x"; then
+ for ac_loki_path_tmp in /usr /usr/local /opt /opt/local; do
+ if test -d "$ac_loki_path_tmp/include/loki"; then
+ LOKI_LDFLAGS="-L$ac_hlib_path_tmp/lib"
+ LOKI_CPPFLAGS="-I$ac_hlib_path_tmp/include"
+ LOKI_ROOT_PATH="$ac_hlib_path_tmp"
+ break;
+ fi
+ done
+ else
+ LOKI_LDFLAGS="-L$ac_hlib_path/lib"
+ LOKI_CPPFLAGS="-I$ac_hlib_path/include"
+ LOKI_ROOT_PATH="$ac_hlib_path"
+ fi
+
+ if test "x$LOKI_ROOT_PATH" = "x"; then
+ as_fn_error $? "We could not detect the loki library. Please install
+ the loki library, c.f. loki-lib.sf.net, before
+ proceeding." "$LINENO" 5
+ else
+
+
+
+
+ # Run some basic tests to check whether loki is really available:
+ CPPFLAGS_SAVED="$CPPFLAGS"
+ LDFLAGS_SAVED="$LDFLAGS"
+
+ CPPFLAGS="$CPPFLAGS $LOKI_CPPFLAGS"
+ CFLAGS="$CPPFLAGS"
+ export CPPFLAGS
+ export CFLAGS
+ LDFLAGS="$LDFLAGS $LOKI_LDFLAGS"
+ export LDFLAGS
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Loki is usable" >&5
+$as_echo_n "checking whether Loki is usable... " >&6; }
+if test "${ax_cv_loki+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <loki/SmartPtr.h>
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+::Loki::SmartPtr< int > t = new int;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ax_cv_loki="yes"
+else
+ ax_cv_loki="no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_loki" >&5
+$as_echo "$ax_cv_loki" >&6; }
+
+ if test "$ax_cv_loki" != "yes"; then
+ as_fn_error $? "Could not use the loki library. Please make sure
+ that it is installed correctly." "$LINENO" 5 ;
+ fi
+
+ CPPFLAGS="$SAVED_CPPFLAGS"
+ export CPPFLAGS
+ LDFLAGS="$SAVED_LDFLAGS"
+ export LDFLAGS
+ fi
+ fi
+
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
fi
-ac_config_files="$ac_config_files Makefile src/Makefile src/boundary_mesh/Makefile src/spaces/Makefile src/laplace/Makefile"
+
+
+
+ac_config_files="$ac_config_files Makefile src/Makefile src/boundary_mesh/Makefile src/spaces/Makefile src/laplace/Makefile t/Makefile t/generic/Makefile t/boundary_mesh/Makefile t/laplace/Makefile"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
"src/boundary_mesh/Makefile") CONFIG_FILES="$CONFIG_FILES src/boundary_mesh/Makefile" ;;
"src/spaces/Makefile") CONFIG_FILES="$CONFIG_FILES src/spaces/Makefile" ;;
"src/laplace/Makefile") CONFIG_FILES="$CONFIG_FILES src/laplace/Makefile" ;;
+ "t/Makefile") CONFIG_FILES="$CONFIG_FILES t/Makefile" ;;
+ "t/generic/Makefile") CONFIG_FILES="$CONFIG_FILES t/generic/Makefile" ;;
+ "t/boundary_mesh/Makefile") CONFIG_FILES="$CONFIG_FILES t/boundary_mesh/Makefile" ;;
+ "t/laplace/Makefile") CONFIG_FILES="$CONFIG_FILES t/laplace/Makefile" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
esac
--- /dev/null
+@%:@! /bin/sh
+@%:@ Guess values for system-dependent variables and create Makefiles.
+@%:@ Generated by GNU Autoconf 2.67 for Hilbert 3D 0.1.0.
+@%:@
+@%:@ Report bugs to <markus.mayr@tuwien.ac.at>.
+@%:@
+@%:@
+@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
+@%:@ Foundation, Inc.
+@%:@
+@%:@
+@%:@ This configure script is free software; the Free Software Foundation
+@%:@ gives unlimited permission to copy, distribute and modify it.
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in @%:@(
+ *posix*) :
+ set -o posix ;; @%:@(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in @%:@(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+case $0 in @%:@((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+if test "x$CONFIG_SHELL" = x; then
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else
+ case \`(set -o) 2>/dev/null\` in @%:@(
+ *posix*) :
+ set -o posix ;; @%:@(
+ *) :
+ ;;
+esac
+fi
+"
+ as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
+
+exitcode=0
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+else
+ exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1"
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
+test \$(( 1 + 1 )) = 2 || exit 1"
+ if (eval "$as_required") 2>/dev/null; then :
+ as_have_required=yes
+else
+ as_have_required=no
+fi
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
+
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ as_found=:
+ case $as_dir in @%:@(
+ /*)
+ for as_base in sh bash ksh sh5; do
+ # Try only shells that exist, to save several forks.
+ as_shell=$as_dir/$as_base
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ CONFIG_SHELL=$as_shell as_have_required=yes
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ break 2
+fi
+fi
+ done;;
+ esac
+ as_found=false
+done
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
+ CONFIG_SHELL=$SHELL as_have_required=yes
+fi; }
+IFS=$as_save_IFS
+
+
+ if test "x$CONFIG_SHELL" != x; then :
+ # We cannot yet assume a decent shell, so we have to provide a
+ # neutralization value for shells without unset; and this also
+ # works around shells that cannot unset nonexistent variables.
+ BASH_ENV=/dev/null
+ ENV=/dev/null
+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+ export CONFIG_SHELL
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
+fi
+
+ if test x$as_have_required = xno; then :
+ $as_echo "$0: This script requires a shell more modern than all"
+ $as_echo "$0: the shells that I found on your system."
+ if test x${ZSH_VERSION+set} = xset ; then
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
+ else
+ $as_echo "$0: Please tell bug-autoconf@gnu.org and
+$0: markus.mayr@tuwien.ac.at about your system, including
+$0: any error possibly output before this message. Then
+$0: install a modern shell, or manually run the script
+$0: under such a shell if you do have one."
+ fi
+ exit 1
+fi
+fi
+fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+@%:@ as_fn_unset VAR
+@%:@ ---------------
+@%:@ Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+@%:@ as_fn_set_status STATUS
+@%:@ -----------------------
+@%:@ Set @S|@? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} @%:@ as_fn_set_status
+
+@%:@ as_fn_exit STATUS
+@%:@ -----------------
+@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} @%:@ as_fn_exit
+
+@%:@ as_fn_mkdir_p
+@%:@ -------------
+@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} @%:@ as_fn_mkdir_p
+@%:@ as_fn_append VAR VALUE
+@%:@ ----------------------
+@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
+@%:@ advantage of any shell optimizations that allow amortized linear growth over
+@%:@ repeated appends, instead of the typical quadratic growth present in naive
+@%:@ implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+@%:@ as_fn_arith ARG...
+@%:@ ------------------
+@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
+@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
+@%:@ must be portable across @S|@(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
+@%:@ ----------------------------------------
+@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+@%:@ script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} @%:@ as_fn_error
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in @%:@(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -p'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -p'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -p'
+ fi
+else
+ as_ln_s='cp -p'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+if test -x / >/dev/null 2>&1; then
+ as_test_x='test -x'
+else
+ if ls -dL / >/dev/null 2>&1; then
+ as_ls_L_option=L
+ else
+ as_ls_L_option=
+ fi
+ as_test_x='
+ eval sh -c '\''
+ if test -d "$1"; then
+ test -d "$1/.";
+ else
+ case $1 in @%:@(
+ -*)set "./$1";;
+ esac;
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
+ ???[sx]*):;;*)false;;esac;fi
+ '\'' sh
+ '
+fi
+as_executable_p=$as_test_x
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIB@&t@OBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+
+# Identity of this package.
+PACKAGE_NAME='Hilbert 3D'
+PACKAGE_TARNAME='hilbert3d'
+PACKAGE_VERSION='0.1.0'
+PACKAGE_STRING='Hilbert 3D 0.1.0'
+PACKAGE_BUGREPORT='markus.mayr@tuwien.ac.at'
+PACKAGE_URL='http://83.169.35.184/cgi-bin/gitweb?p=bem3d.git'
+
+# Factoring default headers for most tests.
+ac_includes_default="\
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
+
+ac_subst_vars='am__EXEEXT_FALSE
+am__EXEEXT_TRUE
+LTLIBOBJS
+LIB@&t@OBJS
+AM_LDFLAGS
+AM_CXXFLAGS
+EGREP
+GREP
+CPP
+LOKI_ROOT_PATH
+LOKI_LDFLAGS
+LOKI_CPPFLAGS
+HLIB_LIB
+HLIB_ROOT_PATH
+HLIB_LDFLAGS
+HLIB_CPPFLAGS
+LAPACK_LIBS
+BLAS_LIBS
+FLIBS
+ac_ct_F77
+FFLAGS
+F77
+BOOST_REGEX_LIB
+am__fastdepCC_FALSE
+am__fastdepCC_TRUE
+CCDEPMODE
+ac_ct_CC
+CFLAGS
+CC
+BOOST_ROOT_PATH
+BOOST_LDFLAGS
+BOOST_CPPFLAGS
+DOXYGEN_PAPER_SIZE
+DX_COND_latex_FALSE
+DX_COND_latex_TRUE
+DX_COND_pdf_FALSE
+DX_COND_pdf_TRUE
+DX_PDFLATEX
+DX_FLAG_pdf
+DX_COND_ps_FALSE
+DX_COND_ps_TRUE
+DX_EGREP
+DX_DVIPS
+DX_MAKEINDEX
+DX_LATEX
+DX_FLAG_ps
+DX_COND_html_FALSE
+DX_COND_html_TRUE
+DX_FLAG_html
+DX_COND_chi_FALSE
+DX_COND_chi_TRUE
+DX_FLAG_chi
+DX_COND_chm_FALSE
+DX_COND_chm_TRUE
+DX_HHC
+DX_FLAG_chm
+DX_COND_xml_FALSE
+DX_COND_xml_TRUE
+DX_FLAG_xml
+DX_COND_rtf_FALSE
+DX_COND_rtf_TRUE
+DX_FLAG_rtf
+DX_COND_man_FALSE
+DX_COND_man_TRUE
+DX_FLAG_man
+DX_COND_dot_FALSE
+DX_COND_dot_TRUE
+DX_DOT
+DX_FLAG_dot
+DX_COND_doc_FALSE
+DX_COND_doc_TRUE
+DX_PERL
+DX_DOXYGEN
+DX_FLAG_doc
+DX_ENV
+DX_DOCDIR
+DX_CONFIG
+DX_PROJECT
+RANLIB
+am__fastdepCXX_FALSE
+am__fastdepCXX_TRUE
+CXXDEPMODE
+AMDEPBACKSLASH
+AMDEP_FALSE
+AMDEP_TRUE
+am__quote
+am__include
+DEPDIR
+OBJEXT
+EXEEXT
+ac_ct_CXX
+CPPFLAGS
+LDFLAGS
+CXXFLAGS
+CXX
+am__untar
+am__tar
+AMTAR
+am__leading_dot
+SET_MAKE
+AWK
+mkdir_p
+MKDIR_P
+INSTALL_STRIP_PROGRAM
+STRIP
+install_sh
+MAKEINFO
+AUTOHEADER
+AUTOMAKE
+AUTOCONF
+ACLOCAL
+VERSION
+PACKAGE
+CYGPATH_W
+am__isrc
+INSTALL_DATA
+INSTALL_SCRIPT
+INSTALL_PROGRAM
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
+ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+enable_dependency_tracking
+enable_doxygen_doc
+enable_doxygen_dot
+enable_doxygen_man
+enable_doxygen_rtf
+enable_doxygen_xml
+enable_doxygen_chm
+enable_doxygen_chi
+enable_doxygen_html
+enable_doxygen_ps
+enable_doxygen_pdf
+with_boost
+with_boost_regex
+with_blas
+with_lapack
+with_hlib
+with_loki
+'
+ ac_precious_vars='build_alias
+host_alias
+target_alias
+CXX
+CXXFLAGS
+LDFLAGS
+LIBS
+CPPFLAGS
+CCC
+DOXYGEN_PAPER_SIZE
+CC
+CFLAGS
+F77
+FFLAGS
+CPP'
+
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval $ac_prev=\$ac_option
+ ac_prev=
+ continue
+ fi
+
+ case $ac_option in
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+ *=) ac_optarg= ;;
+ *) ac_optarg=yes ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case $ac_dashdash$ac_option in
+ --)
+ ac_dashdash=yes ;;
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir=$ac_optarg ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build_alias ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build_alias=$ac_optarg ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
+
+ -datadir | --datadir | --datadi | --datad)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
+ datadir=$ac_optarg ;;
+
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+ | --dataroo | --dataro | --datar)
+ ac_prev=datarootdir ;;
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+ datarootdir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=no ;;
+
+ -docdir | --docdir | --docdi | --doc | --do)
+ ac_prev=docdir ;;
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+ docdir=$ac_optarg ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+ dvidir=$ac_optarg ;;
+
+ -enable-* | --enable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=\$ac_optarg ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix=$ac_optarg ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host_alias ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host_alias=$ac_optarg ;;
+
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
+ ac_prev=htmldir ;;
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
+ | --ht=*)
+ htmldir=$ac_optarg ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir=$ac_optarg ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir=$ac_optarg ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir=$ac_optarg ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir=$ac_optarg ;;
+
+ -localedir | --localedir | --localedi | --localed | --locale)
+ ac_prev=localedir ;;
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
+ localedir=$ac_optarg ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst | --locals)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+ localstatedir=$ac_optarg ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir=$ac_optarg ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c | -n)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir=$ac_optarg ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix=$ac_optarg ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix=$ac_optarg ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix=$ac_optarg ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name=$ac_optarg ;;
+
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
+ ac_prev=pdfdir ;;
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
+ pdfdir=$ac_optarg ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
+ psdir=$ac_optarg ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir=$ac_optarg ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir=$ac_optarg ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site=$ac_optarg ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir=$ac_optarg ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir=$ac_optarg ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target_alias ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target_alias=$ac_optarg ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=\$ac_optarg ;;
+
+ -without-* | --without-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=no ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes=$ac_optarg ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ case $ac_envvar in #(
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+ esac
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ as_fn_error $? "missing argument to $ac_option"
+fi
+
+if test -n "$ac_unrecognized_opts"; then
+ case $enable_option_checking in
+ no) ;;
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+ esac
+fi
+
+# Check all directory arguments for consistency.
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir
+do
+ eval ac_val=\$$ac_var
+ # Remove trailing slashes.
+ case $ac_val in
+ */ )
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
+ eval $ac_var=\$ac_val;;
+ esac
+ # Be sure to have absolute directory names.
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
+ If a cross compiler is detected then cross compile mode will be used" >&2
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ac_ls_di=`ls -di .` &&
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+ as_fn_error $? "working directory cannot be determined"
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+ as_fn_error $? "pwd does not report name of working directory"
+
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then the parent directory.
+ ac_confdir=`$as_dirname -- "$as_myself" ||
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_myself" : 'X\(//\)[^/]' \| \
+ X"$as_myself" : 'X\(//\)$' \| \
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_myself" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ srcdir=$ac_confdir
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+fi
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_abs_confdir=`(
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+ pwd)`
+# When building in place, set srcdir=.
+if test "$ac_abs_confdir" = "$ac_pwd"; then
+ srcdir=.
+fi
+# Remove unnecessary trailing slashes from srcdir.
+# Double slashes in file names in object file debugging info
+# mess up M-x gdb in Emacs.
+case $srcdir in
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
+esac
+for ac_var in $ac_precious_vars; do
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_env_${ac_var}_value=\$${ac_var}
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
+done
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<_ACEOF
+\`configure' configures Hilbert 3D 0.1.0 to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking ...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ @<:@@S|@ac_default_prefix@:>@
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ @<:@PREFIX@:>@
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root @<:@DATAROOTDIR/doc/hilbert3d@:>@
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+_ACEOF
+
+ cat <<\_ACEOF
+
+Program names:
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+ case $ac_init_help in
+ short | recursive ) echo "Configuration of Hilbert 3D 0.1.0:";;
+ esac
+ cat <<\_ACEOF
+
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --disable-dependency-tracking speeds up one-time build
+ --enable-dependency-tracking do not reject slow dependency extractors
+ --disable-doxygen-doc don't generate any doxygen documentation
+ --enable-doxygen-dot generate graphics for doxygen documentation
+ --enable-doxygen-man generate doxygen manual pages
+ --enable-doxygen-rtf generate doxygen RTF documentation
+ --enable-doxygen-xml generate doxygen XML documentation
+ --enable-doxygen-chm generate doxygen compressed HTML help documentation
+ --enable-doxygen-chi generate doxygen seperate compressed HTML help index
+ file
+ --disable-doxygen-html don't generate doxygen plain HTML documentation
+ --disable-doxygen-ps don't generate doxygen PostScript documentation
+ --disable-doxygen-pdf don't generate doxygen PDF documentation
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-boost@<:@=DIR@:>@ use boost (default is yes) - it is possible to
+ specify the root directory for boost (optional)
+ --with-boost-regex@<:@=special-lib@:>@
+ use the Regex library from boost - it is possible to
+ specify a certain library for the linker e.g.
+ --with-boost-regex=boost_regex-gcc-mt-d-1_33_1
+ --with-blas=<lib> use BLAS library <lib>
+ --with-lapack=<lib> use LAPACK library <lib>
+ --with-hlib@<:@=DIR@:>@ use hlib (default is yes) - it is possible to
+ specify the root directory for hlib (optional)
+ --with-loki@<:@=DIR|:>@ specify the root directory for the loki library
+
+Some influential environment variables:
+ CXX C++ compiler command
+ CXXFLAGS C++ compiler flags
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
+ nonstandard directory <lib dir>
+ LIBS libraries to pass to the linker, e.g. -l<library>
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
+ you have headers in a nonstandard directory <include dir>
+ DOXYGEN_PAPER_SIZE
+ a4wide (default), a4, letter, legal or executive
+ CC C compiler command
+ CFLAGS C compiler flags
+ F77 Fortran 77 compiler command
+ FFLAGS Fortran 77 compiler flags
+ CPP C preprocessor
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+Report bugs to <markus.mayr@tuwien.ac.at>.
+Hilbert 3D home page: <http://83.169.35.184/cgi-bin/gitweb?p=bem3d.git>.
+_ACEOF
+ac_status=$?
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ test -d "$ac_dir" ||
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
+ continue
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ cd "$ac_dir" || { ac_status=$?; continue; }
+ # Check for guested configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+ elif test -f "$ac_srcdir/configure"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure" --help=recursive
+ else
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi || ac_status=$?
+ cd "$ac_pwd" || { ac_status=$?; break; }
+ done
+fi
+
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+ cat <<\_ACEOF
+Hilbert 3D configure 0.1.0
+generated by GNU Autoconf 2.67
+
+Copyright (C) 2010 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+ exit
+fi
+
+## ------------------------ ##
+## Autoconf initialization. ##
+## ------------------------ ##
+
+@%:@ ac_fn_cxx_try_compile LINENO
+@%:@ ----------------------------
+@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_cxx_try_compile
+
+@%:@ ac_fn_c_try_compile LINENO
+@%:@ --------------------------
+@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
+ac_fn_c_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_c_try_compile
+
+@%:@ ac_fn_c_try_link LINENO
+@%:@ -----------------------
+@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
+ac_fn_c_try_link ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ $as_test_x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+ # interfere with the next link command; also delete a directory that is
+ # left behind by Apple's compiler. We do this before executing the actions.
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_c_try_link
+
+@%:@ ac_fn_f77_try_compile LINENO
+@%:@ ----------------------------
+@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
+ac_fn_f77_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_f77_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_f77_try_compile
+
+@%:@ ac_fn_c_check_func LINENO FUNC VAR
+@%:@ ----------------------------------
+@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
+ac_fn_c_check_func ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval "test \"\${$3+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $2 innocuous_$2
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $2 (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $2
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $2 ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$2 || defined __stub___$2
+choke me
+#endif
+
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $2 ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+
+} @%:@ ac_fn_c_check_func
+
+@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
+@%:@ -------------------------------------------
+@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
+@%:@ variable VAR accordingly.
+ac_fn_c_check_type ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval "test \"\${$3+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=no"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+if (sizeof ($2))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+if (sizeof (($2)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ eval "$3=yes"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+
+} @%:@ ac_fn_c_check_type
+
+@%:@ ac_fn_c_try_cpp LINENO
+@%:@ ----------------------
+@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
+ac_fn_c_try_cpp ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } > conftest.i && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_c_try_cpp
+
+@%:@ ac_fn_c_try_run LINENO
+@%:@ ----------------------
+@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
+@%:@ that executables *can* be run.
+ac_fn_c_try_run ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: program exited with status $ac_status" >&5
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=$ac_status
+fi
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+ as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_c_try_run
+
+@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
+@%:@ -------------------------------------------------------
+@%:@ Tests whether HEADER exists and can be compiled using the include files in
+@%:@ INCLUDES, setting the cache variable VAR accordingly.
+ac_fn_c_check_header_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval "test \"\${$3+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+@%:@include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+
+} @%:@ ac_fn_c_check_header_compile
+cat >config.log <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by Hilbert 3D $as_me 0.1.0, which was
+generated by GNU Autoconf 2.67. Invocation command line was
+
+ $ $0 $@
+
+_ACEOF
+exec 5>>config.log
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ $as_echo "PATH: $as_dir"
+ done
+IFS=$as_save_IFS
+
+} >&5
+
+cat >&5 <<_ACEOF
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+_ACEOF
+
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
+ 2)
+ as_fn_append ac_configure_args1 " '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ as_fn_append ac_configure_args " '$ac_arg'"
+ ;;
+ esac
+ done
+done
+{ ac_configure_args0=; unset ac_configure_args0;}
+{ ac_configure_args1=; unset ac_configure_args1;}
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Use '\'' to represent an apostrophe within the trap.
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ $as_echo "## ---------------- ##
+## Cache variables. ##
+## ---------------- ##"
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+(
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+ (set) 2>&1 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ sed -n \
+ "s/'\''/'\''\\\\'\'''\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
+ ;; #(
+ *)
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+)
+ echo
+
+ $as_echo "## ----------------- ##
+## Output variables. ##
+## ----------------- ##"
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+
+ if test -n "$ac_subst_files"; then
+ $as_echo "## ------------------- ##
+## File substitutions. ##
+## ------------------- ##"
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
+
+ if test -s confdefs.h; then
+ $as_echo "## ----------- ##
+## confdefs.h. ##
+## ----------- ##"
+ echo
+ cat confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ $as_echo "$as_me: caught signal $ac_signal"
+ $as_echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -f -r conftest* confdefs.h
+
+$as_echo "/* confdefs.h */" > confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE_URL "$PACKAGE_URL"
+_ACEOF
+
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer an explicitly selected file to automatically selected ones.
+ac_site_file1=NONE
+ac_site_file2=NONE
+if test -n "$CONFIG_SITE"; then
+ # We do not want a PATH search for config.site.
+ case $CONFIG_SITE in @%:@((
+ -*) ac_site_file1=./$CONFIG_SITE;;
+ */*) ac_site_file1=$CONFIG_SITE;;
+ *) ac_site_file1=./$CONFIG_SITE;;
+ esac
+elif test "x$prefix" != xNONE; then
+ ac_site_file1=$prefix/share/config.site
+ ac_site_file2=$prefix/etc/config.site
+else
+ ac_site_file1=$ac_default_prefix/share/config.site
+ ac_site_file2=$ac_default_prefix/etc/config.site
+fi
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
+do
+ test "x$ac_site_file" = xNONE && continue
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file" \
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5 ; }
+ fi
+done
+
+if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special files
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ ac_cache_corrupted=:
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ eval $ac_var=\$ac_old_val
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+fi
+## -------------------- ##
+## Main body of script. ##
+## -------------------- ##
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+am__api_version='1.11'
+
+ac_aux_dir=
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f "$ac_dir/install.sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ elif test -f "$ac_dir/shtool"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/shtool install -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
+fi
+
+# These three variables are undocumented and unsupported,
+# and are intended to be withdrawn in a future Autoconf release.
+# They can cause serious problems if a builder's source tree is in a directory
+# whose full name contains unusual characters.
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
+
+
+# Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# OS/2's system install, which has a completely different semantic
+# ./install, which can be erroneously created by make from ./install.sh.
+# Reject install programs that cannot install multiple files.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
+if test -z "$INSTALL"; then
+if test "${ac_cv_path_install+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in @%:@((
+ ./ | .// | /[cC]/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ # Don't use installbsd from OSF since it installs stuff as root
+ # by default.
+ for ac_prog in ginstall scoinst install; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
+ if test $ac_prog = install &&
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ :
+ elif test $ac_prog = install &&
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # program-specific install script used by HP pwplus--don't use.
+ :
+ else
+ rm -rf conftest.one conftest.two conftest.dir
+ echo one > conftest.one
+ echo two > conftest.two
+ mkdir conftest.dir
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
+ test -s conftest.one && test -s conftest.two &&
+ test -s conftest.dir/conftest.one &&
+ test -s conftest.dir/conftest.two
+ then
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+ break 3
+ fi
+ fi
+ fi
+ done
+ done
+ ;;
+esac
+
+ done
+IFS=$as_save_IFS
+
+rm -rf conftest.one conftest.two conftest.dir
+
+fi
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL=$ac_cv_path_install
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ INSTALL=$ac_install_sh
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
+$as_echo "$INSTALL" >&6; }
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
+$as_echo_n "checking whether build environment is sane... " >&6; }
+# Just in case
+sleep 1
+echo timestamp > conftest.file
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[\\\"\#\$\&\'\`$am_lf]*)
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
+esac
+case $srcdir in
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
+ as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
+esac
+
+# Do `set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$*" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ rm -f conftest.file
+ if test "$*" != "X $srcdir/configure conftest.file" \
+ && test "$*" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
+alias in your environment" "$LINENO" 5
+ fi
+
+ test "$2" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ as_fn_error $? "newly created file is older than distributed files!
+Check your system clock" "$LINENO" 5
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+test "$program_prefix" != NONE &&
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
+# Use a double $ so make ignores it.
+test "$program_suffix" != NONE &&
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
+# Double any \ or $.
+# By default was `s,x,x', remove it if useless.
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
+
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --run true"; then
+ am_missing_run="$MISSING --run "
+else
+ am_missing_run=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
+fi
+
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+
+# Installed binaries are usually stripped using `strip' when the user
+# run `make install-strip'. However `strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the `STRIP' environment variable to overrule this program.
+if test "$cross_compiling" != no; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_STRIP+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
+if test -z "$MKDIR_P"; then
+ if test "${ac_cv_path_mkdir+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in mkdir gmkdir; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
+ 'mkdir (GNU coreutils) '* | \
+ 'mkdir (coreutils) '* | \
+ 'mkdir (fileutils) '4.1*)
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
+ break 3;;
+ esac
+ done
+ done
+ done
+IFS=$as_save_IFS
+
+fi
+
+ test -d ./--version && rmdir ./--version
+ if test "${ac_cv_path_mkdir+set}" = set; then
+ MKDIR_P="$ac_cv_path_mkdir -p"
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for MKDIR_P within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ MKDIR_P="$ac_install_sh -d"
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+$as_echo "$MKDIR_P" >&6; }
+
+mkdir_p="$MKDIR_P"
+case $mkdir_p in
+ [\\/$]* | ?:[\\/]*) ;;
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
+esac
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_AWK+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_AWK="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
+set x ${MAKE-make}
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
+all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
+rm -f conftest.make
+fi
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ SET_MAKE=
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ am__isrc=' -I$(srcdir)'
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+
+
+# Define the identity of the package.
+ PACKAGE='hilbert3d'
+ VERSION='0.1.0'
+
+
+cat >>confdefs.h <<_ACEOF
+@%:@define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+@%:@define VERSION "$VERSION"
+_ACEOF
+
+# Some tools Automake needs.
+
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
+
+
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+
+
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
+
+
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+
+
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+# Always define AMTAR for backward compatibility.
+
+AMTAR=${AMTAR-"${am_missing_run}tar"}
+
+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
+
+
+
+
+
+ac_config_headers="$ac_config_headers src/config.h"
+
+
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+if test -z "$CXX"; then
+ if test -n "$CCC"; then
+ CXX=$CCC
+ else
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CXX+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CXX"; then
+ ac_cv_prog_CXX="$CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CXX=$ac_cv_prog_CXX
+if test -n "$CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
+$as_echo "$CXX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CXX" && break
+ done
+fi
+if test -z "$CXX"; then
+ ac_ct_CXX=$CXX
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CXX"; then
+ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CXX="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
+if test -n "$ac_ct_CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
+$as_echo "$ac_ct_CXX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CXX" && break
+done
+
+ if test "x$ac_ct_CXX" = x; then
+ CXX="g++"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CXX=$ac_ct_CXX
+ fi
+fi
+
+ fi
+fi
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
+# Try to create an executable without -o first, disregard a.out.
+# It will help us diagnose broken compilers, and finding out an intuition
+# of exeext.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
+$as_echo_n "checking whether the C++ compiler works... " >&6; }
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+
+# The possible output files:
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
+
+ac_rmfiles=
+for ac_file in $ac_files
+do
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
+ esac
+done
+rm -f $ac_rmfiles
+
+if { { ac_try="$ac_link_default"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link_default") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
+# so that the user can short-circuit this test for compilers unknown to
+# Autoconf.
+for ac_file in $ac_files ''
+do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
+ ;;
+ [ab].out )
+ # We found the default executable, but exeext='' is most
+ # certainly right.
+ break;;
+ *.* )
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
+ then :; else
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ fi
+ # We set ac_cv_exeext here because the later test for it is not
+ # safe: cross compilers may not add the suffix if given an `-o'
+ # argument, so we may need to know it at that point already.
+ # Even if this section looks crufty: it has the advantage of
+ # actually working.
+ break;;
+ * )
+ break;;
+ esac
+done
+test "$ac_cv_exeext" = no && ac_cv_exeext=
+
+else
+ ac_file=''
+fi
+if test -z "$ac_file"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+$as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "C++ compiler cannot create executables
+See \`config.log' for more details" "$LINENO" 5 ; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
+$as_echo_n "checking for C++ compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
+ac_exeext=$ac_cv_exeext
+
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
+$as_echo_n "checking for suffix of executables... " >&6; }
+if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
+# work properly (i.e., refer to `conftest.exe'), while it won't with
+# `rm'.
+for ac_file in conftest.exe conftest conftest.*; do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ break;;
+ * ) break;;
+ esac
+done
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details" "$LINENO" 5 ; }
+fi
+rm -f conftest conftest$ac_cv_exeext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
+$as_echo "$ac_cv_exeext" >&6; }
+
+rm -f conftest.$ac_ext
+EXEEXT=$ac_cv_exeext
+ac_exeext=$EXEEXT
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <stdio.h>
+int
+main ()
+{
+FILE *f = fopen ("conftest.out", "w");
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files="$ac_clean_files conftest.out"
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+if test "$cross_compiling" != yes; then
+ { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if { ac_try='./conftest$ac_cv_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then
+ cross_compiling=no
+ else
+ if test "$cross_compiling" = maybe; then
+ cross_compiling=yes
+ else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run C++ compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details" "$LINENO" 5 ; }
+ fi
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
+$as_echo_n "checking for suffix of object files... " >&6; }
+if test "${ac_cv_objext+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.o conftest.obj
+if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ for ac_file in conftest.o conftest.obj conftest.*; do
+ test -f "$ac_file" || continue;
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+ break;;
+ esac
+done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of object files: cannot compile
+See \`config.log' for more details" "$LINENO" 5 ; }
+fi
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
+$as_echo "$ac_cv_objext" >&6; }
+OBJEXT=$ac_cv_objext
+ac_objext=$OBJEXT
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
+if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GXX=yes
+else
+ GXX=
+fi
+ac_test_CXXFLAGS=${CXXFLAGS+set}
+ac_save_CXXFLAGS=$CXXFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
+$as_echo_n "checking whether $CXX accepts -g... " >&6; }
+if test "${ac_cv_prog_cxx_g+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_cxx_werror_flag=$ac_cxx_werror_flag
+ ac_cxx_werror_flag=yes
+ ac_cv_prog_cxx_g=no
+ CXXFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_cv_prog_cxx_g=yes
+else
+ CXXFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+
+else
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+ CXXFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_cv_prog_cxx_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
+$as_echo "$ac_cv_prog_cxx_g" >&6; }
+if test "$ac_test_CXXFLAGS" = set; then
+ CXXFLAGS=$ac_save_CXXFLAGS
+elif test $ac_cv_prog_cxx_g = yes; then
+ if test "$GXX" = yes; then
+ CXXFLAGS="-g -O2"
+ else
+ CXXFLAGS="-g"
+ fi
+else
+ if test "$GXX" = yes; then
+ CXXFLAGS="-O2"
+ else
+ CXXFLAGS=
+ fi
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+DEPDIR="${am__leading_dot}deps"
+
+ac_config_commands="$ac_config_commands depfiles"
+
+
+am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from `make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
+$as_echo "$_am_result" >&6; }
+rm -f confinc confmf
+
+@%:@ Check whether --enable-dependency-tracking was given.
+if test "${enable_dependency_tracking+set}" = set; then :
+ enableval=$enable_dependency_tracking;
+fi
+
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+fi
+ if test "x$enable_dependency_tracking" != xno; then
+ AMDEP_TRUE=
+ AMDEP_FALSE='#'
+else
+ AMDEP_TRUE='#'
+ AMDEP_FALSE=
+fi
+
+
+
+depcc="$CXX" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named `D' -- because `-MD' means `put the output
+ # in D'.
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CXX_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+ # Solaris 8's {/usr,}/bin/sh.
+ touch sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle `-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # after this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvisualcpp | msvcmsys)
+ # This compiler won't grok `-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CXX_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CXX_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
+ am__fastdepCXX_TRUE=
+ am__fastdepCXX_FALSE='#'
+else
+ am__fastdepCXX_TRUE='#'
+ am__fastdepCXX_FALSE=
+fi
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_RANLIB+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
+$as_echo "$RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_RANLIB"; then
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_RANLIB"; then
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
+$as_echo "$ac_ct_RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_RANLIB" = x; then
+ RANLIB=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ RANLIB=$ac_ct_RANLIB
+ fi
+else
+ RANLIB="$ac_cv_prog_RANLIB"
+fi
+
+
+
+
+
+# Files:
+DX_PROJECT="Hilbert 3D"
+
+DX_CONFIG=Doxyfile
+
+DX_DOCDIR=docs/doxygen
+
+
+# Environment variables used inside doxygen.cfg:
+DX_ENV="$DX_ENV SRCDIR='$srcdir'"
+
+DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
+
+DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
+
+DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
+
+
+# Doxygen itself:
+
+
+
+ @%:@ Check whether --enable-doxygen-doc was given.
+if test "${enable_doxygen_doc+set}" = set; then :
+ enableval=$enable_doxygen_doc;
+case "$enableval" in
+#(
+y|Y|yes|Yes|YES)
+ DX_FLAG_doc=1
+
+
+;; #(
+n|N|no|No|NO)
+ DX_FLAG_doc=0
+
+;; #(
+*)
+ as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
+;;
+esac
+
+else
+
+DX_FLAG_doc=1
+
+
+
+fi
+
+if test "$DX_FLAG_doc" = 1; then
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
+set dummy ${ac_tool_prefix}doxygen; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $DX_DOXYGEN in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
+if test -n "$DX_DOXYGEN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
+$as_echo "$DX_DOXYGEN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_DX_DOXYGEN"; then
+ ac_pt_DX_DOXYGEN=$DX_DOXYGEN
+ # Extract the first word of "doxygen", so it can be a program name with args.
+set dummy doxygen; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_DX_DOXYGEN in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
+if test -n "$ac_pt_DX_DOXYGEN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
+$as_echo "$ac_pt_DX_DOXYGEN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_DX_DOXYGEN" = x; then
+ DX_DOXYGEN=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DX_DOXYGEN=$ac_pt_DX_DOXYGEN
+ fi
+else
+ DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
+fi
+
+if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
+$as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
+ DX_FLAG_doc=0
+
+fi
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
+set dummy ${ac_tool_prefix}perl; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_DX_PERL+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $DX_PERL in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+DX_PERL=$ac_cv_path_DX_PERL
+if test -n "$DX_PERL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
+$as_echo "$DX_PERL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_DX_PERL"; then
+ ac_pt_DX_PERL=$DX_PERL
+ # Extract the first word of "perl", so it can be a program name with args.
+set dummy perl; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_DX_PERL in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
+if test -n "$ac_pt_DX_PERL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
+$as_echo "$ac_pt_DX_PERL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_DX_PERL" = x; then
+ DX_PERL=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DX_PERL=$ac_pt_DX_PERL
+ fi
+else
+ DX_PERL="$ac_cv_path_DX_PERL"
+fi
+
+if test "$DX_FLAG_doc$DX_PERL" = 1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
+$as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
+ DX_FLAG_doc=0
+
+fi
+
+ :
+fi
+if test "$DX_FLAG_doc" = 1; then
+ if :; then
+ DX_COND_doc_TRUE=
+ DX_COND_doc_FALSE='#'
+else
+ DX_COND_doc_TRUE='#'
+ DX_COND_doc_FALSE=
+fi
+
+ DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
+
+ :
+else
+ if false; then
+ DX_COND_doc_TRUE=
+ DX_COND_doc_FALSE='#'
+else
+ DX_COND_doc_TRUE='#'
+ DX_COND_doc_FALSE=
+fi
+
+
+ :
+fi
+
+
+# Dot for graphics:
+
+
+
+ @%:@ Check whether --enable-doxygen-dot was given.
+if test "${enable_doxygen_dot+set}" = set; then :
+ enableval=$enable_doxygen_dot;
+case "$enableval" in
+#(
+y|Y|yes|Yes|YES)
+ DX_FLAG_dot=1
+
+
+test "$DX_FLAG_doc" = "1" \
+|| as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
+
+;; #(
+n|N|no|No|NO)
+ DX_FLAG_dot=0
+
+;; #(
+*)
+ as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
+;;
+esac
+
+else
+
+DX_FLAG_dot=0
+
+
+test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
+
+
+
+fi
+
+if test "$DX_FLAG_dot" = 1; then
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dot; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_DX_DOT+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $DX_DOT in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+DX_DOT=$ac_cv_path_DX_DOT
+if test -n "$DX_DOT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
+$as_echo "$DX_DOT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_DX_DOT"; then
+ ac_pt_DX_DOT=$DX_DOT
+ # Extract the first word of "dot", so it can be a program name with args.
+set dummy dot; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_DX_DOT in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
+if test -n "$ac_pt_DX_DOT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
+$as_echo "$ac_pt_DX_DOT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_DX_DOT" = x; then
+ DX_DOT=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DX_DOT=$ac_pt_DX_DOT
+ fi
+else
+ DX_DOT="$ac_cv_path_DX_DOT"
+fi
+
+if test "$DX_FLAG_dot$DX_DOT" = 1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
+$as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
+ DX_FLAG_dot=0
+
+fi
+
+ :
+fi
+if test "$DX_FLAG_dot" = 1; then
+ if :; then
+ DX_COND_dot_TRUE=
+ DX_COND_dot_FALSE='#'
+else
+ DX_COND_dot_TRUE='#'
+ DX_COND_dot_FALSE=
+fi
+
+ DX_ENV="$DX_ENV HAVE_DOT='YES'"
+
+ DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
+
+ :
+else
+ if false; then
+ DX_COND_dot_TRUE=
+ DX_COND_dot_FALSE='#'
+else
+ DX_COND_dot_TRUE='#'
+ DX_COND_dot_FALSE=
+fi
+
+ DX_ENV="$DX_ENV HAVE_DOT='NO'"
+
+ :
+fi
+
+
+# Man pages generation:
+
+
+
+ @%:@ Check whether --enable-doxygen-man was given.
+if test "${enable_doxygen_man+set}" = set; then :
+ enableval=$enable_doxygen_man;
+case "$enableval" in
+#(
+y|Y|yes|Yes|YES)
+ DX_FLAG_man=1
+
+
+test "$DX_FLAG_doc" = "1" \
+|| as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
+
+;; #(
+n|N|no|No|NO)
+ DX_FLAG_man=0
+
+;; #(
+*)
+ as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
+;;
+esac
+
+else
+
+DX_FLAG_man=0
+
+
+test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
+
+
+
+fi
+
+if test "$DX_FLAG_man" = 1; then
+
+ :
+fi
+if test "$DX_FLAG_man" = 1; then
+ if :; then
+ DX_COND_man_TRUE=
+ DX_COND_man_FALSE='#'
+else
+ DX_COND_man_TRUE='#'
+ DX_COND_man_FALSE=
+fi
+
+ DX_ENV="$DX_ENV GENERATE_MAN='YES'"
+
+ :
+else
+ if false; then
+ DX_COND_man_TRUE=
+ DX_COND_man_FALSE='#'
+else
+ DX_COND_man_TRUE='#'
+ DX_COND_man_FALSE=
+fi
+
+ DX_ENV="$DX_ENV GENERATE_MAN='NO'"
+
+ :
+fi
+
+
+# RTF file generation:
+
+
+
+ @%:@ Check whether --enable-doxygen-rtf was given.
+if test "${enable_doxygen_rtf+set}" = set; then :
+ enableval=$enable_doxygen_rtf;
+case "$enableval" in
+#(
+y|Y|yes|Yes|YES)
+ DX_FLAG_rtf=1
+
+
+test "$DX_FLAG_doc" = "1" \
+|| as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
+
+;; #(
+n|N|no|No|NO)
+ DX_FLAG_rtf=0
+
+;; #(
+*)
+ as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
+;;
+esac
+
+else
+
+DX_FLAG_rtf=0
+
+
+test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
+
+
+
+fi
+
+if test "$DX_FLAG_rtf" = 1; then
+
+ :
+fi
+if test "$DX_FLAG_rtf" = 1; then
+ if :; then
+ DX_COND_rtf_TRUE=
+ DX_COND_rtf_FALSE='#'
+else
+ DX_COND_rtf_TRUE='#'
+ DX_COND_rtf_FALSE=
+fi
+
+ DX_ENV="$DX_ENV GENERATE_RTF='YES'"
+
+ :
+else
+ if false; then
+ DX_COND_rtf_TRUE=
+ DX_COND_rtf_FALSE='#'
+else
+ DX_COND_rtf_TRUE='#'
+ DX_COND_rtf_FALSE=
+fi
+
+ DX_ENV="$DX_ENV GENERATE_RTF='NO'"
+
+ :
+fi
+
+
+# XML file generation:
+
+
+
+ @%:@ Check whether --enable-doxygen-xml was given.
+if test "${enable_doxygen_xml+set}" = set; then :
+ enableval=$enable_doxygen_xml;
+case "$enableval" in
+#(
+y|Y|yes|Yes|YES)
+ DX_FLAG_xml=1
+
+
+test "$DX_FLAG_doc" = "1" \
+|| as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
+
+;; #(
+n|N|no|No|NO)
+ DX_FLAG_xml=0
+
+;; #(
+*)
+ as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
+;;
+esac
+
+else
+
+DX_FLAG_xml=0
+
+
+test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
+
+
+
+fi
+
+if test "$DX_FLAG_xml" = 1; then
+
+ :
+fi
+if test "$DX_FLAG_xml" = 1; then
+ if :; then
+ DX_COND_xml_TRUE=
+ DX_COND_xml_FALSE='#'
+else
+ DX_COND_xml_TRUE='#'
+ DX_COND_xml_FALSE=
+fi
+
+ DX_ENV="$DX_ENV GENERATE_XML='YES'"
+
+ :
+else
+ if false; then
+ DX_COND_xml_TRUE=
+ DX_COND_xml_FALSE='#'
+else
+ DX_COND_xml_TRUE='#'
+ DX_COND_xml_FALSE=
+fi
+
+ DX_ENV="$DX_ENV GENERATE_XML='NO'"
+
+ :
+fi
+
+
+# (Compressed) HTML help generation:
+
+
+
+ @%:@ Check whether --enable-doxygen-chm was given.
+if test "${enable_doxygen_chm+set}" = set; then :
+ enableval=$enable_doxygen_chm;
+case "$enableval" in
+#(
+y|Y|yes|Yes|YES)
+ DX_FLAG_chm=1
+
+
+test "$DX_FLAG_doc" = "1" \
+|| as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
+
+;; #(
+n|N|no|No|NO)
+ DX_FLAG_chm=0
+
+;; #(
+*)
+ as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
+;;
+esac
+
+else
+
+DX_FLAG_chm=0
+
+
+test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
+
+
+
+fi
+
+if test "$DX_FLAG_chm" = 1; then
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}hhc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_DX_HHC+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $DX_HHC in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+DX_HHC=$ac_cv_path_DX_HHC
+if test -n "$DX_HHC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
+$as_echo "$DX_HHC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_DX_HHC"; then
+ ac_pt_DX_HHC=$DX_HHC
+ # Extract the first word of "hhc", so it can be a program name with args.
+set dummy hhc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_DX_HHC in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
+if test -n "$ac_pt_DX_HHC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
+$as_echo "$ac_pt_DX_HHC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_DX_HHC" = x; then
+ DX_HHC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DX_HHC=$ac_pt_DX_HHC
+ fi
+else
+ DX_HHC="$ac_cv_path_DX_HHC"
+fi
+
+if test "$DX_FLAG_chm$DX_HHC" = 1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
+$as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
+ DX_FLAG_chm=0
+
+fi
+
+ :
+fi
+if test "$DX_FLAG_chm" = 1; then
+ if :; then
+ DX_COND_chm_TRUE=
+ DX_COND_chm_FALSE='#'
+else
+ DX_COND_chm_TRUE='#'
+ DX_COND_chm_FALSE=
+fi
+
+ DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
+
+ DX_ENV="$DX_ENV GENERATE_HTML='YES'"
+
+ DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
+
+ :
+else
+ if false; then
+ DX_COND_chm_TRUE=
+ DX_COND_chm_FALSE='#'
+else
+ DX_COND_chm_TRUE='#'
+ DX_COND_chm_FALSE=
+fi
+
+ DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
+
+ :
+fi
+
+
+# Seperate CHI file generation.
+
+
+
+ @%:@ Check whether --enable-doxygen-chi was given.
+if test "${enable_doxygen_chi+set}" = set; then :
+ enableval=$enable_doxygen_chi;
+case "$enableval" in
+#(
+y|Y|yes|Yes|YES)
+ DX_FLAG_chi=1
+
+
+test "$DX_FLAG_chm" = "1" \
+|| as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
+
+;; #(
+n|N|no|No|NO)
+ DX_FLAG_chi=0
+
+;; #(
+*)
+ as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
+;;
+esac
+
+else
+
+DX_FLAG_chi=0
+
+
+test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
+
+
+
+fi
+
+if test "$DX_FLAG_chi" = 1; then
+
+ :
+fi
+if test "$DX_FLAG_chi" = 1; then
+ if :; then
+ DX_COND_chi_TRUE=
+ DX_COND_chi_FALSE='#'
+else
+ DX_COND_chi_TRUE='#'
+ DX_COND_chi_FALSE=
+fi
+
+ DX_ENV="$DX_ENV GENERATE_CHI='YES'"
+
+ :
+else
+ if false; then
+ DX_COND_chi_TRUE=
+ DX_COND_chi_FALSE='#'
+else
+ DX_COND_chi_TRUE='#'
+ DX_COND_chi_FALSE=
+fi
+
+ DX_ENV="$DX_ENV GENERATE_CHI='NO'"
+
+ :
+fi
+
+
+# Plain HTML pages generation:
+
+
+
+ @%:@ Check whether --enable-doxygen-html was given.
+if test "${enable_doxygen_html+set}" = set; then :
+ enableval=$enable_doxygen_html;
+case "$enableval" in
+#(
+y|Y|yes|Yes|YES)
+ DX_FLAG_html=1
+
+
+test "$DX_FLAG_doc" = "1" \
+|| as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
+
+test "$DX_FLAG_chm" = "0" \
+|| as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
+
+;; #(
+n|N|no|No|NO)
+ DX_FLAG_html=0
+
+;; #(
+*)
+ as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
+;;
+esac
+
+else
+
+DX_FLAG_html=1
+
+
+test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
+
+
+test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
+
+
+
+fi
+
+if test "$DX_FLAG_html" = 1; then
+
+ :
+fi
+if test "$DX_FLAG_html" = 1; then
+ if :; then
+ DX_COND_html_TRUE=
+ DX_COND_html_FALSE='#'
+else
+ DX_COND_html_TRUE='#'
+ DX_COND_html_FALSE=
+fi
+
+ DX_ENV="$DX_ENV GENERATE_HTML='YES'"
+
+ :
+else
+ if false; then
+ DX_COND_html_TRUE=
+ DX_COND_html_FALSE='#'
+else
+ DX_COND_html_TRUE='#'
+ DX_COND_html_FALSE=
+fi
+
+ test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
+
+ :
+fi
+
+
+# PostScript file generation:
+
+
+
+ @%:@ Check whether --enable-doxygen-ps was given.
+if test "${enable_doxygen_ps+set}" = set; then :
+ enableval=$enable_doxygen_ps;
+case "$enableval" in
+#(
+y|Y|yes|Yes|YES)
+ DX_FLAG_ps=1
+
+
+test "$DX_FLAG_doc" = "1" \
+|| as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
+
+;; #(
+n|N|no|No|NO)
+ DX_FLAG_ps=0
+
+;; #(
+*)
+ as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
+;;
+esac
+
+else
+
+DX_FLAG_ps=1
+
+
+test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
+
+
+
+fi
+
+if test "$DX_FLAG_ps" = 1; then
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
+set dummy ${ac_tool_prefix}latex; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_DX_LATEX+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $DX_LATEX in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+DX_LATEX=$ac_cv_path_DX_LATEX
+if test -n "$DX_LATEX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
+$as_echo "$DX_LATEX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_DX_LATEX"; then
+ ac_pt_DX_LATEX=$DX_LATEX
+ # Extract the first word of "latex", so it can be a program name with args.
+set dummy latex; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_DX_LATEX in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
+if test -n "$ac_pt_DX_LATEX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
+$as_echo "$ac_pt_DX_LATEX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_DX_LATEX" = x; then
+ DX_LATEX=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DX_LATEX=$ac_pt_DX_LATEX
+ fi
+else
+ DX_LATEX="$ac_cv_path_DX_LATEX"
+fi
+
+if test "$DX_FLAG_ps$DX_LATEX" = 1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
+$as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
+ DX_FLAG_ps=0
+
+fi
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
+set dummy ${ac_tool_prefix}makeindex; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $DX_MAKEINDEX in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
+if test -n "$DX_MAKEINDEX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
+$as_echo "$DX_MAKEINDEX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_DX_MAKEINDEX"; then
+ ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
+ # Extract the first word of "makeindex", so it can be a program name with args.
+set dummy makeindex; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_DX_MAKEINDEX in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
+if test -n "$ac_pt_DX_MAKEINDEX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
+$as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_DX_MAKEINDEX" = x; then
+ DX_MAKEINDEX=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
+ fi
+else
+ DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
+fi
+
+if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
+$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
+ DX_FLAG_ps=0
+
+fi
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
+set dummy ${ac_tool_prefix}dvips; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_DX_DVIPS+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $DX_DVIPS in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+DX_DVIPS=$ac_cv_path_DX_DVIPS
+if test -n "$DX_DVIPS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
+$as_echo "$DX_DVIPS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_DX_DVIPS"; then
+ ac_pt_DX_DVIPS=$DX_DVIPS
+ # Extract the first word of "dvips", so it can be a program name with args.
+set dummy dvips; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_DX_DVIPS in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
+if test -n "$ac_pt_DX_DVIPS"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
+$as_echo "$ac_pt_DX_DVIPS" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_DX_DVIPS" = x; then
+ DX_DVIPS=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DX_DVIPS=$ac_pt_DX_DVIPS
+ fi
+else
+ DX_DVIPS="$ac_cv_path_DX_DVIPS"
+fi
+
+if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
+$as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
+ DX_FLAG_ps=0
+
+fi
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
+set dummy ${ac_tool_prefix}egrep; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_DX_EGREP+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $DX_EGREP in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+DX_EGREP=$ac_cv_path_DX_EGREP
+if test -n "$DX_EGREP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
+$as_echo "$DX_EGREP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_DX_EGREP"; then
+ ac_pt_DX_EGREP=$DX_EGREP
+ # Extract the first word of "egrep", so it can be a program name with args.
+set dummy egrep; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_DX_EGREP in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
+if test -n "$ac_pt_DX_EGREP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
+$as_echo "$ac_pt_DX_EGREP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_DX_EGREP" = x; then
+ DX_EGREP=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DX_EGREP=$ac_pt_DX_EGREP
+ fi
+else
+ DX_EGREP="$ac_cv_path_DX_EGREP"
+fi
+
+if test "$DX_FLAG_ps$DX_EGREP" = 1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
+$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
+ DX_FLAG_ps=0
+
+fi
+
+ :
+fi
+if test "$DX_FLAG_ps" = 1; then
+ if :; then
+ DX_COND_ps_TRUE=
+ DX_COND_ps_FALSE='#'
+else
+ DX_COND_ps_TRUE='#'
+ DX_COND_ps_FALSE=
+fi
+
+
+ :
+else
+ if false; then
+ DX_COND_ps_TRUE=
+ DX_COND_ps_FALSE='#'
+else
+ DX_COND_ps_TRUE='#'
+ DX_COND_ps_FALSE=
+fi
+
+
+ :
+fi
+
+
+# PDF file generation:
+
+
+
+ @%:@ Check whether --enable-doxygen-pdf was given.
+if test "${enable_doxygen_pdf+set}" = set; then :
+ enableval=$enable_doxygen_pdf;
+case "$enableval" in
+#(
+y|Y|yes|Yes|YES)
+ DX_FLAG_pdf=1
+
+
+test "$DX_FLAG_doc" = "1" \
+|| as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
+
+;; #(
+n|N|no|No|NO)
+ DX_FLAG_pdf=0
+
+;; #(
+*)
+ as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
+;;
+esac
+
+else
+
+DX_FLAG_pdf=1
+
+
+test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
+
+
+
+fi
+
+if test "$DX_FLAG_pdf" = 1; then
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
+set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $DX_PDFLATEX in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
+if test -n "$DX_PDFLATEX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
+$as_echo "$DX_PDFLATEX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_DX_PDFLATEX"; then
+ ac_pt_DX_PDFLATEX=$DX_PDFLATEX
+ # Extract the first word of "pdflatex", so it can be a program name with args.
+set dummy pdflatex; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_DX_PDFLATEX in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
+if test -n "$ac_pt_DX_PDFLATEX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
+$as_echo "$ac_pt_DX_PDFLATEX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_DX_PDFLATEX" = x; then
+ DX_PDFLATEX=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DX_PDFLATEX=$ac_pt_DX_PDFLATEX
+ fi
+else
+ DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
+fi
+
+if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
+$as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
+ DX_FLAG_pdf=0
+
+fi
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
+set dummy ${ac_tool_prefix}makeindex; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $DX_MAKEINDEX in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
+if test -n "$DX_MAKEINDEX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
+$as_echo "$DX_MAKEINDEX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_DX_MAKEINDEX"; then
+ ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
+ # Extract the first word of "makeindex", so it can be a program name with args.
+set dummy makeindex; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_DX_MAKEINDEX in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
+if test -n "$ac_pt_DX_MAKEINDEX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
+$as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_DX_MAKEINDEX" = x; then
+ DX_MAKEINDEX=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
+ fi
+else
+ DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
+fi
+
+if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
+$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
+ DX_FLAG_pdf=0
+
+fi
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
+set dummy ${ac_tool_prefix}egrep; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_DX_EGREP+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $DX_EGREP in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+DX_EGREP=$ac_cv_path_DX_EGREP
+if test -n "$DX_EGREP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
+$as_echo "$DX_EGREP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_DX_EGREP"; then
+ ac_pt_DX_EGREP=$DX_EGREP
+ # Extract the first word of "egrep", so it can be a program name with args.
+set dummy egrep; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_DX_EGREP in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
+if test -n "$ac_pt_DX_EGREP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
+$as_echo "$ac_pt_DX_EGREP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_DX_EGREP" = x; then
+ DX_EGREP=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ DX_EGREP=$ac_pt_DX_EGREP
+ fi
+else
+ DX_EGREP="$ac_cv_path_DX_EGREP"
+fi
+
+if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
+$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
+ DX_FLAG_pdf=0
+
+fi
+
+ :
+fi
+if test "$DX_FLAG_pdf" = 1; then
+ if :; then
+ DX_COND_pdf_TRUE=
+ DX_COND_pdf_FALSE='#'
+else
+ DX_COND_pdf_TRUE='#'
+ DX_COND_pdf_FALSE=
+fi
+
+
+ :
+else
+ if false; then
+ DX_COND_pdf_TRUE=
+ DX_COND_pdf_FALSE='#'
+else
+ DX_COND_pdf_TRUE='#'
+ DX_COND_pdf_FALSE=
+fi
+
+
+ :
+fi
+
+
+# LaTeX generation for PS and/or PDF:
+if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
+ if :; then
+ DX_COND_latex_TRUE=
+ DX_COND_latex_FALSE='#'
+else
+ DX_COND_latex_TRUE='#'
+ DX_COND_latex_FALSE=
+fi
+
+ DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
+
+else
+ if false; then
+ DX_COND_latex_TRUE=
+ DX_COND_latex_FALSE='#'
+else
+ DX_COND_latex_TRUE='#'
+ DX_COND_latex_FALSE=
+fi
+
+ DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
+
+fi
+
+# Paper size for PS and/or PDF:
+
+case "$DOXYGEN_PAPER_SIZE" in
+#(
+"")
+ DOXYGEN_PAPER_SIZE=""
+
+;; #(
+a4wide|a4|letter|legal|executive)
+ DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
+
+;; #(
+*)
+ as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
+;;
+esac
+
+#For debugging:
+#echo DX_FLAG_doc=$DX_FLAG_doc
+#echo DX_FLAG_dot=$DX_FLAG_dot
+#echo DX_FLAG_man=$DX_FLAG_man
+#echo DX_FLAG_html=$DX_FLAG_html
+#echo DX_FLAG_chm=$DX_FLAG_chm
+#echo DX_FLAG_chi=$DX_FLAG_chi
+#echo DX_FLAG_rtf=$DX_FLAG_rtf
+#echo DX_FLAG_xml=$DX_FLAG_xml
+#echo DX_FLAG_pdf=$DX_FLAG_pdf
+#echo DX_FLAG_ps=$DX_FLAG_ps
+#echo DX_ENV=$DX_ENV
+
+
+
+
+
+@%:@ Check whether --with-boost was given.
+if test "${with_boost+set}" = set; then :
+ withval=$with_boost;
+ if test "$withval" = "no"; then
+ want_boost="no"
+ elif test "$withval" = "yes"; then
+ want_boost="yes"
+ ac_boost_path=""
+ else
+ want_boost="yes"
+ ac_boost_path="$withval"
+ fi
+
+else
+ want_boost="yes"
+fi
+
+
+if test "x$want_boost" = "xyes"; then
+ boost_lib_version_req=1.38.0
+ boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'`
+ boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'`
+ boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'`
+ boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
+ if test "x$boost_lib_version_req_sub_minor" = "x" ; then
+ boost_lib_version_req_sub_minor="0"
+ fi
+ WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= $boost_lib_version_req" >&5
+$as_echo_n "checking for boostlib >= $boost_lib_version_req... " >&6; }
+ succeeded=no
+
+ if test "$ac_boost_path" != ""; then
+ BOOST_LDFLAGS="-L$ac_boost_path/lib"
+ BOOST_CPPFLAGS="-I$ac_boost_path/include"
+ BOOST_ROOT_PATH="$ac_boost_path"
+ else
+ for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
+ if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
+ BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib"
+ BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
+ BOOST_ROOT_PATH="$ac_boost_path_tmp"
+ break;
+ fi
+ done
+ fi
+
+ CPPFLAGS_SAVED="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
+ export CPPFLAGS
+
+ LDFLAGS_SAVED="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
+ export LDFLAGS
+
+ export BOOST_ROOT_PATH
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ @%:@include <boost/version.hpp>
+
+int
+main ()
+{
+
+ #if BOOST_VERSION >= $WANT_BOOST_VERSION
+ // Everything is okay
+ #else
+ # error Boost version is too old
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ succeeded=yes
+ found_system=yes
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+
+ if test "x$succeeded" != "xyes"; then
+ _version=0
+ if test "$ac_boost_path" != ""; then
+ BOOST_LDFLAGS="-L$ac_boost_path/lib"
+ if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
+ for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
+ _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
+ V_CHECK=`expr $_version_tmp \> $_version`
+ if test "$V_CHECK" = "1" ; then
+ _version=$_version_tmp
+ fi
+ VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
+ BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
+ done
+ fi
+ else
+ for ac_boost_path in /usr /usr/local /opt /opt/local ; do
+ if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
+ for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
+ _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
+ V_CHECK=`expr $_version_tmp \> $_version`
+ if test "$V_CHECK" = "1" ; then
+ _version=$_version_tmp
+ best_path=$ac_boost_path
+ fi
+ done
+ fi
+ done
+
+ VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
+ BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
+ BOOST_LDFLAGS="-L$best_path/lib"
+ BOOST_ROOT_PATH="$best_path"
+
+ if test "x$BOOST_ROOT" != "x"; then
+ if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/lib" && test -r "$BOOST_ROOT/stage/lib"; then
+ version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'`
+ stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
+ stage_version_shorten=`expr $stage_version : '\([0-9]*\.[0-9]*\)'`
+ V_CHECK=`expr $stage_version_shorten \>\= $_version`
+ if test "$V_CHECK" = "1" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5
+$as_echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;}
+ BOOST_CPPFLAGS="-I$BOOST_ROOT"
+ BOOST_LDFLAGS="-L$BOOST_ROOT/stage/lib"
+ BOOST_ROOT_PATH="$BOOST_ROOT"
+ fi
+ fi
+ fi
+ fi
+
+ CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
+ export CPPFLAGS
+ LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
+ export LDFLAGS
+ export BOOST_ROOT_PATH
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ @%:@include <boost/version.hpp>
+
+int
+main ()
+{
+
+ #if BOOST_VERSION >= $WANT_BOOST_VERSION
+ // Everything is okay
+ #else
+ # error Boost version is too old
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ succeeded=yes
+ found_system=yes
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ fi
+
+ if test "$succeeded" != "yes" ; then
+ if test "$_version" = "0" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&5
+$as_echo "$as_me: WARNING: We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&2;}
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your boost libraries seems to old (version $_version)." >&5
+$as_echo "$as_me: WARNING: Your boost libraries seems to old (version $_version)." >&2;}
+ fi
+ else
+
+
+
+
+$as_echo "@%:@define HAVE_BOOST /**/" >>confdefs.h
+
+ fi
+
+ CPPFLAGS="$CPPFLAGS_SAVED"
+ LDFLAGS="$LDFLAGS_SAVED"
+fi
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $@%:@ != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5 ; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if test "${ac_cv_c_compiler_gnu+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if test "${ac_cv_prog_cc_g+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if test "${ac_cv_prog_cc_c89+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+depcc="$CC" am_compiler_list=
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
+$as_echo_n "checking dependency style of $depcc... " >&6; }
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named `D' -- because `-MD' means `put the output
+ # in D'.
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ am__universal=false
+ case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+ # Solaris 8's {/usr,}/bin/sh.
+ touch sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle `-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # after this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvisualcpp | msvcmsys)
+ # This compiler won't grok `-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+
+
+
+@%:@ Check whether --with-boost-regex was given.
+if test "${with_boost_regex+set}" = set; then :
+ withval=$with_boost_regex;
+ if test "$withval" = "no"; then
+ want_boost="no"
+ elif test "$withval" = "yes"; then
+ want_boost="yes"
+ ax_boost_user_regex_lib=""
+ else
+ want_boost="yes"
+ ax_boost_user_regex_lib="$withval"
+ fi
+
+else
+ want_boost="yes"
+
+fi
+
+
+ if test "x$want_boost" = "xyes"; then
+
+ CPPFLAGS_SAVED="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
+ export CPPFLAGS
+
+ LDFLAGS_SAVED="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
+ export LDFLAGS
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::Regex library is available" >&5
+$as_echo_n "checking whether the Boost::Regex library is available... " >&6; }
+if test "${ax_cv_boost_regex+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <boost/regex.hpp>
+
+int
+main ()
+{
+boost::regex r(); return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ax_cv_boost_regex=yes
+else
+ ax_cv_boost_regex=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_regex" >&5
+$as_echo "$ax_cv_boost_regex" >&6; }
+ if test "x$ax_cv_boost_regex" = "xyes"; then
+
+$as_echo "@%:@define HAVE_BOOST_REGEX /**/" >>confdefs.h
+
+ BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
+ if test "x$ax_boost_user_regex_lib" = "x"; then
+ for libextension in `ls $BOOSTLIBDIR/libboost_regex*.{so,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_regex.*\)\.so.*$;\1;' -e 's;^lib\(boost_regex.*\)\.a*$;\1;'` ; do
+ ax_lib=${libextension}
+ as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
+$as_echo_n "checking for exit in -l$ax_lib... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-l$ax_lib $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char exit ();
+int
+main ()
+{
+return exit ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ BOOST_REGEX_LIB="-l$ax_lib"; link_regex="yes"; break
+else
+ link_regex="no"
+fi
+
+ done
+ if test "x$link_regex" != "xyes"; then
+ for libextension in `ls $BOOSTLIBDIR/boost_regex*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_regex.*\)\.dll.*$;\1;' -e 's;^\(boost_regex.*\)\.a*$;\1;'` ; do
+ ax_lib=${libextension}
+ as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
+$as_echo_n "checking for exit in -l$ax_lib... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-l$ax_lib $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char exit ();
+int
+main ()
+{
+return exit ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ BOOST_REGEX_LIB="-l$ax_lib"; link_regex="yes"; break
+else
+ link_regex="no"
+fi
+
+ done
+ fi
+
+ else
+ for ax_lib in $ax_boost_user_regex_lib boost_regex-$ax_boost_user_regex_lib; do
+ as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_main" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$ax_lib" >&5
+$as_echo_n "checking for main in -l$ax_lib... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-l$ax_lib $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ BOOST_REGEX_LIB="-l$ax_lib"; link_regex="yes"; break
+else
+ link_regex="no"
+fi
+
+ done
+ fi
+ if test "x$link_regex" != "xyes"; then
+ as_fn_error $? "Could not link against $ax_lib !" "$LINENO" 5
+ fi
+ fi
+
+ CPPFLAGS="$CPPFLAGS_SAVED"
+ LDFLAGS="$LDFLAGS_SAVED"
+ fi
+
+AX_BOOST_TEST
+ac_ext=f
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_F77+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$F77"; then
+ ac_cv_prog_F77="$F77" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+F77=$ac_cv_prog_F77
+if test -n "$F77"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
+$as_echo "$F77" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$F77" && break
+ done
+fi
+if test -z "$F77"; then
+ ac_ct_F77=$F77
+ for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_F77"; then
+ ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_F77="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_F77=$ac_cv_prog_ac_ct_F77
+if test -n "$ac_ct_F77"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
+$as_echo "$ac_ct_F77" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_F77" && break
+done
+
+ if test "x$ac_ct_F77" = x; then
+ F77=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ F77=$ac_ct_F77
+ fi
+fi
+
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+rm -f a.out
+
+# If we don't use `.F' as extension, the preprocessor is not run on the
+# input file. (Note that this only needs to work for GNU compilers.)
+ac_save_ext=$ac_ext
+ac_ext=F
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
+$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
+if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat > conftest.$ac_ext <<_ACEOF
+ program main
+#ifndef __GNUC__
+ choke me
+#endif
+
+ end
+_ACEOF
+if ac_fn_f77_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_f77_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
+$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
+ac_ext=$ac_save_ext
+ac_test_FFLAGS=${FFLAGS+set}
+ac_save_FFLAGS=$FFLAGS
+FFLAGS=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
+$as_echo_n "checking whether $F77 accepts -g... " >&6; }
+if test "${ac_cv_prog_f77_g+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ FFLAGS=-g
+cat > conftest.$ac_ext <<_ACEOF
+ program main
+
+ end
+_ACEOF
+if ac_fn_f77_try_compile "$LINENO"; then :
+ ac_cv_prog_f77_g=yes
+else
+ ac_cv_prog_f77_g=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
+$as_echo "$ac_cv_prog_f77_g" >&6; }
+if test "$ac_test_FFLAGS" = set; then
+ FFLAGS=$ac_save_FFLAGS
+elif test $ac_cv_prog_f77_g = yes; then
+ if test "x$ac_cv_f77_compiler_gnu" = xyes; then
+ FFLAGS="-g -O2"
+ else
+ FFLAGS="-g"
+ fi
+else
+ if test "x$ac_cv_f77_compiler_gnu" = xyes; then
+ FFLAGS="-O2"
+ else
+ FFLAGS=
+ fi
+fi
+
+if test $ac_compiler_gnu = yes; then
+ G77=yes
+else
+ G77=
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+ac_ext=f
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $F77" >&5
+$as_echo_n "checking how to get verbose linking output from $F77... " >&6; }
+if test "${ac_cv_prog_f77_v+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat > conftest.$ac_ext <<_ACEOF
+ program main
+
+ end
+_ACEOF
+if ac_fn_f77_try_compile "$LINENO"; then :
+ ac_cv_prog_f77_v=
+# Try some options frequently used verbose output
+for ac_verb in -v -verbose --verbose -V -\#\#\#; do
+ cat > conftest.$ac_ext <<_ACEOF
+ program main
+
+ end
+_ACEOF
+
+# Compile and link our simple test program by passing a flag (argument
+# 1 to this macro) to the Fortran compiler in order to get
+# "verbose" output that we can then parse for the Fortran linker
+# flags.
+ac_save_FFLAGS=$FFLAGS
+FFLAGS="$FFLAGS $ac_verb"
+eval "set x $ac_link"
+shift
+$as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5
+# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
+# LIBRARY_PATH; skip all such settings.
+ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
+ grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
+$as_echo "$ac_f77_v_output" >&5
+FFLAGS=$ac_save_FFLAGS
+
+rm -rf conftest*
+
+# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
+# /foo, /bar, and /baz are search directories for the Fortran linker.
+# Here, we change these into -L/foo -L/bar -L/baz (and put it first):
+ac_f77_v_output="`echo $ac_f77_v_output |
+ grep 'LPATH is:' |
+ sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_f77_v_output"
+
+# FIXME: we keep getting bitten by quoted arguments; a more general fix
+# that detects unbalanced quotes in FLIBS should be implemented
+# and (ugh) tested at some point.
+case $ac_f77_v_output in
+ # If we are using xlf then replace all the commas with spaces.
+ *xlfentry*)
+ ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;;
+
+ # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
+ # $LIBS confuse us, and the libraries appear later in the output anyway).
+ *mGLOB_options_string*)
+ ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
+
+ # Portland Group compiler has singly- or doubly-quoted -cmdline argument
+ # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
+ # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
+ *-cmdline\ * | *-ignore\ * | *-def\ *)
+ ac_f77_v_output=`echo $ac_f77_v_output | sed "\
+ s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g
+ s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g
+ s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;;
+
+ # If we are using Cray Fortran then delete quotes.
+ *cft90*)
+ ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"//g'` ;;
+esac
+
+
+ # look for -l* and *.a constructs in the output
+ for ac_arg in $ac_f77_v_output; do
+ case $ac_arg in
+ [\\/]*.a | ?:[\\/]*.a | -[lLRu]*)
+ ac_cv_prog_f77_v=$ac_verb
+ break 2 ;;
+ esac
+ done
+done
+if test -z "$ac_cv_prog_f77_v"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine how to obtain linking information from $F77" >&5
+$as_echo "$as_me: WARNING: cannot determine how to obtain linking information from $F77" >&2;}
+fi
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compilation failed" >&5
+$as_echo "$as_me: WARNING: compilation failed" >&2;}
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_v" >&5
+$as_echo "$ac_cv_prog_f77_v" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 libraries of $F77" >&5
+$as_echo_n "checking for Fortran 77 libraries of $F77... " >&6; }
+if test "${ac_cv_f77_libs+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "x$FLIBS" != "x"; then
+ ac_cv_f77_libs="$FLIBS" # Let the user override the test.
+else
+
+cat > conftest.$ac_ext <<_ACEOF
+ program main
+
+ end
+_ACEOF
+
+# Compile and link our simple test program by passing a flag (argument
+# 1 to this macro) to the Fortran compiler in order to get
+# "verbose" output that we can then parse for the Fortran linker
+# flags.
+ac_save_FFLAGS=$FFLAGS
+FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
+eval "set x $ac_link"
+shift
+$as_echo "$as_me:${as_lineno-$LINENO}: $*" >&5
+# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
+# LIBRARY_PATH; skip all such settings.
+ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
+ grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
+$as_echo "$ac_f77_v_output" >&5
+FFLAGS=$ac_save_FFLAGS
+
+rm -rf conftest*
+
+# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
+# /foo, /bar, and /baz are search directories for the Fortran linker.
+# Here, we change these into -L/foo -L/bar -L/baz (and put it first):
+ac_f77_v_output="`echo $ac_f77_v_output |
+ grep 'LPATH is:' |
+ sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_f77_v_output"
+
+# FIXME: we keep getting bitten by quoted arguments; a more general fix
+# that detects unbalanced quotes in FLIBS should be implemented
+# and (ugh) tested at some point.
+case $ac_f77_v_output in
+ # If we are using xlf then replace all the commas with spaces.
+ *xlfentry*)
+ ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;;
+
+ # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
+ # $LIBS confuse us, and the libraries appear later in the output anyway).
+ *mGLOB_options_string*)
+ ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
+
+ # Portland Group compiler has singly- or doubly-quoted -cmdline argument
+ # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
+ # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
+ *-cmdline\ * | *-ignore\ * | *-def\ *)
+ ac_f77_v_output=`echo $ac_f77_v_output | sed "\
+ s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g
+ s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g
+ s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;;
+
+ # If we are using Cray Fortran then delete quotes.
+ *cft90*)
+ ac_f77_v_output=`echo $ac_f77_v_output | sed 's/"//g'` ;;
+esac
+
+
+
+ac_cv_f77_libs=
+
+# Save positional arguments (if any)
+ac_save_positional="$@"
+
+set X $ac_f77_v_output
+while test $@%:@ != 1; do
+ shift
+ ac_arg=$1
+ case $ac_arg in
+ [\\/]*.a | ?:[\\/]*.a)
+ ac_exists=false
+ for ac_i in $ac_cv_f77_libs; do
+ if test x"$ac_arg" = x"$ac_i"; then
+ ac_exists=true
+ break
+ fi
+ done
+
+ if test x"$ac_exists" = xtrue; then :
+
+else
+ ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
+fi
+ ;;
+ -bI:*)
+ ac_exists=false
+ for ac_i in $ac_cv_f77_libs; do
+ if test x"$ac_arg" = x"$ac_i"; then
+ ac_exists=true
+ break
+ fi
+ done
+
+ if test x"$ac_exists" = xtrue; then :
+
+else
+ if test "$ac_compiler_gnu" = yes; then
+ for ac_link_opt in $ac_arg; do
+ ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt"
+ done
+else
+ ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
+fi
+fi
+ ;;
+ # Ignore these flags.
+ -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \
+ |-LANG:=* | -LIST:* | -LNO:* | -link)
+ ;;
+ -lkernel32)
+ test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
+ ;;
+ -[LRuYz])
+ # These flags, when seen by themselves, take an argument.
+ # We remove the space between option and argument and re-iterate
+ # unless we find an empty arg or a new option (starting with -)
+ case $2 in
+ "" | -*);;
+ *)
+ ac_arg="$ac_arg$2"
+ shift; shift
+ set X $ac_arg "$@"
+ ;;
+ esac
+ ;;
+ -YP,*)
+ for ac_j in `$as_echo "$ac_arg" | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
+ ac_exists=false
+ for ac_i in $ac_cv_f77_libs; do
+ if test x"$ac_j" = x"$ac_i"; then
+ ac_exists=true
+ break
+ fi
+ done
+
+ if test x"$ac_exists" = xtrue; then :
+
+else
+ ac_arg="$ac_arg $ac_j"
+ ac_cv_f77_libs="$ac_cv_f77_libs $ac_j"
+fi
+ done
+ ;;
+ -[lLR]*)
+ ac_exists=false
+ for ac_i in $ac_cv_f77_libs; do
+ if test x"$ac_arg" = x"$ac_i"; then
+ ac_exists=true
+ break
+ fi
+ done
+
+ if test x"$ac_exists" = xtrue; then :
+
+else
+ ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
+fi
+ ;;
+ -zallextract*| -zdefaultextract)
+ ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
+ ;;
+ # Ignore everything else.
+ esac
+done
+# restore positional arguments
+set X $ac_save_positional; shift
+
+# We only consider "LD_RUN_PATH" on Solaris systems. If this is seen,
+# then we insist that the "run path" must be an absolute path (i.e. it
+# must begin with a "/").
+case `(uname -sr) 2>/dev/null` in
+ "SunOS 5"*)
+ ac_ld_run_path=`$as_echo "$ac_f77_v_output" |
+ sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'`
+ test "x$ac_ld_run_path" != x &&
+ if test "$ac_compiler_gnu" = yes; then
+ for ac_link_opt in $ac_ld_run_path; do
+ ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt"
+ done
+else
+ ac_cv_f77_libs="$ac_cv_f77_libs $ac_ld_run_path"
+fi
+ ;;
+esac
+fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x"
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_libs" >&5
+$as_echo "$ac_cv_f77_libs" >&6; }
+FLIBS="$ac_cv_f77_libs"
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=f
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dummy main to link with Fortran 77 libraries" >&5
+$as_echo_n "checking for dummy main to link with Fortran 77 libraries... " >&6; }
+if test "${ac_cv_f77_dummy_main+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_f77_dm_save_LIBS=$LIBS
+ LIBS="$LIBS $FLIBS"
+ ac_fortran_dm_var=F77_DUMMY_MAIN
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ # First, try linking without a dummy main:
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_fortran_dummy_main=none
+else
+ ac_cv_fortran_dummy_main=unknown
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+
+ if test $ac_cv_fortran_dummy_main = unknown; then
+ for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@define $ac_fortran_dm_var $ac_func
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_fortran_dummy_main=$ac_func; break
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ done
+ fi
+ ac_ext=f
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
+ ac_cv_f77_dummy_main=$ac_cv_fortran_dummy_main
+ rm -rf conftest*
+ LIBS=$ac_f77_dm_save_LIBS
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_dummy_main" >&5
+$as_echo "$ac_cv_f77_dummy_main" >&6; }
+F77_DUMMY_MAIN=$ac_cv_f77_dummy_main
+if test "$F77_DUMMY_MAIN" != unknown; then :
+ if test $F77_DUMMY_MAIN != none; then
+
+cat >>confdefs.h <<_ACEOF
+@%:@define F77_DUMMY_MAIN $F77_DUMMY_MAIN
+_ACEOF
+
+ if test "x$ac_cv_fc_dummy_main" = "x$ac_cv_f77_dummy_main"; then
+
+$as_echo "@%:@define FC_DUMMY_MAIN_EQ_F77 1" >>confdefs.h
+
+ fi
+fi
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "linking to Fortran libraries from C fails
+See \`config.log' for more details" "$LINENO" 5 ; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=f
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 name-mangling scheme" >&5
+$as_echo_n "checking for Fortran 77 name-mangling scheme... " >&6; }
+if test "${ac_cv_f77_mangling+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat > conftest.$ac_ext <<_ACEOF
+ subroutine foobar()
+ return
+ end
+ subroutine foo_bar()
+ return
+ end
+_ACEOF
+if ac_fn_f77_try_compile "$LINENO"; then :
+ mv conftest.$ac_objext cfortran_test.$ac_objext
+
+ ac_save_LIBS=$LIBS
+ LIBS="cfortran_test.$ac_objext $LIBS $FLIBS"
+
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ ac_success=no
+ for ac_foobar in foobar FOOBAR; do
+ for ac_underscore in "" "_"; do
+ ac_func="$ac_foobar$ac_underscore"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_success=yes; break 2
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ done
+ done
+ ac_ext=f
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
+
+ if test "$ac_success" = "yes"; then
+ case $ac_foobar in
+ foobar)
+ ac_case=lower
+ ac_foo_bar=foo_bar
+ ;;
+ FOOBAR)
+ ac_case=upper
+ ac_foo_bar=FOO_BAR
+ ;;
+ esac
+
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ ac_success_extra=no
+ for ac_extra in "" "_"; do
+ ac_func="$ac_foo_bar$ac_underscore$ac_extra"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_success_extra=yes; break
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ done
+ ac_ext=f
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
+
+ if test "$ac_success_extra" = "yes"; then
+ ac_cv_f77_mangling="$ac_case case"
+ if test -z "$ac_underscore"; then
+ ac_cv_f77_mangling="$ac_cv_f77_mangling, no underscore"
+ else
+ ac_cv_f77_mangling="$ac_cv_f77_mangling, underscore"
+ fi
+ if test -z "$ac_extra"; then
+ ac_cv_f77_mangling="$ac_cv_f77_mangling, no extra underscore"
+ else
+ ac_cv_f77_mangling="$ac_cv_f77_mangling, extra underscore"
+ fi
+ else
+ ac_cv_f77_mangling="unknown"
+ fi
+ else
+ ac_cv_f77_mangling="unknown"
+ fi
+
+ LIBS=$ac_save_LIBS
+ rm -rf conftest*
+ rm -f cfortran_test*
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compile a simple Fortran program
+See \`config.log' for more details" "$LINENO" 5 ; }
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_mangling" >&5
+$as_echo "$ac_cv_f77_mangling" >&6; }
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+
+ax_blas_ok=no
+
+
+@%:@ Check whether --with-blas was given.
+if test "${with_blas+set}" = set; then :
+ withval=$with_blas;
+fi
+
+case $with_blas in
+ yes | "") ;;
+ no) ax_blas_ok=disable ;;
+ -* | */* | *.a | *.so | *.so.* | *.o) BLAS_LIBS="$with_blas" ;;
+ *) BLAS_LIBS="-l$with_blas" ;;
+esac
+
+# Get fortran linker names of BLAS functions to check for.
+ac_ext=f
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
+case $ac_cv_f77_mangling in
+ upper*) ac_val="SGEMM" ;;
+ lower*) ac_val="sgemm" ;;
+ *) ac_val="unknown" ;;
+esac
+case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
+
+sgemm="$ac_val"
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=f
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
+case $ac_cv_f77_mangling in
+ upper*) ac_val="DGEMM" ;;
+ lower*) ac_val="dgemm" ;;
+ *) ac_val="unknown" ;;
+esac
+case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
+
+dgemm="$ac_val"
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+ax_blas_save_LIBS="$LIBS"
+LIBS="$LIBS $FLIBS"
+
+# First, check BLAS_LIBS environment variable
+if test $ax_blas_ok = no; then
+if test "x$BLAS_LIBS" != x; then
+ save_LIBS="$LIBS"; LIBS="$BLAS_LIBS $LIBS"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in $BLAS_LIBS" >&5
+$as_echo_n "checking for $sgemm in $BLAS_LIBS... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $sgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $sgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ax_blas_ok=yes
+else
+ BLAS_LIBS=""
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_blas_ok" >&5
+$as_echo "$ax_blas_ok" >&6; }
+ LIBS="$save_LIBS"
+fi
+fi
+
+# BLAS linked to by default? (happens on some supercomputers)
+if test $ax_blas_ok = no; then
+ save_LIBS="$LIBS"; LIBS="$LIBS"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $sgemm is being linked in already" >&5
+$as_echo_n "checking if $sgemm is being linked in already... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $sgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $sgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ax_blas_ok=yes
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_blas_ok" >&5
+$as_echo "$ax_blas_ok" >&6; }
+ LIBS="$save_LIBS"
+fi
+
+# BLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
+if test $ax_blas_ok = no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATL_xerbla in -latlas" >&5
+$as_echo_n "checking for ATL_xerbla in -latlas... " >&6; }
+if test "${ac_cv_lib_atlas_ATL_xerbla+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-latlas $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char ATL_xerbla ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return ATL_xerbla ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_atlas_ATL_xerbla=yes
+else
+ ac_cv_lib_atlas_ATL_xerbla=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atlas_ATL_xerbla" >&5
+$as_echo "$ac_cv_lib_atlas_ATL_xerbla" >&6; }
+if test "x$ac_cv_lib_atlas_ATL_xerbla" = x""yes; then :
+ as_ac_Lib=`$as_echo "ac_cv_lib_f77blas_$sgemm" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lf77blas" >&5
+$as_echo_n "checking for $sgemm in -lf77blas... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lf77blas -latlas $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $sgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $sgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_dgemm in -lcblas" >&5
+$as_echo_n "checking for cblas_dgemm in -lcblas... " >&6; }
+if test "${ac_cv_lib_cblas_cblas_dgemm+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lcblas -lf77blas -latlas $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char cblas_dgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return cblas_dgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_cblas_cblas_dgemm=yes
+else
+ ac_cv_lib_cblas_cblas_dgemm=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cblas_cblas_dgemm" >&5
+$as_echo "$ac_cv_lib_cblas_cblas_dgemm" >&6; }
+if test "x$ac_cv_lib_cblas_cblas_dgemm" = x""yes; then :
+ ax_blas_ok=yes
+ BLAS_LIBS="-lcblas -lf77blas -latlas"
+fi
+
+fi
+
+fi
+
+fi
+
+# BLAS in PhiPACK libraries? (requires generic BLAS lib, too)
+if test $ax_blas_ok = no; then
+ as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
+$as_echo_n "checking for $sgemm in -lblas... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lblas $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $sgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $sgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ as_ac_Lib=`$as_echo "ac_cv_lib_dgemm_$dgemm" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dgemm in -ldgemm" >&5
+$as_echo_n "checking for $dgemm in -ldgemm... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldgemm -lblas $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $dgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $dgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ as_ac_Lib=`$as_echo "ac_cv_lib_sgemm_$sgemm" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lsgemm" >&5
+$as_echo_n "checking for $sgemm in -lsgemm... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsgemm -lblas $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $sgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $sgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ ax_blas_ok=yes; BLAS_LIBS="-lsgemm -ldgemm -lblas"
+fi
+
+fi
+
+fi
+
+fi
+
+# BLAS in Intel MKL library?
+if test $ax_blas_ok = no; then
+ as_ac_Lib=`$as_echo "ac_cv_lib_mkl_$sgemm" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lmkl" >&5
+$as_echo_n "checking for $sgemm in -lmkl... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lmkl $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $sgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $sgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ ax_blas_ok=yes;BLAS_LIBS="-lmkl"
+fi
+
+fi
+
+# BLAS in Apple vecLib library?
+if test $ax_blas_ok = no; then
+ save_LIBS="$LIBS"; LIBS="-framework vecLib $LIBS"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -framework vecLib" >&5
+$as_echo_n "checking for $sgemm in -framework vecLib... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $sgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $sgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ax_blas_ok=yes;BLAS_LIBS="-framework vecLib"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_blas_ok" >&5
+$as_echo "$ax_blas_ok" >&6; }
+ LIBS="$save_LIBS"
+fi
+
+# BLAS in Alpha CXML library?
+if test $ax_blas_ok = no; then
+ as_ac_Lib=`$as_echo "ac_cv_lib_cxml_$sgemm" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lcxml" >&5
+$as_echo_n "checking for $sgemm in -lcxml... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lcxml $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $sgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $sgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ ax_blas_ok=yes;BLAS_LIBS="-lcxml"
+fi
+
+fi
+
+# BLAS in Alpha DXML library? (now called CXML, see above)
+if test $ax_blas_ok = no; then
+ as_ac_Lib=`$as_echo "ac_cv_lib_dxml_$sgemm" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -ldxml" >&5
+$as_echo_n "checking for $sgemm in -ldxml... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldxml $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $sgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $sgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ ax_blas_ok=yes;BLAS_LIBS="-ldxml"
+fi
+
+fi
+
+# BLAS in Sun Performance library?
+if test $ax_blas_ok = no; then
+ if test "x$GCC" != xyes; then # only works with Sun CC
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosp in -lsunmath" >&5
+$as_echo_n "checking for acosp in -lsunmath... " >&6; }
+if test "${ac_cv_lib_sunmath_acosp+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsunmath $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char acosp ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return acosp ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_sunmath_acosp=yes
+else
+ ac_cv_lib_sunmath_acosp=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sunmath_acosp" >&5
+$as_echo "$ac_cv_lib_sunmath_acosp" >&6; }
+if test "x$ac_cv_lib_sunmath_acosp" = x""yes; then :
+ as_ac_Lib=`$as_echo "ac_cv_lib_sunperf_$sgemm" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lsunperf" >&5
+$as_echo_n "checking for $sgemm in -lsunperf... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsunperf -lsunmath $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $sgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $sgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ BLAS_LIBS="-xlic_lib=sunperf -lsunmath"
+ ax_blas_ok=yes
+fi
+
+fi
+
+ fi
+fi
+
+# BLAS in SCSL library? (SGI/Cray Scientific Library)
+if test $ax_blas_ok = no; then
+ as_ac_Lib=`$as_echo "ac_cv_lib_scs_$sgemm" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lscs" >&5
+$as_echo_n "checking for $sgemm in -lscs... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lscs $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $sgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $sgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ ax_blas_ok=yes; BLAS_LIBS="-lscs"
+fi
+
+fi
+
+# BLAS in SGIMATH library?
+if test $ax_blas_ok = no; then
+ as_ac_Lib=`$as_echo "ac_cv_lib_complib.sgimath_$sgemm" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lcomplib.sgimath" >&5
+$as_echo_n "checking for $sgemm in -lcomplib.sgimath... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lcomplib.sgimath $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $sgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $sgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ ax_blas_ok=yes; BLAS_LIBS="-lcomplib.sgimath"
+fi
+
+fi
+
+# BLAS in IBM ESSL library? (requires generic BLAS lib, too)
+if test $ax_blas_ok = no; then
+ as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
+$as_echo_n "checking for $sgemm in -lblas... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lblas $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $sgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $sgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ as_ac_Lib=`$as_echo "ac_cv_lib_essl_$sgemm" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lessl" >&5
+$as_echo_n "checking for $sgemm in -lessl... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lessl -lblas $FLIBS $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $sgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $sgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ ax_blas_ok=yes; BLAS_LIBS="-lessl -lblas"
+fi
+
+fi
+
+fi
+
+# Generic BLAS library?
+if test $ax_blas_ok = no; then
+ as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
+$as_echo_n "checking for $sgemm in -lblas... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lblas $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $sgemm ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $sgemm ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ ax_blas_ok=yes; BLAS_LIBS="-lblas"
+fi
+
+fi
+
+
+
+LIBS="$ax_blas_save_LIBS"
+
+# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
+if test x"$ax_blas_ok" = xyes; then
+
+$as_echo "@%:@define HAVE_BLAS 1" >>confdefs.h
+
+ :
+else
+ ax_blas_ok=no
+
+fi
+
+
+
+ax_lapack_ok=no
+
+
+@%:@ Check whether --with-lapack was given.
+if test "${with_lapack+set}" = set; then :
+ withval=$with_lapack;
+fi
+
+case $with_lapack in
+ yes | "") ;;
+ no) ax_lapack_ok=disable ;;
+ -* | */* | *.a | *.so | *.so.* | *.o) LAPACK_LIBS="$with_lapack" ;;
+ *) LAPACK_LIBS="-l$with_lapack" ;;
+esac
+
+# Get fortran linker name of LAPACK function to check for.
+ac_ext=f
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
+case $ac_cv_f77_mangling in
+ upper*) ac_val="CHEEV" ;;
+ lower*) ac_val="cheev" ;;
+ *) ac_val="unknown" ;;
+esac
+case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
+
+cheev="$ac_val"
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+# We cannot use LAPACK if BLAS is not found
+if test "x$ax_blas_ok" != xyes; then
+ ax_lapack_ok=noblas
+ LAPACK_LIBS=""
+fi
+
+# First, check LAPACK_LIBS environment variable
+if test "x$LAPACK_LIBS" != x; then
+ save_LIBS="$LIBS"; LIBS="$LAPACK_LIBS $BLAS_LIBS $LIBS $FLIBS"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $cheev in $LAPACK_LIBS" >&5
+$as_echo_n "checking for $cheev in $LAPACK_LIBS... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $cheev ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $cheev ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ax_lapack_ok=yes
+else
+ LAPACK_LIBS=""
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_lapack_ok" >&5
+$as_echo "$ax_lapack_ok" >&6; }
+ LIBS="$save_LIBS"
+ if test $ax_lapack_ok = no; then
+ LAPACK_LIBS=""
+ fi
+fi
+
+# LAPACK linked to by default? (is sometimes included in BLAS lib)
+if test $ax_lapack_ok = no; then
+ save_LIBS="$LIBS"; LIBS="$LIBS $BLAS_LIBS $FLIBS"
+ as_ac_var=`$as_echo "ac_cv_func_$cheev" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$cheev" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+ ax_lapack_ok=yes
+fi
+
+ LIBS="$save_LIBS"
+fi
+
+# Generic LAPACK library?
+for lapack in lapack lapack_rs6k; do
+ if test $ax_lapack_ok = no; then
+ save_LIBS="$LIBS"; LIBS="$BLAS_LIBS $LIBS"
+ as_ac_Lib=`$as_echo "ac_cv_lib_$lapack''_$cheev" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $cheev in -l$lapack" >&5
+$as_echo_n "checking for $cheev in -l$lapack... " >&6; }
+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-l$lapack $FLIBS $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $cheev ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return $cheev ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$as_ac_Lib=yes"
+else
+ eval "$as_ac_Lib=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+eval ac_res=\$$as_ac_Lib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+ ax_lapack_ok=yes; LAPACK_LIBS="-l$lapack"
+fi
+
+ LIBS="$save_LIBS"
+ fi
+done
+
+
+
+# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
+if test x"$ax_lapack_ok" = xyes; then
+
+$as_echo "@%:@define HAVE_LAPACK 1" >>confdefs.h
+
+ :
+else
+ ax_lapack_ok=no
+
+fi
+
+
+
+
+
+@%:@ Check whether --with-hlib was given.
+if test "${with_hlib+set}" = set; then :
+ withval=$with_hlib;
+ if test "$withval" = "no"; then
+ want_hlib="no"
+ elif test "$withval" = "yes"; then
+ want_hlib="yes"
+ ac_hlib_path=""
+ else
+ want_hlib="yes"
+ ac_hlib_path="$withval"
+ fi
+
+else
+
+ want_hlib="yes"
+
+fi
+
+
+ if test "x$want_hlib" = "xyes"; then
+ if test "x$LAPACK_LIBS" = "x"; then
+ as_fn_error $? "We could not detect lapack. Please install lapack or disable
+ HLib." "$LINENO" 5
+ fi
+
+ if test "$ac_hlib_path" != ""; then
+ HLIB_LDFLAGS="-L$ac_hlib_path/lib"
+ HLIB_CPPFLAGS="-I$ac_hlib_path/include"
+ HLIB_ROOT_PATH="$ac_hlib_path"
+ else
+ for ac_hlib_path_tmp in /usr /usr/local /opt /opt/local ; do
+ if test -d "$ac_hlib_path_tmp/include/HLib"; then
+ HLIB_LDFLAGS="-L$ac_hlib_path_tmp/lib"
+ HLIB_CPPFLAGS="-I$ac_hlib_path_tmp/include"
+ HLIB_ROOT_PATH="$ac_hlib_path_tmp"
+ break;
+ fi
+ done
+ fi
+
+ if test "x$HLIB_ROOT_PATH" = "x"; then
+ as_fn_error $? "We could not detect HLib. You may disable this error
+ message by running configure with --with-hlib=no. If you
+ would like to use HLib, please make sure that a recent
+ version (1.3 or higher) is installed and specify the
+ location by running configure with --with-hlib=/dir/to/hlib.
+ Please note that you have to install HLib to use it with
+ this software package." "$LINENO" 5
+ else
+
+
+
+
+ # Now we are trying to include headers:
+ CPPFLAGS_SAVED="$CPPFLAGS"
+ LDFLAGS_SAVED="$LDFLAGS"
+
+ CPPFLAGS="$CPPFLAGS $HLIB_CPPFLAGS"
+ export CPPFLAGS
+ LDFLAGS="$LDFLAGS $HLIB_LDFLAGS"
+ export LDFLAGS
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether HLib library is available" >&5
+$as_echo_n "checking whether HLib library is available... " >&6; }
+if test "${ax_cv_hlib+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <HLib/bem2d.h>
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+del_bemgrid2d(new_bemgrid2d(5, 5)); return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ax_cv_hlib=yes
+else
+ ax_cv_hlib=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_hlib" >&5
+$as_echo "$ax_cv_hlib" >&6; }
+
+ if test "x$ax_cv_hlib" = "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for newaca_fill_block in -lhmatrix" >&5
+$as_echo_n "checking for newaca_fill_block in -lhmatrix... " >&6; }
+if test "${ac_cv_lib_hmatrix_newaca_fill_block+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lhmatrix $LAPACK_LIBS $BLAS_LIBS $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char newaca_fill_block ();
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+return newaca_fill_block ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_hmatrix_newaca_fill_block=yes
+else
+ ac_cv_lib_hmatrix_newaca_fill_block=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hmatrix_newaca_fill_block" >&5
+$as_echo "$ac_cv_lib_hmatrix_newaca_fill_block" >&6; }
+if test "x$ac_cv_lib_hmatrix_newaca_fill_block" = x""yes; then :
+ HLIB_LIB="-lhmatrix"; link_hlib="yes"; break
+else
+ link_hlib="no"
+fi
+
+
+ if test "x$link_hlib" = "xyes"; then
+
+$as_echo "@%:@define HAVE_HLIB /**/" >>confdefs.h
+
+ else
+ as_fn_error $? "Could not link against HLib. Please verify that
+ HLib is installed properly. You may disable support
+ for HLib by running configure with --with-hlib=no." "$LINENO" 5
+ fi
+ fi
+
+ CPPFLAGS="$CPPFLAGS_SAVED"
+ LDFLAGS="$LDFLAGS_SAVED"
+ fi
+ fi
+
+
+
+@%:@ Check whether --with-loki was given.
+if test "${with_loki+set}" = set; then :
+ withval=$with_loki;
+ if test "$withval" = "no"; then
+ as_fn_error $? "Sorry, but it is not possible to compile without loki" "$LINENO" 5
+ want_loki="no"
+ elif test "$withval" = "yes"; then
+ want_loki="yes"
+ ac_loki_path=""
+ else
+ want_loki="yes"
+ ac_loki_path="$withval"
+ fi
+
+else
+
+ want_loki="yes";
+
+fi
+
+
+ if test "x$want_loki" = "xyes"; then
+ if test "x$ac_loki_path" = "x"; then
+ for ac_loki_path_tmp in /usr /usr/local /opt /opt/local; do
+ if test -d "$ac_loki_path_tmp/include/loki"; then
+ LOKI_LDFLAGS="-L$ac_hlib_path_tmp/lib"
+ LOKI_CPPFLAGS="-I$ac_hlib_path_tmp/include"
+ LOKI_ROOT_PATH="$ac_hlib_path_tmp"
+ break;
+ fi
+ done
+ else
+ LOKI_LDFLAGS="-L$ac_hlib_path/lib"
+ LOKI_CPPFLAGS="-I$ac_hlib_path/include"
+ LOKI_ROOT_PATH="$ac_hlib_path"
+ fi
+
+ if test "x$LOKI_ROOT_PATH" = "x"; then
+ as_fn_error $? "We could not detect the loki library. Please install
+ the loki library, c.f. loki-lib.sf.net, before
+ proceeding." "$LINENO" 5
+ else
+
+
+
+
+ # Run some basic tests to check whether loki is really available:
+ CPPFLAGS_SAVED="$CPPFLAGS"
+ LDFLAGS_SAVED="$LDFLAGS"
+
+ CPPFLAGS="$CPPFLAGS $LOKI_CPPFLAGS"
+ CFLAGS="$CPPFLAGS"
+ export CPPFLAGS
+ export CFLAGS
+ LDFLAGS="$LDFLAGS $LOKI_LDFLAGS"
+ export LDFLAGS
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Loki is usable" >&5
+$as_echo_n "checking whether Loki is usable... " >&6; }
+if test "${ax_cv_loki+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <loki/SmartPtr.h>
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+::Loki::SmartPtr< int > t = new int;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ax_cv_loki="yes"
+else
+ ax_cv_loki="no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_loki" >&5
+$as_echo "$ax_cv_loki" >&6; }
+
+ if test "$ax_cv_loki" != "yes"; then
+ as_fn_error $? "Could not use the loki library. Please make sure
+ that it is installed correctly." "$LINENO" 5 ;
+ fi
+
+ CPPFLAGS="$SAVED_CPPFLAGS"
+ export CPPFLAGS
+ LDFLAGS="$SAVED_LDFLAGS"
+ export LDFLAGS
+ fi
+ fi
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+ if test "${ac_cv_prog_CPP+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CPP needs to be expanded
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+ break
+fi
+
+ done
+ ac_cv_prog_CPP=$CPP
+
+fi
+ CPP=$ac_cv_prog_CPP
+else
+ ac_cv_prog_CPP=$CPP
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
+$as_echo "$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@ifdef __STDC__
+@%:@ include <limits.h>
+@%:@else
+@%:@ include <assert.h>
+@%:@endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+@%:@include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5 ; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
+if test "${ac_cv_path_GREP+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$GREP"; then
+ ac_path_GREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in grep ggrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+# Check for GNU ac_path_GREP and select it if it is found.
+ # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'GREP' >> "conftest.nl"
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_GREP="$ac_path_GREP"
+ ac_path_GREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_GREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_GREP"; then
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_GREP=$GREP
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
+$as_echo "$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
+$as_echo_n "checking for egrep... " >&6; }
+if test "${ac_cv_path_EGREP+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+ then ac_cv_path_EGREP="$GREP -E"
+ else
+ if test -z "$EGREP"; then
+ ac_path_EGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
+# Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'EGREP' >> "conftest.nl"
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP="$ac_path_EGREP"
+ ac_path_EGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_EGREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_EGREP"; then
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_EGREP=$EGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
+$as_echo "$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
+$as_echo_n "checking for ANSI C header files... " >&6; }
+if test "${ac_cv_header_stdc+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_header_stdc=yes
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then :
+ :
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ return 2;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
+$as_echo "$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
+
+fi
+
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+ inttypes.h stdint.h unistd.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
+$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
+if test "${ac_cv_header_stdbool_h+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#include <stdbool.h>
+#ifndef bool
+ "error: bool is not defined"
+#endif
+#ifndef false
+ "error: false is not defined"
+#endif
+#if false
+ "error: false is not 0"
+#endif
+#ifndef true
+ "error: true is not defined"
+#endif
+#if true != 1
+ "error: true is not 1"
+#endif
+#ifndef __bool_true_false_are_defined
+ "error: __bool_true_false_are_defined is not defined"
+#endif
+
+ struct s { _Bool s: 1; _Bool t; } s;
+
+ char a[true == 1 ? 1 : -1];
+ char b[false == 0 ? 1 : -1];
+ char c[__bool_true_false_are_defined == 1 ? 1 : -1];
+ char d[(bool) 0.5 == true ? 1 : -1];
+ bool e = &s;
+ char f[(_Bool) 0.0 == false ? 1 : -1];
+ char g[true];
+ char h[sizeof (_Bool)];
+ char i[sizeof s.t];
+ enum { j = false, k = true, l = false * true, m = true * 256 };
+ /* The following fails for
+ HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
+ _Bool n[m];
+ char o[sizeof n == m * sizeof n[0] ? 1 : -1];
+ char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
+# if defined __xlc__ || defined __GNUC__
+ /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
+ reported by James Lemley on 2005-10-05; see
+ http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
+ This test is not quite right, since xlc is allowed to
+ reject this program, as the initializer for xlcbug is
+ not one of the forms that C requires support for.
+ However, doing the test right would require a runtime
+ test, and that would make cross-compilation harder.
+ Let us hope that IBM fixes the xlc bug, and also adds
+ support for this kind of constant expression. In the
+ meantime, this test will reject xlc, which is OK, since
+ our stdbool.h substitute should suffice. We also test
+ this with GCC, where it should work, to detect more
+ quickly whether someone messes up the test in the
+ future. */
+ char digs[] = "0123456789";
+ int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
+# endif
+ /* Catch a bug in an HP-UX C compiler. See
+ http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
+ http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
+ */
+ _Bool q = true;
+ _Bool *pq = &q;
+
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+
+ *pq |= q;
+ *pq |= ! q;
+ /* Refer to every declared value, to avoid compiler optimizations. */
+ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
+ + !m + !n + !o + !p + !q + !pq);
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_header_stdbool_h=yes
+else
+ ac_cv_header_stdbool_h=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
+$as_echo "$ac_cv_header_stdbool_h" >&6; }
+ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
+if test "x$ac_cv_type__Bool" = x""yes; then :
+
+cat >>confdefs.h <<_ACEOF
+@%:@define HAVE__BOOL 1
+_ACEOF
+
+
+fi
+
+if test $ac_cv_header_stdbool_h = yes; then
+
+$as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
+
+fi
+
+
+
+
+
+ac_config_files="$ac_config_files Makefile src/Makefile src/boundary_mesh/Makefile src/spaces/Makefile src/laplace/Makefile t/Makefile t/generic/Makefile t/boundary_mesh/Makefile t/laplace/Makefile"
+
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes: double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ test "x$cache_file" != "x/dev/null" &&
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ cat confcache >$cache_file
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+DEFS=-DHAVE_CONFIG_H
+
+ac_libobjs=
+ac_ltlibobjs=
+U=
+for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
+done
+LIB@&t@OBJS=$ac_libobjs
+
+LTLIBOBJS=$ac_ltlibobjs
+
+
+ if test -n "$EXEEXT"; then
+ am__EXEEXT_TRUE=
+ am__EXEEXT_FALSE='#'
+else
+ am__EXEEXT_TRUE='#'
+ am__EXEEXT_FALSE=
+fi
+
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+ as_fn_error $? "conditional \"AMDEP\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_man\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_man\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_html\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_html\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
+ as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+
+: ${CONFIG_STATUS=./config.status}
+ac_write_fail=0
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
+as_write_fail=0
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in @%:@(
+ *posix*) :
+ set -o posix ;; @%:@(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in @%:@(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+case $0 in @%:@((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+
+@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
+@%:@ ----------------------------------------
+@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+@%:@ script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} @%:@ as_fn_error
+
+
+@%:@ as_fn_set_status STATUS
+@%:@ -----------------------
+@%:@ Set @S|@? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} @%:@ as_fn_set_status
+
+@%:@ as_fn_exit STATUS
+@%:@ -----------------
+@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} @%:@ as_fn_exit
+
+@%:@ as_fn_unset VAR
+@%:@ ---------------
+@%:@ Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+@%:@ as_fn_append VAR VALUE
+@%:@ ----------------------
+@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
+@%:@ advantage of any shell optimizations that allow amortized linear growth over
+@%:@ repeated appends, instead of the typical quadratic growth present in naive
+@%:@ implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+@%:@ as_fn_arith ARG...
+@%:@ ------------------
+@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
+@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
+@%:@ must be portable across @S|@(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in @%:@(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -p'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -p'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -p'
+ fi
+else
+ as_ln_s='cp -p'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+
+@%:@ as_fn_mkdir_p
+@%:@ -------------
+@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} @%:@ as_fn_mkdir_p
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+if test -x / >/dev/null 2>&1; then
+ as_test_x='test -x'
+else
+ if ls -dL / >/dev/null 2>&1; then
+ as_ls_L_option=L
+ else
+ as_ls_L_option=
+ fi
+ as_test_x='
+ eval sh -c '\''
+ if test -d "$1"; then
+ test -d "$1/.";
+ else
+ case $1 in @%:@(
+ -*)set "./$1";;
+ esac;
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
+ ???[sx]*):;;*)false;;esac;fi
+ '\'' sh
+ '
+fi
+as_executable_p=$as_test_x
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+exec 6>&1
+## ----------------------------------- ##
+## Main body of $CONFIG_STATUS script. ##
+## ----------------------------------- ##
+_ASEOF
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# Save the log message, to keep $0 and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.
+ac_log="
+This file was extended by Hilbert 3D $as_me 0.1.0, which was
+generated by GNU Autoconf 2.67. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+"
+
+_ACEOF
+
+case $ac_config_files in *"
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
+esac
+
+case $ac_config_headers in *"
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
+esac
+
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+# Files that config.status was made for.
+config_files="$ac_config_files"
+config_headers="$ac_config_headers"
+config_commands="$ac_config_commands"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ac_cs_usage="\
+\`$as_me' instantiates files and other configuration actions
+from templates according to the current configuration. Unless the files
+and actions are specified as TAGs, all are instantiated by default.
+
+Usage: $0 [OPTION]... [TAG]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+ --config print configuration, then exit
+ -q, --quiet, --silent
+ do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
+
+Configuration files:
+$config_files
+
+Configuration headers:
+$config_headers
+
+Configuration commands:
+$config_commands
+
+Report bugs to <markus.mayr@tuwien.ac.at>.
+Hilbert 3D home page: <http://83.169.35.184/cgi-bin/gitweb?p=bem3d.git>."
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
+ac_cs_version="\\
+Hilbert 3D config.status 0.1.0
+configured by $0, generated by GNU Autoconf 2.67,
+ with options \\"\$ac_cs_config\\"
+
+Copyright (C) 2010 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
+ac_pwd='$ac_pwd'
+srcdir='$srcdir'
+INSTALL='$INSTALL'
+MKDIR_P='$MKDIR_P'
+AWK='$AWK'
+test -n "\$AWK" || AWK=awk
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# The default lists apply if the user does not specify any file.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=?*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ --*=)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=
+ ac_shift=:
+ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ $as_echo "$ac_cs_version"; exit ;;
+ --config | --confi | --conf | --con | --co | --c )
+ $as_echo "$ac_cs_config"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ '') as_fn_error $? "missing file argument" ;;
+ esac
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --header | --heade | --head | --hea )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ as_fn_append CONFIG_HEADERS " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h)
+ # Conflict between --help and --header
+ as_fn_error $? "ambiguous option: \`$1'
+Try \`$0 --help' for more information.";;
+ --help | --hel | -h )
+ $as_echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) as_fn_error $? "unrecognized option: \`$1'
+Try \`$0 --help' for more information." ;;
+
+ *) as_fn_append ac_config_targets " $1"
+ ac_need_defaults=false ;;
+
+ esac
+ shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+if \$ac_cs_recheck; then
+ set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ shift
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
+ CONFIG_SHELL='$SHELL'
+ export CONFIG_SHELL
+ exec "\$@"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
+@%:@@%:@ Running $as_me. @%:@@%:@
+_ASBOX
+ $as_echo "$ac_log"
+} >&5
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+#
+# INIT-COMMANDS
+#
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+
+# Handling of arguments.
+for ac_config_target in $ac_config_targets
+do
+ case $ac_config_target in
+ "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
+ "src/boundary_mesh/Makefile") CONFIG_FILES="$CONFIG_FILES src/boundary_mesh/Makefile" ;;
+ "src/spaces/Makefile") CONFIG_FILES="$CONFIG_FILES src/spaces/Makefile" ;;
+ "src/laplace/Makefile") CONFIG_FILES="$CONFIG_FILES src/laplace/Makefile" ;;
+ "t/Makefile") CONFIG_FILES="$CONFIG_FILES t/Makefile" ;;
+ "t/generic/Makefile") CONFIG_FILES="$CONFIG_FILES t/generic/Makefile" ;;
+ "t/boundary_mesh/Makefile") CONFIG_FILES="$CONFIG_FILES t/boundary_mesh/Makefile" ;;
+ "t/laplace/Makefile") CONFIG_FILES="$CONFIG_FILES t/laplace/Makefile" ;;
+
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
+ esac
+done
+
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason against having it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Hook for its removal unless debugging.
+# Note that there is a small window in which the directory will not be cleaned:
+# after its creation but before its name has been assigned to `$tmp'.
+$debug ||
+{
+ tmp=
+ trap 'exit_status=$?
+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
+' 0
+ trap 'as_fn_exit 1' 1 2 13 15
+}
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+ test -n "$tmp" && test -d "$tmp"
+} ||
+{
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+
+# Set up the scripts for CONFIG_FILES section.
+# No need to generate them if there are no CONFIG_FILES.
+# This happens for instance with `./config.status config.h'.
+if test -n "$CONFIG_FILES"; then
+
+
+ac_cr=`echo X | tr X '\015'`
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
+# But we know of no other shell where ac_cr would be empty at this
+# point, so we can use a bashism as a fallback.
+if test "x$ac_cr" = x; then
+ eval ac_cr=\$\'\\r\'
+fi
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+ ac_cs_awk_cr='\\r'
+else
+ ac_cs_awk_cr=$ac_cr
+fi
+
+echo 'BEGIN {' >"$tmp/subs1.awk" &&
+_ACEOF
+
+
+{
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
+ echo "_ACEOF"
+} >conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ . ./conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
+ if test $ac_delim_n = $ac_delim_num; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+rm -f conf$$subs.sh
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
+_ACEOF
+sed -n '
+h
+s/^/S["/; s/!.*/"]=/
+p
+g
+s/^[^!]*!//
+:repl
+t repl
+s/'"$ac_delim"'$//
+t delim
+:nl
+h
+s/\(.\{148\}\)..*/\1/
+t more1
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
+p
+n
+b repl
+:more1
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t nl
+:delim
+h
+s/\(.\{148\}\)..*/\1/
+t more2
+s/["\\]/\\&/g; s/^/"/; s/$/"/
+p
+b
+:more2
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t delim
+' <conf$$subs.awk | sed '
+/^[^""]/{
+ N
+ s/\n//
+}
+' >>$CONFIG_STATUS || ac_write_fail=1
+rm -f conf$$subs.awk
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACAWK
+cat >>"\$tmp/subs1.awk" <<_ACAWK &&
+ for (key in S) S_is_set[key] = 1
+ FS = "\a"
+
+}
+{
+ line = $ 0
+ nfields = split(line, field, "@")
+ substed = 0
+ len = length(field[1])
+ for (i = 2; i < nfields; i++) {
+ key = field[i]
+ keylen = length(key)
+ if (S_is_set[key]) {
+ value = S[key]
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
+ len += length(value) + length(field[++i])
+ substed = 1
+ } else
+ len += 1 + keylen
+ }
+
+ print line
+}
+
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+else
+ cat
+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+_ACEOF
+
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
+h
+s///
+s/^/:/
+s/[ ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
+s/:*$//
+x
+s/\(=[ ]*\).*/\1/
+G
+s/\n//
+s/^[^=]*=[ ]*$//
+}'
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+fi # test -n "$CONFIG_FILES"
+
+# Set up the scripts for CONFIG_HEADERS section.
+# No need to generate them if there are no CONFIG_HEADERS.
+# This happens for instance with `./config.status Makefile'.
+if test -n "$CONFIG_HEADERS"; then
+cat >"$tmp/defines.awk" <<\_ACAWK ||
+BEGIN {
+_ACEOF
+
+# Transform confdefs.h into an awk script `defines.awk', embedded as
+# here-document in config.status, that substitutes the proper values into
+# config.h.in to produce config.h.
+
+# Create a delimiter string that does not exist in confdefs.h, to ease
+# handling of long lines.
+ac_delim='%!_!# '
+for ac_last_try in false false :; do
+ ac_t=`sed -n "/$ac_delim/p" confdefs.h`
+ if test -z "$ac_t"; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+
+# For the awk script, D is an array of macro values keyed by name,
+# likewise P contains macro parameters if any. Preserve backslash
+# newline sequences.
+
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
+sed -n '
+s/.\{148\}/&'"$ac_delim"'/g
+t rset
+:rset
+s/^[ ]*#[ ]*define[ ][ ]*/ /
+t def
+d
+:def
+s/\\$//
+t bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3"/p
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
+d
+:bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3\\\\\\n"\\/p
+t cont
+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
+t cont
+d
+:cont
+n
+s/.\{148\}/&'"$ac_delim"'/g
+t clear
+:clear
+s/\\$//
+t bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
+d
+:bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
+b cont
+' <confdefs.h | sed '
+s/'"$ac_delim"'/"\\\
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ for (key in D) D_is_set[key] = 1
+ FS = "\a"
+}
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
+ line = \$ 0
+ split(line, arg, " ")
+ if (arg[1] == "#") {
+ defundef = arg[2]
+ mac1 = arg[3]
+ } else {
+ defundef = substr(arg[1], 2)
+ mac1 = arg[2]
+ }
+ split(mac1, mac2, "(") #)
+ macro = mac2[1]
+ prefix = substr(line, 1, index(line, defundef) - 1)
+ if (D_is_set[macro]) {
+ # Preserve the white space surrounding the "#".
+ print prefix "define", macro P[macro] D[macro]
+ next
+ } else {
+ # Replace #undef with comments. This is necessary, for example,
+ # in the case of _POSIX_SOURCE, which is predefined and required
+ # on some systems where configure will not decide to define it.
+ if (defundef == "undef") {
+ print "/*", prefix defundef, macro, "*/"
+ next
+ }
+ }
+}
+{ print }
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
+fi # test -n "$CONFIG_HEADERS"
+
+
+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
+shift
+for ac_tag
+do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+ ac_save_IFS=$IFS
+ IFS=:
+ set x $ac_tag
+ IFS=$ac_save_IFS
+ shift
+ ac_file=$1
+ shift
+
+ case $ac_mode in
+ :L) ac_source=$1;;
+ :[FH])
+ ac_file_inputs=
+ for ac_f
+ do
+ case $ac_f in
+ -) ac_f="$tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+ test -f "$ac_f" ||
+ case $ac_f in
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
+ esac
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+ as_fn_append ac_file_inputs " '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ configure_input='Generated from '`
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+$as_echo "$as_me: creating $ac_file" >&6;}
+ fi
+ # Neutralize special characters interpreted by sed in replacement strings.
+ case $configure_input in #(
+ *\&* | *\|* | *\\* )
+ ac_sed_conf_input=`$as_echo "$configure_input" |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
+ *) ac_sed_conf_input=$configure_input;;
+ esac
+
+ case $ac_tag in
+ *:-:* | *:-) cat >"$tmp/stdin" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+ esac
+ ;;
+ esac
+
+ ac_dir=`$as_dirname -- "$ac_file" ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ case $ac_mode in
+ :F)
+ #
+ # CONFIG_FILE
+ #
+
+ case $INSTALL in
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
+ esac
+ ac_MKDIR_P=$MKDIR_P
+ case $MKDIR_P in
+ [\\/$]* | ?:[\\/]* ) ;;
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
+ esac
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# If the template does not know about datarootdir, expand it.
+# FIXME: This hack should be removed a few years after 2.60.
+ac_datarootdir_hack=; ac_datarootdir_seen=
+ac_sed_dataroot='
+/datarootdir/ {
+ p
+ q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p'
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ ac_datarootdir_hack='
+ s&@datadir@&$datadir&g
+ s&@docdir@&$docdir&g
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+ s&\\\${datarootdir}&$datarootdir&g' ;;
+esac
+_ACEOF
+
+# Neutralize VPATH when `$srcdir' = `.'.
+# Shell code in configure.ac might set extrasub.
+# FIXME: do we really want to maintain this feature?
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_sed_extra="$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s|@configure_input@|$ac_sed_conf_input|;t t
+s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
+s&@srcdir@&$ac_srcdir&;t t
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
+s&@top_srcdir@&$ac_top_srcdir&;t t
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
+s&@builddir@&$ac_builddir&;t t
+s&@abs_builddir@&$ac_abs_builddir&;t t
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+s&@INSTALL@&$ac_INSTALL&;t t
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
+$ac_datarootdir_hack
+"
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&5
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&2;}
+
+ rm -f "$tmp/stdin"
+ case $ac_file in
+ -) cat "$tmp/out" && rm -f "$tmp/out";;
+ *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
+ esac \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ ;;
+ :H)
+ #
+ # CONFIG_HEADER
+ #
+ if test x"$ac_file" != x-; then
+ {
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
+ } >"$tmp/config.h" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ rm -f "$ac_file"
+ mv "$tmp/config.h" "$ac_file" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ fi
+ else
+ $as_echo "/* $configure_input */" \
+ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
+ || as_fn_error $? "could not create -" "$LINENO" 5
+ fi
+# Compute "$ac_file"'s index in $config_headers.
+_am_arg="$ac_file"
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$_am_arg" : 'X\(//\)[^/]' \| \
+ X"$_am_arg" : 'X\(//\)$' \| \
+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$_am_arg" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`/stamp-h$_am_stamp_count
+ ;;
+
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
+$as_echo "$as_me: executing $ac_file commands" >&6;}
+ ;;
+ esac
+
+
+ case $ac_file$ac_mode in
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named `Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`$as_dirname -- "$mf" ||
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$mf" : 'X\(//\)[^/]' \| \
+ X"$mf" : 'X\(//\)$' \| \
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$mf" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running `make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # When using ansi2knr, U may be empty or an underscore; expand it
+ U=`sed -n 's/^U = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`$as_dirname -- "$file" ||
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$file" : 'X\(//\)[^/]' \| \
+ X"$file" : 'X\(//\)$' \| \
+ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir=$dirpart/$fdir; as_fn_mkdir_p
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+ ;;
+
+ esac
+done # for ac_tag
+
+
+as_fn_exit 0
+_ACEOF
+ac_clean_files=$ac_clean_files_save
+
+test $ac_write_fail = 0 ||
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || as_fn_exit 1
+fi
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+fi
+
+
'AM_PROG_MKDIR_P' => 1,
'DX_FEATURE_chi' => 1,
'DX_IF_FEATURE' => 1,
+ 'DX_FEATURE_doc' => 1,
'DX_CHM_FEATURE' => 1,
'AM_AUTOMAKE_VERSION' => 1,
- 'DX_FEATURE_doc' => 1,
'AM_MISSING_HAS_RUN' => 1,
'DX_PDF_FEATURE' => 1,
'AM_SUBST_NOTMAKE' => 1,
'_AM_COND_ELSE' => 1,
'AC_SUBST_TRACE' => 1
}
+ ], 'Autom4te::Request' ),
+ bless( [
+ '3',
+ 1,
+ [
+ '/usr/share/autoconf'
+ ],
+ [
+ '/usr/share/autoconf/autoconf/autoconf.m4f',
+ '/usr/share/aclocal-1.11/amversion.m4',
+ '/usr/share/aclocal-1.11/auxdir.m4',
+ '/usr/share/aclocal-1.11/cond.m4',
+ '/usr/share/aclocal-1.11/depend.m4',
+ '/usr/share/aclocal-1.11/depout.m4',
+ '/usr/share/aclocal-1.11/init.m4',
+ '/usr/share/aclocal-1.11/install-sh.m4',
+ '/usr/share/aclocal-1.11/lead-dot.m4',
+ '/usr/share/aclocal-1.11/make.m4',
+ '/usr/share/aclocal-1.11/missing.m4',
+ '/usr/share/aclocal-1.11/mkdirp.m4',
+ '/usr/share/aclocal-1.11/options.m4',
+ '/usr/share/aclocal-1.11/runlog.m4',
+ '/usr/share/aclocal-1.11/sanity.m4',
+ '/usr/share/aclocal-1.11/silent.m4',
+ '/usr/share/aclocal-1.11/strip.m4',
+ '/usr/share/aclocal-1.11/substnot.m4',
+ '/usr/share/aclocal-1.11/tar.m4',
+ 'm4/ax_blas.m4',
+ 'm4/ax_boost_base.m4',
+ 'm4/ax_boost_regex.m4',
+ 'm4/ax_hlib.m4',
+ 'm4/ax_lapack.m4',
+ 'm4/ax_lib_loki.m4',
+ 'm4/ax_prog_doxygen.m4',
+ 'configure.ac'
+ ],
+ {
+ 'DX_RTF_FEATURE' => 1,
+ 'm4_pattern_forbid' => 1,
+ 'AX_LAPACK' => 1,
+ 'AC_DEFUN' => 1,
+ 'AM_PROG_MKDIR_P' => 1,
+ 'DX_FEATURE_chi' => 1,
+ 'DX_IF_FEATURE' => 1,
+ 'DX_CHM_FEATURE' => 1,
+ 'AM_AUTOMAKE_VERSION' => 1,
+ 'DX_FEATURE_doc' => 1,
+ 'AM_MISSING_HAS_RUN' => 1,
+ 'DX_PDF_FEATURE' => 1,
+ 'AM_SUBST_NOTMAKE' => 1,
+ 'AM_MISSING_PROG' => 1,
+ 'AM_PROG_INSTALL_STRIP' => 1,
+ 'DX_DOT_FEATURE' => 1,
+ '_m4_warn' => 1,
+ 'AM_SANITY_CHECK' => 1,
+ 'DX_CHI_FEATURE' => 1,
+ 'AX_LIB_LOKI' => 1,
+ '_AM_PROG_TAR' => 1,
+ 'DX_CURRENT_FEATURE' => 1,
+ 'DX_CLEAR_DEPEND' => 1,
+ 'AM_DEP_TRACK' => 1,
+ 'ACX_LAPACK' => 1,
+ 'DX_HTML_FEATURE' => 1,
+ '_AM_IF_OPTION' => 1,
+ '_AM_SUBST_NOTMAKE' => 1,
+ 'm4_pattern_allow' => 1,
+ '_AM_AUTOCONF_VERSION' => 1,
+ 'AM_SET_LEADING_DOT' => 1,
+ 'DX_DIRNAME_EXPR' => 1,
+ '_AM_DEPENDENCIES' => 1,
+ 'DX_DOXYGEN_FEATURE' => 1,
+ 'DX_FEATURE_man' => 1,
+ 'AX_HLIB' => 1,
+ 'DX_PS_FEATURE' => 1,
+ 'AU_DEFUN' => 1,
+ 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
+ 'DX_MAN_FEATURE' => 1,
+ '_AM_SET_OPTION' => 1,
+ 'AX_BLAS' => 1,
+ 'DX_FEATURE_chm' => 1,
+ 'AM_INIT_AUTOMAKE' => 1,
+ 'DX_FEATURE_rtf' => 1,
+ 'DX_INIT_DOXYGEN' => 1,
+ 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+ 'AC_DEFUN_ONCE' => 1,
+ 'DX_XML_FEATURE' => 1,
+ 'AX_BOOST_REGEX' => 1,
+ 'DX_TEST_FEATURE' => 1,
+ 'DX_ENV_APPEND' => 1,
+ 'AM_SILENT_RULES' => 1,
+ 'AX_BOOST_BASE' => 1,
+ 'DX_CHECK_DEPEND' => 1,
+ 'DX_FEATURE_pdf' => 1,
+ 'include' => 1,
+ 'DX_REQUIRE_PROG' => 1,
+ 'DX_ARG_ABLE' => 1,
+ 'DX_FEATURE_html' => 1,
+ 'AM_AUX_DIR_EXPAND' => 1,
+ 'DX_CURRENT_DESCRIPTION' => 1,
+ '_AM_SET_OPTIONS' => 1,
+ '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+ 'AM_RUN_LOG' => 1,
+ '_AM_MANGLE_OPTION' => 1,
+ 'AM_CONDITIONAL' => 1,
+ 'DX_FEATURE_xml' => 1,
+ 'AM_SET_DEPDIR' => 1,
+ 'DX_FEATURE_dot' => 1,
+ 'AM_PROG_INSTALL_SH' => 1,
+ 'm4_include' => 1,
+ 'ACX_BLAS' => 1,
+ 'DX_FEATURE_ps' => 1,
+ '_AC_AM_CONFIG_HEADER_HOOK' => 1,
+ 'AM_MAKE_INCLUDE' => 1
+ }
], 'Autom4te::Request' )
);
m4trace:aclocal.m4:954: -1- m4_include([m4/ax_boost_regex.m4])
m4trace:aclocal.m4:955: -1- m4_include([m4/ax_hlib.m4])
m4trace:aclocal.m4:956: -1- m4_include([m4/ax_lapack.m4])
-m4trace:aclocal.m4:957: -1- m4_include([m4/ax_prog_doxygen.m4])
+m4trace:aclocal.m4:957: -1- m4_include([m4/ax_lib_loki.m4])
+m4trace:aclocal.m4:958: -1- m4_include([m4/ax_prog_doxygen.m4])
m4trace:configure.ac:1: -1- AC_INIT([Hilbert 3D], [0.1.0], [markus.mayr@tuwien.ac.at], [hilbert3d], [http://83.169.35.184/cgi-bin/gitweb?p=bem3d.git])
m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.ac:1: -1- m4_pattern_forbid([_AC_])
m4trace:configure.ac:13: -1- AC_SUBST([BOOST_REGEX_LIB])
m4trace:configure.ac:13: -1- AC_SUBST_TRACE([BOOST_REGEX_LIB])
m4trace:configure.ac:13: -1- m4_pattern_allow([^BOOST_REGEX_LIB$])
-m4trace:configure.ac:14: -1- AC_SUBST([F77])
-m4trace:configure.ac:14: -1- AC_SUBST_TRACE([F77])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^F77$])
-m4trace:configure.ac:14: -1- AC_SUBST([FFLAGS])
-m4trace:configure.ac:14: -1- AC_SUBST_TRACE([FFLAGS])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^FFLAGS$])
-m4trace:configure.ac:14: -1- AC_SUBST([LDFLAGS])
-m4trace:configure.ac:14: -1- AC_SUBST_TRACE([LDFLAGS])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^LDFLAGS$])
-m4trace:configure.ac:14: -1- AC_SUBST([LIBS])
-m4trace:configure.ac:14: -1- AC_SUBST_TRACE([LIBS])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:14: -1- AC_SUBST([F77])
-m4trace:configure.ac:14: -1- AC_SUBST_TRACE([F77])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^F77$])
-m4trace:configure.ac:14: -1- AC_SUBST([ac_ct_F77])
-m4trace:configure.ac:14: -1- AC_SUBST_TRACE([ac_ct_F77])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^ac_ct_F77$])
-m4trace:configure.ac:14: -1- AC_SUBST([FLIBS])
-m4trace:configure.ac:14: -1- AC_SUBST_TRACE([FLIBS])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^FLIBS$])
-m4trace:configure.ac:14: -1- AC_DEFINE_TRACE_LITERAL([F77_DUMMY_MAIN])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^F77_DUMMY_MAIN$])
-m4trace:configure.ac:14: -1- AH_OUTPUT([F77_DUMMY_MAIN], [/* Define to dummy `main\' function (if any) required to link to the Fortran
+m4trace:configure.ac:15: -1- AC_SUBST([F77])
+m4trace:configure.ac:15: -1- AC_SUBST_TRACE([F77])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^F77$])
+m4trace:configure.ac:15: -1- AC_SUBST([FFLAGS])
+m4trace:configure.ac:15: -1- AC_SUBST_TRACE([FFLAGS])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^FFLAGS$])
+m4trace:configure.ac:15: -1- AC_SUBST([LDFLAGS])
+m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LDFLAGS])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:15: -1- AC_SUBST([LIBS])
+m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LIBS])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:15: -1- AC_SUBST([F77])
+m4trace:configure.ac:15: -1- AC_SUBST_TRACE([F77])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^F77$])
+m4trace:configure.ac:15: -1- AC_SUBST([ac_ct_F77])
+m4trace:configure.ac:15: -1- AC_SUBST_TRACE([ac_ct_F77])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_F77$])
+m4trace:configure.ac:15: -1- AC_SUBST([FLIBS])
+m4trace:configure.ac:15: -1- AC_SUBST_TRACE([FLIBS])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^FLIBS$])
+m4trace:configure.ac:15: -1- AC_DEFINE_TRACE_LITERAL([F77_DUMMY_MAIN])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^F77_DUMMY_MAIN$])
+m4trace:configure.ac:15: -1- AH_OUTPUT([F77_DUMMY_MAIN], [/* Define to dummy `main\' function (if any) required to link to the Fortran
libraries. */
@%:@undef F77_DUMMY_MAIN])
-m4trace:configure.ac:14: -1- AC_DEFINE_TRACE_LITERAL([FC_DUMMY_MAIN_EQ_F77])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^FC_DUMMY_MAIN_EQ_F77$])
-m4trace:configure.ac:14: -1- AH_OUTPUT([FC_DUMMY_MAIN_EQ_F77], [/* Define if F77 and FC dummy `main\' functions are identical. */
+m4trace:configure.ac:15: -1- AC_DEFINE_TRACE_LITERAL([FC_DUMMY_MAIN_EQ_F77])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^FC_DUMMY_MAIN_EQ_F77$])
+m4trace:configure.ac:15: -1- AH_OUTPUT([FC_DUMMY_MAIN_EQ_F77], [/* Define if F77 and FC dummy `main\' functions are identical. */
@%:@undef FC_DUMMY_MAIN_EQ_F77])
-m4trace:configure.ac:14: -1- AC_SUBST([BLAS_LIBS])
-m4trace:configure.ac:14: -1- AC_SUBST_TRACE([BLAS_LIBS])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^BLAS_LIBS$])
-m4trace:configure.ac:14: -2- AC_DEFINE_TRACE_LITERAL([HAVE_BLAS])
-m4trace:configure.ac:14: -2- m4_pattern_allow([^HAVE_BLAS$])
-m4trace:configure.ac:14: -2- AH_OUTPUT([HAVE_BLAS], [/* Define if you have a BLAS library. */
+m4trace:configure.ac:15: -1- AC_SUBST([BLAS_LIBS])
+m4trace:configure.ac:15: -1- AC_SUBST_TRACE([BLAS_LIBS])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^BLAS_LIBS$])
+m4trace:configure.ac:15: -2- AC_DEFINE_TRACE_LITERAL([HAVE_BLAS])
+m4trace:configure.ac:15: -2- m4_pattern_allow([^HAVE_BLAS$])
+m4trace:configure.ac:15: -2- AH_OUTPUT([HAVE_BLAS], [/* Define if you have a BLAS library. */
@%:@undef HAVE_BLAS])
-m4trace:configure.ac:14: -1- AC_SUBST([LAPACK_LIBS])
-m4trace:configure.ac:14: -1- AC_SUBST_TRACE([LAPACK_LIBS])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^LAPACK_LIBS$])
-m4trace:configure.ac:14: -2- AC_DEFINE_TRACE_LITERAL([HAVE_LAPACK])
-m4trace:configure.ac:14: -2- m4_pattern_allow([^HAVE_LAPACK$])
-m4trace:configure.ac:14: -2- AH_OUTPUT([HAVE_LAPACK], [/* Define if you have LAPACK library. */
+m4trace:configure.ac:15: -1- AC_SUBST([LAPACK_LIBS])
+m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LAPACK_LIBS])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^LAPACK_LIBS$])
+m4trace:configure.ac:15: -2- AC_DEFINE_TRACE_LITERAL([HAVE_LAPACK])
+m4trace:configure.ac:15: -2- m4_pattern_allow([^HAVE_LAPACK$])
+m4trace:configure.ac:15: -2- AH_OUTPUT([HAVE_LAPACK], [/* Define if you have LAPACK library. */
@%:@undef HAVE_LAPACK])
-m4trace:configure.ac:14: -1- AC_SUBST([HLIB_CPPFLAGS])
-m4trace:configure.ac:14: -1- AC_SUBST_TRACE([HLIB_CPPFLAGS])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^HLIB_CPPFLAGS$])
-m4trace:configure.ac:14: -1- AC_SUBST([HLIB_LDFLAGS])
-m4trace:configure.ac:14: -1- AC_SUBST_TRACE([HLIB_LDFLAGS])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^HLIB_LDFLAGS$])
-m4trace:configure.ac:14: -1- AC_SUBST([HLIB_ROOT_PATH])
-m4trace:configure.ac:14: -1- AC_SUBST_TRACE([HLIB_ROOT_PATH])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^HLIB_ROOT_PATH$])
-m4trace:configure.ac:14: -1- AC_SUBST([HLIB_LIB])
-m4trace:configure.ac:14: -1- AC_SUBST_TRACE([HLIB_LIB])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^HLIB_LIB$])
-m4trace:configure.ac:14: -1- AC_DEFINE_TRACE_LITERAL([HAVE_HLIB])
-m4trace:configure.ac:14: -1- m4_pattern_allow([^HAVE_HLIB$])
-m4trace:configure.ac:14: -1- AH_OUTPUT([HAVE_HLIB], [/* Define if HLib library is available */
+m4trace:configure.ac:15: -1- AC_SUBST([HLIB_CPPFLAGS])
+m4trace:configure.ac:15: -1- AC_SUBST_TRACE([HLIB_CPPFLAGS])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^HLIB_CPPFLAGS$])
+m4trace:configure.ac:15: -1- AC_SUBST([HLIB_LDFLAGS])
+m4trace:configure.ac:15: -1- AC_SUBST_TRACE([HLIB_LDFLAGS])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^HLIB_LDFLAGS$])
+m4trace:configure.ac:15: -1- AC_SUBST([HLIB_ROOT_PATH])
+m4trace:configure.ac:15: -1- AC_SUBST_TRACE([HLIB_ROOT_PATH])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^HLIB_ROOT_PATH$])
+m4trace:configure.ac:15: -1- AC_SUBST([HLIB_LIB])
+m4trace:configure.ac:15: -1- AC_SUBST_TRACE([HLIB_LIB])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^HLIB_LIB$])
+m4trace:configure.ac:15: -1- AC_DEFINE_TRACE_LITERAL([HAVE_HLIB])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^HAVE_HLIB$])
+m4trace:configure.ac:15: -1- AH_OUTPUT([HAVE_HLIB], [/* Define if HLib library is available */
@%:@undef HAVE_HLIB])
-m4trace:configure.ac:16: -1- AC_SUBST([CPP])
-m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CPP])
-m4trace:configure.ac:16: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.ac:16: -1- AC_SUBST([CPPFLAGS])
-m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:configure.ac:16: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:16: -1- AC_SUBST([CPP])
-m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CPP])
-m4trace:configure.ac:16: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.ac:16: -1- AC_SUBST([GREP])
-m4trace:configure.ac:16: -1- AC_SUBST_TRACE([GREP])
-m4trace:configure.ac:16: -1- m4_pattern_allow([^GREP$])
-m4trace:configure.ac:16: -1- AC_SUBST([EGREP])
-m4trace:configure.ac:16: -1- AC_SUBST_TRACE([EGREP])
-m4trace:configure.ac:16: -1- m4_pattern_allow([^EGREP$])
-m4trace:configure.ac:16: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
-m4trace:configure.ac:16: -1- m4_pattern_allow([^STDC_HEADERS$])
-m4trace:configure.ac:16: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
+m4trace:configure.ac:16: -1- AC_SUBST([LOKI_CPPFLAGS])
+m4trace:configure.ac:16: -1- AC_SUBST_TRACE([LOKI_CPPFLAGS])
+m4trace:configure.ac:16: -1- m4_pattern_allow([^LOKI_CPPFLAGS$])
+m4trace:configure.ac:16: -1- AC_SUBST([LOKI_LDFLAGS])
+m4trace:configure.ac:16: -1- AC_SUBST_TRACE([LOKI_LDFLAGS])
+m4trace:configure.ac:16: -1- m4_pattern_allow([^LOKI_LDFLAGS$])
+m4trace:configure.ac:16: -1- AC_SUBST([LOKI_ROOT_PATH])
+m4trace:configure.ac:16: -1- AC_SUBST_TRACE([LOKI_ROOT_PATH])
+m4trace:configure.ac:16: -1- m4_pattern_allow([^LOKI_ROOT_PATH$])
+m4trace:configure.ac:18: -1- AC_SUBST([CPP])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([CPP])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:18: -1- AC_SUBST([CPPFLAGS])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([CPPFLAGS])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:18: -1- AC_SUBST([CPP])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([CPP])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:18: -1- AC_SUBST([GREP])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([GREP])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^GREP$])
+m4trace:configure.ac:18: -1- AC_SUBST([EGREP])
+m4trace:configure.ac:18: -1- AC_SUBST_TRACE([EGREP])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^EGREP$])
+m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^STDC_HEADERS$])
+m4trace:configure.ac:18: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
@%:@undef STDC_HEADERS])
-m4trace:configure.ac:16: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
+m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
@%:@undef HAVE_SYS_TYPES_H])
-m4trace:configure.ac:16: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
+m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
@%:@undef HAVE_SYS_STAT_H])
-m4trace:configure.ac:16: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
+m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
@%:@undef HAVE_STDLIB_H])
-m4trace:configure.ac:16: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
+m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
@%:@undef HAVE_STRING_H])
-m4trace:configure.ac:16: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
+m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
@%:@undef HAVE_MEMORY_H])
-m4trace:configure.ac:16: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
+m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
@%:@undef HAVE_STRINGS_H])
-m4trace:configure.ac:16: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
+m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
@%:@undef HAVE_INTTYPES_H])
-m4trace:configure.ac:16: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
+m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
@%:@undef HAVE_STDINT_H])
-m4trace:configure.ac:16: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
+m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
@%:@undef HAVE_UNISTD_H])
-m4trace:configure.ac:16: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
-m4trace:configure.ac:16: -1- m4_pattern_allow([^HAVE__BOOL$])
-m4trace:configure.ac:16: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
+m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^HAVE__BOOL$])
+m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
@%:@undef HAVE__BOOL])
-m4trace:configure.ac:16: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H])
-m4trace:configure.ac:16: -1- m4_pattern_allow([^HAVE_STDBOOL_H$])
-m4trace:configure.ac:16: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */
+m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^HAVE_STDBOOL_H$])
+m4trace:configure.ac:18: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */
@%:@undef HAVE_STDBOOL_H])
-m4trace:configure.ac:18: -1- AC_CONFIG_FILES([Makefile src/Makefile src/boundary_mesh/Makefile src/spaces/Makefile src/laplace/Makefile])
-m4trace:configure.ac:19: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
-m4trace:configure.ac:19: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
-m4trace:configure.ac:19: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:19: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
-m4trace:configure.ac:19: -1- AC_SUBST_TRACE([LTLIBOBJS])
-m4trace:configure.ac:19: -1- m4_pattern_allow([^LTLIBOBJS$])
-m4trace:configure.ac:19: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
-m4trace:configure.ac:19: -1- AC_SUBST([am__EXEEXT_TRUE])
-m4trace:configure.ac:19: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
-m4trace:configure.ac:19: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
-m4trace:configure.ac:19: -1- AC_SUBST([am__EXEEXT_FALSE])
-m4trace:configure.ac:19: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
-m4trace:configure.ac:19: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
-m4trace:configure.ac:19: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
-m4trace:configure.ac:19: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
-m4trace:configure.ac:19: -1- AC_SUBST_TRACE([top_builddir])
-m4trace:configure.ac:19: -1- AC_SUBST_TRACE([top_build_prefix])
-m4trace:configure.ac:19: -1- AC_SUBST_TRACE([srcdir])
-m4trace:configure.ac:19: -1- AC_SUBST_TRACE([abs_srcdir])
-m4trace:configure.ac:19: -1- AC_SUBST_TRACE([top_srcdir])
-m4trace:configure.ac:19: -1- AC_SUBST_TRACE([abs_top_srcdir])
-m4trace:configure.ac:19: -1- AC_SUBST_TRACE([builddir])
-m4trace:configure.ac:19: -1- AC_SUBST_TRACE([abs_builddir])
-m4trace:configure.ac:19: -1- AC_SUBST_TRACE([abs_top_builddir])
-m4trace:configure.ac:19: -1- AC_SUBST_TRACE([INSTALL])
-m4trace:configure.ac:19: -1- AC_SUBST_TRACE([MKDIR_P])
+m4trace:configure.ac:20: -1- AC_SUBST([AM_CXXFLAGS])
+m4trace:configure.ac:20: -1- AC_SUBST_TRACE([AM_CXXFLAGS])
+m4trace:configure.ac:20: -1- m4_pattern_allow([^AM_CXXFLAGS$])
+m4trace:configure.ac:21: -1- AC_SUBST([AM_LDFLAGS])
+m4trace:configure.ac:21: -1- AC_SUBST_TRACE([AM_LDFLAGS])
+m4trace:configure.ac:21: -1- m4_pattern_allow([^AM_LDFLAGS$])
+m4trace:configure.ac:23: -1- AC_CONFIG_FILES([Makefile src/Makefile src/boundary_mesh/Makefile src/spaces/Makefile src/laplace/Makefile t/Makefile t/generic/Makefile t/boundary_mesh/Makefile t/laplace/Makefile])
+m4trace:configure.ac:24: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
+m4trace:configure.ac:24: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:24: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([LTLIBOBJS])
+m4trace:configure.ac:24: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.ac:24: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
+m4trace:configure.ac:24: -1- AC_SUBST([am__EXEEXT_TRUE])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
+m4trace:configure.ac:24: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
+m4trace:configure.ac:24: -1- AC_SUBST([am__EXEEXT_FALSE])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
+m4trace:configure.ac:24: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
+m4trace:configure.ac:24: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
+m4trace:configure.ac:24: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([top_builddir])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([top_build_prefix])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([srcdir])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([abs_srcdir])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([top_srcdir])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([abs_top_srcdir])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([builddir])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([abs_builddir])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([abs_top_builddir])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([INSTALL])
+m4trace:configure.ac:24: -1- AC_SUBST_TRACE([MKDIR_P])
--- /dev/null
+m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version. Point them to the right macro.
+m4_if([$1], [1.11.1], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+m4trace:/usr/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
+AC_PREREQ([2.50])dnl
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+])
+m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
+ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])dnl
+AC_SUBST([$1_FALSE])dnl
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
+if $2; then
+ $1_TRUE=
+ $1_FALSE='#'
+else
+ $1_TRUE='#'
+ $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+ AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
+fi])])
+m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+
+ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
+ [$1], CXX, [depcc="$CXX" am_compiler_list=],
+ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+ [$1], UPC, [depcc="$UPC" am_compiler_list=],
+ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
+ [depcc="$$1" am_compiler_list=])
+
+AC_CACHE_CHECK([dependency style of $depcc],
+ [am_cv_$1_dependencies_compiler_type],
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named `D' -- because `-MD' means `put the output
+ # in D'.
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_$1_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
+ fi
+ am__universal=false
+ m4_case([$1], [CC],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac],
+ [CXX],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac])
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+ # Solaris 8's {/usr,}/bin/sh.
+ touch sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle `-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # after this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvisualcpp | msvcmsys)
+ # This compiler won't grok `-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_$1_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_$1_dependencies_compiler_type=none
+fi
+])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+AM_CONDITIONAL([am__fastdep$1], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
+])
+m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
+])
+m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
+[ --disable-dependency-tracking speeds up one-time build
+ --enable-dependency-tracking do not reject slow dependency extractors])
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+fi
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+AC_SUBST([AMDEPBACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
+])
+m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named `Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`AS_DIRNAME("$mf")`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running `make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # When using ansi2knr, U may be empty or an underscore; expand it
+ U=`sed -n 's/^U = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`AS_DIRNAME(["$file"])`
+ AS_MKDIR_P([$dirpart/$fdir])
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+])
+m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+])
+m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
+AM_MISSING_PROG(AUTOCONF, autoconf)
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
+AM_MISSING_PROG(AUTOHEADER, autoheader)
+AM_MISSING_PROG(MAKEINFO, makeinfo)
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+ [_AM_DEPENDENCIES(CC)],
+ [define([AC_PROG_CC],
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [_AM_DEPENDENCIES(CXX)],
+ [define([AC_PROG_CXX],
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES(OBJC)],
+ [define([AC_PROG_OBJC],
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
+])
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
+])
+m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
+_am_arg=$1
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+AC_SUBST(install_sh)])
+m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
+m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+AC_MSG_CHECKING([for style of include used by $am_make])
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from `make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+AC_SUBST([am__include])
+AC_SUBST([am__quote])
+AC_MSG_RESULT([$_am_result])
+rm -f confinc confmf
+])
+m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --run true"; then
+ am_missing_run="$MISSING --run "
+else
+ am_missing_run=
+ AC_MSG_WARN([`missing' script is too old or missing])
+fi
+])
+m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
+dnl while keeping a definition of mkdir_p for backward compatibility.
+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
+dnl Makefile.ins that do not define MKDIR_P, so we do our own
+dnl adjustment using top_builddir (which is defined more often than
+dnl MKDIR_P).
+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
+case $mkdir_p in
+ [[\\/$]]* | ?:[[\\/]]*) ;;
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
+esac
+])
+m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
+m4trace:/usr/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
+ ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ (exit $ac_status); }])
+m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
+# Just in case
+sleep 1
+echo timestamp > conftest.file
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
+ AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
+esac
+
+# Do `set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$[*]" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ rm -f conftest.file
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
+alias in your environment])
+ fi
+
+ test "$[2]" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT(yes)])
+m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
+[ --enable-silent-rules less verbose build output (undo: `make V=1')
+ --disable-silent-rules verbose build output (undo: `make V=0')])
+case $enable_silent_rules in
+yes) AM_DEFAULT_VERBOSITY=0;;
+no) AM_DEFAULT_VERBOSITY=1;;
+*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
+esac
+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
+AM_BACKSLASH='\'
+AC_SUBST([AM_BACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
+])
+m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using `strip' when the user
+# run `make install-strip'. However `strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the `STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
+if test "$cross_compiling" != no; then
+ AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
+m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
+AM_MISSING_PROG([AMTAR], [tar])
+m4_if([$1], [v7],
+ [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
+ [m4_case([$1], [ustar],, [pax],,
+ [m4_fatal([Unknown tar format])])
+AC_MSG_CHECKING([how to create a $1 tar archive])
+# Loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
+# Do not fold the above two line into one, because Tru64 sh and
+# Solaris sh will not grok spaces in the rhs of `-'.
+for _am_tool in $_am_tools
+do
+ case $_am_tool in
+ gnutar)
+ for _am_tar in tar gnutar gtar;
+ do
+ AM_RUN_LOG([$_am_tar --version]) && break
+ done
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+ am__untar="$_am_tar -xf -"
+ ;;
+ plaintar)
+ # Must skip GNU tar: if it does not support --format= it doesn't create
+ # ustar tarball either.
+ (tar --version) >/dev/null 2>&1 && continue
+ am__tar='tar chf - "$$tardir"'
+ am__tar_='tar chf - "$tardir"'
+ am__untar='tar xf -'
+ ;;
+ pax)
+ am__tar='pax -L -x $1 -w "$$tardir"'
+ am__tar_='pax -L -x $1 -w "$tardir"'
+ am__untar='pax -r'
+ ;;
+ cpio)
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+ am__untar='cpio -i -H $1 -d'
+ ;;
+ none)
+ am__tar=false
+ am__tar_=false
+ am__untar=false
+ ;;
+ esac
+
+ # If the value was cached, stop now. We just wanted to have am__tar
+ # and am__untar set.
+ test -n "${am_cv_prog_tar_$1}" && break
+
+ # tar/untar a dummy directory, and stop if the command works
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ echo GrepMe > conftest.dir/file
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+ rm -rf conftest.dir
+ if test -s conftest.tar; then
+ AM_RUN_LOG([$am__untar <conftest.tar])
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+ fi
+done
+rm -rf conftest.dir
+
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+])
+m4trace:m4/ax_blas.m4:68: -1- AU_DEFUN([ACX_BLAS], [m4_if($#, 0, [AX_BLAS], [AX_BLAS($@)])])
+m4trace:m4/ax_blas.m4:68: -1- AC_DEFUN([ACX_BLAS], [AC_DIAGNOSE([obsolete], [The macro `ACX_BLAS' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [AX_BLAS], [AX_BLAS($@)])])
+m4trace:m4/ax_blas.m4:69: -1- AC_DEFUN([AX_BLAS], [
+AC_PREREQ(2.50)
+AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])
+ax_blas_ok=no
+
+AC_ARG_WITH(blas,
+ [AS_HELP_STRING([--with-blas=<lib>], [use BLAS library <lib>])])
+case $with_blas in
+ yes | "") ;;
+ no) ax_blas_ok=disable ;;
+ -* | */* | *.a | *.so | *.so.* | *.o) BLAS_LIBS="$with_blas" ;;
+ *) BLAS_LIBS="-l$with_blas" ;;
+esac
+
+# Get fortran linker names of BLAS functions to check for.
+AC_F77_FUNC(sgemm)
+AC_F77_FUNC(dgemm)
+
+ax_blas_save_LIBS="$LIBS"
+LIBS="$LIBS $FLIBS"
+
+# First, check BLAS_LIBS environment variable
+if test $ax_blas_ok = no; then
+if test "x$BLAS_LIBS" != x; then
+ save_LIBS="$LIBS"; LIBS="$BLAS_LIBS $LIBS"
+ AC_MSG_CHECKING([for $sgemm in $BLAS_LIBS])
+ AC_TRY_LINK_FUNC($sgemm, [ax_blas_ok=yes], [BLAS_LIBS=""])
+ AC_MSG_RESULT($ax_blas_ok)
+ LIBS="$save_LIBS"
+fi
+fi
+
+# BLAS linked to by default? (happens on some supercomputers)
+if test $ax_blas_ok = no; then
+ save_LIBS="$LIBS"; LIBS="$LIBS"
+ AC_MSG_CHECKING([if $sgemm is being linked in already])
+ AC_TRY_LINK_FUNC($sgemm, [ax_blas_ok=yes])
+ AC_MSG_RESULT($ax_blas_ok)
+ LIBS="$save_LIBS"
+fi
+
+# BLAS in ATLAS library? (http://math-atlas.sourceforge.net/)
+if test $ax_blas_ok = no; then
+ AC_CHECK_LIB(atlas, ATL_xerbla,
+ [AC_CHECK_LIB(f77blas, $sgemm,
+ [AC_CHECK_LIB(cblas, cblas_dgemm,
+ [ax_blas_ok=yes
+ BLAS_LIBS="-lcblas -lf77blas -latlas"],
+ [], [-lf77blas -latlas])],
+ [], [-latlas])])
+fi
+
+# BLAS in PhiPACK libraries? (requires generic BLAS lib, too)
+if test $ax_blas_ok = no; then
+ AC_CHECK_LIB(blas, $sgemm,
+ [AC_CHECK_LIB(dgemm, $dgemm,
+ [AC_CHECK_LIB(sgemm, $sgemm,
+ [ax_blas_ok=yes; BLAS_LIBS="-lsgemm -ldgemm -lblas"],
+ [], [-lblas])],
+ [], [-lblas])])
+fi
+
+# BLAS in Intel MKL library?
+if test $ax_blas_ok = no; then
+ AC_CHECK_LIB(mkl, $sgemm, [ax_blas_ok=yes;BLAS_LIBS="-lmkl"])
+fi
+
+# BLAS in Apple vecLib library?
+if test $ax_blas_ok = no; then
+ save_LIBS="$LIBS"; LIBS="-framework vecLib $LIBS"
+ AC_MSG_CHECKING([for $sgemm in -framework vecLib])
+ AC_TRY_LINK_FUNC($sgemm, [ax_blas_ok=yes;BLAS_LIBS="-framework vecLib"])
+ AC_MSG_RESULT($ax_blas_ok)
+ LIBS="$save_LIBS"
+fi
+
+# BLAS in Alpha CXML library?
+if test $ax_blas_ok = no; then
+ AC_CHECK_LIB(cxml, $sgemm, [ax_blas_ok=yes;BLAS_LIBS="-lcxml"])
+fi
+
+# BLAS in Alpha DXML library? (now called CXML, see above)
+if test $ax_blas_ok = no; then
+ AC_CHECK_LIB(dxml, $sgemm, [ax_blas_ok=yes;BLAS_LIBS="-ldxml"])
+fi
+
+# BLAS in Sun Performance library?
+if test $ax_blas_ok = no; then
+ if test "x$GCC" != xyes; then # only works with Sun CC
+ AC_CHECK_LIB(sunmath, acosp,
+ [AC_CHECK_LIB(sunperf, $sgemm,
+ [BLAS_LIBS="-xlic_lib=sunperf -lsunmath"
+ ax_blas_ok=yes],[],[-lsunmath])])
+ fi
+fi
+
+# BLAS in SCSL library? (SGI/Cray Scientific Library)
+if test $ax_blas_ok = no; then
+ AC_CHECK_LIB(scs, $sgemm, [ax_blas_ok=yes; BLAS_LIBS="-lscs"])
+fi
+
+# BLAS in SGIMATH library?
+if test $ax_blas_ok = no; then
+ AC_CHECK_LIB(complib.sgimath, $sgemm,
+ [ax_blas_ok=yes; BLAS_LIBS="-lcomplib.sgimath"])
+fi
+
+# BLAS in IBM ESSL library? (requires generic BLAS lib, too)
+if test $ax_blas_ok = no; then
+ AC_CHECK_LIB(blas, $sgemm,
+ [AC_CHECK_LIB(essl, $sgemm,
+ [ax_blas_ok=yes; BLAS_LIBS="-lessl -lblas"],
+ [], [-lblas $FLIBS])])
+fi
+
+# Generic BLAS library?
+if test $ax_blas_ok = no; then
+ AC_CHECK_LIB(blas, $sgemm, [ax_blas_ok=yes; BLAS_LIBS="-lblas"])
+fi
+
+AC_SUBST(BLAS_LIBS)
+
+LIBS="$ax_blas_save_LIBS"
+
+# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
+if test x"$ax_blas_ok" = xyes; then
+ ifelse([$1],,AC_DEFINE(HAVE_BLAS,1,[Define if you have a BLAS library.]),[$1])
+ :
+else
+ ax_blas_ok=no
+ $2
+fi
+])
+m4trace:m4/ax_boost_base.m4:37: -1- AC_DEFUN([AX_BOOST_BASE], [
+AC_ARG_WITH([boost],
+ AS_HELP_STRING([--with-boost@<:@=DIR@:>@], [use boost (default is yes) - it is possible to specify the root directory for boost (optional)]),
+ [
+ if test "$withval" = "no"; then
+ want_boost="no"
+ elif test "$withval" = "yes"; then
+ want_boost="yes"
+ ac_boost_path=""
+ else
+ want_boost="yes"
+ ac_boost_path="$withval"
+ fi
+ ],
+ [want_boost="yes"])
+
+if test "x$want_boost" = "xyes"; then
+ boost_lib_version_req=ifelse([$1], ,1.20.0,$1)
+ boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([[0-9]]*\.[[0-9]]*\)'`
+ boost_lib_version_req_major=`expr $boost_lib_version_req : '\([[0-9]]*\)'`
+ boost_lib_version_req_minor=`expr $boost_lib_version_req : '[[0-9]]*\.\([[0-9]]*\)'`
+ boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'`
+ if test "x$boost_lib_version_req_sub_minor" = "x" ; then
+ boost_lib_version_req_sub_minor="0"
+ fi
+ WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
+ AC_MSG_CHECKING(for boostlib >= $boost_lib_version_req)
+ succeeded=no
+
+ dnl first we check the system location for boost libraries
+ dnl this location ist chosen if boost libraries are installed with the --layout=system option
+ dnl or if you install boost with RPM
+ if test "$ac_boost_path" != ""; then
+ BOOST_LDFLAGS="-L$ac_boost_path/lib"
+ BOOST_CPPFLAGS="-I$ac_boost_path/include"
+ BOOST_ROOT_PATH="$ac_boost_path"
+ else
+ for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
+ if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
+ BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib"
+ BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
+ BOOST_ROOT_PATH="$ac_boost_path_tmp"
+ break;
+ fi
+ done
+ fi
+
+ CPPFLAGS_SAVED="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
+ export CPPFLAGS
+
+ LDFLAGS_SAVED="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
+ export LDFLAGS
+
+ export BOOST_ROOT_PATH
+
+ AC_LANG_PUSH(C++)
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+ @%:@include <boost/version.hpp>
+ ]], [[
+ #if BOOST_VERSION >= $WANT_BOOST_VERSION
+ // Everything is okay
+ #else
+ # error Boost version is too old
+ #endif
+ ]])],[
+ AC_MSG_RESULT(yes)
+ succeeded=yes
+ found_system=yes
+ ],[
+ ])
+ AC_LANG_POP([C++])
+
+
+
+ dnl if we found no boost with system layout we search for boost libraries
+ dnl built and installed without the --layout=system option or for a staged(not installed) version
+ if test "x$succeeded" != "xyes"; then
+ _version=0
+ if test "$ac_boost_path" != ""; then
+ BOOST_LDFLAGS="-L$ac_boost_path/lib"
+ if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
+ for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
+ _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
+ V_CHECK=`expr $_version_tmp \> $_version`
+ if test "$V_CHECK" = "1" ; then
+ _version=$_version_tmp
+ fi
+ VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
+ BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
+ done
+ fi
+ else
+ for ac_boost_path in /usr /usr/local /opt /opt/local ; do
+ if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
+ for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
+ _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
+ V_CHECK=`expr $_version_tmp \> $_version`
+ if test "$V_CHECK" = "1" ; then
+ _version=$_version_tmp
+ best_path=$ac_boost_path
+ fi
+ done
+ fi
+ done
+
+ VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
+ BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
+ BOOST_LDFLAGS="-L$best_path/lib"
+ BOOST_ROOT_PATH="$best_path"
+
+ if test "x$BOOST_ROOT" != "x"; then
+ if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/lib" && test -r "$BOOST_ROOT/stage/lib"; then
+ version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'`
+ stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
+ stage_version_shorten=`expr $stage_version : '\([[0-9]]*\.[[0-9]]*\)'`
+ V_CHECK=`expr $stage_version_shorten \>\= $_version`
+ if test "$V_CHECK" = "1" ; then
+ AC_MSG_NOTICE(We will use a staged boost library from $BOOST_ROOT)
+ BOOST_CPPFLAGS="-I$BOOST_ROOT"
+ BOOST_LDFLAGS="-L$BOOST_ROOT/stage/lib"
+ BOOST_ROOT_PATH="$BOOST_ROOT"
+ fi
+ fi
+ fi
+ fi
+
+ CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
+ export CPPFLAGS
+ LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
+ export LDFLAGS
+ export BOOST_ROOT_PATH
+
+ AC_LANG_PUSH(C++)
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+ @%:@include <boost/version.hpp>
+ ]], [[
+ #if BOOST_VERSION >= $WANT_BOOST_VERSION
+ // Everything is okay
+ #else
+ # error Boost version is too old
+ #endif
+ ]])],[
+ AC_MSG_RESULT(yes)
+ succeeded=yes
+ found_system=yes
+ ],[
+ ])
+ AC_LANG_POP([C++])
+ fi
+
+ if test "$succeeded" != "yes" ; then
+ if test "$_version" = "0" ; then
+ AC_MSG_WARN([[We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.]])
+ else
+ AC_MSG_WARN([Your boost libraries seems to old (version $_version).])
+ fi
+ else
+ AC_SUBST(BOOST_CPPFLAGS)
+ AC_SUBST(BOOST_LDFLAGS)
+ AC_SUBST(BOOST_ROOT_PATH)
+ AC_DEFINE(HAVE_BOOST,,[define if the Boost library is available])
+ fi
+
+ CPPFLAGS="$CPPFLAGS_SAVED"
+ LDFLAGS="$LDFLAGS_SAVED"
+fi
+
+])
+m4trace:m4/ax_boost_regex.m4:34: -1- AC_DEFUN([AX_BOOST_REGEX], [
+ AC_ARG_WITH([boost-regex],
+ AS_HELP_STRING([--with-boost-regex@<:@=special-lib@:>@],
+ [use the Regex library from boost - it is possible to specify a certain library for the linker
+ e.g. --with-boost-regex=boost_regex-gcc-mt-d-1_33_1 ]),
+ [
+ if test "$withval" = "no"; then
+ want_boost="no"
+ elif test "$withval" = "yes"; then
+ want_boost="yes"
+ ax_boost_user_regex_lib=""
+ else
+ want_boost="yes"
+ ax_boost_user_regex_lib="$withval"
+ fi
+ ],
+ [want_boost="yes"]
+ )
+
+ if test "x$want_boost" = "xyes"; then
+ AC_REQUIRE([AC_PROG_CC])
+ CPPFLAGS_SAVED="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
+ export CPPFLAGS
+
+ LDFLAGS_SAVED="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
+ export LDFLAGS
+
+ AC_CACHE_CHECK(whether the Boost::Regex library is available,
+ ax_cv_boost_regex,
+ [AC_LANG_PUSH([C++])
+ AC_COMPILE_IFELSE(AC_LANG_PROGRAM([[@%:@include <boost/regex.hpp>
+ ]],
+ [[boost::regex r(); return 0;]]),
+ ax_cv_boost_regex=yes, ax_cv_boost_regex=no)
+ AC_LANG_POP([C++])
+ ])
+ if test "x$ax_cv_boost_regex" = "xyes"; then
+ AC_DEFINE(HAVE_BOOST_REGEX,,[define if the Boost::Regex library is available])
+ BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
+ if test "x$ax_boost_user_regex_lib" = "x"; then
+ for libextension in `ls $BOOSTLIBDIR/libboost_regex*.{so,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_regex.*\)\.so.*$;\1;' -e 's;^lib\(boost_regex.*\)\.a*$;\1;'` ; do
+ ax_lib=${libextension}
+ AC_CHECK_LIB($ax_lib, exit,
+ [BOOST_REGEX_LIB="-l$ax_lib"; AC_SUBST(BOOST_REGEX_LIB) link_regex="yes"; break],
+ [link_regex="no"])
+ done
+ if test "x$link_regex" != "xyes"; then
+ for libextension in `ls $BOOSTLIBDIR/boost_regex*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_regex.*\)\.dll.*$;\1;' -e 's;^\(boost_regex.*\)\.a*$;\1;'` ; do
+ ax_lib=${libextension}
+ AC_CHECK_LIB($ax_lib, exit,
+ [BOOST_REGEX_LIB="-l$ax_lib"; AC_SUBST(BOOST_REGEX_LIB) link_regex="yes"; break],
+ [link_regex="no"])
+ done
+ fi
+
+ else
+ for ax_lib in $ax_boost_user_regex_lib boost_regex-$ax_boost_user_regex_lib; do
+ AC_CHECK_LIB($ax_lib, main,
+ [BOOST_REGEX_LIB="-l$ax_lib"; AC_SUBST(BOOST_REGEX_LIB) link_regex="yes"; break],
+ [link_regex="no"])
+ done
+ fi
+ if test "x$link_regex" != "xyes"; then
+ AC_MSG_ERROR(Could not link against $ax_lib !)
+ fi
+ fi
+
+ CPPFLAGS="$CPPFLAGS_SAVED"
+ LDFLAGS="$LDFLAGS_SAVED"
+ fi
+])
+m4trace:m4/ax_hlib.m4:35: -1- AC_DEFUN([AX_HLIB], [
+ AC_REQUIRE([AX_LAPACK])
+
+ AC_ARG_WITH([hlib],
+ AS_HELP_STRING([--with-hlib@<:@=DIR@:>@],
+ [use hlib (default is yes) - it is possible to specify the root directory
+ for hlib (optional)]),
+ [
+ if test "$withval" = "no"; then
+ want_hlib="no"
+ elif test "$withval" = "yes"; then
+ want_hlib="yes"
+ ac_hlib_path=""
+ else
+ want_hlib="yes"
+ ac_hlib_path="$withval"
+ fi
+ ],
+ [
+ want_hlib="yes"
+ ])
+
+ if test "x$want_hlib" = "xyes"; then
+ if test "x$LAPACK_LIBS" = "x"; then
+ AC_MSG_ERROR([We could not detect lapack. Please install lapack or disable
+ HLib.])
+ fi
+
+ if test "$ac_hlib_path" != ""; then
+ HLIB_LDFLAGS="-L$ac_hlib_path/lib"
+ HLIB_CPPFLAGS="-I$ac_hlib_path/include"
+ HLIB_ROOT_PATH="$ac_hlib_path"
+ else
+ for ac_hlib_path_tmp in /usr /usr/local /opt /opt/local ; do
+ if test -d "$ac_hlib_path_tmp/include/HLib"; then
+ HLIB_LDFLAGS="-L$ac_hlib_path_tmp/lib"
+ HLIB_CPPFLAGS="-I$ac_hlib_path_tmp/include"
+ HLIB_ROOT_PATH="$ac_hlib_path_tmp"
+ break;
+ fi
+ done
+ fi
+
+ if test "x$HLIB_ROOT_PATH" = "x"; then
+ AC_MSG_ERROR([We could not detect HLib. You may disable this error
+ message by running configure with --with-hlib=no. If you
+ would like to use HLib, please make sure that a recent
+ version (1.3 or higher) is installed and specify the
+ location by running configure with --with-hlib=/dir/to/hlib.
+ Please note that you have to install HLib to use it with
+ this software package.])
+ else
+ AC_SUBST(HLIB_CPPFLAGS)
+ AC_SUBST(HLIB_LDFLAGS)
+ AC_SUBST(HLIB_ROOT_PATH)
+
+ # Now we are trying to include headers:
+ CPPFLAGS_SAVED="$CPPFLAGS"
+ LDFLAGS_SAVED="$LDFLAGS"
+
+ CPPFLAGS="$CPPFLAGS $HLIB_CPPFLAGS"
+ export CPPFLAGS
+ LDFLAGS="$LDFLAGS $HLIB_LDFLAGS"
+ export LDFLAGS
+
+ AC_REQUIRE([AC_PROG_CC])
+
+ AC_CACHE_CHECK(whether HLib library is available,
+ ax_cv_hlib,
+ [ AC_LANG_PUSH([C])
+ AC_COMPILE_IFELSE(AC_LANG_PROGRAM(
+ [[@%:@include <HLib/bem2d.h>]],
+ [[del_bemgrid2d(new_bemgrid2d(5, 5)); return 0;]]),
+ ax_cv_hlib=yes,
+ ax_cv_hlib=no)
+ AC_LANG_POP([C])
+ ])
+
+ if test "x$ax_cv_hlib" = "xyes"; then
+ AC_CHECK_LIB(hmatrix, newaca_fill_block,
+ [HLIB_LIB="-lhmatrix"; AC_SUBST(HLIB_LIB) link_hlib="yes"; break],
+ [link_hlib="no"], [$LAPACK_LIBS $BLAS_LIBS])
+
+ if test "x$link_hlib" = "xyes"; then
+ AC_DEFINE(HAVE_HLIB,,[Define if HLib library is available])
+ else
+ AC_MSG_ERROR([Could not link against HLib. Please verify that
+ HLib is installed properly. You may disable support
+ for HLib by running configure with --with-hlib=no.])
+ fi
+ fi
+
+ CPPFLAGS="$CPPFLAGS_SAVED"
+ LDFLAGS="$LDFLAGS_SAVED"
+ fi
+ fi
+])
+m4trace:m4/ax_lapack.m4:69: -1- AU_DEFUN([ACX_LAPACK], [m4_if($#, 0, [AX_LAPACK], [AX_LAPACK($@)])])
+m4trace:m4/ax_lapack.m4:69: -1- AC_DEFUN([ACX_LAPACK], [AC_DIAGNOSE([obsolete], [The macro `ACX_LAPACK' is obsolete.
+You should run autoupdate.])dnl
+m4_if($#, 0, [AX_LAPACK], [AX_LAPACK($@)])])
+m4trace:m4/ax_lapack.m4:70: -1- AC_DEFUN([AX_LAPACK], [
+AC_REQUIRE([AX_BLAS])
+ax_lapack_ok=no
+
+AC_ARG_WITH(lapack,
+ [AS_HELP_STRING([--with-lapack=<lib>], [use LAPACK library <lib>])])
+case $with_lapack in
+ yes | "") ;;
+ no) ax_lapack_ok=disable ;;
+ -* | */* | *.a | *.so | *.so.* | *.o) LAPACK_LIBS="$with_lapack" ;;
+ *) LAPACK_LIBS="-l$with_lapack" ;;
+esac
+
+# Get fortran linker name of LAPACK function to check for.
+AC_F77_FUNC(cheev)
+
+# We cannot use LAPACK if BLAS is not found
+if test "x$ax_blas_ok" != xyes; then
+ ax_lapack_ok=noblas
+ LAPACK_LIBS=""
+fi
+
+# First, check LAPACK_LIBS environment variable
+if test "x$LAPACK_LIBS" != x; then
+ save_LIBS="$LIBS"; LIBS="$LAPACK_LIBS $BLAS_LIBS $LIBS $FLIBS"
+ AC_MSG_CHECKING([for $cheev in $LAPACK_LIBS])
+ AC_TRY_LINK_FUNC($cheev, [ax_lapack_ok=yes], [LAPACK_LIBS=""])
+ AC_MSG_RESULT($ax_lapack_ok)
+ LIBS="$save_LIBS"
+ if test $ax_lapack_ok = no; then
+ LAPACK_LIBS=""
+ fi
+fi
+
+# LAPACK linked to by default? (is sometimes included in BLAS lib)
+if test $ax_lapack_ok = no; then
+ save_LIBS="$LIBS"; LIBS="$LIBS $BLAS_LIBS $FLIBS"
+ AC_CHECK_FUNC($cheev, [ax_lapack_ok=yes])
+ LIBS="$save_LIBS"
+fi
+
+# Generic LAPACK library?
+for lapack in lapack lapack_rs6k; do
+ if test $ax_lapack_ok = no; then
+ save_LIBS="$LIBS"; LIBS="$BLAS_LIBS $LIBS"
+ AC_CHECK_LIB($lapack, $cheev,
+ [ax_lapack_ok=yes; LAPACK_LIBS="-l$lapack"], [], [$FLIBS])
+ LIBS="$save_LIBS"
+ fi
+done
+
+AC_SUBST(LAPACK_LIBS)
+
+# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
+if test x"$ax_lapack_ok" = xyes; then
+ ifelse([$1],,AC_DEFINE(HAVE_LAPACK,1,[Define if you have LAPACK library.]),[$1])
+ :
+else
+ ax_lapack_ok=no
+ $2
+fi
+])
+m4trace:m4/ax_lib_loki.m4:1: -1- AC_DEFUN([AX_LIB_LOKI], [
+ AC_ARG_WITH([loki],
+ AS_HELP_STRING([--with-loki@<:@=DIR|:>@],
+ [specify the root directory for the loki library]),
+ [
+ if test "$withval" = "no"; then
+ AC_MSG_ERROR([Sorry, but it is not possible to compile without loki])
+ want_loki="no"
+ elif test "$withval" = "yes"; then
+ want_loki="yes"
+ ac_loki_path=""
+ else
+ want_loki="yes"
+ ac_loki_path="$withval"
+ fi
+ ],
+ [
+ want_loki="yes";
+ ])
+
+ if test "x$want_loki" = "xyes"; then
+ if test "x$ac_loki_path" = "x"; then
+ for ac_loki_path_tmp in /usr /usr/local /opt /opt/local; do
+ if test -d "$ac_loki_path_tmp/include/loki"; then
+ LOKI_LDFLAGS="-L$ac_hlib_path_tmp/lib"
+ LOKI_CPPFLAGS="-I$ac_hlib_path_tmp/include"
+ LOKI_ROOT_PATH="$ac_hlib_path_tmp"
+ break;
+ fi
+ done
+ else
+ LOKI_LDFLAGS="-L$ac_hlib_path/lib"
+ LOKI_CPPFLAGS="-I$ac_hlib_path/include"
+ LOKI_ROOT_PATH="$ac_hlib_path"
+ fi
+
+ if test "x$LOKI_ROOT_PATH" = "x"; then
+ AC_MSG_ERROR([We could not detect the loki library. Please install
+ the loki library, c.f. loki-lib.sf.net, before
+ proceeding.])
+ else
+ AC_SUBST(LOKI_CPPFLAGS)
+ AC_SUBST(LOKI_LDFLAGS)
+ AC_SUBST(LOKI_ROOT_PATH)
+
+ # Run some basic tests to check whether loki is really available:
+ CPPFLAGS_SAVED="$CPPFLAGS"
+ LDFLAGS_SAVED="$LDFLAGS"
+
+ CPPFLAGS="$CPPFLAGS $LOKI_CPPFLAGS"
+ CFLAGS="$CPPFLAGS"
+ export CPPFLAGS
+ export CFLAGS
+ LDFLAGS="$LDFLAGS $LOKI_LDFLAGS"
+ export LDFLAGS
+
+ AC_REQUIRE([AC_PROG_CXX])
+
+ AC_CACHE_CHECK(whether Loki is usable,
+ ax_cv_loki,
+ [ AC_LANG_PUSH([C++])
+ AC_COMPILE_IFELSE(AC_LANG_PROGRAM(
+ [[@%:@include <loki/SmartPtr.h>]],
+ [[::Loki::SmartPtr< int > t = new int;]]),
+ ax_cv_loki="yes",
+ ax_cv_loki="no")
+ AC_LANG_POP([C++])
+ ])
+
+ if test "$ax_cv_loki" != "yes"; then
+ AC_MSG_ERROR([Could not use the loki library. Please make sure
+ that it is installed correctly.]);
+ fi
+
+ CPPFLAGS="$SAVED_CPPFLAGS"
+ export CPPFLAGS
+ LDFLAGS="$SAVED_LDFLAGS"
+ export LDFLAGS
+ fi
+ fi
+])
+m4trace:m4/ax_prog_doxygen.m4:264: -1- AC_DEFUN([DX_FEATURE_doc], [ON])
+m4trace:m4/ax_prog_doxygen.m4:265: -1- AC_DEFUN([DX_FEATURE_dot], [OFF])
+m4trace:m4/ax_prog_doxygen.m4:266: -1- AC_DEFUN([DX_FEATURE_man], [OFF])
+m4trace:m4/ax_prog_doxygen.m4:267: -1- AC_DEFUN([DX_FEATURE_html], [ON])
+m4trace:m4/ax_prog_doxygen.m4:268: -1- AC_DEFUN([DX_FEATURE_chm], [OFF])
+m4trace:m4/ax_prog_doxygen.m4:269: -1- AC_DEFUN([DX_FEATURE_chi], [OFF])
+m4trace:m4/ax_prog_doxygen.m4:270: -1- AC_DEFUN([DX_FEATURE_rtf], [OFF])
+m4trace:m4/ax_prog_doxygen.m4:271: -1- AC_DEFUN([DX_FEATURE_xml], [OFF])
+m4trace:m4/ax_prog_doxygen.m4:272: -1- AC_DEFUN([DX_FEATURE_pdf], [ON])
+m4trace:m4/ax_prog_doxygen.m4:273: -1- AC_DEFUN([DX_FEATURE_ps], [ON])
+m4trace:m4/ax_prog_doxygen.m4:282: -1- AC_DEFUN([DX_ENV_APPEND], [AC_SUBST([DX_ENV], ["$DX_ENV $1='$2'"])])
+m4trace:m4/ax_prog_doxygen.m4:287: -1- AC_DEFUN([DX_DIRNAME_EXPR], [[expr ".$1" : '\(\.\)[^/]*$' \| "x$1" : 'x\(.*\)/[^/]*$']])
+m4trace:m4/ax_prog_doxygen.m4:293: -1- AC_DEFUN([DX_IF_FEATURE], [ifelse(DX_FEATURE_$1, ON, [$2], [$3])])
+m4trace:m4/ax_prog_doxygen.m4:298: -1- AC_DEFUN([DX_REQUIRE_PROG], [
+AC_PATH_TOOL([$1], [$2])
+if test "$DX_FLAG_[]DX_CURRENT_FEATURE$$1" = 1; then
+ AC_MSG_WARN([$2 not found - will not DX_CURRENT_DESCRIPTION])
+ AC_SUBST(DX_FLAG_[]DX_CURRENT_FEATURE, 0)
+fi
+])
+m4trace:m4/ax_prog_doxygen.m4:309: -1- AC_DEFUN([DX_TEST_FEATURE], [test "$DX_FLAG_$1" = 1])
+m4trace:m4/ax_prog_doxygen.m4:315: -1- AC_DEFUN([DX_CHECK_DEPEND], [
+test "$DX_FLAG_$1" = "$2" \
+|| AC_MSG_ERROR([doxygen-DX_CURRENT_FEATURE ifelse([$2], 1,
+ requires, contradicts) doxygen-DX_CURRENT_FEATURE])
+])
+m4trace:m4/ax_prog_doxygen.m4:324: -1- AC_DEFUN([DX_CLEAR_DEPEND], [
+test "$DX_FLAG_$1" = "$2" || AC_SUBST(DX_FLAG_[]DX_CURRENT_FEATURE, 0)
+])
+m4trace:m4/ax_prog_doxygen.m4:338: -1- AC_DEFUN([DX_ARG_ABLE], [
+ AC_DEFUN([DX_CURRENT_FEATURE], [$1])
+ AC_DEFUN([DX_CURRENT_DESCRIPTION], [$2])
+ AC_ARG_ENABLE(doxygen-$1,
+ [AS_HELP_STRING(DX_IF_FEATURE([$1], [--disable-doxygen-$1],
+ [--enable-doxygen-$1]),
+ DX_IF_FEATURE([$1], [don't $2], [$2]))],
+ [
+case "$enableval" in
+#(
+y|Y|yes|Yes|YES)
+ AC_SUBST([DX_FLAG_$1], 1)
+ $3
+;; #(
+n|N|no|No|NO)
+ AC_SUBST([DX_FLAG_$1], 0)
+;; #(
+*)
+ AC_MSG_ERROR([invalid value '$enableval' given to doxygen-$1])
+;;
+esac
+], [
+AC_SUBST([DX_FLAG_$1], [DX_IF_FEATURE([$1], 1, 0)])
+$4
+])
+if DX_TEST_FEATURE([$1]); then
+ $5
+ :
+fi
+if DX_TEST_FEATURE([$1]); then
+ AM_CONDITIONAL(DX_COND_$1, :)
+ $6
+ :
+else
+ AM_CONDITIONAL(DX_COND_$1, false)
+ $7
+ :
+fi
+])
+m4trace:m4/ax_prog_doxygen.m4:384: -1- AC_DEFUN([DX_DOXYGEN_FEATURE], [AC_DEFUN([DX_FEATURE_doc], [$1])])
+m4trace:m4/ax_prog_doxygen.m4:385: -1- AC_DEFUN([DX_DOT_FEATURE], [AC_DEFUN([DX_FEATURE_dot], [$1])])
+m4trace:m4/ax_prog_doxygen.m4:386: -1- AC_DEFUN([DX_MAN_FEATURE], [AC_DEFUN([DX_FEATURE_man], [$1])])
+m4trace:m4/ax_prog_doxygen.m4:387: -1- AC_DEFUN([DX_HTML_FEATURE], [AC_DEFUN([DX_FEATURE_html], [$1])])
+m4trace:m4/ax_prog_doxygen.m4:388: -1- AC_DEFUN([DX_CHM_FEATURE], [AC_DEFUN([DX_FEATURE_chm], [$1])])
+m4trace:m4/ax_prog_doxygen.m4:389: -1- AC_DEFUN([DX_CHI_FEATURE], [AC_DEFUN([DX_FEATURE_chi], [$1])])
+m4trace:m4/ax_prog_doxygen.m4:390: -1- AC_DEFUN([DX_RTF_FEATURE], [AC_DEFUN([DX_FEATURE_rtf], [$1])])
+m4trace:m4/ax_prog_doxygen.m4:391: -1- AC_DEFUN([DX_XML_FEATURE], [AC_DEFUN([DX_FEATURE_xml], [$1])])
+m4trace:m4/ax_prog_doxygen.m4:392: -1- AC_DEFUN([DX_XML_FEATURE], [AC_DEFUN([DX_FEATURE_xml], [$1])])
+m4trace:m4/ax_prog_doxygen.m4:393: -1- AC_DEFUN([DX_PDF_FEATURE], [AC_DEFUN([DX_FEATURE_pdf], [$1])])
+m4trace:m4/ax_prog_doxygen.m4:394: -1- AC_DEFUN([DX_PS_FEATURE], [AC_DEFUN([DX_FEATURE_ps], [$1])])
+m4trace:m4/ax_prog_doxygen.m4:400: -1- AC_DEFUN([DX_INIT_DOXYGEN], [
+
+# Files:
+AC_SUBST([DX_PROJECT], [$1])
+AC_SUBST([DX_CONFIG], [ifelse([$2], [], Doxyfile, [$2])])
+AC_SUBST([DX_DOCDIR], [ifelse([$3], [], doxygen-doc, [$3])])
+
+# Environment variables used inside doxygen.cfg:
+DX_ENV_APPEND(SRCDIR, $srcdir)
+DX_ENV_APPEND(PROJECT, $DX_PROJECT)
+DX_ENV_APPEND(DOCDIR, $DX_DOCDIR)
+DX_ENV_APPEND(VERSION, $PACKAGE_VERSION)
+
+# Doxygen itself:
+DX_ARG_ABLE(doc, [generate any doxygen documentation],
+ [],
+ [],
+ [DX_REQUIRE_PROG([DX_DOXYGEN], doxygen)
+ DX_REQUIRE_PROG([DX_PERL], perl)],
+ [DX_ENV_APPEND(PERL_PATH, $DX_PERL)])
+
+# Dot for graphics:
+DX_ARG_ABLE(dot, [generate graphics for doxygen documentation],
+ [DX_CHECK_DEPEND(doc, 1)],
+ [DX_CLEAR_DEPEND(doc, 1)],
+ [DX_REQUIRE_PROG([DX_DOT], dot)],
+ [DX_ENV_APPEND(HAVE_DOT, YES)
+ DX_ENV_APPEND(DOT_PATH, [`DX_DIRNAME_EXPR($DX_DOT)`])],
+ [DX_ENV_APPEND(HAVE_DOT, NO)])
+
+# Man pages generation:
+DX_ARG_ABLE(man, [generate doxygen manual pages],
+ [DX_CHECK_DEPEND(doc, 1)],
+ [DX_CLEAR_DEPEND(doc, 1)],
+ [],
+ [DX_ENV_APPEND(GENERATE_MAN, YES)],
+ [DX_ENV_APPEND(GENERATE_MAN, NO)])
+
+# RTF file generation:
+DX_ARG_ABLE(rtf, [generate doxygen RTF documentation],
+ [DX_CHECK_DEPEND(doc, 1)],
+ [DX_CLEAR_DEPEND(doc, 1)],
+ [],
+ [DX_ENV_APPEND(GENERATE_RTF, YES)],
+ [DX_ENV_APPEND(GENERATE_RTF, NO)])
+
+# XML file generation:
+DX_ARG_ABLE(xml, [generate doxygen XML documentation],
+ [DX_CHECK_DEPEND(doc, 1)],
+ [DX_CLEAR_DEPEND(doc, 1)],
+ [],
+ [DX_ENV_APPEND(GENERATE_XML, YES)],
+ [DX_ENV_APPEND(GENERATE_XML, NO)])
+
+# (Compressed) HTML help generation:
+DX_ARG_ABLE(chm, [generate doxygen compressed HTML help documentation],
+ [DX_CHECK_DEPEND(doc, 1)],
+ [DX_CLEAR_DEPEND(doc, 1)],
+ [DX_REQUIRE_PROG([DX_HHC], hhc)],
+ [DX_ENV_APPEND(HHC_PATH, $DX_HHC)
+ DX_ENV_APPEND(GENERATE_HTML, YES)
+ DX_ENV_APPEND(GENERATE_HTMLHELP, YES)],
+ [DX_ENV_APPEND(GENERATE_HTMLHELP, NO)])
+
+# Seperate CHI file generation.
+DX_ARG_ABLE(chi, [generate doxygen seperate compressed HTML help index file],
+ [DX_CHECK_DEPEND(chm, 1)],
+ [DX_CLEAR_DEPEND(chm, 1)],
+ [],
+ [DX_ENV_APPEND(GENERATE_CHI, YES)],
+ [DX_ENV_APPEND(GENERATE_CHI, NO)])
+
+# Plain HTML pages generation:
+DX_ARG_ABLE(html, [generate doxygen plain HTML documentation],
+ [DX_CHECK_DEPEND(doc, 1) DX_CHECK_DEPEND(chm, 0)],
+ [DX_CLEAR_DEPEND(doc, 1) DX_CLEAR_DEPEND(chm, 0)],
+ [],
+ [DX_ENV_APPEND(GENERATE_HTML, YES)],
+ [DX_TEST_FEATURE(chm) || DX_ENV_APPEND(GENERATE_HTML, NO)])
+
+# PostScript file generation:
+DX_ARG_ABLE(ps, [generate doxygen PostScript documentation],
+ [DX_CHECK_DEPEND(doc, 1)],
+ [DX_CLEAR_DEPEND(doc, 1)],
+ [DX_REQUIRE_PROG([DX_LATEX], latex)
+ DX_REQUIRE_PROG([DX_MAKEINDEX], makeindex)
+ DX_REQUIRE_PROG([DX_DVIPS], dvips)
+ DX_REQUIRE_PROG([DX_EGREP], egrep)])
+
+# PDF file generation:
+DX_ARG_ABLE(pdf, [generate doxygen PDF documentation],
+ [DX_CHECK_DEPEND(doc, 1)],
+ [DX_CLEAR_DEPEND(doc, 1)],
+ [DX_REQUIRE_PROG([DX_PDFLATEX], pdflatex)
+ DX_REQUIRE_PROG([DX_MAKEINDEX], makeindex)
+ DX_REQUIRE_PROG([DX_EGREP], egrep)])
+
+# LaTeX generation for PS and/or PDF:
+if DX_TEST_FEATURE(ps) || DX_TEST_FEATURE(pdf); then
+ AM_CONDITIONAL(DX_COND_latex, :)
+ DX_ENV_APPEND(GENERATE_LATEX, YES)
+else
+ AM_CONDITIONAL(DX_COND_latex, false)
+ DX_ENV_APPEND(GENERATE_LATEX, NO)
+fi
+
+# Paper size for PS and/or PDF:
+AC_ARG_VAR(DOXYGEN_PAPER_SIZE,
+ [a4wide (default), a4, letter, legal or executive])
+case "$DOXYGEN_PAPER_SIZE" in
+#(
+"")
+ AC_SUBST(DOXYGEN_PAPER_SIZE, "")
+;; #(
+a4wide|a4|letter|legal|executive)
+ DX_ENV_APPEND(PAPER_SIZE, $DOXYGEN_PAPER_SIZE)
+;; #(
+*)
+ AC_MSG_ERROR([unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'])
+;;
+esac
+
+#For debugging:
+#echo DX_FLAG_doc=$DX_FLAG_doc
+#echo DX_FLAG_dot=$DX_FLAG_dot
+#echo DX_FLAG_man=$DX_FLAG_man
+#echo DX_FLAG_html=$DX_FLAG_html
+#echo DX_FLAG_chm=$DX_FLAG_chm
+#echo DX_FLAG_chi=$DX_FLAG_chi
+#echo DX_FLAG_rtf=$DX_FLAG_rtf
+#echo DX_FLAG_xml=$DX_FLAG_xml
+#echo DX_FLAG_pdf=$DX_FLAG_pdf
+#echo DX_FLAG_ps=$DX_FLAG_ps
+#echo DX_ENV=$DX_ENV
+])
+m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
+m4trace:configure.ac:1: -1- m4_pattern_forbid([_AC_])
+m4trace:configure.ac:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^AS_FLAGS$])
+m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?m4_])
+m4trace:configure.ac:1: -1- m4_pattern_forbid([^dnl$])
+m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?AS_])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^SHELL$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^PATH_SEPARATOR$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_URL$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^exec_prefix$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^prefix$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^program_transform_name$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^bindir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^sbindir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^libexecdir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^datarootdir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^datadir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^sysconfdir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^sharedstatedir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^localstatedir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^includedir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^oldincludedir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^docdir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^infodir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^htmldir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^dvidir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^pdfdir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^psdir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^libdir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^localedir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^mandir$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_URL$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^DEFS$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_C$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_N$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_T$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^build_alias$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^host_alias$])
+m4trace:configure.ac:1: -1- m4_pattern_allow([^target_alias$])
+m4trace:configure.ac:3: -1- AM_INIT_AUTOMAKE([])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
+m4trace:configure.ac:3: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
+m4trace:configure.ac:3: -1- AM_AUTOMAKE_VERSION([1.11.1])
+m4trace:configure.ac:3: -1- _AM_AUTOCONF_VERSION([2.67])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^INSTALL_DATA$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^am__isrc$])
+m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([am__isrc])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^CYGPATH_W$])
+m4trace:configure.ac:3: -1- _AM_SET_OPTIONS([])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^VERSION$])
+m4trace:configure.ac:3: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
+m4trace:configure.ac:3: -2- _AM_MANGLE_OPTION([no-define])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^VERSION$])
+m4trace:configure.ac:3: -1- AM_SANITY_CHECK
+m4trace:configure.ac:3: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+m4trace:configure.ac:3: -1- AM_MISSING_HAS_RUN
+m4trace:configure.ac:3: -1- AM_AUX_DIR_EXPAND
+m4trace:configure.ac:3: -1- m4_pattern_allow([^ACLOCAL$])
+m4trace:configure.ac:3: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AUTOCONF$])
+m4trace:configure.ac:3: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AUTOMAKE$])
+m4trace:configure.ac:3: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AUTOHEADER$])
+m4trace:configure.ac:3: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^MAKEINFO$])
+m4trace:configure.ac:3: -1- AM_PROG_INSTALL_SH
+m4trace:configure.ac:3: -1- m4_pattern_allow([^install_sh$])
+m4trace:configure.ac:3: -1- AM_PROG_INSTALL_STRIP
+m4trace:configure.ac:3: -1- m4_pattern_allow([^STRIP$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
+m4trace:configure.ac:3: -1- AM_PROG_MKDIR_P
+m4trace:configure.ac:3: -1- m4_pattern_allow([^MKDIR_P$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^mkdir_p$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AWK$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^SET_MAKE$])
+m4trace:configure.ac:3: -1- AM_SET_LEADING_DOT
+m4trace:configure.ac:3: -1- m4_pattern_allow([^am__leading_dot$])
+m4trace:configure.ac:3: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
+m4trace:configure.ac:3: -2- _AM_MANGLE_OPTION([tar-ustar])
+m4trace:configure.ac:3: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
+m4trace:configure.ac:3: -2- _AM_MANGLE_OPTION([tar-pax])
+m4trace:configure.ac:3: -1- _AM_PROG_TAR([v7])
+m4trace:configure.ac:3: -1- AM_MISSING_PROG([AMTAR], [tar])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^AMTAR$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^am__tar$])
+m4trace:configure.ac:3: -1- m4_pattern_allow([^am__untar$])
+m4trace:configure.ac:3: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
+ [_AM_DEPENDENCIES(CC)],
+ [define([AC_PROG_CC],
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [_AM_DEPENDENCIES(CXX)],
+ [define([AC_PROG_CXX],
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES(OBJC)],
+ [define([AC_PROG_OBJC],
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
+])
+m4trace:configure.ac:3: -2- _AM_MANGLE_OPTION([no-dependencies])
+m4trace:configure.ac:3: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
+m4trace:configure.ac:3: -2- _AM_MANGLE_OPTION([silent-rules])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^CXX$])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^CXXFLAGS$])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^CXX$])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^ac_ct_CXX$])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^EXEEXT$])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^OBJEXT$])
+m4trace:configure.ac:6: -1- _AM_DEPENDENCIES([CXX])
+m4trace:configure.ac:6: -1- AM_SET_DEPDIR
+m4trace:configure.ac:6: -1- m4_pattern_allow([^DEPDIR$])
+m4trace:configure.ac:6: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
+m4trace:configure.ac:6: -1- AM_MAKE_INCLUDE
+m4trace:configure.ac:6: -1- m4_pattern_allow([^am__include$])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^am__quote$])
+m4trace:configure.ac:6: -1- AM_DEP_TRACK
+m4trace:configure.ac:6: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^AMDEP_TRUE$])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^AMDEP_FALSE$])
+m4trace:configure.ac:6: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
+m4trace:configure.ac:6: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
+m4trace:configure.ac:6: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^CXXDEPMODE$])
+m4trace:configure.ac:6: -1- AM_CONDITIONAL([am__fastdepCXX], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
+m4trace:configure.ac:6: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
+m4trace:configure.ac:6: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
+m4trace:configure.ac:7: -1- m4_pattern_allow([^RANLIB$])
+m4trace:configure.ac:10: -1- DX_INIT_DOXYGEN(["Hilbert 3D"], [Doxyfile], [docs/doxygen])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_PROJECT$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_CONFIG$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_DOCDIR$])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([SRCDIR], [$srcdir])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([PROJECT], [$DX_PROJECT])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([DOCDIR], [$DX_DOCDIR])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([VERSION], [$PACKAGE_VERSION])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- DX_ARG_ABLE([doc], [generate any doxygen documentation], [], [], [DX_REQUIRE_PROG([DX_DOXYGEN], doxygen)
+ DX_REQUIRE_PROG([DX_PERL], perl)], [DX_ENV_APPEND(PERL_PATH, $DX_PERL)])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_FEATURE], [doc])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_DESCRIPTION], [generate any doxygen documentation])
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([doc], [--disable-doxygen-doc], [--enable-doxygen-doc])
+m4trace:configure.ac:10: -3- DX_FEATURE_doc
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([doc], [don't generate any doxygen documentation], [generate any doxygen documentation])
+m4trace:configure.ac:10: -3- DX_FEATURE_doc
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_doc$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_doc$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_doc$])
+m4trace:configure.ac:10: -1- DX_IF_FEATURE([doc], [1], [0])
+m4trace:configure.ac:10: -2- DX_FEATURE_doc
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([doc])
+m4trace:configure.ac:10: -1- DX_REQUIRE_PROG([DX_DOXYGEN], [doxygen])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_DOXYGEN$])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_doc$])
+m4trace:configure.ac:10: -1- DX_REQUIRE_PROG([DX_PERL], [perl])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_PERL$])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_doc$])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([doc])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_doc], [:])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_doc_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_doc_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_doc_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_doc_FALSE])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([PERL_PATH], [$DX_PERL])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_doc], [false])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_doc_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_doc_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_doc_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_doc_FALSE])
+m4trace:configure.ac:10: -1- DX_ARG_ABLE([dot], [generate graphics for doxygen documentation], [DX_CHECK_DEPEND(doc, 1)], [DX_CLEAR_DEPEND(doc, 1)], [DX_REQUIRE_PROG([DX_DOT], dot)], [DX_ENV_APPEND(HAVE_DOT, YES)
+ DX_ENV_APPEND(DOT_PATH, [`DX_DIRNAME_EXPR($DX_DOT)`])], [DX_ENV_APPEND(HAVE_DOT, NO)])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_FEATURE], [dot])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_DESCRIPTION], [generate graphics for doxygen documentation])
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([dot], [--disable-doxygen-dot], [--enable-doxygen-dot])
+m4trace:configure.ac:10: -3- DX_FEATURE_dot
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([dot], [don't generate graphics for doxygen documentation], [generate graphics for doxygen documentation])
+m4trace:configure.ac:10: -3- DX_FEATURE_dot
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_dot$])
+m4trace:configure.ac:10: -1- DX_CHECK_DEPEND([doc], [1])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_dot$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_dot$])
+m4trace:configure.ac:10: -1- DX_IF_FEATURE([dot], [1], [0])
+m4trace:configure.ac:10: -2- DX_FEATURE_dot
+m4trace:configure.ac:10: -1- DX_CLEAR_DEPEND([doc], [1])
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_dot$])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([dot])
+m4trace:configure.ac:10: -1- DX_REQUIRE_PROG([DX_DOT], [dot])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_DOT$])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_dot$])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([dot])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_dot], [:])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_dot_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_dot_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_dot_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_dot_FALSE])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([HAVE_DOT], [YES])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([DOT_PATH], [`DX_DIRNAME_EXPR($DX_DOT)`])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- DX_DIRNAME_EXPR([$DX_DOT])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_dot], [false])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_dot_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_dot_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_dot_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_dot_FALSE])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([HAVE_DOT], [NO])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- DX_ARG_ABLE([man], [generate doxygen manual pages], [DX_CHECK_DEPEND(doc, 1)], [DX_CLEAR_DEPEND(doc, 1)], [], [DX_ENV_APPEND(GENERATE_MAN, YES)], [DX_ENV_APPEND(GENERATE_MAN, NO)])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_FEATURE], [man])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_DESCRIPTION], [generate doxygen manual pages])
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([man], [--disable-doxygen-man], [--enable-doxygen-man])
+m4trace:configure.ac:10: -3- DX_FEATURE_man
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([man], [don't generate doxygen manual pages], [generate doxygen manual pages])
+m4trace:configure.ac:10: -3- DX_FEATURE_man
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_man$])
+m4trace:configure.ac:10: -1- DX_CHECK_DEPEND([doc], [1])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_man$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_man$])
+m4trace:configure.ac:10: -1- DX_IF_FEATURE([man], [1], [0])
+m4trace:configure.ac:10: -2- DX_FEATURE_man
+m4trace:configure.ac:10: -1- DX_CLEAR_DEPEND([doc], [1])
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_man$])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([man])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([man])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_man], [:])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_man_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_man_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_man_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_man_FALSE])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([GENERATE_MAN], [YES])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_man], [false])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_man_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_man_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_man_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_man_FALSE])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([GENERATE_MAN], [NO])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- DX_ARG_ABLE([rtf], [generate doxygen RTF documentation], [DX_CHECK_DEPEND(doc, 1)], [DX_CLEAR_DEPEND(doc, 1)], [], [DX_ENV_APPEND(GENERATE_RTF, YES)], [DX_ENV_APPEND(GENERATE_RTF, NO)])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_FEATURE], [rtf])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_DESCRIPTION], [generate doxygen RTF documentation])
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([rtf], [--disable-doxygen-rtf], [--enable-doxygen-rtf])
+m4trace:configure.ac:10: -3- DX_FEATURE_rtf
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([rtf], [don't generate doxygen RTF documentation], [generate doxygen RTF documentation])
+m4trace:configure.ac:10: -3- DX_FEATURE_rtf
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_rtf$])
+m4trace:configure.ac:10: -1- DX_CHECK_DEPEND([doc], [1])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_rtf$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_rtf$])
+m4trace:configure.ac:10: -1- DX_IF_FEATURE([rtf], [1], [0])
+m4trace:configure.ac:10: -2- DX_FEATURE_rtf
+m4trace:configure.ac:10: -1- DX_CLEAR_DEPEND([doc], [1])
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_rtf$])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([rtf])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([rtf])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_rtf], [:])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_rtf_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_rtf_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_rtf_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_rtf_FALSE])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([GENERATE_RTF], [YES])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_rtf], [false])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_rtf_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_rtf_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_rtf_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_rtf_FALSE])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([GENERATE_RTF], [NO])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- DX_ARG_ABLE([xml], [generate doxygen XML documentation], [DX_CHECK_DEPEND(doc, 1)], [DX_CLEAR_DEPEND(doc, 1)], [], [DX_ENV_APPEND(GENERATE_XML, YES)], [DX_ENV_APPEND(GENERATE_XML, NO)])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_FEATURE], [xml])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_DESCRIPTION], [generate doxygen XML documentation])
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([xml], [--disable-doxygen-xml], [--enable-doxygen-xml])
+m4trace:configure.ac:10: -3- DX_FEATURE_xml
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([xml], [don't generate doxygen XML documentation], [generate doxygen XML documentation])
+m4trace:configure.ac:10: -3- DX_FEATURE_xml
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_xml$])
+m4trace:configure.ac:10: -1- DX_CHECK_DEPEND([doc], [1])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_xml$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_xml$])
+m4trace:configure.ac:10: -1- DX_IF_FEATURE([xml], [1], [0])
+m4trace:configure.ac:10: -2- DX_FEATURE_xml
+m4trace:configure.ac:10: -1- DX_CLEAR_DEPEND([doc], [1])
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_xml$])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([xml])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([xml])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_xml], [:])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_xml_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_xml_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_xml_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_xml_FALSE])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([GENERATE_XML], [YES])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_xml], [false])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_xml_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_xml_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_xml_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_xml_FALSE])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([GENERATE_XML], [NO])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- DX_ARG_ABLE([chm], [generate doxygen compressed HTML help documentation], [DX_CHECK_DEPEND(doc, 1)], [DX_CLEAR_DEPEND(doc, 1)], [DX_REQUIRE_PROG([DX_HHC], hhc)], [DX_ENV_APPEND(HHC_PATH, $DX_HHC)
+ DX_ENV_APPEND(GENERATE_HTML, YES)
+ DX_ENV_APPEND(GENERATE_HTMLHELP, YES)], [DX_ENV_APPEND(GENERATE_HTMLHELP, NO)])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_FEATURE], [chm])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_DESCRIPTION], [generate doxygen compressed HTML help documentation])
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([chm], [--disable-doxygen-chm], [--enable-doxygen-chm])
+m4trace:configure.ac:10: -3- DX_FEATURE_chm
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([chm], [don't generate doxygen compressed HTML help documentation], [generate doxygen compressed HTML help documentation])
+m4trace:configure.ac:10: -3- DX_FEATURE_chm
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_chm$])
+m4trace:configure.ac:10: -1- DX_CHECK_DEPEND([doc], [1])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_chm$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_chm$])
+m4trace:configure.ac:10: -1- DX_IF_FEATURE([chm], [1], [0])
+m4trace:configure.ac:10: -2- DX_FEATURE_chm
+m4trace:configure.ac:10: -1- DX_CLEAR_DEPEND([doc], [1])
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_chm$])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([chm])
+m4trace:configure.ac:10: -1- DX_REQUIRE_PROG([DX_HHC], [hhc])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_HHC$])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_chm$])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([chm])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_chm], [:])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_chm_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_chm_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_chm_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_chm_FALSE])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([HHC_PATH], [$DX_HHC])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([GENERATE_HTML], [YES])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([GENERATE_HTMLHELP], [YES])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_chm], [false])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_chm_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_chm_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_chm_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_chm_FALSE])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([GENERATE_HTMLHELP], [NO])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- DX_ARG_ABLE([chi], [generate doxygen seperate compressed HTML help index file], [DX_CHECK_DEPEND(chm, 1)], [DX_CLEAR_DEPEND(chm, 1)], [], [DX_ENV_APPEND(GENERATE_CHI, YES)], [DX_ENV_APPEND(GENERATE_CHI, NO)])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_FEATURE], [chi])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_DESCRIPTION], [generate doxygen seperate compressed HTML help index file])
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([chi], [--disable-doxygen-chi], [--enable-doxygen-chi])
+m4trace:configure.ac:10: -3- DX_FEATURE_chi
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([chi], [don't generate doxygen seperate compressed HTML help index file], [generate doxygen seperate compressed HTML help index file])
+m4trace:configure.ac:10: -3- DX_FEATURE_chi
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_chi$])
+m4trace:configure.ac:10: -1- DX_CHECK_DEPEND([chm], [1])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_chi$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_chi$])
+m4trace:configure.ac:10: -1- DX_IF_FEATURE([chi], [1], [0])
+m4trace:configure.ac:10: -2- DX_FEATURE_chi
+m4trace:configure.ac:10: -1- DX_CLEAR_DEPEND([chm], [1])
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_chi$])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([chi])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([chi])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_chi], [:])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_chi_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_chi_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_chi_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_chi_FALSE])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([GENERATE_CHI], [YES])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_chi], [false])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_chi_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_chi_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_chi_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_chi_FALSE])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([GENERATE_CHI], [NO])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- DX_ARG_ABLE([html], [generate doxygen plain HTML documentation], [DX_CHECK_DEPEND(doc, 1) DX_CHECK_DEPEND(chm, 0)], [DX_CLEAR_DEPEND(doc, 1) DX_CLEAR_DEPEND(chm, 0)], [], [DX_ENV_APPEND(GENERATE_HTML, YES)], [DX_TEST_FEATURE(chm) || DX_ENV_APPEND(GENERATE_HTML, NO)])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_FEATURE], [html])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_DESCRIPTION], [generate doxygen plain HTML documentation])
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([html], [--disable-doxygen-html], [--enable-doxygen-html])
+m4trace:configure.ac:10: -3- DX_FEATURE_html
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([html], [don't generate doxygen plain HTML documentation], [generate doxygen plain HTML documentation])
+m4trace:configure.ac:10: -3- DX_FEATURE_html
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_html$])
+m4trace:configure.ac:10: -1- DX_CHECK_DEPEND([doc], [1])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CHECK_DEPEND([chm], [0])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_html$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_html$])
+m4trace:configure.ac:10: -1- DX_IF_FEATURE([html], [1], [0])
+m4trace:configure.ac:10: -2- DX_FEATURE_html
+m4trace:configure.ac:10: -1- DX_CLEAR_DEPEND([doc], [1])
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_html$])
+m4trace:configure.ac:10: -1- DX_CLEAR_DEPEND([chm], [0])
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_html$])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([html])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([html])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_html], [:])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_html_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_html_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_html_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_html_FALSE])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([GENERATE_HTML], [YES])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_html], [false])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_html_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_html_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_html_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_html_FALSE])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([chm])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([GENERATE_HTML], [NO])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- DX_ARG_ABLE([ps], [generate doxygen PostScript documentation], [DX_CHECK_DEPEND(doc, 1)], [DX_CLEAR_DEPEND(doc, 1)], [DX_REQUIRE_PROG([DX_LATEX], latex)
+ DX_REQUIRE_PROG([DX_MAKEINDEX], makeindex)
+ DX_REQUIRE_PROG([DX_DVIPS], dvips)
+ DX_REQUIRE_PROG([DX_EGREP], egrep)])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_FEATURE], [ps])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_DESCRIPTION], [generate doxygen PostScript documentation])
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([ps], [--disable-doxygen-ps], [--enable-doxygen-ps])
+m4trace:configure.ac:10: -3- DX_FEATURE_ps
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([ps], [don't generate doxygen PostScript documentation], [generate doxygen PostScript documentation])
+m4trace:configure.ac:10: -3- DX_FEATURE_ps
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_ps$])
+m4trace:configure.ac:10: -1- DX_CHECK_DEPEND([doc], [1])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_ps$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_ps$])
+m4trace:configure.ac:10: -1- DX_IF_FEATURE([ps], [1], [0])
+m4trace:configure.ac:10: -2- DX_FEATURE_ps
+m4trace:configure.ac:10: -1- DX_CLEAR_DEPEND([doc], [1])
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_ps$])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([ps])
+m4trace:configure.ac:10: -1- DX_REQUIRE_PROG([DX_LATEX], [latex])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_LATEX$])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_ps$])
+m4trace:configure.ac:10: -1- DX_REQUIRE_PROG([DX_MAKEINDEX], [makeindex])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_MAKEINDEX$])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_ps$])
+m4trace:configure.ac:10: -1- DX_REQUIRE_PROG([DX_DVIPS], [dvips])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_DVIPS$])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_ps$])
+m4trace:configure.ac:10: -1- DX_REQUIRE_PROG([DX_EGREP], [egrep])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_EGREP$])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_ps$])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([ps])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_ps], [:])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_ps_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_ps_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_ps_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_ps_FALSE])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_ps], [false])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_ps_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_ps_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_ps_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_ps_FALSE])
+m4trace:configure.ac:10: -1- DX_ARG_ABLE([pdf], [generate doxygen PDF documentation], [DX_CHECK_DEPEND(doc, 1)], [DX_CLEAR_DEPEND(doc, 1)], [DX_REQUIRE_PROG([DX_PDFLATEX], pdflatex)
+ DX_REQUIRE_PROG([DX_MAKEINDEX], makeindex)
+ DX_REQUIRE_PROG([DX_EGREP], egrep)])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_FEATURE], [pdf])
+m4trace:configure.ac:10: -1- AC_DEFUN([DX_CURRENT_DESCRIPTION], [generate doxygen PDF documentation])
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([pdf], [--disable-doxygen-pdf], [--enable-doxygen-pdf])
+m4trace:configure.ac:10: -3- DX_FEATURE_pdf
+m4trace:configure.ac:10: -2- DX_IF_FEATURE([pdf], [don't generate doxygen PDF documentation], [generate doxygen PDF documentation])
+m4trace:configure.ac:10: -3- DX_FEATURE_pdf
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_pdf$])
+m4trace:configure.ac:10: -1- DX_CHECK_DEPEND([doc], [1])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_pdf$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_pdf$])
+m4trace:configure.ac:10: -1- DX_IF_FEATURE([pdf], [1], [0])
+m4trace:configure.ac:10: -2- DX_FEATURE_pdf
+m4trace:configure.ac:10: -1- DX_CLEAR_DEPEND([doc], [1])
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_pdf$])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([pdf])
+m4trace:configure.ac:10: -1- DX_REQUIRE_PROG([DX_PDFLATEX], [pdflatex])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_PDFLATEX$])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_pdf$])
+m4trace:configure.ac:10: -1- DX_REQUIRE_PROG([DX_MAKEINDEX], [makeindex])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_MAKEINDEX$])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_pdf$])
+m4trace:configure.ac:10: -1- DX_REQUIRE_PROG([DX_EGREP], [egrep])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_EGREP$])
+m4trace:configure.ac:10: -1- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -1- DX_CURRENT_DESCRIPTION
+m4trace:configure.ac:10: -2- DX_CURRENT_FEATURE
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_FLAG_pdf$])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([pdf])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_pdf], [:])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_pdf_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_pdf_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_pdf_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_pdf_FALSE])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_pdf], [false])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_pdf_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_pdf_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_pdf_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_pdf_FALSE])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([ps])
+m4trace:configure.ac:10: -1- DX_TEST_FEATURE([pdf])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_latex], [:])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_latex_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_latex_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_latex_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_latex_FALSE])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([GENERATE_LATEX], [YES])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- AM_CONDITIONAL([DX_COND_latex], [false])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_latex_TRUE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_COND_latex_FALSE$])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_latex_TRUE])
+m4trace:configure.ac:10: -1- _AM_SUBST_NOTMAKE([DX_COND_latex_FALSE])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([GENERATE_LATEX], [NO])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DOXYGEN_PAPER_SIZE$])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DOXYGEN_PAPER_SIZE$])
+m4trace:configure.ac:10: -1- DX_ENV_APPEND([PAPER_SIZE], [$DOXYGEN_PAPER_SIZE])
+m4trace:configure.ac:10: -1- m4_pattern_allow([^DX_ENV$])
+m4trace:configure.ac:12: -1- AX_BOOST_BASE([1.38.0])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^BOOST_CPPFLAGS$])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^BOOST_LDFLAGS$])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^BOOST_ROOT_PATH$])
+m4trace:configure.ac:12: -1- m4_pattern_allow([^HAVE_BOOST$])
+m4trace:configure.ac:13: -1- AX_BOOST_REGEX
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CFLAGS$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CC$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^ac_ct_CC$])
+m4trace:configure.ac:13: -1- _AM_DEPENDENCIES([CC])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^CCDEPMODE$])
+m4trace:configure.ac:13: -1- AM_CONDITIONAL([am__fastdepCC], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
+m4trace:configure.ac:13: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
+m4trace:configure.ac:13: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^HAVE_BOOST_REGEX$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^BOOST_REGEX_LIB$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^BOOST_REGEX_LIB$])
+m4trace:configure.ac:13: -1- m4_pattern_allow([^BOOST_REGEX_LIB$])
+m4trace:configure.ac:15: -1- AX_HLIB
+m4trace:configure.ac:15: -1- AX_LAPACK
+m4trace:configure.ac:15: -1- AX_BLAS
+m4trace:configure.ac:15: -1- m4_pattern_allow([^F77$])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^FFLAGS$])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^F77$])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_F77$])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^FLIBS$])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^F77_DUMMY_MAIN$])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^FC_DUMMY_MAIN_EQ_F77$])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^BLAS_LIBS$])
+m4trace:configure.ac:15: -2- m4_pattern_allow([^HAVE_BLAS$])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^LAPACK_LIBS$])
+m4trace:configure.ac:15: -2- m4_pattern_allow([^HAVE_LAPACK$])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^HLIB_CPPFLAGS$])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^HLIB_LDFLAGS$])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^HLIB_ROOT_PATH$])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^HLIB_LIB$])
+m4trace:configure.ac:15: -1- m4_pattern_allow([^HAVE_HLIB$])
+m4trace:configure.ac:16: -1- AX_LIB_LOKI
+m4trace:configure.ac:16: -1- m4_pattern_allow([^LOKI_CPPFLAGS$])
+m4trace:configure.ac:16: -1- m4_pattern_allow([^LOKI_LDFLAGS$])
+m4trace:configure.ac:16: -1- m4_pattern_allow([^LOKI_ROOT_PATH$])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^GREP$])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^EGREP$])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^STDC_HEADERS$])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^HAVE__BOOL$])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^HAVE_STDBOOL_H$])
+m4trace:configure.ac:20: -1- m4_pattern_allow([^AM_CXXFLAGS$])
+m4trace:configure.ac:21: -1- m4_pattern_allow([^AM_LDFLAGS$])
+m4trace:configure.ac:24: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:24: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.ac:24: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
+m4trace:configure.ac:24: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
+m4trace:configure.ac:24: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
+m4trace:configure.ac:24: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
+m4trace:configure.ac:24: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
+m4trace:configure.ac:24: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
+m4trace:configure.ac:24: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
"
# Files that config.status was made for.
-config_files=" Makefile src/Makefile src/boundary_mesh/Makefile src/spaces/Makefile src/laplace/Makefile"
+config_files=" Makefile src/Makefile src/boundary_mesh/Makefile src/spaces/Makefile src/laplace/Makefile t/Makefile t/generic/Makefile t/boundary_mesh/Makefile t/laplace/Makefile"
config_headers=" src/config.h"
config_commands=" depfiles"
"src/boundary_mesh/Makefile") CONFIG_FILES="$CONFIG_FILES src/boundary_mesh/Makefile" ;;
"src/spaces/Makefile") CONFIG_FILES="$CONFIG_FILES src/spaces/Makefile" ;;
"src/laplace/Makefile") CONFIG_FILES="$CONFIG_FILES src/laplace/Makefile" ;;
+ "t/Makefile") CONFIG_FILES="$CONFIG_FILES t/Makefile" ;;
+ "t/generic/Makefile") CONFIG_FILES="$CONFIG_FILES t/generic/Makefile" ;;
+ "t/boundary_mesh/Makefile") CONFIG_FILES="$CONFIG_FILES t/boundary_mesh/Makefile" ;;
+ "t/laplace/Makefile") CONFIG_FILES="$CONFIG_FILES t/laplace/Makefile" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
esac
S["am__EXEEXT_TRUE"]="#"
S["LTLIBOBJS"]=""
S["LIBOBJS"]=""
+S["AM_LDFLAGS"]=""
+S["AM_CXXFLAGS"]=""
S["EGREP"]="/bin/grep -E"
S["GREP"]="/bin/grep"
S["CPP"]="gcc -E"
+S["LOKI_ROOT_PATH"]="/usr/local"
+S["LOKI_LDFLAGS"]="-L/usr/local/lib"
+S["LOKI_CPPFLAGS"]="-I/usr/local/include"
S["HLIB_LIB"]="-lhmatrix"
S["HLIB_ROOT_PATH"]="/usr/local"
S["HLIB_LDFLAGS"]="-L/usr/local/lib"
S["am__fastdepCC_TRUE"]=""
S["CCDEPMODE"]="depmode=gcc3"
S["ac_ct_CC"]="gcc"
-S["CFLAGS"]="-g -O2"
+S["CFLAGS"]=" -I/usr/local/include"
S["CC"]="gcc"
S["BOOST_ROOT_PATH"]="/usr"
S["BOOST_LDFLAGS"]="-L/usr/lib"
am__EXEEXT_TRUE
LTLIBOBJS
LIBOBJS
+AM_LDFLAGS
+AM_CXXFLAGS
EGREP
GREP
CPP
+LOKI_ROOT_PATH
+LOKI_LDFLAGS
+LOKI_CPPFLAGS
HLIB_LIB
HLIB_ROOT_PATH
HLIB_LDFLAGS
with_blas
with_lapack
with_hlib
+with_loki
'
ac_precious_vars='build_alias
host_alias
--with-lapack=<lib> use LAPACK library <lib>
--with-hlib[=DIR] use hlib (default is yes) - it is possible to
specify the root directory for hlib (optional)
+ --with-loki[=DIR|:>@ specify the root directory for the loki library
Some influential environment variables:
CXX C++ compiler command
LDFLAGS="$LDFLAGS_SAVED"
fi
+AX_BOOST_TEST
ac_ext=f
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
fi
+
+# Check whether --with-loki was given.
+if test "${with_loki+set}" = set; then :
+ withval=$with_loki;
+ if test "$withval" = "no"; then
+ as_fn_error $? "Sorry, but it is not possible to compile without loki" "$LINENO" 5
+ want_loki="no"
+ elif test "$withval" = "yes"; then
+ want_loki="yes"
+ ac_loki_path=""
+ else
+ want_loki="yes"
+ ac_loki_path="$withval"
+ fi
+
+else
+
+ want_loki="yes";
+
+fi
+
+
+ if test "x$want_loki" = "xyes"; then
+ if test "x$ac_loki_path" = "x"; then
+ for ac_loki_path_tmp in /usr /usr/local /opt /opt/local; do
+ if test -d "$ac_loki_path_tmp/include/loki"; then
+ LOKI_LDFLAGS="-L$ac_hlib_path_tmp/lib"
+ LOKI_CPPFLAGS="-I$ac_hlib_path_tmp/include"
+ LOKI_ROOT_PATH="$ac_hlib_path_tmp"
+ break;
+ fi
+ done
+ else
+ LOKI_LDFLAGS="-L$ac_hlib_path/lib"
+ LOKI_CPPFLAGS="-I$ac_hlib_path/include"
+ LOKI_ROOT_PATH="$ac_hlib_path"
+ fi
+
+ if test "x$LOKI_ROOT_PATH" = "x"; then
+ as_fn_error $? "We could not detect the loki library. Please install
+ the loki library, c.f. loki-lib.sf.net, before
+ proceeding." "$LINENO" 5
+ else
+
+
+
+
+ # Run some basic tests to check whether loki is really available:
+ CPPFLAGS_SAVED="$CPPFLAGS"
+ LDFLAGS_SAVED="$LDFLAGS"
+
+ CPPFLAGS="$CPPFLAGS $LOKI_CPPFLAGS"
+ CFLAGS="$CPPFLAGS"
+ export CPPFLAGS
+ export CFLAGS
+ LDFLAGS="$LDFLAGS $LOKI_LDFLAGS"
+ export LDFLAGS
+
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Loki is usable" >&5
+$as_echo_n "checking whether Loki is usable... " >&6; }
+if test "${ax_cv_loki+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <loki/SmartPtr.h>
+#ifdef F77_DUMMY_MAIN
+
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+
+#endif
+int
+main ()
+{
+::Loki::SmartPtr< int > t = new int;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ax_cv_loki="yes"
+else
+ ax_cv_loki="no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_loki" >&5
+$as_echo "$ax_cv_loki" >&6; }
+
+ if test "$ax_cv_loki" != "yes"; then
+ as_fn_error $? "Could not use the loki library. Please make sure
+ that it is installed correctly." "$LINENO" 5 ;
+ fi
+
+ CPPFLAGS="$SAVED_CPPFLAGS"
+ export CPPFLAGS
+ LDFLAGS="$SAVED_LDFLAGS"
+ export LDFLAGS
+ fi
+ fi
+
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
fi
-ac_config_files="$ac_config_files Makefile src/Makefile src/boundary_mesh/Makefile src/spaces/Makefile src/laplace/Makefile"
+
+
+
+ac_config_files="$ac_config_files Makefile src/Makefile src/boundary_mesh/Makefile src/spaces/Makefile src/laplace/Makefile t/Makefile t/generic/Makefile t/boundary_mesh/Makefile t/laplace/Makefile"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
"src/boundary_mesh/Makefile") CONFIG_FILES="$CONFIG_FILES src/boundary_mesh/Makefile" ;;
"src/spaces/Makefile") CONFIG_FILES="$CONFIG_FILES src/spaces/Makefile" ;;
"src/laplace/Makefile") CONFIG_FILES="$CONFIG_FILES src/laplace/Makefile" ;;
+ "t/Makefile") CONFIG_FILES="$CONFIG_FILES t/Makefile" ;;
+ "t/generic/Makefile") CONFIG_FILES="$CONFIG_FILES t/generic/Makefile" ;;
+ "t/boundary_mesh/Makefile") CONFIG_FILES="$CONFIG_FILES t/boundary_mesh/Makefile" ;;
+ "t/laplace/Makefile") CONFIG_FILES="$CONFIG_FILES t/laplace/Makefile" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
esac
AC_INIT([Hilbert 3D], [0.1.0], [markus.mayr@tuwien.ac.at], [hilbert3d], [http://83.169.35.184/cgi-bin/gitweb?p=bem3d.git])
-AC_PREREQ([2.67])
+AC_PREREQ([2.64])
AM_INIT_AUTOMAKE()
AC_CONFIG_HEADERS([src/config.h])
AX_BOOST_BASE([1.38.0])
AX_BOOST_REGEX
+AX_BOOST_TEST
AX_HLIB
+AX_LIB_LOKI
AC_HEADER_STDBOOL
-AC_CONFIG_FILES([Makefile src/Makefile src/boundary_mesh/Makefile src/spaces/Makefile src/laplace/Makefile])
+AC_SUBST([AM_CXXFLAGS])
+AC_SUBST([AM_LDFLAGS])
+
+AC_CONFIG_FILES([Makefile src/Makefile src/boundary_mesh/Makefile src/spaces/Makefile src/laplace/Makefile t/Makefile t/generic/Makefile t/boundary_mesh/Makefile t/laplace/Makefile])
AC_OUTPUT
--- /dev/null
+AC_DEFUN([AX_LIB_LOKI],[
+ AC_ARG_WITH([loki],
+ AS_HELP_STRING([--with-loki@<:@=DIR|:>@],
+ [specify the root directory for the loki library]),
+ [
+ if test "$withval" = "no"; then
+ AC_MSG_ERROR([Sorry, but it is not possible to compile without loki])
+ want_loki="no"
+ elif test "$withval" = "yes"; then
+ want_loki="yes"
+ ac_loki_path=""
+ else
+ want_loki="yes"
+ ac_loki_path="$withval"
+ fi
+ ],
+ [
+ want_loki="yes";
+ ])
+
+ if test "x$want_loki" = "xyes"; then
+ if test "x$ac_loki_path" = "x"; then
+ for ac_loki_path_tmp in /usr /usr/local /opt /opt/local; do
+ if test -d "$ac_loki_path_tmp/include/loki"; then
+ LOKI_LDFLAGS="-L$ac_hlib_path_tmp/lib"
+ LOKI_CPPFLAGS="-I$ac_hlib_path_tmp/include"
+ LOKI_ROOT_PATH="$ac_hlib_path_tmp"
+ break;
+ fi
+ done
+ else
+ LOKI_LDFLAGS="-L$ac_hlib_path/lib"
+ LOKI_CPPFLAGS="-I$ac_hlib_path/include"
+ LOKI_ROOT_PATH="$ac_hlib_path"
+ fi
+
+ if test "x$LOKI_ROOT_PATH" = "x"; then
+ AC_MSG_ERROR([We could not detect the loki library. Please install
+ the loki library, c.f. loki-lib.sf.net, before
+ proceeding.])
+ else
+ AC_SUBST(LOKI_CPPFLAGS)
+ AC_SUBST(LOKI_LDFLAGS)
+ AC_SUBST(LOKI_ROOT_PATH)
+
+ # Run some basic tests to check whether loki is really available:
+ CPPFLAGS_SAVED="$CPPFLAGS"
+ LDFLAGS_SAVED="$LDFLAGS"
+
+ CPPFLAGS="$CPPFLAGS $LOKI_CPPFLAGS"
+ CFLAGS="$CPPFLAGS"
+ export CPPFLAGS
+ export CFLAGS
+ LDFLAGS="$LDFLAGS $LOKI_LDFLAGS"
+ export LDFLAGS
+
+ AC_REQUIRE([AC_PROG_CXX])
+
+ AC_CACHE_CHECK(whether Loki is usable,
+ ax_cv_loki,
+ [ AC_LANG_PUSH([C++])
+ AC_COMPILE_IFELSE(AC_LANG_PROGRAM(
+ [[@%:@include <loki/SmartPtr.h>]],
+ [[::Loki::SmartPtr< int > t = new int;]]),
+ ax_cv_loki="yes",
+ ax_cv_loki="no")
+ AC_LANG_POP([C++])
+ ])
+
+ if test "$ax_cv_loki" != "yes"; then
+ AC_MSG_ERROR([Could not use the loki library. Please make sure
+ that it is installed correctly.]);
+ fi
+
+ CPPFLAGS="$SAVED_CPPFLAGS"
+ export CPPFLAGS
+ LDFLAGS="$SAVED_LDFLAGS"
+ export LDFLAGS
+ fi
+ fi
+])
+
BuildHLibOperatorFromCluster
};
+enum HLibOperatorConstructionLibrary
+{
+ HLib,
+ Hilbert
+};
+
class HLibInitializer
{
public:
enum MatrixSymmetry symmetry = UnsymmetricMatrix >
class HLibOperator
{
+
+ typedef typename TAnsatzSpace::DFunc AFunc;
+
public:
static const double defaultEpsForAcaAlgorithm = 1e-8;
static const double defaultAimedResidualForGMRes = 1e-6;
static const enum HLibOperatorConstructionMethod
defaultOperatorConstructionMethod = BuildHLibOperatorFromCluster;
+ static const enum HLibOperatorConstructionLibrary
+ defaultLibrary = Hilbert;
+
HLibOperator(
const TAnsatzSpace& ansatzSpace,
const TTestSpace& testSpace,
double maximumNumberOfSteps = defaultMaximumNumberOfStepsForGMRes
) const;
+ typename TAnsatzSpace::DFunc solve(typename TTestSpace::DFunc& rhs);
+
+ /**
+ * @brief Computes the Energy of a Discrete Function
+ */
+ double energy(typename TAnsatzSpace::DFunc& func);
+
private:
const TAnsatzSpace ansatzSpace_;
const TTestSpace testSpace_;
write_clustertree(columnClusterTree_,"clustertree.txt");
output_clustertree(columnClusterTree_,"clustertree.ps",0);
+ // MK: what is the right way to test if Ansatz and Testspace are the same???
+ // e.g. look at the following piece of code
+ //
+ // Boundarymesh mesh;
+ // P0Space space1(mesh);
+ // P0Space space2(mesh);
unsigned int numberOfTestElements = testSpace_.getNumberOfElements();
+// XXX: Bad-Hack! Removed this temporarily.
+#if 0
if ( &ansatzSpace == &testSpace )
{
std::cerr << "TestSpace = AnsatzSpace" << std::endl;
rowClusterTree_ = columnClusterTree_;
}
+
else
{
+#endif
clusterfactory* testFactory = testSpace_.createClusterFactory();
rowClusterTree_ = create_clustertree(
testFactory, HLIB_GEOMETRIC, 30, /* XXX: What is this constant? */
numberOfTestElements * numberOfTestElements );
del_clusterfactory( testFactory );
+#if 0
}
+#endif
if ( method == BuildHLibOperatorFull )
{
+ std::cerr << "# method == BuildHLibOperatorFull" << std::endl;
supermatrix_ = build_full_supermatrix(
rowClusterTree_->root, columnClusterTree_->root );
}
else if ( method == BuildHLibOperatorFromCluster )
{
//assert(0); // TODO/XXX: Not implemented yet!
+ std::cerr << "# method == BuildHLibOperatorFromCluster" << std::endl;
supermatrix_ = build_supermatrix_from_cluster(
rowClusterTree_->root, columnClusterTree_->root,
1, 30, HLIB_MINADM);
assert(0);
}
- outputrank_supermatrix(supermatrix_,"V.ps");
+// outputrank_supermatrix(supermatrix_,"V.ps");
+ print_supermatrix("V.ps", supermatrix_);
// print_cluster(rowClusterTree_->root,0,0);
fillSupermatrixAca(
(void*) this,
acaEps);
+ write_supermatrix("V.txt", supermatrix_);
+
// fill_supermatrix_aca(supermatrix_,rowClusterTree_->root,columnClusterTree_->root,(void*) this, computeEntryHelper, acaEps);
}
assert(0); /* TODO: Replace by an exception, name: *DimensionMismatch* */
}
- std::vector< double > solution( ansatzSpace_.getNumberOfElements(), 0 );
+ std::vector< double > solution( ansatzSpace_.getNumberOfElements(), 0. );
/* TODO: Document this call and the effects for certain operators.
* Should it be possible to specify preconditioner matrices?
solve_gmres_supermatrix(
supermatrix_, (double*)(&rhs[0]), &solution[0],
aimedResidual, maximumNumberOfSteps,
- 0, HLIB_PREC_LU,
+ 0, HLIB_PREC_CHOLESKY,
0, HLIB_EVAL_DEFAULT,
- 0);
+ 1);
return solution;
}
+template < class TAnsatzSpace, class TTestSpace,
+ enum MatrixSymmetry symmetry >
+typename TAnsatzSpace::DFunc
+HLibOperator< TAnsatzSpace, TTestSpace, symmetry >::solve(typename TTestSpace::DFunc& rhs)
+{
+// std::vector<double> rhsHLibOrder = rhs.getCoeffHLibOrder();
+
+// for ( int i = 0; i < ansatzSpace_.getNumberOfElements(); ++i )
+// rhsHLibOrder
+ std::vector<double> solution = solveGMRes(rhs.getCoeff());
+
+ // TODO: linke seite muss noch sortiert werden
+ typename TAnsatzSpace::DFunc result(ansatzSpace_,solution);
+
+ return result;
+}
+
+template < class TAnsatzSpace, class TTestSpace,
+ enum MatrixSymmetry symmetry >
+double
+HLibOperator< TAnsatzSpace, TTestSpace, symmetry >::energy(
+ typename TAnsatzSpace::DFunc& func)
+{
+ assert( ansatzSpace_.getNumberOfElements() == testSpace_.getNumberOfElements() );
+
+ std::vector<double> idxIn = func.getCoeff();
+ std::vector<double> dofAnsatzIn (ansatzSpace_.getNumberOfElements(),0);
+
+ // order coeffs of func according to internal HLib-order of the AnsatzSpace
+ for ( int i=0; i<ansatzSpace_.getNumberOfElements(); ++i)
+ dofAnsatzIn[columnClusterTree_->idx2dof[i]] = idxIn[i];
+
+ std::vector<double> dofTestOut (testSpace_.getNumberOfElements(),0);
+// eval_supermatrix(supermatrix_, &dofAnsatzIn[0], &dofTestOut[0]);
+ eval_supermatrix(supermatrix_, &idxIn[0], &dofTestOut[0]);
+
+ std::vector<double> dofTestIn (ansatzSpace_.getNumberOfElements(),0);
+
+ // order coeffs of func according to internal HLib-order of the TestSpace
+ // (the spaces are the SAME, but their dof2idx arrays can differ....)
+ for ( int i=0; i<testSpace_.getNumberOfElements(); ++i)
+ dofTestIn[rowClusterTree_->idx2dof[i]] = idxIn[i];
+
+ // MK: vector multiplication... is there a function in the STL?
+ double result = 0;
+ for ( int i=0; i<testSpace_.getNumberOfElements(); ++i )
+ result += dofTestOut[i]*idxIn[i];
+// result += dofTestOut[i]*dofTestIn[i];
+
+ return result;
+}
-// XXX: MK: is it necessary to have a template function here?
template < class TAnsatzSpace, class TTestSpace,
enum MatrixSymmetry symmetry >
void
HLibOperator* op = static_cast< HLibOperator* >( data );
int ourI = op->rowClusterTree_->dof2idx[ i ];
int ourJ = op->columnClusterTree_->dof2idx[ j ];
+// std::cerr << " computeEntryHelper: " << op->computeEntry_( op->ansatzSpace_[ ourI ], op->testSpace_[ ourJ ] ) << std::endl;
return op->computeEntry_( op->ansatzSpace_[ ourI ], op->testSpace_[ ourJ ] );
+
+ // The identity
+// if ( i==j )
+// return op->ansatzSpace_[i].getSupport().computeArea();
+// else
+// return 0;
}
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
$(top_srcdir)/m4/ax_boost_base.m4 \
$(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
- $(top_srcdir)/m4/ax_lapack.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
$(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
reldir="$$dir2"
ACLOCAL = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run aclocal-1.11
AMTAR = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run tar
+AM_CXXFLAGS =
+AM_LDFLAGS =
AUTOCONF = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoconf
AUTOHEADER = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoheader
AUTOMAKE = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run automake-1.11
BOOST_ROOT_PATH = /usr
CC = gcc
CCDEPMODE = depmode=gcc3
-CFLAGS = -g -O2
+CFLAGS = -I/usr/local/include
CPP = gcc -E
CPPFLAGS =
CXX = g++
LDFLAGS =
LIBOBJS =
LIBS =
+LOKI_CPPFLAGS = -I/usr/local/include
+LOKI_LDFLAGS = -L/usr/local/lib
+LOKI_ROOT_PATH = /usr/local
LTLIBOBJS =
MAKEINFO = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run makeinfo
MKDIR_P = /bin/mkdir -p
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
$(top_srcdir)/m4/ax_boost_base.m4 \
$(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
- $(top_srcdir)/m4/ax_lapack.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
$(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
reldir="$$dir2"
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
+AM_CXXFLAGS = @AM_CXXFLAGS@
+AM_LDFLAGS = @AM_LDFLAGS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
+LOKI_CPPFLAGS = @LOKI_CPPFLAGS@
+LOKI_LDFLAGS = @LOKI_LDFLAGS@
+LOKI_ROOT_PATH = @LOKI_ROOT_PATH@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
libhilbert_mesh_a-GenericVector.o: ../generic/GenericVector.cpp \
- ../generic/GenericVector.hpp /usr/include/c++/4.5/ostream \
- /usr/include/c++/4.5/ios /usr/include/c++/4.5/iosfwd \
+ ../generic/GenericVector.hpp /usr/include/c++/4.5/functional \
/usr/include/c++/4.5/x86_64-linux-gnu/bits/c++config.h \
/usr/include/c++/4.5/x86_64-linux-gnu/bits/os_defines.h \
/usr/include/features.h /usr/include/bits/predefs.h \
/usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
/usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \
/usr/include/c++/4.5/x86_64-linux-gnu/bits/cpu_defines.h \
+ /usr/include/c++/4.5/bits/stl_function.h \
+ /usr/include/c++/4.5/backward/binders.h /usr/include/c++/4.5/ostream \
+ /usr/include/c++/4.5/ios /usr/include/c++/4.5/iosfwd \
/usr/include/c++/4.5/bits/stringfwd.h \
/usr/include/c++/4.5/bits/postypes.h /usr/include/c++/4.5/cwchar \
/usr/include/c++/4.5/cstddef \
/usr/include/c++/4.5/ext/new_allocator.h /usr/include/c++/4.5/new \
/usr/include/c++/4.5/bits/ostream_insert.h \
/usr/include/c++/4.5/cxxabi-forced.h \
- /usr/include/c++/4.5/bits/stl_function.h \
- /usr/include/c++/4.5/backward/binders.h \
/usr/include/c++/4.5/bits/basic_string.h \
/usr/include/c++/4.5/initializer_list \
/usr/include/c++/4.5/bits/basic_string.tcc \
/usr/include/c++/4.5/bits/basic_ios.tcc \
/usr/include/c++/4.5/bits/ostream.tcc ../generic/GenericVector_tmpl.cpp \
/usr/include/c++/4.5/cassert /usr/include/assert.h \
- /usr/include/c++/4.5/cmath /usr/include/math.h \
- /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h \
- /usr/include/bits/huge_vall.h /usr/include/bits/inf.h \
- /usr/include/bits/nan.h /usr/include/bits/mathdef.h \
- /usr/include/bits/mathcalls.h /usr/include/bits/mathinline.h \
- /usr/include/c++/4.5/bits/cmath.tcc
+ /usr/include/c++/4.5/iostream /usr/include/c++/4.5/istream \
+ /usr/include/c++/4.5/bits/istream.tcc /usr/include/c++/4.5/cmath \
+ /usr/include/math.h /usr/include/bits/huge_val.h \
+ /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h \
+ /usr/include/bits/inf.h /usr/include/bits/nan.h \
+ /usr/include/bits/mathdef.h /usr/include/bits/mathcalls.h \
+ /usr/include/bits/mathinline.h /usr/include/c++/4.5/bits/cmath.tcc
../generic/GenericVector.hpp:
-/usr/include/c++/4.5/ostream:
-
-/usr/include/c++/4.5/ios:
-
-/usr/include/c++/4.5/iosfwd:
+/usr/include/c++/4.5/functional:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/c++config.h:
/usr/include/c++/4.5/x86_64-linux-gnu/bits/cpu_defines.h:
+/usr/include/c++/4.5/bits/stl_function.h:
+
+/usr/include/c++/4.5/backward/binders.h:
+
+/usr/include/c++/4.5/ostream:
+
+/usr/include/c++/4.5/ios:
+
+/usr/include/c++/4.5/iosfwd:
+
/usr/include/c++/4.5/bits/stringfwd.h:
/usr/include/c++/4.5/bits/postypes.h:
/usr/include/c++/4.5/cxxabi-forced.h:
-/usr/include/c++/4.5/bits/stl_function.h:
-
-/usr/include/c++/4.5/backward/binders.h:
-
/usr/include/c++/4.5/bits/basic_string.h:
/usr/include/c++/4.5/initializer_list:
/usr/include/assert.h:
+/usr/include/c++/4.5/iostream:
+
+/usr/include/c++/4.5/istream:
+
+/usr/include/c++/4.5/bits/istream.tcc:
+
/usr/include/c++/4.5/cmath:
/usr/include/math.h:
#include "types.hpp"
#include "exception.hpp"
#include "FaceDispatch.hpp"
+#include "../generic/Testing.hpp"
/**
* @page boundary_mesh_faces The Face datatypes
template < class TMesh >
class CommonFaceBase__
{
+ friend class testing::Tester< TMesh >;
template < class TFace, class TNext > friend class FaceFactory;
public:
ConstFaceIterator begin_f() const;
ConstFaceIterator end_f() const;
+ unsigned int getNumberOfEdges() const;
unsigned int getLocalEdgeId(
const typename TMesh::Prop::HalfEdge& edge ) const;
- bool operator==(const typename TMesh::Prop::HalfEdge& rhs) const;
-
protected:
CommonFaceBase__( const typename TMesh::Prop::HalfEdge& halfedge )
- : halfedge_( halfedge ) {}
+ : halfedge_( &halfedge ) {}
private:
- const typename TMesh::Prop::HalfEdge& halfedge_;
+ const typename TMesh::Prop::HalfEdge* halfedge_;
};
template < class TMesh >
geoid_t getId() const;
virtual double computeArea() const =0;
+ virtual double computeDiameter() const =0;
virtual unsigned int getNumberOfVertices() const =0;
virtual dispatchId_t getDispatchId() const =0;
typename std::vector< const typename TMesh::Vertex* > vertices_;
};
+ template < class TMesh >
+ bool operator<(
+ const CommonFaceBase__< TMesh >& lhs,
+ const CommonFaceBase__< TMesh >& rhs);
}
#include "Face_tmpl.cpp"
#include "../generic/TypeList.hpp"
#include "../generic/BaseTypes.hpp"
#include "exception/DispatchIdNotSet.hpp"
+#include "loki/MultiMethods.h"
+#include <boost/type_traits.hpp>
typedef int dispatchId_t;
+#include "Face.hpp"
+
+#define HILBERT3D_DISPATCH_PARAMETERS_0(Name, R) \
+ public: \
+ Name() {} \
+ typedef TMesh Mesh; \
+ private: \
+ typedef R Result;
+#define HILBERT3D_DISPATCH_PARAMETERS_1(Name, R, T1, N1) \
+ public: \
+ Name(T1 N1) : N1(N1) {} \
+ typedef TMesh Mesh; \
+ private: \
+ T1 N1; \
+ typedef R Result;
+#define HILBERT3D_DISPATCH_PARAMETERS_2(Name, R, T1, N1, T2, N2) \
+ public: \
+ Name(T1 N1, T2 N2) : N1(N1), N2(N2) {} \
+ typedef TMesh Mesh; \
+ private: \
+ T1 N1; T2 N2; \
+ typedef R Result;
+#define HILBERT3D_DISPATCH_PARAMETERS_3(Name, R, T1, N1, T2, N2, T3, N3) \
+ public: \
+ Name(T1 N1, T2 N2, T3 N3) : N1(N1), N2(N2), N3(N3) {} \
+ typedef TMesh Mesh; \
+ private: \
+ T1 N1; T2 N2; T3 N3; \
+ typedef R Result;
+#define HILBERT3D_DISPATCH_PARAMETERS_4(Name, R, T1, N1, T2, N2, T3, N3, T4, N4) \
+ public: \
+ Name(T1 N1, T2 N2, T3 N3, T4 N4) : N1(N1), N2(N2), N3(N3), N4(N4) {} \
+ typedef TMesh Mesh; \
+ private: \
+ T1 N1; T2 N2; T3 N3; T4 N4; \
+ typedef R Result;
+#define HILBERT3D_SINGLE_DISPATCH_IMPLEMENTATION_FOR( T ) \
+ public: \
+ typename boost::enable_if< boost::is_base_of< \
+ typename TMesh::Face, typename T >, Result >::type \
+ exec( const typename T& face )
+#define HILBERT3D_DOUBLE_DISPATCH_IMPLEMENTATION_FOR( T1,T2 ) \
+ public: \
+ Result \
+ exec( const typename T1& face1, const typename T2& face2 ) const
namespace boundary_mesh
{
TExecutor exec);
};
+ template < class TExecutor, class TBase, class TTypes >
+ class StaticSingleDispatcher< TExecutor, TBase, TTypes, void >
+ {
+ public:
+ typedef TExecutor PARAM;
+
+ static void Exec(
+ const TBase& face,
+ TExecutor exec);
+ };
+
template < class TExecutor, class TBase, class TResult >
class StaticSingleDispatcher< TExecutor, TBase, generic::NullType, TResult >
{
TExecutor exec);
};
+ template < class TExecutor, class TBase >
+ class StaticSingleDispatcher< TExecutor, TBase, generic::NullType, void >
+ {
+ public:
+ typedef TExecutor PARAM;
+
+ static void Exec(
+ const TBase& face,
+ TExecutor exec);
+ };
+
template < class TExecutor, class TMesh, class TResult = void >
class SingleFaceDispatcher
: public StaticSingleDispatcher<
TExecutor,
typename TMesh::Face, typename TMesh::FaceTypes,
TResult >
- {};
+ {
+ };
template < class TExecutor, class TBaseLhs, class TTypesLhs,
class TBaseRhs = TBaseLhs, class TTypesRhs = TTypesLhs,
template < class TExecutor, class TMesh, class TResult >
class DoubleFaceDispatcher
+#ifdef USE_LOKI_DISPATCHER_
+ : public ::Loki::StaticDispatcher<
+#else
: public StaticDoubleDispatcher<
+#endif
TExecutor,
typename TMesh::Face, typename TMesh::FaceTypes,
+#ifdef USE_LOKI_DISPATCHER_
+ false,
+#endif
typename TMesh::Face, typename TMesh::FaceTypes,
TResult >
- {};
+ {
+ };
}
#include "FaceDispatch_tmpl.cpp"
namespace boundary_mesh
{
+ template < class TExecutor, class TBase, class TTypes >
+ void
+ StaticSingleDispatcher< TExecutor, TBase, TTypes, void >::Exec(
+ const TBase& face,
+ TExecutor exec)
+ {
+ typedef typename TTypes::Head Head;
+ typedef typename TTypes::Tail Tail;
+
+ if (const Head* castedFace = dynamic_cast< const Head* >(&face))
+ {
+ exec.exec( *castedFace );
+ }
+ else
+ {
+ StaticSingleDispatcher< TExecutor, TBase, Tail, void >::
+ Exec( face, exec );
+ }
+ }
+
template < class TExecutor, class TBase, class TTypes, class TResult >
TResult
StaticSingleDispatcher< TExecutor, TBase, TTypes, TResult >::Exec(
if (const Head* castedFace = dynamic_cast< const Head* >(&face))
{
- exec.exec( *castedFace );
+ return exec.exec( *castedFace );
}
else
{
- StaticSingleDispatcher< TExecutor, TBase, Tail, TResult >::
+ return StaticSingleDispatcher< TExecutor, TBase, Tail, TResult >::
Exec( face, exec );
}
}
"Could not dispatch function call!\n");
}
+ template < class TExecutor, class TBase >
+ void
+ StaticSingleDispatcher< TExecutor, TBase, generic::NullType, void >::Exec(
+ const TBase& face,
+ TExecutor exec)
+ {
+ throw new exception::CouldNotDispatchCall(
+ "Could not dispatch function call!\n");
+ }
+
template < class TExecutor, class TBaseLhs, class TTypesLhs,
class TBaseRhs, class TTypesRhs, class TResult >
TResult
throw exception::CouldNotDispatchCall(
"Double Dispatcher: Could not dispatch right-hand side argument!\n");
}
-
}
#endif
#include <cassert>
#include <sstream>
#include <vector>
+#include "../generic/PtrCompare.hpp"
#include "Face.hpp"
CommonFaceBase__< TMesh >::IteratorBase__::operator++();
} while ( this->getCurrentHalfEdge() != 0
&& this->getCurrentHalfEdge()->getOppositeEdge() == 0 );
+ return *this;
}
template < class TMesh >
typename CommonFaceBase__< TMesh >::ConstEdgeIterator
CommonFaceBase__< TMesh >::begin_e() const
{
- return ConstEdgeIterator( halfedge_, StartAtBeginning );
+ return ConstEdgeIterator( *halfedge_, StartAtBeginning );
}
template < class TMesh >
typename CommonFaceBase__< TMesh >::ConstEdgeIterator
CommonFaceBase__< TMesh >::end_e() const
{
- return ConstEdgeIterator( halfedge_, StartAtEnd );
+ return ConstEdgeIterator( *halfedge_, StartAtEnd );
}
template < class TMesh >
typename CommonFaceBase__< TMesh >::ConstFaceIterator
CommonFaceBase__< TMesh >::begin_f() const
{
- return ConstFaceIterator( halfedge_, StartAtBeginning );
+ return ConstFaceIterator( *halfedge_, StartAtBeginning );
}
template < class TMesh >
typename CommonFaceBase__< TMesh >::ConstFaceIterator
CommonFaceBase__< TMesh >::end_f() const
{
- return ConstFaceIterator( halfedge_, StartAtEnd );
+ return ConstFaceIterator( *halfedge_, StartAtEnd );
}
template < class TMesh >
typename CommonFaceBase__< TMesh >::ConstVertexIterator
CommonFaceBase__< TMesh >::begin_v() const
{
- return ConstVertexIterator( halfedge_, StartAtBeginning );
+ return ConstVertexIterator( *halfedge_, StartAtBeginning );
}
template < class TMesh >
typename CommonFaceBase__< TMesh >::ConstVertexIterator
CommonFaceBase__< TMesh >::end_v() const
{
- return ConstVertexIterator( halfedge_, StartAtEnd );
+ return ConstVertexIterator( *halfedge_, StartAtEnd );
+ }
+
+ template < class TMesh >
+ unsigned int
+ CommonFaceBase__< TMesh >::getNumberOfEdges() const
+ {
+ unsigned int i = 0;
+ CommonFaceBase__< TMesh >::ConstEdgeIterator edgeIt = begin_e();
+ assert(edgeIt != end_e());
+
+ do
+ {
+ i += 1;
+ } while ( ++edgeIt != end_e() );
+
+ return i;
}
template < class TMesh >
CommonFaceBase__< TMesh >::ConstEdgeIterator edgeIt = begin_e();
assert( edgeIt != end_e() );
- while ( *edgeIt != edge && ++edgeIt != end_e() )
+ while ( &(*edgeIt) != &(edge) && ++edgeIt != end_e() )
{
++i;
}
return *(cache.vertices_[ id ]);
}
+
+ template < class TMesh >
+ bool operator==(
+ const CommonFaceBase__< TMesh >& lhs,
+ const CommonFaceBase__< TMesh >& rhs)
+ {
+ using namespace generic;
+ typedef typename TMesh::Vertex Vertex;
+ typedef std::set< const Vertex*, PtrObjectLess<Vertex> > VertexSet;
+
+ VertexSet lhsVertices, rhsVertices;
+ std::for_each( lhs.begin_v(), lhs.end_v(),
+ SetInsertFunctor< VertexSet, Vertex >(&lhsVertices) );
+ std::for_each( rhs.begin_v(), rhs.end_v(),
+ SetInsertFunctor< VertexSet, Vertex >(&rhsVertices) );
+
+ return std::equal( lhsVertices.begin(), lhsVertices.end(),
+ rhsVertices.begin(), PtrObjectEqual< Vertex >() );
+ }
+
+ template < class TMesh >
+ bool operator<(
+ const CommonFaceBase__< TMesh >& lhs,
+ const CommonFaceBase__< TMesh >& rhs)
+ {
+ if ( lhs.getNumberOfEdges() < rhs.getNumberOfEdges() )
+ return true;
+ if ( lhs.getNumberOfEdges() > rhs.getNumberOfEdges() )
+ return false;
+
+ using namespace generic;
+ typedef typename TMesh::Vertex Vertex;
+ typedef std::set< const Vertex*, PtrObjectLess<Vertex> > VertexSet;
+
+ VertexSet lhsVertices, rhsVertices;
+ std::for_each( lhs.begin_v(), lhs.end_v(),
+ SetInsertFunctor< VertexSet, Vertex >(&lhsVertices) );
+ std::for_each( rhs.begin_v(), rhs.end_v(),
+ SetInsertFunctor< VertexSet, Vertex >(&rhsVertices) );
+
+ return std::lexicographical_compare(
+ lhsVertices.begin(), lhsVertices.end(),
+ rhsVertices.begin(), rhsVertices.end(),
+ PtrObjectLess<Vertex>());
+ }
}
#endif
#ifndef HILBERT3D_BOUNDARY_MESH_FLEXIBLEMESH_HPP_GUARD_
#define HILBERT3D_BOUNDARY_MESH_FLEXIBLEMESH_HPP_GUARD_
+#include <loki/EmptyType.h>
+
#include "FaceDispatch.hpp"
#include "Face.hpp"
#include "HalfEdge.hpp"
#include "Vertex.hpp"
#include "Mesh.hpp"
+#include "Marker.hpp"
+#include "RefinementData.hpp"
+
#include "../generic/TypeList.hpp"
#include "face/Triangle_tmpl.hpp"
-#include "face/Parallelogram_tmpl.hpp"
+#include "face/Rectangle_tmpl.hpp"
#include "algorithm/HandleObj.hpp"
#include "algorithm/RefineUniformly.hpp"
+#include "algorithm/RefineAdaptivly.hpp"
namespace boundary_mesh
{
typedef HalfEdgeT< TMesh > HalfEdge;
typedef RFace< TMesh >* IntFace;
typedef RFace< TMesh > Face;
-
typedef face::RTriangle< TMesh > Triangle;
- typedef face::RParallelogram< TMesh > Parallelogram;
- typedef Parallelogram ConvexQuadrilateral;
- typedef Parallelogram Quadrilateral;
+ typedef face::RRectangle< TMesh > Rectangle;
+ typedef Rectangle Parallelogram;
+ typedef Rectangle ConvexQuadrilateral;
+ typedef Rectangle Quadrilateral;
- typedef HILBERT3D_TYPELIST_2( Triangle, Parallelogram ) FaceTypes;
+ typedef HILBERT3D_TYPELIST_2( Triangle, Rectangle ) FaceTypes;
static const unsigned int maximumNumberOfEdgesPerFace = 4;
static const unsigned int maximumNumberOfHangingNodes = 1;
static TMesh (*loadFromObj)( const char* );
static void (*saveAsObj)( const TMesh&, const char* );
static TMesh (*refineUniformly)( const TMesh& );
+ static RefinementData< TMesh, RefinementDataRequest_RequireBoth >
+ (*refineAdaptivly)( const TMesh&, const Marker< TMesh >& );
};
template class Mesh< FlexibleMeshProps, FlexibleMeshAlgorithms >;
typedef Mesh< FlexibleMeshProps, FlexibleMeshAlgorithms > FlexibleMesh;
+ template class RefinementData< FlexibleMesh,
+ RefinementDataRequest_RequireBoth >;
+ typedef RefinementData< FlexibleMesh, RefinementDataRequest_RequireBoth >
+ FlexibleRefinementData;
}
#include "FlexibleMesh_tmpl.cpp"
#include "FlexibleMesh.hpp"
#include "FaceDispatch.hpp"
+#include "Marker_tmpl.cpp"
+#include "RefinementData_tmpl.cpp"
+
+#include "algorithm/RefineAdaptivly_tmpl.cpp"
+
namespace boundary_mesh
{
template < class TMesh >
template < class TMesh >
TMesh (* FlexibleMeshAlgorithms< TMesh >::refineUniformly)(const TMesh& )
= &(algorithm::refineUniformly< TMesh >);
+
+ template < class TMesh >
+ RefinementData< TMesh, RefinementDataRequest_RequireBoth >
+ (* FlexibleMeshAlgorithms< TMesh >::refineAdaptivly)(
+ const TMesh&, const Marker< TMesh >& )
+ = &(algorithm::refineAdaptivly<TMesh, RefinementDataRequest_RequireBoth>);
}
#endif
#ifndef HILBERT3D_BOUNDARY_MESH_HALFEDGE_HPP_GUARD_
#define HILBERT3D_BOUNDARY_MESH_HALFEDGE_HPP_GUARD_
+#include "../generic/Testing.hpp"
+
/**
* @file HalfEdge.hpp
* @brief Declares a half-edge data structure.
* does not make any assumptions on the Face and the Vertex type. The
* type TMesh::HalfEdge must however be equal to the HalfEdgeT< TMesh >
* type when TMesh is the template parameter passed to HalfEdgeT.
- *
- * TODO: Do not use the Mesh class as a friend class. Create a
- * HalfEdgeBuilder class instead. This also requires some changes in the
- * Mesh class.
*/
template < class TMesh >
class HalfEdgeT
{
+ friend class testing::Tester< TMesh >;
template < template <typename> class TProp,
template <typename> class TAlg > friend class Mesh;
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
$(top_srcdir)/m4/ax_boost_base.m4 \
$(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
- $(top_srcdir)/m4/ax_lapack.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
$(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run aclocal-1.11
AMTAR = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run tar
+AM_CXXFLAGS =
+AM_LDFLAGS =
AUTOCONF = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoconf
AUTOHEADER = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoheader
AUTOMAKE = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run automake-1.11
BOOST_ROOT_PATH = /usr
CC = gcc
CCDEPMODE = depmode=gcc3
-CFLAGS = -g -O2
+CFLAGS = -I/usr/local/include
CPP = gcc -E
CPPFLAGS =
CXX = g++
LDFLAGS =
LIBOBJS =
LIBS =
+LOKI_CPPFLAGS = -I/usr/local/include
+LOKI_LDFLAGS = -L/usr/local/lib
+LOKI_ROOT_PATH = /usr/local
LTLIBOBJS =
MAKEINFO = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run makeinfo
MKDIR_P = /bin/mkdir -p
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
$(top_srcdir)/m4/ax_boost_base.m4 \
$(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
- $(top_srcdir)/m4/ax_lapack.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
$(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
+AM_CXXFLAGS = @AM_CXXFLAGS@
+AM_LDFLAGS = @AM_LDFLAGS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
+LOKI_CPPFLAGS = @LOKI_CPPFLAGS@
+LOKI_LDFLAGS = @LOKI_LDFLAGS@
+LOKI_ROOT_PATH = @LOKI_ROOT_PATH@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
#ifndef HILBERT3D_BOUNDARY_MESH_MARKER_HPP_GUARD_
#define HILBERT3D_BOUNDARY_MESH_MARKER_HPP_GUARD_
-#include "Marker_fwd.hpp"
-#include "Marker_tmpl.cpp"
+#include <vector>
+#include "types.hpp"
+#include "FaceDispatch.hpp"
+
+namespace boundary_mesh
+{
+ /**
+ * The Marker class contains state information about a specific Mesh instance.
+ * It stores whether a certain edge is marked with respect to a certain face.
+ * This class was written for and is extensivly used within the adaptive
+ * refinement algorithms. There, we also provide functions to build the
+ * closure of a marking with respect to certain shape regularity constraints.
+ *
+ * In order to follow our design principle of objects being "immutable after
+ * construction", we provide the MarkerBuilder class which exposes methods
+ * to build or instantize a Marker instance step by step.
+ */
+ template < class TMesh >
+ class Marker
+ {
+ template < class,class > friend class MarkerBuilder;
+
+ public:
+ /**
+ * @param marker
+ *
+ * Creates a copy of the given Marker instance.
+ */
+ Marker( const Marker& marker );
+
+ /**
+ * @param face This is a face, which is contained within the Mesh
+ * instance this Marker instance was created for.
+ * @param edge This is a half-edge, which is contained within the Mesh
+ * instance this Marker instance was created for.
+ *
+ * TODO: Error handling? At the moment:
+ * The method fails and terminates the program if either face or edge
+ * are not within the Mesh instance, this Marker instance was created for,
+ * if compiled wihtout the NDEBUG flag. Otherwise, behaviour is undefined.
+ *
+ * @returns Whether the given half-edge is marked with respect to the
+ * given face.
+ */
+ bool isMarked( const typename TMesh::Face& face,
+ const typename TMesh::HalfEdge& edge) const;
+
+ /**
+ * @param face A face which is contained within the Mesh instance this
+ * marker is created for.
+ *
+ * TODO: Error handling? At the moment:
+ * The method fails and terminates the program if either face or edge
+ * are not within the Mesh instance, this Marker instance was created for,
+ * if compiled wihtout the NDEBUG flag. Otherwise, behaviour is undefined.
+ *
+ * @returns The number of edges that are marked with respect to this
+ * face.
+ */
+ unsigned int getNumberOfMarkedEdges(
+ const typename TMesh::Face& face ) const;
+
+ private:
+ const TMesh& mesh_;
+ std::vector< bool > marked_;
+
+ /**
+ * @param mesh
+ *
+ * Creates and initializes a Marker instance which has enough space to
+ * mark any number of edges.
+ */
+ Marker( const TMesh& mesh );
+
+ /**
+ * @param face This is a face, which is contained within the Mesh
+ * instance this Marker instance was created for.
+ * @param edge This is a half-edge, which is contained within the Mesh
+ * instance this Marker instance was created for.
+ *
+ * TODO: Error handling? At the moment:
+ * The method fails and terminates the program if either face or edge
+ * are not within the Mesh instance, this Marker instance was created for,
+ * if compiled wihtout the NDEBUG flag. Otherwise, behaviour is undefined.
+ *
+ * This method marks the given edge with respect to the given face.
+ * Subsequent class to the method isMarked with the same face and the same
+ * edge will return true.
+ */
+ void mark( const typename TMesh::Face& face,
+ const typename TMesh::HalfEdge& edge);
+
+ /**
+ * @param face This is a face, which is contained within the Mesh
+ * instance this Marker instance was created for.
+ * @param edge This is a half-edge, which is contained within the Mesh
+ * instance this Marker instance was created for.
+ *
+ * TODO: Error handling? At the moment:
+ * The method fails and terminates the program if either face or edge
+ * are not within the Mesh instance, this Marker instance was created for,
+ * if compiled wihtout the NDEBUG flag. Otherwise, behaviour is undefined.
+ *
+ * @returns The index of the given face/edge combination with respect to
+ * the boolean vector, the marker flags are stored within.
+ */
+ geoid_t getIndex( const typename TMesh::Face& face,
+ const typename TMesh::HalfEdge& edge) const;
+ };
+
+ namespace priv
+ {
+ template < class TMesh >
+ class FaceClosureDefaultPolicy__;
+ }
+
+ template < class TMesh, class FaceClosurePolicy > class MarkerBuilder;
+
+ template < class TMesh, class FaceClosurePolicy =
+ priv::FaceClosureDefaultPolicy__<TMesh> >
+ class MarkerBuilder
+ {
+ public:
+ /**
+ * @param mesh
+ *
+ * Creates a new MeshBuilder instance with respect to the given Mesh
+ * instance.
+ */
+ MarkerBuilder( const TMesh& mesh,
+ unsigned int maximumNumberOfHangingNodes = 0 );
+
+ /**
+ * @param marker
+ *
+ * Create a new MeshBuilder instance with respect to the same Mesh
+ * instance the given Marker instance refers to. Also marks all the
+ * face/edge combinations, which are marked within the given Marker
+ * instance.
+ */
+ MarkerBuilder( const Marker< TMesh >& marker );
+
+ /**
+ * @param face This is a face, which is contained within the Mesh
+ * instance this Marker instance was created for.
+ * @param edge This is a half-edge, which is contained within the Mesh
+ * instance this Marker instance was created for.
+ *
+ * Marks the given face/edge combination within the Marker instance.
+ */
+ void mark( const typename TMesh::Face& face,
+ const typename TMesh::HalfEdge& edge );
+
+ bool isMarked( const typename TMesh::Face& face,
+ const typename TMesh::HalfEdge& edge );
+
+ /**
+ * @returns Delivers the Marker instance that is built by this class.
+ */
+ Marker< TMesh > deliver( unsigned int maximumNumberOfHangingNodes );
+ Marker< TMesh > deliver();
+
+ private:
+ /**
+ * @param maximumNumberOfHangingNodes The maximum number of hanging nodes
+ * that is allowed within a given mesh.
+ *
+ * This function computes the closure of the marking, i.e. it ensures the
+ * following conditions:
+ *
+ * For triangles:
+ * If some edge is marked within the triangle, the longest edge is
+ * marked as well.
+ *
+ * Between faces:
+ * If two faces F1, F2 have a common edge E and E is marked with
+ * respect F1 and bisecting E would result in more than
+ * maximumNumberOfHangingNodes hanging nodes, the edge E is also
+ * marked with respect to the face F2.
+ *
+ * @returns A new Marker instance that satisfies the constraints
+ * mentioned above.
+ */
+ void createClosure(
+ unsigned int maximumNumberOfHangingNodes );
+
+ void closeFace( const typename TMesh::Face&,
+ unsigned int maximumNumberOfHangingNodes );
+
+ Marker< TMesh > marker_;
+ std::vector< bool > closedFaces_;
+ unsigned int maximumNumberOfHangingNodes_;
+ };
+
+#if 0
+ namespace priv
+ {
+ template < class TMesh >
+ class FaceClosureDefaultPolicy__
+ {
+ typedef MarkerBuilder< TMesh, FaceClosureDefaultPolicy__<TMesh> >
+ MarkerBuilderClass;
+ HILBERT3D_DISPATCH_PARAMETERS_2(
+ FaceClosureDefaultPolicy__,
+ const Marker< TMesh >&, marker_,
+ MarkerBuilderClass*, builder_);
+
+ public:
+ bool exec( const typename TMesh::Prop::Triangle& face );
+ bool exec( const typename TMesh::Face& face );
+ };
+ }
+#endif
+}
#endif
+++ /dev/null
-#ifndef HILBERT3D_BOUNDARY_MESH_MARKER_FWD_HPP_GUARD_
-#define HILBERT3D_BOUNDARY_MESH_MARKER_FWD_HPP_GUARD_
-
-#include <vector>
-
-namespace boundary_mesh
-{
- /**
- * The Marker class contains state information about a specific Mesh instance.
- * It stores whether a certain edge is marked with respect to a certain face.
- * This class was written for and is extensivly used within the adaptive
- * refinement algorithms. There, we also provide functions to build the
- * closure of a marking with respect to certain shape regularity constraints.
- *
- * In order to follow our design principle of objects being "immutable after
- * construction", we provide the MarkerBuilder class which exposes methods
- * to build or instantize a Marker instance step by step.
- */
- template < class TMesh >
- class Marker
- {
- template <typename> friend class MarkerBuilder; // MK changed this: XXX: why do i have to write typename, and not class TMesh?
-
- public:
- /**
- * @param face This is a face, which is contained within the Mesh
- * instance this Marker instance was created for.
- * @param edge This is a half-edge, which is contained within the Mesh
- * instance this Marker instance was created for.
- *
- * TODO: Error handling? At the moment:
- * The method fails and terminates the program if either face or edge
- * are not within the Mesh instance, this Marker instance was created for,
- * if compiled wihtout the NDEBUG flag. Otherwise, behaviour is undefined.
- *
- * @returns Whether the given half-edge is marked with respect to the
- * given face.
- */
- bool isMarked( const typename TMesh::Face& face,
- const typename TMesh::HalfEdge& edge) const;
-
- private:
- const TMesh& mesh_;
- std::vector< bool > marked_;
-
- /**
- * @param mesh
- *
- * Creates and initializes a Marker instance which has enough space to
- * mark any number of edges.
- */
- Marker( const TMesh& mesh );
-
- /**
- * @param marker
- *
- * Creates a copy of the given Marker instance.
- */
- Marker( const Marker& marker );
-
- /**
- * @param face This is a face, which is contained within the Mesh
- * instance this Marker instance was created for.
- * @param edge This is a half-edge, which is contained within the Mesh
- * instance this Marker instance was created for.
- *
- * TODO: Error handling? At the moment:
- * The method fails and terminates the program if either face or edge
- * are not within the Mesh instance, this Marker instance was created for,
- * if compiled wihtout the NDEBUG flag. Otherwise, behaviour is undefined.
- *
- * This method marks the given edge with respect to the given face.
- * Subsequent class to the method isMarked with the same face and the same
- * edge will return true.
- */
- void mark( const typename TMesh::Face& face,
- const typename TMesh::HalfEdge& edge);
-
- /**
- * @param face This is a face, which is contained within the Mesh
- * instance this Marker instance was created for.
- * @param edge This is a half-edge, which is contained within the Mesh
- * instance this Marker instance was created for.
- *
- * TODO: Error handling? At the moment:
- * The method fails and terminates the program if either face or edge
- * are not within the Mesh instance, this Marker instance was created for,
- * if compiled wihtout the NDEBUG flag. Otherwise, behaviour is undefined.
- *
- * @returns The index of the given face/edge combination with respect to
- * the boolean vector, the marker flags are stored within.
- */
- geoid_t getIndex( const typename TMesh::Face& face,
- const typename TMesh::HalfEdge& edge) const;
- };
-
- /**
- * TODO: Write documentation for MarkerBuilder class.
- */
- template < class TMesh >
- class MarkerBuilder
- {
- public:
- /**
- * @param mesh
- *
- * Creates a new MeshBuilder instance with respect to the given Mesh
- * instance.
- */
- MarkerBuilder( const TMesh& mesh );
-
- /**
- * @param marker
- *
- * Create a new MeshBuilder instance with respect to the same Mesh
- * instance the given Marker instance refers to. Also marks all the
- * face/edge combinations, which are marked within the given Marker
- * instance.
- */
- MarkerBuilder( const Marker< TMesh >& marker );
-
- /**
- * @param face This is a face, which is contained within the Mesh
- * instance this Marker instance was created for.
- * @param edge This is a half-edge, which is contained within the Mesh
- * instance this Marker instance was created for.
- *
- * Marks the given face/edge combination within the Marker instance.
- */
- void mark( const typename TMesh::Face& face,
- const typename TMesh::HalfEdge& edge );
-
- /**
- * @returns Delivers the Marker instance that is built by this class.
- */
- Marker< TMesh > deliver();
-
- private:
- Marker< TMesh > marker_;
- };
-}
-
-#endif
-
-#include "Marker_fwd.hpp"
+#ifndef HILBERT3D_BOUNDARY_MESH_MARKER_TMPL_CPP_GUARD_
+#define HILBERT3D_BOUNDARY_MESH_MARKER_TMPL_CPP_GUARD_
+
+#include "Marker_tmpl.hpp"
#include <cassert>
namespace boundary_mesh
return marked_[ idx ];
}
+ template < class TMesh >
+ unsigned int
+ Marker< TMesh >::getNumberOfMarkedEdges(
+ const typename TMesh::Face& face) const
+ {
+ unsigned int markedEdges = 0;
+ for (typename TMesh::Face::ConstEdgeIterator edgeIt = face.begin_e();
+ edgeIt != face.end_e(); ++edgeIt)
+ {
+ if ( isMarked(face, *edgeIt) == true )
+ {
+ markedEdges += 1;
+ }
+ }
+
+ return markedEdges;
+ }
+
template < class TMesh >
Marker< TMesh >::Marker( const TMesh& mesh )
: mesh_(mesh),
+ face.getLocalEdgeId( edge );
}
- template < class TMesh >
- MarkerBuilder< TMesh >::MarkerBuilder( const TMesh& mesh )
- : marker_( Marker< TMesh >(mesh) )
+ template < class TMesh, class FaceClosurePolicy >
+ MarkerBuilder< TMesh, FaceClosurePolicy >::MarkerBuilder(
+ const TMesh& mesh, unsigned int maximumNumberOfHangingNodes )
+ : marker_( Marker< TMesh >(mesh) ),
+ closedFaces_( std::vector< bool >(mesh.getNumberOfFaces(), false) ),
+ maximumNumberOfHangingNodes_( maximumNumberOfHangingNodes )
{}
- template < class TMesh >
- MarkerBuilder< TMesh >::MarkerBuilder( const Marker< TMesh >& marker )
- : marker_( marker )
+ template < class TMesh, class FaceClosurePolicy >
+ MarkerBuilder< TMesh, FaceClosurePolicy >::MarkerBuilder(
+ const Marker< TMesh >& marker )
+ : marker_( marker ),
+ closedFaces_( std::vector< bool >(
+ marker.mesh_.getNumberOfFaces(), false) )
{}
- template < class TMesh >
+ template < class TMesh, class FaceClosurePolicy >
void
- MarkerBuilder< TMesh >::mark( const typename TMesh::Face& face,
+ MarkerBuilder< TMesh, FaceClosurePolicy >::mark(
+ const typename TMesh::Face& face,
const typename TMesh::HalfEdge& edge )
{
marker_.mark( face, edge );
}
- template < class TMesh >
+ template < class TMesh, class FaceClosurePolicy >
+ bool
+ MarkerBuilder< TMesh, FaceClosurePolicy >::isMarked(
+ const typename TMesh::Face& face,
+ const typename TMesh::HalfEdge& edge )
+ {
+ return marker_.isMarked( face, edge );
+ }
+
+ template < class TMesh, class FaceClosurePolicy >
Marker< TMesh >
- MarkerBuilder< TMesh >::deliver()
+ MarkerBuilder< TMesh, FaceClosurePolicy >::deliver(
+ unsigned int maximumNumberOfHangingNodes )
{
+ createClosure( maximumNumberOfHangingNodes );
return marker_;
}
+
+ template < class TMesh, class FaceClosurePolicy >
+ Marker< TMesh >
+ MarkerBuilder< TMesh, FaceClosurePolicy >::deliver()
+ {
+ createClosure( maximumNumberOfHangingNodes_ );
+ return marker_;
+ }
+
+ template < class TMesh, class FaceClosurePolicy >
+ void
+ MarkerBuilder< TMesh, FaceClosurePolicy >::createClosure(
+ unsigned int maximumNumberOfHangingNodes)
+ {
+ typedef SingleFaceDispatcher< FaceClosurePolicy, TMesh, bool >
+ CreateClosureForSpecificFace;
+
+ typename CreateClosureForSpecificFace::PARAM param( marker_, this );
+
+ for (typename TMesh::ConstFaceIterator
+ faceIt = marker_.mesh_.begin_f();
+ faceIt != marker_.mesh_.end_f(); ++faceIt)
+ {
+ if ( CreateClosureForSpecificFace::Exec( *faceIt, param ) == true )
+ { // CreateClosureForSpecificFace marked at least one edge:
+ // As a result, we need to check if we added too many hanging
+ // nodes to this face.
+ for (typename TMesh::Face::ConstFaceIterator neighbourIt =
+ faceIt->begin_f(); neighbourIt != faceIt->end_f(); ++neighbourIt)
+ {
+ if ( closedFaces_[marker_.mesh_.getFaceId( *neighbourIt )] == true )
+ {
+ closeFace( *neighbourIt, maximumNumberOfHangingNodes );
+ }
+ }
+ }
+
+ closeFace( *faceIt, maximumNumberOfHangingNodes );
+ }
+ }
+
+ template < class TMesh, class FaceClosurePolicy >
+ void
+ MarkerBuilder< TMesh, FaceClosurePolicy >::closeFace(
+ const typename TMesh::Face& face,
+ unsigned int maximumNumberOfHangingNodes )
+ {
+ for (typename TMesh::Face::ConstEdgeIterator edgeIt = face.begin_e();
+ edgeIt != face.end_e(); ++edgeIt)
+ {
+ if ( edgeIt->getOppositeEdge() != 0 )
+ {
+ unsigned int numberOfOppositeHangingNodes = 0;
+ const typename TMesh::HalfEdge* currentOppositeEdge =
+ edgeIt->getOppositeEdge();
+
+ do {
+ numberOfOppositeHangingNodes += 1;
+ if (marker_.isMarked( face, *edgeIt ))
+ {
+ numberOfOppositeHangingNodes += 1;
+ }
+ } while ((currentOppositeEdge =
+ currentOppositeEdge->getHangingEdge()) != 0);
+
+ numberOfOppositeHangingNodes -= 1;
+
+ if ( numberOfOppositeHangingNodes > maximumNumberOfHangingNodes )
+ {
+ mark( face, *edgeIt );
+ }
+ }
+ }
+
+ closedFaces_[ marker_.mesh_.getFaceId(face) ] = true;
+ }
+
+ namespace priv
+ {
+ template < class TMesh >
+ class FaceClosureDefaultPolicy__
+ {
+ typedef MarkerBuilder< TMesh, FaceClosureDefaultPolicy__<TMesh> >
+ MarkerBuilderClass;
+
+ HILBERT3D_DISPATCH_PARAMETERS_2(
+ FaceClosureDefaultPolicy__, bool,
+ const Marker< TMesh >&, marker_,
+ MarkerBuilderClass*, builder_);
+
+ HILBERT3D_SINGLE_DISPATCH_IMPLEMENTATION_FOR( TMesh::Prop::Triangle )
+ {
+ if ( builder_->isMarked(face, *(face.begin_e())) == false )
+ {
+ for (typename TMesh::Face::ConstEdgeIterator
+ edgeIt = face.begin_e(); edgeIt != face.end_e(); ++edgeIt)
+ {
+ if ( builder_->isMarked(face, *edgeIt) == true )
+ {
+ builder_->mark(face, *(face.begin_e()));
+ return true;
+ }
+ }
+ }
+ return false;
+ }
+
+ HILBERT3D_SINGLE_DISPATCH_IMPLEMENTATION_FOR( TMesh::Face )
+ {
+ return false;
+ }
+ };
+
+#if 0
+ bool
+ FaceClosureDefaultPolicy__< TMesh >::exec(
+ const typename TMesh::Prop::Triangle& face )
+ {
+ if ( builder_->isMarked(face, *(face.begin_e())) == false )
+ {
+ for (typename TMesh::Face::ConstEdgeIterator
+ edgeIt = face.begin_e(); edgeIt != face.end_e(); ++edgeIt)
+ {
+ if ( builder_->isMarked(face, *edgeIt) == true )
+ {
+ builder_->mark(face, *(face.begin_e()));
+ return true;
+ }
+ }
+ }
+ return false;
+ }
+
+ template < class TMesh >
+ bool
+ FaceClosureDefaultPolicy__< TMesh >::exec(
+ const typename TMesh::Face& face )
+ {
+ return false;
+ }
+#endif
+ }
}
+#endif
+
--- /dev/null
+#ifndef HILBERT3D_BOUNDARY_MESH_MARKER_TMPL_HPP_GUARD_
+#define HILBERT3D_BOUNDARY_MESH_MARKER_TMPL_HPP_GUARD_
+
+#include "Marker.hpp"
+#include "Marker_tmpl.cpp"
+
+#endif
+
#include <vector>
#include "exception/NoMatchingFaceType_tmpl.hpp"
+#include "../generic/PtrCompare.hpp"
namespace boundary_mesh {
: numberOfFaces(0), numberOfVertices(0), numberOfHalfEdges(0),
reference_counter(1)
{}
- ~data()
+ template < class TMesh >
+ typename boost::enable_if<
+ boost::is_pointer< typename TMesh::IntFace >, void >::type
+ cleanFaceTypeSpecificData()
{
- if ( boost::is_pointer< typename Mesh::IntFace >() )
+ for (typename std::vector< typename Mesh::IntFace >::iterator
+ it = face.begin(); it != face.end(); ++it)
{
- for (typename std::vector< typename Mesh::IntFace >::iterator
- it = face.begin(); it != face.end(); ++it)
- {
- delete *it;
- }
+ delete *it;
}
}
+ template < class TMesh >
+ typename boost::disable_if<
+ boost::is_pointer< typename TMesh::IntFace >, void >::type
+ cleanFaceTypeSpecificData()
+ {
+ }
+ ~data()
+ {
+ cleanFaceTypeSpecificData< Mesh< TProp,TAlg > >();
+ }
+
typename std::vector< typename Mesh::Vertex > vertex;
typename std::vector< typename Mesh::IntFace > face;
unsigned int reference_counter;
};
-template < template < typename > class TProp, template < typename > class TAlg >
-bool Mesh< TProp, TAlg >::initialized_ = false;
-
template < template < typename > class TProp, template < typename > class TAlg >
Mesh< TProp, TAlg >::Mesh(const Mesh< TProp, TAlg >& copy)
: d(copy.d)
Mesh< TProp, TAlg >::Mesh( const Size& sizeInfo )
: d(new Mesh< TProp, TAlg >::data())
{
- initialize();
d->vertex.reserve( sizeInfo.vertices );
d->face.reserve( sizeInfo.faces );
d->edge.reserve( sizeInfo.edges );
}
template < template < typename > class TProp, template < typename > class TAlg >
-unsigned int
+const typename Mesh< TProp, TAlg >::Vertex&
Mesh< TProp, TAlg >::addVertex(const typename Mesh::UVertex& v)
{
assert(d->vertex.capacity() > d->numberOfVertices);
- d->vertex.push_back(Vertex(v));
- return d->numberOfVertices++;
+ d->numberOfVertices += 1;
+ d->vertex.push_back(Mesh::Vertex(v));
+ const Mesh::Vertex& createdVertex = d->vertex.back();
+ return createdVertex;
}
template < template < typename > class TProp, template < typename > class TAlg >
const typename Mesh< TProp, TAlg >::Face&
-Mesh< TProp, TAlg >::addFace( std::vector< geoid_t > vertexIds )
+Mesh< TProp, TAlg >::addFace(
+ const typename std::vector< const typename Mesh::Vertex* >& protoVertices )
{
- unsigned int numberOfVertices = vertexIds.size();
- assert( numberOfVertices >= 3 );
- std::vector< const typename Mesh::Vertex* > vertices;
- vertices.reserve( vertexIds.size() );
+ typename std::vector< typename Mesh::Vertex* > vertices(protoVertices.size());
+ unsigned int numberOfVertices = vertices.size();
+ assert( vertices.size() >= 3 );
+
+ for ( unsigned int i = 0; i < vertices.size(); ++i)
+ {
+ vertices[i] = &(d->vertex[ getVertexId(*(protoVertices[i])) ]);
+ }
// Create all half-edges and store them within the d->edge vector.
// Also determine the longest half-edge and assign a half-edge to each vertex.
for (unsigned int i = 0; i < numberOfVertices; ++i)
{
- typename Mesh::Vertex& startVertex = d->vertex[ vertexIds[ i ] ];
- typename Mesh::Vertex& endVertex =
- d->vertex[ vertexIds[ (i+1) % numberOfVertices ] ];
- vertices.push_back( &startVertex );
+ typename Mesh::Vertex& startVertex = *(vertices[ i ]);
+ typename Mesh::Vertex& endVertex = *(vertices[ (i+1) % numberOfVertices ]);
- d->edge.push_back( Mesh::HalfEdge( startVertex, endVertex ) );
+ d->edge.push_back( Mesh::HalfEdge(startVertex, endVertex) );
typename Mesh::HalfEdge& currentHalfEdge = d->edge.back();
double currentHalfEdgeLength =
(currentHalfEdge.getEndVertex() -
// Create the face by using the mesh's face-factory which does the
// type checking magic.
// The reference edge of the face is set to the longest half-edge:
+ assert( longestHalfEdge != 0 );
typename Mesh< TProp, TAlg >::Face& currentFace =
Mesh< TProp, TAlg >::factorizeFace< Mesh< TProp, TAlg >::FaceTypes >(
- vertices, longestHalfEdge );
+ protoVertices, longestHalfEdge );
+
+ Mesh::HalfEdge* nextHalfEdge = longestHalfEdge;
+ assert( nextHalfEdge != 0 );
+ do
+ {
+ nextHalfEdge->setFace( currentFace );
+ assert( nextHalfEdge->getNextEdge() != 0 );
+ nextHalfEdge = nextHalfEdge->getNextEdge();
+ } while (nextHalfEdge != longestHalfEdge);
// Modify the counters for the number of faces and half-edges:
return currentFace;
unsigned int
Mesh< TProp, TAlg >::getVertexId(const typename Mesh::Vertex& v) const
{
- assert( d->edge.size() > 0 );
+ assert( d->vertex.size() > 0 );
long offset = static_cast<long>(&v - &(d->vertex.front()));
assert(offset >= 0 && offset < d->numberOfVertices);
return offset;
}
template < template < typename > class TProp, template < typename > class TAlg >
-unsigned int
+geoid_t
Mesh< TProp, TAlg >::getFaceId(const typename Mesh::Face& f) const
+{
+ return getFaceIdImpl< Mesh >(f);
+}
+
+template < template < typename > class TProp, template < typename > class TAlg >
+template < class TMesh >
+typename boost::enable_if<
+ boost::is_pointer< typename TMesh::IntFace >, geoid_t >::type
+Mesh< TProp, TAlg >::getFaceIdImpl(const typename Mesh::Face& f) const
{
return f.getId();
}
+template < template < typename > class TProp, template < typename > class TAlg >
+template < class TMesh >
+typename boost::disable_if<
+ boost::is_pointer< typename TMesh::IntFace >, geoid_t >::type
+Mesh< TProp, TAlg >::getFaceIdImpl(const typename Mesh::Face& f) const
+{
+ assert( d->face.size() > 0 );
+ long offset = static_cast<long>(&f - &(d->face.front()));
+ assert(offset >= 0 && offset < d->numberOfFaces);
+ return offset;
+}
+
+template < template < typename > class TProp, template < typename > class TAlg >
+bool
+Mesh< TProp, TAlg >::operator==(const Mesh& rhs) const
+{
+ using namespace generic;
+
+ const Mesh& lhs = *this;
+
+ typedef std::set< const Vertex*, PtrObjectLess<Vertex> > VertexSet;
+ typedef std::set< const Face*, PtrObjectLess<Face> > FaceSet;
+
+ VertexSet lhsVertices, rhsVertices;
+ std::for_each( lhs.begin_v(), lhs.end_v(),
+ SetInsertFunctor< VertexSet, Vertex >(&lhsVertices) );
+ std::for_each( rhs.begin_v(), rhs.end_v(),
+ SetInsertFunctor< VertexSet, Vertex >(&rhsVertices) );
+
+ if (std::equal(lhsVertices.begin(), lhsVertices.end(),
+ rhsVertices.begin(), PtrObjectEqual< Vertex >()) == false)
+ {
+ return false;
+ }
+
+ FaceSet lhsFaces, rhsFaces;
+ std::for_each( lhs.begin_f(), lhs.end_f(),
+ SetInsertFunctor< FaceSet, Face >(&lhsFaces));
+ std::for_each( rhs.begin_f(), rhs.end_f(),
+ SetInsertFunctor< FaceSet, Face >(&rhsFaces));
+
+ return std::equal(lhsFaces.begin(), lhsFaces.end(),
+ rhsFaces.begin(), PtrObjectEqual< Face >());
+}
template < template < typename > class TProp, template < typename > class TAlg >
Mesh< TProp, TAlg >::ConstFaceIterator::ConstFaceIterator(
: vectorIterator_(iterator)
{}
-
template < template < typename > class TProp, template < typename > class TAlg >
Mesh< TProp, TAlg >::ConstFaceIterator::ConstFaceIterator(
const ConstFaceIterator& copy)
: vectorIterator_( copy.vectorIterator_ )
{}
-
template < template < typename > class TProp, template < typename > class TAlg >
bool
Mesh< TProp, TAlg >::ConstFaceIterator::operator==(
}
template < template < typename > class TProp, template < typename > class TAlg >
-const typename Mesh< TProp, TAlg >::Face&
-Mesh< TProp, TAlg >::ConstFaceIterator::operator*() const
+template < class TMesh >
+typename boost::enable_if< boost::is_pointer< typename TMesh::IntFace >,
+ const typename Mesh< TProp, TAlg >::Face& >::type
+Mesh< TProp, TAlg >::ConstFaceIterator::starOperatorImpl() const
{
- // XXX: The case that IntFace is not a pointer is missing:
return **vectorIterator_;
}
template < template < typename > class TProp, template < typename > class TAlg >
-const typename Mesh< TProp, TAlg >::Face*
-Mesh< TProp, TAlg >::ConstFaceIterator::operator->() const
+template < class TMesh >
+typename boost::disable_if< boost::is_pointer< typename TMesh::IntFace >,
+const typename Mesh< TProp, TAlg >::Face& >::type
+Mesh< TProp, TAlg >::ConstFaceIterator::starOperatorImpl() const
{
- // XXX: The case that IntFace is not a pointer is missing:
return *vectorIterator_;
}
template < template < typename > class TProp, template < typename > class TAlg >
-void Mesh< TProp, TAlg >::initialize()
+const typename Mesh< TProp, TAlg >::Face&
+Mesh< TProp, TAlg >::ConstFaceIterator::operator*() const
{
- if ( initialized_ == false )
- {
- initialized_ = true;
- }
+ return starOperatorImpl< Mesh >();;
}
+template < template < typename > class TProp, template < typename > class TAlg >
+const typename Mesh< TProp, TAlg >::Face*
+Mesh< TProp, TAlg >::ConstFaceIterator::operator->() const
+{
+ return &(starOperatorImpl< Mesh >());
+}
}
#endif
const typename Mesh::Face * operator->() const;
private:
+ template < class TMesh >
+ typename boost::enable_if< boost::is_pointer< typename TMesh::IntFace >,
+ const typename Mesh< TProp, TAlg >::Face& >::type
+ starOperatorImpl() const;
+
+ template < class TMesh >
+ typename boost::disable_if< boost::is_pointer< typename TMesh::IntFace >,
+ const typename Mesh< TProp, TAlg >::Face& >::type
+ starOperatorImpl() const;
+
typename std::vector< typename Mesh::IntFace >::const_iterator
vectorIterator_;
};
+ Mesh();
+
/**
* @fn Mesh(const Mesh& copy)
*
*/
Size getSize() const;
+ /**
+ * @fn bool operator==(const TMesh& rhs) const
+ * @brief Compares two meshes for equality.
+ *
+ * This method performs an expensive, but thourough check to determine
+ * whether two meshes are equal. Two meshes are considered equal if they
+ * contain the same vertices and faces but not necessarily in the same
+ * order.
+ *
+ * This is an O(N*log(N)) operation where N is the maximum of the number
+ * of vertices and the number of faces. Its used mostly for testing.
+ */
+ bool operator==(const Mesh& rhs) const;
+
private:
// The following part of the interface is only used by the
// MeshBuilder class. The MeshBuilder class is the only way
// to construct Mesh instances.
- Mesh();
Mesh( const Size& sizeInfo );
- geoid_t addVertex(const typename Mesh::UVertex& v);
+ const typename Mesh::Vertex&
+ addVertex(const typename Mesh::UVertex& v);
+
const typename Mesh::Face& addFace(
- std::vector< geoid_t > vertexIds );
+ const typename std::vector< const typename Mesh::Vertex* >& vertices);
+
void buildMetaData( void );
// The following methods' main purpose is to abstract the actual
typename TMesh::Face& >::type
getFaceRefById( geoid_t faceId ) const;
+ template < class TMesh >
+ typename boost::enable_if<
+ boost::is_pointer< typename TMesh::IntFace >, geoid_t >::type
+ getFaceIdImpl(const typename Mesh::Face& f) const;
+
+ template < class TMesh >
+ typename boost::disable_if<
+ boost::is_pointer< typename TMesh::IntFace >, geoid_t >::type
+ getFaceIdImpl(const typename Mesh::Face& f) const;
+
// For various reasons this class uses the Pimpl idiom.
struct data;
data* d;
-
- static void initialize();
- static bool initialized_;
};
}
#define HILBERT3D_BOUNDARY_MESH_MESH_BUILDER_HPP_GUARD_
#include "types.hpp"
-#include "Mesh.hpp"
+#include <vector>
namespace boundary_mesh
{
{
public:
MeshBuilder( const typename TMesh::Size& size );
- geoid_t addVertex( const typename TMesh::UVertex& v );
- const typename TMesh::Face& addFace( std::vector< geoid_t > vertexIds );
+ const typename TMesh::Vertex& addVertex(
+ const typename TMesh::UVertex& v );
+ const typename TMesh::Face& addFace(
+ const typename std::vector< const typename TMesh::Vertex* >& vertices);
+ unsigned int getFaceId( const typename TMesh::Face& face ) const;
TMesh deliver();
private:
MeshBuilder< TMesh >::MeshBuilder( const typename TMesh::Size& size )
: mesh_( size )
{
- TMesh::initialize();
}
template < class TMesh >
- geoid_t
+ const typename TMesh::Vertex&
MeshBuilder< TMesh >::addVertex( const typename TMesh::UVertex& v )
{
return mesh_.addVertex( v );
template < class TMesh >
const typename TMesh::Face&
- MeshBuilder< TMesh >::addFace( std::vector< geoid_t > vertexIds )
+ MeshBuilder< TMesh >::addFace(
+ const typename std::vector< const typename TMesh::Vertex* >& vertices )
{
- return mesh_.addFace( vertexIds );
+ return mesh_.addFace( vertices );
+ }
+
+ template < class TMesh >
+ unsigned int
+ MeshBuilder< TMesh >::getFaceId( const typename TMesh::Face& face ) const
+ {
+ return mesh_.getFaceId( face );
}
template < class TMesh >
--- /dev/null
+#ifndef BOUNDARY_MESH_REFINEMENTDATA_HPP_GUARD_
+#define BOUNDARY_MESH_REFINEMENTDATA_HPP_GUARD_
+
+#include "MeshBuilder.hpp"
+
+#include <list>
+#include <vector>
+#include <boost/utility/enable_if.hpp>
+
+namespace boundary_mesh {
+ enum RefinementDataRequest
+ {
+ RefinementDataRequest_RequireNone = 0,
+ RefinementDataRequest_RequireFather2Son = 1,
+ RefinementDataRequest_RequireSon2Father = 2,
+ RefinementDataRequest_RequireBoth = 3,
+ };
+
+ typedef enum RefinementDataRequest RefinementDataRequest;
+
+ template < class TMesh >
+ class Father2Son
+ {
+ template <class,RefinementDataRequest> friend class RefinementDataBuilder;
+ template <class,RefinementDataRequest> friend class RefinementData;
+
+ public:
+ class ConstFaceIterator
+ : public std::list<
+ const typename TMesh::Face* >::const_iterator
+ {
+ public:
+ ConstFaceIterator( const typename std::list<
+ const typename TMesh::Face* >::const_iterator& copy );
+ const typename TMesh::Face& operator*() const;
+ const typename TMesh::Face* operator->() const;
+ };
+
+ ~Father2Son();
+ ConstFaceIterator begin(const typename TMesh::Face& face) const;
+ ConstFaceIterator end(const typename TMesh::Face& face) const;
+
+ private:
+ // It is forbidden to create an empty Father2Son container or to
+ // copy it using either the copy constructor or the assignement operator.
+ // To detect these errors early, the methods are declared here but not
+ // defined anywhere:
+ Father2Son();
+ Father2Son< TMesh >& operator=(const Father2Son< TMesh >&);
+ Father2Son(const Father2Son< TMesh >&);
+
+ Father2Son(const TMesh& fatherMesh);
+ void addRelation( unsigned int fatherId,
+ const typename TMesh::Face& son );
+
+ const TMesh& fatherMesh_;
+ std::vector< std::list< const typename TMesh::Face* > >
+ relations_;
+ unsigned int referenceCounter_;
+ };
+
+ template < class TMesh >
+ class Son2Father
+ {
+ template <class,RefinementDataRequest> friend class RefinementDataBuilder;
+ template <class,RefinementDataRequest> friend class RefinementData;
+
+ public:
+ ~Son2Father();
+ const typename TMesh::Face&
+ getFather( const typename TMesh::Face& son ) const;
+
+ private:
+ // It is forbidden to create an empty Son2Father container or to
+ // copy it using either the copy constructor or the assignement operator.
+ // To detect these errors early, the methods are declared here but not
+ // defined anywhere:
+ Son2Father();
+ Son2Father< TMesh >& operator=(const Son2Father< TMesh >&);
+ Son2Father(const Son2Father< TMesh >&);
+
+ Son2Father(unsigned int sonFaces);
+ void addRelation( const typename TMesh::Face& father,
+ unsigned int sonId );
+
+ const TMesh* sonMesh_;
+ std::vector< const typename TMesh::Face* > relations_;
+ unsigned int referenceCounter_;
+ };
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ class RefinementData
+ {
+ template <class,RefinementDataRequest> friend class RefinementDataBuilder;
+
+ public:
+ RefinementData( const RefinementData& rhs );
+ RefinementData& operator=( const RefinementData& rhs );
+ ~RefinementData();
+
+ const TMesh& getFatherMesh() const;
+ const TMesh& getSonMesh() const;
+
+ typename boost::enable_if_c<
+ (refDataReq & RefinementDataRequest_RequireFather2Son) != 0,
+ const Father2Son< TMesh >& >::type
+ father2son() const;
+
+ typename boost::enable_if_c<
+ (refDataReq & RefinementDataRequest_RequireSon2Father) != 0,
+ const Son2Father< TMesh >& >::type
+ son2father() const;
+
+ operator TMesh() const;
+
+ private:
+ RefinementData( const TMesh& fatherMesh_ );
+
+ TMesh fatherMesh_;
+ TMesh sonMesh_;
+ Father2Son< TMesh >* father2son_;
+ Son2Father< TMesh >* son2father_;
+ };
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ class RefinementDataBuilder
+ {
+ public:
+ RefinementDataBuilder( const TMesh& father,
+ const typename TMesh::Size& sonMeshSize );
+
+ const typename TMesh::Vertex&
+ addVertex(
+ const typename TMesh::UVertex& vertex );
+
+ void
+ addRelation(
+ const typename TMesh::Face& father,
+ const typename std::vector< const typename TMesh::Vertex* >&
+ sonVertices );
+
+ RefinementData< TMesh, refDataReq >
+ deliver();
+
+ private:
+ RefinementData< TMesh, refDataReq > refinement_;
+ MeshBuilder< TMesh > meshBuilder_;
+ };
+}
+
+#endif
+
--- /dev/null
+#ifndef BOUNDARY_MESH_REFINEMENTDATA_TMPL_CPP_GUARD_
+#define BOUNDARY_MESH_REFINEMENTDATA_TMPL_CPP_GUARD_
+
+#include "types.hpp"
+#include "RefinementData.hpp"
+#include <cassert>
+
+namespace boundary_mesh {
+ template < class TMesh >
+ Father2Son< TMesh >::~Father2Son()
+ {
+ assert( referenceCounter_ == 0 );
+ }
+
+ template < class TMesh >
+ Father2Son< TMesh >::ConstFaceIterator::ConstFaceIterator(
+ const typename std::list<
+ const typename TMesh::Face* >::const_iterator& copy )
+ : std::list< const typename TMesh::Face* >::const_iterator(copy)
+ {
+ }
+
+ template < class TMesh >
+ const typename TMesh::Face&
+ Father2Son< TMesh >::ConstFaceIterator::operator*() const
+ {
+ return *(std::list< const typename TMesh::Face* >
+ ::const_iterator::operator*());
+ }
+
+ template < class TMesh >
+ const typename TMesh::Face*
+ Father2Son< TMesh >::ConstFaceIterator::operator->() const
+ {
+ return std::list< const typename TMesh::Face* >
+ ::const_iterator::operator*();
+ }
+
+ template < class TMesh >
+ typename Father2Son< TMesh >::ConstFaceIterator
+ Father2Son< TMesh >::begin(const typename TMesh::Face& face) const
+ {
+ geoid_t faceId = fatherMesh_.getFaceId( face );
+ assert( faceId >= 0 && faceId < relations_.size() );
+ return relations_[faceId].begin();
+ }
+
+ template < class TMesh >
+ typename Father2Son< TMesh >::ConstFaceIterator
+ Father2Son< TMesh >::end(const typename TMesh::Face& face) const
+ {
+ geoid_t faceId = fatherMesh_.getFaceId( face );
+ assert( faceId >= 0 && faceId < relations_.size() );
+ return relations_[faceId].end();
+ }
+
+ template < class TMesh >
+ Father2Son< TMesh >::Father2Son( const TMesh& fatherMesh )
+ : fatherMesh_(fatherMesh), relations_(
+ std::vector< std::list<const typename TMesh::Face*> >(
+ fatherMesh.getNumberOfFaces()) ),
+ referenceCounter_(1)
+ {
+ }
+
+ template < class TMesh >
+ void
+ Father2Son< TMesh >::addRelation(
+ unsigned int fatherId,
+ const typename TMesh::Face& son)
+ {
+ relations_[ fatherId ].push_back( &son );
+ }
+
+ template < class TMesh >
+ Son2Father< TMesh >::~Son2Father()
+ {
+ assert( referenceCounter_ == 0 );
+ }
+
+ template < class TMesh >
+ const typename TMesh::Face&
+ Son2Father< TMesh >::getFather(
+ const typename TMesh::Face& son ) const
+ {
+ return getFather( sonMesh_.getFaceId( son ) );
+ }
+
+ template < class TMesh >
+ Son2Father< TMesh >::Son2Father( unsigned int sonFaces )
+ : sonMesh_( 0 ),
+ relations_( std::vector< const typename TMesh::Face* >(sonFaces) ),
+ referenceCounter_( 1 )
+ {
+ }
+
+ template < class TMesh >
+ void
+ Son2Father< TMesh >::addRelation(
+ const typename TMesh::Face& father,
+ unsigned int sonId )
+ {
+ assert( sonId < relations_.size() );
+ relations_[ sonId ] = &father;
+ }
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ RefinementData< TMesh, refDataReq >::RefinementData(
+ const TMesh& fatherMesh )
+ : fatherMesh_(fatherMesh), sonMesh_(fatherMesh),
+ father2son_(0), son2father_(0)
+ {
+ }
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ RefinementData< TMesh, refDataReq >::RefinementData(
+ const RefinementData< TMesh, refDataReq >& rhs )
+ : fatherMesh_( rhs.fatherMesh_ ), sonMesh_( rhs.sonMesh_ ),
+ father2son_( rhs.father2son_ ), son2father_( rhs.son2father_ )
+ {
+ if ( father2son_ != 0 )
+ {
+ father2son_->referenceCounter_ += 1;
+ }
+ if ( son2father_ != 0 )
+ {
+ son2father_->referenceCounter_ += 1;
+ }
+ }
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ RefinementData< TMesh, refDataReq >&
+ RefinementData< TMesh, refDataReq >::operator=(
+ const RefinementData< TMesh, refDataReq >& rhs)
+ {
+ if ( father2son_ != 0 )
+ {
+ assert( father2son_->referenceCounter_ > 0 );
+ father2son_->referenceCounter_ -= 1;
+ if ( father2son_->referenceCounter_ == 0 )
+ {
+ delete father2son_;
+ }
+ }
+ if ( son2father_ != 0 )
+ {
+ assert( son2father_->referenceCounter_ > 0 );
+ son2father_->referenceCounter_ -= 1;
+ if ( son2father_->referenceCounter_ == 0 )
+ {
+ delete son2father_;
+ }
+ }
+
+ fatherMesh_ = rhs.fatherMesh_;
+ sonMesh_ = rhs.sonMesh_;
+ father2son_ = rhs.father2son_;
+ son2father_ = rhs.son2father_;
+
+ return *this;
+ }
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ RefinementData< TMesh, refDataReq >::~RefinementData()
+ {
+ if (father2son_ != 0)
+ {
+ assert( father2son_->referenceCounter_ > 0 );
+ father2son_->referenceCounter_ -= 1;
+ if ( father2son_->referenceCounter_ == 0 )
+ {
+ delete father2son_;
+ }
+ }
+ if (son2father_ != 0)
+ {
+ assert( son2father_->referenceCounter_ > 0 );
+ son2father_->referenceCounter_ -= 1;
+ if ( son2father_->referenceCounter_ == 0 )
+ {
+ delete son2father_;
+ }
+ }
+ }
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ const TMesh&
+ RefinementData< TMesh, refDataReq >::getFatherMesh() const
+ {
+ return fatherMesh_;
+ }
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ const TMesh&
+ RefinementData< TMesh, refDataReq >::getSonMesh() const
+ {
+ return sonMesh_;
+ }
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ typename boost::enable_if_c<
+ (refDataReq & RefinementDataRequest_RequireFather2Son) != 0,
+ const Father2Son< TMesh >& >::type
+ RefinementData< TMesh, refDataReq >::father2son() const
+ {
+ assert( father2son_ != 0 );
+ return *father2son_;
+ }
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ typename boost::enable_if_c<
+ (refDataReq & RefinementDataRequest_RequireSon2Father) != 0,
+ const Son2Father< TMesh >& >::type
+ RefinementData< TMesh, refDataReq >::son2father() const
+ {
+ assert( son2father_ != 0 );
+ return *son2father_;
+ }
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ RefinementData< TMesh, refDataReq >::operator TMesh() const
+ {
+ return sonMesh_;
+ }
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ RefinementDataBuilder< TMesh, refDataReq >::RefinementDataBuilder(
+ const TMesh& father, const typename TMesh::Size& sonMeshSize)
+ : refinement_( father ), meshBuilder_( sonMeshSize )
+ {
+ refinement_.fatherMesh_ = father;
+
+ if ( (refDataReq & RefinementDataRequest_RequireFather2Son) != 0 )
+ {
+ refinement_.father2son_ = new Father2Son< TMesh >( father );
+ }
+
+ if ( (refDataReq & RefinementDataRequest_RequireSon2Father) != 0 )
+ {
+ refinement_.son2father_ = new Son2Father< TMesh >( sonMeshSize.faces );
+ }
+ }
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ const typename TMesh::Vertex&
+ RefinementDataBuilder< TMesh, refDataReq >::addVertex(
+ const typename TMesh::UVertex& vertex)
+ {
+ return meshBuilder_.addVertex( vertex );
+ }
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ void
+ RefinementDataBuilder< TMesh, refDataReq >::addRelation(
+ const typename TMesh::Face& father,
+ const typename std::vector< const typename TMesh::Vertex* >& sonVertices)
+ {
+ const typename TMesh::Face& son = meshBuilder_.addFace( sonVertices );
+
+ if ( (refDataReq & RefinementDataRequest_RequireFather2Son) != 0 )
+ {
+ assert( refinement_.father2son_ != 0 );
+ refinement_.father2son_->addRelation(
+ refinement_.fatherMesh_.getFaceId(father), son);
+ }
+
+ if ( (refDataReq & RefinementDataRequest_RequireSon2Father) != 0 )
+ {
+ assert( refinement_.son2father_ != 0 );
+ refinement_.son2father_->addRelation(
+ father, meshBuilder_.getFaceId(son));
+ }
+ }
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ RefinementData< TMesh, refDataReq >
+ RefinementDataBuilder< TMesh, refDataReq >::deliver()
+ {
+ refinement_.sonMesh_ = meshBuilder_.deliver();
+
+ if ( (refDataReq & RefinementDataRequest_RequireSon2Father) != 0 )
+ {
+ assert( refinement_.son2father_ != 0 );
+ refinement_.son2father_->sonMesh_ = &(refinement_.sonMesh_);
+ }
+ return refinement_;
+ }
+}
+
+#endif
+
#include <iterator>
#include "../generic/GenericVector.hpp"
+#include "../generic/Testing.hpp"
+
+#include <iostream>
/**
* @file boundary_mesh/Vertex.hpp
template < class TMesh >
class VertexT : public TMesh::UVertex
{
+ friend class testing::Tester< TMesh >;
template < template <typename> class TProp,
template <typename> class TAlg > friend class Mesh;
public:
+ enum WhereToStart
+ {
+ StartAtBeginning,
+ StartAtEnd
+ };
+
+ private:
+ class CommonIteratorBase__
+ {
+ public:
+ CommonIteratorBase__(const VertexT& vertex,
+ enum WhereToStart whereToStart);
+ CommonIteratorBase__& operator++();
+ bool operator==(const CommonIteratorBase__& rhs) const;
+ bool operator!=(const CommonIteratorBase__& rhs) const;
+
+ protected:
+ const typename TMesh::HalfEdge& getCurrentHalfEdge() const;
+ bool isRewinded() const;
+
+ private:
+ const VertexT* vertex_;
+ const typename TMesh::HalfEdge* current_;
+ bool rewinded_;
+ };
+
+ public:
+ class ConstEdgeIterator : public CommonIteratorBase__,
+ std::iterator< std::input_iterator_tag, typename TMesh::HalfEdge >
+ {
+ public:
+ ConstEdgeIterator(const VertexT&, enum WhereToStart);
+ ConstEdgeIterator& operator++();
+ const typename TMesh::HalfEdge& operator*() const;
+ const typename TMesh::HalfEdge* operator->() const;
+ };
+
+ class ConstFaceIterator : public CommonIteratorBase__,
+ std::iterator< std::input_iterator_tag, typename TMesh::Face >
+ {
+ public:
+ ConstFaceIterator(const VertexT&, enum WhereToStart);
+ ConstFaceIterator& operator++();
+ const typename TMesh::Face& operator*() const;
+ const typename TMesh::Face* operator->() const;
+ };
+
+ class ConstVertexIterator : public CommonIteratorBase__,
+ std::iterator< std::input_iterator_tag, typename TMesh::Vertex >
+ {
+ public:
+ ConstVertexIterator(const VertexT&, enum WhereToStart);
+ const typename TMesh::Vertex& operator*() const;
+ const typename TMesh::Vertex* operator->() const;
+ };
+
+ VertexT(const typename TMesh::Vertex& v);
const typename TMesh::HalfEdge* getHalfEdge() const;
+ ConstEdgeIterator begin_e() const;
+ ConstEdgeIterator end_e() const;
+ ConstFaceIterator begin_f() const;
+ ConstFaceIterator end_f() const;
+ ConstVertexIterator begin_v() const;
+ ConstVertexIterator end_v() const;
+
private:
+ VertexT();
+ VertexT(double,double,double);
VertexT(const double[3]);
VertexT(const typename TMesh::UVertex& downCopy);
void setHalfEdge(const typename TMesh::HalfEdge& halfedge);
namespace boundary_mesh
{
+ template < class TMesh >
+ VertexT< TMesh >::VertexT(const typename TMesh::Vertex& v)
+ : TMesh::UVertex(v), halfedge_(v.halfedge_)
+ {}
+
template < class TMesh >
VertexT< TMesh >::VertexT(const double coord[3])
: TMesh::UVertex(coord), halfedge_(0)
{}
+
+ template < class TMesh >
+ VertexT< TMesh >::VertexT(double x, double y, double z)
+ : TMesh::UVertex(x,y,z), halfedge_(0)
+ {}
template < class TMesh >
VertexT< TMesh >::VertexT(const typename TMesh::UVertex& down_copy)
{
return halfedge_;
}
-}
+
+ template < class TMesh >
+ typename VertexT< TMesh >::ConstEdgeIterator
+ VertexT< TMesh >::begin_e() const
+ {
+ return ConstEdgeIterator(*this, StartAtBeginning);
+ }
+
+ template < class TMesh >
+ typename VertexT< TMesh >::ConstEdgeIterator
+ VertexT< TMesh >::end_e() const
+ {
+ return ConstEdgeIterator(*this, StartAtEnd);
+ }
+
+ template < class TMesh >
+ typename VertexT< TMesh >::ConstFaceIterator
+ VertexT< TMesh >::begin_f() const
+ {
+ return ConstFaceIterator(*this, StartAtBeginning);
+ }
+
+ template < class TMesh >
+ typename VertexT< TMesh >::ConstFaceIterator
+ VertexT< TMesh >::end_f() const
+ {
+ return ConstFaceIterator(*this, StartAtEnd);
+ }
+
+ template < class TMesh >
+ typename VertexT< TMesh >::ConstVertexIterator
+ VertexT< TMesh >::begin_v() const
+ {
+ return ConstVertexIterator(*this, StartAtBeginning);
+ }
+
+ template < class TMesh >
+ typename VertexT< TMesh >::ConstVertexIterator
+ VertexT< TMesh >::end_v() const
+ {
+ return ConstVertexIterator(*this, StartAtEnd);
+ }
+
+ template < class TMesh >
+ VertexT< TMesh >::ConstEdgeIterator::ConstEdgeIterator(
+ const VertexT< TMesh >& vertex, enum WhereToStart whereToStart)
+ : CommonIteratorBase__(vertex,whereToStart)
+ {
+ }
+
+ template < class TMesh >
+ VertexT< TMesh >::CommonIteratorBase__::CommonIteratorBase__(
+ const VertexT& vertex, enum WhereToStart whereToStart)
+ : vertex_(&vertex), current_(vertex.getHalfEdge()), rewinded_(false)
+ {
+ if (whereToStart == StartAtEnd)
+ {
+ current_ = 0;
+ }
+ }
+
+ template < class TMesh >
+ typename VertexT< TMesh >::CommonIteratorBase__&
+ VertexT< TMesh >::CommonIteratorBase__::operator++()
+ {
+ assert( current_ != 0 );
+
+ if ( rewinded_ == true )
+ {
+ rewinded_ = false;
+ if ( current_ == vertex_->getHalfEdge() )
+ {
+ current_ = 0;
+ }
+ }
+ else if ( current_->getOppositeEdge() == 0 )
+ { // The Vertex is part of the boundary. Rewind the iterator to
+ // get the desired behaviour:
+ current_ = current_->getPreviousEdge();
+ while ( current_->getOppositeEdge() != 0 )
+ {
+ current_ = current_->getOppositeEdge()->getPreviousEdge();
+ }
+ current_ = current_->getNextEdge();
+ rewinded_ = true;
+ }
+ else
+ {
+ const typename TMesh::HalfEdge* oppositeEdge =
+ current_->getOppositeEdge();
+
+ if ( oppositeEdge == vertex_->getHalfEdge() )
+ { // We are at the end.
+ current_ = 0;
+ }
+ else
+ {
+ current_ = oppositeEdge->getNextEdge();
+ }
+ }
+
+ return *this;
+ }
+
+ template < class TMesh >
+ bool
+ VertexT< TMesh >::CommonIteratorBase__::operator==(
+ const VertexT< TMesh >::CommonIteratorBase__& rhs) const
+ {
+ return current_ == rhs.current_
+ && rewinded_ == rhs.rewinded_
+ && vertex_ == rhs.vertex_;
+ }
+
+ template < class TMesh >
+ bool
+ VertexT< TMesh >::CommonIteratorBase__::operator!=(
+ const VertexT< TMesh >::CommonIteratorBase__& rhs) const
+ {
+ return current_ != rhs.current_
+ || rewinded_ != rhs.rewinded_
+ || vertex_ != rhs.vertex_;
+ }
+
+ template < class TMesh >
+ const typename TMesh::HalfEdge&
+ VertexT< TMesh >::CommonIteratorBase__::getCurrentHalfEdge() const
+ {
+ return *current_;
+ }
+
+ template < class TMesh >
+ bool
+ VertexT< TMesh >::CommonIteratorBase__::isRewinded() const
+ {
+ return rewinded_;
+ }
+
+ template < class TMesh >
+ typename VertexT< TMesh >::ConstEdgeIterator&
+ VertexT< TMesh >::ConstEdgeIterator::operator++()
+ {
+ CommonIteratorBase__::operator++();
+ if (this->isRewinded())
+ CommonIteratorBase__::operator++();
+ }
+
+ template < class TMesh >
+ const typename TMesh::HalfEdge&
+ VertexT< TMesh >::ConstEdgeIterator::operator*() const
+ {
+ return this->getCurrentHalfEdge();
+ }
+
+ template < class TMesh >
+ const typename TMesh::HalfEdge*
+ VertexT< TMesh >::ConstEdgeIterator::operator->() const
+ {
+ return &(this->getCurrentHalfEdge());
+ }
+
+ template < class TMesh >
+ VertexT< TMesh >::ConstFaceIterator::ConstFaceIterator(
+ const VertexT< TMesh >& vertex, enum WhereToStart whereToStart)
+ : CommonIteratorBase__(vertex,whereToStart)
+ {
+ }
+
+ template < class TMesh >
+ typename VertexT< TMesh >::ConstFaceIterator&
+ VertexT< TMesh >::ConstFaceIterator::operator++()
+ {
+ CommonIteratorBase__::operator++();
+ if (this->isRewinded())
+ CommonIteratorBase__::operator++();
+ }
+
+ template < class TMesh >
+ const typename TMesh::Face&
+ VertexT< TMesh >::ConstFaceIterator::operator*() const
+ {
+ return this->getCurrentHalfEdge().getFace();
+ }
+
+ template < class TMesh >
+ const typename TMesh::Face*
+ VertexT< TMesh >::ConstFaceIterator::operator->() const
+ {
+ return &(this->getCurrentHalfEdge().getFace());
+ }
+
+ template < class TMesh >
+ VertexT< TMesh >::ConstVertexIterator::ConstVertexIterator(
+ const VertexT< TMesh >& vertex, enum WhereToStart whereToStart)
+ : CommonIteratorBase__(vertex,whereToStart)
+ {
+ }
+
+ template < class TMesh >
+ const typename TMesh::Vertex&
+ VertexT< TMesh >::ConstVertexIterator::operator*() const
+ {
+ if (this->isRewinded())
+ return this->getCurrentHalfEdge().getPreviousEdge().getStartVertex();
+ else
+ return this->getCurrentHalfEdge().getEndVertex();
+ }
+
+ template < class TMesh >
+ const typename TMesh::Vertex*
+ VertexT< TMesh >::ConstVertexIterator::operator->() const
+ {
+ return &(**this);
+ }
+}
+
typename TMesh::Builder builder(sizeInfo);
unsigned int line_number = 0;
- std::vector< geoid_t > vertexIds;
- vertexIds.reserve(TMesh::Prop::maximumNumberOfEdgesPerFace);
+ typename std::vector< const typename TMesh::Vertex* > faceVertices;
+ faceVertices.reserve(TMesh::Prop::maximumNumberOfEdgesPerFace);
+ typename std::vector< const typename TMesh::Vertex* > vertices;
+ vertices.reserve(sizeInfo.vertices);
while ( file.good() )
{
std::istringstream istr( what[i+1] );
istr >> coordinates[i];
}
- builder.addVertex(typename TMesh::UVertex(coordinates));
+ vertices.push_back(&(builder.addVertex(
+ typename TMesh::UVertex(coordinates))));
}
else if (line[0] == 'f' && boost::regex_match( line, what, face_line ))
{
assert(what.size() == 2);
- vertexIds.clear();
+ faceVertices.clear();
const std::string numbers = what[1].str();
assert( numbers.length() < matchedNumberBufferSize );
matchedNumberBuffer = strncpy(matchedNumberBuffer, numbers.c_str(),
unsigned int id = 0;
std::istringstream istr( currentNumber );
istr >> id;
- vertexIds.push_back( id-1 );
+ assert( id <= vertices.size() );
+ faceVertices.push_back( vertices[id-1] );
} while ((currentNumber = strtok_r( 0, " \t", &savePtr )) != 0);
- assert(vertexIds.size() >= 3);
-
- builder.addFace(vertexIds);
+ builder.addFace(faceVertices);
}
else if ( boost::regex_match( line, what, empty_line ) )
{}
--- /dev/null
+#ifndef HILBERT3D_BOUNDARY_MESH_ALGORITHM_REFINEADAPTIVLY_HPP_GUARD_
+#define HILBERT3D_BOUNDARY_MESH_ALGORITHM_REFINEADAPTIVLY_HPP_GUARD_
+
+#include "../FaceDispatch.hpp"
+#include "../RefinementData.hpp"
+
+namespace boundary_mesh
+{
+ namespace algorithm
+ {
+#if 0
+ template < class TMesh >
+ class CountNewFacesForFaceImpl
+ {
+ HILBERT3D_DISPATCH_PARAMETERS_2(
+ CountNewFacesForFaceImpl,
+ typename TMesh::Size*, newMeshSize_,
+ unsigned int, numberOfMarkedEdges_);
+
+ public:
+ void exec( const typename TMesh::Prop::Triangle& face ) const;
+ void exec( const typename TMesh::Prop::Rectangle& face ) const;
+ };
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ class RefineFaceAdaptivlyImpl
+ {
+ typedef RefinementDataBuilder< TMesh, refDataReq >
+ MyRefinementDataBuilder;
+
+ HILBERT3D_DISPATCH_PARAMETERS_4(
+ RefineFaceAdaptivlyImpl,
+ MyRefinementDataBuilder*, refinementBuilder_,
+ const typename std::vector< const typename TMesh::Vertex* >&, oldVert_,
+ const typename std::vector< const typename TMesh::Vertex* >&, newVert_,
+ unsigned int, markedBin_);
+
+ public:
+ void exec( const typename TMesh::Prop::Triangle& face );
+ void exec( const typename TMesh::Prop::Rectangle& face );
+ };
+#endif
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ RefinementData< TMesh, refDataReq >
+ refineAdaptivly( const TMesh& mesh, const Marker< TMesh >& marker );
+ }
+}
+
+#endif
+
--- /dev/null
+#ifndef HILBERT3D_BOUNDARY_MESH_ALGORITH_REFINEADAPTIVLY_TMPL_CPP_GUARD_
+#define HILBERT3D_BOUNDARY_MESH_ALGORITH_REFINEADAPTIVLY_TMPL_CPP_GUARD_
+
+namespace boundary_mesh
+{
+ namespace algorithm
+ {
+ template < class TMesh >
+ class CountNewFacesForFaceImpl
+ {
+ HILBERT3D_DISPATCH_PARAMETERS_2(
+ CountNewFacesForFaceImpl, void,
+ typename TMesh::Size*, newMeshSize_,
+ unsigned int, numberOfMarkedEdges_);
+
+ HILBERT3D_SINGLE_DISPATCH_IMPLEMENTATION_FOR( TMesh::Prop::Triangle )
+ {
+ assert( numberOfMarkedEdges_ <= 3 );
+ unsigned int newFaces = numberOfMarkedEdges_ + 1;
+ newMeshSize_->faces += newFaces;
+ newMeshSize_->edges += 3 * newFaces;
+ }
+
+ HILBERT3D_SINGLE_DISPATCH_IMPLEMENTATION_FOR( TMesh::Prop::Rectangle )
+ {
+ unsigned int newFaces = 0;
+ switch ( numberOfMarkedEdges_ )
+ {
+ case 0:
+ newFaces += 1;
+ break;
+ case 4:
+ newMeshSize_->vertices += 1;
+ case 2:
+ newFaces += numberOfMarkedEdges_;
+ break;
+ default:
+ assert(0);
+ }
+ newMeshSize_->faces += newFaces;
+ newMeshSize_->edges += 4 * newFaces;
+ }
+ };
+
+#if 0
+ template < class TMesh >
+ void
+ CountNewFacesForFaceImpl< TMesh >::exec(
+ const typename TMesh::Prop::Triangle& face ) const
+ {
+ assert( numberOfMarkedEdges_ <= 3 );
+ unsigned int newFaces = numberOfMarkedEdges_ + 1;
+ newMeshSize_->faces += newFaces;
+ newMeshSize_->edges += 3 * newFaces;
+ }
+
+ template < class TMesh >
+ void
+ CountNewFacesForFaceImpl< TMesh >::exec(
+ const typename TMesh::Prop::Rectangle& face ) const
+ {
+ unsigned int newFaces = 0;
+ switch ( numberOfMarkedEdges_ )
+ {
+ case 0:
+ newFaces += 1;
+ break;
+ case 4:
+ newMeshSize_->vertices += 1;
+ case 2:
+ newFaces += numberOfMarkedEdges_;
+ break;
+ default:
+ assert(0);
+ }
+ newMeshSize_->faces += newFaces;
+ newMeshSize_->edges += 4 * newFaces;
+ }
+#endif
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ class RefineFaceAdaptivlyImpl
+ {
+ typedef RefinementDataBuilder< TMesh, refDataReq >
+ MyRefinementDataBuilder;
+
+ HILBERT3D_DISPATCH_PARAMETERS_4(
+ RefineFaceAdaptivlyImpl, void,
+ MyRefinementDataBuilder*, refinementBuilder_,
+ const typename std::vector< const typename TMesh::Vertex* >&, oldVert_,
+ const typename std::vector< const typename TMesh::Vertex* >&, newVert_,
+ unsigned int, markedBin_);
+
+ HILBERT3D_SINGLE_DISPATCH_IMPLEMENTATION_FOR( TMesh::Prop::Triangle )
+ {
+ typename std::vector< const typename TMesh::Vertex* > childFace(3);
+
+ switch ( markedBin_ )
+ {
+ case 0: // Nothing marked, copy old face:
+ assert( oldVert_.size() == 3 );
+ refinementBuilder_->addRelation( face, oldVert_ );
+ break;
+ case 1: // Only the longest edge is marked:
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[1];
+ childFace[2] = oldVert_[2];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[2];
+ childFace[2] = oldVert_[0];
+ refinementBuilder_->addRelation( face, childFace );
+
+ break;
+ case 3: // Reference edge and second edge are marked:
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[2];
+ childFace[2] = oldVert_[0];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[1];
+ childFace[2] = newVert_[1];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = newVert_[1];
+ childFace[2] = oldVert_[2];
+ refinementBuilder_->addRelation( face, childFace );
+
+ break;
+ case 5: // Reference edge and third edge are marked:
+ childFace[0] = newVert_[0];
+ childFace[1] = newVert_[2];
+ childFace[2] = oldVert_[0];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[2];
+ childFace[2] = newVert_[2];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[1];
+ childFace[2] = oldVert_[2];
+ refinementBuilder_->addRelation( face, childFace );
+
+ break;
+ case 7: // All edges are marked:
+ childFace[0] = newVert_[0];
+ childFace[1] = newVert_[2];
+ childFace[2] = oldVert_[0];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[2];
+ childFace[2] = newVert_[2];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = newVert_[1];
+ childFace[2] = oldVert_[2];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[1];
+ childFace[2] = newVert_[1];
+ refinementBuilder_->addRelation( face, childFace );
+
+ break;
+ default: // Marking is impossible:
+ assert(0);
+ }
+ }
+
+ HILBERT3D_SINGLE_DISPATCH_IMPLEMENTATION_FOR( TMesh::Prop::Rectangle )
+ {
+ std::vector< const typename TMesh::Vertex* > childFace(4);
+
+ switch ( markedBin_ )
+ {
+ case 0: // Nothing marked, copy old face:
+ assert( oldVert_.size() == 4 );
+ refinementBuilder_->addRelation( face, oldVert_ );
+ case 5: // Reference edge and opposite edge are marked:
+ childFace[0] = oldVert_[0];
+ childFace[1] = newVert_[0];
+ childFace[2] = newVert_[2];
+ childFace[3] = oldVert_[3];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[1];
+ childFace[2] = oldVert_[2];
+ childFace[3] = newVert_[2];
+ refinementBuilder_->addRelation( face, childFace );
+
+ break;
+ case 10: // Shorter edge and opposite edge are marked:
+ childFace[0] = oldVert_[0];
+ childFace[1] = oldVert_[1];
+ childFace[2] = newVert_[1];
+ childFace[3] = newVert_[3];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[3];
+ childFace[1] = newVert_[1];
+ childFace[2] = oldVert_[2];
+ childFace[3] = newVert_[3];
+ refinementBuilder_->addRelation( face, childFace );
+
+ break;
+ case 15: // All edges are marked:
+ {
+ const typename TMesh::Vertex* centerVertex =
+ &(refinementBuilder_->addVertex(
+ (*(oldVert_[0]) + *(oldVert_[2]))));
+
+ childFace[0] = centerVertex;
+ childFace[1] = newVert_[3];
+ childFace[2] = oldVert_[0];
+ childFace[3] = newVert_[0];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = centerVertex;
+ childFace[1] = newVert_[2];
+ childFace[2] = oldVert_[3];
+ childFace[3] = newVert_[3];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = centerVertex;
+ childFace[1] = newVert_[0];
+ childFace[2] = oldVert_[1];
+ childFace[3] = newVert_[1];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = centerVertex;
+ childFace[1] = newVert_[1];
+ childFace[2] = oldVert_[2];
+ childFace[3] = newVert_[2];
+ refinementBuilder_->addRelation( face, childFace );
+
+ break;
+ }
+ default: // Impossible marking:
+ assert(0);
+ }
+ }
+ };
+
+#if 0
+ template < class TMesh, RefinementDataRequest refDataReq >
+ void
+ RefineFaceAdaptivlyImpl< TMesh, refDataReq >::exec(
+ const typename TMesh::Prop::Triangle& face )
+ {
+ typename std::vector< const typename TMesh::Vertex* > childFace(3);
+
+ switch ( markedBin_ )
+ {
+ case 0: // Nothing marked, copy old face:
+ assert( oldVert_.size() == 3 );
+ refinementBuilder_->addRelation( face, oldVert_ );
+ break;
+ case 1: // Only the longest edge is marked:
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[1];
+ childFace[2] = oldVert_[2];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[2];
+ childFace[2] = oldVert_[0];
+ refinementBuilder_->addRelation( face, childFace );
+
+ break;
+ case 3: // Reference edge and second edge are marked:
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[2];
+ childFace[2] = oldVert_[0];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[1];
+ childFace[2] = newVert_[1];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = newVert_[1];
+ childFace[2] = oldVert_[2];
+ refinementBuilder_->addRelation( face, childFace );
+
+ break;
+ case 5: // Reference edge and third edge are marked:
+ childFace[0] = newVert_[0];
+ childFace[1] = newVert_[2];
+ childFace[2] = oldVert_[0];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[2];
+ childFace[2] = newVert_[2];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[1];
+ childFace[2] = oldVert_[2];
+ refinementBuilder_->addRelation( face, childFace );
+
+ break;
+ case 7: // All edges are marked:
+ childFace[0] = newVert_[0];
+ childFace[1] = newVert_[2];
+ childFace[2] = oldVert_[0];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[2];
+ childFace[2] = newVert_[2];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = newVert_[1];
+ childFace[2] = oldVert_[2];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[1];
+ childFace[2] = newVert_[1];
+ refinementBuilder_->addRelation( face, childFace );
+
+ break;
+ default: // Marking is impossible:
+ assert(0);
+ }
+ }
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ void
+ RefineFaceAdaptivlyImpl< TMesh, refDataReq >::exec(
+ const typename TMesh::Prop::Rectangle& face )
+ {
+ std::vector< const typename TMesh::Vertex* > childFace(4);
+
+ switch ( markedBin_ )
+ {
+ case 0: // Nothing marked, copy old face:
+ assert( oldVert_.size() == 4 );
+ refinementBuilder_->addRelation( face, oldVert_ );
+ case 5: // Reference edge and opposite edge are marked:
+ childFace[0] = oldVert_[0];
+ childFace[1] = newVert_[0];
+ childFace[2] = newVert_[2];
+ childFace[3] = oldVert_[3];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[0];
+ childFace[1] = oldVert_[1];
+ childFace[2] = oldVert_[2];
+ childFace[3] = newVert_[2];
+ refinementBuilder_->addRelation( face, childFace );
+
+ break;
+ case 10: // Shorter edge and opposite edge are marked:
+ childFace[0] = oldVert_[0];
+ childFace[1] = oldVert_[1];
+ childFace[2] = newVert_[1];
+ childFace[3] = newVert_[3];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = newVert_[3];
+ childFace[1] = newVert_[1];
+ childFace[2] = oldVert_[2];
+ childFace[3] = newVert_[3];
+ refinementBuilder_->addRelation( face, childFace );
+
+ break;
+ case 15: // All edges are marked:
+ {
+ const typename TMesh::Vertex* centerVertex =
+ &(refinementBuilder_->addVertex(
+ (*(oldVert_[0]) + *(oldVert_[2]))));
+
+ childFace[0] = centerVertex;
+ childFace[1] = newVert_[3];
+ childFace[2] = oldVert_[0];
+ childFace[3] = newVert_[0];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = centerVertex;
+ childFace[1] = newVert_[2];
+ childFace[2] = oldVert_[3];
+ childFace[3] = newVert_[3];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = centerVertex;
+ childFace[1] = newVert_[0];
+ childFace[2] = oldVert_[1];
+ childFace[3] = newVert_[1];
+ refinementBuilder_->addRelation( face, childFace );
+
+ childFace[0] = centerVertex;
+ childFace[1] = newVert_[1];
+ childFace[2] = oldVert_[2];
+ childFace[3] = newVert_[2];
+ refinementBuilder_->addRelation( face, childFace );
+
+ break;
+ }
+ default: // Impossible marking:
+ assert(0);
+ }
+ }
+#endif
+
+ template < class TMesh, RefinementDataRequest refDataReq >
+ RefinementData< TMesh, refDataReq >
+ refineAdaptivly(
+ const TMesh& mesh, const Marker< TMesh >& marker)
+ {
+ typedef SingleFaceDispatcher< CountNewFacesForFaceImpl<TMesh>,
+ TMesh, void > CountNewFacesForFace;
+ typedef SingleFaceDispatcher<
+ RefineFaceAdaptivlyImpl<TMesh,refDataReq>, TMesh, void >
+ RefineFaceAdaptivly;
+
+ typename TMesh::Size newMeshSize = { 0, 0, 0 };
+ unsigned int numberOfHalfVertices = 0;
+
+ for ( typename TMesh::ConstFaceIterator faceIt = mesh.begin_f();
+ faceIt != mesh.end_f(); ++faceIt )
+ {
+ unsigned int numberOfMarkedEdges = 0;
+
+ for ( typename TMesh::Face::ConstEdgeIterator
+ edgeIt = faceIt->begin_e(); edgeIt != faceIt->end_e(); ++edgeIt )
+ {
+ if ( marker.isMarked(*faceIt, *edgeIt) == true )
+ {
+ const typename TMesh::HalfEdge* opposite =
+ edgeIt->getOppositeEdge();
+
+ if (opposite != 0 &&
+ marker.isMarked(opposite->getFace(), *opposite) )
+ {
+ numberOfHalfVertices += 1;
+ }
+ else
+ {
+ numberOfHalfVertices += 2;
+ }
+
+ numberOfMarkedEdges += 1;
+ }
+ }
+
+ CountNewFacesForFace::Exec( *faceIt,
+ typename CountNewFacesForFace::PARAM(
+ &newMeshSize, numberOfMarkedEdges) );
+ }
+
+ newMeshSize.vertices += mesh.getNumberOfVertices() +
+ (numberOfHalfVertices / 2);
+
+ RefinementDataBuilder< TMesh, refDataReq >
+ refinementBuilder( mesh, newMeshSize );
+ typename std::vector< const typename TMesh::Vertex* > oldVertices;
+ oldVertices.reserve( mesh.getNumberOfVertices() );
+ typename std::vector< const typename TMesh::Vertex* >
+ newVertices( mesh.getNumberOfEdges(), 0 );
+
+ for (typename TMesh::ConstVertexIterator vertexIt = mesh.begin_v();
+ vertexIt != mesh.end_v(); ++vertexIt)
+ {
+ oldVertices.push_back(&(refinementBuilder.addVertex( *vertexIt )));
+ }
+
+ for (typename TMesh::ConstFaceIterator faceIt = mesh.begin_f();
+ faceIt != mesh.end_f(); ++faceIt)
+ {
+ unsigned int markerId = 1;
+ unsigned int marked = 0;
+ unsigned int numberOfFaceEdges = 0;
+ std::vector< const typename TMesh::Vertex* > oldIds(
+ faceIt->getNumberOfEdges(), 0 );
+ std::vector< const typename TMesh::Vertex* > newIds(
+ faceIt->getNumberOfEdges(), 0 );
+
+ for (typename TMesh::Face::ConstEdgeIterator
+ edgeIt = faceIt->begin_e(); edgeIt != faceIt->end_e(); ++edgeIt)
+ {
+ oldIds[ numberOfFaceEdges ] = oldVertices[
+ mesh.getVertexId(edgeIt->getStartVertex()) ];
+
+ if ( marker.isMarked(*faceIt, *edgeIt) == true )
+ {
+ marked += markerId;
+
+ if ( newVertices[ mesh.getEdgeId(*edgeIt) ] != 0 )
+ {
+ newIds[ numberOfFaceEdges ]
+ = newVertices[ mesh.getEdgeId(*edgeIt) ];
+ }
+ else
+ {
+ const typename TMesh::Vertex* vert =
+ &(refinementBuilder.addVertex(
+ .5 * (edgeIt->getStartVertex() + edgeIt->getEndVertex()) ));
+ newVertices[ mesh.getEdgeId(*edgeIt) ] = vert;
+ if ( edgeIt->getOppositeEdge() != 0 )
+ {
+ newVertices[ mesh.getEdgeId(*(edgeIt->getOppositeEdge())) ]
+ = vert;
+ }
+ newIds[ numberOfFaceEdges ] = vert;
+ }
+ }
+
+ numberOfFaceEdges += 1;
+ markerId *= 2;
+ }
+
+ RefineFaceAdaptivly::Exec( *faceIt,
+ typename RefineFaceAdaptivly::PARAM(
+ &refinementBuilder, oldIds, newIds, marked) );
+ }
+
+ return refinementBuilder.deliver();
+ }
+ }
+}
+
+#endif
+
#include "../types.hpp"
#include "../FaceDispatch.hpp"
-#define HILBERT3D_DISPATCH_PARAMETERS_0(Name) \
- public: \
- Name() {} \
- private:
-#define HILBERT3D_DISPATCH_PARAMETERS_1(Name, T1, N1) \
- public: \
- Name(T1 N1) : N1(N1) {} \
- private: \
- T1 N1;
-#define HILBERT3D_DISPATCH_PARAMETERS_2(Name, T1, N1, T2, N2) \
- public: \
- Name(T1 N1, T2 N2) : N1(N1), N2(N2) {} \
- private: \
- T1 N1; T2 N2;
-#define HILBERT3D_DISPATCH_PARAMETERS_3(Name, T1, N1, T2, N2, T3, N3) \
- public: \
- Name(T1 N1, T2 N2, T3 N3) : N1(N1), N2(N2), N3(N3) {} \
- private: \
- T1 N1; T2 N2; T3 N3;
-
-
namespace boundary_mesh
{
namespace algorithm
namespace refine_uniformly_impl
{
template < class TMesh >
- std::vector< geoid_t >
+ typename std::vector< const typename TMesh::Vertex* >
addEdgeVerticesForFace(
const TMesh& oldMesh,
typename TMesh::Builder* builder,
const typename TMesh::Face& face,
- std::vector< geoid_t >* newVertices );
+ typename std::vector< const typename TMesh::Vertex* >* oldVertices,
+ typename std::vector< const typename TMesh::Vertex* >* newVertices );
+#if 0
template < class TMesh >
class RefineFaceUniformlyImpl
{
- HILBERT3D_DISPATCH_PARAMETERS_3( RefineFaceUniformlyImpl,
+ HILBERT3D_DISPATCH_PARAMETERS_4( RefineFaceUniformlyImpl,
const TMesh&, oldMesh_, typename TMesh::Builder*, builder_,
- std::vector< geoid_t >*, newVertices_ );
+ typename std::vector< const typename TMesh::Vertex* >*, oldVertices_,
+ typename std::vector< const typename TMesh::Vertex* >*, newVertices_);
public:
void exec(const typename TMesh::Prop::Triangle& face);
void exec( const typename TMesh::Prop::Triangle& face );
void exec( const typename TMesh::Prop::ConvexQuadrilateral& face );
};
+#endif
}
template < class TMesh >
namespace refine_uniformly_impl
{
template < class TMesh >
- std::vector< geoid_t >
+ typename std::vector< const typename TMesh::Vertex* >
addEdgeVerticesForFace(
const TMesh& oldMesh,
typename TMesh::Builder* builder,
const typename TMesh::Face& face,
- std::vector< geoid_t >* newVertices)
+ typename std::vector< const typename TMesh::Vertex* >* oldVertices,
+ typename std::vector< const typename TMesh::Vertex* >* newVertices)
{
unsigned int i = 0;
- std::vector< geoid_t > faceVertexIds(
+ typename std::vector< const typename TMesh::Vertex* > faceVertices(
face.getNumberOfVertices() * 2, 0);
for ( typename TMesh::Face::ConstEdgeIterator edgeIt = face.begin_e();
edgeIt != face.end_e(); ++edgeIt )
{
- const typename TMesh::Vertex& startVertex = edgeIt->getStartVertex();
+ const typename TMesh::Vertex& startVertex =
+ *((*oldVertices)[ oldMesh.getVertexId(edgeIt->getStartVertex()) ]);
geoid_t edgeId = oldMesh.getEdgeId( *edgeIt );
- if ( (*newVertices)[ edgeId ] == geoid_t_max )
+ if ( (*newVertices)[ edgeId ] == 0 )
{
const typename TMesh::Vertex& endVertex = edgeIt->getEndVertex();
(*newVertices)[ edgeId ] =
- builder->addVertex( ( startVertex + endVertex ) / 2. );
+ &(builder->addVertex( ( startVertex + endVertex ) / 2. ));
if ( edgeIt->getOppositeEdge() != 0 )
{
(*newVertices)[oldMesh.getEdgeId(*(edgeIt->getOppositeEdge()))] =
}
}
- faceVertexIds[ 2*i + 0 ] = oldMesh.getVertexId( startVertex );
- faceVertexIds[ 2*i + 1 ] = (*newVertices)[ edgeId ];
+ faceVertices[ 2*i + 0 ] = &(startVertex);
+ faceVertices[ 2*i + 1 ] = (*newVertices)[ edgeId ];
++i;
}
- return faceVertexIds;
+ return faceVertices;
}
-
+
+ template < class TMesh >
+ class RefineFaceUniformlyImpl
+ {
+ HILBERT3D_DISPATCH_PARAMETERS_4( RefineFaceUniformlyImpl,
+ void,
+ const TMesh&, oldMesh_, typename TMesh::Builder*, builder_,
+ typename std::vector< const typename TMesh::Vertex* >*,oldVertices_,
+ typename std::vector< const typename TMesh::Vertex* >*,newVertices_);
+
+ HILBERT3D_SINGLE_DISPATCH_IMPLEMENTATION_FOR( TMesh::Prop::Triangle )
+ {
+ typename std::vector< const typename TMesh::Vertex* > faceVertices =
+ addEdgeVerticesForFace( oldMesh_, builder_,
+ face, oldVertices_, newVertices_ );
+ typename std::vector< const typename TMesh::Vertex* > triangle(3);
+
+ assert( faceVertices.size() == 6 );
+
+ // Some ASCII-Art:
+ // 4
+ // *
+ // / \ The big triangle is refined to the small
+ // 5 *---* 3 ones. The numbers next to the stars are the
+ // / \ / \ indices of the appropiate nodes with
+ // 0 *---*---* 2 respect to the faceVertices vector.
+ // 1
+ // We need to add the following triangles:
+ // [ 0, 1, 5 ], [ 1, 2, 3 ], [ 1, 3, 5 ] and [ 3, 4, 5 ]
+
+ triangle[0] = faceVertices[0];
+ triangle[1] = faceVertices[1];
+ triangle[2] = faceVertices[5];
+ builder_->addFace( triangle );
+
+ triangle[0] = faceVertices[1];
+ triangle[1] = faceVertices[2];
+ triangle[2] = faceVertices[3];
+ builder_->addFace( triangle );
+
+ triangle[0] = faceVertices[1];
+ triangle[1] = faceVertices[3];
+ triangle[2] = faceVertices[5];
+ builder_->addFace( triangle );
+
+ triangle[0] = faceVertices[3];
+ triangle[1] = faceVertices[4];
+ triangle[2] = faceVertices[5];
+ builder_->addFace( triangle );
+ }
+
+ HILBERT3D_SINGLE_DISPATCH_IMPLEMENTATION_FOR(
+ TMesh::Prop::ConvexQuadrilateral)
+ {
+ typename std::vector< const typename TMesh::Vertex* > faceVertices =
+ addEdgeVerticesForFace( oldMesh_, builder_,
+ face, oldVertices_, newVertices_ );
+ typename std::vector< const typename TMesh::Vertex* > quad(4);
+
+ assert( faceVertices.size() == 8 );
+
+ // Add an additional vertex right in the center of the rectangle:
+ const typename TMesh::Prop::Quadrilateral& rect =
+ dynamic_cast< const typename TMesh::Prop::Quadrilateral& >(
+ face);
+
+ const typename TMesh::Vertex* centerVertex = &(builder_->addVertex(
+ ( rect.getA() + rect.getC() ) / 2.));
+
+ // Some ASCII-Art:
+ // 5
+ // 6 *---*---* 4 Stars and numbers have the same meaning
+ // | | as in the triangle case.
+ // 7 *---c---* 3 c is also a vertex, it has the special id
+ // | | centerVertex.
+ // 0 *---*---* 2
+ // 1
+ // We need to add the following rectangles:
+ // [0, 1, c, 7], [1, 2, 3, c], [3, 4, 5, c] and [5, 6, 7, c]
+ quad[0] = faceVertices[0]; quad[1] = faceVertices[1];
+ quad[2] = centerVertex; quad[3] = faceVertices[7];
+ builder_->addFace( quad );
+
+ quad[0] = faceVertices[1]; quad[2] = faceVertices[2];
+ quad[3] = faceVertices[3]; quad[4] = centerVertex;
+ builder_->addFace( quad );
+
+ quad[0] = faceVertices[3]; quad[1] = faceVertices[4];
+ quad[2] = faceVertices[5]; quad[3] = centerVertex;
+ builder_->addFace( quad );
+
+ quad[0] = faceVertices[5]; quad[1] = faceVertices[6];
+ quad[2] = faceVertices[7]; quad[3] = centerVertex;
+ builder_->addFace( quad );
+ }
+ };
+
+#if 0
template < class TMesh >
void
RefineFaceUniformlyImpl< TMesh >::exec(
const typename TMesh::Prop::Triangle& face)
{
- std::vector< geoid_t > faceVertexIds =
- addEdgeVerticesForFace( oldMesh_, builder_, face, newVertices_ );
- std::vector< geoid_t > triangle(3);
+ typename std::vector< const typename TMesh::Vertex* > faceVertices =
+ addEdgeVerticesForFace( oldMesh_, builder_,
+ face, oldVertices_, newVertices_ );
+ typename std::vector< const typename TMesh::Vertex* > triangle(3);
- assert( faceVertexIds.size() == 6 );
+ assert( faceVertices.size() == 6 );
// Some ASCII-Art:
// 4
// *
// / \ The big triangle is refined to the small
// 5 *---* 3 ones. The numbers next to the stars are the
- // / \ / \ indices of the appropiate nodes with respect
- // 0 *---*---* 2 to the faceVertexIds vector.
+ // / \ / \ indices of the appropiate nodes with
+ // 0 *---*---* 2 respect to the faceVertices vector.
// 1
// We need to add the following triangles:
// [ 0, 1, 5 ], [ 1, 2, 3 ], [ 1, 3, 5 ] and [ 3, 4, 5 ]
- triangle[0] = faceVertexIds[0];
- triangle[1] = faceVertexIds[1];
- triangle[2] = faceVertexIds[5];
+ triangle[0] = faceVertices[0];
+ triangle[1] = faceVertices[1];
+ triangle[2] = faceVertices[5];
builder_->addFace( triangle );
- triangle[0] = faceVertexIds[1];
- triangle[1] = faceVertexIds[2];
- triangle[2] = faceVertexIds[3];
+ triangle[0] = faceVertices[1];
+ triangle[1] = faceVertices[2];
+ triangle[2] = faceVertices[3];
builder_->addFace( triangle );
- triangle[0] = faceVertexIds[1];
- triangle[1] = faceVertexIds[3];
- triangle[2] = faceVertexIds[5];
+ triangle[0] = faceVertices[1];
+ triangle[1] = faceVertices[3];
+ triangle[2] = faceVertices[5];
builder_->addFace( triangle );
- triangle[0] = faceVertexIds[3];
- triangle[1] = faceVertexIds[4];
- triangle[2] = faceVertexIds[5];
+ triangle[0] = faceVertices[3];
+ triangle[1] = faceVertices[4];
+ triangle[2] = faceVertices[5];
builder_->addFace( triangle );
}
RefineFaceUniformlyImpl< TMesh >::exec(
const typename TMesh::Prop::ConvexQuadrilateral& face)
{
- std::vector< geoid_t > faceVertexIds =
- addEdgeVerticesForFace( oldMesh_, builder_, face, newVertices_ );
- std::vector< geoid_t > quad(4);
+ typename std::vector< const typename TMesh::Vertex* > faceVertices =
+ addEdgeVerticesForFace( oldMesh_, builder_,
+ face, oldVertices_, newVertices_ );
+ typename std::vector< const typename TMesh::Vertex* > quad(4);
- assert( faceVertexIds.size() == 8 );
+ assert( faceVertices.size() == 8 );
// Add an additional vertex right in the center of the rectangle:
const typename TMesh::Prop::Quadrilateral& rect =
dynamic_cast< const typename TMesh::Prop::Quadrilateral& >(
face);
- geoid_t centerVertexId = builder_->addVertex(
- ( rect.getA() + rect.getC() ) / 2.);
+ const typename TMesh::Vertex* centerVertex = &(builder_->addVertex(
+ ( rect.getA() + rect.getC() ) / 2.));
// Some ASCII-Art:
// 5
// 6 *---*---* 4 Stars and numbers have the same meaning
// | | as in the triangle case.
// 7 *---c---* 3 c is also a vertex, it has the special id
- // | | centerVertexId.
+ // | | centerVertex.
// 0 *---*---* 2
// 1
// We need to add the following rectangles:
// [0, 1, c, 7], [1, 2, 3, c], [3, 4, 5, c] and [5, 6, 7, c]
- quad[0] = faceVertexIds[0]; quad[1] = faceVertexIds[1];
- quad[2] = centerVertexId; quad[3] = faceVertexIds[7];
+ quad[0] = faceVertices[0]; quad[1] = faceVertices[1];
+ quad[2] = centerVertex; quad[3] = faceVertices[7];
builder_->addFace( quad );
- quad[0] = faceVertexIds[1]; quad[2] = faceVertexIds[2];
- quad[3] = faceVertexIds[3]; quad[4] = centerVertexId;
+ quad[0] = faceVertices[1]; quad[2] = faceVertices[2];
+ quad[3] = faceVertices[3]; quad[4] = centerVertex;
builder_->addFace( quad );
- quad[0] = faceVertexIds[3]; quad[1] = faceVertexIds[4];
- quad[2] = faceVertexIds[5]; quad[3] = centerVertexId;
+ quad[0] = faceVertices[3]; quad[1] = faceVertices[4];
+ quad[2] = faceVertices[5]; quad[3] = centerVertex;
builder_->addFace( quad );
- quad[0] = faceVertexIds[5]; quad[1] = faceVertexIds[6];
- quad[2] = faceVertexIds[7]; quad[3] = centerVertexId;
+ quad[0] = faceVertices[5]; quad[1] = faceVertices[6];
+ quad[2] = faceVertices[7]; quad[3] = centerVertex;
builder_->addFace( quad );
}
-
+#endif
+ template < class TMesh >
+ class ComputeNewSizeForFaceImpl
+ {
+ HILBERT3D_DISPATCH_PARAMETERS_1( ComputeNewSizeForFaceImpl,
+ void,
+ typename TMesh::Size*, size_ );
+
+ HILBERT3D_SINGLE_DISPATCH_IMPLEMENTATION_FOR( TMesh::Prop::Triangle )
+ {
+ size_->vertices += 6;
+ size_->faces += 4;
+ size_->edges += 12;
+ }
+
+ HILBERT3D_SINGLE_DISPATCH_IMPLEMENTATION_FOR(
+ TMesh::Prop::ConvexQuadrilateral )
+ {
+ size_->vertices += 9;
+ size_->faces += 4;
+ size_->edges += 16;
+ }
+ };
+
+#if 0
template < class TMesh >
void
ComputeNewSizeForFaceImpl< TMesh >::exec(
size_->faces += 4;
size_->edges += 16;
}
+#endif
}
template < class TMesh >
// Add all vertices of the old mesh (in the same order, the ids are
// therefore the same for both meshes):
+ typename std::vector< const typename TMesh::Vertex* > oldVertices;
+ oldVertices.reserve( mesh.getNumberOfVertices() );
for (typename TMesh::ConstVertexIterator vertexIt = mesh.begin_v();
vertexIt != mesh.end_v(); ++vertexIt)
{
- builder.addVertex( *vertexIt );
+ oldVertices.push_back(&(builder.addVertex( *vertexIt )));
}
// Call the refineFaceUniformly functor to actually do the work and
// refine the faces.
- std::vector< geoid_t > newVertices( mesh.getNumberOfEdges(),
- geoid_t_max );
+ typename std::vector< const typename TMesh::Vertex* >
+ newVertices( mesh.getNumberOfEdges(), 0 );
for (typename TMesh::ConstFaceIterator faceIt = mesh.begin_f();
faceIt != mesh.end_f(); ++faceIt)
{
RefineFaceUniformly::Exec( *faceIt,
- typename RefineFaceUniformly::PARAM(mesh, &builder, &newVertices) );
+ typename RefineFaceUniformly::PARAM(mesh, &builder,
+ &oldVertices,&newVertices) );
}
return builder.deliver();
--- /dev/null
+#ifndef HILBERT3D_BOUNDARY_MESH_FACE_RECTANGLE_HPP_GUARD_
+#define HILBERT3D_BOUNDARY_MESH_FACE_RECTANGLE_HPP_GUARD_
+
+#include "../../generic/BaseTypes.hpp"
+#include "Parallelogram.hpp"
+
+namespace boundary_mesh
+{
+ namespace face
+ {
+ namespace priv
+ {
+ template < class TFaceBase, class TMesh >
+ class GenericRectangle__
+ : public TFaceBase
+ {
+ public:
+ static bool is(
+ const typename std::vector< const typename TMesh::Vertex* >
+ vertices);
+
+ GenericRectangle__( const typename TMesh::HalfEdge& halfedge );
+ GenericRectangle__( const typename TMesh::HalfEdge& halfedge,
+ geoid_t id );
+ double computeDiameter() const;
+ };
+ }
+
+ template < class TMesh >
+ class Rectangle
+ : public priv::GenericRectangle__<
+ Parallelogram<TMesh>, TMesh >
+ {
+ public:
+ Rectangle( const typename TMesh::HalfEdge& halfedge );
+ };
+
+ template < class TMesh >
+ class RRectangle
+ : public priv::GenericRectangle__<
+ RParallelogram< TMesh >, TMesh >
+ {
+ typedef priv::GenericRectangle__<
+ RParallelogram< TMesh >, TMesh > GenericRectangle;
+
+ public:
+ RRectangle( const typename TMesh::HalfEdge& halfedge, geoid_t id );
+ virtual double computeDiameter() const;
+ };
+
+ template < class TMesh >
+ class NoRectangle
+ : public generic::NullType
+ {};
+ }
+}
+
+#endif
+
--- /dev/null
+#ifndef HILBERT3D_BOUNDARY_MESH_FACE_RECTANGLE_TMPL_CPP_GUARD_
+#define HILBERT3D_BOUNDARY_MESH_FACE_RECTANGLE_TMPL_CPP_GUARD_
+
+#include "Rectangle_tmpl.hpp"
+#include "Parallelogram_tmpl.hpp"
+
+namespace boundary_mesh
+{
+ namespace face
+ {
+ namespace priv
+ {
+ template < class TFaceBase, class TMesh >
+ bool
+ GenericRectangle__< TFaceBase, TMesh >::is(
+ const typename std::vector< const typename TMesh::Vertex* >
+ vertices)
+ {
+ return TFaceBase::is( vertices ) &&
+ (*vertices[1] - *vertices[0]) == (*vertices[2] - *vertices[3]);
+ }
+
+ template < class TFaceBase, class TMesh >
+ GenericRectangle__< TFaceBase, TMesh >::GenericRectangle__(
+ const typename TMesh::HalfEdge& halfedge )
+ : TFaceBase( halfedge )
+ {}
+
+ template < class TFaceBase, class TMesh >
+ GenericRectangle__< TFaceBase, TMesh >::GenericRectangle__(
+ const typename TMesh::HalfEdge& halfedge, geoid_t id)
+ : TFaceBase( halfedge, id )
+ {}
+
+ template < class TFaceBase, class TMesh >
+ double
+ GenericRectangle__< TFaceBase, TMesh >::computeDiameter() const
+ {
+ return (this->getC() - this->getA()).norm();
+ }
+ }
+
+ template < class TMesh >
+ Rectangle< TMesh >::Rectangle(
+ const typename TMesh::HalfEdge& halfedge )
+ : priv::GenericRectangle__< Parallelogram< TMesh >, TMesh >(halfedge)
+ {}
+
+ template < class TMesh >
+ RRectangle< TMesh >::RRectangle(
+ const typename TMesh::HalfEdge& halfedge, geoid_t id )
+ : priv::GenericRectangle__< RParallelogram<TMesh>, TMesh >(halfedge, id)
+ {}
+
+ template < class TMesh >
+ double
+ RRectangle< TMesh >::computeDiameter() const
+ {
+ return GenericRectangle::computeDiameter();
+ }
+ }
+}
+
+#endif
+
--- /dev/null
+#ifndef HILBERT3D_BOUNDARY_MESH_FACE_RECTANGLE_TMPL_HPP_GUARD_
+#define HILBERT3D_BOUNDARY_MESH_FACE_RECTANGLE_TMPL_HPP_GUARD_
+
+#include "Rectangle.hpp"
+#include "Rectangle_tmpl.cpp"
+
+#endif
+
GenericTriangle__( const typename TMesh::HalfEdge& halfedge );
GenericTriangle__( const typename TMesh::HalfEdge& halfedge,
geoid_t id );
+ double computeDiameter() const;
double computeArea() const;
geoid_t getNumberOfVertices() const;
const typename TMesh::Vertex& getA() const;
public:
RTriangle( const typename TMesh::HalfEdge& halfedge, geoid_t id );
+ virtual double computeDiameter() const;
virtual double computeArea() const;
virtual geoid_t getNumberOfVertices() const;
virtual dispatchId_t getDispatchId() const;
const typename TMesh::HalfEdge& halfedge, geoid_t id)
: TFaceBase( halfedge, id )
{}
-
+
+
+ template < class TFaceBase, class TMesh >
+ double
+ GenericTriangle__< TFaceBase, TMesh >::computeDiameter() const
+ {
+ return (getB() - getA()).norm();
+ }
+
template < class TFaceBase, class TMesh >
double
GenericTriangle__< TFaceBase, TMesh >::computeArea() const
: priv::GenericTriangle__< RFace< TMesh >, TMesh >( halfedge, id )
{}
+ template < class TMesh >
+ double
+ RTriangle< TMesh >::computeDiameter() const
+ {
+ return GenericTriangle::computeDiameter();
+ }
+
template < class TMesh >
double
RTriangle< TMesh >::computeArea() const
+++ /dev/null
-#ifdef MESH_LAYER_REFINEMENT_DATA_CPP_GUARD_
-#error
-#else
-#define MESH_LAYER_REFINEMENT_DATA_CPP_GUARD_
-
-#include "RefinementData.hpp"
-
-namespace boundary_mesh {
-namespace layer {
- template < class TMesh >
- Father2Son< TMesh >::ConstFaceIterator::ConstFaceIterator(
- const typename std::list<
- const typename TMesh::traits::Face* >::const_iterator& copy )
- : std::list< const typename TMesh::traits::Face* >::const_iterator(copy)
- {
- }
-
- template < class TMesh >
- const typename TMesh::traits::Face&
- Father2Son< TMesh >::ConstFaceIterator::operator*() const
- {
- return *(std::list< const typename TMesh::traits::Face* >
- ::const_iterator::operator*());
- }
-
- template < class TMesh >
- const typename TMesh::traits::Face*
- Father2Son< TMesh >::ConstFaceIterator::operator->() const
- {
- return std::list< const typename TMesh::traits::Face* >
- ::const_iterator::operator*();
- }
-
- template < class TMesh >
- typename Father2Son< TMesh >::ConstFaceIterator
- Father2Son< TMesh >::begin(const typename TMesh::traits::Face& face) const
- {
- return Father2Son< TMesh >::begin( fatherMesh_.getFaceId( face ) );
- }
-
- template < class TMesh >
- typename Father2Son< TMesh >::ConstFaceIterator
- Father2Son< TMesh >::begin(unsigned int faceId) const
- {
- assert( faceId >= 0 && faceId < relations_.size() );
- return relations_[faceId].begin();
- }
-
- template < class TMesh >
- typename Father2Son< TMesh >::ConstFaceIterator
- Father2Son< TMesh >::end(const typename TMesh::traits::Face& face) const
- {
- return end( fatherMesh_.getFaceId( face ) );
- }
-
- template < class TMesh >
- typename Father2Son< TMesh >::ConstFaceIterator
- Father2Son< TMesh >::end(unsigned int faceId) const
- {
- assert( faceId >= 0 && faceId < relations_.size() );
- return relations_[faceId].end();
- }
-
- template < class TMesh >
- Father2Son< TMesh >::Father2Son( const TMesh& fatherMesh,
- const TMesh& sonMesh, unsigned int fatherFaces )
- : fatherMesh_(fatherMesh), sonMesh_(sonMesh),
- relations_(
- std::vector< std::list<const typename TMesh::traits::Face*> >(
- fatherFaces))
- {
- }
-
- template < class TMesh >
- void
- Father2Son< TMesh >::addRelation(
- const typename TMesh::traits::Face& father,
- const typename TMesh::traits::Face& son)
- {
- relations_[ fatherMesh_.getFaceId( father ) ].push_back( &son );
- }
-
- template < class TMesh >
- const typename TMesh::traits::Face&
- Son2Father< TMesh >::getFather(
- const typename TMesh::traits::Face& son ) const
- {
- return getFather( sonMesh_.getFaceId( son ) );
- }
-
- template < class TMesh >
- const typename TMesh::traits::Face&
- Son2Father< TMesh >::getFather(unsigned int sonId) const
- {
- assert( sonId >= 0 && sonId < sonMesh_.getNumberOfFaces() );
- return *(relations_[ sonId ]);
- }
-
- template < class TMesh >
- Son2Father< TMesh >::Son2Father( const TMesh& fatherMesh,
- const TMesh& sonMesh, unsigned int sonFaces )
- : fatherMesh_(fatherMesh), sonMesh_(sonMesh),
- relations_(std::vector< const typename TMesh::traits::Face* >(
- sonFaces))
- {
- }
-
- template < class TMesh >
- void
- Son2Father< TMesh >::addRelation(
- const typename TMesh::traits::Face& father,
- const typename TMesh::traits::Face& son)
- {
- relations_[ sonMesh_.getFaceId( son ) ] = &father;
- }
-
- template < class TMesh >
- RefinementData< TMesh >::RefinementData(
- TMesh fatherMesh, unsigned int fatherFaces,
- TMesh sonMesh, unsigned int sonFaces,
- enum RefinementDataRequest request )
- : fatherMesh_(fatherMesh), sonMesh_(sonMesh),
- father2son_(0), son2father_(0)
- {
- if (request & RequireFather2Son != 0)
- father2son_ = new Father2Son< TMesh >(
- fatherMesh, sonMesh, fatherFaces);
- if (request & RequireSon2Father != 0)
- son2father_ = new Son2Father< TMesh >(
- fatherMesh, sonMesh, sonFaces);
- }
-
- template < class TMesh >
- RefinementData< TMesh >::~RefinementData()
- {
- if (father2son_ != 0)
- delete father2son_;
- if (son2father_ != 0)
- delete son2father_;
- }
-
- template < class TMesh >
- const TMesh&
- RefinementData< TMesh >::getFatherMesh() const
- {
- return fatherMesh_;
- }
-
- template < class TMesh >
- const TMesh&
- RefinementData< TMesh >::getSonMesh() const
- {
- return sonMesh_;
- }
-
- template < class TMesh >
- const Father2Son< TMesh >&
- RefinementData< TMesh >::father2son() const
- {
- assert( father2son_ != 0 );
- return *father2son_;
- }
-
- template < class TMesh >
- const Son2Father< TMesh >&
- RefinementData< TMesh >::son2father() const
- {
- assert( son2father_ != 0 );
- return *son2father_;
- }
-
- template < class TMesh >
- void
- RefinementData< TMesh >::addRelation(
- const typename TMesh::traits::Face& father,
- const typename TMesh::traits::Face& son)
- {
- if (father2son_ != 0)
- father2son_->addRelation(father, son);
- if (son2father_ != 0)
- son2father_->addRelation(father, son);
- }
-}
-}
-
-#endif
-
+++ /dev/null
-#ifndef MESH_LAYER_REFINEMENT_DATA_HPP_GUARD_
-#define MESH_LAYER_REFINEMENT_DATA_HPP_GUARD_
-
-namespace boundary_mesh {
-namespace layer {
- enum RefinementDataRequest
- {
- RequireNone = 0,
- RequireFather2Son = 1,
- RequireSon2Father = 2,
- RequireBoth = 3,
- };
-
- typedef enum RefinementDataRequest RefinementDataRequest;
-
- template < class TMesh >
- class Father2Son
- {
- template < class T > friend class RefinementData;
-
- public:
- class ConstFaceIterator
- : public std::list<
- const typename TMesh::traits::Face* >::const_iterator
- {
- public:
- ConstFaceIterator( const typename std::list<
- const typename TMesh::traits::Face* >::const_iterator& copy );
- const typename TMesh::traits::Face& operator*() const;
- const typename TMesh::traits::Face* operator->() const;
- };
-
- ConstFaceIterator begin(const typename TMesh::traits::Face& face) const;
- ConstFaceIterator begin(unsigned int faceId) const;
- ConstFaceIterator end(const typename TMesh::traits::Face& face) const;
- ConstFaceIterator end(unsigned int faceId) const;
-
- private:
- // It is forbidden to create an empty Father2Son container or to
- // copy it using either the copy constructor or the assignement operator.
- // To detect these errors early, the methods are declared here but not
- // defined anywhere:
- Father2Son();
- Father2Son< TMesh >& operator=(const Father2Son< TMesh >&);
- Father2Son(const Father2Son< TMesh >&);
-
- Father2Son(const TMesh& fatherMesh, const TMesh& sonMesh,
- unsigned int fatherFaces);
- void addRelation( const typename TMesh::traits::Face& father,
- const typename TMesh::traits::Face& son );
-
- const TMesh& fatherMesh_;
- const TMesh& sonMesh_;
- std::vector< std::list< const typename TMesh::traits::Face* > >
- relations_;
- };
-
- template < class TMesh >
- class Son2Father
- {
- template < class T > friend class RefinementData;
-
- public:
- const typename TMesh::traits::Face&
- getFather( const typename TMesh::traits::Face& son ) const;
- const typename TMesh::traits::Face&
- getFather( unsigned int sonId ) const;
-
- private:
- // It is forbidden to create an empty Son2Father container or to
- // copy it using either the copy constructor or the assignement operator.
- // To detect these errors early, the methods are declared here but not
- // defined anywhere:
- Son2Father();
- Son2Father< TMesh >& operator=(const Son2Father< TMesh >&);
- Son2Father(const Son2Father< TMesh >&);
-
- Son2Father( const TMesh& fatherMesh, const TMesh& sonMesh,
- unsigned int sonFaces );
- void addRelation( const typename TMesh::traits::Face& father,
- const typename TMesh::traits::Face& son );
-
- const TMesh& fatherMesh_;
- const TMesh& sonMesh_;
- std::vector< const typename TMesh::traits::Face* > relations_;
- };
-
- template < class TMesh >
- class RefinementData
- {
- public:
- RefinementData(TMesh father, unsigned int fatherFaces,
- TMesh son, unsigned int sonFaces,
- RefinementDataRequest req);
- ~RefinementData();
-
- const TMesh& getFatherMesh() const;
- const TMesh& getSonMesh() const;
- const Father2Son< TMesh >& father2son() const;
- const Son2Father< TMesh >& son2father() const;
-
- void addRelation( const typename TMesh::traits::Face& father,
- const typename TMesh::traits::Face& son);
-
- private:
- const TMesh fatherMesh_;
- const TMesh sonMesh_;
- Father2Son< TMesh >* father2son_;
- Son2Father< TMesh >* son2father_;
- };
-}
-}
-
-#include "RefinementData.cpp"
-
-#endif
-
namespace boundary_mesh {
typedef unsigned int geoid_t;
-
- const geoid_t geoid_t_max = std::numeric_limits< unsigned int >::max();
}
#endif
namespace generic
{
- struct NullType;
-
struct NullType
{
static const bool isNullType = true;
struct EmptyType
{};
-
- template <int>
- struct WorkAround
- {
- WorkAround(int) {}
- };
}
#endif
#ifndef HILBERT3D_GENERIC_GENERIC_VECTOR_HPP_GUARD_
#define HILBERT3D_GENERIC_GENERIC_VECTOR_HPP_GUARD_
+#include <functional>
#include <ostream>
namespace generic {
const GenericVector< DIM, BaseType, Traits >
operator*(const BaseType, const GenericVector< DIM, BaseType, Traits >&);
+ template< unsigned int DIM, class BaseType, class Traits >
+ bool
+ operator<(
+ const GenericVector< DIM, BaseType, Traits >& lhs,
+ const GenericVector< DIM, BaseType, Traits >& rhs);
+
template < unsigned int DIM, class BaseType, class Traits >
std::ostream&
operator<<( std::ostream& out,
-#ifdef MESH_GENERIC_VERTEX_CPP_GUARD_
-#error "This file must not be included or compiled directly!"
-#else
+#ifndef MESH_GENERIC_VERTEX_CPP_GUARD_
#define MESH_GENERIC_VERTEX_CPP_GUARD_
#include <cassert>
-#include "GenericVector.hpp"
+#include <iostream>
namespace generic {
template < unsigned int DIM, class BaseType, class Traits >
{
for (unsigned int i = 0; i < DIM; ++i)
{
- if (lhs[i] != rhs[i])
+ if (Traits::abs(lhs[i] - rhs[i]) > Traits::eps)
return false;
}
return true;
return result;
}
+template < unsigned int DIM, class BaseType, class Traits >
+bool
+operator<(
+ const GenericVector< DIM, BaseType, Traits >& lhs,
+ const GenericVector< DIM, BaseType, Traits >& rhs)
+{
+ for (unsigned int i = 0; i < DIM; ++i)
+ {
+ if ( lhs[i] < rhs[i] )
+ return true;
+ else if ( lhs[i] > rhs[i] )
+ return false;
+ }
+ return false;
+}
+
template < unsigned int DIM, class BaseType, class Traits >
std::ostream&
operator<<( std::ostream& out,
out << rhs[DIM-1] << " ]";
return out;
}
-
}
#endif
--- /dev/null
+#ifndef HILBERT3D_GENERIC_PTRCOMPARE_HPP_GUARD_
+#define HILBERT3D_GENERIC_PTRCOMPARE_HPP_GUARD_
+
+#include <set>
+
+namespace generic
+{
+ template < class T > struct PtrObjectLess
+ : public std::binary_function< T*, T*, bool >
+ {
+ bool operator()(const T* lhs, const T* rhs)
+ {
+ return *lhs < *rhs;
+ }
+ };
+
+ template < class T > struct PtrObjectEqual
+ : public std::binary_function< T*, T*, bool >
+ {
+ bool operator()(const T* lhs, const T* rhs)
+ {
+ return *lhs == *rhs;
+ }
+ };
+
+ template < class TSet, class TObject >
+ class SetInsertFunctor
+ {
+ public:
+ SetInsertFunctor( TSet* set )
+ : set_(set) {}
+ void operator()(const TObject& o) { set_->insert(&o); }
+ private:
+ TSet* set_;
+ };
+}
+
+#endif
+
--- /dev/null
+#ifndef HILBERT3D_GENERIC_REFERENCESEMANTICSFORPTRVECTORCONSTITERATOR_HPP_GUARD_
+#define HILBERT3D_GENERIC_REFERENCESEMANTICSFORPTRVECTORCONSTITERATOR_HPP_GUARD_
+
+#include <iterator>
+#include <boost/type_traits/remove_pointer.hpp>
+
+namespace hilbert3d
+{
+ namespace generic
+ {
+ template < class TVector >
+ class ReferenceSemanticsForPtrVectorConstIterator
+ : public std::iterator< std::input_iterator_tag,
+ typename boost::remove_pointer<typename TVector::value_type>::type >
+ {
+ typedef
+ typename boost::remove_pointer<typename TVector::value_type>::type
+ NewValueType;
+
+ public:
+ ReferenceSemanticsForPtrVectorConstIterator(
+ const typename TVector::const_iterator& iterator)
+ : iterator_(iterator)
+ {}
+
+ ReferenceSemanticsForPtrVectorConstIterator&
+ operator++()
+ {
+ ++iterator_;
+ }
+
+ bool
+ operator==(
+ const ReferenceSemanticsForPtrVectorConstIterator& rhs) const
+ {
+ return iterator_ == rhs.iterator_;
+ }
+
+ bool
+ operator!=(
+ const ReferenceSemanticsForPtrVectorConstIterator& rhs) const
+ {
+ return iterator_ != rhs.iterator_;
+ }
+
+ const NewValueType&
+ operator*() const
+ {
+ return **iterator_;
+ }
+
+ const NewValueType*
+ operator->() const
+ {
+ return *iterator_;
+ }
+
+ private:
+ typename TVector::const_iterator iterator_;
+ };
+ }
+}
+
+#endif
+
--- /dev/null
+#ifndef HILBERT3D_GENERIC_SINGLEELEMENTITERATOR_HPP_GUARD_
+#define HILBERT3D_GENERIC_SINGLEELEMENTITERATOR_HPP_GUARD_
+
+#include <iterator>
+
+namespace hilbert3d
+{
+ namespace generic
+ {
+ template < class T >
+ class SingleElementIterator
+ : public std::iterator< std::input_iterator_tag, T >
+ {
+ public:
+ SingleElementIterator()
+ : elementPtr_(0)
+ {}
+ SingleElementIterator( const T& element )
+ : elementPtr_(&element)
+ {}
+ SingleElementIterator& operator++()
+ {
+ assert(elementPtr_ != 0);
+ elementPtr_ = 0;
+ return *this;
+ }
+ bool operator==(const SingleElementIterator& rhs) const
+ {
+ elementPtr_ == rhs.elementPtr_;
+ }
+ bool operator!=(const SingleElementIterator& rhs) const
+ {
+ elementPtr_ != rhs.elementPtr_;
+ }
+ const T& operator*() const
+ {
+ assert(elementPtr_ != 0);
+ return *elementPtr_;
+ }
+ const T* operator->() const
+ {
+ assert(elementPtr_ != 0);
+ return elementPtr_;
+ }
+
+ private:
+ const T* elementPtr_;
+ };
+ }
+}
+
+#endif
+
--- /dev/null
+#ifndef HILBERT3D_GENERIC_TESTING_HPP_GUARD_
+#define HILBERT3D_GENERIC_TESTING_HPP_GUARD_
+
+namespace testing
+{
+ template < class TMesh > class Tester;
+}
+
+#endif
+
--- /dev/null
+#ifndef HILBERT3D_GENERIC_TYPEMAP_HPP_GUARD_
+#define HILBERT3D_GENERIC_TYPEMAP_HPP_GUARD_
+
+#include <map>
+#include <loki/LokiTypeInfo.h>
+
+namespace hilbert3d
+{
+namespace generic
+{
+ template < class TValue >
+ class TypeMap
+ {
+ public:
+ TypeMap();
+
+ template < class TKey >
+ void insert( const TValue& value );
+
+ const TValue& get( const ::Loki::TypeInfo& type ) const;
+
+ private:
+ std::map< ::Loki::TypeInfo, TValue > map_;
+ };
+}
+}
+
+#endif
+
--- /dev/null
+#ifndef HILBERT3D_GENERIC_TYPEMAP_TMPL_CPP_GUARD_
+#define HILBERT3D_GENERIC_TYPEMAP_TMPL_CPP_GUARD_
+
+#include "TypeMap_tmpl.hpp"
+#include <typeinfo>
+
+namespace hilbert3d
+{
+namespace generic
+{
+ template < class TValue >
+ TypeMap< TValue >::TypeMap()
+ : map_( std::map< ::Loki::TypeInfo, TValue >() )
+ {}
+
+ template < class TValue >
+ template < class TKey >
+ void
+ TypeMap< TValue >::insert( const TValue& value )
+ {
+ if ( typeid( TKey ) != typeid( ::Loki::NullType ) )
+ {
+ map_.insert( std::pair< ::Loki::TypeInfo, TValue >(
+ typeid( TKey ), value ));
+ }
+ }
+
+ template < class TValue >
+ const TValue&
+ TypeMap< TValue >::get(
+ const ::Loki::TypeInfo& type) const
+ {
+ typename std::map< ::Loki::TypeInfo, TValue >::const_iterator it =
+ map_.find( typeid( type ) );
+ // XXX: Potentially dangerous, it might be equal to map_.end().
+ return it->second;
+ }
+}
+}
+
+#endif
+
--- /dev/null
+#ifndef HILBERT3D_GENERIC_TYPEMAP_TMPL_HPP_GUARD_
+#define HILBERT3D_GENERIC_TYPEMAP_TMPL_HPP_GUARD_
+
+#include "TypeMap.hpp"
+#include "TypeMap_tmpl.cpp"
+
+#endif
+
typedef boundary_mesh::FlexibleMesh BoundaryMesh;
-#include "spaces/P0Space.hpp" // MK: warum muss dieses include nach dem typedefine in zeile 6 stehen?? sonst gehts nämlich nicht...
+//#include "spaces/P0Space.hpp" // MK: warum muss dieses include nach dem typedefine in zeile 6 stehen?? sonst gehts nämlich nicht...
#endif
/usr/local/include/HLib/surfacebem.h /usr/local/include/HLib/bem3d.h \
/usr/local/include/HLib/h2virtual.h /usr/local/include/HLib/aca.h \
/usr/local/include/HLib/quadrature2d.h ../HLibOperator_tmpl.cpp \
- ../spaces/P0Space.hpp TriangleIntegrator.hpp
+ ../spaces/P0Space.hpp TriangleIntegrator.hpp SLPrectangle.hpp
SimpleLayerPotential.hpp:
../spaces/P0Space.hpp:
TriangleIntegrator.hpp:
+
+SLPrectangle.hpp:
--- /dev/null
+#include "DoubleLayerPotential.hpp"
+#include "../boundary_mesh/FaceDispatch.hpp"
+#include "../spaces/P0Space.hpp"
+#include "../spaces/P1Space.hpp"
+#include "TriangleIntegrator.hpp"
+#include "../generic/Testing.hpp"
+
+#include <cmath>
+
+namespace laplace
+{
+ template < class TMesh >
+ class ComputeDoubleLayerPotentialEntryComponentImpl
+ {
+ friend class testing::Tester< TMesh >;
+
+ class TriangleHelpers
+ {
+ static double remainingIntegralHelper(
+ double A, double B, double G,
+ double alpha, double s, double p, double q,
+ double u_x, double s_x, double s_tau,
+ int sgn)
+ {
+ double u_x_sgn = (u_x > 0.) - (u_x < 0.);
+ double v = (std::sqrt( (1+alpha*alpha)*(s-p)*(s-p)+q*q ) - q) /
+ (std::sqrt(1+alpha*alpha) * (s-p));
+ return -sgn * .5 * u_x * std::log(v*v+A*v+B) +
+ sgn * (s_tau - s_x) * u_x_sgn
+ * std::atan( (2*v+A)/(2*G) );
+ }
+
+ static double remainingIntegral(
+ double alpha, double s, double p, double q,
+ double u_x, double s_x, double t_x, double s_tau)
+ {
+ double A1 = 2*alpha*std::sqrt(1+alpha*alpha)*q;
+ double A2 = (1+alpha*alpha)*q - (alpha*s_x - t_x);
+ double B1 = 2*alpha*(t_x - alpha*s_x);
+ double B2 = std::sqrt(1+alpha*alpha)*(t_x - alpha*s_x + q);
+ double G1 = std::sqrt(B1 - .25 * A1*A1); // XXX: Potential weakness.
+ double G2 = std::sqrt(B2 - .25 * A2*A2);
+ return 2*(u_x / (u_x*u_x + alpha*alpha*q*q)) * (
+ remainingIntegralHelper( A1, B1, G1, alpha, s, p, q,
+ u_x, s_x, s_tau, 1)
+ + remainingIntegralHelper( A2, B2, G2, alpha, s, p, q,
+ u_x, s_x, s_tau, -1));
+ }
+
+ static double computeF(
+ double s, double alpha,
+ double u_x, double s_x, double t_x,
+ double s_tau)
+ {
+ double p = (alpha * t_x + s_x) / std::log( 1+alpha*alpha );
+ double q = std::sqrt(u_x*u_x +
+ (t_x-alpha*s_x)*(t_x-alpha*s_x) / (1+alpha*alpha));
+ return u_x * remainingIntegral(alpha, s, p, q, u_x, s_x, t_x, s_tau)
+ - (u_x * alpha / std::sqrt(1+alpha*alpha) *
+ std::log( std::sqrt(1+alpha*alpha) * (s-p)
+ + std::sqrt((1+alpha*alpha)*(s-p)*(s-p)+q*q) ));
+ }
+
+ public:
+ static double computeLocalContributionDi(
+ const typename TMesh::Prop::Triangle& tau,
+ const typename TMesh::UVertex& x)
+ {
+ typename TMesh::UVertex r2 = tau.getC() - tau.getB();
+ double t_tau = r2.norm();
+ r2 /= t_tau;
+ double t_star = ( tau.getA() - tau.getB() ) * r2;
+ const typename TMesh::UVertex x_star = tau.getB() + t_star*r2;
+ typename TMesh::UVertex r1 = x_star - tau.getA();
+ double s_tau = r1.norm();
+ r1 /= s_tau;
+ const typename TMesh::UVertex n = TMesh::UVertex::crossProduct(r1,r2);
+ double alpha1 = - t_star / s_tau;
+ double alpha2 = (t_tau - t_star) / s_tau;
+ double s_x = (x-tau.getA()) * r1;
+ double t_x = (x-tau.getA()) * r2;
+ double u_x = (x-tau.getA()) * n;
+
+ return .25 * M_PI * (
+ computeF( s_tau, alpha2, u_x, s_x, t_x, s_tau )
+ - computeF( 0., alpha2, u_x, s_x, t_x, s_tau )
+ - computeF( s_tau, alpha1, u_x, s_x, t_x, s_tau )
+ + computeF( 0, alpha1, u_x, s_x, t_x, s_tau ));
+ }
+ };
+
+ HILBERT3D_DISPATCH_PARAMETERS_0(
+ ComputeDoubleLayerPotentialEntryComponentImpl,double);
+
+ HILBERT3D_DOUBLE_DISPATCH_IMPLEMENTATION_FOR(
+ TMesh::Prop::Triangle, TMesh::Prop::Triangle)
+ {
+ TriangleIntegrator integrator;
+
+ if ( face1.computeArea() < face2.computeArea() )
+ {
+ return integrator.integrate( face1, face2,
+ TriangleHelpers::computeLocalContributionDi);
+ }
+ else
+ {
+ return integrator.integrate( face2, face1,
+ TriangleHelpers::computeLocalContributionDi);
+ }
+ }
+
+ HILBERT3D_DOUBLE_DISPATCH_IMPLEMENTATION_FOR(
+ TMesh::Face, TMesh::Face)
+ {
+ assert(0);
+ }
+ };
+
+ DoubleLayerPotential::DoubleLayerPotential(
+ const space::P1Space<BoundaryMesh>& ansatzSpace,
+ const space::P0Space& testSpace)
+ : HLibOperator< space::P1Space<BoundaryMesh>, space::P0Space >(
+ ansatzSpace, testSpace, DoubleLayerPotential::computeEntry)
+ {}
+
+ DoubleLayerPotential::~DoubleLayerPotential()
+ {}
+
+ double
+ DoubleLayerPotential::computeEntry(
+ const space::P1Space<BoundaryMesh>::Element& ansatz,
+ const space::P0Space::Element& test)
+ {
+ typedef boundary_mesh::DoubleFaceDispatcher<
+ ComputeDoubleLayerPotentialEntryComponentImpl< BoundaryMesh >,
+ BoundaryMesh, double >
+ ComputeDoubleLayerPotentialEntryComponent;
+
+ double sum = 0.;
+ const BoundaryMesh::Prop::Face& testFace = test.getSupport();
+ for ( space::P1Space<BoundaryMesh>::Element::ConstFaceIterator
+ ansatzIt = ansatz.begin(); ansatzIt != ansatz.end(); ++ansatzIt)
+ {
+ sum += ComputeDoubleLayerPotentialEntryComponent::Exec(
+ testFace, *ansatzIt,
+ ComputeDoubleLayerPotentialEntryComponent::PARAM());
+ }
+
+ return sum;
+ }
+}
+
--- /dev/null
+#ifndef HILBERT3D_LAPLACE_DOUBLELAYERPOTENTIAL_HPP_GUARD_
+#define HILBERT3D_LAPLACE_DOUBLELAYERPOTENTIAL_HPP_GUARD_
+
+#include "../hilbert.hpp"
+#include "../HLibOperator.hpp"
+#include "../spaces/P0Space.hpp"
+#include "../spaces/P1Space.hpp"
+
+namespace laplace
+{
+ template < class TMesh = BoundaryMesh >
+ class ComputeDoubleLayerPotentialEntry;
+
+ class DoubleLayerPotential
+ : public HLibOperator< space::P1Space<BoundaryMesh>, space::P0Space >
+ {
+ public:
+ DoubleLayerPotential(
+ const space::P1Space<BoundaryMesh>& ansatzSpace,
+ const space::P0Space& testSpace);
+ virtual ~DoubleLayerPotential();
+
+ private:
+ static double computeEntry(
+ const space::P1Space<BoundaryMesh>::Element& ansatz,
+ const space::P0Space::Element& test);
+ };
+}
+
+#endif
+
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
$(top_srcdir)/m4/ax_boost_base.m4 \
$(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
- $(top_srcdir)/m4/ax_lapack.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
$(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run aclocal-1.11
AMTAR = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run tar
+AM_CXXFLAGS =
+AM_LDFLAGS =
AUTOCONF = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoconf
AUTOHEADER = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoheader
AUTOMAKE = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run automake-1.11
BOOST_ROOT_PATH = /usr
CC = gcc
CCDEPMODE = depmode=gcc3
-CFLAGS = -g -O2
+CFLAGS = -I/usr/local/include
CPP = gcc -E
CPPFLAGS =
CXX = g++
LDFLAGS =
LIBOBJS =
LIBS =
+LOKI_CPPFLAGS = -I/usr/local/include
+LOKI_LDFLAGS = -L/usr/local/lib
+LOKI_ROOT_PATH = /usr/local
LTLIBOBJS =
MAKEINFO = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run makeinfo
MKDIR_P = /bin/mkdir -p
../spaces/P0Space.hpp
testLaplace_LDADD = $(BOOST_REGEX_LIB) ../boundary_mesh/libhilbert-mesh.a ../spaces/libhilbert-spaces.a $(HLIB_LDFLAGS) $(HLIB_LIB) $(BLAS_LIBS) $(LAPACK_LIBS) $(LIBS) $(FLIBS)
testLaplace_CPPFLAGS = $(CPPFLAGS) $(HLIB_CPPFLAGS)
-
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
$(top_srcdir)/m4/ax_boost_base.m4 \
$(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
- $(top_srcdir)/m4/ax_lapack.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
$(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
+AM_CXXFLAGS = @AM_CXXFLAGS@
+AM_LDFLAGS = @AM_LDFLAGS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
+LOKI_CPPFLAGS = @LOKI_CPPFLAGS@
+LOKI_LDFLAGS = @LOKI_LDFLAGS@
+LOKI_ROOT_PATH = @LOKI_ROOT_PATH@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
#include "TriangleIntegrator.hpp"
#include "SLPrectangle.hpp" // Bibliothek fuer achsenorientierte Rechtecke
+
#include <fstream>
+#include <cmath>
+
+#define eps 1e-9
using namespace laplace;
-SimpleLayerPotential::SimpleLayerPotential(const space::P0Space& space) :
- HLibOperator<space::P0Space, space::P0Space, SymmetricMatrix> (
- space, space, SimpleLayerPotential::computeEntry) {
+SimpleLayerPotential::SimpleLayerPotential(const space::P0Space& space)
+ : HLibOperator< space::P0Space, space::P0Space, SymmetricMatrix >(
+ space, space, SimpleLayerPotential::computeEntry)
+{
}
-SimpleLayerPotential::~SimpleLayerPotential() {
+SimpleLayerPotential::~SimpleLayerPotential()
+{
}
-template<class TMesh>
-double ComputeSimpleLayerPotentialEntry<TMesh>::exec(
- const typename TMesh::Prop::Triangle& f1,
- const typename TMesh::Prop::Triangle& f2) const {
- TriangleIntegrator integrator = TriangleIntegrator();
-
- if (f1.computeArea() < f2.computeArea()) {
- return integrator.integrate(f1, f2, computeInnerIntegralForTriangles);
- } else {
- return integrator.integrate(f2, f1, computeInnerIntegralForTriangles);
- }
+template < class TMesh >
+double ComputeSimpleLayerPotentialEntry< TMesh >::exec(
+ const typename TMesh::Prop::Triangle& f1,
+ const typename TMesh::Prop::Triangle& f2) const
+{
+ TriangleIntegrator integrator = TriangleIntegrator();
+
+ if ( f1.computeArea() < f2.computeArea() )
+ {
+ return integrator.integrate( f1, f2,
+ computeInnerIntegralForTriangles);
+ }
+ else
+ {
+ return integrator.integrate( f2, f1,
+ computeInnerIntegralForTriangles);
+ }
}
-template<class TMesh>
-double ComputeSimpleLayerPotentialEntry<TMesh>::exec(
- const typename TMesh::Prop::Parallelogram& f1,
- const typename TMesh::Prop::Parallelogram& f2) const {
+template < class TMesh >
+double ComputeSimpleLayerPotentialEntry< TMesh >::exec(
+ const typename TMesh::Prop::Parallelogram& f1,
+ const typename TMesh::Prop::Parallelogram& f2) const
+{
// Zwischenvariable fuer die Loesung (kann fuer geschwindigkeit entfernt werden)
double sol = NAN;
// Flaechenstueck 1
- const typename TMesh::Vertex& xa = f1.getA() - f1.getB();
- const typename TMesh::Vertex& xb = f1.getA() - f1.getD();
- const typename TMesh::Vertex& xn = f1.getA() * f1.getD(); //todo Kreuzprodukt!?
+ const typename TMesh::UVertex& xa = f1.getB() - f1.getA();
+ const typename TMesh::UVertex& xb = f1.getD() - f1.getA();
+ const typename TMesh::UVertex& xn = TMesh::UVertex::crossProduct(xa, xb);
// Flaechenstueck 2
- const typename TMesh::Vertex& ya = f2.getA() - f1.getB();
- const typename TMesh::Vertex& yb = f2.getA() - f1.getD();
- const typename TMesh::Vertex& yn = f2.getA() * f2.getD(); //todo Kreuzprodukt!?
+ const typename TMesh::UVertex& ya = f2.getB() - f1.getA();
+ const typename TMesh::UVertex& yb = f2.getD() - f1.getA();
+ const typename TMesh::UVertex& yn = TMesh::UVertex::crossProduct(ya, yb);
// Abstand zwischen den Stuecken (Achtung) abstand von den beiden "kleinsten" Ecken
- const typename TMesh::Vertex& d = NULL; //todo new???
+ typename TMesh::UVertex d;
//Variablen fuer LageInformationen
int rx, rxa, rxb, ry, rya, ryb;
//kleinste Ecke finden und fuer \delta verwenden
if (xa[rxa] > 0) {
if (xb[rxb] > 0) {
- d = -f1.getA;
+ d -= f1.getA();
} else {
- d = -f1.getD;
+ d -= f1.getD();
}
} else {
if (xb[rxb] > 0) {
- d = -f1.getB;
+ d -= f1.getB();
} else {
- d = -f1.getC;
+ d -= f1.getC();
}
}
//kleinste Ecke finden und fuer \delta verwenden
if (ya[rya] > 0) {
if (yb[ryb] > 0) {
- d += f2.getA; //todo += definiert??? sonst d = d + ...
+ d += f2.getA(); //todo += definiert??? sonst d = d + ...
} else {
- d += f2.getD; //todo += definiert??? sonst d = d + ...
+ d += f2.getD(); //todo += definiert??? sonst d = d + ...
}
} else {
if (yb[ryb] > 0) {
- d += f2.getB; //todo += definiert??? sonst d = d + ...
+ d += f2.getB(); //todo += definiert??? sonst d = d + ...
} else {
- d += f2.getC; //todo += definiert??? sonst d = d + ...
+ d += f2.getC(); //todo += definiert??? sonst d = d + ...
}
}
sol /= 2.;
}
- return sol / (4. * PI);
+ return sol / (4. * M_PI);
}
double SimpleLayerPotential::computeEntry(const space::P0Space::Element &e1,
ComputeSimpleLayerPotentialEntry<BoundaryMesh> ());
}
-template<class TMesh>
-double ComputeSimpleLayerPotentialEntry<TMesh>::computeInnerIntegralForTriangles(
- const typename TMesh::Prop::Triangle& tau,
- const typename TMesh::UVertex& x) {
- BoundaryMesh::Face::ConstVertexIterator vIt = tau.begin_v();
- const BoundaryMesh::UVertex& x1 = *vIt;
- ++vIt;
- const BoundaryMesh::UVertex& x2 = *vIt;
- ++vIt;
- const BoundaryMesh::UVertex& x3 = *vIt;
- ++vIt;
-
- // determine a local orthogonal coordinate system (r1,r2,n) on the triangle tau
- double t_tau = (x3 - x2).norm();
- BoundaryMesh::UVertex r2 = (x3 - x2) / t_tau;
- double t_star = (x1 - x2) * r2;
-
- BoundaryMesh::UVertex r1 = (x2 + t_star * r2 - x1);
- double s_tau = r1.norm();
- r1 = r1 / s_tau;
-
- BoundaryMesh::UVertex n = BoundaryMesh::Vertex::crossProduct(r1, r2);
-
- // determine necessary information
- double sx = (x - x1) * r1;
- double tx = (x - x1) * r2;
- double ux = (x - x1) * n;
- double a1 = -t_star / s_tau;
- double a2 = (t_tau - t_star) / s_tau;
-
- // analytic computation of inner integral
- return 0.25 * (F(s_tau, a2, sx, tx, ux) - F(0, a2, sx, tx, ux) - F(s_tau,
- a1, sx, tx, ux) + F(0, a1, sx, tx, ux)) / M_PI;
+template < class TMesh >
+double
+ComputeSimpleLayerPotentialEntry< TMesh >::computeInnerIntegralForTriangles(
+ const typename TMesh::Prop::Triangle& tau,
+ const typename TMesh::UVertex& x)
+{
+ BoundaryMesh::Face::ConstVertexIterator vIt = tau.begin_v();
+ const BoundaryMesh::UVertex& x1 = *vIt; ++vIt;
+ const BoundaryMesh::UVertex& x2 = *vIt; ++vIt;
+ const BoundaryMesh::UVertex& x3 = *vIt; ++vIt;
+
+ // determine a local orthogonal coordinate system (r1,r2,n) on the triangle tau
+ double t_tau = (x3-x2).norm();
+ BoundaryMesh::UVertex r2 = (x3-x2)/t_tau;
+ double t_star=(x1-x2)*r2;
+
+ BoundaryMesh::UVertex r1 = (x2+(t_star*r2)-x1);
+ double s_tau = r1.norm();
+ r1 = r1 / s_tau;
+
+ BoundaryMesh::UVertex n = BoundaryMesh::Vertex::crossProduct(r1,r2);
+
+ // determine necessary information
+ double sx = (x-x1)*r1;
+ double tx = (x-x1)*r2;
+ double ux = (x-x1)*n;
+ double a1 = -t_star/s_tau;
+ double a2 = (t_tau-t_star)/s_tau;
+
+ // analytic computation of inner integral
+ //return tau.computeArea(); // this is the identity
+ return 0.25*(F(s_tau,a2,sx,tx,ux) - F(0.,a2,sx,tx,ux)
+ - F(s_tau,a1,sx,tx,ux) + F(0.,a1,sx,tx,ux))/M_PI;
}
-template<class TMesh>
-double ComputeSimpleLayerPotentialEntry<TMesh>::F(double s, double a,
- double sx, double tx, double ux) {
- double p = (a * tx + sx) / (1 + a * a);
- double q = ux * ux + (tx - a * sx) * (tx - a * sx) / (1 + a * a);
-
- return (s - sx) * log(
- a * s - tx
- + sqrt(
- (s - sx) * (s - sx) + (a * s - tx) * (a * s - tx)
- + ux * ux)) - s + (a * sx - tx) * log(
- sqrt(1 + a * a) * (s - p) + sqrt(
- (1 + a * a) * (s - p) * (s - p) + q * q)) / sqrt(q + a * a)
- + 2 * ux * atan(
- ((q - (a * sx - tx) / (1 + a * a)) * sqrt(
- (1 + a * a) * (s - p) * (s - p) + q * q) + (a * s
- - tx - q) * q) / ((s - p) * ux));
+template < class TMesh >
+double
+ComputeSimpleLayerPotentialEntry< TMesh >::F(
+ double s, double a, double sx, double tx, double ux)
+{
+ double p = (a*tx+sx)/(1.+a*a);
+ double q = sqrt(ux*ux + ((tx-a*sx)*(tx-a*sx)/(1.+a*a)));
+
+ double tmp = ((q-(a*sx-tx)/(1.+a*a))*sqrt((1.+a*a)*(s-p)*(s-p)+q*q)
+ + (a*s-tx-q)*q)/(s-p);
+ double aux1 = 0.;
+ double aux2 = 0.;
+ double aux3 = 0.;
+
+ if ( fabs(ux) <= eps )
+ aux1 = 0.;
+ else {
+ aux1 = tmp/ux;
+ if ( fabs(s-p) < eps )
+ if ( aux1 > 0 )
+ aux1 = ux*M_PI;
+ else
+ aux1 = -ux*M_PI;
+ else
+ aux1 = 2*ux*atan( aux1/(s-p) );
+
+ }
+
+ if ( fabs(q) < eps )
+ aux2 = 0.;
+ else
+ aux2 = (a*sx-tx)*log(sqrt(1.+a*a)*(s-p)
+ + sqrt((1.+a*a)*(s-p)*(s-p) + q*q))/sqrt(1.+a*a);
+
+ if ( fabs(s-sx) < eps )
+ aux3 = 0.;
+ else
+ aux3 = (s-sx)*log(a*s - tx + sqrt((s-sx)*(s-sx) + (a*s-tx)*(a*s-tx) + ux*ux));
+
+ return aux3 - s + aux2 + aux1;
}
-void fill_supermatrix_aca_OLD(supermatrix* A, const cluster* row,
- const cluster* col, void *data,
- double(*compute_entry)(int i, int j, void* data), double aca_eps) {
- // std::cerr << "*** fill_supermatrix_aca" << std::endl;
-
- fullmatrix* f = A->f;
- rkmatrix* r = A->r;
- int i, j;
- int rank;
-
- if (f != NULL) { // fill fullmatrix block
- // std::cerr << "*** full matrix block" << std::endl;
- for (i = 0; i < row->size; i++) {
- for (j = 0; j < col->size; j++)
- f->e[i + j * row->size] = compute_entry(row->start + i,
- col->start + j, data);
- }
-
- return;
- }
-
- if (r != NULL) { // fill rk-block with aca
- // std::cerr << "*** rank k matrix block" << std::endl;
- if (r->rows > r-> cols)
- rank = r->cols;
- else
- rank = r->rows;
-
- if (rank > ACA_KMAX)
- rank = ACA_KMAX;
-
- r->k = rank;
- r->a = allocate_matrix(r->rows, rank);
- r->b = allocate_matrix(r->cols, rank);
-
- r->kt = newaca_fill_block(r->a, r->b, r->rows, r->cols, row->start,
- col->start, compute_entry, data, rank, aca_eps, ACA_STRATEGY);
-
- r->a = (double*) realloc(r->a, r->rows * r->kt * sizeof(double));
- r->b = (double*) realloc(r->b, r->cols * r->kt * sizeof(double));
- r->k = r->kt;
-
- return;
- }
-
- if (row->sons > 0) {
- if (col->sons > 0) {
- for (int i = 0; i < row->sons; ++i)
- for (int j = 0; j < col->sons; ++j) {
- int s = i + j * row->sons;
- fill_supermatrix_aca_OLD(A->s[s], row->son[i], col->son[j],
- data, compute_entry, aca_eps);
- }
- } else {
- for (int i = 0; i < row->sons; ++i)
- fill_supermatrix_aca_OLD(A->s[i], row->son[i], col, data,
- compute_entry, aca_eps);
- }
- } else {
- for (int i = 0; i < col->sons; ++i)
- fill_supermatrix_aca_OLD(A->s[i], row, col->son[i], data,
- compute_entry, aca_eps);
- }
-}
+//space::DFunc<space::P0Space> SimpleLayerPotential::solve(space::DFunc<space::P0Space>& rhs)
+//{
+// // TODO: test, if space of DFunc rhs is the same as testSpace_ of SLP
+//
+// space::DFunc<space::P0Space> result(ansatzSpace_);
+//
+// std::vector<double> solution = solveGMRes(rhs.getCoeff());
+// result.setCoeff(solution);
+//
+// return result;
+//}
+
+//void fill_supermatrix_aca_OLD(supermatrix* A, const cluster* row, const cluster* col, void *data,
+// double (*compute_entry)(int i, int j, void* data), double aca_eps)
+//{
+//// std::cerr << "*** fill_supermatrix_aca" << std::endl;
+//
+// fullmatrix* f = A->f;
+// rkmatrix* r = A->r;
+// int i, j;
+// int rank;
+//
+// if ( f!= NULL ) { // fill fullmatrix block
+//// std::cerr << "*** full matrix block" << std::endl;
+// for ( i=0; i<row->size; i++ ){
+// for ( j=0; j<col->size; j++ )
+// f->e[i+j*row->size] = compute_entry(row->start+i,col->start+j, data);
+// }
+//
+// return;
+// }
+//
+// if ( r!= NULL ) { // fill rk-block with aca
+//// std::cerr << "*** rank k matrix block" << std::endl;
+// if ( r->rows > r-> cols )
+// rank = r->cols;
+// else
+// rank = r->rows;
+//
+// if ( rank > ACA_KMAX )
+// rank = ACA_KMAX;
+//
+// r->k = rank;
+// r->a = allocate_matrix(r->rows,rank);
+// r->b = allocate_matrix(r->cols,rank);
+//
+// r->kt = newaca_fill_block(r->a, r->b, r->rows, r->cols,
+// row->start, col->start,
+// compute_entry, data,
+// rank, aca_eps, ACA_STRATEGY);
+//
+// r->a = (double*) realloc(r->a,r->rows*r->kt*sizeof(double));
+// r->b = (double*) realloc(r->b,r->cols*r->kt*sizeof(double));
+// r->k = r->kt;
+//
+// return;
+// }
+//
+// if(row->sons>0) {
+// if(col->sons>0) {
+// for(int i=0;i<row->sons;++i)
+// for(int j=0;j<col->sons;++j) {
+// int s=i+j*row->sons;
+// fill_supermatrix_aca_OLD(A->s[s],row->son[i],col->son[j],data,compute_entry,aca_eps);
+// }
+// } else {
+// for(int i=0;i<row->sons;++i)
+// fill_supermatrix_aca_OLD(A->s[i],row->son[i],col,data,compute_entry,aca_eps);
+// }
+// } else {
+// for(int i=0;i<col->sons;++i)
+// fill_supermatrix_aca_OLD(A->s[i],row,col->son[i],data,compute_entry,aca_eps);
+// }
+//}
--- /dev/null
+#include "SimpleLayerPotential.hpp"
+
+#include "../spaces/P0Space.hpp"
+#include "TriangleIntegrator.hpp"
+
+<<<<<<< HEAD
+#include "SLPrectangle.hpp" // Bibliothek fuer achsenorientierte Rechtecke
+#include <fstream>
+#include <cmath>
+=======
+//#include "SLPrecangle.hpp"
+
+#include <fstream>
+#include <cmath>
+
+#define eps 1e-9
+>>>>>>> fbf2c7a2574a91a0d425166680a16309b81c59df
+
+using namespace laplace;
+
+SimpleLayerPotential::SimpleLayerPotential(const space::P0Space& space) :
+ HLibOperator<space::P0Space, space::P0Space, SymmetricMatrix> (
+ space, space, SimpleLayerPotential::computeEntry) {
+}
+
+SimpleLayerPotential::~SimpleLayerPotential() {
+}
+
+template<class TMesh>
+double ComputeSimpleLayerPotentialEntry<TMesh>::exec(
+ const typename TMesh::Prop::Triangle& f1,
+ const typename TMesh::Prop::Triangle& f2) const {
+ TriangleIntegrator integrator = TriangleIntegrator();
+
+ if (f1.computeArea() < f2.computeArea()) {
+ return integrator.integrate(f1, f2, computeInnerIntegralForTriangles);
+ } else {
+ return integrator.integrate(f2, f1, computeInnerIntegralForTriangles);
+ }
+}
+
+template<class TMesh>
+double ComputeSimpleLayerPotentialEntry<TMesh>::exec(
+ const typename TMesh::Prop::Parallelogram& f1,
+ const typename TMesh::Prop::Parallelogram& f2) const {
+
+ // Zwischenvariable fuer die Loesung (kann fuer geschwindigkeit entfernt werden)
+ double sol = NAN;
+
+ // Flaechenstueck 1
+ const typename TMesh::UVertex& xa = f1.getB() - f1.getA();
+ const typename TMesh::UVertex& xb = f1.getD() - f1.getA();
+ const typename TMesh::UVertex& xn = TMesh::UVertex::crossProduct(xa, xb);
+
+ // Flaechenstueck 2
+ const typename TMesh::UVertex& ya = f2.getB() - f1.getA();
+ const typename TMesh::UVertex& yb = f2.getD() - f1.getA();
+ const typename TMesh::UVertex& yn = TMesh::UVertex::crossProduct(ya, yb);
+
+ // Abstand zwischen den Stuecken (Achtung) abstand von den beiden "kleinsten" Ecken
+ typename TMesh::UVertex d;
+
+ //Variablen fuer LageInformationen
+ int rx, rxa, rxb, ry, rya, ryb;
+
+ // Lage des ersten Elements ermitteln
+ if (xn[2] != 0)
+ rx = 2;
+ else if (xn[1] != 0)
+ rx = 1;
+ else
+ rx = 0;
+
+ if (xa[2] != 0)
+ rxa = 2;
+ else if (xa[1] != 0)
+ rxa = 1;
+ else
+ rxa = 0;
+
+ if (xb[2] != 0)
+ rxb = 2;
+ else if (xb[1] != 0)
+ rxb = 1;
+ else
+ rxb = 0;
+
+ //kleinste Ecke finden und fuer \delta verwenden
+ if (xa[rxa] > 0) {
+ if (xb[rxb] > 0) {
+ d -= f1.getA();
+ } else {
+ d -= f1.getD();
+ }
+ } else {
+ if (xb[rxb] > 0) {
+ d -= f1.getB();
+ } else {
+ d -= f1.getC();
+ }
+ }
+
+ // Lage des zweiten Elements ermitteln
+ if (yn[2] != 0)
+ ry = 2;
+ else if (yn[1] != 0)
+ ry = 1;
+ else
+ ry = 0;
+
+ if (ya[2] != 0)
+ rya = 2;
+ else if (ya[1] != 0)
+ rya = 1;
+ else
+ rya = 0;
+
+ if (yb[2] != 0)
+ ryb = 2;
+ else if (yb[1] != 0)
+ ryb = 1;
+ else
+ ryb = 0;
+
+ //kleinste Ecke finden und fuer \delta verwenden
+ if (ya[rya] > 0) {
+ if (yb[ryb] > 0) {
+ d += f2.getA(); //todo += definiert??? sonst d = d + ...
+ } else {
+ d += f2.getD(); //todo += definiert??? sonst d = d + ...
+ }
+ } else {
+ if (yb[ryb] > 0) {
+ d += f2.getB(); //todo += definiert??? sonst d = d + ...
+ } else {
+ d += f2.getC(); //todo += definiert??? sonst d = d + ...
+ }
+ }
+
+ if (rx == ry) { // Flaechen sind parallel
+ if (rxa == rya) { // Elemente zeigen in gleiche Richtung
+ sol = quad0Int(F_par, fabs(xa[rxa]), fabs(xb[rxb]), fabs(ya[rxa]),
+ fabs(yb[rxb]), d[rxa], d[rxb], d[rx]);
+ } else { // Elemente zeigen nicht in gleiche Richtung
+ sol = quad0Int(F_par, fabs(xa[rxa]), fabs(xb[rxb]), fabs(yb[rxa]),
+ fabs(ya[rxb]), d[rxa], d[rxb], d[rx]);
+ }
+ } else { // Flaechen sind orthogonal
+ if (rxa == rya) { //Elmente richtig zuordnen
+ sol = quad0Int(F_ort, fabs(xb[rxb]), fabs(xa[rxa]), fabs(ya[rya]),
+ fabs(yb[ryb]), d[rxb], d[rxa], d[rx]);
+ } else if (rxa == ryb) {
+ sol = quad0Int(F_ort, fabs(xb[rxb]), fabs(xa[rxa]), fabs(yb[ryb]),
+ fabs(ya[rya]), d[rxb], d[rxa], d[rx]);
+ } else if (rxb == rya) {
+ sol = quad0Int(F_ort, fabs(xa[rxa]), fabs(xb[rxb]), fabs(ya[rya]),
+ fabs(yb[ryb]), d[rxa], d[rxb], d[rx]);
+ } else {
+ sol = quad0Int(F_ort, fabs(xa[rxa]), fabs(xb[rxb]), fabs(yb[ryb]),
+ fabs(ya[rya]), d[rxa], d[rxb], d[rx]);
+ }
+ sol /= 2.;
+ }
+
+ return sol / (4. * M_PI);
+}
+
+double SimpleLayerPotential::computeEntry(const space::P0Space::Element &e1,
+ const space::P0Space::Element &e2) {
+ typedef boundary_mesh::DoubleFaceDispatcher<
+ ComputeSimpleLayerPotentialEntry<BoundaryMesh> , BoundaryMesh,
+ double> ComputeEntry;
+
+ return ComputeEntry::Exec(e1.getSupport(), e2.getSupport(),
+ ComputeSimpleLayerPotentialEntry<BoundaryMesh> ());
+}
+
+<<<<<<< HEAD
+template<class TMesh>
+double ComputeSimpleLayerPotentialEntry<TMesh>::computeInnerIntegralForTriangles(
+ const typename TMesh::Prop::Triangle& tau,
+ const typename TMesh::UVertex& x) {
+ BoundaryMesh::Face::ConstVertexIterator vIt = tau.begin_v();
+ const BoundaryMesh::UVertex& x1 = *vIt;
+ ++vIt;
+ const BoundaryMesh::UVertex& x2 = *vIt;
+ ++vIt;
+ const BoundaryMesh::UVertex& x3 = *vIt;
+ ++vIt;
+
+ // determine a local orthogonal coordinate system (r1,r2,n) on the triangle tau
+ double t_tau = (x3 - x2).norm();
+ BoundaryMesh::UVertex r2 = (x3 - x2) / t_tau;
+ double t_star = (x1 - x2) * r2;
+
+ BoundaryMesh::UVertex r1 = (x2 + t_star * r2 - x1);
+ double s_tau = r1.norm();
+ r1 = r1 / s_tau;
+
+ BoundaryMesh::UVertex n = BoundaryMesh::Vertex::crossProduct(r1, r2);
+
+ // determine necessary information
+ double sx = (x - x1) * r1;
+ double tx = (x - x1) * r2;
+ double ux = (x - x1) * n;
+ double a1 = -t_star / s_tau;
+ double a2 = (t_tau - t_star) / s_tau;
+
+ // analytic computation of inner integral
+ return 0.25 * (F(s_tau, a2, sx, tx, ux) - F(0, a2, sx, tx, ux) - F(s_tau,
+ a1, sx, tx, ux) + F(0, a1, sx, tx, ux)) / M_PI;
+}
+
+template<class TMesh>
+double ComputeSimpleLayerPotentialEntry<TMesh>::F(double s, double a,
+ double sx, double tx, double ux) {
+ double p = (a * tx + sx) / (1 + a * a);
+ double q = ux * ux + (tx - a * sx) * (tx - a * sx) / (1 + a * a);
+
+ return (s - sx) * log(
+ a * s - tx
+ + sqrt(
+ (s - sx) * (s - sx) + (a * s - tx) * (a * s - tx)
+ + ux * ux)) - s + (a * sx - tx) * log(
+ sqrt(1 + a * a) * (s - p) + sqrt(
+ (1 + a * a) * (s - p) * (s - p) + q * q)) / sqrt(q + a * a)
+ + 2 * ux * atan(
+ ((q - (a * sx - tx) / (1 + a * a)) * sqrt(
+ (1 + a * a) * (s - p) * (s - p) + q * q) + (a * s
+ - tx - q) * q) / ((s - p) * ux));
+}
+
+void fill_supermatrix_aca_OLD(supermatrix* A, const cluster* row,
+ const cluster* col, void *data,
+ double(*compute_entry)(int i, int j, void* data), double aca_eps) {
+ // std::cerr << "*** fill_supermatrix_aca" << std::endl;
+
+ fullmatrix* f = A->f;
+ rkmatrix* r = A->r;
+ int i, j;
+ int rank;
+
+ if (f != NULL) { // fill fullmatrix block
+ // std::cerr << "*** full matrix block" << std::endl;
+ for (i = 0; i < row->size; i++) {
+ for (j = 0; j < col->size; j++)
+ f->e[i + j * row->size] = compute_entry(row->start + i,
+ col->start + j, data);
+ }
+
+ return;
+ }
+
+ if (r != NULL) { // fill rk-block with aca
+ // std::cerr << "*** rank k matrix block" << std::endl;
+ if (r->rows > r-> cols)
+ rank = r->cols;
+ else
+ rank = r->rows;
+
+ if (rank > ACA_KMAX)
+ rank = ACA_KMAX;
+
+ r->k = rank;
+ r->a = allocate_matrix(r->rows, rank);
+ r->b = allocate_matrix(r->cols, rank);
+
+ r->kt = newaca_fill_block(r->a, r->b, r->rows, r->cols, row->start,
+ col->start, compute_entry, data, rank, aca_eps, ACA_STRATEGY);
+
+ r->a = (double*) realloc(r->a, r->rows * r->kt * sizeof(double));
+ r->b = (double*) realloc(r->b, r->cols * r->kt * sizeof(double));
+ r->k = r->kt;
+
+ return;
+ }
+
+ if (row->sons > 0) {
+ if (col->sons > 0) {
+ for (int i = 0; i < row->sons; ++i)
+ for (int j = 0; j < col->sons; ++j) {
+ int s = i + j * row->sons;
+ fill_supermatrix_aca_OLD(A->s[s], row->son[i], col->son[j],
+ data, compute_entry, aca_eps);
+ }
+ } else {
+ for (int i = 0; i < row->sons; ++i)
+ fill_supermatrix_aca_OLD(A->s[i], row->son[i], col, data,
+ compute_entry, aca_eps);
+ }
+ } else {
+ for (int i = 0; i < col->sons; ++i)
+ fill_supermatrix_aca_OLD(A->s[i], row, col->son[i], data,
+ compute_entry, aca_eps);
+ }
+=======
+template < class TMesh >
+double
+ComputeSimpleLayerPotentialEntry< TMesh >::computeInnerIntegralForTriangles(
+ const typename TMesh::Prop::Triangle& tau,
+ const typename TMesh::UVertex& x)
+{
+ BoundaryMesh::Face::ConstVertexIterator vIt = tau.begin_v();
+ const BoundaryMesh::UVertex& x1 = *vIt; ++vIt;
+ const BoundaryMesh::UVertex& x2 = *vIt; ++vIt;
+ const BoundaryMesh::UVertex& x3 = *vIt; ++vIt;
+
+ // determine a local orthogonal coordinate system (r1,r2,n) on the triangle tau
+ double t_tau = (x3-x2).norm();
+ BoundaryMesh::UVertex r2 = (x3-x2)/t_tau;
+ double t_star=(x1-x2)*r2;
+
+ BoundaryMesh::UVertex r1 = (x2+(t_star*r2)-x1);
+ double s_tau = r1.norm();
+ r1 = r1 / s_tau;
+
+ BoundaryMesh::UVertex n = BoundaryMesh::Vertex::crossProduct(r1,r2);
+
+ // determine necessary information
+ double sx = (x-x1)*r1;
+ double tx = (x-x1)*r2;
+ double ux = (x-x1)*n;
+ double a1 = -t_star/s_tau;
+ double a2 = (t_tau-t_star)/s_tau;
+
+ // analytic computation of inner integral
+ //return tau.computeArea(); // this is the identity
+ return 0.25*(F(s_tau,a2,sx,tx,ux) - F(0.,a2,sx,tx,ux)
+ - F(s_tau,a1,sx,tx,ux) + F(0.,a1,sx,tx,ux))/M_PI;
+}
+
+template < class TMesh >
+double
+ComputeSimpleLayerPotentialEntry< TMesh >::F(
+ double s, double a, double sx, double tx, double ux)
+{
+ double p = (a*tx+sx)/(1.+a*a);
+ double q = sqrt(ux*ux + ((tx-a*sx)*(tx-a*sx)/(1.+a*a)));
+
+ double tmp = ((q-(a*sx-tx)/(1.+a*a))*sqrt((1.+a*a)*(s-p)*(s-p)+q*q)
+ + (a*s-tx-q)*q)/(s-p);
+ double aux1 = 0.;
+ double aux2 = 0.;
+ double aux3 = 0.;
+
+ if ( fabs(ux) <= eps )
+ aux1 = 0.;
+ else {
+ aux1 = tmp/ux;
+ if ( fabs(s-p) < eps )
+ if ( aux1 > 0 )
+ aux1 = ux*M_PI;
+ else
+ aux1 = -ux*M_PI;
+ else
+ aux1 = 2*ux*atan( aux1/(s-p) );
+
+ }
+
+ if ( fabs(q) < eps )
+ aux2 = 0.;
+ else
+ aux2 = (a*sx-tx)*log(sqrt(1.+a*a)*(s-p)
+ + sqrt((1.+a*a)*(s-p)*(s-p) + q*q))/sqrt(1.+a*a);
+
+ if ( fabs(s-sx) < eps )
+ aux3 = 0.;
+ else
+ aux3 = (s-sx)*log(a*s - tx + sqrt((s-sx)*(s-sx) + (a*s-tx)*(a*s-tx) + ux*ux));
+
+ return aux3 - s + aux2 + aux1;
+>>>>>>> fbf2c7a2574a91a0d425166680a16309b81c59df
+}
+
+//space::DFunc<space::P0Space> SimpleLayerPotential::solve(space::DFunc<space::P0Space>& rhs)
+//{
+// // TODO: test, if space of DFunc rhs is the same as testSpace_ of SLP
+//
+// space::DFunc<space::P0Space> result(ansatzSpace_);
+//
+// std::vector<double> solution = solveGMRes(rhs.getCoeff());
+// result.setCoeff(solution);
+//
+// return result;
+//}
+
+//void fill_supermatrix_aca_OLD(supermatrix* A, const cluster* row, const cluster* col, void *data,
+// double (*compute_entry)(int i, int j, void* data), double aca_eps)
+//{
+//// std::cerr << "*** fill_supermatrix_aca" << std::endl;
+//
+// fullmatrix* f = A->f;
+// rkmatrix* r = A->r;
+// int i, j;
+// int rank;
+//
+// if ( f!= NULL ) { // fill fullmatrix block
+//// std::cerr << "*** full matrix block" << std::endl;
+// for ( i=0; i<row->size; i++ ){
+// for ( j=0; j<col->size; j++ )
+// f->e[i+j*row->size] = compute_entry(row->start+i,col->start+j, data);
+// }
+//
+// return;
+// }
+//
+// if ( r!= NULL ) { // fill rk-block with aca
+//// std::cerr << "*** rank k matrix block" << std::endl;
+// if ( r->rows > r-> cols )
+// rank = r->cols;
+// else
+// rank = r->rows;
+//
+// if ( rank > ACA_KMAX )
+// rank = ACA_KMAX;
+//
+// r->k = rank;
+// r->a = allocate_matrix(r->rows,rank);
+// r->b = allocate_matrix(r->cols,rank);
+//
+// r->kt = newaca_fill_block(r->a, r->b, r->rows, r->cols,
+// row->start, col->start,
+// compute_entry, data,
+// rank, aca_eps, ACA_STRATEGY);
+//
+// r->a = (double*) realloc(r->a,r->rows*r->kt*sizeof(double));
+// r->b = (double*) realloc(r->b,r->cols*r->kt*sizeof(double));
+// r->k = r->kt;
+//
+// return;
+// }
+//
+// if(row->sons>0) {
+// if(col->sons>0) {
+// for(int i=0;i<row->sons;++i)
+// for(int j=0;j<col->sons;++j) {
+// int s=i+j*row->sons;
+// fill_supermatrix_aca_OLD(A->s[s],row->son[i],col->son[j],data,compute_entry,aca_eps);
+// }
+// } else {
+// for(int i=0;i<row->sons;++i)
+// fill_supermatrix_aca_OLD(A->s[i],row->son[i],col,data,compute_entry,aca_eps);
+// }
+// } else {
+// for(int i=0;i<col->sons;++i)
+// fill_supermatrix_aca_OLD(A->s[i],row,col->son[i],data,compute_entry,aca_eps);
+// }
+//}
+
--- /dev/null
+#include "SimpleLayerPotential.hpp"
+
+#include "../spaces/P0Space.hpp"
+#include "TriangleIntegrator.hpp"
+
+#include "SLPrecangle.hpp"
+
+#include <fstream>
+
+using namespace laplace;
+
+SimpleLayerPotential::SimpleLayerPotential(const space::P0Space& space)
+ : HLibOperator< space::P0Space, space::P0Space, SymmetricMatrix >(
+ space, space, SimpleLayerPotential::computeEntry)
+{
+}
+
+SimpleLayerPotential::~SimpleLayerPotential()
+{
+}
+
+template < class TMesh >
+double ComputeSimpleLayerPotentialEntry< TMesh >::exec(
+ const typename TMesh::Prop::Triangle& f1,
+ const typename TMesh::Prop::Triangle& f2) const
+{
+ TriangleIntegrator integrator = TriangleIntegrator();
+
+ if ( f1.computeArea() < f2.computeArea() )
+ {
+ return integrator.integrate( f1, f2,
+ computeInnerIntegralForTriangles);
+ }
+ else
+ {
+ return integrator.integrate( f2, f1,
+ computeInnerIntegralForTriangles);
+ }
+}
+
+template < class TMesh >
+double ComputeSimpleLayerPotentialEntry< TMesh >::exec(
+ const typename TMesh::Prop::Parallelogram& f1,
+ const typename TMesh::Prop::Parallelogram& f2) const
+{
+
+ const typename TMesh::Vertex& a1 = f1.getA();
+ const typename TMesh::Vertex& a2 = f2.getA();
+
+
+
+
+ return NAN;
+}
+
+double SimpleLayerPotential::computeEntry(
+ const space::P0Space::Element &e1,
+ const space::P0Space::Element &e2)
+{
+ typedef boundary_mesh::DoubleFaceDispatcher<
+ ComputeSimpleLayerPotentialEntry< BoundaryMesh >, BoundaryMesh, double >
+ ComputeEntry;
+
+ return ComputeEntry::Exec( e1.getSupport(), e2.getSupport(),
+ ComputeSimpleLayerPotentialEntry< BoundaryMesh >() );
+}
+
+template < class TMesh >
+double
+ComputeSimpleLayerPotentialEntry< TMesh >::computeInnerIntegralForTriangles(
+ const typename TMesh::Prop::Triangle& tau,
+ const typename TMesh::UVertex& x)
+{
+ BoundaryMesh::Face::ConstVertexIterator vIt = tau.begin_v();
+ const BoundaryMesh::UVertex& x1 = *vIt; ++vIt;
+ const BoundaryMesh::UVertex& x2 = *vIt; ++vIt;
+ const BoundaryMesh::UVertex& x3 = *vIt; ++vIt;
+
+ // determine a local orthogonal coordinate system (r1,r2,n) on the triangle tau
+ double t_tau = (x3-x2).norm();
+ BoundaryMesh::UVertex r2 = (x3-x2)/t_tau;
+ double t_star=(x1-x2)*r2;
+
+ BoundaryMesh::UVertex r1 = (x2+t_star*r2-x1);
+ double s_tau = r1.norm();
+ r1 = r1 / s_tau;
+
+ BoundaryMesh::UVertex n = BoundaryMesh::Vertex::crossProduct(r1,r2);
+
+ // determine necessary information
+ double sx = (x-x1)*r1;
+ double tx = (x-x1)*r2;
+ double ux = (x-x1)*n;
+ double a1 = -t_star/s_tau;
+ double a2 = (t_tau-t_star)/s_tau;
+
+ // analytic computation of inner integral
+ return 0.25*(F(s_tau,a2,sx,tx,ux) - F(0,a2,sx,tx,ux) - F(s_tau,a1,sx,tx,ux) + F(0,a1,sx,tx,ux))/M_PI;
+}
+
+template < class TMesh >
+double
+ComputeSimpleLayerPotentialEntry< TMesh >::F(
+ double s, double a, double sx, double tx, double ux)
+{
+ double p = (a*tx+sx)/(1+a*a);
+ double q = ux*ux + (tx-a*sx)*(tx-a*sx)/(1+a*a);
+
+ return (s-sx)*log(a*s - tx + sqrt((s-sx)*(s-sx) + (a*s-tx)*(a*s-tx) + ux*ux)) - s
+ + (a*sx-tx)*log(sqrt(1+a*a)*(s-p)+sqrt((1+a*a)*(s-p)*(s-p) + q*q))/sqrt(q+a*a)
+ + 2*ux*atan(((q-(a*sx-tx)/(1+a*a))*sqrt((1+a*a)*(s-p)*(s-p)+q*q) + (a*s-tx-q)*q)/((s-p)*ux));
+}
+
+void fill_supermatrix_aca_OLD(supermatrix* A, const cluster* row, const cluster* col, void *data,
+ double (*compute_entry)(int i, int j, void* data), double aca_eps)
+{
+// std::cerr << "*** fill_supermatrix_aca" << std::endl;
+
+ fullmatrix* f = A->f;
+ rkmatrix* r = A->r;
+ int i, j;
+ int rank;
+
+ if ( f!= NULL ) { // fill fullmatrix block
+// std::cerr << "*** full matrix block" << std::endl;
+ for ( i=0; i<row->size; i++ ){
+ for ( j=0; j<col->size; j++ )
+ f->e[i+j*row->size] = compute_entry(row->start+i,col->start+j, data);
+ }
+
+ return;
+ }
+
+ if ( r!= NULL ) { // fill rk-block with aca
+// std::cerr << "*** rank k matrix block" << std::endl;
+ if ( r->rows > r-> cols )
+ rank = r->cols;
+ else
+ rank = r->rows;
+
+ if ( rank > ACA_KMAX )
+ rank = ACA_KMAX;
+
+ r->k = rank;
+ r->a = allocate_matrix(r->rows,rank);
+ r->b = allocate_matrix(r->cols,rank);
+
+ r->kt = newaca_fill_block(r->a, r->b, r->rows, r->cols,
+ row->start, col->start,
+ compute_entry, data,
+ rank, aca_eps, ACA_STRATEGY);
+
+ r->a = (double*) realloc(r->a,r->rows*r->kt*sizeof(double));
+ r->b = (double*) realloc(r->b,r->cols*r->kt*sizeof(double));
+ r->k = r->kt;
+
+ return;
+ }
+
+ if(row->sons>0) {
+ if(col->sons>0) {
+ for(int i=0;i<row->sons;++i)
+ for(int j=0;j<col->sons;++j) {
+ int s=i+j*row->sons;
+ fill_supermatrix_aca_OLD(A->s[s],row->son[i],col->son[j],data,compute_entry,aca_eps);
+ }
+ } else {
+ for(int i=0;i<row->sons;++i)
+ fill_supermatrix_aca_OLD(A->s[i],row->son[i],col,data,compute_entry,aca_eps);
+ }
+ } else {
+ for(int i=0;i<col->sons;++i)
+ fill_supermatrix_aca_OLD(A->s[i],row,col->son[i],data,compute_entry,aca_eps);
+ }
+}
+
--- /dev/null
+#include "SimpleLayerPotential.hpp"
+
+#include "../spaces/P0Space.hpp"
+#include "TriangleIntegrator.hpp"
+
+#include "SLPrectangle.hpp" // Bibliothek fuer achsenorientierte Rechtecke
+#include <fstream>
+#include <cmath>
+
+using namespace laplace;
+
+SimpleLayerPotential::SimpleLayerPotential(const space::P0Space& space) :
+ HLibOperator<space::P0Space, space::P0Space, SymmetricMatrix> (
+ space, space, SimpleLayerPotential::computeEntry) {
+}
+
+SimpleLayerPotential::~SimpleLayerPotential() {
+}
+
+template<class TMesh>
+double ComputeSimpleLayerPotentialEntry<TMesh>::exec(
+ const typename TMesh::Prop::Triangle& f1,
+ const typename TMesh::Prop::Triangle& f2) const {
+ TriangleIntegrator integrator = TriangleIntegrator();
+
+ if (f1.computeArea() < f2.computeArea()) {
+ return integrator.integrate(f1, f2, computeInnerIntegralForTriangles);
+ } else {
+ return integrator.integrate(f2, f1, computeInnerIntegralForTriangles);
+ }
+}
+
+template<class TMesh>
+double ComputeSimpleLayerPotentialEntry<TMesh>::exec(
+ const typename TMesh::Prop::Parallelogram& f1,
+ const typename TMesh::Prop::Parallelogram& f2) const {
+
+ // Zwischenvariable fuer die Loesung (kann fuer geschwindigkeit entfernt werden)
+ double sol = NAN;
+
+ // Flaechenstueck 1
+ const typename TMesh::UVertex& xa = f1.getB() - f1.getA();
+ const typename TMesh::UVertex& xb = f1.getD() - f1.getA();
+ const typename TMesh::UVertex& xn = TMesh::UVertex::crossProduct(xa, xb);
+
+ // Flaechenstueck 2
+ const typename TMesh::UVertex& ya = f2.getB() - f1.getA();
+ const typename TMesh::UVertex& yb = f2.getD() - f1.getA();
+ const typename TMesh::UVertex& yn = TMesh::UVertex::crossProduct(ya, yb);
+
+ // Abstand zwischen den Stuecken (Achtung) abstand von den beiden "kleinsten" Ecken
+ typename TMesh::UVertex d;
+
+ //Variablen fuer LageInformationen
+ int rx, rxa, rxb, ry, rya, ryb;
+
+ // Lage des ersten Elements ermitteln
+ if (xn[2] != 0)
+ rx = 2;
+ else if (xn[1] != 0)
+ rx = 1;
+ else
+ rx = 0;
+
+ if (xa[2] != 0)
+ rxa = 2;
+ else if (xa[1] != 0)
+ rxa = 1;
+ else
+ rxa = 0;
+
+ if (xb[2] != 0)
+ rxb = 2;
+ else if (xb[1] != 0)
+ rxb = 1;
+ else
+ rxb = 0;
+
+ //kleinste Ecke finden und fuer \delta verwenden
+ if (xa[rxa] > 0) {
+ if (xb[rxb] > 0) {
+ d -= f1.getA();
+ } else {
+ d -= f1.getD();
+ }
+ } else {
+ if (xb[rxb] > 0) {
+ d -= f1.getB();
+ } else {
+ d -= f1.getC();
+ }
+ }
+
+ // Lage des zweiten Elements ermitteln
+ if (yn[2] != 0)
+ ry = 2;
+ else if (yn[1] != 0)
+ ry = 1;
+ else
+ ry = 0;
+
+ if (ya[2] != 0)
+ rya = 2;
+ else if (ya[1] != 0)
+ rya = 1;
+ else
+ rya = 0;
+
+ if (yb[2] != 0)
+ ryb = 2;
+ else if (yb[1] != 0)
+ ryb = 1;
+ else
+ ryb = 0;
+
+ //kleinste Ecke finden und fuer \delta verwenden
+ if (ya[rya] > 0) {
+ if (yb[ryb] > 0) {
+ d += f2.getA(); //todo += definiert??? sonst d = d + ...
+ } else {
+ d += f2.getD(); //todo += definiert??? sonst d = d + ...
+ }
+ } else {
+ if (yb[ryb] > 0) {
+ d += f2.getB(); //todo += definiert??? sonst d = d + ...
+ } else {
+ d += f2.getC(); //todo += definiert??? sonst d = d + ...
+ }
+ }
+
+ if (rx == ry) { // Flaechen sind parallel
+ if (rxa == rya) { // Elemente zeigen in gleiche Richtung
+ sol = quad0Int(F_par, fabs(xa[rxa]), fabs(xb[rxb]), fabs(ya[rxa]),
+ fabs(yb[rxb]), d[rxa], d[rxb], d[rx]);
+ } else { // Elemente zeigen nicht in gleiche Richtung
+ sol = quad0Int(F_par, fabs(xa[rxa]), fabs(xb[rxb]), fabs(yb[rxa]),
+ fabs(ya[rxb]), d[rxa], d[rxb], d[rx]);
+ }
+ } else { // Flaechen sind orthogonal
+ if (rxa == rya) { //Elmente richtig zuordnen
+ sol = quad0Int(F_ort, fabs(xb[rxb]), fabs(xa[rxa]), fabs(ya[rya]),
+ fabs(yb[ryb]), d[rxb], d[rxa], d[rx]);
+ } else if (rxa == ryb) {
+ sol = quad0Int(F_ort, fabs(xb[rxb]), fabs(xa[rxa]), fabs(yb[ryb]),
+ fabs(ya[rya]), d[rxb], d[rxa], d[rx]);
+ } else if (rxb == rya) {
+ sol = quad0Int(F_ort, fabs(xa[rxa]), fabs(xb[rxb]), fabs(ya[rya]),
+ fabs(yb[ryb]), d[rxa], d[rxb], d[rx]);
+ } else {
+ sol = quad0Int(F_ort, fabs(xa[rxa]), fabs(xb[rxb]), fabs(yb[ryb]),
+ fabs(ya[rya]), d[rxa], d[rxb], d[rx]);
+ }
+ sol /= 2.;
+ }
+
+ return sol / (4. * M_PI);
+}
+
+double SimpleLayerPotential::computeEntry(const space::P0Space::Element &e1,
+ const space::P0Space::Element &e2) {
+ typedef boundary_mesh::DoubleFaceDispatcher<
+ ComputeSimpleLayerPotentialEntry<BoundaryMesh> , BoundaryMesh,
+ double> ComputeEntry;
+
+ return ComputeEntry::Exec(e1.getSupport(), e2.getSupport(),
+ ComputeSimpleLayerPotentialEntry<BoundaryMesh> ());
+}
+
+template<class TMesh>
+double ComputeSimpleLayerPotentialEntry<TMesh>::computeInnerIntegralForTriangles(
+ const typename TMesh::Prop::Triangle& tau,
+ const typename TMesh::UVertex& x) {
+ BoundaryMesh::Face::ConstVertexIterator vIt = tau.begin_v();
+ const BoundaryMesh::UVertex& x1 = *vIt;
+ ++vIt;
+ const BoundaryMesh::UVertex& x2 = *vIt;
+ ++vIt;
+ const BoundaryMesh::UVertex& x3 = *vIt;
+ ++vIt;
+
+ // determine a local orthogonal coordinate system (r1,r2,n) on the triangle tau
+ double t_tau = (x3 - x2).norm();
+ BoundaryMesh::UVertex r2 = (x3 - x2) / t_tau;
+ double t_star = (x1 - x2) * r2;
+
+ BoundaryMesh::UVertex r1 = (x2 + t_star * r2 - x1);
+ double s_tau = r1.norm();
+ r1 = r1 / s_tau;
+
+ BoundaryMesh::UVertex n = BoundaryMesh::Vertex::crossProduct(r1, r2);
+
+ // determine necessary information
+ double sx = (x - x1) * r1;
+ double tx = (x - x1) * r2;
+ double ux = (x - x1) * n;
+ double a1 = -t_star / s_tau;
+ double a2 = (t_tau - t_star) / s_tau;
+
+ // analytic computation of inner integral
+ return 0.25 * (F(s_tau, a2, sx, tx, ux) - F(0, a2, sx, tx, ux) - F(s_tau,
+ a1, sx, tx, ux) + F(0, a1, sx, tx, ux)) / M_PI;
+}
+
+template<class TMesh>
+double ComputeSimpleLayerPotentialEntry<TMesh>::F(double s, double a,
+ double sx, double tx, double ux) {
+ double p = (a * tx + sx) / (1 + a * a);
+ double q = ux * ux + (tx - a * sx) * (tx - a * sx) / (1 + a * a);
+
+ return (s - sx) * log(
+ a * s - tx
+ + sqrt(
+ (s - sx) * (s - sx) + (a * s - tx) * (a * s - tx)
+ + ux * ux)) - s + (a * sx - tx) * log(
+ sqrt(1 + a * a) * (s - p) + sqrt(
+ (1 + a * a) * (s - p) * (s - p) + q * q)) / sqrt(q + a * a)
+ + 2 * ux * atan(
+ ((q - (a * sx - tx) / (1 + a * a)) * sqrt(
+ (1 + a * a) * (s - p) * (s - p) + q * q) + (a * s
+ - tx - q) * q) / ((s - p) * ux));
+}
+
+void fill_supermatrix_aca_OLD(supermatrix* A, const cluster* row,
+ const cluster* col, void *data,
+ double(*compute_entry)(int i, int j, void* data), double aca_eps) {
+ // std::cerr << "*** fill_supermatrix_aca" << std::endl;
+
+ fullmatrix* f = A->f;
+ rkmatrix* r = A->r;
+ int i, j;
+ int rank;
+
+ if (f != NULL) { // fill fullmatrix block
+ // std::cerr << "*** full matrix block" << std::endl;
+ for (i = 0; i < row->size; i++) {
+ for (j = 0; j < col->size; j++)
+ f->e[i + j * row->size] = compute_entry(row->start + i,
+ col->start + j, data);
+ }
+
+ return;
+ }
+
+ if (r != NULL) { // fill rk-block with aca
+ // std::cerr << "*** rank k matrix block" << std::endl;
+ if (r->rows > r-> cols)
+ rank = r->cols;
+ else
+ rank = r->rows;
+
+ if (rank > ACA_KMAX)
+ rank = ACA_KMAX;
+
+ r->k = rank;
+ r->a = allocate_matrix(r->rows, rank);
+ r->b = allocate_matrix(r->cols, rank);
+
+ r->kt = newaca_fill_block(r->a, r->b, r->rows, r->cols, row->start,
+ col->start, compute_entry, data, rank, aca_eps, ACA_STRATEGY);
+
+ r->a = (double*) realloc(r->a, r->rows * r->kt * sizeof(double));
+ r->b = (double*) realloc(r->b, r->cols * r->kt * sizeof(double));
+ r->k = r->kt;
+
+ return;
+ }
+
+ if (row->sons > 0) {
+ if (col->sons > 0) {
+ for (int i = 0; i < row->sons; ++i)
+ for (int j = 0; j < col->sons; ++j) {
+ int s = i + j * row->sons;
+ fill_supermatrix_aca_OLD(A->s[s], row->son[i], col->son[j],
+ data, compute_entry, aca_eps);
+ }
+ } else {
+ for (int i = 0; i < row->sons; ++i)
+ fill_supermatrix_aca_OLD(A->s[i], row->son[i], col, data,
+ compute_entry, aca_eps);
+ }
+ } else {
+ for (int i = 0; i < col->sons; ++i)
+ fill_supermatrix_aca_OLD(A->s[i], row, col->son[i], data,
+ compute_entry, aca_eps);
+ }
+}
+
--- /dev/null
+#include "SimpleLayerPotential.hpp"
+
+#include "../spaces/P0Space.hpp"
+#include "TriangleIntegrator.hpp"
+
+//#include "SLPrecangle.hpp"
+
+#include <fstream>
+#include <cmath>
+
+#define eps 1e-9
+
+using namespace laplace;
+
+SimpleLayerPotential::SimpleLayerPotential(const space::P0Space& space)
+ : HLibOperator< space::P0Space, space::P0Space, SymmetricMatrix >(
+ space, space, SimpleLayerPotential::computeEntry)
+{
+}
+
+SimpleLayerPotential::~SimpleLayerPotential()
+{
+}
+
+template < class TMesh >
+double ComputeSimpleLayerPotentialEntry< TMesh >::exec(
+ const typename TMesh::Prop::Triangle& f1,
+ const typename TMesh::Prop::Triangle& f2) const
+{
+ TriangleIntegrator integrator = TriangleIntegrator();
+
+ if ( f1.computeArea() < f2.computeArea() )
+ {
+ return integrator.integrate( f1, f2,
+ computeInnerIntegralForTriangles);
+ }
+ else
+ {
+ return integrator.integrate( f2, f1,
+ computeInnerIntegralForTriangles);
+ }
+}
+
+template < class TMesh >
+double ComputeSimpleLayerPotentialEntry< TMesh >::exec(
+ const typename TMesh::Prop::Parallelogram& f1,
+ const typename TMesh::Prop::Parallelogram& f2) const
+{
+
+ const typename TMesh::Vertex& a1 = f1.getA();
+ const typename TMesh::Vertex& a2 = f2.getA();
+
+
+
+
+ return NAN;
+}
+
+double SimpleLayerPotential::computeEntry(
+ const space::P0Space::Element &e1,
+ const space::P0Space::Element &e2)
+{
+ typedef boundary_mesh::DoubleFaceDispatcher<
+ ComputeSimpleLayerPotentialEntry< BoundaryMesh >, BoundaryMesh, double >
+ ComputeEntry;
+
+ return ComputeEntry::Exec( e1.getSupport(), e2.getSupport(),
+ ComputeSimpleLayerPotentialEntry< BoundaryMesh >() );
+}
+
+template < class TMesh >
+double
+ComputeSimpleLayerPotentialEntry< TMesh >::computeInnerIntegralForTriangles(
+ const typename TMesh::Prop::Triangle& tau,
+ const typename TMesh::UVertex& x)
+{
+ BoundaryMesh::Face::ConstVertexIterator vIt = tau.begin_v();
+ const BoundaryMesh::UVertex& x1 = *vIt; ++vIt;
+ const BoundaryMesh::UVertex& x2 = *vIt; ++vIt;
+ const BoundaryMesh::UVertex& x3 = *vIt; ++vIt;
+
+ // determine a local orthogonal coordinate system (r1,r2,n) on the triangle tau
+ double t_tau = (x3-x2).norm();
+ BoundaryMesh::UVertex r2 = (x3-x2)/t_tau;
+ double t_star=(x1-x2)*r2;
+
+ BoundaryMesh::UVertex r1 = (x2+(t_star*r2)-x1);
+ double s_tau = r1.norm();
+ r1 = r1 / s_tau;
+
+ BoundaryMesh::UVertex n = BoundaryMesh::Vertex::crossProduct(r1,r2);
+
+ // determine necessary information
+ double sx = (x-x1)*r1;
+ double tx = (x-x1)*r2;
+ double ux = (x-x1)*n;
+ double a1 = -t_star/s_tau;
+ double a2 = (t_tau-t_star)/s_tau;
+
+ // analytic computation of inner integral
+ //return tau.computeArea(); // this is the identity
+ return 0.25*(F(s_tau,a2,sx,tx,ux) - F(0.,a2,sx,tx,ux)
+ - F(s_tau,a1,sx,tx,ux) + F(0.,a1,sx,tx,ux))/M_PI;
+}
+
+template < class TMesh >
+double
+ComputeSimpleLayerPotentialEntry< TMesh >::F(
+ double s, double a, double sx, double tx, double ux)
+{
+ double p = (a*tx+sx)/(1.+a*a);
+ double q = sqrt(ux*ux + ((tx-a*sx)*(tx-a*sx)/(1.+a*a)));
+
+ double tmp = ((q-(a*sx-tx)/(1.+a*a))*sqrt((1.+a*a)*(s-p)*(s-p)+q*q)
+ + (a*s-tx-q)*q)/(s-p);
+ double aux1 = 0.;
+ double aux2 = 0.;
+ double aux3 = 0.;
+
+ if ( fabs(ux) <= eps )
+ aux1 = 0.;
+ else {
+ aux1 = tmp/ux;
+ if ( fabs(s-p) < eps )
+ if ( aux1 > 0 )
+ aux1 = ux*M_PI;
+ else
+ aux1 = -ux*M_PI;
+ else
+ aux1 = 2*ux*atan( aux1/(s-p) );
+
+ }
+
+ if ( fabs(q) < eps )
+ aux2 = 0.;
+ else
+ aux2 = (a*sx-tx)*log(sqrt(1.+a*a)*(s-p)
+ + sqrt((1.+a*a)*(s-p)*(s-p) + q*q))/sqrt(1.+a*a);
+
+ if ( fabs(s-sx) < eps )
+ aux3 = 0.;
+ else
+ aux3 = (s-sx)*log(a*s - tx + sqrt((s-sx)*(s-sx) + (a*s-tx)*(a*s-tx) + ux*ux));
+
+ return aux3 - s + aux2 + aux1;
+}
+
+//space::DFunc<space::P0Space> SimpleLayerPotential::solve(space::DFunc<space::P0Space>& rhs)
+//{
+// // TODO: test, if space of DFunc rhs is the same as testSpace_ of SLP
+//
+// space::DFunc<space::P0Space> result(ansatzSpace_);
+//
+// std::vector<double> solution = solveGMRes(rhs.getCoeff());
+// result.setCoeff(solution);
+//
+// return result;
+//}
+
+//void fill_supermatrix_aca_OLD(supermatrix* A, const cluster* row, const cluster* col, void *data,
+// double (*compute_entry)(int i, int j, void* data), double aca_eps)
+//{
+//// std::cerr << "*** fill_supermatrix_aca" << std::endl;
+//
+// fullmatrix* f = A->f;
+// rkmatrix* r = A->r;
+// int i, j;
+// int rank;
+//
+// if ( f!= NULL ) { // fill fullmatrix block
+//// std::cerr << "*** full matrix block" << std::endl;
+// for ( i=0; i<row->size; i++ ){
+// for ( j=0; j<col->size; j++ )
+// f->e[i+j*row->size] = compute_entry(row->start+i,col->start+j, data);
+// }
+//
+// return;
+// }
+//
+// if ( r!= NULL ) { // fill rk-block with aca
+//// std::cerr << "*** rank k matrix block" << std::endl;
+// if ( r->rows > r-> cols )
+// rank = r->cols;
+// else
+// rank = r->rows;
+//
+// if ( rank > ACA_KMAX )
+// rank = ACA_KMAX;
+//
+// r->k = rank;
+// r->a = allocate_matrix(r->rows,rank);
+// r->b = allocate_matrix(r->cols,rank);
+//
+// r->kt = newaca_fill_block(r->a, r->b, r->rows, r->cols,
+// row->start, col->start,
+// compute_entry, data,
+// rank, aca_eps, ACA_STRATEGY);
+//
+// r->a = (double*) realloc(r->a,r->rows*r->kt*sizeof(double));
+// r->b = (double*) realloc(r->b,r->cols*r->kt*sizeof(double));
+// r->k = r->kt;
+//
+// return;
+// }
+//
+// if(row->sons>0) {
+// if(col->sons>0) {
+// for(int i=0;i<row->sons;++i)
+// for(int j=0;j<col->sons;++j) {
+// int s=i+j*row->sons;
+// fill_supermatrix_aca_OLD(A->s[s],row->son[i],col->son[j],data,compute_entry,aca_eps);
+// }
+// } else {
+// for(int i=0;i<row->sons;++i)
+// fill_supermatrix_aca_OLD(A->s[i],row->son[i],col,data,compute_entry,aca_eps);
+// }
+// } else {
+// for(int i=0;i<col->sons;++i)
+// fill_supermatrix_aca_OLD(A->s[i],row,col->son[i],data,compute_entry,aca_eps);
+// }
+//}
+
template < class TMesh = BoundaryMesh >
class ComputeSimpleLayerPotentialEntry
{
+ friend class testing::Tester< TMesh >;
+
public:
double exec( const typename TMesh::Prop::Triangle& f1,
const typename TMesh::Prop::Triangle& f2 ) const;
SimpleLayerPotential(const space::P0Space &space);
virtual ~SimpleLayerPotential();
+ // TODO: what about an abstract base class for potentials?
+// space::DFunc<space::P0Space> solve(space::DFunc<space::P0Space>& rhs);
+
private:
static double computeEntry(
const space::P0Space::Element& e1,const space::P0Space::Element &e2);
};
-#if 0
- void fill_supermatrix_aca(supermatrix*, const cluster*, const cluster*, void*, double* (compute_entry)(int, int, void*), double);
-#endif
}
#endif
return sum;
}
+double
+TriangleIntegrator::integrate(
+ const BoundaryMesh::Prop::Triangle & triangle,
+ const boost::function<double (const BoundaryMesh::UVertex&)>& integrand)
+ const
+{
+ int gauss_order = m_r.size();
+ double sum = 0.;
+
+ for (int i = 0; i < gauss_order; ++i)
+ {
+ sum += m_weights[i] * integrand(computeIthEvaluationPoint( triangle, m_r[i], m_s[i] ));
+ }
+
+ sum *= 2 * triangle.computeArea();
+ // Factor 2 is becase gauss-weights sum up tp 0.5
+ return sum;
+}
+
BoundaryMesh::UVertex
TriangleIntegrator::computeIthEvaluationPoint(
const BoundaryMesh::Prop::Triangle & triangle,
#define HILBERT3D_LAPLACE_TRIANGLEINTEGRATOR_HPP_GUARD_
#include <vector>
+#include <boost/function.hpp>
#include "../hilbert.hpp"
class TriangleIntegrator {
double (*integrand)(const BoundaryMesh::UVertex & point))
const;
+ double integrate(
+ const BoundaryMesh::Prop::Triangle& triangle,
+ const boost::function<double (const BoundaryMesh::UVertex&)>&)
+ const;
+
private:
static BoundaryMesh::UVertex
computeIthEvaluationPoint(
int main()
{
- const BoundaryMesh m = BoundaryMesh::Alg::loadFromObj("test_small.obj");
- std::cerr << "coarse mesh has " << m.getNumberOfFaces() << " faces" << std::endl;
+ BoundaryMesh m = BoundaryMesh::Alg::loadFromObj("Lshape.obj");
+ std::cerr << "# coarse mesh has " << m.getNumberOfFaces() << " faces" << std::endl;
clock_t commence, complete;
- commence = clock();
- const BoundaryMesh refined =
- BoundaryMesh::Alg::refineUniformly(
- BoundaryMesh::Alg::refineUniformly(
- BoundaryMesh::Alg::refineUniformly(
- BoundaryMesh::Alg::refineUniformly(
- BoundaryMesh::Alg::refineUniformly( m ) ) ) ));
- complete = clock();
- long lTime = (complete-commence);
- std::cerr << "fine mesh has " << refined.getNumberOfFaces() << " faces" << std::endl;
- std::cerr << "Time for refinement: "
- << lTime * 1000.0 / CLOCKS_PER_SEC << std::endl;
-
- commence = clock();
- P0Space s(refined);
- complete = clock();
- lTime = (complete-commence);
- std::cerr << "Time for setting up space: "
- << lTime * 1000.0 / CLOCKS_PER_SEC << std::endl;
-
- commence = clock();
- SimpleLayerPotential V(s);
- complete = clock();
- lTime = (complete-commence);
- std::cerr << "Time for setting up Simple Layer Potential: "
- << lTime * 1000.0 / CLOCKS_PER_SEC << std::endl;
-
- std::vector< double >rhs( s.getNumberOfElements(), 0. );
- for ( int i=0; i<s.getNumberOfElements(); ++i ){
- const BoundaryMesh::Face &f1 = s[i].getSupport();
- rhs[i] = f1.computeArea();
- }
+// commence = clock();
+// const BoundaryMesh refined =
+// BoundaryMesh::Alg::refineUniformly(
+// BoundaryMesh::Alg::refineUniformly(
+// BoundaryMesh::Alg::refineUniformly( m ) ) );
+// complete = clock();
+// long lTime = (complete-commence);
+// std::cerr << "fine mesh has " << refined.getNumberOfFaces() << " faces" << std::endl;
+// std::cerr << "Time for refinement: "
+// << lTime * 1000.0 / CLOCKS_PER_SEC << std::endl;
+//
+// commence = clock();
+// P0Space s(refined);
+// complete = clock();
+// lTime = (complete-commence);
+// std::cerr << "Time for setting up space: "
+// << lTime * 1000.0 / CLOCKS_PER_SEC << std::endl;
+//
+// commence = clock();
+// SimpleLayerPotential V(s);
+// complete = clock();
+// lTime = (complete-commence);
+// std::cerr << "Time for setting up Simple Layer Potential: "
+// << lTime * 1000.0 / CLOCKS_PER_SEC << std::endl;
+//
+// std::vector< double >rhs( s.getNumberOfElements(), 0. );
+// for ( int i=0; i<s.getNumberOfElements(); ++i ){
+// const BoundaryMesh::Face &f1 = s[i].getSupport();
+// rhs[i] = f1.computeArea();
+// }
+//
+// commence = clock();
+//// std::vector< double > solution = V.solveGMRes(rhs);
+// P0Space::DFunc f(s,rhs);
+// P0Space::DFunc phi = V.solve(f);
+// complete = clock();
+// lTime = (complete-commence);
+// std::cerr << "Time for solving: "
+// << lTime * 1000.0 / CLOCKS_PER_SEC << std::endl;
+
+ for ( int i=0; i<5; ++i) {
+ commence = clock();
+ m = BoundaryMesh::Alg::refineUniformly(m);
+ complete = clock();
+ long lTime = (complete - commence);
+ std::cerr << "# mesh has " << m.getNumberOfFaces() << " faces" << std::endl;
+ std::cerr << "Time for refinement: "
+ << lTime * 1000.0 / CLOCKS_PER_SEC << std::endl;
+
+ commence = clock();
+ P0Space s(m);
+ complete = clock();
+ std::cerr << "Time for setting up space: "
+ << lTime * 1000.0 / CLOCKS_PER_SEC << std::endl;
+
+ commence = clock();
+ SimpleLayerPotential V(s);
+ complete = clock();
+ lTime = (complete-commence);
+ std::cerr << "Time for setting up Simple Layer Potential: "
+ << lTime * 1000.0 / CLOCKS_PER_SEC << std::endl;
+
+ std::vector< double >rhs( s.getNumberOfElements(), 0. );
+ for ( int i=0; i<s.getNumberOfElements(); ++i ){
+ const BoundaryMesh::Face &f1 = s[i].getSupport();
+ rhs[i] = f1.computeArea();
+ }
+
+// std::cerr << "# rhs = ";
+// for ( int j=0; j<rhs.size(); ++j)
+// std::cerr << rhs[j] << " ";
+// std::cerr << std::endl;
- commence = clock();
- std::vector< double > solution = V.solveGMRes(rhs);
- complete = clock();
- lTime = (complete-commence);
- std::cerr << "Time for solving: "
- << lTime * 1000.0 / CLOCKS_PER_SEC << std::endl;
+ commence = clock();
+// std::vector< double > solution = V.solveGMRes(rhs);
+ P0Space::DFunc f(s,rhs);
+ P0Space::DFunc phi = V.solve(f);
+ complete = clock();
+ lTime = (complete-commence);
+ std::cerr << "Time for solving: "
+ << lTime * 1000.0 / CLOCKS_PER_SEC << std::endl;
+
+ double energy = V.energy(phi);
+ std::cerr << "energy: " << energy << std::endl;
+
+// std::vector<double> aux = phi.getCoeff();
+
+// std::cerr << "# solution = ";
+// for ( int j=0; j<solution.size(); ++j)
+// std::cerr << solution[j] << " ";
+// std::cerr << std::endl;
+
+ std::cerr << "#-----------------------------------------------" << std::endl << std::endl;
+ }
return 0;
}
#############################################################################
# Makefile for building: mesh_explorer
-# Generated by qmake (2.01a) (Qt 4.6.3) on: Do. Apr 21 22:00:06 2011
+# Generated by qmake (2.01a) (Qt 4.6.2) on: Di. Mai 31 09:13:16 2011
# Project: mesh_explorer.pro
# Template: app
# Command: /usr/bin/qmake -unix -o Makefile mesh_explorer.pro
MeshWidget.cpp \
../boundary_mesh/exception/DispatchIdNotSet.cpp \
../boundary_mesh/Face.cpp \
- ../boundary_mesh/exception/NoMatchingFaceType.cpp \
../generic/GenericVector.cpp moc_MeshWidget.cpp
OBJECTS = mesh_explorer.o \
MeshWidget.o \
DispatchIdNotSet.o \
Face.o \
- NoMatchingFaceType.o \
GenericVector.o \
moc_MeshWidget.o
DIST = /usr/share/qt4/mkspecs/common/g++.conf \
dist:
@$(CHK_DIR_EXISTS) .tmp/mesh_explorer1.0.0 || $(MKDIR) .tmp/mesh_explorer1.0.0
- $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/mesh_explorer1.0.0/ && $(COPY_FILE) --parents Mesh.hpp MeshWidget.hpp ../boundary_mesh/FlexibleMesh.hpp ../boundary_mesh/FaceDispatch.hpp ../generic/Singleton.hpp ../generic/Singleton_tmpl.cpp ../boundary_mesh/exception/DispatchIdNotSet.hpp ../boundary_mesh/FaceDispatch_tmpl.cpp ../boundary_mesh/Face.hpp ../boundary_mesh/types.hpp ../boundary_mesh/exception.hpp ../boundary_mesh/exception/NoMatchingFaceType.hpp ../boundary_mesh/Face_tmpl.cpp ../boundary_mesh/HalfEdge.hpp ../boundary_mesh/HalfEdge_tmpl.cpp ../boundary_mesh/Vertex.hpp ../generic/GenericVector.hpp ../generic/GenericVector_tmpl.cpp ../boundary_mesh/Vertex_tmpl.cpp ../boundary_mesh/Mesh.hpp ../boundary_mesh/MeshBuilder.hpp ../boundary_mesh/MeshBuilder_tmpl.cpp ../boundary_mesh/Mesh.cpp ../boundary_mesh/algorithm/HandleObj.hpp ../boundary_mesh/algorithm/HandleObj_tmpl.cpp ../boundary_mesh/algorithm/RefineUniformly.hpp ../boundary_mesh/algorithm/RefineUniformly_tmpl.cpp ../boundary_mesh/FlexibleMesh_tmpl.cpp .tmp/mesh_explorer1.0.0/ && $(COPY_FILE) --parents mesh_explorer.cpp MeshWidget.cpp ../boundary_mesh/exception/DispatchIdNotSet.cpp ../boundary_mesh/Face.cpp ../boundary_mesh/exception/NoMatchingFaceType.cpp ../generic/GenericVector.cpp .tmp/mesh_explorer1.0.0/ && (cd `dirname .tmp/mesh_explorer1.0.0` && $(TAR) mesh_explorer1.0.0.tar mesh_explorer1.0.0 && $(COMPRESS) mesh_explorer1.0.0.tar) && $(MOVE) `dirname .tmp/mesh_explorer1.0.0`/mesh_explorer1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/mesh_explorer1.0.0
+ $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/mesh_explorer1.0.0/ && $(COPY_FILE) --parents Mesh.hpp MeshWidget.hpp ../boundary_mesh/FlexibleMesh.hpp ../boundary_mesh/FaceDispatch.hpp ../generic/Singleton.hpp ../generic/Singleton_tmpl.cpp ../boundary_mesh/exception/DispatchIdNotSet.hpp ../boundary_mesh/FaceDispatch_tmpl.cpp ../boundary_mesh/Face.hpp ../boundary_mesh/types.hpp ../boundary_mesh/exception.hpp ../boundary_mesh/Face_tmpl.cpp ../boundary_mesh/HalfEdge.hpp ../boundary_mesh/HalfEdge_tmpl.cpp ../boundary_mesh/Vertex.hpp ../generic/GenericVector.hpp ../generic/GenericVector_tmpl.cpp ../boundary_mesh/Vertex_tmpl.cpp ../boundary_mesh/Mesh.hpp ../boundary_mesh/MeshBuilder.hpp ../boundary_mesh/MeshBuilder_tmpl.cpp ../boundary_mesh/Mesh.cpp ../boundary_mesh/algorithm/HandleObj.hpp ../boundary_mesh/algorithm/HandleObj_tmpl.cpp ../boundary_mesh/algorithm/RefineUniformly.hpp ../boundary_mesh/algorithm/RefineUniformly_tmpl.cpp ../boundary_mesh/FlexibleMesh_tmpl.cpp .tmp/mesh_explorer1.0.0/ && $(COPY_FILE) --parents mesh_explorer.cpp MeshWidget.cpp ../boundary_mesh/exception/DispatchIdNotSet.cpp ../boundary_mesh/Face.cpp ../generic/GenericVector.cpp .tmp/mesh_explorer1.0.0/ && (cd `dirname .tmp/mesh_explorer1.0.0` && $(TAR) mesh_explorer1.0.0.tar mesh_explorer1.0.0 && $(COMPRESS) mesh_explorer1.0.0.tar) && $(MOVE) `dirname .tmp/mesh_explorer1.0.0`/mesh_explorer1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/mesh_explorer1.0.0
clean:compiler_clean
-$(DEL_FILE) Makefile
-check: first
-
mocclean: compiler_moc_header_clean compiler_moc_source_clean
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
../boundary_mesh/FaceDispatch.hpp \
../generic/Singleton.hpp \
../generic/Singleton_tmpl.cpp \
+ ../generic/TypeList.hpp \
+ ../generic/BaseTypes.hpp \
../boundary_mesh/exception/DispatchIdNotSet.hpp \
- ../boundary_mesh/FaceDispatch_tmpl.cpp \
../boundary_mesh/Face.hpp \
../boundary_mesh/types.hpp \
../boundary_mesh/exception.hpp \
../boundary_mesh/exception/NoMatchingFaceType.hpp \
+ ../boundary_mesh/Testing.hpp \
../boundary_mesh/Face_tmpl.cpp \
+ ../generic/PtrCompare.hpp \
+ ../boundary_mesh/FaceDispatch_tmpl.cpp \
+ ../boundary_mesh/exception/CouldNotDispatchCall.hpp \
../boundary_mesh/HalfEdge.hpp \
../boundary_mesh/HalfEdge_tmpl.cpp \
../boundary_mesh/Vertex.hpp \
../boundary_mesh/MeshBuilder.hpp \
../boundary_mesh/MeshBuilder_tmpl.cpp \
../boundary_mesh/Mesh.cpp \
+ ../boundary_mesh/exception/NoMatchingFaceType_tmpl.hpp \
+ ../boundary_mesh/exception/NoMatchingFaceType_tmpl.cpp \
+ ../boundary_mesh/Marker.hpp \
+ ../boundary_mesh/RefinementData.hpp \
+ ../boundary_mesh/face/Triangle_tmpl.hpp \
+ ../boundary_mesh/face/Triangle.hpp \
+ ../boundary_mesh/face/Triangle_tmpl.cpp \
+ ../boundary_mesh/face/Rectangle_tmpl.hpp \
+ ../boundary_mesh/face/Rectangle.hpp \
+ ../boundary_mesh/face/Parallelogram.hpp \
+ ../boundary_mesh/face/ConvexQuadrilateral.hpp \
+ ../boundary_mesh/face/Quadrilateral.hpp \
+ ../boundary_mesh/face/Rectangle_tmpl.cpp \
+ ../boundary_mesh/face/Parallelogram_tmpl.hpp \
+ ../boundary_mesh/face/Parallelogram_tmpl.cpp \
+ ../boundary_mesh/face/ConvexQuadrilateral_tmpl.hpp \
+ ../boundary_mesh/face/ConvexQuadrilateral_tmpl.cpp \
+ ../boundary_mesh/face/Quadrilateral_tmpl.hpp \
+ ../boundary_mesh/face/Quadrilateral_tmpl.cpp \
../boundary_mesh/algorithm/HandleObj.hpp \
../boundary_mesh/algorithm/HandleObj_tmpl.cpp \
../boundary_mesh/algorithm/RefineUniformly.hpp \
../boundary_mesh/algorithm/RefineUniformly_tmpl.cpp \
+ ../boundary_mesh/algorithm/RefineAdaptivly.hpp \
../boundary_mesh/FlexibleMesh_tmpl.cpp \
+ ../boundary_mesh/Marker_tmpl.cpp \
+ ../boundary_mesh/Marker_tmpl.hpp \
+ ../boundary_mesh/RefinementData_tmpl.cpp \
+ ../boundary_mesh/algorithm/RefineAdaptivly_tmpl.cpp \
MeshWidget.hpp
/usr/bin/moc-qt4 $(DEFINES) $(INCPATH) MeshWidget.hpp -o moc_MeshWidget.cpp
../boundary_mesh/FaceDispatch.hpp \
../generic/Singleton.hpp \
../generic/Singleton_tmpl.cpp \
+ ../generic/TypeList.hpp \
+ ../generic/BaseTypes.hpp \
../boundary_mesh/exception/DispatchIdNotSet.hpp \
- ../boundary_mesh/FaceDispatch_tmpl.cpp \
../boundary_mesh/Face.hpp \
../boundary_mesh/types.hpp \
../boundary_mesh/exception.hpp \
../boundary_mesh/exception/NoMatchingFaceType.hpp \
+ ../boundary_mesh/Testing.hpp \
../boundary_mesh/Face_tmpl.cpp \
+ ../generic/PtrCompare.hpp \
+ ../boundary_mesh/FaceDispatch_tmpl.cpp \
+ ../boundary_mesh/exception/CouldNotDispatchCall.hpp \
../boundary_mesh/HalfEdge.hpp \
../boundary_mesh/HalfEdge_tmpl.cpp \
../boundary_mesh/Vertex.hpp \
../boundary_mesh/MeshBuilder.hpp \
../boundary_mesh/MeshBuilder_tmpl.cpp \
../boundary_mesh/Mesh.cpp \
+ ../boundary_mesh/exception/NoMatchingFaceType_tmpl.hpp \
+ ../boundary_mesh/exception/NoMatchingFaceType_tmpl.cpp \
+ ../boundary_mesh/Marker.hpp \
+ ../boundary_mesh/RefinementData.hpp \
+ ../boundary_mesh/face/Triangle_tmpl.hpp \
+ ../boundary_mesh/face/Triangle.hpp \
+ ../boundary_mesh/face/Triangle_tmpl.cpp \
+ ../boundary_mesh/face/Rectangle_tmpl.hpp \
+ ../boundary_mesh/face/Rectangle.hpp \
+ ../boundary_mesh/face/Parallelogram.hpp \
+ ../boundary_mesh/face/ConvexQuadrilateral.hpp \
+ ../boundary_mesh/face/Quadrilateral.hpp \
+ ../boundary_mesh/face/Rectangle_tmpl.cpp \
+ ../boundary_mesh/face/Parallelogram_tmpl.hpp \
+ ../boundary_mesh/face/Parallelogram_tmpl.cpp \
+ ../boundary_mesh/face/ConvexQuadrilateral_tmpl.hpp \
+ ../boundary_mesh/face/ConvexQuadrilateral_tmpl.cpp \
+ ../boundary_mesh/face/Quadrilateral_tmpl.hpp \
+ ../boundary_mesh/face/Quadrilateral_tmpl.cpp \
../boundary_mesh/algorithm/HandleObj.hpp \
../boundary_mesh/algorithm/HandleObj_tmpl.cpp \
../boundary_mesh/algorithm/RefineUniformly.hpp \
../boundary_mesh/algorithm/RefineUniformly_tmpl.cpp \
- ../boundary_mesh/FlexibleMesh_tmpl.cpp
+ ../boundary_mesh/algorithm/RefineAdaptivly.hpp \
+ ../boundary_mesh/FlexibleMesh_tmpl.cpp \
+ ../boundary_mesh/Marker_tmpl.cpp \
+ ../boundary_mesh/Marker_tmpl.hpp \
+ ../boundary_mesh/RefinementData_tmpl.cpp \
+ ../boundary_mesh/algorithm/RefineAdaptivly_tmpl.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mesh_explorer.o mesh_explorer.cpp
MeshWidget.o: MeshWidget.cpp MeshWidget.hpp \
../boundary_mesh/FaceDispatch.hpp \
../generic/Singleton.hpp \
../generic/Singleton_tmpl.cpp \
+ ../generic/TypeList.hpp \
+ ../generic/BaseTypes.hpp \
../boundary_mesh/exception/DispatchIdNotSet.hpp \
- ../boundary_mesh/FaceDispatch_tmpl.cpp \
../boundary_mesh/Face.hpp \
../boundary_mesh/types.hpp \
../boundary_mesh/exception.hpp \
../boundary_mesh/exception/NoMatchingFaceType.hpp \
+ ../boundary_mesh/Testing.hpp \
../boundary_mesh/Face_tmpl.cpp \
+ ../generic/PtrCompare.hpp \
+ ../boundary_mesh/FaceDispatch_tmpl.cpp \
+ ../boundary_mesh/exception/CouldNotDispatchCall.hpp \
../boundary_mesh/HalfEdge.hpp \
../boundary_mesh/HalfEdge_tmpl.cpp \
../boundary_mesh/Vertex.hpp \
../boundary_mesh/MeshBuilder.hpp \
../boundary_mesh/MeshBuilder_tmpl.cpp \
../boundary_mesh/Mesh.cpp \
+ ../boundary_mesh/exception/NoMatchingFaceType_tmpl.hpp \
+ ../boundary_mesh/exception/NoMatchingFaceType_tmpl.cpp \
+ ../boundary_mesh/Marker.hpp \
+ ../boundary_mesh/RefinementData.hpp \
+ ../boundary_mesh/face/Triangle_tmpl.hpp \
+ ../boundary_mesh/face/Triangle.hpp \
+ ../boundary_mesh/face/Triangle_tmpl.cpp \
+ ../boundary_mesh/face/Rectangle_tmpl.hpp \
+ ../boundary_mesh/face/Rectangle.hpp \
+ ../boundary_mesh/face/Parallelogram.hpp \
+ ../boundary_mesh/face/ConvexQuadrilateral.hpp \
+ ../boundary_mesh/face/Quadrilateral.hpp \
+ ../boundary_mesh/face/Rectangle_tmpl.cpp \
+ ../boundary_mesh/face/Parallelogram_tmpl.hpp \
+ ../boundary_mesh/face/Parallelogram_tmpl.cpp \
+ ../boundary_mesh/face/ConvexQuadrilateral_tmpl.hpp \
+ ../boundary_mesh/face/ConvexQuadrilateral_tmpl.cpp \
+ ../boundary_mesh/face/Quadrilateral_tmpl.hpp \
+ ../boundary_mesh/face/Quadrilateral_tmpl.cpp \
../boundary_mesh/algorithm/HandleObj.hpp \
../boundary_mesh/algorithm/HandleObj_tmpl.cpp \
../boundary_mesh/algorithm/RefineUniformly.hpp \
../boundary_mesh/algorithm/RefineUniformly_tmpl.cpp \
- ../boundary_mesh/FlexibleMesh_tmpl.cpp
+ ../boundary_mesh/algorithm/RefineAdaptivly.hpp \
+ ../boundary_mesh/FlexibleMesh_tmpl.cpp \
+ ../boundary_mesh/Marker_tmpl.cpp \
+ ../boundary_mesh/Marker_tmpl.hpp \
+ ../boundary_mesh/RefinementData_tmpl.cpp \
+ ../boundary_mesh/algorithm/RefineAdaptivly_tmpl.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o MeshWidget.o MeshWidget.cpp
DispatchIdNotSet.o: ../boundary_mesh/exception/DispatchIdNotSet.cpp ../boundary_mesh/exception/DispatchIdNotSet.hpp
../boundary_mesh/FaceDispatch.hpp \
../generic/Singleton.hpp \
../generic/Singleton_tmpl.cpp \
+ ../generic/TypeList.hpp \
+ ../generic/BaseTypes.hpp \
../boundary_mesh/exception/DispatchIdNotSet.hpp \
../boundary_mesh/FaceDispatch_tmpl.cpp \
+ ../boundary_mesh/exception/CouldNotDispatchCall.hpp \
+ ../boundary_mesh/Testing.hpp \
../boundary_mesh/Face_tmpl.cpp \
+ ../generic/PtrCompare.hpp \
../boundary_mesh/Vertex.hpp \
../generic/GenericVector.hpp \
../generic/GenericVector_tmpl.cpp \
../boundary_mesh/Vertex_tmpl.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o Face.o ../boundary_mesh/Face.cpp
-NoMatchingFaceType.o: ../boundary_mesh/exception/NoMatchingFaceType.cpp ../boundary_mesh/exception/NoMatchingFaceType.hpp
- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o NoMatchingFaceType.o ../boundary_mesh/exception/NoMatchingFaceType.cpp
-
GenericVector.o: ../generic/GenericVector.cpp ../generic/GenericVector.hpp \
../generic/GenericVector_tmpl.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o GenericVector.o ../generic/GenericVector.cpp
../boundary_mesh/Face.hpp \
../boundary_mesh/types.hpp \
../boundary_mesh/exception.hpp \
- ../boundary_mesh/exception/NoMatchingFaceType.hpp \
../boundary_mesh/Face_tmpl.cpp \
../boundary_mesh/HalfEdge.hpp \
../boundary_mesh/HalfEdge_tmpl.cpp \
MeshWidget.cpp \
../boundary_mesh/exception/DispatchIdNotSet.cpp \
../boundary_mesh/Face.cpp \
- ../boundary_mesh/exception/NoMatchingFaceType.cpp \
../generic/GenericVector.cpp \
../boundary_mesh/Mesh.cpp
/****************************************************************************
** Meta object code from reading C++ file 'MeshWidget.hpp'
**
-** Created: Tue Apr 19 21:04:57 2011
-** by: The Qt Meta Object Compiler version 62 (Qt 4.6.3)
+** Created: Tue May 31 09:13:23 2011
+** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MeshWidget.hpp' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 62
-#error "This file was generated using the moc from 4.6.3. It"
+#error "This file was generated using the moc from 4.6.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
--- /dev/null
+#include "GenericSpace.hpp"
+#include "P0Space.hpp"
+
+namespace space
+{
+ template <>
+ double
+ Space< P0Element, 1, BoundaryMesh >::DFunc::weightedL2Norm()
+ {
+ std::cerr << "# computing weighted L2-Norm" << std::endl;
+ double norm=0;
+
+ for ( int i=0; i<coeff_.size(); ++i)
+ {
+ norm += space_[i].getSupport().computeArea()
+ * space_[i].getSupport().computeDiameter()
+ * coeff_[i]*coeff_[i];
+ }
+ return std::sqrt(norm);
+ }
+}
+
--- /dev/null
+#ifndef HILBERT3D_SPACES_GENERICSPACE_HPP_GUARD_
+#define HILBERT3D_SPACES_GENERICSPACE_HPP_GUARD_
+
+#include "../hilbert.hpp"
+#include "../generic/TypeMap.hpp"
+
+namespace space
+{
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace = 0,
+ class TMesh = BoundaryMesh >
+ class Space
+ {
+ public:
+ class DFunc
+ {
+ public:
+ typedef typename ::hilbert3d::generic::TypeMap<
+ typename std::vector<
+ typename TMesh::UVertex > > EvaluationTypeMap;
+
+ DFunc(const Space& space_,std::vector<double>);
+ double operator[](const TElement& element) const;
+ double operator[](unsigned int id) const;
+ std::vector< double > getCoeff() const;
+#if 0
+ std::vector< std::vector< double > > evaluate(
+ const EvaluationTypeMap& evaluationPoints) const;
+#endif
+ double weightedL2Norm();
+ void show();
+
+ private:
+ DFunc();
+ const Space& space_;
+ std::vector<double> coeff_;
+
+#if 0
+ class Evaluate
+ {
+ HILBERT3D_DISPATCH_PARAMETERS_3( Evaluate,
+ std::vector< double >,
+ EvaluationTypeMap, typemap_,
+ const Space&, space_,
+ const DFunc&, func_)
+
+ public:
+ template < class TFace >
+ std::vector< double >
+ exec( const TFace& face ) const;
+
+ private:
+ std::vector< double >
+ helper( const typename TMesh::Face& face,
+ const typename std::vector< typename TMesh::UVertex >&
+ evaluationPoints ) const;
+ };
+#endif
+ };
+
+ typedef TElement Element;
+ typedef typename std::vector< TElement >::const_iterator
+ ConstElementIterator;
+
+ Space( const TMesh& mesh, unsigned int numberOfElements );
+ ConstElementIterator begin() const;
+ ConstElementIterator end() const;
+ const TElement& operator[](unsigned int id) const;
+ const TElement& getElement(unsigned int id) const;
+ unsigned int getNumberOfElements() const;
+
+ unsigned int getElementId(const TElement& element) const;
+
+ typename std::vector< const TElement* > getDegreesOfFreedomForFace(
+ const typename TMesh::Face& face) const;
+
+ protected:
+ const TMesh& getMesh() const;
+ void addElement( std::vector< const typename TMesh::Face* > faces );
+
+ private:
+ Space();
+ const TMesh& mesh_;
+ std::vector< TElement > elements_;
+ std::vector< const TElement* > face2elements_;
+ };
+}
+
+#endif
+
--- /dev/null
+#ifndef HILBERT3D_SPACES_GENERICSPACE_TMPL_CPP_GUARD_
+#define HILBERT3D_SPACES_GENERICSPACE_TMPL_CPP_GUARD_
+
+#include "GenericSpace.hpp"
+
+namespace space
+{
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh>::Space(
+ const TMesh& mesh, unsigned int numberOfElements)
+ : mesh_(mesh), elements_(std::vector< TElement >()),
+ face2elements_(std::vector< const TElement* >(mesh.getNumberOfFaces()))
+ {
+ elements_.reserve( numberOfElements );
+ }
+
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ typename Space< TElement, maximumNumberOfDegreesOfFreedomPerFace,TMesh>::
+ ConstElementIterator
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace,TMesh>::begin()
+ const
+ {
+ return elements_.begin();
+ }
+
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ typename Space< TElement, maximumNumberOfDegreesOfFreedomPerFace,TMesh>::
+ ConstElementIterator
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace,TMesh>::end()
+ const
+ {
+ return elements_.end();
+ }
+
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ const TElement&
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::operator[](
+ unsigned int id) const
+ {
+ return getElement(id);
+ }
+
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ const TElement&
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::getElement(
+ unsigned int id) const
+ {
+ return elements_.at(id);
+ }
+
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ unsigned int
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::
+ getNumberOfElements() const
+ {
+ return elements_.size();
+ }
+
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ unsigned int
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::
+ getElementId( const TElement& element ) const
+ {
+ assert( &element > &(elements_.front()) );
+ unsigned long offset = &element - &(elements_.front());
+ assert( offset < getNumberOfElements() );
+ return (unsigned int) offset;
+ }
+
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ typename std::vector< const TElement* >
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::
+ getDegreesOfFreedomForFace( const typename TMesh::Face& face ) const
+ {
+ unsigned int i = 0;
+ typename std::vector< const TElement* > degreesOfFreedom(
+ maximumNumberOfDegreesOfFreedomPerFace);
+
+ unsigned int offset = mesh_.getFaceId( face ) *
+ maximumNumberOfDegreesOfFreedomPerFace;
+
+ for ( i = 0; i < maximumNumberOfDegreesOfFreedomPerFace; ++i )
+ {
+ if ( face2elements_[ offset + i ] == 0 )
+ break;
+ degreesOfFreedom[ i ] = face2elements_[ offset + i ];
+ }
+
+ degreesOfFreedom.resize(i);
+ return degreesOfFreedom;
+ }
+
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ const TMesh&
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::getMesh()
+ const
+ {
+ return mesh_;
+ }
+
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ void
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::addElement(
+ std::vector< const typename TMesh::Face* > faces)
+ {
+ unsigned int i=0;
+ const TElement* front = &(elements_.front());
+ elements_.push_back( TElement(faces) );
+ assert( front - &(elements_.front()) == 0 );
+ const TElement* element = &(elements_.back());
+
+ for ( typename std::vector< const typename TMesh::Face* >::const_iterator
+ faceIt = faces.begin(); faceIt != faces.end(); ++faceIt)
+ {
+ unsigned int offset = mesh_.getFaceId( *(*faceIt) ) // MK: here i added another *
+ * maximumNumberOfDegreesOfFreedomPerFace;
+ for ( i = 0; i < maximumNumberOfDegreesOfFreedomPerFace; ++i )
+ {
+ if ( face2elements_[ offset + i ] == 0 )
+ break;
+ }
+ assert( i < maximumNumberOfDegreesOfFreedomPerFace );
+ face2elements_[ offset + i ] = element;
+ }
+ }
+
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::DFunc::
+ DFunc(const Space& space, std::vector<double> coeff)
+ : space_(space), coeff_(coeff)
+ {
+ assert( coeff.size() == space.getNumberOfElements());
+ }
+
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ std::vector<double>
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::DFunc::
+ getCoeff() const
+ {
+ return coeff_;
+ }
+
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ double
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::DFunc
+ ::operator[](const TElement& element) const
+ {
+ return coeff_[ space_.getElementId( element ) ];
+ }
+
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ double
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::DFunc
+ ::operator[](unsigned int id) const
+ {
+ return coeff_[ id ];
+ }
+
+#if 0
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ std::vector< std::vector<double> >
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::DFunc
+ ::evaluate(
+ const Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >
+ ::DFunc::EvaluationTypeMap& evaluationPoints) const
+ {
+ typedef typename ::boundary_mesh::
+ SingleFaceDispatcher< Evaluate, TMesh, std::vector<double> >
+ EvaluateFace;
+
+ const TMesh& mesh = space_.getMesh();
+ std::vector< std::vector<double> > evaluated =
+ std::vector< std::vector<double> >( mesh.getNumberOfFaces() );
+ Evaluate parameters( evaluationPoints, space_, *this );
+
+ for ( typename TMesh::ConstFaceIterator faceIt = mesh.begin_f();
+ faceIt != mesh.end_f(); ++faceIt )
+ {
+ evaluated[ mesh.getFaceId( *faceIt ) ] =
+ EvaluateFace::Exec( *faceIt, parameters );
+ }
+ }
+
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ template < class TFace >
+ std::vector< double >
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::DFunc::
+ Evaluate::exec( const TFace& face ) const
+ {
+ return helper( face, typemap_.get( typeid( TFace ) ) );
+ }
+
+ template < class TElement,
+ unsigned int maximumNumberOfDegreesOfFreedomPerFace,
+ class TMesh >
+ std::vector< double >
+ Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::DFunc::
+ Evaluate::helper(
+ const typename TMesh::Face& face,
+ const typename std::vector< typename TMesh::UVertex >& evaluationPoints )
+ const
+ {
+ std::vector< double > values( evaluationPoints.size(), 0. );
+ std::vector< const TElement* > elementsOnFace =
+ space_.getDegreesOfFreedomForFace( face );
+
+ for ( typename std::vector< const TElement* >::const_iterator
+ elementIt = elementsOnFace.begin();
+ elementIt != elementsOnFace.end(); ++elementIt)
+ {
+ unsigned int i = 0;
+ for ( typename std::vector< typename TMesh::UVertex >::const_iterator
+ evaluationPointIt = evaluationPoints.begin();
+ evaluationPointIt != evaluationPoints.end();
+ ++evaluationPointIt, ++i)
+ {
+ values[ i ] = func_[ **elementIt ] *
+ (**elementIt)( face, *evaluationPointIt );
+ }
+ }
+
+ return values;
+ }
+#endif
+}
+
+#endif
+
#ifndef HILBERT3D_FE_SPACE_HLIBSPACE_HPP_GUARD_
#define HILBERT3D_FE_SPACE_HLIBSPACE_HPP_GUARD_
-#include "HLib/sparsematrix.h"
+extern "C"
+{
+# include "HLib/sparsematrix.h"
+}
-namespace fe_space
+namespace space
{
+ template < class TMesh, class TSpace >
class HLibSpace
+ : public TSpace
{
public:
- virtual clusterfactory* createClusterFactory() const =0;
+ HLibSpace( const TMesh& mesh, unsigned int numberOfElements );
+ clusterfactory* createClusterFactory() const;
+
+ private:
+ template < unsigned int DIM >
+ static bool vertexLtComparison(
+ const BoundaryMesh::UVertex& v1,
+ const BoundaryMesh::UVertex& v2)
+ {
+ return v1[DIM] < v2[DIM];
+ }
+
+ template < unsigned int DIM >
+ static bool faceLtComparison(
+ const typename TMesh::Face& face1,
+ const typename TMesh::Face& face2)
+ {
+ const typename TMesh::Vertex& min1 =
+ *std::min_element( face1.begin_v(), face1.end_v(),
+ &vertexLtComparison<DIM>);
+ const typename TMesh::Vertex& min2 =
+ *std::min_element( face2.begin_v(), face2.end_v(),
+ &vertexLtComparison<DIM>);
+ return vertexLtComparison<DIM>( min1, min2 );
+ }
};
}
--- /dev/null
+#ifndef HILBERT3D_SPACES_HLIBSPACE_TMPL_CPP_GUARD_
+#define HILBERT3D_SPACES_HLIBSPACE_TMPL_CPP_GUARD_
+
+#include "HLibSpace.hpp"
+#include <algorithm>
+
+namespace space
+{
+ template < class TMesh, class TSpace >
+ HLibSpace< TMesh, TSpace >::HLibSpace(
+ const TMesh& mesh, unsigned int numberOfElements)
+ : TSpace( mesh, numberOfElements )
+ {}
+
+ template < class TMesh, class TSpace >
+ clusterfactory*
+ HLibSpace< TMesh, TSpace >::createClusterFactory() const
+ {
+ unsigned int numberOfElements = TSpace::getNumberOfElements();
+ clusterfactory* factory =
+ new_clusterfactory(numberOfElements, numberOfElements, 3);
+
+ unsigned int i = 0;
+ for (typename TSpace::ConstElementIterator elementIt = TSpace::begin();
+ elementIt != TSpace::end(); ++elementIt, ++i)
+ {
+ bool (*faceComparator[3])(
+ const typename TMesh::Face&, const typename TMesh::Face&) =
+ {
+ &faceLtComparison<0>, &faceLtComparison<1>, &faceLtComparison<2>
+ };
+ bool (*vertexComparator[3])(
+ const typename TMesh::UVertex&, const typename TMesh::UVertex&) =
+ {
+ &vertexLtComparison<0>, &vertexLtComparison<1>, &vertexLtComparison<2>
+ };
+
+ for (unsigned int j = 0; j < 3; ++j)
+ {
+ const typename TMesh::Face& minFace =
+ *std::min_element( elementIt->begin(), elementIt->end(),
+ faceComparator[j] );
+ double min_j = (*std::min_element( minFace.begin_v(), minFace.end_v(),
+ vertexComparator[j] ))[j];
+ const typename TMesh::Face& maxFace =
+ *std::max_element( elementIt->begin(), elementIt->end(),
+ faceComparator[j] );
+ double max_j = (*std::max_element( maxFace.begin_v(), maxFace.end_v(),
+ vertexComparator[j] ))[j];
+ factory->x[i][j] = (min_j + max_j) / 2.;
+ factory->smin[i][j] = min_j;
+ factory->smax[i][j] = max_j;
+ }
+ }
+
+ return factory;
+ }
+}
+
+#endif
+
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
$(top_srcdir)/m4/ax_boost_base.m4 \
$(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
- $(top_srcdir)/m4/ax_lapack.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
$(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
libhilbert_spaces_a_AR = $(AR) $(ARFLAGS)
libhilbert_spaces_a_LIBADD =
am_libhilbert_spaces_a_OBJECTS = \
- libhilbert_spaces_a-P0Space.$(OBJEXT)
+ libhilbert_spaces_a-P1Space.$(OBJEXT) \
+ libhilbert_spaces_a-P0Space.$(OBJEXT) \
+ libhilbert_spaces_a-GenericSpace.$(OBJEXT)
libhilbert_spaces_a_OBJECTS = $(am_libhilbert_spaces_a_OBJECTS)
PROGRAMS = $(bin_PROGRAMS)
am_testP0Space_OBJECTS = testP0Space-t.$(OBJEXT)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run aclocal-1.11
AMTAR = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run tar
+AM_CXXFLAGS =
+AM_LDFLAGS =
AUTOCONF = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoconf
AUTOHEADER = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoheader
AUTOMAKE = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run automake-1.11
BOOST_ROOT_PATH = /usr
CC = gcc
CCDEPMODE = depmode=gcc3
-CFLAGS = -g -O2
+CFLAGS = -I/usr/local/include
CPP = gcc -E
CPPFLAGS =
CXX = g++
LDFLAGS =
LIBOBJS =
LIBS =
+LOKI_CPPFLAGS = -I/usr/local/include
+LOKI_LDFLAGS = -L/usr/local/lib
+LOKI_ROOT_PATH = /usr/local
LTLIBOBJS =
MAKEINFO = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run makeinfo
MKDIR_P = /bin/mkdir -p
lib_LIBRARIES = libhilbert-spaces.a
libhilbert_spaces_adir = .
libhilbert_spaces_a_HEADERS = \
- P0Space.hpp
+ P1Space.hpp P0Space.hpp HLibSpace.hpp HLibSpace_tmpl.cpp \
+ GenericSpace.hpp GenericSpace_tmpl.cpp
libhilbert_spaces_a_SOURCES = \
- P0Space.cpp
+ P1Space.cpp P0Space.cpp GenericSpace.cpp
libhilbert_spaces_a_CPPFLAGS = $(CPPFLAGS) $(HLIB_CPPFLAGS)
testP0Spacedir = .
distclean-compile:
-rm -f *.tab.c
+include ./$(DEPDIR)/libhilbert_spaces_a-GenericSpace.Po
include ./$(DEPDIR)/libhilbert_spaces_a-P0Space.Po
+include ./$(DEPDIR)/libhilbert_spaces_a-P1Space.Po
include ./$(DEPDIR)/testP0Space-t.Po
.cpp.o:
# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
# $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+libhilbert_spaces_a-P1Space.o: P1Space.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libhilbert_spaces_a-P1Space.o -MD -MP -MF $(DEPDIR)/libhilbert_spaces_a-P1Space.Tpo -c -o libhilbert_spaces_a-P1Space.o `test -f 'P1Space.cpp' || echo '$(srcdir)/'`P1Space.cpp
+ $(am__mv) $(DEPDIR)/libhilbert_spaces_a-P1Space.Tpo $(DEPDIR)/libhilbert_spaces_a-P1Space.Po
+# source='P1Space.cpp' object='libhilbert_spaces_a-P1Space.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libhilbert_spaces_a-P1Space.o `test -f 'P1Space.cpp' || echo '$(srcdir)/'`P1Space.cpp
+
+libhilbert_spaces_a-P1Space.obj: P1Space.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libhilbert_spaces_a-P1Space.obj -MD -MP -MF $(DEPDIR)/libhilbert_spaces_a-P1Space.Tpo -c -o libhilbert_spaces_a-P1Space.obj `if test -f 'P1Space.cpp'; then $(CYGPATH_W) 'P1Space.cpp'; else $(CYGPATH_W) '$(srcdir)/P1Space.cpp'; fi`
+ $(am__mv) $(DEPDIR)/libhilbert_spaces_a-P1Space.Tpo $(DEPDIR)/libhilbert_spaces_a-P1Space.Po
+# source='P1Space.cpp' object='libhilbert_spaces_a-P1Space.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libhilbert_spaces_a-P1Space.obj `if test -f 'P1Space.cpp'; then $(CYGPATH_W) 'P1Space.cpp'; else $(CYGPATH_W) '$(srcdir)/P1Space.cpp'; fi`
+
libhilbert_spaces_a-P0Space.o: P0Space.cpp
$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libhilbert_spaces_a-P0Space.o -MD -MP -MF $(DEPDIR)/libhilbert_spaces_a-P0Space.Tpo -c -o libhilbert_spaces_a-P0Space.o `test -f 'P0Space.cpp' || echo '$(srcdir)/'`P0Space.cpp
$(am__mv) $(DEPDIR)/libhilbert_spaces_a-P0Space.Tpo $(DEPDIR)/libhilbert_spaces_a-P0Space.Po
# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libhilbert_spaces_a-P0Space.obj `if test -f 'P0Space.cpp'; then $(CYGPATH_W) 'P0Space.cpp'; else $(CYGPATH_W) '$(srcdir)/P0Space.cpp'; fi`
+libhilbert_spaces_a-GenericSpace.o: GenericSpace.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libhilbert_spaces_a-GenericSpace.o -MD -MP -MF $(DEPDIR)/libhilbert_spaces_a-GenericSpace.Tpo -c -o libhilbert_spaces_a-GenericSpace.o `test -f 'GenericSpace.cpp' || echo '$(srcdir)/'`GenericSpace.cpp
+ $(am__mv) $(DEPDIR)/libhilbert_spaces_a-GenericSpace.Tpo $(DEPDIR)/libhilbert_spaces_a-GenericSpace.Po
+# source='GenericSpace.cpp' object='libhilbert_spaces_a-GenericSpace.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libhilbert_spaces_a-GenericSpace.o `test -f 'GenericSpace.cpp' || echo '$(srcdir)/'`GenericSpace.cpp
+
+libhilbert_spaces_a-GenericSpace.obj: GenericSpace.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libhilbert_spaces_a-GenericSpace.obj -MD -MP -MF $(DEPDIR)/libhilbert_spaces_a-GenericSpace.Tpo -c -o libhilbert_spaces_a-GenericSpace.obj `if test -f 'GenericSpace.cpp'; then $(CYGPATH_W) 'GenericSpace.cpp'; else $(CYGPATH_W) '$(srcdir)/GenericSpace.cpp'; fi`
+ $(am__mv) $(DEPDIR)/libhilbert_spaces_a-GenericSpace.Tpo $(DEPDIR)/libhilbert_spaces_a-GenericSpace.Po
+# source='GenericSpace.cpp' object='libhilbert_spaces_a-GenericSpace.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libhilbert_spaces_a-GenericSpace.obj `if test -f 'GenericSpace.cpp'; then $(CYGPATH_W) 'GenericSpace.cpp'; else $(CYGPATH_W) '$(srcdir)/GenericSpace.cpp'; fi`
+
testP0Space-t.o: t.cpp
$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testP0Space_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT testP0Space-t.o -MD -MP -MF $(DEPDIR)/testP0Space-t.Tpo -c -o testP0Space-t.o `test -f 't.cpp' || echo '$(srcdir)/'`t.cpp
$(am__mv) $(DEPDIR)/testP0Space-t.Tpo $(DEPDIR)/testP0Space-t.Po
libhilbert_spaces_adir = .
libhilbert_spaces_a_HEADERS = \
- P0Space.hpp
+ P1Space.hpp P0Space.hpp HLibSpace.hpp HLibSpace_tmpl.cpp \
+ GenericSpace.hpp GenericSpace_tmpl.cpp
libhilbert_spaces_a_SOURCES = \
- P0Space.cpp
+ P1Space.cpp P0Space.cpp GenericSpace.cpp
libhilbert_spaces_a_CPPFLAGS = $(CPPFLAGS) $(HLIB_CPPFLAGS)
testP0Spacedir = .
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
$(top_srcdir)/m4/ax_boost_base.m4 \
$(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
- $(top_srcdir)/m4/ax_lapack.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
$(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
libhilbert_spaces_a_AR = $(AR) $(ARFLAGS)
libhilbert_spaces_a_LIBADD =
am_libhilbert_spaces_a_OBJECTS = \
- libhilbert_spaces_a-P0Space.$(OBJEXT)
+ libhilbert_spaces_a-P1Space.$(OBJEXT) \
+ libhilbert_spaces_a-P0Space.$(OBJEXT) \
+ libhilbert_spaces_a-GenericSpace.$(OBJEXT)
libhilbert_spaces_a_OBJECTS = $(am_libhilbert_spaces_a_OBJECTS)
PROGRAMS = $(bin_PROGRAMS)
am_testP0Space_OBJECTS = testP0Space-t.$(OBJEXT)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
+AM_CXXFLAGS = @AM_CXXFLAGS@
+AM_LDFLAGS = @AM_LDFLAGS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
+LOKI_CPPFLAGS = @LOKI_CPPFLAGS@
+LOKI_LDFLAGS = @LOKI_LDFLAGS@
+LOKI_ROOT_PATH = @LOKI_ROOT_PATH@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
lib_LIBRARIES = libhilbert-spaces.a
libhilbert_spaces_adir = .
libhilbert_spaces_a_HEADERS = \
- P0Space.hpp
+ P1Space.hpp P0Space.hpp HLibSpace.hpp HLibSpace_tmpl.cpp \
+ GenericSpace.hpp GenericSpace_tmpl.cpp
libhilbert_spaces_a_SOURCES = \
- P0Space.cpp
+ P1Space.cpp P0Space.cpp GenericSpace.cpp
libhilbert_spaces_a_CPPFLAGS = $(CPPFLAGS) $(HLIB_CPPFLAGS)
testP0Spacedir = .
distclean-compile:
-rm -f *.tab.c
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhilbert_spaces_a-GenericSpace.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhilbert_spaces_a-P0Space.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libhilbert_spaces_a-P1Space.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testP0Space-t.Po@am__quote@
.cpp.o:
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+libhilbert_spaces_a-P1Space.o: P1Space.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libhilbert_spaces_a-P1Space.o -MD -MP -MF $(DEPDIR)/libhilbert_spaces_a-P1Space.Tpo -c -o libhilbert_spaces_a-P1Space.o `test -f 'P1Space.cpp' || echo '$(srcdir)/'`P1Space.cpp
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libhilbert_spaces_a-P1Space.Tpo $(DEPDIR)/libhilbert_spaces_a-P1Space.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='P1Space.cpp' object='libhilbert_spaces_a-P1Space.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libhilbert_spaces_a-P1Space.o `test -f 'P1Space.cpp' || echo '$(srcdir)/'`P1Space.cpp
+
+libhilbert_spaces_a-P1Space.obj: P1Space.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libhilbert_spaces_a-P1Space.obj -MD -MP -MF $(DEPDIR)/libhilbert_spaces_a-P1Space.Tpo -c -o libhilbert_spaces_a-P1Space.obj `if test -f 'P1Space.cpp'; then $(CYGPATH_W) 'P1Space.cpp'; else $(CYGPATH_W) '$(srcdir)/P1Space.cpp'; fi`
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libhilbert_spaces_a-P1Space.Tpo $(DEPDIR)/libhilbert_spaces_a-P1Space.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='P1Space.cpp' object='libhilbert_spaces_a-P1Space.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libhilbert_spaces_a-P1Space.obj `if test -f 'P1Space.cpp'; then $(CYGPATH_W) 'P1Space.cpp'; else $(CYGPATH_W) '$(srcdir)/P1Space.cpp'; fi`
+
libhilbert_spaces_a-P0Space.o: P0Space.cpp
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libhilbert_spaces_a-P0Space.o -MD -MP -MF $(DEPDIR)/libhilbert_spaces_a-P0Space.Tpo -c -o libhilbert_spaces_a-P0Space.o `test -f 'P0Space.cpp' || echo '$(srcdir)/'`P0Space.cpp
@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libhilbert_spaces_a-P0Space.Tpo $(DEPDIR)/libhilbert_spaces_a-P0Space.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libhilbert_spaces_a-P0Space.obj `if test -f 'P0Space.cpp'; then $(CYGPATH_W) 'P0Space.cpp'; else $(CYGPATH_W) '$(srcdir)/P0Space.cpp'; fi`
+libhilbert_spaces_a-GenericSpace.o: GenericSpace.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libhilbert_spaces_a-GenericSpace.o -MD -MP -MF $(DEPDIR)/libhilbert_spaces_a-GenericSpace.Tpo -c -o libhilbert_spaces_a-GenericSpace.o `test -f 'GenericSpace.cpp' || echo '$(srcdir)/'`GenericSpace.cpp
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libhilbert_spaces_a-GenericSpace.Tpo $(DEPDIR)/libhilbert_spaces_a-GenericSpace.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='GenericSpace.cpp' object='libhilbert_spaces_a-GenericSpace.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libhilbert_spaces_a-GenericSpace.o `test -f 'GenericSpace.cpp' || echo '$(srcdir)/'`GenericSpace.cpp
+
+libhilbert_spaces_a-GenericSpace.obj: GenericSpace.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libhilbert_spaces_a-GenericSpace.obj -MD -MP -MF $(DEPDIR)/libhilbert_spaces_a-GenericSpace.Tpo -c -o libhilbert_spaces_a-GenericSpace.obj `if test -f 'GenericSpace.cpp'; then $(CYGPATH_W) 'GenericSpace.cpp'; else $(CYGPATH_W) '$(srcdir)/GenericSpace.cpp'; fi`
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libhilbert_spaces_a-GenericSpace.Tpo $(DEPDIR)/libhilbert_spaces_a-GenericSpace.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='GenericSpace.cpp' object='libhilbert_spaces_a-GenericSpace.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libhilbert_spaces_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libhilbert_spaces_a-GenericSpace.obj `if test -f 'GenericSpace.cpp'; then $(CYGPATH_W) 'GenericSpace.cpp'; else $(CYGPATH_W) '$(srcdir)/GenericSpace.cpp'; fi`
+
testP0Space-t.o: t.cpp
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testP0Space_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT testP0Space-t.o -MD -MP -MF $(DEPDIR)/testP0Space-t.Tpo -c -o testP0Space-t.o `test -f 't.cpp' || echo '$(srcdir)/'`t.cpp
@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/testP0Space-t.Tpo $(DEPDIR)/testP0Space-t.Po
#include "P0Space.hpp"
#include <cassert>
-#include <algorithm>
+#include <cmath>
-using namespace space;
-
-
-template < class TElement,
- unsigned int maximumNumberOfDegreesOfFreedomPerFace,
- class TMesh > // MK: TMesh = BoundaryMesh is not allowed
-Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh>::Space(
- const TMesh& mesh, unsigned int numberOfElements)
- : mesh_(mesh), elements_(std::vector< TElement >()),
- face2elements_(std::vector< const TElement* >(mesh.getNumberOfFaces()))
-{
- elements_.reserve( numberOfElements );
-}
-
-template < class TElement,
- unsigned int maximumNumberOfDegreesOfFreedomPerFace,
- class TMesh > // MK: TMesh = BoundaryMesh is not allowed
-const TElement&
-Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::operator[](
- unsigned int id) const
-{
- return getElement(id);
-}
-
-template < class TElement,
- unsigned int maximumNumberOfDegreesOfFreedomPerFace,
- class TMesh > // s.o.
-const TElement&
-Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::getElement(
- unsigned int id) const
-{
- return elements_.at(id);
-}
+#include "HLibSpace_tmpl.cpp"
+#include "GenericSpace_tmpl.cpp"
-template < class TElement,
- unsigned int maximumNumberOfDegreesOfFreedomPerFace,
- class TMesh > // s.o.
-unsigned int
-Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::
- getNumberOfElements() const
-{
- return elements_.size();
-}
-
-template < class TElement,
- unsigned int maximumNumberOfDegreesOfFreedomPerFace,
- class TMesh > // s.o.
-std::vector< const TElement* >
-Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::
- getDegreesOfFreedomForFace( const typename TMesh::Face& face ) const
-{
- unsigned int i = 0; // MK: i has to be declared here, otherwise problems with scope
- std::vector< const TElement* > degreesOfFreedom(
- maximumNumberOfDegreesOfFreedomPerFace);
-
- unsigned int offset = mesh_.getFaceId( face ) *
- maximumNumberOfDegreesOfFreedomPerFace;
-
- for ( i = 0; i < maximumNumberOfDegreesOfFreedomPerFace; ++i )
- {
- if ( face2elements_[ offset + i ] == 0 )
- break;
- degreesOfFreedom[ i ] = face2elements_[ offset + i ];
- }
-
- degreesOfFreedom.resize(i);
- return degreesOfFreedom;
-}
-//
-template < class TElement,
- unsigned int maximumNumberOfDegreesOfFreedomPerFace,
- class TMesh > // s.o.
-void
-Space< TElement, maximumNumberOfDegreesOfFreedomPerFace, TMesh >::addElement(
- std::vector< const typename TMesh::Face* > faces)
-{
- unsigned int i=0;
- const TElement* front = &(elements_.front());
- elements_.push_back( TElement(faces) );
- assert( front - &(elements_.front()) == 0 );
- const TElement* element = &(elements_.back());
+using namespace space;
- for ( typename std::vector< const typename TMesh::Face* >::const_iterator
- faceIt = faces.begin(); faceIt != faces.end(); ++faceIt)
- {
- unsigned int offset = mesh_.getFaceId( *(*faceIt) ) // MK: here i added another *
- * maximumNumberOfDegreesOfFreedomPerFace;
- for ( i = 0; i < maximumNumberOfDegreesOfFreedomPerFace; ++i )
- {
- if ( face2elements_[ offset + i ] == 0 )
- break;
- }
- assert( i < maximumNumberOfDegreesOfFreedomPerFace );
- face2elements_[ offset + i ] = element;
- }
-}
P0Element::P0Element(const std::vector< const BoundaryMesh::Face* > faces)
: face_(faces[0])
{}
return *face_;
}
-//double P0Element::operator()(
-// const BoundaryMesh::UVertex& point) const
-//{
-// assert(0);
-//}
+P0Element::ConstFaceIterator
+P0Element::begin() const
+{
+ return ConstFaceIterator(*face_);
+}
+
+P0Element::ConstFaceIterator
+P0Element::end() const
+{
+ return ConstFaceIterator();
+}
+
+double P0Element::operator()(
+ const BoundaryMesh::Face& face,
+ const BoundaryMesh::UVertex& point) const
+{
+ return 1.;
+}
template class Space< P0Element, 1 >;
+template class HLibSpace< BoundaryMesh, Space< P0Element, 1 > >;
P0Space::P0Space(const BoundaryMesh& mesh)
- : Space< P0Element, 1 >(mesh, mesh.getNumberOfFaces())
+ : HLibSpace< BoundaryMesh,
+ Space<P0Element, 1> >(mesh, mesh.getNumberOfFaces())
{
for (BoundaryMesh::ConstFaceIterator faceIt = mesh.begin_f();
faceIt != mesh.end_f(); ++faceIt)
}
}
-clusterfactory* P0Space::createClusterFactory() const
-{
-
- std::cerr << "Creating Cluster Factory for Ansatz-Space" << std::endl;
- clusterfactory* factory;
- unsigned int numberOfElements = mesh_.getNumberOfFaces();
- factory = new_clusterfactory(numberOfElements, numberOfElements, 3);
-
-
- for (unsigned int i = 0; i < numberOfElements; ++i)
- {
- const BoundaryMesh::Face& support = getElement(i).getSupport();
- bool (*comparator[3])(const BoundaryMesh::UVertex&,
- const BoundaryMesh::UVertex&) = {
- &vertexLtComparison<0>, &vertexLtComparison<1>, &vertexLtComparison<2> };
-
- for (unsigned int j = 0; j < 3; ++j)
- {
- double min_j = (*std::min_element( support.begin_v(), support.end_v(),
- comparator[j] ))[j];
- double max_j = (*std::max_element( support.begin_v(), support.end_v(),
- comparator[j] ))[j];
- factory->x[i][j] = (min_j + max_j) / 2.;
- factory->smin[i][j] = min_j;
- factory->smax[i][j] = max_j;
- }
- }
-
- return factory;
-}
-
-#ifndef HILBERT3D_SPACES_SPACE_HPP_GUARD_
-#define HILBERT3D_SPACES_SPACE_HPP_GUARD_
+#ifndef HILBERT3D_SPACES_P0SPACE_HPP_GUARD_
+#define HILBERT3D_SPACES_P0SPACE_HPP_GUARD_
#include "../hilbert.hpp"
+#include "../generic/TypeMap_tmpl.hpp"
+#include "../generic/SingleElementIterator.hpp"
+#include "HLibSpace.hpp"
+#include "GenericSpace.hpp"
#include <vector>
-extern "C" {
-#include <HLib/sparsematrix.h>
-}
namespace space
{
- template < class TElement,
- unsigned int maximumNumberOfDegreesOfFreedomPerFace = 0,
- class TMesh = BoundaryMesh >
- class Space
- {
- public:
- typedef TElement Element;
-
- Space( const TMesh& mesh, unsigned int numberOfElements );
- const TElement& operator[](unsigned int id) const;
- const TElement& getElement(unsigned int id) const;
- unsigned int getNumberOfElements() const;
-
- std::vector< const TElement* > getDegreesOfFreedomForFace(
- const typename TMesh::Face& face) const;
-
- protected:
- void addElement( std::vector< const typename TMesh::Face* > faces );
- const TMesh& mesh_; // MK: changed from private to protected
-
- private:
- Space();
- std::vector< TElement > elements_;
- std::vector< const TElement* > face2elements_;
- };
-/*
- template < class TElement, class TMesh >
- class Space< TElement, -1, TMesh >
- {
-
-
- };
-*/
-
class P0Element
{
public:
+ typedef ::hilbert3d::generic::SingleElementIterator< BoundaryMesh::Face >
+ ConstFaceIterator;
+
P0Element(const std::vector< const BoundaryMesh::Face* > faces);
P0Element(const BoundaryMesh::Face& face);
const BoundaryMesh::Face& getSupport() const;
-// double operator()(
-// const BoundaryMesh::UVertex& point) const;
+ ConstFaceIterator begin() const;
+ ConstFaceIterator end() const;
+ double operator()(
+ const BoundaryMesh::Face& face,
+ const BoundaryMesh::UVertex& point) const;
private:
P0Element();
};
class P0Space
- : public Space< P0Element, 1 >
+ : public HLibSpace< BoundaryMesh, Space< P0Element, 1 > >
{
public:
P0Space(const BoundaryMesh& mesh);
- clusterfactory* createClusterFactory() const;
-
- private:
- template < unsigned int DIM >
- static bool vertexLtComparison(
- const BoundaryMesh::UVertex& v1,
- const BoundaryMesh::UVertex& v2)
- {
- return v1[DIM] < v2[DIM];
- }
};
}
--- /dev/null
+#include "P1Space.hpp"
+
+namespace space
+{
+ template < class TMesh >
+ P1Element< TMesh >::P1Element(
+ const typename std::vector< const typename TMesh::Face* >& faces)
+ : support_(faces)
+ {}
+
+ template < class TMesh >
+ typename P1Element< TMesh >::ConstFaceIterator
+ P1Element< TMesh >::begin() const
+ {
+ return ConstFaceIterator(support_.begin());
+ }
+
+ template < class TMesh >
+ typename P1Element< TMesh >::ConstFaceIterator
+ P1Element< TMesh >::end() const
+ {
+ return ConstFaceIterator(support_.end());
+ }
+
+ template class Space<P1Element<BoundaryMesh>,3>;
+ template class HLibSpace< BoundaryMesh, Space<P1Element<BoundaryMesh>,3> >;
+
+ template < class TMesh >
+ P1Space< TMesh >::P1Space(const TMesh& mesh)
+ : HLibSpace< TMesh, Space<P1Element<TMesh>, 3> >(
+ mesh, mesh.getNumberOfVertices())
+ {
+ for (typename TMesh::ConstVertexIterator vertexIt = mesh.begin_v();
+ vertexIt != mesh.end_v(); ++vertexIt)
+ {
+ typename std::vector< const typename TMesh::Face* > support;
+ for (typename TMesh::Vertex::ConstFaceIterator faceIt =
+ vertexIt->begin_f(); faceIt != vertexIt->end_f(); ++faceIt)
+ {
+ support.push_back( &(*faceIt) );
+ }
+ addElement( support );
+ }
+ }
+}
+
--- /dev/null
+#ifndef HILBERT3D_SPACES_P1SPACE_HPP_GUARD_
+#define HILBERT3D_SPACES_P1SPACE_HPP_GUARD_
+
+#include "../hilbert.hpp"
+#include "../generic/ReferenceSemanticsForPtrVectorConstIterator.hpp"
+#include "HLibSpace_tmpl.cpp"
+#include "GenericSpace_tmpl.cpp"
+
+namespace space
+{
+ template< class TMesh = BoundaryMesh >
+ class P1Element
+ {
+ public:
+ typedef
+ ::hilbert3d::generic::ReferenceSemanticsForPtrVectorConstIterator<
+ typename std::vector< const typename TMesh::Face* > >
+ ConstFaceIterator;
+
+ P1Element( const typename std::vector< const typename TMesh::Face* >& );
+ ConstFaceIterator begin() const;
+ ConstFaceIterator end() const;
+
+ private:
+ P1Element();
+ std::vector< const typename TMesh::Face* > support_;
+ };
+
+ template < class TMesh = BoundaryMesh >
+ class P1Space
+ : public HLibSpace< TMesh, Space<P1Element<TMesh>, 3> >
+ {
+ public:
+ P1Space(const TMesh& mesh);
+ };
+}
+
+#endif
+
--- /dev/null
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
+# t/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
+# Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+pkgdatadir = $(datadir)/hilbert3d
+pkgincludedir = $(includedir)/hilbert3d
+pkglibdir = $(libdir)/hilbert3d
+pkglibexecdir = $(libexecdir)/hilbert3d
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+subdir = t
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
+ $(top_srcdir)/m4/ax_boost_base.m4 \
+ $(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
+ $(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-dvi-recursive install-exec-recursive \
+ install-html-recursive install-info-recursive \
+ install-pdf-recursive install-ps-recursive install-recursive \
+ installcheck-recursive installdirs-recursive pdf-recursive \
+ ps-recursive uninstall-recursive
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
+ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+ distdir
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+am__relativize = \
+ dir0=`pwd`; \
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+ sed_rest='s,^[^/]*/*,,'; \
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+ sed_butlast='s,/*[^/]*$$,,'; \
+ while test -n "$$dir1"; do \
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+ if test "$$first" != "."; then \
+ if test "$$first" = ".."; then \
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+ else \
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+ if test "$$first2" = "$$first"; then \
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+ else \
+ dir2="../$$dir2"; \
+ fi; \
+ dir0="$$dir0"/"$$first"; \
+ fi; \
+ fi; \
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+ done; \
+ reldir="$$dir2"
+ACLOCAL = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run aclocal-1.11
+AMTAR = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run tar
+AM_CXXFLAGS =
+AM_LDFLAGS =
+AUTOCONF = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run automake-1.11
+AWK = mawk
+BLAS_LIBS = -lblas
+BOOST_CPPFLAGS = -I/usr/include
+BOOST_LDFLAGS = -L/usr/lib
+BOOST_REGEX_LIB = -lboost_regex-mt
+BOOST_ROOT_PATH = /usr
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -I/usr/local/include
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DOXYGEN_PAPER_SIZE =
+DX_CONFIG = Doxyfile
+DX_DOCDIR = docs/doxygen
+DX_DOT =
+DX_DOXYGEN =
+DX_DVIPS =
+DX_EGREP =
+DX_ENV = SRCDIR='.' PROJECT='Hilbert 3D' DOCDIR='docs/doxygen' VERSION='0.1.0' HAVE_DOT='NO' GENERATE_MAN='NO' GENERATE_RTF='NO' GENERATE_XML='NO' GENERATE_HTMLHELP='NO' GENERATE_CHI='NO' GENERATE_HTML='NO' GENERATE_LATEX='NO'
+DX_FLAG_chi = 0
+DX_FLAG_chm = 0
+DX_FLAG_doc = 0
+DX_FLAG_dot = 0
+DX_FLAG_html = 0
+DX_FLAG_man = 0
+DX_FLAG_pdf = 0
+DX_FLAG_ps = 0
+DX_FLAG_rtf = 0
+DX_FLAG_xml = 0
+DX_HHC =
+DX_LATEX =
+DX_MAKEINDEX =
+DX_PDFLATEX =
+DX_PERL = /usr/bin/perl
+DX_PROJECT = Hilbert 3D
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+F77 = gfortran
+FFLAGS = -g -O2
+FLIBS = -L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2 -L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/../../.. -L/usr/lib/x86_64-linux-gnu -lgfortran -lm
+GREP = /bin/grep
+HLIB_CPPFLAGS = -I/usr/local/include
+HLIB_LDFLAGS = -L/usr/local/lib
+HLIB_LIB = -lhmatrix
+HLIB_ROOT_PATH = /usr/local
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LAPACK_LIBS = -llapack
+LDFLAGS =
+LIBOBJS =
+LIBS =
+LOKI_CPPFLAGS = -I/usr/local/include
+LOKI_LDFLAGS = -L/usr/local/lib
+LOKI_ROOT_PATH = /usr/local
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run makeinfo
+MKDIR_P = /bin/mkdir -p
+OBJEXT = o
+PACKAGE = hilbert3d
+PACKAGE_BUGREPORT = markus.mayr@tuwien.ac.at
+PACKAGE_NAME = Hilbert 3D
+PACKAGE_STRING = Hilbert 3D 0.1.0
+PACKAGE_TARNAME = hilbert3d
+PACKAGE_URL = http://83.169.35.184/cgi-bin/gitweb?p=bem3d.git
+PACKAGE_VERSION = 0.1.0
+PATH_SEPARATOR = :
+RANLIB = ranlib
+SET_MAKE =
+SHELL = /bin/bash
+STRIP =
+VERSION = 0.1.0
+abs_builddir = /home/treecity/workspace/bacc/src/bem3d/t
+abs_srcdir = /home/treecity/workspace/bacc/src/bem3d/t
+abs_top_builddir = /home/treecity/workspace/bacc/src/bem3d
+abs_top_srcdir = /home/treecity/workspace/bacc/src/bem3d
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = gfortran
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build_alias =
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host_alias =
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = /bin/mkdir -p
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../
+top_builddir = ..
+top_srcdir = ..
+SUBDIRS = generic boundary_mesh laplace
+all: all-recursive
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu t/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu t/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+# (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+ @fail= failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+$(RECURSIVE_CLEAN_TARGETS):
+ @fail= failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ rev=''; for subdir in $$list; do \
+ if test "$$subdir" = "."; then :; else \
+ rev="$$subdir $$rev"; \
+ fi; \
+ done; \
+ rev="$$rev ."; \
+ target=`echo $@ | sed s/-recursive//`; \
+ for subdir in $$rev; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ set x; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+ $(am__relativize); \
+ new_distdir=$$reldir; \
+ dir1=$$subdir; dir2="$(top_distdir)"; \
+ $(am__relativize); \
+ new_top_distdir=$$reldir; \
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+ ($(am__cd) $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$new_top_distdir" \
+ distdir="$$new_distdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ am__skip_mode_fix=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-recursive
+all-am: Makefile
+installdirs: installdirs-recursive
+installdirs-am:
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-generic mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+html-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-recursive
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-recursive
+
+install-html-am:
+
+install-info: install-info-recursive
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-pdf-am:
+
+install-ps: install-ps-recursive
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
+ install-am install-strip tags-recursive
+
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
+ all all-am check check-am clean clean-generic ctags \
+ ctags-recursive distclean distclean-generic distclean-tags \
+ distdir dvi dvi-am html html-am info info-am install \
+ install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ installdirs-am maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
+ tags-recursive uninstall uninstall-am
+
+
+smoke-test:
+ make -C generic smoke-test \
+ make -C boundary_mesh smoke-test \
+ make -C laplace smoke-test
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+SUBDIRS = generic boundary_mesh laplace
+
+smoke-test:
+ make -C generic smoke-test \
+ make -C boundary_mesh smoke-test \
+ make -C laplace smoke-test
+
--- /dev/null
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
+# Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+subdir = t
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
+ $(top_srcdir)/m4/ax_boost_base.m4 \
+ $(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
+ $(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-dvi-recursive install-exec-recursive \
+ install-html-recursive install-info-recursive \
+ install-pdf-recursive install-ps-recursive install-recursive \
+ installcheck-recursive installdirs-recursive pdf-recursive \
+ ps-recursive uninstall-recursive
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
+ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+ distdir
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+am__relativize = \
+ dir0=`pwd`; \
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+ sed_rest='s,^[^/]*/*,,'; \
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+ sed_butlast='s,/*[^/]*$$,,'; \
+ while test -n "$$dir1"; do \
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+ if test "$$first" != "."; then \
+ if test "$$first" = ".."; then \
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+ else \
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+ if test "$$first2" = "$$first"; then \
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+ else \
+ dir2="../$$dir2"; \
+ fi; \
+ dir0="$$dir0"/"$$first"; \
+ fi; \
+ fi; \
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+ done; \
+ reldir="$$dir2"
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_CXXFLAGS = @AM_CXXFLAGS@
+AM_LDFLAGS = @AM_LDFLAGS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BLAS_LIBS = @BLAS_LIBS@
+BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
+BOOST_LDFLAGS = @BOOST_LDFLAGS@
+BOOST_REGEX_LIB = @BOOST_REGEX_LIB@
+BOOST_ROOT_PATH = @BOOST_ROOT_PATH@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DOXYGEN_PAPER_SIZE = @DOXYGEN_PAPER_SIZE@
+DX_CONFIG = @DX_CONFIG@
+DX_DOCDIR = @DX_DOCDIR@
+DX_DOT = @DX_DOT@
+DX_DOXYGEN = @DX_DOXYGEN@
+DX_DVIPS = @DX_DVIPS@
+DX_EGREP = @DX_EGREP@
+DX_ENV = @DX_ENV@
+DX_FLAG_chi = @DX_FLAG_chi@
+DX_FLAG_chm = @DX_FLAG_chm@
+DX_FLAG_doc = @DX_FLAG_doc@
+DX_FLAG_dot = @DX_FLAG_dot@
+DX_FLAG_html = @DX_FLAG_html@
+DX_FLAG_man = @DX_FLAG_man@
+DX_FLAG_pdf = @DX_FLAG_pdf@
+DX_FLAG_ps = @DX_FLAG_ps@
+DX_FLAG_rtf = @DX_FLAG_rtf@
+DX_FLAG_xml = @DX_FLAG_xml@
+DX_HHC = @DX_HHC@
+DX_LATEX = @DX_LATEX@
+DX_MAKEINDEX = @DX_MAKEINDEX@
+DX_PDFLATEX = @DX_PDFLATEX@
+DX_PERL = @DX_PERL@
+DX_PROJECT = @DX_PROJECT@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FLIBS = @FLIBS@
+GREP = @GREP@
+HLIB_CPPFLAGS = @HLIB_CPPFLAGS@
+HLIB_LDFLAGS = @HLIB_LDFLAGS@
+HLIB_LIB = @HLIB_LIB@
+HLIB_ROOT_PATH = @HLIB_ROOT_PATH@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LAPACK_LIBS = @LAPACK_LIBS@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LOKI_CPPFLAGS = @LOKI_CPPFLAGS@
+LOKI_LDFLAGS = @LOKI_LDFLAGS@
+LOKI_ROOT_PATH = @LOKI_ROOT_PATH@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+SUBDIRS = generic boundary_mesh laplace
+all: all-recursive
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu t/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu t/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+# (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+ @fail= failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+$(RECURSIVE_CLEAN_TARGETS):
+ @fail= failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ rev=''; for subdir in $$list; do \
+ if test "$$subdir" = "."; then :; else \
+ rev="$$subdir $$rev"; \
+ fi; \
+ done; \
+ rev="$$rev ."; \
+ target=`echo $@ | sed s/-recursive//`; \
+ for subdir in $$rev; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ set x; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+ $(am__relativize); \
+ new_distdir=$$reldir; \
+ dir1=$$subdir; dir2="$(top_distdir)"; \
+ $(am__relativize); \
+ new_top_distdir=$$reldir; \
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+ ($(am__cd) $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$new_top_distdir" \
+ distdir="$$new_distdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ am__skip_mode_fix=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-recursive
+all-am: Makefile
+installdirs: installdirs-recursive
+installdirs-am:
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-generic mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+html-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-recursive
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-recursive
+
+install-html-am:
+
+install-info: install-info-recursive
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-pdf-am:
+
+install-ps: install-ps-recursive
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
+ install-am install-strip tags-recursive
+
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
+ all all-am check check-am clean clean-generic ctags \
+ ctags-recursive distclean distclean-generic distclean-tags \
+ distdir dvi dvi-am html html-am info info-am install \
+ install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ installdirs-am maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
+ tags-recursive uninstall uninstall-am
+
+
+smoke-test:
+ make -C generic smoke-test \
+ make -C boundary_mesh smoke-test \
+ make -C laplace smoke-test
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+#include <boundary_mesh/FlexibleMesh.hpp>
+
+#define BOOST_TEST_DYN_LINK
+#define BOOST_TEST_MODULE FlexibleMesh_Face
+#include <boost/test/unit_test.hpp>
+
+/**
+ * These tests are testing some API that is not accessible by the regular user.
+ * Therefore, we need to wrap our testing code into a particular class, which
+ * is called Tester. Tester is itself a class template, which is a friend of
+ * almost all classes within the boundary_mesh namespace.
+ */
+
+namespace testing
+{
+using namespace boundary_mesh;
+
+template < class TMesh >
+class Tester
+{
+ private:
+ static typename TMesh::Prop::Triangle
+ linkHalfEdgesToTriangle(typename TMesh::HalfEdge& e1,
+ typename TMesh::HalfEdge& e2, typename TMesh::HalfEdge& e3,
+ geoid_t id = 0)
+ {
+ e1.setNextEdge( &e2 );
+ e2.setNextEdge( &e3 );
+ e3.setNextEdge( &e1 );
+ e3.setPreviousEdge( &e2 );
+ e2.setPreviousEdge( &e1 );
+ e1.setPreviousEdge( &e3 );
+
+ typename TMesh::Prop::Triangle face( e1, id );
+ e1.setFace( face );
+ e2.setFace( face );
+ e3.setFace( face );
+
+ return face;
+ }
+
+ public:
+ static void testFactorizeHalfEdge()
+ {
+ typename TMesh::Vertex a( 1., 1., 1. );
+ typename TMesh::Vertex b( 2., 2., 2. );
+ typename TMesh::HalfEdge he( a, b );
+
+ BOOST_CHECK( he.getStartVertex() == a );
+ BOOST_CHECK( he.getEndVertex() == b );
+ }
+
+ static void testFactorizeFace()
+ {
+ typename TMesh::Vertex
+ a( 0., 0., 0. ), b( 1., 0., 0. ), c( 0., 1., 0. );
+ typename TMesh::HalfEdge
+ e1( a, b ), e2( b, c ), e3( c, a );
+
+ typename TMesh::Prop::Triangle face =
+ linkHalfEdgesToTriangle( e1, e2, e3 );
+
+ BOOST_CHECK( e1.getNextEdge() == &e2 );
+ BOOST_CHECK( e1.getPreviousEdge() == &e3 );
+
+ BOOST_CHECK( &(e1.getFace()) == &(e2.getFace()) );
+ BOOST_CHECK( &(e2.getFace()) == &(e3.getFace()) );
+ BOOST_CHECK( &(e3.getFace()) == &(face) );
+ }
+
+ static void testLessThanAndEqualsOperator()
+ {
+ typename TMesh::Vertex
+ T1_a( 0., 0., 0. ), T1_b( 1., 0., 0. ), T1_c( 0., 1., 0. ),
+ T2_a( 0., 0., 0. ), T2_b( 1., 0., 0. ), T2_c( 0., 1., 0. ),
+ T3_a( 1., 0., 0. ), T3_b( 0., 1., 0. ), T3_c( 0., 0., 0. ),
+ T4_a( 1., 0., 0. ), T4_b( 0., 0., 0. ), T4_c( 0., 1., 0. ),
+ T5_a( -1., -1., 0. ), T5_b( 10., 10., 0. ), T5_c( 12., 10., 0. ),
+ T6_a( -1., -1., 0. ), T6_b( 12., 10., 0. ), T6_c( 10., 10., 0. );
+
+ typename TMesh::HalfEdge
+ T1_e1( T1_a, T1_b ), T1_e2( T1_b, T1_c ), T1_e3( T1_c, T1_a ),
+ T2_e1( T2_a, T2_b ), T2_e2( T2_b, T2_c ), T2_e3( T2_c, T2_a ),
+ T3_e1( T3_a, T3_b ), T3_e2( T3_b, T3_c ), T3_e3( T3_c, T3_a ),
+ T4_e1( T4_a, T4_b ), T4_e2( T4_b, T4_c ), T4_e3( T4_c, T4_a ),
+ T5_e1( T5_a, T5_b ), T5_e2( T5_b, T5_c ), T5_e3( T5_c, T5_a ),
+ T6_e1( T6_a, T6_b ), T6_e2( T6_b, T6_c ), T6_e3( T6_c, T6_a );
+
+ typename TMesh::Prop::Triangle T1 =
+ linkHalfEdgesToTriangle( T1_e1, T1_e2, T1_e3, 0 );
+ typename TMesh::Prop::Triangle T2 =
+ linkHalfEdgesToTriangle( T2_e1, T2_e2, T2_e3, 1 );
+ typename TMesh::Prop::Triangle T3 =
+ linkHalfEdgesToTriangle( T3_e1, T3_e2, T3_e3, 2 );
+ typename TMesh::Prop::Triangle T4 =
+ linkHalfEdgesToTriangle( T4_e1, T4_e2, T4_e3, 3 );
+ typename TMesh::Prop::Triangle T5 =
+ linkHalfEdgesToTriangle( T5_e1, T5_e2, T5_e3, 4 );
+ typename TMesh::Prop::Triangle T6 =
+ linkHalfEdgesToTriangle( T6_e1, T6_e2, T6_e3, 5 );
+
+ BOOST_CHECK( T1 == T2 );
+ BOOST_CHECK( T1 == T3 );
+ BOOST_CHECK( T1 == T4 );
+ BOOST_CHECK( !(T1 == T5) );
+ BOOST_CHECK( !(T1 == T6) );
+ BOOST_CHECK( T5 == T6 );
+
+ BOOST_CHECK( !( T1 < T2 ) );
+ BOOST_CHECK( !( T2 < T1 ) );
+ BOOST_CHECK( !( T1 < T3 ) );
+ BOOST_CHECK( !( T3 < T1 ) );
+ BOOST_CHECK( !( T1 < T5 ) );
+ BOOST_CHECK( !( T1 < T6 ) );
+ BOOST_CHECK( T5 < T1 );
+ BOOST_CHECK( T6 < T1 );
+ }
+};
+}
+
+typedef testing::Tester< boundary_mesh::FlexibleMesh > Tester;
+
+BOOST_AUTO_TEST_SUITE(FlexibleMesh_Face)
+
+BOOST_AUTO_TEST_CASE(FactorizeHalfEdge)
+{
+ Tester::testFactorizeHalfEdge();
+}
+
+BOOST_AUTO_TEST_CASE(FactorizeFace)
+{
+ Tester::testFactorizeFace();
+}
+
+BOOST_AUTO_TEST_CASE(Face_LessThanAndEqualsOperator)
+{
+ Tester::testLessThanAndEqualsOperator();
+}
+
+BOOST_AUTO_TEST_SUITE_END()
+
--- /dev/null
+#include <boundary_mesh/FlexibleMesh.hpp>
+#include <boundary_mesh/Marker.hpp>
+
+#define BOOST_TEST_DYN_LINK
+#define BOOST_TEST_MODULE BoundaryMeshAdaptiveRefinementBasicTests
+#include <boost/test/unit_test.hpp>
+
+BOOST_AUTO_TEST_SUITE(BoundaryMeshAdaptiveRefinementBasicTests)
+
+BOOST_AUTO_TEST_CASE(ReferenceTriangle_Red)
+{
+ using namespace ::boundary_mesh;
+ FlexibleMesh mesh = FlexibleMesh::Alg::loadFromObj(
+ "test-data/ref-triangle.obj");
+ MarkerBuilder< FlexibleMesh > markerBuilder( mesh );
+ markerBuilder.mark( *(mesh.begin_f()), *(*mesh.begin_f()).begin_e() );
+ Marker< FlexibleMesh > marker = markerBuilder.deliver();
+
+ FlexibleRefinementData refData =
+ FlexibleMesh::Alg::refineAdaptivly( mesh, marker );
+ FlexibleMesh::Alg::saveAsObj( refData.getSonMesh(), "test.obj");
+ FlexibleMesh solution = FlexibleMesh::Alg::loadFromObj(
+ "test-data/ref-triangle-refined-red.obj");
+ BOOST_CHECK( refData.getSonMesh() == solution );
+}
+
+BOOST_AUTO_TEST_SUITE_END()
+
--- /dev/null
+#include <boundary_mesh/FlexibleMesh.hpp>
+
+#define BOOST_TEST_DYN_LINK
+#define BOOST_TEST_MODULE BoundaryMeshAdaptiveRefinementBasicTests
+#include <boost/test/unit_test.hpp>
+
+BOOST_AUTO_TEST_SUITE(BoundaryMeshAdaptiveRefinementBasicTests)
+
+BOOST_AUTO_TEST_CASE(ReferenceTriangle_Red)
+{
+ using namespace ::boundary_mesh;
+ FlexibleMesh mesh = FlexibleMesh::Alg::loadFromObj(
+ "test-data/ref-triangle.obj");
+ FlexibleMesh refined = FlexibleMesh::Alg::refineUniformly( mesh );
+
+ FlexibleMesh solution = FlexibleMesh::Alg::loadFromObj(
+ "test-data/ref-triangle-refined-uniformly.obj");
+ BOOST_CHECK( solution == refined );
+}
+
+BOOST_AUTO_TEST_SUITE_END()
+
+
--- /dev/null
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
+# t/boundary_mesh/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
+# Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+
+
+pkgdatadir = $(datadir)/hilbert3d
+pkgincludedir = $(includedir)/hilbert3d
+pkglibdir = $(libdir)/hilbert3d
+pkglibexecdir = $(libexecdir)/hilbert3d
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+bin_PROGRAMS = test-face$(EXEEXT) \
+ test-boundary-mesh-adaptive-refinement$(EXEEXT)
+subdir = t/boundary_mesh
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+ $(test_boundary_mesh_adaptive_refinement_HEADERS) \
+ $(test_face_HEADERS)
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
+ $(top_srcdir)/m4/ax_boost_base.m4 \
+ $(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
+ $(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__installdirs = "$(DESTDIR)$(bindir)" \
+ "$(DESTDIR)$(test_boundary_mesh_adaptive_refinementdir)" \
+ "$(DESTDIR)$(test_facedir)"
+PROGRAMS = $(bin_PROGRAMS)
+am_test_boundary_mesh_adaptive_refinement_OBJECTS = \
+ FlexibleMeshAdaptiveRefinement.$(OBJEXT) \
+ GenericVector.$(OBJEXT)
+test_boundary_mesh_adaptive_refinement_OBJECTS = \
+ $(am_test_boundary_mesh_adaptive_refinement_OBJECTS)
+test_boundary_mesh_adaptive_refinement_DEPENDENCIES =
+am_test_face_OBJECTS = Face.$(OBJEXT) GenericVector.$(OBJEXT)
+test_face_OBJECTS = $(am_test_face_OBJECTS)
+test_face_DEPENDENCIES =
+DEFAULT_INCLUDES = -I. -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
+ -o $@
+SOURCES = $(test_boundary_mesh_adaptive_refinement_SOURCES) \
+ $(test_face_SOURCES)
+DIST_SOURCES = $(test_boundary_mesh_adaptive_refinement_SOURCES) \
+ $(test_face_SOURCES)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+HEADERS = $(test_boundary_mesh_adaptive_refinement_HEADERS) \
+ $(test_face_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run aclocal-1.11
+AMTAR = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run tar
+AM_CXXFLAGS =
+
+#AM_CXXFLAGS = -I../../src
+AM_LDFLAGS = -L../../src/boundary_mesh
+AUTOCONF = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run automake-1.11
+AWK = mawk
+BLAS_LIBS = -lblas
+BOOST_CPPFLAGS = -I/usr/include
+BOOST_LDFLAGS = -L/usr/lib
+BOOST_REGEX_LIB = -lboost_regex-mt
+BOOST_ROOT_PATH = /usr
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -I/usr/local/include
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DOXYGEN_PAPER_SIZE =
+DX_CONFIG = Doxyfile
+DX_DOCDIR = docs/doxygen
+DX_DOT =
+DX_DOXYGEN =
+DX_DVIPS =
+DX_EGREP =
+DX_ENV = SRCDIR='.' PROJECT='Hilbert 3D' DOCDIR='docs/doxygen' VERSION='0.1.0' HAVE_DOT='NO' GENERATE_MAN='NO' GENERATE_RTF='NO' GENERATE_XML='NO' GENERATE_HTMLHELP='NO' GENERATE_CHI='NO' GENERATE_HTML='NO' GENERATE_LATEX='NO'
+DX_FLAG_chi = 0
+DX_FLAG_chm = 0
+DX_FLAG_doc = 0
+DX_FLAG_dot = 0
+DX_FLAG_html = 0
+DX_FLAG_man = 0
+DX_FLAG_pdf = 0
+DX_FLAG_ps = 0
+DX_FLAG_rtf = 0
+DX_FLAG_xml = 0
+DX_HHC =
+DX_LATEX =
+DX_MAKEINDEX =
+DX_PDFLATEX =
+DX_PERL = /usr/bin/perl
+DX_PROJECT = Hilbert 3D
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+F77 = gfortran
+FFLAGS = -g -O2
+FLIBS = -L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2 -L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/../../.. -L/usr/lib/x86_64-linux-gnu -lgfortran -lm
+GREP = /bin/grep
+HLIB_CPPFLAGS = -I/usr/local/include
+HLIB_LDFLAGS = -L/usr/local/lib
+HLIB_LIB = -lhmatrix
+HLIB_ROOT_PATH = /usr/local
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LAPACK_LIBS = -llapack
+LDFLAGS =
+LIBOBJS =
+LIBS =
+LOKI_CPPFLAGS = -I/usr/local/include
+LOKI_LDFLAGS = -L/usr/local/lib
+LOKI_ROOT_PATH = /usr/local
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run makeinfo
+MKDIR_P = /bin/mkdir -p
+OBJEXT = o
+PACKAGE = hilbert3d
+PACKAGE_BUGREPORT = markus.mayr@tuwien.ac.at
+PACKAGE_NAME = Hilbert 3D
+PACKAGE_STRING = Hilbert 3D 0.1.0
+PACKAGE_TARNAME = hilbert3d
+PACKAGE_URL = http://83.169.35.184/cgi-bin/gitweb?p=bem3d.git
+PACKAGE_VERSION = 0.1.0
+PATH_SEPARATOR = :
+RANLIB = ranlib
+SET_MAKE =
+SHELL = /bin/bash
+STRIP =
+VERSION = 0.1.0
+abs_builddir = /home/treecity/workspace/bacc/src/bem3d/t/boundary_mesh
+abs_srcdir = /home/treecity/workspace/bacc/src/bem3d/t/boundary_mesh
+abs_top_builddir = /home/treecity/workspace/bacc/src/bem3d
+abs_top_srcdir = /home/treecity/workspace/bacc/src/bem3d
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = gfortran
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build_alias =
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host_alias =
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = /bin/mkdir -p
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../
+top_builddir = ../..
+top_srcdir = ../..
+test_facedir = .
+test_face_SOURCES = Face.cpp ../../src/generic/GenericVector.cpp
+test_face_HEADERS = ../../src/boundary_mesh/FlexibleMesh.hpp
+test_face_LDADD = -lboost_unit_test_framework -lboost_regex -lhilbert-mesh
+test_boundary_mesh_adaptive_refinementdir = .
+test_boundary_mesh_adaptive_refinement_SOURCES = \
+ FlexibleMeshAdaptiveRefinement.cpp ../../src/generic/GenericVector.cpp
+
+test_boundary_mesh_adaptive_refinement_HEADERS = \
+ ../../src/boundary_mesh/FlexibleMesh.hpp
+
+test_boundary_mesh_adaptive_refinement_LDADD = \
+ -lboost_unit_test_framework -lboost_regex -lhilbert-mesh
+
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu t/boundary_mesh/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu t/boundary_mesh/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed 's/$(EXEEXT)$$//' | \
+ while read p p1; do if test -f $$p; \
+ then echo "$$p"; echo "$$p"; else :; fi; \
+ done | \
+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+ sed 'N;N;N;s,\n, ,g' | \
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
+ else { print "f", $$3 "/" $$4, $$1; } } \
+ END { for (d in files) print "f", d, files[d] }' | \
+ while read type dir files; do \
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+ test -z "$$files" || { \
+ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
+ } \
+ ; done
+
+uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ files=`for p in $$list; do echo "$$p"; done | \
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+ -e 's/$$/$(EXEEXT)/' `; \
+ test -n "$$list" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
+
+clean-binPROGRAMS:
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+test-boundary-mesh-adaptive-refinement$(EXEEXT): $(test_boundary_mesh_adaptive_refinement_OBJECTS) $(test_boundary_mesh_adaptive_refinement_DEPENDENCIES)
+ @rm -f test-boundary-mesh-adaptive-refinement$(EXEEXT)
+ $(CXXLINK) $(test_boundary_mesh_adaptive_refinement_OBJECTS) $(test_boundary_mesh_adaptive_refinement_LDADD) $(LIBS)
+test-face$(EXEEXT): $(test_face_OBJECTS) $(test_face_DEPENDENCIES)
+ @rm -f test-face$(EXEEXT)
+ $(CXXLINK) $(test_face_OBJECTS) $(test_face_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+include ./$(DEPDIR)/Face.Po
+include ./$(DEPDIR)/FlexibleMeshAdaptiveRefinement.Po
+include ./$(DEPDIR)/GenericVector.Po
+
+.cpp.o:
+ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+# source='$<' object='$@' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+# source='$<' object='$@' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+GenericVector.o: ../../src/generic/GenericVector.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT GenericVector.o -MD -MP -MF $(DEPDIR)/GenericVector.Tpo -c -o GenericVector.o `test -f '../../src/generic/GenericVector.cpp' || echo '$(srcdir)/'`../../src/generic/GenericVector.cpp
+ $(am__mv) $(DEPDIR)/GenericVector.Tpo $(DEPDIR)/GenericVector.Po
+# source='../../src/generic/GenericVector.cpp' object='GenericVector.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o GenericVector.o `test -f '../../src/generic/GenericVector.cpp' || echo '$(srcdir)/'`../../src/generic/GenericVector.cpp
+
+GenericVector.obj: ../../src/generic/GenericVector.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT GenericVector.obj -MD -MP -MF $(DEPDIR)/GenericVector.Tpo -c -o GenericVector.obj `if test -f '../../src/generic/GenericVector.cpp'; then $(CYGPATH_W) '../../src/generic/GenericVector.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/generic/GenericVector.cpp'; fi`
+ $(am__mv) $(DEPDIR)/GenericVector.Tpo $(DEPDIR)/GenericVector.Po
+# source='../../src/generic/GenericVector.cpp' object='GenericVector.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o GenericVector.obj `if test -f '../../src/generic/GenericVector.cpp'; then $(CYGPATH_W) '../../src/generic/GenericVector.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/generic/GenericVector.cpp'; fi`
+install-test_boundary_mesh_adaptive_refinementHEADERS: $(test_boundary_mesh_adaptive_refinement_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(test_boundary_mesh_adaptive_refinementdir)" || $(MKDIR_P) "$(DESTDIR)$(test_boundary_mesh_adaptive_refinementdir)"
+ @list='$(test_boundary_mesh_adaptive_refinement_HEADERS)'; test -n "$(test_boundary_mesh_adaptive_refinementdir)" || list=; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(test_boundary_mesh_adaptive_refinementdir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(test_boundary_mesh_adaptive_refinementdir)" || exit $$?; \
+ done
+
+uninstall-test_boundary_mesh_adaptive_refinementHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(test_boundary_mesh_adaptive_refinement_HEADERS)'; test -n "$(test_boundary_mesh_adaptive_refinementdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(test_boundary_mesh_adaptive_refinementdir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(test_boundary_mesh_adaptive_refinementdir)" && rm -f $$files
+install-test_faceHEADERS: $(test_face_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(test_facedir)" || $(MKDIR_P) "$(DESTDIR)$(test_facedir)"
+ @list='$(test_face_HEADERS)'; test -n "$(test_facedir)" || list=; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(test_facedir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(test_facedir)" || exit $$?; \
+ done
+
+uninstall-test_faceHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(test_face_HEADERS)'; test -n "$(test_facedir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(test_facedir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(test_facedir)" && rm -f $$files
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ set x; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(PROGRAMS) $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(test_boundary_mesh_adaptive_refinementdir)" "$(DESTDIR)$(test_facedir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: \
+ install-test_boundary_mesh_adaptive_refinementHEADERS \
+ install-test_faceHEADERS
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-binPROGRAMS
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-binPROGRAMS \
+ uninstall-test_boundary_mesh_adaptive_refinementHEADERS \
+ uninstall-test_faceHEADERS
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
+ clean-generic ctags distclean distclean-compile \
+ distclean-generic distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-binPROGRAMS \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ install-test_boundary_mesh_adaptive_refinementHEADERS \
+ install-test_faceHEADERS installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
+ ps ps-am tags uninstall uninstall-am uninstall-binPROGRAMS \
+ uninstall-test_boundary_mesh_adaptive_refinementHEADERS \
+ uninstall-test_faceHEADERS
+
+
+smoke-test: test-face test-boundary-mesh-adaptive-refinement
+ ./test-face
+ ./test-boundary-mesh-adaptive-refinement
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+bin_PROGRAMS = test-face test-boundary-mesh-adaptive-refinement
+
+#AM_CXXFLAGS = -I../../src @AM_CXXFLAGS@
+AM_LDFLAGS = -L../../src/boundary_mesh @AM_LDFLAGS@
+
+test_facedir = .
+test_face_SOURCES = Face.cpp ../../src/generic/GenericVector.cpp
+test_face_HEADERS = ../../src/boundary_mesh/FlexibleMesh.hpp
+test_face_LDADD = -lboost_unit_test_framework -lboost_regex -lhilbert-mesh
+
+test_boundary_mesh_adaptive_refinementdir = .
+test_boundary_mesh_adaptive_refinement_SOURCES = \
+ FlexibleMeshAdaptiveRefinement.cpp ../../src/generic/GenericVector.cpp
+test_boundary_mesh_adaptive_refinement_HEADERS = \
+ ../../src/boundary_mesh/FlexibleMesh.hpp
+test_boundary_mesh_adaptive_refinement_LDADD = \
+ -lboost_unit_test_framework -lboost_regex -lhilbert-mesh
+
+smoke-test: test-face test-boundary-mesh-adaptive-refinement
+ ./test-face
+ ./test-boundary-mesh-adaptive-refinement
+
+
--- /dev/null
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
+# Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+bin_PROGRAMS = test-face$(EXEEXT) \
+ test-boundary-mesh-adaptive-refinement$(EXEEXT)
+subdir = t/boundary_mesh
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+ $(test_boundary_mesh_adaptive_refinement_HEADERS) \
+ $(test_face_HEADERS)
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
+ $(top_srcdir)/m4/ax_boost_base.m4 \
+ $(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
+ $(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__installdirs = "$(DESTDIR)$(bindir)" \
+ "$(DESTDIR)$(test_boundary_mesh_adaptive_refinementdir)" \
+ "$(DESTDIR)$(test_facedir)"
+PROGRAMS = $(bin_PROGRAMS)
+am_test_boundary_mesh_adaptive_refinement_OBJECTS = \
+ FlexibleMeshAdaptiveRefinement.$(OBJEXT) \
+ GenericVector.$(OBJEXT)
+test_boundary_mesh_adaptive_refinement_OBJECTS = \
+ $(am_test_boundary_mesh_adaptive_refinement_OBJECTS)
+test_boundary_mesh_adaptive_refinement_DEPENDENCIES =
+am_test_face_OBJECTS = Face.$(OBJEXT) GenericVector.$(OBJEXT)
+test_face_OBJECTS = $(am_test_face_OBJECTS)
+test_face_DEPENDENCIES =
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
+ -o $@
+SOURCES = $(test_boundary_mesh_adaptive_refinement_SOURCES) \
+ $(test_face_SOURCES)
+DIST_SOURCES = $(test_boundary_mesh_adaptive_refinement_SOURCES) \
+ $(test_face_SOURCES)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+HEADERS = $(test_boundary_mesh_adaptive_refinement_HEADERS) \
+ $(test_face_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_CXXFLAGS = @AM_CXXFLAGS@
+
+#AM_CXXFLAGS = -I../../src @AM_CXXFLAGS@
+AM_LDFLAGS = -L../../src/boundary_mesh @AM_LDFLAGS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BLAS_LIBS = @BLAS_LIBS@
+BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
+BOOST_LDFLAGS = @BOOST_LDFLAGS@
+BOOST_REGEX_LIB = @BOOST_REGEX_LIB@
+BOOST_ROOT_PATH = @BOOST_ROOT_PATH@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DOXYGEN_PAPER_SIZE = @DOXYGEN_PAPER_SIZE@
+DX_CONFIG = @DX_CONFIG@
+DX_DOCDIR = @DX_DOCDIR@
+DX_DOT = @DX_DOT@
+DX_DOXYGEN = @DX_DOXYGEN@
+DX_DVIPS = @DX_DVIPS@
+DX_EGREP = @DX_EGREP@
+DX_ENV = @DX_ENV@
+DX_FLAG_chi = @DX_FLAG_chi@
+DX_FLAG_chm = @DX_FLAG_chm@
+DX_FLAG_doc = @DX_FLAG_doc@
+DX_FLAG_dot = @DX_FLAG_dot@
+DX_FLAG_html = @DX_FLAG_html@
+DX_FLAG_man = @DX_FLAG_man@
+DX_FLAG_pdf = @DX_FLAG_pdf@
+DX_FLAG_ps = @DX_FLAG_ps@
+DX_FLAG_rtf = @DX_FLAG_rtf@
+DX_FLAG_xml = @DX_FLAG_xml@
+DX_HHC = @DX_HHC@
+DX_LATEX = @DX_LATEX@
+DX_MAKEINDEX = @DX_MAKEINDEX@
+DX_PDFLATEX = @DX_PDFLATEX@
+DX_PERL = @DX_PERL@
+DX_PROJECT = @DX_PROJECT@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FLIBS = @FLIBS@
+GREP = @GREP@
+HLIB_CPPFLAGS = @HLIB_CPPFLAGS@
+HLIB_LDFLAGS = @HLIB_LDFLAGS@
+HLIB_LIB = @HLIB_LIB@
+HLIB_ROOT_PATH = @HLIB_ROOT_PATH@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LAPACK_LIBS = @LAPACK_LIBS@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LOKI_CPPFLAGS = @LOKI_CPPFLAGS@
+LOKI_LDFLAGS = @LOKI_LDFLAGS@
+LOKI_ROOT_PATH = @LOKI_ROOT_PATH@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+test_facedir = .
+test_face_SOURCES = Face.cpp ../../src/generic/GenericVector.cpp
+test_face_HEADERS = ../../src/boundary_mesh/FlexibleMesh.hpp
+test_face_LDADD = -lboost_unit_test_framework -lboost_regex -lhilbert-mesh
+test_boundary_mesh_adaptive_refinementdir = .
+test_boundary_mesh_adaptive_refinement_SOURCES = \
+ FlexibleMeshAdaptiveRefinement.cpp ../../src/generic/GenericVector.cpp
+
+test_boundary_mesh_adaptive_refinement_HEADERS = \
+ ../../src/boundary_mesh/FlexibleMesh.hpp
+
+test_boundary_mesh_adaptive_refinement_LDADD = \
+ -lboost_unit_test_framework -lboost_regex -lhilbert-mesh
+
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu t/boundary_mesh/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu t/boundary_mesh/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed 's/$(EXEEXT)$$//' | \
+ while read p p1; do if test -f $$p; \
+ then echo "$$p"; echo "$$p"; else :; fi; \
+ done | \
+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+ sed 'N;N;N;s,\n, ,g' | \
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
+ else { print "f", $$3 "/" $$4, $$1; } } \
+ END { for (d in files) print "f", d, files[d] }' | \
+ while read type dir files; do \
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+ test -z "$$files" || { \
+ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
+ } \
+ ; done
+
+uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ files=`for p in $$list; do echo "$$p"; done | \
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+ -e 's/$$/$(EXEEXT)/' `; \
+ test -n "$$list" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
+
+clean-binPROGRAMS:
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+test-boundary-mesh-adaptive-refinement$(EXEEXT): $(test_boundary_mesh_adaptive_refinement_OBJECTS) $(test_boundary_mesh_adaptive_refinement_DEPENDENCIES)
+ @rm -f test-boundary-mesh-adaptive-refinement$(EXEEXT)
+ $(CXXLINK) $(test_boundary_mesh_adaptive_refinement_OBJECTS) $(test_boundary_mesh_adaptive_refinement_LDADD) $(LIBS)
+test-face$(EXEEXT): $(test_face_OBJECTS) $(test_face_DEPENDENCIES)
+ @rm -f test-face$(EXEEXT)
+ $(CXXLINK) $(test_face_OBJECTS) $(test_face_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Face.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/FlexibleMeshAdaptiveRefinement.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GenericVector.Po@am__quote@
+
+.cpp.o:
+@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+GenericVector.o: ../../src/generic/GenericVector.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT GenericVector.o -MD -MP -MF $(DEPDIR)/GenericVector.Tpo -c -o GenericVector.o `test -f '../../src/generic/GenericVector.cpp' || echo '$(srcdir)/'`../../src/generic/GenericVector.cpp
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/GenericVector.Tpo $(DEPDIR)/GenericVector.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../../src/generic/GenericVector.cpp' object='GenericVector.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o GenericVector.o `test -f '../../src/generic/GenericVector.cpp' || echo '$(srcdir)/'`../../src/generic/GenericVector.cpp
+
+GenericVector.obj: ../../src/generic/GenericVector.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT GenericVector.obj -MD -MP -MF $(DEPDIR)/GenericVector.Tpo -c -o GenericVector.obj `if test -f '../../src/generic/GenericVector.cpp'; then $(CYGPATH_W) '../../src/generic/GenericVector.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/generic/GenericVector.cpp'; fi`
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/GenericVector.Tpo $(DEPDIR)/GenericVector.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../../src/generic/GenericVector.cpp' object='GenericVector.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o GenericVector.obj `if test -f '../../src/generic/GenericVector.cpp'; then $(CYGPATH_W) '../../src/generic/GenericVector.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/generic/GenericVector.cpp'; fi`
+install-test_boundary_mesh_adaptive_refinementHEADERS: $(test_boundary_mesh_adaptive_refinement_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(test_boundary_mesh_adaptive_refinementdir)" || $(MKDIR_P) "$(DESTDIR)$(test_boundary_mesh_adaptive_refinementdir)"
+ @list='$(test_boundary_mesh_adaptive_refinement_HEADERS)'; test -n "$(test_boundary_mesh_adaptive_refinementdir)" || list=; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(test_boundary_mesh_adaptive_refinementdir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(test_boundary_mesh_adaptive_refinementdir)" || exit $$?; \
+ done
+
+uninstall-test_boundary_mesh_adaptive_refinementHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(test_boundary_mesh_adaptive_refinement_HEADERS)'; test -n "$(test_boundary_mesh_adaptive_refinementdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(test_boundary_mesh_adaptive_refinementdir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(test_boundary_mesh_adaptive_refinementdir)" && rm -f $$files
+install-test_faceHEADERS: $(test_face_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(test_facedir)" || $(MKDIR_P) "$(DESTDIR)$(test_facedir)"
+ @list='$(test_face_HEADERS)'; test -n "$(test_facedir)" || list=; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(test_facedir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(test_facedir)" || exit $$?; \
+ done
+
+uninstall-test_faceHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(test_face_HEADERS)'; test -n "$(test_facedir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(test_facedir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(test_facedir)" && rm -f $$files
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ set x; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(PROGRAMS) $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(test_boundary_mesh_adaptive_refinementdir)" "$(DESTDIR)$(test_facedir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: \
+ install-test_boundary_mesh_adaptive_refinementHEADERS \
+ install-test_faceHEADERS
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-binPROGRAMS
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-binPROGRAMS \
+ uninstall-test_boundary_mesh_adaptive_refinementHEADERS \
+ uninstall-test_faceHEADERS
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
+ clean-generic ctags distclean distclean-compile \
+ distclean-generic distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-binPROGRAMS \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ install-test_boundary_mesh_adaptive_refinementHEADERS \
+ install-test_faceHEADERS installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
+ ps ps-am tags uninstall uninstall-am uninstall-binPROGRAMS \
+ uninstall-test_boundary_mesh_adaptive_refinementHEADERS \
+ uninstall-test_faceHEADERS
+
+
+smoke-test: test-face test-boundary-mesh-adaptive-refinement
+ ./test-face
+ ./test-boundary-mesh-adaptive-refinement
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
+++ /dev/null
-#include <hilbert/generic/GenericVector.hpp>
-#include <hilbert/generic/GenericVector.cpp>
-
-#define BOOST_TEST_MODULE generic::GenericVector test
-#define BOOST_TEST_DYN_LINK
-
-#include <boost/test/unit_test.hpp>
-
-#include "GenericVector/01-basics.cpp"
-
+++ /dev/null
-#include <hilbert/generic/GenericVector.hpp>
-
-BOOST_AUTO_TEST_CASE( basics_test )
-{
- generic::GenericVector< 3 > a();
- BOOST_REQUIRE( a.getDimension() == 3 );
- BOOST_CHECK( a[0] == 0. );
- BOOST_CHECK( a[1] == 0. );
- BOOST_CHECK( a[2] == 0. );
-
- a[0] = 1.;
- BOOST_CHECK( a[1] == 1. );
-
- generic::GenericVector< 3 > b(a);
- BOOST_REQUIRE( b.getDimension() == 3 );
- BOOST_CHECK( b[0] == 1. );
- BOOST_CHECK( b[1] == 0. );
- BOOST_CHECK( b[2] == 0. );
-
- BOOST_CHECK( a == b );
-
- b[1] = 1.;
-
- BOOST_CHECK( a != b );
-}
-
--- /dev/null
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
+# t/generic/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
+# Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+
+
+pkgdatadir = $(datadir)/hilbert3d
+pkgincludedir = $(includedir)/hilbert3d
+pkglibdir = $(libdir)/hilbert3d
+pkglibexecdir = $(libexecdir)/hilbert3d
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+bin_PROGRAMS = test-generic-vector$(EXEEXT)
+subdir = t/generic
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+ $(test_generic_vector_HEADERS)
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
+ $(top_srcdir)/m4/ax_boost_base.m4 \
+ $(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
+ $(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__installdirs = "$(DESTDIR)$(bindir)" \
+ "$(DESTDIR)$(test_generic_vectordir)"
+PROGRAMS = $(bin_PROGRAMS)
+am_test_generic_vector_OBJECTS = testGenericVector.$(OBJEXT) \
+ GenericVector.$(OBJEXT)
+test_generic_vector_OBJECTS = $(am_test_generic_vector_OBJECTS)
+test_generic_vector_DEPENDENCIES =
+DEFAULT_INCLUDES = -I. -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
+ -o $@
+SOURCES = $(test_generic_vector_SOURCES)
+DIST_SOURCES = $(test_generic_vector_SOURCES)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+HEADERS = $(test_generic_vector_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run aclocal-1.11
+AMTAR = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run tar
+AM_CXXFLAGS =
+AM_LDFLAGS =
+AUTOCONF = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run automake-1.11
+AWK = mawk
+BLAS_LIBS = -lblas
+BOOST_CPPFLAGS = -I/usr/include
+BOOST_LDFLAGS = -L/usr/lib
+BOOST_REGEX_LIB = -lboost_regex-mt
+BOOST_ROOT_PATH = /usr
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -I/usr/local/include
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DOXYGEN_PAPER_SIZE =
+DX_CONFIG = Doxyfile
+DX_DOCDIR = docs/doxygen
+DX_DOT =
+DX_DOXYGEN =
+DX_DVIPS =
+DX_EGREP =
+DX_ENV = SRCDIR='.' PROJECT='Hilbert 3D' DOCDIR='docs/doxygen' VERSION='0.1.0' HAVE_DOT='NO' GENERATE_MAN='NO' GENERATE_RTF='NO' GENERATE_XML='NO' GENERATE_HTMLHELP='NO' GENERATE_CHI='NO' GENERATE_HTML='NO' GENERATE_LATEX='NO'
+DX_FLAG_chi = 0
+DX_FLAG_chm = 0
+DX_FLAG_doc = 0
+DX_FLAG_dot = 0
+DX_FLAG_html = 0
+DX_FLAG_man = 0
+DX_FLAG_pdf = 0
+DX_FLAG_ps = 0
+DX_FLAG_rtf = 0
+DX_FLAG_xml = 0
+DX_HHC =
+DX_LATEX =
+DX_MAKEINDEX =
+DX_PDFLATEX =
+DX_PERL = /usr/bin/perl
+DX_PROJECT = Hilbert 3D
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+F77 = gfortran
+FFLAGS = -g -O2
+FLIBS = -L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2 -L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/../../.. -L/usr/lib/x86_64-linux-gnu -lgfortran -lm
+GREP = /bin/grep
+HLIB_CPPFLAGS = -I/usr/local/include
+HLIB_LDFLAGS = -L/usr/local/lib
+HLIB_LIB = -lhmatrix
+HLIB_ROOT_PATH = /usr/local
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LAPACK_LIBS = -llapack
+LDFLAGS =
+LIBOBJS =
+LIBS =
+LOKI_CPPFLAGS = -I/usr/local/include
+LOKI_LDFLAGS = -L/usr/local/lib
+LOKI_ROOT_PATH = /usr/local
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run makeinfo
+MKDIR_P = /bin/mkdir -p
+OBJEXT = o
+PACKAGE = hilbert3d
+PACKAGE_BUGREPORT = markus.mayr@tuwien.ac.at
+PACKAGE_NAME = Hilbert 3D
+PACKAGE_STRING = Hilbert 3D 0.1.0
+PACKAGE_TARNAME = hilbert3d
+PACKAGE_URL = http://83.169.35.184/cgi-bin/gitweb?p=bem3d.git
+PACKAGE_VERSION = 0.1.0
+PATH_SEPARATOR = :
+RANLIB = ranlib
+SET_MAKE =
+SHELL = /bin/bash
+STRIP =
+VERSION = 0.1.0
+abs_builddir = /home/treecity/workspace/bacc/src/bem3d/t/generic
+abs_srcdir = /home/treecity/workspace/bacc/src/bem3d/t/generic
+abs_top_builddir = /home/treecity/workspace/bacc/src/bem3d
+abs_top_srcdir = /home/treecity/workspace/bacc/src/bem3d
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = gfortran
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build_alias =
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host_alias =
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = /bin/mkdir -p
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../
+top_builddir = ../..
+top_srcdir = ../..
+test_generic_vectordir = .
+test_generic_vector_SOURCES = \
+ testGenericVector.cpp ../../src/generic/GenericVector.cpp
+
+test_generic_vector_HEADERS = \
+ ../../src/generic/GenericVector.hpp \
+ ../../src/generic/GenericVector_tmpl.cpp
+
+test_generic_vector_LDADD = -lboost_unit_test_framework
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu t/generic/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu t/generic/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed 's/$(EXEEXT)$$//' | \
+ while read p p1; do if test -f $$p; \
+ then echo "$$p"; echo "$$p"; else :; fi; \
+ done | \
+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+ sed 'N;N;N;s,\n, ,g' | \
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
+ else { print "f", $$3 "/" $$4, $$1; } } \
+ END { for (d in files) print "f", d, files[d] }' | \
+ while read type dir files; do \
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+ test -z "$$files" || { \
+ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
+ } \
+ ; done
+
+uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ files=`for p in $$list; do echo "$$p"; done | \
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+ -e 's/$$/$(EXEEXT)/' `; \
+ test -n "$$list" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
+
+clean-binPROGRAMS:
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+test-generic-vector$(EXEEXT): $(test_generic_vector_OBJECTS) $(test_generic_vector_DEPENDENCIES)
+ @rm -f test-generic-vector$(EXEEXT)
+ $(CXXLINK) $(test_generic_vector_OBJECTS) $(test_generic_vector_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+include ./$(DEPDIR)/GenericVector.Po
+include ./$(DEPDIR)/testGenericVector.Po
+
+.cpp.o:
+ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+# source='$<' object='$@' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+# source='$<' object='$@' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+GenericVector.o: ../../src/generic/GenericVector.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT GenericVector.o -MD -MP -MF $(DEPDIR)/GenericVector.Tpo -c -o GenericVector.o `test -f '../../src/generic/GenericVector.cpp' || echo '$(srcdir)/'`../../src/generic/GenericVector.cpp
+ $(am__mv) $(DEPDIR)/GenericVector.Tpo $(DEPDIR)/GenericVector.Po
+# source='../../src/generic/GenericVector.cpp' object='GenericVector.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o GenericVector.o `test -f '../../src/generic/GenericVector.cpp' || echo '$(srcdir)/'`../../src/generic/GenericVector.cpp
+
+GenericVector.obj: ../../src/generic/GenericVector.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT GenericVector.obj -MD -MP -MF $(DEPDIR)/GenericVector.Tpo -c -o GenericVector.obj `if test -f '../../src/generic/GenericVector.cpp'; then $(CYGPATH_W) '../../src/generic/GenericVector.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/generic/GenericVector.cpp'; fi`
+ $(am__mv) $(DEPDIR)/GenericVector.Tpo $(DEPDIR)/GenericVector.Po
+# source='../../src/generic/GenericVector.cpp' object='GenericVector.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o GenericVector.obj `if test -f '../../src/generic/GenericVector.cpp'; then $(CYGPATH_W) '../../src/generic/GenericVector.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/generic/GenericVector.cpp'; fi`
+install-test_generic_vectorHEADERS: $(test_generic_vector_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(test_generic_vectordir)" || $(MKDIR_P) "$(DESTDIR)$(test_generic_vectordir)"
+ @list='$(test_generic_vector_HEADERS)'; test -n "$(test_generic_vectordir)" || list=; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(test_generic_vectordir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(test_generic_vectordir)" || exit $$?; \
+ done
+
+uninstall-test_generic_vectorHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(test_generic_vector_HEADERS)'; test -n "$(test_generic_vectordir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(test_generic_vectordir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(test_generic_vectordir)" && rm -f $$files
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ set x; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(PROGRAMS) $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(test_generic_vectordir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-test_generic_vectorHEADERS
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-binPROGRAMS
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-binPROGRAMS \
+ uninstall-test_generic_vectorHEADERS
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
+ clean-generic ctags distclean distclean-compile \
+ distclean-generic distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-binPROGRAMS \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ install-test_generic_vectorHEADERS installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
+ uninstall-am uninstall-binPROGRAMS \
+ uninstall-test_generic_vectorHEADERS
+
+
+smoke-test: test-generic-vector
+ ./test-generic-vector
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+bin_PROGRAMS = test-generic-vector
+
+test_generic_vectordir = .
+test_generic_vector_SOURCES = \
+ testGenericVector.cpp ../../src/generic/GenericVector.cpp
+test_generic_vector_HEADERS = \
+ ../../src/generic/GenericVector.hpp \
+ ../../src/generic/GenericVector_tmpl.cpp
+test_generic_vector_LDADD = -lboost_unit_test_framework
+
+smoke-test: test-generic-vector
+ ./test-generic-vector
+
--- /dev/null
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
+# Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+bin_PROGRAMS = test-generic-vector$(EXEEXT)
+subdir = t/generic
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+ $(test_generic_vector_HEADERS)
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
+ $(top_srcdir)/m4/ax_boost_base.m4 \
+ $(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
+ $(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__installdirs = "$(DESTDIR)$(bindir)" \
+ "$(DESTDIR)$(test_generic_vectordir)"
+PROGRAMS = $(bin_PROGRAMS)
+am_test_generic_vector_OBJECTS = testGenericVector.$(OBJEXT) \
+ GenericVector.$(OBJEXT)
+test_generic_vector_OBJECTS = $(am_test_generic_vector_OBJECTS)
+test_generic_vector_DEPENDENCIES =
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
+ -o $@
+SOURCES = $(test_generic_vector_SOURCES)
+DIST_SOURCES = $(test_generic_vector_SOURCES)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+HEADERS = $(test_generic_vector_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_CXXFLAGS = @AM_CXXFLAGS@
+AM_LDFLAGS = @AM_LDFLAGS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BLAS_LIBS = @BLAS_LIBS@
+BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
+BOOST_LDFLAGS = @BOOST_LDFLAGS@
+BOOST_REGEX_LIB = @BOOST_REGEX_LIB@
+BOOST_ROOT_PATH = @BOOST_ROOT_PATH@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DOXYGEN_PAPER_SIZE = @DOXYGEN_PAPER_SIZE@
+DX_CONFIG = @DX_CONFIG@
+DX_DOCDIR = @DX_DOCDIR@
+DX_DOT = @DX_DOT@
+DX_DOXYGEN = @DX_DOXYGEN@
+DX_DVIPS = @DX_DVIPS@
+DX_EGREP = @DX_EGREP@
+DX_ENV = @DX_ENV@
+DX_FLAG_chi = @DX_FLAG_chi@
+DX_FLAG_chm = @DX_FLAG_chm@
+DX_FLAG_doc = @DX_FLAG_doc@
+DX_FLAG_dot = @DX_FLAG_dot@
+DX_FLAG_html = @DX_FLAG_html@
+DX_FLAG_man = @DX_FLAG_man@
+DX_FLAG_pdf = @DX_FLAG_pdf@
+DX_FLAG_ps = @DX_FLAG_ps@
+DX_FLAG_rtf = @DX_FLAG_rtf@
+DX_FLAG_xml = @DX_FLAG_xml@
+DX_HHC = @DX_HHC@
+DX_LATEX = @DX_LATEX@
+DX_MAKEINDEX = @DX_MAKEINDEX@
+DX_PDFLATEX = @DX_PDFLATEX@
+DX_PERL = @DX_PERL@
+DX_PROJECT = @DX_PROJECT@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FLIBS = @FLIBS@
+GREP = @GREP@
+HLIB_CPPFLAGS = @HLIB_CPPFLAGS@
+HLIB_LDFLAGS = @HLIB_LDFLAGS@
+HLIB_LIB = @HLIB_LIB@
+HLIB_ROOT_PATH = @HLIB_ROOT_PATH@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LAPACK_LIBS = @LAPACK_LIBS@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LOKI_CPPFLAGS = @LOKI_CPPFLAGS@
+LOKI_LDFLAGS = @LOKI_LDFLAGS@
+LOKI_ROOT_PATH = @LOKI_ROOT_PATH@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+test_generic_vectordir = .
+test_generic_vector_SOURCES = \
+ testGenericVector.cpp ../../src/generic/GenericVector.cpp
+
+test_generic_vector_HEADERS = \
+ ../../src/generic/GenericVector.hpp \
+ ../../src/generic/GenericVector_tmpl.cpp
+
+test_generic_vector_LDADD = -lboost_unit_test_framework
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu t/generic/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu t/generic/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed 's/$(EXEEXT)$$//' | \
+ while read p p1; do if test -f $$p; \
+ then echo "$$p"; echo "$$p"; else :; fi; \
+ done | \
+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+ sed 'N;N;N;s,\n, ,g' | \
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
+ else { print "f", $$3 "/" $$4, $$1; } } \
+ END { for (d in files) print "f", d, files[d] }' | \
+ while read type dir files; do \
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+ test -z "$$files" || { \
+ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
+ } \
+ ; done
+
+uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ files=`for p in $$list; do echo "$$p"; done | \
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+ -e 's/$$/$(EXEEXT)/' `; \
+ test -n "$$list" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
+
+clean-binPROGRAMS:
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+test-generic-vector$(EXEEXT): $(test_generic_vector_OBJECTS) $(test_generic_vector_DEPENDENCIES)
+ @rm -f test-generic-vector$(EXEEXT)
+ $(CXXLINK) $(test_generic_vector_OBJECTS) $(test_generic_vector_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/GenericVector.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testGenericVector.Po@am__quote@
+
+.cpp.o:
+@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+GenericVector.o: ../../src/generic/GenericVector.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT GenericVector.o -MD -MP -MF $(DEPDIR)/GenericVector.Tpo -c -o GenericVector.o `test -f '../../src/generic/GenericVector.cpp' || echo '$(srcdir)/'`../../src/generic/GenericVector.cpp
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/GenericVector.Tpo $(DEPDIR)/GenericVector.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../../src/generic/GenericVector.cpp' object='GenericVector.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o GenericVector.o `test -f '../../src/generic/GenericVector.cpp' || echo '$(srcdir)/'`../../src/generic/GenericVector.cpp
+
+GenericVector.obj: ../../src/generic/GenericVector.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT GenericVector.obj -MD -MP -MF $(DEPDIR)/GenericVector.Tpo -c -o GenericVector.obj `if test -f '../../src/generic/GenericVector.cpp'; then $(CYGPATH_W) '../../src/generic/GenericVector.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/generic/GenericVector.cpp'; fi`
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/GenericVector.Tpo $(DEPDIR)/GenericVector.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../../src/generic/GenericVector.cpp' object='GenericVector.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o GenericVector.obj `if test -f '../../src/generic/GenericVector.cpp'; then $(CYGPATH_W) '../../src/generic/GenericVector.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/generic/GenericVector.cpp'; fi`
+install-test_generic_vectorHEADERS: $(test_generic_vector_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(test_generic_vectordir)" || $(MKDIR_P) "$(DESTDIR)$(test_generic_vectordir)"
+ @list='$(test_generic_vector_HEADERS)'; test -n "$(test_generic_vectordir)" || list=; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(test_generic_vectordir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(test_generic_vectordir)" || exit $$?; \
+ done
+
+uninstall-test_generic_vectorHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(test_generic_vector_HEADERS)'; test -n "$(test_generic_vectordir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(test_generic_vectordir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(test_generic_vectordir)" && rm -f $$files
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ set x; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(PROGRAMS) $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(test_generic_vectordir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-test_generic_vectorHEADERS
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-binPROGRAMS
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-binPROGRAMS \
+ uninstall-test_generic_vectorHEADERS
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
+ clean-generic ctags distclean distclean-compile \
+ distclean-generic distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-binPROGRAMS \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ install-test_generic_vectorHEADERS installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
+ uninstall-am uninstall-binPROGRAMS \
+ uninstall-test_generic_vectorHEADERS
+
+
+smoke-test: test-generic-vector
+ ./test-generic-vector
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+#include <generic/GenericVector.hpp>
+
+#define BOOST_TEST_DYN_LINK
+#define BOOST_TEST_MODULE GenericVectorTests
+#include <boost/test/unit_test.hpp>
+
+#include <cmath>
+
+BOOST_AUTO_TEST_SUITE(Vector3Tests)
+
+BOOST_AUTO_TEST_CASE(InstantiationAccessAndAssignement)
+{
+ typedef ::generic::GenericVector< 3 > Vector;
+
+ Vector a;
+ BOOST_REQUIRE( a.getDimension() == 3 );
+ BOOST_CHECK_EQUAL( a[0], 0. );
+ BOOST_CHECK_EQUAL( a[1], 0. );
+ BOOST_CHECK_EQUAL( a[2], 0. );
+
+ double coeff[] = { 1., 2., 3. };
+ Vector b(coeff);
+ BOOST_REQUIRE( b.getDimension() == 3 );
+ BOOST_CHECK_EQUAL( b[0], 1. );
+ BOOST_CHECK_EQUAL( b[1], 2. );
+ BOOST_CHECK_EQUAL( b[2], 3. );
+
+ Vector c(b);
+ BOOST_REQUIRE( c.getDimension() == 3 );
+ BOOST_CHECK_EQUAL( c[0], 1. );
+ BOOST_CHECK_EQUAL( c[1], 2. );
+ BOOST_CHECK_EQUAL( c[2], 3. );
+
+ const double coeff2[] = { 1., 2., 3. };
+ Vector d(coeff2);
+ BOOST_REQUIRE( d.getDimension() == 3 );
+ BOOST_CHECK_EQUAL( d[0], 1. );
+ BOOST_CHECK_EQUAL( d[1], 2. );
+ BOOST_CHECK_EQUAL( d[2], 3. );
+ BOOST_CHECK_EQUAL( coeff2[0], 1. );
+ BOOST_CHECK_EQUAL( coeff2[1], 2. );
+ BOOST_CHECK_EQUAL( coeff2[2], 3. );
+
+ Vector e;
+ e = d;
+ BOOST_CHECK_EQUAL( e[0], 1. );
+ BOOST_CHECK_EQUAL( e[1], 2. );
+ BOOST_CHECK_EQUAL( e[2], 3. );
+}
+
+BOOST_AUTO_TEST_CASE(AdditionAndSubtraction)
+{
+ typedef ::generic::GenericVector< 3 > Vector;
+
+ const double coeff1[] = { 1., 2., 3. };
+ const double coeff2[] = { 4., 5., 6. };
+
+ Vector a(coeff1), b(coeff2);
+
+ Vector c = a+b;
+ BOOST_CHECK_EQUAL( c[0], 5. );
+ BOOST_CHECK_EQUAL( c[1], 7. );
+ BOOST_CHECK_EQUAL( c[2], 9. );
+
+ c += b;
+ BOOST_CHECK_EQUAL( c[0], 9. );
+ BOOST_CHECK_EQUAL( c[1], 12. );
+ BOOST_CHECK_EQUAL( c[2], 15. );
+
+ Vector d = a-b;
+ BOOST_CHECK_EQUAL( d[0], -3. );
+ BOOST_CHECK_EQUAL( d[1], -3. );
+ BOOST_CHECK_EQUAL( d[2], -3. );
+
+ d -= c;
+ BOOST_CHECK_EQUAL( d[0], -12. );
+ BOOST_CHECK_EQUAL( d[1], -15. );
+ BOOST_CHECK_EQUAL( d[2], -18. );
+}
+
+BOOST_AUTO_TEST_CASE( Norm )
+{
+ typedef ::generic::GenericVector< 3 > Vector;
+
+ double coeff1[] = { 1., 1., 0. };
+ Vector a(coeff1);
+ BOOST_CHECK_EQUAL( a.norm(), std::sqrt(2) );
+
+ double coeff2[] = { 4., 0., 3. };
+ Vector b(coeff2);
+ BOOST_CHECK_EQUAL( b.norm(), 5 );
+}
+
+BOOST_AUTO_TEST_CASE( ScalarMultiplicationAndDivision )
+{
+ typedef ::generic::GenericVector< 3 > Vector;
+
+ double coeff1[] = { 3., 4., 5. };
+ Vector a(coeff1);
+
+ Vector b = 5. * a;
+ BOOST_CHECK_EQUAL( b[0], 15. );
+ BOOST_CHECK_EQUAL( b[1], 20. );
+ BOOST_CHECK_EQUAL( b[2], 25. );
+
+ Vector c = a * 5.;
+ BOOST_CHECK_EQUAL( c[0], 15. );
+ BOOST_CHECK_EQUAL( c[1], 20. );
+ BOOST_CHECK_EQUAL( c[2], 25. );
+
+ a *= 5.;
+ BOOST_CHECK_EQUAL( a[0], 15. );
+ BOOST_CHECK_EQUAL( a[1], 20. );
+ BOOST_CHECK_EQUAL( a[2], 25. );
+
+ double coeff2[] = { 25., 20., 15. };
+ Vector d(coeff2);
+
+ Vector e = d / 5.;
+ BOOST_CHECK_EQUAL( e[0], 5. );
+ BOOST_CHECK_EQUAL( e[1], 4. );
+ BOOST_CHECK_EQUAL( e[2], 3. );
+
+ d /= 5.;
+ BOOST_CHECK_EQUAL( d[0], 5. );
+ BOOST_CHECK_EQUAL( d[1], 4. );
+ BOOST_CHECK_EQUAL( d[2], 3. );
+}
+
+BOOST_AUTO_TEST_CASE( Comparison )
+{
+ typedef ::generic::GenericVector< 3 > Vector;
+
+ double coeff1[] = { 1., 2., 3. };
+ Vector a(coeff1);
+
+ double coeff2[] = { 1., 2., 4. };
+ Vector b(coeff2);
+
+ double coeff3[] = { 1., 4., 3. };
+ Vector c(coeff3);
+
+ double coeff4[] = { 4., 2., 3. };
+ Vector d(coeff4);
+
+ double coeff5[] = { 7., 9., 8. };
+ Vector e(coeff5);
+
+ double coeff6[] = { 1., 2., 3. };
+ Vector f(coeff6);
+
+ BOOST_CHECK( a == a );
+ BOOST_CHECK( a == f );
+ BOOST_CHECK( b == b );
+ BOOST_CHECK( e == e );
+ BOOST_CHECK( a != b );
+ BOOST_CHECK( a != c );
+ BOOST_CHECK( a != d );
+ BOOST_CHECK( a != e );
+}
+
+BOOST_AUTO_TEST_CASE( LessThanOperator )
+{
+ typedef ::generic::GenericVector< 3 > Vector;
+
+ double coeff1[] = { 5., 5., 5. };
+ Vector a(coeff1);
+
+ double coeff2[] = { 4., 6., 6. };
+ Vector b(coeff2);
+ BOOST_CHECK( a < b == false );
+ BOOST_CHECK( b < a );
+
+ double coeff3[] = { 5., 4., 6. };
+ Vector c(coeff3);
+ BOOST_CHECK( a < c == false );
+ BOOST_CHECK( c < a );
+
+ double coeff4[] = { 5., 5., 4. };
+ Vector d(coeff4);
+ BOOST_CHECK( a < d == false );
+ BOOST_CHECK( d < a );
+
+ double coeff5[] = { 5., 5., 5. };
+ Vector e(coeff5);
+ BOOST_CHECK( a < e == false );
+ BOOST_CHECK( e < a == false );
+}
+
+BOOST_AUTO_TEST_CASE( DotProduct )
+{
+ typedef ::generic::GenericVector< 3 > Vector;
+
+ double coeff1[] = { 1., 2., 3. };
+ Vector a(coeff1);
+
+ double coeff2[] = { 7., 2., -1. };
+ Vector b(coeff2);
+
+ BOOST_CHECK_EQUAL( a * b, 8. );
+}
+
+BOOST_AUTO_TEST_CASE( isLinearlyDependentAndIsProlongation )
+{
+ typedef ::generic::GenericVector< 3 > Vector;
+
+ double coeff1[] = { 1., 2., 3. };
+ Vector a(coeff1);
+
+ double coeff2[] = { 3., 6., 9. };
+ Vector b(coeff2);
+
+ double coeff3[] = { -3., -6., -9. };
+ Vector c(coeff3);
+
+ double coeff4[] = { 0., 0., 0. };
+ Vector d(coeff4);
+
+ double coeff5[] = { 27., 1., 0. };
+ Vector e(coeff5);
+
+ BOOST_CHECK_EQUAL( a.isLinearlyDependent( b ), true );
+ BOOST_CHECK_EQUAL( a.isLinearlyDependent( c ), true );
+ BOOST_CHECK_EQUAL( a.isLinearlyDependent( d ), true );
+ BOOST_CHECK_EQUAL( a.isLinearlyDependent( e ), false );
+ BOOST_CHECK_EQUAL( a.isProlongation( b ), true );
+ BOOST_CHECK_EQUAL( a.isProlongation( c ), false );
+ BOOST_CHECK_EQUAL( a.isProlongation( d ), true );
+ BOOST_CHECK_EQUAL( a.isProlongation( e ), false );
+ BOOST_CHECK_EQUAL( b.isProlongation( c ), false );
+}
+
+BOOST_AUTO_TEST_SUITE_END()
+
+BOOST_AUTO_TEST_SUITE( Vector3DExtensions )
+
+BOOST_AUTO_TEST_CASE( Instantiation )
+{
+ typedef ::generic::Vector3D<> Vector;
+
+ Vector a( 7.44, 3., 0. );
+ BOOST_CHECK_EQUAL( a[0], 7.44 );
+ BOOST_CHECK_EQUAL( a[1], 3. );
+ BOOST_CHECK_EQUAL( a[2], 0. );
+}
+
+BOOST_AUTO_TEST_CASE( CrossProduct )
+{
+ typedef ::generic::Vector3D<> Vector;
+
+ Vector a( 1., 0., 0. );
+ Vector b( 0., 1., 0. );
+ Vector c = Vector::crossProduct( a, b );
+ BOOST_CHECK_EQUAL( c[0], 0. );
+ BOOST_CHECK_EQUAL( c[1], 0. );
+ BOOST_CHECK_EQUAL( c[2], 1. );
+
+ // TODO: Add some more test cases.
+}
+
+BOOST_AUTO_TEST_SUITE_END()
+
--- /dev/null
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
+# t/laplace/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
+# Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+
+
+pkgdatadir = $(datadir)/hilbert3d
+pkgincludedir = $(includedir)/hilbert3d
+pkglibdir = $(libdir)/hilbert3d
+pkglibexecdir = $(libexecdir)/hilbert3d
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+bin_PROGRAMS = test-ComputeSimpleLayerPotentialEntry$(EXEEXT) \
+ test-ComputeDoubleLayerPotentialEntry$(EXEEXT)
+subdir = t/laplace
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+ $(test_ComputeDoubleLayerPotentialEntry_HEADERS) \
+ $(test_ComputeSimpleLayerPotentialEntry_HEADERS)
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
+ $(top_srcdir)/m4/ax_boost_base.m4 \
+ $(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
+ $(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__installdirs = "$(DESTDIR)$(bindir)" \
+ "$(DESTDIR)$(test_ComputeDoubleLayerPotentialEntrydir)" \
+ "$(DESTDIR)$(test_ComputeSimpleLayerPotentialEntrydir)"
+PROGRAMS = $(bin_PROGRAMS)
+am_test_ComputeDoubleLayerPotentialEntry_OBJECTS = test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.$(OBJEXT) \
+ test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.$(OBJEXT) \
+ test_ComputeDoubleLayerPotentialEntry-HLibOperator.$(OBJEXT)
+test_ComputeDoubleLayerPotentialEntry_OBJECTS = \
+ $(am_test_ComputeDoubleLayerPotentialEntry_OBJECTS)
+am__DEPENDENCIES_1 =
+test_ComputeDoubleLayerPotentialEntry_DEPENDENCIES = \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+am_test_ComputeSimpleLayerPotentialEntry_OBJECTS = test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.$(OBJEXT) \
+ test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.$(OBJEXT) \
+ test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.$(OBJEXT) \
+ test_ComputeSimpleLayerPotentialEntry-HLibOperator.$(OBJEXT)
+test_ComputeSimpleLayerPotentialEntry_OBJECTS = \
+ $(am_test_ComputeSimpleLayerPotentialEntry_OBJECTS)
+test_ComputeSimpleLayerPotentialEntry_DEPENDENCIES = \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+DEFAULT_INCLUDES = -I. -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
+ -o $@
+SOURCES = $(test_ComputeDoubleLayerPotentialEntry_SOURCES) \
+ $(test_ComputeSimpleLayerPotentialEntry_SOURCES)
+DIST_SOURCES = $(test_ComputeDoubleLayerPotentialEntry_SOURCES) \
+ $(test_ComputeSimpleLayerPotentialEntry_SOURCES)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+HEADERS = $(test_ComputeDoubleLayerPotentialEntry_HEADERS) \
+ $(test_ComputeSimpleLayerPotentialEntry_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run aclocal-1.11
+AMTAR = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run tar
+AM_CXXFLAGS =
+AM_LDFLAGS = -L../../src/boundary_mesh -L../../src/spaces
+AUTOCONF = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run automake-1.11
+AWK = mawk
+BLAS_LIBS = -lblas
+BOOST_CPPFLAGS = -I/usr/include
+BOOST_LDFLAGS = -L/usr/lib
+BOOST_REGEX_LIB = -lboost_regex-mt
+BOOST_ROOT_PATH = /usr
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -I/usr/local/include
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DOXYGEN_PAPER_SIZE =
+DX_CONFIG = Doxyfile
+DX_DOCDIR = docs/doxygen
+DX_DOT =
+DX_DOXYGEN =
+DX_DVIPS =
+DX_EGREP =
+DX_ENV = SRCDIR='.' PROJECT='Hilbert 3D' DOCDIR='docs/doxygen' VERSION='0.1.0' HAVE_DOT='NO' GENERATE_MAN='NO' GENERATE_RTF='NO' GENERATE_XML='NO' GENERATE_HTMLHELP='NO' GENERATE_CHI='NO' GENERATE_HTML='NO' GENERATE_LATEX='NO'
+DX_FLAG_chi = 0
+DX_FLAG_chm = 0
+DX_FLAG_doc = 0
+DX_FLAG_dot = 0
+DX_FLAG_html = 0
+DX_FLAG_man = 0
+DX_FLAG_pdf = 0
+DX_FLAG_ps = 0
+DX_FLAG_rtf = 0
+DX_FLAG_xml = 0
+DX_HHC =
+DX_LATEX =
+DX_MAKEINDEX =
+DX_PDFLATEX =
+DX_PERL = /usr/bin/perl
+DX_PROJECT = Hilbert 3D
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /bin/grep -E
+EXEEXT =
+F77 = gfortran
+FFLAGS = -g -O2
+FLIBS = -L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2 -L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/../../.. -L/usr/lib/x86_64-linux-gnu -lgfortran -lm
+GREP = /bin/grep
+HLIB_CPPFLAGS = -I/usr/local/include
+HLIB_LDFLAGS = -L/usr/local/lib
+HLIB_LIB = -lhmatrix
+HLIB_ROOT_PATH = /usr/local
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LAPACK_LIBS = -llapack
+LDFLAGS =
+LIBOBJS =
+LIBS =
+LOKI_CPPFLAGS = -I/usr/local/include
+LOKI_LDFLAGS = -L/usr/local/lib
+LOKI_ROOT_PATH = /usr/local
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/missing --run makeinfo
+MKDIR_P = /bin/mkdir -p
+OBJEXT = o
+PACKAGE = hilbert3d
+PACKAGE_BUGREPORT = markus.mayr@tuwien.ac.at
+PACKAGE_NAME = Hilbert 3D
+PACKAGE_STRING = Hilbert 3D 0.1.0
+PACKAGE_TARNAME = hilbert3d
+PACKAGE_URL = http://83.169.35.184/cgi-bin/gitweb?p=bem3d.git
+PACKAGE_VERSION = 0.1.0
+PATH_SEPARATOR = :
+RANLIB = ranlib
+SET_MAKE =
+SHELL = /bin/bash
+STRIP =
+VERSION = 0.1.0
+abs_builddir = /home/treecity/workspace/bacc/src/bem3d/t/laplace
+abs_srcdir = /home/treecity/workspace/bacc/src/bem3d/t/laplace
+abs_top_builddir = /home/treecity/workspace/bacc/src/bem3d
+abs_top_srcdir = /home/treecity/workspace/bacc/src/bem3d
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = gfortran
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build_alias =
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host_alias =
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /home/treecity/workspace/bacc/src/bem3d/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = /bin/mkdir -p
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../
+top_builddir = ../..
+top_srcdir = ../..
+test_ComputeSimpleLayerPotentialEntrydir = .
+test_ComputeSimpleLayerPotentialEntry_SOURCES = \
+ computeSimpleLayerPotentialEntry.cpp \
+ ../../src/laplace/TriangleIntegrator.cpp \
+ ../../src/laplace/SimpleLayerPotential.cpp \
+ ../../src/HLibOperator.cpp
+
+test_ComputeSimpleLayerPotentialEntry_HEADERS = \
+ ../../src/boundary_mesh/FlexibleMesh.hpp \
+ ../../src/laplace/SimpleLayerPotential.hpp
+
+test_ComputeSimpleLayerPotentialEntry_LDADD = -lboost_unit_test_framework -lboost_regex -lhilbert-mesh -lhilbert-spaces $(HLIB_LDFLAGS) $(HLIB_LIB) $(BLAS_LIBS) $(LAPACK_LIBS) $(LIBS) $(FLIBS)
+test_ComputeSimpleLayerPotentialEntry_CPPFLAGS = $(CPPFLAGS) $(HLIB_CPPFLAGS)
+test_ComputeDoubleLayerPotentialEntrydir = .
+test_ComputeDoubleLayerPotentialEntry_SOURCES = \
+ computeDoubleLayerPotentialEntry.cpp \
+ ../../src/laplace/TriangleIntegrator.cpp \
+ ../../src/HLibOperator.cpp
+
+test_ComputeDoubleLayerPotentialEntry_HEADERS = \
+ ../../src/boundary_mesh/FlexibleMesh.hpp \
+ ../../src/laplace/DoubleLayerPotential.cpp \
+ ../../src/laplace/DoubleLayerPotential.hpp
+
+test_ComputeDoubleLayerPotentialEntry_LDADD = -lboost_unit_test_framework -lboost_regex -lhilbert-mesh -lhilbert-spaces $(HLIB_LDFLAGS) $(HLIB_LIB) $(BLAS_LIBS) $(LAPACK_LIBS) $(LIBS) $(FLIBS)
+test_ComputeDoubleLayerPotentialEntry_CPPFLAGS = $(CPPFLAGS) $(HLIB_CPPFLAGS)
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu t/laplace/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu t/laplace/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed 's/$(EXEEXT)$$//' | \
+ while read p p1; do if test -f $$p; \
+ then echo "$$p"; echo "$$p"; else :; fi; \
+ done | \
+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+ sed 'N;N;N;s,\n, ,g' | \
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
+ else { print "f", $$3 "/" $$4, $$1; } } \
+ END { for (d in files) print "f", d, files[d] }' | \
+ while read type dir files; do \
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+ test -z "$$files" || { \
+ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
+ } \
+ ; done
+
+uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ files=`for p in $$list; do echo "$$p"; done | \
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+ -e 's/$$/$(EXEEXT)/' `; \
+ test -n "$$list" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
+
+clean-binPROGRAMS:
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+test-ComputeDoubleLayerPotentialEntry$(EXEEXT): $(test_ComputeDoubleLayerPotentialEntry_OBJECTS) $(test_ComputeDoubleLayerPotentialEntry_DEPENDENCIES)
+ @rm -f test-ComputeDoubleLayerPotentialEntry$(EXEEXT)
+ $(CXXLINK) $(test_ComputeDoubleLayerPotentialEntry_OBJECTS) $(test_ComputeDoubleLayerPotentialEntry_LDADD) $(LIBS)
+test-ComputeSimpleLayerPotentialEntry$(EXEEXT): $(test_ComputeSimpleLayerPotentialEntry_OBJECTS) $(test_ComputeSimpleLayerPotentialEntry_DEPENDENCIES)
+ @rm -f test-ComputeSimpleLayerPotentialEntry$(EXEEXT)
+ $(CXXLINK) $(test_ComputeSimpleLayerPotentialEntry_OBJECTS) $(test_ComputeSimpleLayerPotentialEntry_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+include ./$(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-HLibOperator.Po
+include ./$(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.Po
+include ./$(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.Po
+include ./$(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-HLibOperator.Po
+include ./$(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.Po
+include ./$(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.Po
+include ./$(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.Po
+
+.cpp.o:
+ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+# source='$<' object='$@' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+# source='$<' object='$@' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.o: computeDoubleLayerPotentialEntry.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.o -MD -MP -MF $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.Tpo -c -o test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.o `test -f 'computeDoubleLayerPotentialEntry.cpp' || echo '$(srcdir)/'`computeDoubleLayerPotentialEntry.cpp
+ $(am__mv) $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.Tpo $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.Po
+# source='computeDoubleLayerPotentialEntry.cpp' object='test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.o `test -f 'computeDoubleLayerPotentialEntry.cpp' || echo '$(srcdir)/'`computeDoubleLayerPotentialEntry.cpp
+
+test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.obj: computeDoubleLayerPotentialEntry.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.obj -MD -MP -MF $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.Tpo -c -o test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.obj `if test -f 'computeDoubleLayerPotentialEntry.cpp'; then $(CYGPATH_W) 'computeDoubleLayerPotentialEntry.cpp'; else $(CYGPATH_W) '$(srcdir)/computeDoubleLayerPotentialEntry.cpp'; fi`
+ $(am__mv) $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.Tpo $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.Po
+# source='computeDoubleLayerPotentialEntry.cpp' object='test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.obj `if test -f 'computeDoubleLayerPotentialEntry.cpp'; then $(CYGPATH_W) 'computeDoubleLayerPotentialEntry.cpp'; else $(CYGPATH_W) '$(srcdir)/computeDoubleLayerPotentialEntry.cpp'; fi`
+
+test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.o: ../../src/laplace/TriangleIntegrator.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.o -MD -MP -MF $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.Tpo -c -o test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.o `test -f '../../src/laplace/TriangleIntegrator.cpp' || echo '$(srcdir)/'`../../src/laplace/TriangleIntegrator.cpp
+ $(am__mv) $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.Tpo $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.Po
+# source='../../src/laplace/TriangleIntegrator.cpp' object='test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.o `test -f '../../src/laplace/TriangleIntegrator.cpp' || echo '$(srcdir)/'`../../src/laplace/TriangleIntegrator.cpp
+
+test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.obj: ../../src/laplace/TriangleIntegrator.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.obj -MD -MP -MF $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.Tpo -c -o test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.obj `if test -f '../../src/laplace/TriangleIntegrator.cpp'; then $(CYGPATH_W) '../../src/laplace/TriangleIntegrator.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/laplace/TriangleIntegrator.cpp'; fi`
+ $(am__mv) $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.Tpo $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.Po
+# source='../../src/laplace/TriangleIntegrator.cpp' object='test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.obj `if test -f '../../src/laplace/TriangleIntegrator.cpp'; then $(CYGPATH_W) '../../src/laplace/TriangleIntegrator.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/laplace/TriangleIntegrator.cpp'; fi`
+
+test_ComputeDoubleLayerPotentialEntry-HLibOperator.o: ../../src/HLibOperator.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeDoubleLayerPotentialEntry-HLibOperator.o -MD -MP -MF $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-HLibOperator.Tpo -c -o test_ComputeDoubleLayerPotentialEntry-HLibOperator.o `test -f '../../src/HLibOperator.cpp' || echo '$(srcdir)/'`../../src/HLibOperator.cpp
+ $(am__mv) $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-HLibOperator.Tpo $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-HLibOperator.Po
+# source='../../src/HLibOperator.cpp' object='test_ComputeDoubleLayerPotentialEntry-HLibOperator.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeDoubleLayerPotentialEntry-HLibOperator.o `test -f '../../src/HLibOperator.cpp' || echo '$(srcdir)/'`../../src/HLibOperator.cpp
+
+test_ComputeDoubleLayerPotentialEntry-HLibOperator.obj: ../../src/HLibOperator.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeDoubleLayerPotentialEntry-HLibOperator.obj -MD -MP -MF $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-HLibOperator.Tpo -c -o test_ComputeDoubleLayerPotentialEntry-HLibOperator.obj `if test -f '../../src/HLibOperator.cpp'; then $(CYGPATH_W) '../../src/HLibOperator.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/HLibOperator.cpp'; fi`
+ $(am__mv) $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-HLibOperator.Tpo $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-HLibOperator.Po
+# source='../../src/HLibOperator.cpp' object='test_ComputeDoubleLayerPotentialEntry-HLibOperator.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeDoubleLayerPotentialEntry-HLibOperator.obj `if test -f '../../src/HLibOperator.cpp'; then $(CYGPATH_W) '../../src/HLibOperator.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/HLibOperator.cpp'; fi`
+
+test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.o: computeSimpleLayerPotentialEntry.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.o -MD -MP -MF $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.Tpo -c -o test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.o `test -f 'computeSimpleLayerPotentialEntry.cpp' || echo '$(srcdir)/'`computeSimpleLayerPotentialEntry.cpp
+ $(am__mv) $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.Tpo $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.Po
+# source='computeSimpleLayerPotentialEntry.cpp' object='test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.o `test -f 'computeSimpleLayerPotentialEntry.cpp' || echo '$(srcdir)/'`computeSimpleLayerPotentialEntry.cpp
+
+test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.obj: computeSimpleLayerPotentialEntry.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.obj -MD -MP -MF $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.Tpo -c -o test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.obj `if test -f 'computeSimpleLayerPotentialEntry.cpp'; then $(CYGPATH_W) 'computeSimpleLayerPotentialEntry.cpp'; else $(CYGPATH_W) '$(srcdir)/computeSimpleLayerPotentialEntry.cpp'; fi`
+ $(am__mv) $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.Tpo $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.Po
+# source='computeSimpleLayerPotentialEntry.cpp' object='test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.obj `if test -f 'computeSimpleLayerPotentialEntry.cpp'; then $(CYGPATH_W) 'computeSimpleLayerPotentialEntry.cpp'; else $(CYGPATH_W) '$(srcdir)/computeSimpleLayerPotentialEntry.cpp'; fi`
+
+test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.o: ../../src/laplace/TriangleIntegrator.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.o -MD -MP -MF $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.Tpo -c -o test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.o `test -f '../../src/laplace/TriangleIntegrator.cpp' || echo '$(srcdir)/'`../../src/laplace/TriangleIntegrator.cpp
+ $(am__mv) $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.Tpo $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.Po
+# source='../../src/laplace/TriangleIntegrator.cpp' object='test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.o `test -f '../../src/laplace/TriangleIntegrator.cpp' || echo '$(srcdir)/'`../../src/laplace/TriangleIntegrator.cpp
+
+test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.obj: ../../src/laplace/TriangleIntegrator.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.obj -MD -MP -MF $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.Tpo -c -o test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.obj `if test -f '../../src/laplace/TriangleIntegrator.cpp'; then $(CYGPATH_W) '../../src/laplace/TriangleIntegrator.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/laplace/TriangleIntegrator.cpp'; fi`
+ $(am__mv) $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.Tpo $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.Po
+# source='../../src/laplace/TriangleIntegrator.cpp' object='test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.obj `if test -f '../../src/laplace/TriangleIntegrator.cpp'; then $(CYGPATH_W) '../../src/laplace/TriangleIntegrator.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/laplace/TriangleIntegrator.cpp'; fi`
+
+test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.o: ../../src/laplace/SimpleLayerPotential.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.o -MD -MP -MF $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.Tpo -c -o test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.o `test -f '../../src/laplace/SimpleLayerPotential.cpp' || echo '$(srcdir)/'`../../src/laplace/SimpleLayerPotential.cpp
+ $(am__mv) $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.Tpo $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.Po
+# source='../../src/laplace/SimpleLayerPotential.cpp' object='test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.o `test -f '../../src/laplace/SimpleLayerPotential.cpp' || echo '$(srcdir)/'`../../src/laplace/SimpleLayerPotential.cpp
+
+test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.obj: ../../src/laplace/SimpleLayerPotential.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.obj -MD -MP -MF $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.Tpo -c -o test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.obj `if test -f '../../src/laplace/SimpleLayerPotential.cpp'; then $(CYGPATH_W) '../../src/laplace/SimpleLayerPotential.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/laplace/SimpleLayerPotential.cpp'; fi`
+ $(am__mv) $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.Tpo $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.Po
+# source='../../src/laplace/SimpleLayerPotential.cpp' object='test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.obj `if test -f '../../src/laplace/SimpleLayerPotential.cpp'; then $(CYGPATH_W) '../../src/laplace/SimpleLayerPotential.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/laplace/SimpleLayerPotential.cpp'; fi`
+
+test_ComputeSimpleLayerPotentialEntry-HLibOperator.o: ../../src/HLibOperator.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeSimpleLayerPotentialEntry-HLibOperator.o -MD -MP -MF $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-HLibOperator.Tpo -c -o test_ComputeSimpleLayerPotentialEntry-HLibOperator.o `test -f '../../src/HLibOperator.cpp' || echo '$(srcdir)/'`../../src/HLibOperator.cpp
+ $(am__mv) $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-HLibOperator.Tpo $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-HLibOperator.Po
+# source='../../src/HLibOperator.cpp' object='test_ComputeSimpleLayerPotentialEntry-HLibOperator.o' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeSimpleLayerPotentialEntry-HLibOperator.o `test -f '../../src/HLibOperator.cpp' || echo '$(srcdir)/'`../../src/HLibOperator.cpp
+
+test_ComputeSimpleLayerPotentialEntry-HLibOperator.obj: ../../src/HLibOperator.cpp
+ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeSimpleLayerPotentialEntry-HLibOperator.obj -MD -MP -MF $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-HLibOperator.Tpo -c -o test_ComputeSimpleLayerPotentialEntry-HLibOperator.obj `if test -f '../../src/HLibOperator.cpp'; then $(CYGPATH_W) '../../src/HLibOperator.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/HLibOperator.cpp'; fi`
+ $(am__mv) $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-HLibOperator.Tpo $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-HLibOperator.Po
+# source='../../src/HLibOperator.cpp' object='test_ComputeSimpleLayerPotentialEntry-HLibOperator.obj' libtool=no \
+# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
+# $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeSimpleLayerPotentialEntry-HLibOperator.obj `if test -f '../../src/HLibOperator.cpp'; then $(CYGPATH_W) '../../src/HLibOperator.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/HLibOperator.cpp'; fi`
+install-test_ComputeDoubleLayerPotentialEntryHEADERS: $(test_ComputeDoubleLayerPotentialEntry_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(test_ComputeDoubleLayerPotentialEntrydir)" || $(MKDIR_P) "$(DESTDIR)$(test_ComputeDoubleLayerPotentialEntrydir)"
+ @list='$(test_ComputeDoubleLayerPotentialEntry_HEADERS)'; test -n "$(test_ComputeDoubleLayerPotentialEntrydir)" || list=; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(test_ComputeDoubleLayerPotentialEntrydir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(test_ComputeDoubleLayerPotentialEntrydir)" || exit $$?; \
+ done
+
+uninstall-test_ComputeDoubleLayerPotentialEntryHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(test_ComputeDoubleLayerPotentialEntry_HEADERS)'; test -n "$(test_ComputeDoubleLayerPotentialEntrydir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(test_ComputeDoubleLayerPotentialEntrydir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(test_ComputeDoubleLayerPotentialEntrydir)" && rm -f $$files
+install-test_ComputeSimpleLayerPotentialEntryHEADERS: $(test_ComputeSimpleLayerPotentialEntry_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(test_ComputeSimpleLayerPotentialEntrydir)" || $(MKDIR_P) "$(DESTDIR)$(test_ComputeSimpleLayerPotentialEntrydir)"
+ @list='$(test_ComputeSimpleLayerPotentialEntry_HEADERS)'; test -n "$(test_ComputeSimpleLayerPotentialEntrydir)" || list=; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(test_ComputeSimpleLayerPotentialEntrydir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(test_ComputeSimpleLayerPotentialEntrydir)" || exit $$?; \
+ done
+
+uninstall-test_ComputeSimpleLayerPotentialEntryHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(test_ComputeSimpleLayerPotentialEntry_HEADERS)'; test -n "$(test_ComputeSimpleLayerPotentialEntrydir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(test_ComputeSimpleLayerPotentialEntrydir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(test_ComputeSimpleLayerPotentialEntrydir)" && rm -f $$files
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ set x; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(PROGRAMS) $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(test_ComputeDoubleLayerPotentialEntrydir)" "$(DESTDIR)$(test_ComputeSimpleLayerPotentialEntrydir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-test_ComputeDoubleLayerPotentialEntryHEADERS \
+ install-test_ComputeSimpleLayerPotentialEntryHEADERS
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-binPROGRAMS
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-binPROGRAMS \
+ uninstall-test_ComputeDoubleLayerPotentialEntryHEADERS \
+ uninstall-test_ComputeSimpleLayerPotentialEntryHEADERS
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
+ clean-generic ctags distclean distclean-compile \
+ distclean-generic distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-binPROGRAMS \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ install-test_ComputeDoubleLayerPotentialEntryHEADERS \
+ install-test_ComputeSimpleLayerPotentialEntryHEADERS \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
+ uninstall-am uninstall-binPROGRAMS \
+ uninstall-test_ComputeDoubleLayerPotentialEntryHEADERS \
+ uninstall-test_ComputeSimpleLayerPotentialEntryHEADERS
+
+
+smoke-test: test-ComputeSimpleLayerPotentialEntry
+ ./test-ComputeSimpleLayerPotentialEntry
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+bin_PROGRAMS = test-ComputeSimpleLayerPotentialEntry \
+ test-ComputeDoubleLayerPotentialEntry
+
+AM_LDFLAGS = -L../../src/boundary_mesh -L../../src/spaces @AM_LDFLAGS@
+
+test_ComputeSimpleLayerPotentialEntrydir = .
+test_ComputeSimpleLayerPotentialEntry_SOURCES = \
+ computeSimpleLayerPotentialEntry.cpp \
+ ../../src/laplace/TriangleIntegrator.cpp \
+ ../../src/laplace/SimpleLayerPotential.cpp \
+ ../../src/HLibOperator.cpp
+test_ComputeSimpleLayerPotentialEntry_HEADERS = \
+ ../../src/boundary_mesh/FlexibleMesh.hpp \
+ ../../src/laplace/SimpleLayerPotential.hpp
+test_ComputeSimpleLayerPotentialEntry_LDADD = -lboost_unit_test_framework -lboost_regex -lhilbert-mesh -lhilbert-spaces $(HLIB_LDFLAGS) $(HLIB_LIB) $(BLAS_LIBS) $(LAPACK_LIBS) $(LIBS) $(FLIBS)
+test_ComputeSimpleLayerPotentialEntry_CPPFLAGS = $(CPPFLAGS) $(HLIB_CPPFLAGS)
+
+test_ComputeDoubleLayerPotentialEntrydir = .
+test_ComputeDoubleLayerPotentialEntry_SOURCES = \
+ computeDoubleLayerPotentialEntry.cpp \
+ ../../src/laplace/TriangleIntegrator.cpp \
+ ../../src/HLibOperator.cpp
+test_ComputeDoubleLayerPotentialEntry_HEADERS = \
+ ../../src/boundary_mesh/FlexibleMesh.hpp \
+ ../../src/laplace/DoubleLayerPotential.cpp \
+ ../../src/laplace/DoubleLayerPotential.hpp
+test_ComputeDoubleLayerPotentialEntry_LDADD = -lboost_unit_test_framework -lboost_regex -lhilbert-mesh -lhilbert-spaces $(HLIB_LDFLAGS) $(HLIB_LIB) $(BLAS_LIBS) $(LAPACK_LIBS) $(LIBS) $(FLIBS)
+test_ComputeDoubleLayerPotentialEntry_CPPFLAGS = $(CPPFLAGS) $(HLIB_CPPFLAGS)
+
+smoke-test: test-ComputeSimpleLayerPotentialEntry
+ ./test-ComputeSimpleLayerPotentialEntry
--- /dev/null
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
+# Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+bin_PROGRAMS = test-ComputeSimpleLayerPotentialEntry$(EXEEXT) \
+ test-ComputeDoubleLayerPotentialEntry$(EXEEXT)
+subdir = t/laplace
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+ $(test_ComputeDoubleLayerPotentialEntry_HEADERS) \
+ $(test_ComputeSimpleLayerPotentialEntry_HEADERS)
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/ax_blas.m4 \
+ $(top_srcdir)/m4/ax_boost_base.m4 \
+ $(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/ax_hlib.m4 \
+ $(top_srcdir)/m4/ax_lapack.m4 $(top_srcdir)/m4/ax_lib_loki.m4 \
+ $(top_srcdir)/m4/ax_prog_doxygen.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+am__installdirs = "$(DESTDIR)$(bindir)" \
+ "$(DESTDIR)$(test_ComputeDoubleLayerPotentialEntrydir)" \
+ "$(DESTDIR)$(test_ComputeSimpleLayerPotentialEntrydir)"
+PROGRAMS = $(bin_PROGRAMS)
+am_test_ComputeDoubleLayerPotentialEntry_OBJECTS = test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.$(OBJEXT) \
+ test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.$(OBJEXT) \
+ test_ComputeDoubleLayerPotentialEntry-HLibOperator.$(OBJEXT)
+test_ComputeDoubleLayerPotentialEntry_OBJECTS = \
+ $(am_test_ComputeDoubleLayerPotentialEntry_OBJECTS)
+am__DEPENDENCIES_1 =
+test_ComputeDoubleLayerPotentialEntry_DEPENDENCIES = \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+am_test_ComputeSimpleLayerPotentialEntry_OBJECTS = test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.$(OBJEXT) \
+ test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.$(OBJEXT) \
+ test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.$(OBJEXT) \
+ test_ComputeSimpleLayerPotentialEntry-HLibOperator.$(OBJEXT)
+test_ComputeSimpleLayerPotentialEntry_OBJECTS = \
+ $(am_test_ComputeSimpleLayerPotentialEntry_OBJECTS)
+test_ComputeSimpleLayerPotentialEntry_DEPENDENCIES = \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+am__mv = mv -f
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
+ -o $@
+SOURCES = $(test_ComputeDoubleLayerPotentialEntry_SOURCES) \
+ $(test_ComputeSimpleLayerPotentialEntry_SOURCES)
+DIST_SOURCES = $(test_ComputeDoubleLayerPotentialEntry_SOURCES) \
+ $(test_ComputeSimpleLayerPotentialEntry_SOURCES)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+HEADERS = $(test_ComputeDoubleLayerPotentialEntry_HEADERS) \
+ $(test_ComputeSimpleLayerPotentialEntry_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_CXXFLAGS = @AM_CXXFLAGS@
+AM_LDFLAGS = -L../../src/boundary_mesh -L../../src/spaces @AM_LDFLAGS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+BLAS_LIBS = @BLAS_LIBS@
+BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
+BOOST_LDFLAGS = @BOOST_LDFLAGS@
+BOOST_REGEX_LIB = @BOOST_REGEX_LIB@
+BOOST_ROOT_PATH = @BOOST_ROOT_PATH@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DOXYGEN_PAPER_SIZE = @DOXYGEN_PAPER_SIZE@
+DX_CONFIG = @DX_CONFIG@
+DX_DOCDIR = @DX_DOCDIR@
+DX_DOT = @DX_DOT@
+DX_DOXYGEN = @DX_DOXYGEN@
+DX_DVIPS = @DX_DVIPS@
+DX_EGREP = @DX_EGREP@
+DX_ENV = @DX_ENV@
+DX_FLAG_chi = @DX_FLAG_chi@
+DX_FLAG_chm = @DX_FLAG_chm@
+DX_FLAG_doc = @DX_FLAG_doc@
+DX_FLAG_dot = @DX_FLAG_dot@
+DX_FLAG_html = @DX_FLAG_html@
+DX_FLAG_man = @DX_FLAG_man@
+DX_FLAG_pdf = @DX_FLAG_pdf@
+DX_FLAG_ps = @DX_FLAG_ps@
+DX_FLAG_rtf = @DX_FLAG_rtf@
+DX_FLAG_xml = @DX_FLAG_xml@
+DX_HHC = @DX_HHC@
+DX_LATEX = @DX_LATEX@
+DX_MAKEINDEX = @DX_MAKEINDEX@
+DX_PDFLATEX = @DX_PDFLATEX@
+DX_PERL = @DX_PERL@
+DX_PROJECT = @DX_PROJECT@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FLIBS = @FLIBS@
+GREP = @GREP@
+HLIB_CPPFLAGS = @HLIB_CPPFLAGS@
+HLIB_LDFLAGS = @HLIB_LDFLAGS@
+HLIB_LIB = @HLIB_LIB@
+HLIB_ROOT_PATH = @HLIB_ROOT_PATH@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LAPACK_LIBS = @LAPACK_LIBS@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LOKI_CPPFLAGS = @LOKI_CPPFLAGS@
+LOKI_LDFLAGS = @LOKI_LDFLAGS@
+LOKI_ROOT_PATH = @LOKI_ROOT_PATH@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+test_ComputeSimpleLayerPotentialEntrydir = .
+test_ComputeSimpleLayerPotentialEntry_SOURCES = \
+ computeSimpleLayerPotentialEntry.cpp \
+ ../../src/laplace/TriangleIntegrator.cpp \
+ ../../src/laplace/SimpleLayerPotential.cpp \
+ ../../src/HLibOperator.cpp
+
+test_ComputeSimpleLayerPotentialEntry_HEADERS = \
+ ../../src/boundary_mesh/FlexibleMesh.hpp \
+ ../../src/laplace/SimpleLayerPotential.hpp
+
+test_ComputeSimpleLayerPotentialEntry_LDADD = -lboost_unit_test_framework -lboost_regex -lhilbert-mesh -lhilbert-spaces $(HLIB_LDFLAGS) $(HLIB_LIB) $(BLAS_LIBS) $(LAPACK_LIBS) $(LIBS) $(FLIBS)
+test_ComputeSimpleLayerPotentialEntry_CPPFLAGS = $(CPPFLAGS) $(HLIB_CPPFLAGS)
+test_ComputeDoubleLayerPotentialEntrydir = .
+test_ComputeDoubleLayerPotentialEntry_SOURCES = \
+ computeDoubleLayerPotentialEntry.cpp \
+ ../../src/laplace/TriangleIntegrator.cpp \
+ ../../src/HLibOperator.cpp
+
+test_ComputeDoubleLayerPotentialEntry_HEADERS = \
+ ../../src/boundary_mesh/FlexibleMesh.hpp \
+ ../../src/laplace/DoubleLayerPotential.cpp \
+ ../../src/laplace/DoubleLayerPotential.hpp
+
+test_ComputeDoubleLayerPotentialEntry_LDADD = -lboost_unit_test_framework -lboost_regex -lhilbert-mesh -lhilbert-spaces $(HLIB_LDFLAGS) $(HLIB_LIB) $(BLAS_LIBS) $(LAPACK_LIBS) $(LIBS) $(FLIBS)
+test_ComputeDoubleLayerPotentialEntry_CPPFLAGS = $(CPPFLAGS) $(HLIB_CPPFLAGS)
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu t/laplace/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu t/laplace/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+install-binPROGRAMS: $(bin_PROGRAMS)
+ @$(NORMAL_INSTALL)
+ test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed 's/$(EXEEXT)$$//' | \
+ while read p p1; do if test -f $$p; \
+ then echo "$$p"; echo "$$p"; else :; fi; \
+ done | \
+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+ sed 'N;N;N;s,\n, ,g' | \
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
+ else { print "f", $$3 "/" $$4, $$1; } } \
+ END { for (d in files) print "f", d, files[d] }' | \
+ while read type dir files; do \
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+ test -z "$$files" || { \
+ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
+ } \
+ ; done
+
+uninstall-binPROGRAMS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+ files=`for p in $$list; do echo "$$p"; done | \
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+ -e 's/$$/$(EXEEXT)/' `; \
+ test -n "$$list" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
+
+clean-binPROGRAMS:
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+test-ComputeDoubleLayerPotentialEntry$(EXEEXT): $(test_ComputeDoubleLayerPotentialEntry_OBJECTS) $(test_ComputeDoubleLayerPotentialEntry_DEPENDENCIES)
+ @rm -f test-ComputeDoubleLayerPotentialEntry$(EXEEXT)
+ $(CXXLINK) $(test_ComputeDoubleLayerPotentialEntry_OBJECTS) $(test_ComputeDoubleLayerPotentialEntry_LDADD) $(LIBS)
+test-ComputeSimpleLayerPotentialEntry$(EXEEXT): $(test_ComputeSimpleLayerPotentialEntry_OBJECTS) $(test_ComputeSimpleLayerPotentialEntry_DEPENDENCIES)
+ @rm -f test-ComputeSimpleLayerPotentialEntry$(EXEEXT)
+ $(CXXLINK) $(test_ComputeSimpleLayerPotentialEntry_OBJECTS) $(test_ComputeSimpleLayerPotentialEntry_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-HLibOperator.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-HLibOperator.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.Po@am__quote@
+
+.cpp.o:
+@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.o: computeDoubleLayerPotentialEntry.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.o -MD -MP -MF $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.Tpo -c -o test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.o `test -f 'computeDoubleLayerPotentialEntry.cpp' || echo '$(srcdir)/'`computeDoubleLayerPotentialEntry.cpp
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.Tpo $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='computeDoubleLayerPotentialEntry.cpp' object='test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.o `test -f 'computeDoubleLayerPotentialEntry.cpp' || echo '$(srcdir)/'`computeDoubleLayerPotentialEntry.cpp
+
+test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.obj: computeDoubleLayerPotentialEntry.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.obj -MD -MP -MF $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.Tpo -c -o test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.obj `if test -f 'computeDoubleLayerPotentialEntry.cpp'; then $(CYGPATH_W) 'computeDoubleLayerPotentialEntry.cpp'; else $(CYGPATH_W) '$(srcdir)/computeDoubleLayerPotentialEntry.cpp'; fi`
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.Tpo $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='computeDoubleLayerPotentialEntry.cpp' object='test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeDoubleLayerPotentialEntry-computeDoubleLayerPotentialEntry.obj `if test -f 'computeDoubleLayerPotentialEntry.cpp'; then $(CYGPATH_W) 'computeDoubleLayerPotentialEntry.cpp'; else $(CYGPATH_W) '$(srcdir)/computeDoubleLayerPotentialEntry.cpp'; fi`
+
+test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.o: ../../src/laplace/TriangleIntegrator.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.o -MD -MP -MF $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.Tpo -c -o test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.o `test -f '../../src/laplace/TriangleIntegrator.cpp' || echo '$(srcdir)/'`../../src/laplace/TriangleIntegrator.cpp
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.Tpo $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../../src/laplace/TriangleIntegrator.cpp' object='test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.o `test -f '../../src/laplace/TriangleIntegrator.cpp' || echo '$(srcdir)/'`../../src/laplace/TriangleIntegrator.cpp
+
+test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.obj: ../../src/laplace/TriangleIntegrator.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.obj -MD -MP -MF $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.Tpo -c -o test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.obj `if test -f '../../src/laplace/TriangleIntegrator.cpp'; then $(CYGPATH_W) '../../src/laplace/TriangleIntegrator.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/laplace/TriangleIntegrator.cpp'; fi`
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.Tpo $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../../src/laplace/TriangleIntegrator.cpp' object='test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeDoubleLayerPotentialEntry-TriangleIntegrator.obj `if test -f '../../src/laplace/TriangleIntegrator.cpp'; then $(CYGPATH_W) '../../src/laplace/TriangleIntegrator.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/laplace/TriangleIntegrator.cpp'; fi`
+
+test_ComputeDoubleLayerPotentialEntry-HLibOperator.o: ../../src/HLibOperator.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeDoubleLayerPotentialEntry-HLibOperator.o -MD -MP -MF $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-HLibOperator.Tpo -c -o test_ComputeDoubleLayerPotentialEntry-HLibOperator.o `test -f '../../src/HLibOperator.cpp' || echo '$(srcdir)/'`../../src/HLibOperator.cpp
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-HLibOperator.Tpo $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-HLibOperator.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../../src/HLibOperator.cpp' object='test_ComputeDoubleLayerPotentialEntry-HLibOperator.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeDoubleLayerPotentialEntry-HLibOperator.o `test -f '../../src/HLibOperator.cpp' || echo '$(srcdir)/'`../../src/HLibOperator.cpp
+
+test_ComputeDoubleLayerPotentialEntry-HLibOperator.obj: ../../src/HLibOperator.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeDoubleLayerPotentialEntry-HLibOperator.obj -MD -MP -MF $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-HLibOperator.Tpo -c -o test_ComputeDoubleLayerPotentialEntry-HLibOperator.obj `if test -f '../../src/HLibOperator.cpp'; then $(CYGPATH_W) '../../src/HLibOperator.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/HLibOperator.cpp'; fi`
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-HLibOperator.Tpo $(DEPDIR)/test_ComputeDoubleLayerPotentialEntry-HLibOperator.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../../src/HLibOperator.cpp' object='test_ComputeDoubleLayerPotentialEntry-HLibOperator.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeDoubleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeDoubleLayerPotentialEntry-HLibOperator.obj `if test -f '../../src/HLibOperator.cpp'; then $(CYGPATH_W) '../../src/HLibOperator.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/HLibOperator.cpp'; fi`
+
+test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.o: computeSimpleLayerPotentialEntry.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.o -MD -MP -MF $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.Tpo -c -o test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.o `test -f 'computeSimpleLayerPotentialEntry.cpp' || echo '$(srcdir)/'`computeSimpleLayerPotentialEntry.cpp
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.Tpo $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='computeSimpleLayerPotentialEntry.cpp' object='test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.o `test -f 'computeSimpleLayerPotentialEntry.cpp' || echo '$(srcdir)/'`computeSimpleLayerPotentialEntry.cpp
+
+test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.obj: computeSimpleLayerPotentialEntry.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.obj -MD -MP -MF $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.Tpo -c -o test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.obj `if test -f 'computeSimpleLayerPotentialEntry.cpp'; then $(CYGPATH_W) 'computeSimpleLayerPotentialEntry.cpp'; else $(CYGPATH_W) '$(srcdir)/computeSimpleLayerPotentialEntry.cpp'; fi`
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.Tpo $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='computeSimpleLayerPotentialEntry.cpp' object='test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeSimpleLayerPotentialEntry-computeSimpleLayerPotentialEntry.obj `if test -f 'computeSimpleLayerPotentialEntry.cpp'; then $(CYGPATH_W) 'computeSimpleLayerPotentialEntry.cpp'; else $(CYGPATH_W) '$(srcdir)/computeSimpleLayerPotentialEntry.cpp'; fi`
+
+test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.o: ../../src/laplace/TriangleIntegrator.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.o -MD -MP -MF $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.Tpo -c -o test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.o `test -f '../../src/laplace/TriangleIntegrator.cpp' || echo '$(srcdir)/'`../../src/laplace/TriangleIntegrator.cpp
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.Tpo $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../../src/laplace/TriangleIntegrator.cpp' object='test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.o `test -f '../../src/laplace/TriangleIntegrator.cpp' || echo '$(srcdir)/'`../../src/laplace/TriangleIntegrator.cpp
+
+test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.obj: ../../src/laplace/TriangleIntegrator.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.obj -MD -MP -MF $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.Tpo -c -o test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.obj `if test -f '../../src/laplace/TriangleIntegrator.cpp'; then $(CYGPATH_W) '../../src/laplace/TriangleIntegrator.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/laplace/TriangleIntegrator.cpp'; fi`
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.Tpo $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../../src/laplace/TriangleIntegrator.cpp' object='test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeSimpleLayerPotentialEntry-TriangleIntegrator.obj `if test -f '../../src/laplace/TriangleIntegrator.cpp'; then $(CYGPATH_W) '../../src/laplace/TriangleIntegrator.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/laplace/TriangleIntegrator.cpp'; fi`
+
+test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.o: ../../src/laplace/SimpleLayerPotential.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.o -MD -MP -MF $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.Tpo -c -o test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.o `test -f '../../src/laplace/SimpleLayerPotential.cpp' || echo '$(srcdir)/'`../../src/laplace/SimpleLayerPotential.cpp
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.Tpo $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../../src/laplace/SimpleLayerPotential.cpp' object='test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.o `test -f '../../src/laplace/SimpleLayerPotential.cpp' || echo '$(srcdir)/'`../../src/laplace/SimpleLayerPotential.cpp
+
+test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.obj: ../../src/laplace/SimpleLayerPotential.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.obj -MD -MP -MF $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.Tpo -c -o test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.obj `if test -f '../../src/laplace/SimpleLayerPotential.cpp'; then $(CYGPATH_W) '../../src/laplace/SimpleLayerPotential.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/laplace/SimpleLayerPotential.cpp'; fi`
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.Tpo $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../../src/laplace/SimpleLayerPotential.cpp' object='test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeSimpleLayerPotentialEntry-SimpleLayerPotential.obj `if test -f '../../src/laplace/SimpleLayerPotential.cpp'; then $(CYGPATH_W) '../../src/laplace/SimpleLayerPotential.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/laplace/SimpleLayerPotential.cpp'; fi`
+
+test_ComputeSimpleLayerPotentialEntry-HLibOperator.o: ../../src/HLibOperator.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeSimpleLayerPotentialEntry-HLibOperator.o -MD -MP -MF $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-HLibOperator.Tpo -c -o test_ComputeSimpleLayerPotentialEntry-HLibOperator.o `test -f '../../src/HLibOperator.cpp' || echo '$(srcdir)/'`../../src/HLibOperator.cpp
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-HLibOperator.Tpo $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-HLibOperator.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../../src/HLibOperator.cpp' object='test_ComputeSimpleLayerPotentialEntry-HLibOperator.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeSimpleLayerPotentialEntry-HLibOperator.o `test -f '../../src/HLibOperator.cpp' || echo '$(srcdir)/'`../../src/HLibOperator.cpp
+
+test_ComputeSimpleLayerPotentialEntry-HLibOperator.obj: ../../src/HLibOperator.cpp
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_ComputeSimpleLayerPotentialEntry-HLibOperator.obj -MD -MP -MF $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-HLibOperator.Tpo -c -o test_ComputeSimpleLayerPotentialEntry-HLibOperator.obj `if test -f '../../src/HLibOperator.cpp'; then $(CYGPATH_W) '../../src/HLibOperator.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/HLibOperator.cpp'; fi`
+@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-HLibOperator.Tpo $(DEPDIR)/test_ComputeSimpleLayerPotentialEntry-HLibOperator.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='../../src/HLibOperator.cpp' object='test_ComputeSimpleLayerPotentialEntry-HLibOperator.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_ComputeSimpleLayerPotentialEntry_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_ComputeSimpleLayerPotentialEntry-HLibOperator.obj `if test -f '../../src/HLibOperator.cpp'; then $(CYGPATH_W) '../../src/HLibOperator.cpp'; else $(CYGPATH_W) '$(srcdir)/../../src/HLibOperator.cpp'; fi`
+install-test_ComputeDoubleLayerPotentialEntryHEADERS: $(test_ComputeDoubleLayerPotentialEntry_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(test_ComputeDoubleLayerPotentialEntrydir)" || $(MKDIR_P) "$(DESTDIR)$(test_ComputeDoubleLayerPotentialEntrydir)"
+ @list='$(test_ComputeDoubleLayerPotentialEntry_HEADERS)'; test -n "$(test_ComputeDoubleLayerPotentialEntrydir)" || list=; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(test_ComputeDoubleLayerPotentialEntrydir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(test_ComputeDoubleLayerPotentialEntrydir)" || exit $$?; \
+ done
+
+uninstall-test_ComputeDoubleLayerPotentialEntryHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(test_ComputeDoubleLayerPotentialEntry_HEADERS)'; test -n "$(test_ComputeDoubleLayerPotentialEntrydir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(test_ComputeDoubleLayerPotentialEntrydir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(test_ComputeDoubleLayerPotentialEntrydir)" && rm -f $$files
+install-test_ComputeSimpleLayerPotentialEntryHEADERS: $(test_ComputeSimpleLayerPotentialEntry_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(test_ComputeSimpleLayerPotentialEntrydir)" || $(MKDIR_P) "$(DESTDIR)$(test_ComputeSimpleLayerPotentialEntrydir)"
+ @list='$(test_ComputeSimpleLayerPotentialEntry_HEADERS)'; test -n "$(test_ComputeSimpleLayerPotentialEntrydir)" || list=; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(test_ComputeSimpleLayerPotentialEntrydir)'"; \
+ $(INSTALL_HEADER) $$files "$(DESTDIR)$(test_ComputeSimpleLayerPotentialEntrydir)" || exit $$?; \
+ done
+
+uninstall-test_ComputeSimpleLayerPotentialEntryHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(test_ComputeSimpleLayerPotentialEntry_HEADERS)'; test -n "$(test_ComputeSimpleLayerPotentialEntrydir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ test -n "$$files" || exit 0; \
+ echo " ( cd '$(DESTDIR)$(test_ComputeSimpleLayerPotentialEntrydir)' && rm -f" $$files ")"; \
+ cd "$(DESTDIR)$(test_ComputeSimpleLayerPotentialEntrydir)" && rm -f $$files
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ set x; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(PROGRAMS) $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(test_ComputeDoubleLayerPotentialEntrydir)" "$(DESTDIR)$(test_ComputeSimpleLayerPotentialEntrydir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-test_ComputeDoubleLayerPotentialEntryHEADERS \
+ install-test_ComputeSimpleLayerPotentialEntryHEADERS
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am: install-binPROGRAMS
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-binPROGRAMS \
+ uninstall-test_ComputeDoubleLayerPotentialEntryHEADERS \
+ uninstall-test_ComputeSimpleLayerPotentialEntryHEADERS
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
+ clean-generic ctags distclean distclean-compile \
+ distclean-generic distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-binPROGRAMS \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ install-test_ComputeDoubleLayerPotentialEntryHEADERS \
+ install-test_ComputeSimpleLayerPotentialEntryHEADERS \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
+ uninstall-am uninstall-binPROGRAMS \
+ uninstall-test_ComputeDoubleLayerPotentialEntryHEADERS \
+ uninstall-test_ComputeSimpleLayerPotentialEntryHEADERS
+
+
+smoke-test: test-ComputeSimpleLayerPotentialEntry
+ ./test-ComputeSimpleLayerPotentialEntry
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+#include <boundary_mesh/FlexibleMesh.hpp>
+#include <laplace/DoubleLayerPotential.cpp>
+#include <laplace/TriangleIntegrator.hpp>
+#include <boost/function.hpp>
+
+#define BOOST_TEST_DYN_LINK
+#define BOOST_TEST_MODULE computeDoubleLayerPotentialEntry
+#include <boost/test/unit_test.hpp>
+
+#define EPS 1e-9
+
+using namespace boundary_mesh;
+using namespace laplace;
+
+namespace testing
+{
+ template < class TMesh >
+ class Tester
+ {
+ private:
+ class Kernel
+ {
+ public:
+ Kernel(const BoundaryMesh::UVertex& y)
+ : y_(y) {}
+ double operator()(const BoundaryMesh::UVertex& x)
+ {
+ return 0.;
+ }
+
+ private:
+ const BoundaryMesh::UVertex& y_;
+ };
+
+ public:
+ static void testF()
+ {
+ BoundaryMesh m = BoundaryMesh::Alg::loadFromObj("Lshape.obj");
+ BoundaryMesh::UVertex y(3,3,0);
+
+ // define the kernel of the simple layer potential
+ boost::function< double (const BoundaryMesh::UVertex&) > kernel =
+ Kernel(y);
+
+ TriangleIntegrator integrator = TriangleIntegrator();
+
+ for ( BoundaryMesh::ConstFaceIterator faceIt = m.begin_f();
+ faceIt != m.end_f(); ++faceIt )
+ {
+ const BoundaryMesh::Prop::Triangle& t =
+ dynamic_cast<const BoundaryMesh::Prop::Triangle&>(*faceIt);
+ double res1 = integrator.integrate(t,kernel);
+
+ double res2 =
+ ComputeDoubleLayerPotentialEntryComponentImpl<BoundaryMesh>::
+ TriangleHelpers::computeLocalContributionDi(t,y);
+
+ std::cout << "\n# " << res1 << "," << res2 << std::endl;
+
+ BOOST_CHECK( fabs(res1-res2) <= EPS );
+ }
+
+ }
+ };
+}
+
+typedef testing::Tester < boundary_mesh::FlexibleMesh> Tester;
+
+BOOST_AUTO_TEST_SUITE(computeSimpleLayerPotentialEntry)
+
+BOOST_AUTO_TEST_CASE(F)
+{
+ Tester::testF();
+}
+
+BOOST_AUTO_TEST_SUITE_END()
+
--- /dev/null
+#include <boundary_mesh/FlexibleMesh.hpp>
+#include <laplace/SimpleLayerPotential.hpp>
+#include <laplace/TriangleIntegrator.hpp>
+#include <boost/function.hpp>
+
+#define BOOST_TEST_DYN_LINK
+#define BOOST_TEST_MODULE computeSimpleLayerPotentialEntry
+#include <boost/test/unit_test.hpp>
+
+#define EPS 1e-5
+
+using namespace boundary_mesh;
+using namespace laplace;
+
+namespace testing
+{
+using namespace boundary_mesh;
+
+template < class TMesh >
+class Tester
+{
+ private:
+ class Kernel // the integral kernel 1/(4*pi*|x-y|) of the simple layer potential with fixed y
+ {
+ public:
+ Kernel(const BoundaryMesh::UVertex& y)
+ : y_(y) {}
+ double operator()(const BoundaryMesh::UVertex& x)
+ {
+ return 0.25*(1./(x-y_).norm())/M_PI;
+ }
+ private:
+ const BoundaryMesh::UVertex& y_;
+ };
+
+ // helper function
+ // computes
+ //
+ // 1/(4\pi) \int_{x \in T} 1/|x-y| dx
+ //
+ // with fixed point y and Triangle T.
+ // The computation of the integral is carried out by a 7-point Gauss quadrature
+ // and by the formulas in [Rjasanow/Steinbach, Chapter C.2.1]
+ static void testFHelper(const BoundaryMesh::UVertex& y, const BoundaryMesh::Prop::Triangle& t)
+ {
+ // define the kernel of the simple layer potential
+ boost::function< double (const BoundaryMesh::UVertex&) > kernel =
+ Kernel(y);
+
+ // define the computeSimpleLayerPotentialEntry class
+ ComputeSimpleLayerPotentialEntry<BoundaryMesh> compEnt;
+
+ TriangleIntegrator integrator = TriangleIntegrator();
+ double resInt = integrator.integrate(t,kernel);
+
+ double resAna = compEnt.computeInnerIntegralForTriangles(t,y);
+ std::cout << "# int.: " << resInt << ", ana.: " << resAna << std::endl;
+
+ BOOST_CHECK( fabs(resInt-resAna) <= EPS );
+ }
+ public:
+ static void testF()
+ {
+ // load the LShape
+ BoundaryMesh m = BoundaryMesh::Alg::loadFromObj("Lshape.obj");
+ BoundaryMesh::UVertex y1(3,3,0);
+ BoundaryMesh::UVertex y2(-1,0,0);
+ BoundaryMesh::UVertex y3(0,0,0);
+ BoundaryMesh::UVertex y4(0.1,0.1,0);
+
+ for ( BoundaryMesh::ConstFaceIterator faceIt = m.begin_f();
+ faceIt != m.end_f(); ++faceIt )
+ {
+ const BoundaryMesh::Prop::Triangle& t =
+ dynamic_cast<const BoundaryMesh::Prop::Triangle&>(*faceIt);
+ std::cout << "\n# face " << t.getId() << "-------------------------" <<
+ "-----------------------------------" << std::endl;
+
+ testFHelper(y1,t);
+ testFHelper(y2,t);
+ testFHelper(y3,t);
+ testFHelper(y4,t);
+ }
+ }
+
+};
+//int main()
+//{
+//
+// // choose a point outside the LShape
+// BoundaryMesh::UVertex x(3,3,0);
+//
+// TriangleIntegrator integrator = TriangleIntegrator();
+//
+// for ( BoundaryMesh::ConstFaceIterator faceIt = m.begin_f();
+// faceIt != m.end_f(); ++faceIt)
+// {
+// }
+//
+// return 0;
+//}
+}
+
+typedef testing::Tester < boundary_mesh::FlexibleMesh> Tester;
+
+BOOST_AUTO_TEST_SUITE(computeSimpleLayerPotentialEntry)
+
+BOOST_AUTO_TEST_CASE(F)
+{
+ Tester::testF();
+}
+
+BOOST_AUTO_TEST_SUITE_END()
--- /dev/null
+import re
+
+class Vector3D:
+ "Print a Vector3D object"
+
+ def __init__(self, typename, val):
+ self.typename = typename
+ self.val = val
+
+ def to_string(self):
+ return 'Vector(' + `self.val['coeff'][0]` + ', ' + `self.val['coeff'][1]` + ', ' + `self.val['coeff'][2]` + ')'
+
+ def display_hint(self):
+ return 'GenericVector'
+
+def get_generic_printers ():
+ printerMap = {}
+ printerMap[re.compile('^generic::Vector3D<.*>$')] = lambda val: Vector3D('generic::Vector3D', val)
+ return printerMap
+
\r
#include "SLPrecangle.hpp"\r
\r
-#define my_PI 3.141592653589793\r
#define EPS 0.02\r
\r
using namespace std;\r
A[(k * em) + j] = tmp;\r
\r
}\r
- A[(k * em) + j] = 1. / (4 * my_PI) * tmp;\r
-\r
- // Vorbereiten der DATEN\r
- // ej = coordinates(elements(j,:)',:);\r
- // ek = coordinates(elements(k,:)',:);\r
- // d = ek(1,:) - ej(1,:);\r
-\r
- // AUSRECHNEN\r
- // A[(k*em)+j] = 1./(4*my_PI);// *\r
- // quadInt(F_par,\r
- // ,ej(1,1),ej(1,2),ej(2,1), ej(3,2),ek(1,1), ek(1,2),ek(2,1), ek(3,2));\r
+ A[(k * em) + j] = 1. / (4 * M_PI) * tmp;\r
\r
}\r
\r
--- /dev/null
+function ind=computeEstSlpMuTilde(x_fine,coo,ele,f2s)
+xF2S = x_fine(f2s)';
+
+if(size(xF2S,1)==1)
+ xF2S = xF2S';
+end
+
+
+len = min(abs([sum(coo(ele(:,2),:)-coo(ele(:,1),:),2)...
+ sum(coo(ele(:,4),:)-coo(ele(:,1),:),2)]),[],2);
+
+sizes = sqrt(sum(quadNorm(coo,ele,'w').^2,2));
+
+x_var = sum((xF2S-repmat(sum(xF2S,1)/4,4,1)).^2)';
+
+ind = len.* sizes .* x_var;
+
+end
\ No newline at end of file
--- /dev/null
+function REF = mark(xF2S,ind,eta,eps)
+%REFINETYPE Summary of this function goes here
+% Detailed explanation goes here
+
+if(size(xF2S,1)==1)
+ xF2S = xF2S';
+end
+
+T4 = [1 1 1 1; 1 -1 1 -1; 1 1 -1 -1;1 -1 -1 1]/4;
+
+REF=ones(1,size(xF2S,2));
+t1=zeros(1,size(xF2S,2));
+
+Ct = T4*xF2S;
+
+%% Muss ueberhaupt verfeinert werden
+
+[s_ind idx] = sort(ind,'descend');
+
+sum_ind = cumsum(s_ind,1);
+
+ell = max(find(sum_ind >= sum_ind(end)*eta,1));
+
+t1(idx(ell:end)) = 1;
+
+% REF = eps * ind >
+
+% t1(7) = 1;
+
+
+%% Wie muss verfeinert werden
+t3 = (eps*abs(Ct(3,:)) >= sqrt(Ct(2,:).^2+Ct(4,:).^2));
+REF(t3) = 3;
+t4 = (eps*abs(Ct(4,:)) >= sqrt(Ct(2,:).^2+Ct(3,:).^2));
+REF(t4) = 4;
+REF(~(t4+t3+t1)) = 2;
+
+end
if(n)
if(n==2)
- anorm = quad_norm(coordinates,elements,'w');
+ anorm = quadNorm(coordinates,elements,'w');
else
- anorm = quad_norm(coordinates,elements);
+ anorm = quadNorm(coordinates,elements);
end
for idx = 1:eles
current = sum(coordinates(elements(idx,[2,4])',:),1)/2;
--- /dev/null
+function n = quadNorm(coordinates, elements,varargin)
+%
+% norm = quadNorm(coordinates, elements)
+% norm = quadNorm(coordinates, elements, 'FLAG')
+%
+% Diese Funktion Berechnet die Orthogonalen mit Laenge 1 über alle Flächen
+% FLAG:
+% w -> Laenge entspricht Flaecheninhalt
+% P.Schaefer
+
+%% Parameterueberpruefung
+w = 1;
+
+optargin = size(varargin,2);
+if(optargin>1)
+ error('Zu viele Argumente');
+elseif(optargin==1)
+ if(ismember('w',varargin{1}))
+ w = 0;
+ end
+end
+
+ %Numbers needed
+ s_ele = size(elements,1);
+
+
+%% calculate the Norm
+ n = zeros(size(elements,1),3);
+ for i = 1:s_ele
+ % normalized Vector on every triangle
+ tri = elements(i,:);
+ a = (coordinates(tri(2),:)-coordinates(tri(1),:));
+ b = (coordinates(tri(4),:)-coordinates(tri(1),:));
+ N = cross(a',b');
+ if(w)
+ N = N/norm(N);
+ end
+ n(i,:) = N;
+ end
+
+end
+
+
+
+++ /dev/null
-function n = quad_norm(coordinates, elements,varargin)
-%
-% norm = tri_norm(coordinates, elements)
-% norm = tri_norm(coordinates, elements, 'FLAG')
-%
-% Diese Funktion Berechnet die Orthogonalen mit Laenge 1 über alle Flächen
-% FLAG:
-% w -> Laenge entspricht Flaecheninhalt
-% P.Schaefer
-
-%% Parameterueberpruefung
-w = 1;
-
-optargin = size(varargin,2);
-if(optargin>1)
- error('Zu viele Argumente');
-elseif(optargin==1)
- if(ismember('w',varargin{1}))
- w = 0;
- end
-end
-
- %Numbers needed
- s_ele = size(elements,1);
-
-
-%% calculate the Norm
- n = zeros(size(elements,1),3);
- for i = 1:s_ele
- % normalized Vector on every triangle
- tri = elements(i,:);
- a = (coordinates(tri(2),:)-coordinates(tri(1),:));
- b = (coordinates(tri(4),:)-coordinates(tri(1),:));
- N = cross(a',b');
- if(w)
- N = N/norm(N);
- end
- n(i,:) = N;
- end
-
-end
-
-
-
+++ /dev/null
-function REF = refineType(xF2S,tau)
-%REFINETYPE Summary of this function goes here
-% Detailed explanation goes here
-
-T4 = [1 1 1 1; 1 -1 1 -1; 1 1 -1 -1;1 -1 -1 1]/4;
-
-REF=ones(1,size(xF2S,2));
-t1=zeros(1,size(xF2S,2));
-t3=t1;
-t4=t1;
-
-%% Muss ueberhaupt verfeinert werden
-
-% t1(7) = 1;
-
-
-%% Wie muss verfeinert werden
-% Ct = T4*xF2S;
-% t3 = (tau*abs(Ct(3,:)) >= sqrt(Ct(2,:).^2+Ct(4,:).^2));
-% REF(t3) = 3;
-% t4 = (tau*abs(Ct(4,:)) >= sqrt(Ct(2,:).^2+Ct(3,:).^2));
-% REF(t4) = 4;
-REF(~(t4+t3+t1)) = 2;
-end
-
tic
A = build_A(coordinates,elements);
t = toc;
-b = sqrt(sum(quad_norm(coordinates,elements,'w').^2,2));
+b = sqrt(sum(quadNorm(coordinates,elements,'w').^2,2));
x = A\b;
xe = x'*A*x;
\r
-%% Laden des Gitters\r
-load exmpl_3DFichCube %Energienorm sollte gegen 8.28466 konvergieren\r
+dataIso =[];\r
+dataAniso =[];\r
+maxSize = 1050;\r
+% Netz = 'exmpl_2DLShape'; %Energienorm sollte gegen 8.28466 konvergieren\r
+Netz = 'exmpl_3DFichCube'; %Energienorm sollte gegen 162265 konvergieren\r
+% Netz = 'exmpl_2DQuad';\r
\r
-%% Rotationen einzelnen von Elementen (zum Testen)\r
-% coordinates = coordinates(:,[ 1 3 2]);\r
-% elements(2,:) = elements(2,[ 3 4 1 2]);\r
-% elements(3,:) = elements(3,[ 3 2 1 4]);\r
+%% Isotrope Verfeinerung\r
+disp 'Isotrop'\r
+load(Netz)\r
+\r
+ref = 0;\r
+while size(elements,1)<maxSize\r
+ tic\r
+ ref = ref+1;\r
\r
-%% Verfeinerungen (isotrop)\r
-for i = 1:0\r
- [coordinates,elements]=refineQuad(coordinates,elements,2*ones(1,size(elements,1)));\r
-end\r
-% [coordinates,elements]=refineQuad(coordinates,elements,ones(1,size(elements,1)));\r
-% [coordinates,elements]=refineQuad(coordinates,elements,ones(1,size(elements,1)));\r
-% [coordinates,elements]=refineQuad(coordinates,elements,ones(1,size(elements,1)));\r
-% [coordinates,elements]=refineQuad(coordinates,elements,ones(1,size(elements,1)));\r
-\r
-for ref = 1:3\r
-\r
- %% Testen mit Quadratur... und mex_G00\r
- % A = build_A2(coordinates,elements);\r
- % sum(sum (A-A'));\r
- % b = sqrt(sum(quad_norm(coordinates,elements,'w').^2,2));\r
- % x = A\b;\r
- % xe = x'*A*x\r
-\r
- %% Testen mit MEX -> build_A\r
- A = build_A(coordinates,elements);\r
- sum(sum (A-A'));\r
- b = sqrt(sum(quad_norm(coordinates,elements,'w').^2,2));\r
- x = A\b;\r
- xe = x'*A*x;\r
-\r
- %% isotrope Verfeinerung und Aufbauen\r
[coordinates_fine,elements_fine, f2s]=refineQuad(coordinates,elements,2*ones(1,size(elements,1)));\r
A_fine = build_A(coordinates_fine,elements_fine);\r
- sum(sum(A_fine-A_fine'));\r
- b = sqrt(sum(quad_norm(coordinates_fine,elements_fine,'w').^2,2));\r
+ b = sqrt(sum(quadNorm(coordinates_fine,elements_fine,'w').^2,2));\r
x_fine = A_fine\b;\r
- xe_fine = x_fine'*A_fine*x_fine;\r
+% xe_fine = x_fine'*A_fine*x_fine;\r
\r
+ ind = computeEstSlpMuTilde(x_fine,coordinates,elements,f2s);\r
+ marked = 2*ones(1,size(elements,1));\r
\r
- x_interpol = zeros(size(elements_fine,1),1);\r
- for i = 1:size(elements,1)\r
- x_interpol(f2s(i,:)) = x(i);\r
- end\r
- xe_interpol = x_interpol'*A_fine*x_interpol;\r
+ dataIso(ref,:) = [size(elements,1) sqrt(sum(ind))];\r
+ [coordinates, elements] = refineQuad(coordinates,elements,marked);\r
+ toc\r
+end\r
+dataIso\r
\r
- % [x_fine x_interpol x_fine-x_interpol]\r
\r
- % Wie soll verfeinert werden\r
- marked = refineType(x_fine(f2s)',0.3);\r
+%% Anisotrope Verfeinerung\r
+disp 'Anisotrop'\r
+load(Netz)\r
\r
- [xe xe_fine xe_interpol]\r
+ref = 0;\r
+while size(elements,1)<maxSize\r
+ tic\r
+ ref = ref+1;\r
\r
- [coordinates, elements] = refineQuad(coordinates,elements,marked);\r
+ [coordinates_fine,elements_fine, f2s]=refineQuad(coordinates,elements,2*ones(1,size(elements,1)));\r
+ A_fine = build_A(coordinates_fine,elements_fine);\r
+ b = sqrt(sum(quadNorm(coordinates_fine,elements_fine,'w').^2,2));\r
+ x_fine = A_fine\b;\r
+% xe_fine = x_fine'*A_fine*x_fine;\r
+\r
+ ind = computeEstSlpMuTilde(x_fine,coordinates,elements,f2s);\r
+ marked = mark(x_fine(f2s)',ind,0.5,0.5);\r
\r
+ dataAniso(ref,:) = [size(elements,1) sqrt(sum(ind))];\r
+ \r
+ if(sum(marked~=1)==0)\r
+ disp 'Abgebrochen weil nicht mehr verfeinert wird!'\r
+ break;\r
+ end\r
+ \r
+ [coordinates, elements] = refineQuad(coordinates,elements,marked);\r
+ toc\r
end\r
+dataAniso\r
+\r
+clear ref b A_fine coordinates_fine elements_fine marked ind f2s x_fine\r
+\r
+\r
+%% Alles Zeichnen\r
+loglog(dataIso(:,1),dataIso(:,2),dataAniso(:,1),dataAniso(:,2));\r
\r
-% re_times = 6;\r
-% r_type = 1;\r
-% \r
-% xNorm = zeros(re_times+1,2);\r
-% \r
-% test_solve\r
-% xNorm(1,:) = [size(x,1) xe];\r
-% \r
-% for l = 2:re_times\r
-% \r
-% \r
-% test_solve\r
-% xNorm(l,:) = [size(x,1) xe];\r
-% end\r
-% \r
-% \r
-% loglog(xNorm(:,1),xNorm(:,2));\r
-% \r
-% legend('x^TAx')\r
-% xlabel('Elemente')\r
-% ylabel('xNorm')\r
+legend('Isotrop','Anisotrop')\r
+xlabel('Elemente')\r
+ylabel('Fehler')\r
tic
A2 = build_A(coordinates,elements);
t(2) = toc;
-b = sqrt(sum(quad_norm(coordinates,elements,'w').^2,2));
+b = sqrt(sum(quadNorm(coordinates,elements,'w').^2,2));
x(:,1) = A1\b;
xe(1) = x(:,1)'*A1*x(:,1);