diff --git a/AMDiS/AUTHORS b/AMDiS/AUTHORS deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/AMDiS/CMakeLists.txt b/AMDiS/CMakeLists.txt index c1c5046277f10ff42007b3c3a422eac060d9ef4b..10386a6e36944d20dd5a2ab38d753d8ee7a0f787 100644 --- a/AMDiS/CMakeLists.txt +++ b/AMDiS/CMakeLists.txt @@ -19,7 +19,6 @@ if(CMAKE_BUILD_TYPE STREQUAL "") endif() #option(ENABLE_INTEL "use intel compiler" false) -option(ENABLE_OPENMP "use openmp" false) option(ENABLE_PARALLEL_DOMAIN "use parallel domain decomposition" false) option(USE_PETSC_DEV false) #parmetis is not optional @@ -95,7 +94,6 @@ SET(AMDIS_SRC ${SOURCE_DIR}/AdaptBase.cc ${SOURCE_DIR}/Marker.cc ${SOURCE_DIR}/Mesh.cc ${SOURCE_DIR}/MeshStructure.cc - ${SOURCE_DIR}/NonLinUpdater.cc ${SOURCE_DIR}/Operator.cc ${SOURCE_DIR}/OperatorTerm.cc ${SOURCE_DIR}/Parameters.cc @@ -103,12 +101,9 @@ SET(AMDIS_SRC ${SOURCE_DIR}/AdaptBase.cc ${SOURCE_DIR}/PeriodicBC.cc ${SOURCE_DIR}/ProblemImplicit.cc ${SOURCE_DIR}/ProblemInstat.cc - ${SOURCE_DIR}/ProblemInterpolScal.cc - ${SOURCE_DIR}/ProblemInterpolVec.cc - ${SOURCE_DIR}/ProblemNonLin.cc - ${SOURCE_DIR}/ProblemScal.cc - ${SOURCE_DIR}/ProblemVec.cc - ${SOURCE_DIR}/ProblemVecDbg.cc + ${SOURCE_DIR}/ProblemInterpol.cc + ${SOURCE_DIR}/ProblemStat.cc + ${SOURCE_DIR}/ProblemStatDbg.cc ${SOURCE_DIR}/Projection.cc ${SOURCE_DIR}/QPInfo.cc ${SOURCE_DIR}/QPsiPhi.cc @@ -218,15 +213,6 @@ if(ENABLE_PARALLEL_DOMAIN) endif( USE_PETSC_DEV) endif(ENABLE_PARALLEL_DOMAIN) -if(ENABLE_OPENMP) - find_package(OpenMP) - if(OPENMP_FOUND) - SET(COMPILEFLAGS "${COMPILEFLAGS} ${OpenMP_CXX_FLAGS}") - else() - message(WARNING "your compiler seems not supporting openmp") - endif() -endif(ENABLE_OPENMP) - if(ENABLE_UMFPACK) include_directories(${LIB_DIR}/UFconfig ${LIB_DIR}/AMD/Include ${LIB_DIR}/UMFPACK/Include) SET(COMPILEFLAGS "${COMPILEFLAGS} -DHAVE_UMFPACK=1 -DMTL_HAS_UMFPACK") diff --git a/AMDiS/COPYING b/AMDiS/COPYING deleted file mode 100644 index 60549be514af76c5db0c17ce6bbe01b2f81e2d9e..0000000000000000000000000000000000000000 --- a/AMDiS/COPYING +++ /dev/null @@ -1,340 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (C) 19yy <name of author> - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) 19yy name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - <signature of Ty Coon>, 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. diff --git a/AMDiS/ChangeLog b/AMDiS/ChangeLog deleted file mode 100644 index 8a8ac2f158f6edeb78b72ffd8b3acd0895ca0b96..0000000000000000000000000000000000000000 --- a/AMDiS/ChangeLog +++ /dev/null @@ -1,10 +0,0 @@ -Rev 1210: - * In ganz AMDiS Variablen- und Funktionsnamen von "FESpace" nach - "FeSpace" ge�ndert. Dies betrifft insbesondere "getFESpace()", - das nun "getFeSpace()" hei�t. - * ProblemVec::getRHS() -> ProblemVec::getRhs() -Rev 1231: - * Im Operator-Konstruktor d�rfen die Flags MATRIX_OPERATOR und - VECTOR_OPERATOR nicht mehr angegeben werden. Sollten diese gesetzt sein, - so compiliert das Programm noch, aber es wird eine entsprechende - Fehlermeldung ausgegeben und das Programm bricht ab. diff --git a/AMDiS/INSTALL b/AMDiS/INSTALL deleted file mode 100644 index 23e5f25d0e5f85798dcfb368ecb2f04f59777f61..0000000000000000000000000000000000000000 --- a/AMDiS/INSTALL +++ /dev/null @@ -1,236 +0,0 @@ -Installation Instructions -************************* - -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free -Software Foundation, Inc. - -This file is free documentation; the Free Software Foundation gives -unlimited permission to copy, distribute and modify it. - -Basic Installation -================== - -These are generic installation instructions. - - The `configure' shell script attempts to guess correct values for -various system-dependent variables used during compilation. It uses -those values to create a `Makefile' in each directory of the package. -It may also create one or more `.h' files containing system-dependent -definitions. Finally, it creates a shell script `config.status' that -you can run in the future to recreate the current configuration, and a -file `config.log' containing compiler output (useful mainly for -debugging `configure'). - - It can also use an optional file (typically called `config.cache' -and enabled with `--cache-file=config.cache' or simply `-C') that saves -the results of its tests to speed up reconfiguring. (Caching is -disabled by default to prevent problems with accidental use of stale -cache files.) - - If you need to do unusual things to compile the package, please try -to figure out how `configure' could check whether to do them, and mail -diffs or instructions to the address given in the `README' so they can -be considered for the next release. If you are using the cache, and at -some point `config.cache' contains results you don't want to keep, you -may remove or edit it. - - The file `configure.ac' (or `configure.in') is used to create -`configure' by a program called `autoconf'. You only need -`configure.ac' if you want to change it or regenerate `configure' using -a newer version of `autoconf'. - -The simplest way to compile this package is: - - 1. `cd' to the directory containing the package's source code and type - `./configure' to configure the package for your system. If you're - using `csh' on an old version of System V, you might need to type - `sh ./configure' instead to prevent `csh' from trying to execute - `configure' itself. - - Running `configure' takes awhile. While running, it prints some - messages telling which features it is checking for. - - 2. Type `make' to compile the package. - - 3. Optionally, type `make check' to run any self-tests that come with - the package. - - 4. Type `make install' to install the programs and any data files and - documentation. - - 5. You can remove the program binaries and object files from the - source code directory by typing `make clean'. To also remove the - files that `configure' created (so you can compile the package for - a different kind of computer), type `make distclean'. There is - also a `make maintainer-clean' target, but that is intended mainly - for the package's developers. If you use it, you may have to get - all sorts of other programs in order to regenerate files that came - with the distribution. - -Compilers and Options -===================== - -Some systems require unusual options for compilation or linking that the -`configure' script does not know about. Run `./configure --help' for -details on some of the pertinent environment variables. - - You can give `configure' initial values for configuration parameters -by setting variables in the command line or in the environment. Here -is an example: - - ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix - - *Note Defining Variables::, for more details. - -Compiling For Multiple Architectures -==================================== - -You can compile the package for more than one kind of computer at the -same time, by placing the object files for each architecture in their -own directory. To do this, you must use a version of `make' that -supports the `VPATH' variable, such as GNU `make'. `cd' to the -directory where you want the object files and executables to go and run -the `configure' script. `configure' automatically checks for the -source code in the directory that `configure' is in and in `..'. - - If you have to use a `make' that does not support the `VPATH' -variable, you have to compile the package for one architecture at a -time in the source code directory. After you have installed the -package for one architecture, use `make distclean' before reconfiguring -for another architecture. - -Installation Names -================== - -By default, `make install' installs the package's commands under -`/usr/local/bin', include files under `/usr/local/include', etc. You -can specify an installation prefix other than `/usr/local' by giving -`configure' the option `--prefix=PREFIX'. - - You can specify separate installation prefixes for -architecture-specific files and architecture-independent files. If you -pass the option `--exec-prefix=PREFIX' to `configure', the package uses -PREFIX as the prefix for installing programs and libraries. -Documentation and other data files still use the regular prefix. - - In addition, if you use an unusual directory layout you can give -options like `--bindir=DIR' to specify different values for particular -kinds of files. Run `configure --help' for a list of the directories -you can set and what kinds of files go in them. - - If the package supports it, you can cause programs to be installed -with an extra prefix or suffix on their names by giving `configure' the -option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. - -Optional Features -================= - -Some packages pay attention to `--enable-FEATURE' options to -`configure', where FEATURE indicates an optional part of the package. -They may also pay attention to `--with-PACKAGE' options, where PACKAGE -is something like `gnu-as' or `x' (for the X Window System). The -`README' should mention any `--enable-' and `--with-' options that the -package recognizes. - - For packages that use the X Window System, `configure' can usually -find the X include and library files automatically, but if it doesn't, -you can use the `configure' options `--x-includes=DIR' and -`--x-libraries=DIR' to specify their locations. - -Specifying the System Type -========================== - -There may be some features `configure' cannot figure out automatically, -but needs to determine by the type of machine the package will run on. -Usually, assuming the package is built to be run on the _same_ -architectures, `configure' can figure that out, but if it prints a -message saying it cannot guess the machine type, give it the -`--build=TYPE' option. TYPE can either be a short name for the system -type, such as `sun4', or a canonical name which has the form: - - CPU-COMPANY-SYSTEM - -where SYSTEM can have one of these forms: - - OS KERNEL-OS - - See the file `config.sub' for the possible values of each field. If -`config.sub' isn't included in this package, then this package doesn't -need to know the machine type. - - If you are _building_ compiler tools for cross-compiling, you should -use the option `--target=TYPE' to select the type of system they will -produce code for. - - If you want to _use_ a cross compiler, that generates code for a -platform different from the build platform, you should specify the -"host" platform (i.e., that on which the generated programs will -eventually be run) with `--host=TYPE'. - -Sharing Defaults -================ - -If you want to set default values for `configure' scripts to share, you -can create a site shell script called `config.site' that gives default -values for variables like `CC', `cache_file', and `prefix'. -`configure' looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -`CONFIG_SITE' environment variable to the location of the site script. -A warning: not all `configure' scripts look for a site script. - -Defining Variables -================== - -Variables not defined in a site shell script can be set in the -environment passed to `configure'. However, some packages may run -configure again during the build, and the customized values of these -variables may be lost. In order to avoid this problem, you should set -them in the `configure' command line, using `VAR=value'. For example: - - ./configure CC=/usr/local2/bin/gcc - -causes the specified `gcc' to be used as the C compiler (unless it is -overridden in the site shell script). Here is a another example: - - /bin/bash ./configure CONFIG_SHELL=/bin/bash - -Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent -configuration-related scripts to be executed by `/bin/bash'. - -`configure' Invocation -====================== - -`configure' recognizes the following options to control how it operates. - -`--help' -`-h' - Print a summary of the options to `configure', and exit. - -`--version' -`-V' - Print the version of Autoconf used to generate the `configure' - script, and exit. - -`--cache-file=FILE' - Enable the cache: use and save the results of the tests in FILE, - traditionally `config.cache'. FILE defaults to `/dev/null' to - disable caching. - -`--config-cache' -`-C' - Alias for `--cache-file=config.cache'. - -`--quiet' -`--silent' -`-q' - Do not print messages saying which checks are being made. To - suppress all normal output, redirect it to `/dev/null' (any error - messages will still be shown). - -`--srcdir=DIR' - Look for the package's source code in directory DIR. Usually - `configure' can determine that directory automatically. - -`configure' also accepts some other, not widely useful, options. Run -`configure --help' for more details. - diff --git a/AMDiS/Makefile.am b/AMDiS/Makefile.am deleted file mode 100644 index c6b8f6fb726f579fc8bbbf13daaf9943af373a94..0000000000000000000000000000000000000000 --- a/AMDiS/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = src lib diff --git a/AMDiS/Makefile.in b/AMDiS/Makefile.in deleted file mode 100644 index ee63487caf2cf1f0410a1cb97177f462ce3d0e3f..0000000000000000000000000000000000000000 --- a/AMDiS/Makefile.in +++ /dev/null @@ -1,618 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 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@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = . -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -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 = : -build_triplet = @build@ -host_triplet = @host@ -DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \ - ChangeLog INSTALL NEWS config.guess config.sub depcomp \ - install-sh ltmain.sh missing -subdir = . -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno configure.status.lineno -mkinstalldirs = $(install_sh) -d -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-exec-recursive install-info-recursive \ - install-recursive installcheck-recursive installdirs-recursive \ - pdf-recursive ps-recursive uninstall-info-recursive \ - uninstall-recursive -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(distdir) -am__remove_distdir = \ - { test ! -d $(distdir) \ - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ - && rm -fr $(distdir); }; } -DIST_ARCHIVES = $(distdir).tar.gz -GZIP_ENV = --best -distuninstallcheck_listfiles = find . -type f -print -distcleancheck_listfiles = find . -type f -print -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMDIS_DEBUG_FALSE = @AMDIS_DEBUG_FALSE@ -AMDIS_DEBUG_TRUE = @AMDIS_DEBUG_TRUE@ -AMDIS_INTEL_FALSE = @AMDIS_INTEL_FALSE@ -AMDIS_INTEL_TRUE = @AMDIS_INTEL_TRUE@ -AMDIS_OPENMP_FALSE = @AMDIS_OPENMP_FALSE@ -AMDIS_OPENMP_TRUE = @AMDIS_OPENMP_TRUE@ -AMTAR = @AMTAR@ -AR = @AR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DUNE_DIR = @DUNE_DIR@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -ENABLE_BOOST_FALSE = @ENABLE_BOOST_FALSE@ -ENABLE_BOOST_TRUE = @ENABLE_BOOST_TRUE@ -ENABLE_DUNE_FALSE = @ENABLE_DUNE_FALSE@ -ENABLE_DUNE_TRUE = @ENABLE_DUNE_TRUE@ -ENABLE_MKL_FALSE = @ENABLE_MKL_FALSE@ -ENABLE_MKL_TRUE = @ENABLE_MKL_TRUE@ -ENABLE_UMFPACK_FALSE = @ENABLE_UMFPACK_FALSE@ -ENABLE_UMFPACK_TRUE = @ENABLE_UMFPACK_TRUE@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ -MAKEINFO = @MAKEINFO@ -MPI_DIR = @MPI_DIR@ -OBJEXT = @OBJEXT@ -OPENMP_FLAG = @OPENMP_FLAG@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PETSC_DIR = @PETSC_DIR@ -RANLIB = @RANLIB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -USE_PARALLEL_AMDIS_FALSE = @USE_PARALLEL_AMDIS_FALSE@ -USE_PARALLEL_AMDIS_TRUE = @USE_PARALLEL_AMDIS_TRUE@ -USE_PARALLEL_DOMAIN_AMDIS_FALSE = @USE_PARALLEL_DOMAIN_AMDIS_FALSE@ -USE_PARALLEL_DOMAIN_AMDIS_TRUE = @USE_PARALLEL_DOMAIN_AMDIS_TRUE@ -USE_PETSC_DEV_FALSE = @USE_PETSC_DEV_FALSE@ -USE_PETSC_DEV_TRUE = @USE_PETSC_DEV_TRUE@ -USE_ZOLTAN_FALSE = @USE_ZOLTAN_FALSE@ -USE_ZOLTAN_TRUE = @USE_ZOLTAN_TRUE@ -VERSION = @VERSION@ -ZOLTAN_DIR = @ZOLTAN_DIR@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -ac_ct_RANLIB = @ac_ct_RANLIB@ -ac_ct_STRIP = @ac_ct_STRIP@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -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 = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -SUBDIRS = src lib -all: all-recursive - -.SUFFIXES: -am--refresh: - @: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ - cd $(srcdir) && $(AUTOMAKE) --gnu \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - echo ' $(SHELL) ./config.status'; \ - $(SHELL) ./config.status;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck - -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(srcdir) && $(AUTOCONF) -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: - -# 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): - @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; \ - (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" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @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; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (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; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - 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 || \ - tags="$$tags $$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; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - 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; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - $(am__remove_distdir) - mkdir $(distdir) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$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; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ - distdir) \ - || exit 1; \ - fi; \ - done - -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ - || chmod -R a+r $(distdir) -dist-gzip: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) - -dist-bzip2: distdir - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 - $(am__remove_distdir) - -dist-tarZ: distdir - tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z - $(am__remove_distdir) - -dist-shar: distdir - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz - $(am__remove_distdir) - -dist-zip: distdir - -rm -f $(distdir).zip - zip -rq $(distdir).zip $(distdir) - $(am__remove_distdir) - -dist dist-all: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) - -# This target untars the dist file and tries a VPATH configuration. Then -# it guarantees that the distribution is self-contained by making another -# tarfile. -distcheck: dist - case '$(DIST_ARCHIVES)' in \ - *.tar.gz*) \ - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ - *.tar.bz2*) \ - bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ - *.tar.Z*) \ - uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ - *.shar.gz*) \ - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ - *.zip*) \ - unzip $(distdir).zip ;;\ - esac - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/_build - mkdir $(distdir)/_inst - chmod a-w $(distdir) - dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ - && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && cd $(distdir)/_build \ - && ../configure --srcdir=.. --prefix="$$dc_install_base" \ - $(DISTCHECK_CONFIGURE_FLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ - distuninstallcheck \ - && chmod -R a-w "$$dc_install_base" \ - && ({ \ - (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ - distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ - } || { rm -rf "$$dc_destdir"; exit 1; }) \ - && rm -rf "$$dc_destdir" \ - && $(MAKE) $(AM_MAKEFLAGS) dist \ - && rm -rf $(DIST_ARCHIVES) \ - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck - $(am__remove_distdir) - @(echo "$(distdir) archives ready for distribution: "; \ - list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' -distuninstallcheck: - @cd $(distuninstallcheck_dir) \ - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ - || { echo "ERROR: files left after uninstall:" ; \ - if test -n "$(DESTDIR)"; then \ - echo " (check DESTDIR support)"; \ - fi ; \ - $(distuninstallcheck_listfiles) ; \ - exit 1; } >&2 -distcleancheck: distclean - @if test '$(srcdir)' = . ; then \ - echo "ERROR: distcleancheck can only run from a VPATH build" ; \ - exit 1 ; \ - fi - @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ - || { echo "ERROR: files left in build directory after distclean:" ; \ - $(distcleancheck_listfiles) ; \ - exit 1; } >&2 -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) - -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 clean-libtool mostlyclean-am - -distclean: distclean-recursive - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-libtool \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -info: info-recursive - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-recursive - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf $(top_srcdir)/autom4te.cache - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-info-am - -uninstall-info: uninstall-info-recursive - -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ - check-am clean clean-generic clean-libtool clean-recursive \ - ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ - dist-shar dist-tarZ dist-zip distcheck distclean \ - distclean-generic distclean-libtool distclean-recursive \ - distclean-tags distcleancheck distdir distuninstallcheck dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-exec install-exec-am \ - install-info install-info-am install-man install-strip \ - installcheck installcheck-am installdirs installdirs-am \ - maintainer-clean maintainer-clean-generic \ - maintainer-clean-recursive mostlyclean mostlyclean-generic \ - mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ - tags tags-recursive uninstall uninstall-am uninstall-info-am - -# 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: diff --git a/AMDiS/NEWS b/AMDiS/NEWS deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/AMDiS/README b/AMDiS/README deleted file mode 100644 index 6bd026a4fa83401af2249fd7ffb9ef2eb363a7b3..0000000000000000000000000000000000000000 --- a/AMDiS/README +++ /dev/null @@ -1,92 +0,0 @@ -================== Install AMDiS =================== - -To install AMDiS run the following commands: - - ./configure --prefix=`pwd` [--enable-debug] - [--enable-intel] - [--with-mpi=<MPI-DIR>] - [--with-parmetis] - - make install - -Note that for debugging your application you should enable the flag ---enable-debug. If you do not need debugging information but, instead, -your application should run as fast as possible, do not set this flag. -The runtime will increase by factor 5 to 6 without --enable-debug! - -================== Compile AMDiS on mars =================== - -1) Load the Inter compiler: - - module load icc - -2) Change to the directory AMDiS/lib/ParMetis-3.1 - -3) Compile ParMETIS with: - - make CC=icc LD=icc - -4) Change to the AMDiS directory - -5) Run the configure script: - - ./configure --prefix=`pwd` --enable-intel --enable-parmetis - - You can also enabel --enable-debug. Enabling MPI using --with-mpi - does not work on mars and it is not necessary to use this parameter - to compile AMDiS with MPI on mars. Note taht is is also possible to - compile with gcc (just omit --enable-intel), but the result is less - performant. Compiling with the Intel compiler results in a huge - number of warnings. Just ignore them. - -6) Start compiling with: - - make install - -7) To compile the demos you have to edit the Makefile in the demo - directory. At the beginning of the file you will find several - parameters, which you have to define in order to compiler the demos - properly. - - -================== Compile AMDiS on deimos =================== - -1) Load MPI support for the GNU compiler: - - module load openmpi - -2) Change to the directory AMDiS/lib/ParMetis-3.1 - -3) Compile ParMETIS with: - - make - -4) Change to the AMDiS directory - -5) Run the configure script: - - ./configure --prefix=`pwd` --with-mpi=/licsoft/libraries/openmpi/1.2.6/64bit --enable-parmetis - - You may also enable --enable-debug. - -6) Start compiling with: - - make install - -7) To compile the demos you have to edit the Makefile in the demo - directory. At the beginning of the file you will find several - parameters, which you have to define in order to compiler the demos - properly. - -================== Remake AMDiS' make system =================== - -If you have added a new source file or you want to change something -on the automake-system, you have to rerun the following commands: - - libtoolize --copy --force - - aclocal - - autoconf - - automake --copy --add-missing diff --git a/AMDiS/aclocal.m4 b/AMDiS/aclocal.m4 deleted file mode 100644 index c6b83dae620f453eff109d72b180b3a18307599f..0000000000000000000000000000000000000000 --- a/AMDiS/aclocal.m4 +++ /dev/null @@ -1,7256 +0,0 @@ -# generated automatically by aclocal 1.9.6 -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005 Free Software Foundation, Inc. -# This file 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. - -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- - -# serial 48 AC_PROG_LIBTOOL - - -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) -# ----------------------------------------------------------- -# If this macro is not defined by Autoconf, define it here. -m4_ifdef([AC_PROVIDE_IFELSE], - [], - [m4_define([AC_PROVIDE_IFELSE], - [m4_ifdef([AC_PROVIDE_$1], - [$2], [$3])])]) - - -# AC_PROG_LIBTOOL -# --------------- -AC_DEFUN([AC_PROG_LIBTOOL], -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. - AC_PROVIDE_IFELSE([AC_PROG_CXX], - [AC_LIBTOOL_CXX], - [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX - ])]) -dnl And a similar setup for Fortran 77 support - AC_PROVIDE_IFELSE([AC_PROG_F77], - [AC_LIBTOOL_F77], - [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 -])]) - -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. - AC_PROVIDE_IFELSE([AC_PROG_GCJ], - [AC_LIBTOOL_GCJ], - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], - [AC_LIBTOOL_GCJ], - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], - [AC_LIBTOOL_GCJ], - [ifdef([AC_PROG_GCJ], - [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) - ifdef([A][M_PROG_GCJ], - [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) - ifdef([LT_AC_PROG_GCJ], - [define([LT_AC_PROG_GCJ], - defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) -])])# AC_PROG_LIBTOOL - - -# _AC_PROG_LIBTOOL -# ---------------- -AC_DEFUN([_AC_PROG_LIBTOOL], -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' -AC_SUBST(LIBTOOL)dnl - -# Prevent multiple expansion -define([AC_PROG_LIBTOOL], []) -])# _AC_PROG_LIBTOOL - - -# AC_LIBTOOL_SETUP -# ---------------- -AC_DEFUN([AC_LIBTOOL_SETUP], -[AC_PREREQ(2.50)dnl -AC_REQUIRE([AC_ENABLE_SHARED])dnl -AC_REQUIRE([AC_ENABLE_STATIC])dnl -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_PROG_LD])dnl -AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl -AC_REQUIRE([AC_PROG_NM])dnl - -AC_REQUIRE([AC_PROG_LN_S])dnl -AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! -AC_REQUIRE([AC_OBJEXT])dnl -AC_REQUIRE([AC_EXEEXT])dnl -dnl - -AC_LIBTOOL_SYS_MAX_CMD_LEN -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -AC_LIBTOOL_OBJDIR - -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -_LT_AC_PROG_ECHO_BACKSLASH - -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='sed -e 1s/^X//' -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] - -# Same as above, but do not quote variable references. -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' - -# Constants: -rm="rm -f" - -# Global variables: -default_ofile=libtool -can_build_shared=yes - -# All known linkers require a `.a' archive for static linking (except MSVC, -# which needs '.lib'). -libext=a -ltmain="$ac_aux_dir/ltmain.sh" -ofile="$default_ofile" -with_gnu_ld="$lt_cv_prog_gnu_ld" - -AC_CHECK_TOOL(AR, ar, false) -AC_CHECK_TOOL(RANLIB, ranlib, :) -AC_CHECK_TOOL(STRIP, strip, :) - -old_CC="$CC" -old_CFLAGS="$CFLAGS" - -# Set sane defaults for various variables -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -test -z "$AS" && AS=as -test -z "$CC" && CC=cc -test -z "$LTCC" && LTCC=$CC -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -test -z "$DLLTOOL" && DLLTOOL=dlltool -test -z "$LD" && LD=ld -test -z "$LN_S" && LN_S="ln -s" -test -z "$MAGIC_CMD" && MAGIC_CMD=file -test -z "$NM" && NM=nm -test -z "$SED" && SED=sed -test -z "$OBJDUMP" && OBJDUMP=objdump -test -z "$RANLIB" && RANLIB=: -test -z "$STRIP" && STRIP=: -test -z "$ac_objext" && ac_objext=o - -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi - -_LT_CC_BASENAME([$compiler]) - -# Only perform the check for file, if the check method requires it -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - AC_PATH_MAGIC - fi - ;; -esac - -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], -enable_win32_dll=yes, enable_win32_dll=no) - -AC_ARG_ENABLE([libtool-lock], - [AC_HELP_STRING([--disable-libtool-lock], - [avoid locking (might break parallel builds)])]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -AC_ARG_WITH([pic], - [AC_HELP_STRING([--with-pic], - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], - [pic_mode="$withval"], - [pic_mode=default]) -test -z "$pic_mode" && pic_mode=default - -# Use C for the default configuration in the libtool script -tagname= -AC_LIBTOOL_LANG_C_CONFIG -_LT_AC_TAGCONFIG -])# AC_LIBTOOL_SETUP - - -# _LT_AC_SYS_COMPILER -# ------------------- -AC_DEFUN([_LT_AC_SYS_COMPILER], -[AC_REQUIRE([AC_PROG_CC])dnl - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC -])# _LT_AC_SYS_COMPILER - - -# _LT_CC_BASENAME(CC) -# ------------------- -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. -AC_DEFUN([_LT_CC_BASENAME], -[for cc_temp in $1""; do - case $cc_temp in - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` -]) - - -# _LT_COMPILER_BOILERPLATE -# ------------------------ -# Check for compiler boilerplate output or warnings with -# the simple compiler test code. -AC_DEFUN([_LT_COMPILER_BOILERPLATE], -[ac_outfile=conftest.$ac_objext -printf "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$rm conftest* -])# _LT_COMPILER_BOILERPLATE - - -# _LT_LINKER_BOILERPLATE -# ---------------------- -# Check for linker boilerplate output or warnings with -# the simple link test code. -AC_DEFUN([_LT_LINKER_BOILERPLATE], -[ac_outfile=conftest.$ac_objext -printf "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$rm conftest* -])# _LT_LINKER_BOILERPLATE - - -# _LT_AC_SYS_LIBPATH_AIX -# ---------------------- -# Links a minimal program and checks the executable -# for the system default hardcoded library path. In most cases, -# this is /usr/lib:/lib, but when the MPI compilers are used -# the location of the communication and MPI libs are included too. -# If we don't find anything, use the default library path according -# to the aix ld manual. -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], -[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } -}'` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } -}'`; fi],[]) -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi -])# _LT_AC_SYS_LIBPATH_AIX - - -# _LT_AC_SHELL_INIT(ARG) -# ---------------------- -AC_DEFUN([_LT_AC_SHELL_INIT], -[ifdef([AC_DIVERSION_NOTICE], - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -$1 -AC_DIVERT_POP -])# _LT_AC_SHELL_INIT - - -# _LT_AC_PROG_ECHO_BACKSLASH -# -------------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], -[_LT_AC_SHELL_INIT([ -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; -esac - -echo=${ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then - # Yippee, $echo works! - : -else - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi - -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat <<EOF -[$]* -EOF - exit 0 -fi - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -if test -z "$ECHO"; then -if test "X${echo_test_string+set}" != Xset; then -# find a string as large as possible, as long as the shell can cope with it - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... - if (echo_test_string=`eval $cmd`) 2>/dev/null && - echo_test_string=`eval $cmd` && - (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null - then - break - fi - done -fi - -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : -else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - echo="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - - if test "X$echo" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - echo='print -r' - elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} - else - # Try using printf. - echo='printf %s\n' - if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - echo="$CONFIG_SHELL [$]0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - echo="$CONFIG_SHELL [$]0 --fallback-echo" - else - # maybe with a smaller string... - prev=: - - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do - if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null - then - break - fi - prev="$cmd" - done - - if test "$prev" != 'sed 50q "[$]0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} - else - # Oops. We lost completely, so just stick with echo. - echo=echo - fi - fi - fi - fi -fi -fi - -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -ECHO=$echo -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then - ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" -fi - -AC_SUBST(ECHO) -])])# _LT_AC_PROG_ECHO_BACKSLASH - - -# _LT_AC_LOCK -# ----------- -AC_DEFUN([_LT_AC_LOCK], -[AC_ARG_ENABLE([libtool-lock], - [AC_HELP_STRING([--disable-libtool-lock], - [avoid locking (might break parallel builds)])]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -ia64-*-hpux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *ELF-32*) - HPUX_IA64_MODE="32" - ;; - *ELF-64*) - HPUX_IA64_MODE="64" - ;; - esac - fi - rm -rf conftest* - ;; -*-*-irix6*) - # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - if test "$lt_cv_prog_gnu_ld" = yes; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -melf32bsmip" - ;; - *N32*) - LD="${LD-ld} -melf32bmipn32" - ;; - *64-bit*) - LD="${LD-ld} -melf64bmip" - ;; - esac - else - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - fi - rm -rf conftest* - ;; - -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in - x86_64-*linux*) - LD="${LD-ld} -m elf_i386" - ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; - s390x-*linux*) - LD="${LD-ld} -m elf_s390" - ;; - sparc64-*linux*) - LD="${LD-ld} -m elf32_sparc" - ;; - esac - ;; - *64-bit*) - case $host in - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - ppc*-*linux*|powerpc*-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*) - LD="${LD-ld} -m elf64_s390" - ;; - sparc*-*linux*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, - [AC_LANG_PUSH(C) - AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) - AC_LANG_POP]) - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; -sparc*-*solaris*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *64-bit*) - case $lt_cv_prog_gnu_ld in - yes*) LD="${LD-ld} -m elf64_sparc" ;; - *) LD="${LD-ld} -64" ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], -[*-*-cygwin* | *-*-mingw* | *-*-pw32*) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) - ;; - ]) -esac - -need_locks="$enable_libtool_lock" - -])# _LT_AC_LOCK - - -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) -# ---------------------------------------------------------------- -# Check whether the given compiler option works -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], -[AC_REQUIRE([LT_AC_PROG_SED]) -AC_CACHE_CHECK([$1], [$2], - [$2=no - ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) - printf "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$3" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - $2=yes - fi - fi - $rm conftest* -]) - -if test x"[$]$2" = xyes; then - ifelse([$5], , :, [$5]) -else - ifelse([$6], , :, [$6]) -fi -])# AC_LIBTOOL_COMPILER_OPTION - - -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [ACTION-SUCCESS], [ACTION-FAILURE]) -# ------------------------------------------------------------ -# Check whether the given compiler option works -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], -[AC_CACHE_CHECK([$1], [$2], - [$2=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $3" - printf "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&AS_MESSAGE_LOG_FD - $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - $2=yes - fi - else - $2=yes - fi - fi - $rm conftest* - LDFLAGS="$save_LDFLAGS" -]) - -if test x"[$]$2" = xyes; then - ifelse([$4], , :, [$4]) -else - ifelse([$5], , :, [$5]) -fi -])# AC_LIBTOOL_LINKER_OPTION - - -# AC_LIBTOOL_SYS_MAX_CMD_LEN -# -------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], -[# find the maximum length of command line arguments -AC_MSG_CHECKING([the maximum length of command line arguments]) -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl - i=0 - teststring="ABCD" - - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=12288; # 12K is about right - ;; - - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. - # Libtool will interpret -1 as no limit whatsoever - lt_cv_sys_max_cmd_len=-1; - ;; - - cygwin* | mingw*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=8192; - ;; - - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; - - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - ;; - - interix*) - # We know the value 262144 and hardcode it with a safety zone (like BSD) - lt_cv_sys_max_cmd_len=196608 - ;; - - osf*) - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not - # nice to cause kernel panics so lets avoid the loop below. - # First set a reasonable default. - lt_cv_sys_max_cmd_len=16384 - # - if test -x /sbin/sysconfig; then - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in - *1*) lt_cv_sys_max_cmd_len=-1 ;; - esac - fi - ;; - sco3.2v5*) - lt_cv_sys_max_cmd_len=102400 - ;; - sysv5* | sco5v6* | sysv4.2uw2*) - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` - if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` - else - lt_cv_sys_max_cmd_len=32768 - fi - ;; - *) - # If test is not a shell built-in, we'll probably end up computing a - # maximum length that is only half of the actual maximum length, but - # we can't tell. - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} - while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ - = "XX$teststring") >/dev/null 2>&1 && - new_result=`expr "X$teststring" : ".*" 2>&1` && - lt_cv_sys_max_cmd_len=$new_result && - test $i != 17 # 1/2 MB should be enough - do - i=`expr $i + 1` - teststring=$teststring$teststring - done - teststring= - # Add a significant safety factor because C++ compilers can tack on massive - # amounts of additional arguments before passing them to the linker. - # It appears as though 1/2 is a usable value. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` - ;; - esac -]) -if test -n $lt_cv_sys_max_cmd_len ; then - AC_MSG_RESULT($lt_cv_sys_max_cmd_len) -else - AC_MSG_RESULT(none) -fi -])# AC_LIBTOOL_SYS_MAX_CMD_LEN - - -# _LT_AC_CHECK_DLFCN -# ------------------ -AC_DEFUN([_LT_AC_CHECK_DLFCN], -[AC_CHECK_HEADERS(dlfcn.h)dnl -])# _LT_AC_CHECK_DLFCN - - -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) -# --------------------------------------------------------------------- -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl -if test "$cross_compiling" = yes; then : - [$4] -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<EOF -[#line __oline__ "configure" -#include "confdefs.h" - -#if HAVE_DLFCN_H -#include <dlfcn.h> -#endif - -#include <stdio.h> - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -#ifdef __cplusplus -extern "C" void exit (int); -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - - exit (status); -}] -EOF - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) $1 ;; - x$lt_dlneed_uscore) $2 ;; - x$lt_dlunknown|x*) $3 ;; - esac - else : - # compilation failed - $3 - fi -fi -rm -fr conftest* -])# _LT_AC_TRY_DLOPEN_SELF - - -# AC_LIBTOOL_DLOPEN_SELF -# ---------------------- -AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl -if test "x$enable_dlopen" != xyes; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= - - case $host_os in - beos*) - lt_cv_dlopen="load_add_on" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; - - mingw* | pw32*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; - - cygwin*) - lt_cv_dlopen="dlopen" - lt_cv_dlopen_libs= - ;; - - darwin*) - # if libdl is installed we need to link against it - AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ - lt_cv_dlopen="dyld" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ]) - ;; - - *) - AC_CHECK_FUNC([shl_load], - [lt_cv_dlopen="shl_load"], - [AC_CHECK_LIB([dld], [shl_load], - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], - [AC_CHECK_FUNC([dlopen], - [lt_cv_dlopen="dlopen"], - [AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], - [AC_CHECK_LIB([svld], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], - [AC_CHECK_LIB([dld], [dld_link], - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) - ]) - ]) - ]) - ]) - ]) - ;; - esac - - if test "x$lt_cv_dlopen" != xno; then - enable_dlopen=yes - else - enable_dlopen=no - fi - - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - - save_LDFLAGS="$LDFLAGS" - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" - - AC_CACHE_CHECK([whether a program can dlopen itself], - lt_cv_dlopen_self, [dnl - _LT_AC_TRY_DLOPEN_SELF( - lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, - lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) - ]) - - if test "x$lt_cv_dlopen_self" = xyes; then - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - AC_CACHE_CHECK([whether a statically linked program can dlopen itself], - lt_cv_dlopen_self_static, [dnl - _LT_AC_TRY_DLOPEN_SELF( - lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, - lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) - ]) - fi - - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac - - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi -])# AC_LIBTOOL_DLOPEN_SELF - - -# AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) -# --------------------------------- -# Check to see if options -c and -o are simultaneously supported by compiler -AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], - [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no - $rm -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - printf "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes - fi - fi - chmod u+w . 2>&AS_MESSAGE_LOG_FD - $rm conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files - $rm out/* && rmdir out - cd .. - rmdir conftest - $rm conftest* -]) -])# AC_LIBTOOL_PROG_CC_C_O - - -# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) -# ----------------------------------------- -# Check to see if we can do hard links to lock some files if needed -AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], -[AC_REQUIRE([_LT_AC_LOCK])dnl - -hard_links="nottested" -if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - AC_MSG_CHECKING([if we can lock with hard links]) - hard_links=yes - $rm conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - AC_MSG_RESULT([$hard_links]) - if test "$hard_links" = no; then - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) - need_locks=warn - fi -else - need_locks=no -fi -])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS - - -# AC_LIBTOOL_OBJDIR -# ----------------- -AC_DEFUN([AC_LIBTOOL_OBJDIR], -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], -[rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - lt_cv_objdir=.libs -else - # MS-DOS does not allow filenames that begin with a dot. - lt_cv_objdir=_libs -fi -rmdir .libs 2>/dev/null]) -objdir=$lt_cv_objdir -])# AC_LIBTOOL_OBJDIR - - -# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) -# ---------------------------------------------- -# Check hardcoding attributes. -AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], -[AC_MSG_CHECKING([how to hardcode library paths into programs]) -_LT_AC_TAGVAR(hardcode_action, $1)= -if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ - test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ - test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then - - # We can hardcode non-existant directories. - if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && - test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then - # Linking always hardcodes the temporary library directory. - _LT_AC_TAGVAR(hardcode_action, $1)=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - _LT_AC_TAGVAR(hardcode_action, $1)=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - _LT_AC_TAGVAR(hardcode_action, $1)=unsupported -fi -AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) - -if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi -])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH - - -# AC_LIBTOOL_SYS_LIB_STRIP -# ------------------------ -AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], -[striplib= -old_striplib= -AC_MSG_CHECKING([whether stripping libraries is possible]) -if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - AC_MSG_RESULT([yes]) -else -# FIXME - insert some real tests, host_os isn't really good enough - case $host_os in - darwin*) - if test -n "$STRIP" ; then - striplib="$STRIP -x" - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) -fi - ;; - *) - AC_MSG_RESULT([no]) - ;; - esac -fi -])# AC_LIBTOOL_SYS_LIB_STRIP - - -# AC_LIBTOOL_SYS_DYNAMIC_LINKER -# ----------------------------- -# PORTME Fill in your ld.so characteristics -AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], -[AC_MSG_CHECKING([dynamic linker characteristics]) -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -if test "$GCC" = yes; then - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then - # if the path contains ";" then we assume it to be the separator - # otherwise default to the standard path separator (i.e. ":") - it is - # assumed that no part of a normal pathname contains ";" but that should - # okay in the real world where ";" in dirpaths is itself problematic. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi -else - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -fi -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix4* | aix5*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[[01]] | aix4.[[01]].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib<name>.so - # instead of lib<name>.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[[45]]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $rm \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw*) - # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. - if test "$GCC" = yes; then - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` - else - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' - fi - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -kfreebsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='GNU ld.so' - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[[123]]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[[01]]* | freebsdelf3.[[01]]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ - freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - freebsd*) # from 4.6 on - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix3*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -knetbsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='GNU ld.so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -nto-qnx*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[[89]] | openbsd2.[[89]].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - export_dynamic_flag_spec='${wl}-Blargedynsym' - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - shlibpath_overrides_runpath=no - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - shlibpath_overrides_runpath=yes - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -AC_MSG_RESULT([$dynamic_linker]) -test "$dynamic_linker" = no && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi -])# AC_LIBTOOL_SYS_DYNAMIC_LINKER - - -# _LT_AC_TAGCONFIG -# ---------------- -AC_DEFUN([_LT_AC_TAGCONFIG], -[AC_ARG_WITH([tags], - [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], - [include additional configurations @<:@automatic@:>@])], - [tagnames="$withval"]) - -if test -f "$ltmain" && test -n "$tagnames"; then - if test ! -f "${ofile}"; then - AC_MSG_WARN([output file `$ofile' does not exist]) - fi - - if test -z "$LTCC"; then - eval "`$SHELL ${ofile} --config | grep '^LTCC='`" - if test -z "$LTCC"; then - AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) - else - AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) - fi - fi - if test -z "$LTCFLAGS"; then - eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" - fi - - # Extract list of available tagged configurations in $ofile. - # Note that this assumes the entire list is on one line. - available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` - - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for tagname in $tagnames; do - IFS="$lt_save_ifs" - # Check whether tagname contains only valid characters - case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in - "") ;; - *) AC_MSG_ERROR([invalid tag name: $tagname]) - ;; - esac - - if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null - then - AC_MSG_ERROR([tag name \"$tagname\" already exists]) - fi - - # Update the list of available tags. - if test -n "$tagname"; then - echo appending configuration tag \"$tagname\" to $ofile - - case $tagname in - CXX) - if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - AC_LIBTOOL_LANG_CXX_CONFIG - else - tagname="" - fi - ;; - - F77) - if test -n "$F77" && test "X$F77" != "Xno"; then - AC_LIBTOOL_LANG_F77_CONFIG - else - tagname="" - fi - ;; - - GCJ) - if test -n "$GCJ" && test "X$GCJ" != "Xno"; then - AC_LIBTOOL_LANG_GCJ_CONFIG - else - tagname="" - fi - ;; - - RC) - AC_LIBTOOL_LANG_RC_CONFIG - ;; - - *) - AC_MSG_ERROR([Unsupported tag name: $tagname]) - ;; - esac - - # Append the new tag name to the list of available tags. - if test -n "$tagname" ; then - available_tags="$available_tags $tagname" - fi - fi - done - IFS="$lt_save_ifs" - - # Now substitute the updated list of available tags. - if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then - mv "${ofile}T" "$ofile" - chmod +x "$ofile" - else - rm -f "${ofile}T" - AC_MSG_ERROR([unable to update list of available tagged configurations.]) - fi -fi -])# _LT_AC_TAGCONFIG - - -# AC_LIBTOOL_DLOPEN -# ----------------- -# enable checks for dlopen support -AC_DEFUN([AC_LIBTOOL_DLOPEN], - [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) -])# AC_LIBTOOL_DLOPEN - - -# AC_LIBTOOL_WIN32_DLL -# -------------------- -# declare package support for building win32 DLLs -AC_DEFUN([AC_LIBTOOL_WIN32_DLL], -[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) -])# AC_LIBTOOL_WIN32_DLL - - -# AC_ENABLE_SHARED([DEFAULT]) -# --------------------------- -# implement the --enable-shared flag -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -AC_DEFUN([AC_ENABLE_SHARED], -[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE([shared], - [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], - [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; - no) enable_shared=no ;; - *) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_shared=]AC_ENABLE_SHARED_DEFAULT) -])# AC_ENABLE_SHARED - - -# AC_DISABLE_SHARED -# ----------------- -# set the default shared flag to --disable-shared -AC_DEFUN([AC_DISABLE_SHARED], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_SHARED(no) -])# AC_DISABLE_SHARED - - -# AC_ENABLE_STATIC([DEFAULT]) -# --------------------------- -# implement the --enable-static flag -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -AC_DEFUN([AC_ENABLE_STATIC], -[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE([static], - [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], - [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; - no) enable_static=no ;; - *) - enable_static=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_static=]AC_ENABLE_STATIC_DEFAULT) -])# AC_ENABLE_STATIC - - -# AC_DISABLE_STATIC -# ----------------- -# set the default static flag to --disable-static -AC_DEFUN([AC_DISABLE_STATIC], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_STATIC(no) -])# AC_DISABLE_STATIC - - -# AC_ENABLE_FAST_INSTALL([DEFAULT]) -# --------------------------------- -# implement the --enable-fast-install flag -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -AC_DEFUN([AC_ENABLE_FAST_INSTALL], -[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl -AC_ARG_ENABLE([fast-install], - [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], - [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; - *) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) -])# AC_ENABLE_FAST_INSTALL - - -# AC_DISABLE_FAST_INSTALL -# ----------------------- -# set the default to --disable-fast-install -AC_DEFUN([AC_DISABLE_FAST_INSTALL], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -AC_ENABLE_FAST_INSTALL(no) -])# AC_DISABLE_FAST_INSTALL - - -# AC_LIBTOOL_PICMODE([MODE]) -# -------------------------- -# implement the --with-pic flag -# MODE is either `yes' or `no'. If omitted, it defaults to `both'. -AC_DEFUN([AC_LIBTOOL_PICMODE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl -pic_mode=ifelse($#,1,$1,default) -])# AC_LIBTOOL_PICMODE - - -# AC_PROG_EGREP -# ------------- -# This is predefined starting with Autoconf 2.54, so this conditional -# definition can be removed once we require Autoconf 2.54 or later. -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], -[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], - [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 - then ac_cv_prog_egrep='grep -E' - else ac_cv_prog_egrep='egrep' - fi]) - EGREP=$ac_cv_prog_egrep - AC_SUBST([EGREP]) -])]) - - -# AC_PATH_TOOL_PREFIX -# ------------------- -# find a file program which can recognise shared library -AC_DEFUN([AC_PATH_TOOL_PREFIX], -[AC_REQUIRE([AC_PROG_EGREP])dnl -AC_MSG_CHECKING([for $1]) -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, -[case $MAGIC_CMD in -[[\\/*] | ?:[\\/]*]) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -dnl $ac_dummy forces splitting on constant user-supplied paths. -dnl POSIX.2 word splitting is done only on the output of word expansions, -dnl not every word. This closes a longstanding sh security hole. - ac_dummy="ifelse([$2], , $PATH, [$2])" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$1; then - lt_cv_path_MAGIC_CMD="$ac_dir/$1" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <<EOF 1>&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac]) -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - AC_MSG_RESULT($MAGIC_CMD) -else - AC_MSG_RESULT(no) -fi -])# AC_PATH_TOOL_PREFIX - - -# AC_PATH_MAGIC -# ------------- -# find a file program which can recognise a shared library -AC_DEFUN([AC_PATH_MAGIC], -[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) - else - MAGIC_CMD=: - fi -fi -])# AC_PATH_MAGIC - - -# AC_PROG_LD -# ---------- -# find the pathname to the GNU or non-GNU linker -AC_DEFUN([AC_PROG_LD], -[AC_ARG_WITH([gnu-ld], - [AC_HELP_STRING([--with-gnu-ld], - [assume the C compiler uses GNU ld @<:@default=no@:>@])], - [test "$withval" = no || with_gnu_ld=yes], - [with_gnu_ld=no]) -AC_REQUIRE([LT_AC_PROG_SED])dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - AC_MSG_CHECKING([for ld used by $CC]) - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [[\\/]]* | ?:[[\\/]]*) - re_direlt='/[[^/]][[^/]]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do - ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - AC_MSG_CHECKING([for GNU ld]) -else - AC_MSG_CHECKING([for non-GNU ld]) -fi -AC_CACHE_VAL(lt_cv_path_LD, -[if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in - *GNU* | *'with BFD'*) - test "$with_gnu_ld" != no && break - ;; - *) - test "$with_gnu_ld" != yes && break - ;; - esac - fi - done - IFS="$lt_save_ifs" -else - lt_cv_path_LD="$LD" # Let the user override the test with a path. -fi]) -LD="$lt_cv_path_LD" -if test -n "$LD"; then - AC_MSG_RESULT($LD) -else - AC_MSG_RESULT(no) -fi -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) -AC_PROG_LD_GNU -])# AC_PROG_LD - - -# AC_PROG_LD_GNU -# -------------- -AC_DEFUN([AC_PROG_LD_GNU], -[AC_REQUIRE([AC_PROG_EGREP])dnl -AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, -[# I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 </dev/null` in -*GNU* | *'with BFD'*) - lt_cv_prog_gnu_ld=yes - ;; -*) - lt_cv_prog_gnu_ld=no - ;; -esac]) -with_gnu_ld=$lt_cv_prog_gnu_ld -])# AC_PROG_LD_GNU - - -# AC_PROG_LD_RELOAD_FLAG -# ---------------------- -# find reload flag for linker -# -- PORTME Some linkers may need a different reload flag. -AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], -[AC_CACHE_CHECK([for $LD option to reload object files], - lt_cv_ld_reload_flag, - [lt_cv_ld_reload_flag='-r']) -reload_flag=$lt_cv_ld_reload_flag -case $reload_flag in -"" | " "*) ;; -*) reload_flag=" $reload_flag" ;; -esac -reload_cmds='$LD$reload_flag -o $output$reload_objs' -case $host_os in - darwin*) - if test "$GCC" = yes; then - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' - else - reload_cmds='$LD$reload_flag -o $output$reload_objs' - fi - ;; -esac -])# AC_PROG_LD_RELOAD_FLAG - - -# AC_DEPLIBS_CHECK_METHOD -# ----------------------- -# how to check for library dependencies -# -- PORTME fill in with the dynamic library characteristics -AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], -[AC_CACHE_CHECK([how to recognise dependent libraries], -lt_cv_deplibs_check_method, -[lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# `unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given extended regex. -# If you have `file' or equivalent on your system and you're not sure -# whether `pass_all' will *always* work, you probably want this one. - -case $host_os in -aix4* | aix5*) - lt_cv_deplibs_check_method=pass_all - ;; - -beos*) - lt_cv_deplibs_check_method=pass_all - ;; - -bsdi[[45]]*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so - ;; - -cygwin*) - # func_win32_libid is a shell function defined in ltmain.sh - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - ;; - -mingw* | pw32*) - # Base MSYS/MinGW do not provide the 'file' command needed by - # func_win32_libid shell function, so use a weaker test based on 'objdump'. - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - ;; - -darwin* | rhapsody*) - lt_cv_deplibs_check_method=pass_all - ;; - -freebsd* | kfreebsd*-gnu | dragonfly*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - ;; - esac - else - lt_cv_deplibs_check_method=pass_all - fi - ;; - -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file - case $host_cpu in - ia64*) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so - ;; - hppa*64*) - [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl - ;; - *) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - esac - ;; - -interix3*) - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' - ;; - -irix5* | irix6* | nonstopux*) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - lt_cv_deplibs_check_method=pass_all - ;; - -# This must be Linux ELF. -linux*) - lt_cv_deplibs_check_method=pass_all - ;; - -netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' - fi - ;; - -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; - -nto-qnx*) - lt_cv_deplibs_check_method=unknown - ;; - -openbsd*) - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - fi - ;; - -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=pass_all - ;; - -solaris*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv4 | sysv4.3*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - pc) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; -esac -]) -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -test -z "$deplibs_check_method" && deplibs_check_method=unknown -])# AC_DEPLIBS_CHECK_METHOD - - -# AC_PROG_NM -# ---------- -# find the pathname to a BSD-compatible name lister -AC_DEFUN([AC_PROG_NM], -[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, -[if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - lt_nm_to_check="${ac_tool_prefix}nm" - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then - lt_nm_to_check="$lt_nm_to_check nm" - fi - for lt_tmp_nm in $lt_nm_to_check; do - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - tmp_nm="$ac_dir/$lt_tmp_nm" - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in - */dev/null* | *'Invalid file or object type'*) - lt_cv_path_NM="$tmp_nm -B" - break - ;; - *) - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in - */dev/null*) - lt_cv_path_NM="$tmp_nm -p" - break - ;; - *) - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - ;; - esac - ;; - esac - fi - done - IFS="$lt_save_ifs" - done - test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm -fi]) -NM="$lt_cv_path_NM" -])# AC_PROG_NM - - -# AC_CHECK_LIBM -# ------------- -# check for math library -AC_DEFUN([AC_CHECK_LIBM], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -LIBM= -case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) - # These system don't have libm, or don't need it - ;; -*-ncr-sysv4.3*) - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") - ;; -*) - AC_CHECK_LIB(m, cos, LIBM="-lm") - ;; -esac -])# AC_CHECK_LIBM - - -# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) -# ----------------------------------- -# sets LIBLTDL to the link flags for the libltdl convenience library and -# LTDLINCL to the include flags for the libltdl header and adds -# --enable-ltdl-convenience to the configure arguments. Note that -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, -# it is assumed to be `libltdl'. LIBLTDL will be prefixed with -# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' -# (note the single quotes!). If your package is not flat and you're not -# using automake, define top_builddir and top_srcdir appropriately in -# the Makefiles. -AC_DEFUN([AC_LIBLTDL_CONVENIENCE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - case $enable_ltdl_convenience in - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; - "") enable_ltdl_convenience=yes - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; - esac - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -])# AC_LIBLTDL_CONVENIENCE - - -# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) -# ----------------------------------- -# sets LIBLTDL to the link flags for the libltdl installable library and -# LTDLINCL to the include flags for the libltdl header and adds -# --enable-ltdl-install to the configure arguments. Note that -# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, -# and an installed libltdl is not found, it is assumed to be `libltdl'. -# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with -# '${top_srcdir}/' (note the single quotes!). If your package is not -# flat and you're not using automake, define top_builddir and top_srcdir -# appropriately in the Makefiles. -# In the future, this macro may have to be called after AC_PROG_LIBTOOL. -AC_DEFUN([AC_LIBLTDL_INSTALLABLE], -[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl - AC_CHECK_LIB(ltdl, lt_dlinit, - [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], - [if test x"$enable_ltdl_install" = xno; then - AC_MSG_WARN([libltdl not installed, but installation disabled]) - else - enable_ltdl_install=yes - fi - ]) - if test x"$enable_ltdl_install" = x"yes"; then - ac_configure_args="$ac_configure_args --enable-ltdl-install" - LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la - LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) - else - ac_configure_args="$ac_configure_args --enable-ltdl-install=no" - LIBLTDL="-lltdl" - LTDLINCL= - fi - # For backwards non-gettext consistent compatibility... - INCLTDL="$LTDLINCL" -])# AC_LIBLTDL_INSTALLABLE - - -# AC_LIBTOOL_CXX -# -------------- -# enable support for C++ libraries -AC_DEFUN([AC_LIBTOOL_CXX], -[AC_REQUIRE([_LT_AC_LANG_CXX]) -])# AC_LIBTOOL_CXX - - -# _LT_AC_LANG_CXX -# --------------- -AC_DEFUN([_LT_AC_LANG_CXX], -[AC_REQUIRE([AC_PROG_CXX]) -AC_REQUIRE([_LT_AC_PROG_CXXCPP]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) -])# _LT_AC_LANG_CXX - -# _LT_AC_PROG_CXXCPP -# ------------------ -AC_DEFUN([_LT_AC_PROG_CXXCPP], -[ -AC_REQUIRE([AC_PROG_CXX]) -if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - AC_PROG_CXXCPP -fi -])# _LT_AC_PROG_CXXCPP - -# AC_LIBTOOL_F77 -# -------------- -# enable support for Fortran 77 libraries -AC_DEFUN([AC_LIBTOOL_F77], -[AC_REQUIRE([_LT_AC_LANG_F77]) -])# AC_LIBTOOL_F77 - - -# _LT_AC_LANG_F77 -# --------------- -AC_DEFUN([_LT_AC_LANG_F77], -[AC_REQUIRE([AC_PROG_F77]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) -])# _LT_AC_LANG_F77 - - -# AC_LIBTOOL_GCJ -# -------------- -# enable support for GCJ libraries -AC_DEFUN([AC_LIBTOOL_GCJ], -[AC_REQUIRE([_LT_AC_LANG_GCJ]) -])# AC_LIBTOOL_GCJ - - -# _LT_AC_LANG_GCJ -# --------------- -AC_DEFUN([_LT_AC_LANG_GCJ], -[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], - [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], - [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], - [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], - [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) -])# _LT_AC_LANG_GCJ - - -# AC_LIBTOOL_RC -# ------------- -# enable support for Windows resource files -AC_DEFUN([AC_LIBTOOL_RC], -[AC_REQUIRE([LT_AC_PROG_RC]) -_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) -])# AC_LIBTOOL_RC - - -# AC_LIBTOOL_LANG_C_CONFIG -# ------------------------ -# Ensure that the configuration vars for the C compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) -AC_DEFUN([_LT_AC_LANG_C_CONFIG], -[lt_save_CC="$CC" -AC_LANG_PUSH(C) - -# Source file extension for C test sources. -ac_ext=c - -# Object file extension for compiled C test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;\n" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}\n' - -_LT_AC_SYS_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) -AC_LIBTOOL_PROG_COMPILER_PIC($1) -AC_LIBTOOL_PROG_CC_C_O($1) -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) -AC_LIBTOOL_PROG_LD_SHLIBS($1) -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) -AC_LIBTOOL_SYS_LIB_STRIP -AC_LIBTOOL_DLOPEN_SELF - -# Report which library types will actually be built -AC_MSG_CHECKING([if libtool supports shared libraries]) -AC_MSG_RESULT([$can_build_shared]) - -AC_MSG_CHECKING([whether to build shared libraries]) -test "$can_build_shared" = "no" && enable_shared=no - -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case $host_os in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - -aix4* | aix5*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -AC_MSG_RESULT([$enable_shared]) - -AC_MSG_CHECKING([whether to build static libraries]) -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -AC_MSG_RESULT([$enable_static]) - -AC_LIBTOOL_CONFIG($1) - -AC_LANG_POP -CC="$lt_save_CC" -])# AC_LIBTOOL_LANG_C_CONFIG - - -# AC_LIBTOOL_LANG_CXX_CONFIG -# -------------------------- -# Ensure that the configuration vars for the C compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) -AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], -[AC_LANG_PUSH(C++) -AC_REQUIRE([AC_PROG_CXX]) -AC_REQUIRE([_LT_AC_PROG_CXXCPP]) - -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_AC_TAGVAR(allow_undefined_flag, $1)= -_LT_AC_TAGVAR(always_export_symbols, $1)=no -_LT_AC_TAGVAR(archive_expsym_cmds, $1)= -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_AC_TAGVAR(hardcode_direct, $1)=no -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no -_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported -_LT_AC_TAGVAR(hardcode_automatic, $1)=no -_LT_AC_TAGVAR(module_cmds, $1)= -_LT_AC_TAGVAR(module_expsym_cmds, $1)= -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_AC_TAGVAR(no_undefined_flag, $1)= -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Dependencies to place before and after the object being linked: -_LT_AC_TAGVAR(predep_objects, $1)= -_LT_AC_TAGVAR(postdep_objects, $1)= -_LT_AC_TAGVAR(predeps, $1)= -_LT_AC_TAGVAR(postdeps, $1)= -_LT_AC_TAGVAR(compiler_lib_search_path, $1)= - -# Source file extension for C++ test sources. -ac_ext=cpp - -# Object file extension for compiled C++ test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;\n" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n' - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_AC_SYS_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC=$CC -lt_save_LD=$LD -lt_save_GCC=$GCC -GCC=$GXX -lt_save_with_gnu_ld=$with_gnu_ld -lt_save_path_LD=$lt_cv_path_LD -if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx -else - $as_unset lt_cv_prog_gnu_ld -fi -if test -n "${lt_cv_path_LDCXX+set}"; then - lt_cv_path_LD=$lt_cv_path_LDCXX -else - $as_unset lt_cv_path_LD -fi -test -z "${LDCXX+set}" || LD=$LDCXX -CC=${CXX-"c++"} -compiler=$CC -_LT_AC_TAGVAR(compiler, $1)=$CC -_LT_CC_BASENAME([$compiler]) - -# We don't want -fno-exception wen compiling C++ code, so set the -# no_builtin_flag separately -if test "$GXX" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' -else - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= -fi - -if test "$GXX" = yes; then - # Set up default GNU C++ configuration - - AC_PROG_LD - - # Check if GNU C++ uses GNU ld as the underlying linker, since the - # archiving commands below assume that GNU ld is being used. - if test "$with_gnu_ld" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - - # If archive_cmds runs LD, not CC, wlarc should be empty - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to - # investigate it a little bit more. (MM) - wlarc='${wl}' - - # ancient GNU ld didn't support --whole-archive et. al. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ - grep 'no-whole-archive' > /dev/null; then - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - fi - else - with_gnu_ld=no - wlarc= - - # A generic and very simple default shared library creation - # command for GNU C++ for the case where it uses the native - # linker, instead of GNU ld. If possible, this setting should - # overridden to take advantage of the native linker features on - # the platform it is being used on. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - fi - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - -else - GXX=no - with_gnu_ld=no - wlarc= -fi - -# PORTME: fill in a description of your system's C++ link characteristics -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) -_LT_AC_TAGVAR(ld_shlibs, $1)=yes -case $host_os in - aix3*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_AC_TAGVAR(archive_cmds, $1)='' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - - if test "$GXX" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - else - # We have old collect2 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - # This is similar to how AIX traditionally builds its shared libraries. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - chorus*) - case $cc_basename in - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(always_export_symbols, $1)=no - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - darwin* | rhapsody*) - case $host_os in - rhapsody* | darwin1.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - ;; - 10.*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' - ;; - esac - fi - ;; - esac - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - - if test "$GXX" = yes ; then - lt_int_apple_cc_single_mod=no - output_verbose_link_cmd='echo' - if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then - lt_int_apple_cc_single_mod=yes - fi - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - fi - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - case $cc_basename in - xlc*) - output_verbose_link_cmd='echo' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - ;; - *) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - fi - ;; - - dgux*) - case $cc_basename in - ec++*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - ghcx*) - # Green Hills C++ Compiler - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - freebsd[[12]]*) - # C++ shared libraries reported to be fairly broken before switch to ELF - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - freebsd-elf*) - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - ;; - freebsd* | kfreebsd*-gnu | dragonfly*) - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF - # conventions - _LT_AC_TAGVAR(ld_shlibs, $1)=yes - ;; - gnu*) - ;; - hpux9*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - aCC*) - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - hpux10*|hpux11*) - if test $with_gnu_ld = no; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - case $host_cpu in - hppa*64*|ia64*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' - ;; - *) - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - ;; - esac - fi - case $host_cpu in - hppa*64*|ia64*) - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - *) - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - ;; - esac - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - aCC*) - case $host_cpu in - hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes; then - if test $with_gnu_ld = no; then - case $host_cpu in - hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - fi - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - interix3*) - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - irix5* | irix6*) - case $cc_basename in - CC*) - # SGI C++ - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - - # Archives containing C++ object files must be created using - # "CC -ar", where "CC" is the IRIX C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' - ;; - *) - if test "$GXX" = yes; then - if test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' - fi - fi - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - ;; - esac - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - linux*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' - ;; - icpc*) - # Intel C++ - with_gnu_ld=yes - # version 8.0 and above of icpc choke on multiply defined symbols - # if we add $predep_objects and $postdep_objects, however 7.1 and - # earlier do not add the objects themselves. - case `$CC -V 2>&1` in - *"Version 7."*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - *) # Version 8.0 or newer - tmp_idyn= - case $host_cpu in - ia64*) tmp_idyn=' -i_dynamic';; - esac - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - esac - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' - ;; - pgCC*) - # Portland Group C++ compiler - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - ;; - cxx*) - # Compaq C++ - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' - - runpath_var=LD_RUN_PATH - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - esac - ;; - lynxos*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - m88k*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - mvs*) - case $cc_basename in - cxx*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' - wlarc= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - fi - # Workaround some broken pre-1.5 toolchains - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' - ;; - openbsd2*) - # C++ shared libraries are fairly broken - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - openbsd*) - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - fi - output_verbose_link_cmd='echo' - ;; - osf3*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' - - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - cxx*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - osf4* | osf5*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Archives containing C++ object files must be created using - # the KAI C++ compiler. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - cxx*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ - echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ - $rm $lib.exp' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' - - else - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - psos*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - lcc*) - # Lucid - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - # The C++ compiler is used as linker so we must use $wl - # flag to pass the commands to the underlying system - # linker. We must also pass each convience library through - # to the system linker between allextract/defaultextract. - # The C++ compiler will combine linker options so we - # cannot just pass the convience library names through - # without $wl. - # Supported since Solaris 2.6 (maybe 2.5.1?) - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' - ;; - esac - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' - ;; - gcx*) - # Green Hills C++ Compiler - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - - # The C++ compiler must be used to create the archive. - _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' - ;; - *) - # GNU C++ compiler with Solaris linker - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' - if $CC --version | grep -v '^2\.7' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" - else - # g++ 2.7 appears to require `-G' NOT `-shared' on this - # platform. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" - fi - - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' - fi - ;; - esac - ;; - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - # For security reasons, it is highly recommended that you always - # use absolute paths for naming shared libraries, and exclude the - # DT_RUNPATH tag from executables and libraries. But doing so - # requires that you compile everything twice, which is a pain. - # So that behaviour is only enabled if SCOABSPATH is set to a - # non-empty value in the environment. Most likely only useful for - # creating official distributions of packages. - # This is a hack until libtool officially supports absolute path - # names for shared libraries. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - vxworks*) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; -esac -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no - -_LT_AC_TAGVAR(GCC, $1)="$GXX" -_LT_AC_TAGVAR(LD, $1)="$LD" - -AC_LIBTOOL_POSTDEP_PREDEP($1) -AC_LIBTOOL_PROG_COMPILER_PIC($1) -AC_LIBTOOL_PROG_CC_C_O($1) -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) -AC_LIBTOOL_PROG_LD_SHLIBS($1) -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) - -AC_LIBTOOL_CONFIG($1) - -AC_LANG_POP -CC=$lt_save_CC -LDCXX=$LD -LD=$lt_save_LD -GCC=$lt_save_GCC -with_gnu_ldcxx=$with_gnu_ld -with_gnu_ld=$lt_save_with_gnu_ld -lt_cv_path_LDCXX=$lt_cv_path_LD -lt_cv_path_LD=$lt_save_path_LD -lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld -lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld -])# AC_LIBTOOL_LANG_CXX_CONFIG - -# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) -# ------------------------------------ -# Figure out "hidden" library dependencies from verbose -# compiler output when linking a shared library. -# Parse the compiler output and extract the necessary -# objects, libraries and library flags. -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ -dnl we can't use the lt_simple_compile_test_code here, -dnl because it contains code intended for an executable, -dnl not a library. It's possible we should let each -dnl tag define a new lt_????_link_test_code variable, -dnl but it's only used here... -ifelse([$1],[],[cat > conftest.$ac_ext <<EOF -int a; -void foo (void) { a = 0; } -EOF -],[$1],[CXX],[cat > conftest.$ac_ext <<EOF -class Foo -{ -public: - Foo (void) { a = 0; } -private: - int a; -}; -EOF -],[$1],[F77],[cat > conftest.$ac_ext <<EOF - subroutine foo - implicit none - integer*4 a - a=0 - return - end -EOF -],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF -public class foo { - private int a; - public void bar (void) { - a = 0; - } -}; -EOF -]) -dnl Parse the compiler output and extract the necessary -dnl objects, libraries and library flags. -if AC_TRY_EVAL(ac_compile); then - # Parse the compiler output and extract the necessary - # objects, libraries and library flags. - - # Sentinel used to keep track of whether or not we are before - # the conftest object file. - pre_test_object_deps_done=no - - # The `*' in the case matches for architectures that use `case' in - # $output_verbose_cmd can trigger glob expansion during the loop - # eval without this substitution. - output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` - - for p in `eval $output_verbose_link_cmd`; do - case $p in - - -L* | -R* | -l*) - # Some compilers place space between "-{L,R}" and the path. - # Remove the space. - if test $p = "-L" \ - || test $p = "-R"; then - prev=$p - continue - else - prev= - fi - - if test "$pre_test_object_deps_done" = no; then - case $p in - -L* | -R*) - # Internal compiler library paths should come after those - # provided the user. The postdeps already come after the - # user supplied libs so there is no need to process them. - if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then - _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" - else - _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" - fi - ;; - # The "-l" case would never come before the object being - # linked, so don't bother handling this case. - esac - else - if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then - _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}" - else - _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}" - fi - fi - ;; - - *.$objext) - # This assumes that the test object file only shows up - # once in the compiler output. - if test "$p" = "conftest.$objext"; then - pre_test_object_deps_done=yes - continue - fi - - if test "$pre_test_object_deps_done" = no; then - if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then - _LT_AC_TAGVAR(predep_objects, $1)="$p" - else - _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p" - fi - else - if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then - _LT_AC_TAGVAR(postdep_objects, $1)="$p" - else - _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p" - fi - fi - ;; - - *) ;; # Ignore the rest. - - esac - done - - # Clean up. - rm -f a.out a.exe -else - echo "libtool.m4: error: problem compiling $1 test program" -fi - -$rm -f confest.$objext - -# PORTME: override above test on systems where it is broken -ifelse([$1],[CXX], -[case $host_os in -interix3*) - # Interix 3.5 installs completely hosed .la files for C++, so rather than - # hack all around it, let's just trust "g++" to DTRT. - _LT_AC_TAGVAR(predep_objects,$1)= - _LT_AC_TAGVAR(postdep_objects,$1)= - _LT_AC_TAGVAR(postdeps,$1)= - ;; - -solaris*) - case $cc_basename in - CC*) - # Adding this requires a known-good setup of shared libraries for - # Sun compiler versions before 5.6, else PIC objects from an old - # archive will be linked into the output, leading to subtle bugs. - _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun' - ;; - esac - ;; -esac -]) - -case " $_LT_AC_TAGVAR(postdeps, $1) " in -*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; -esac -])# AC_LIBTOOL_POSTDEP_PREDEP - -# AC_LIBTOOL_LANG_F77_CONFIG -# -------------------------- -# Ensure that the configuration vars for the C compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)]) -AC_DEFUN([_LT_AC_LANG_F77_CONFIG], -[AC_REQUIRE([AC_PROG_F77]) -AC_LANG_PUSH(Fortran 77) - -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_AC_TAGVAR(allow_undefined_flag, $1)= -_LT_AC_TAGVAR(always_export_symbols, $1)=no -_LT_AC_TAGVAR(archive_expsym_cmds, $1)= -_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_AC_TAGVAR(hardcode_direct, $1)=no -_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= -_LT_AC_TAGVAR(hardcode_minus_L, $1)=no -_LT_AC_TAGVAR(hardcode_automatic, $1)=no -_LT_AC_TAGVAR(module_cmds, $1)= -_LT_AC_TAGVAR(module_expsym_cmds, $1)= -_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_AC_TAGVAR(no_undefined_flag, $1)= -_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= -_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Source file extension for f77 test sources. -ac_ext=f - -# Object file extension for compiled f77 test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code=" subroutine t\n return\n end\n" - -# Code to be used in simple link tests -lt_simple_link_test_code=" program t\n end\n" - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_AC_SYS_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -CC=${F77-"f77"} -compiler=$CC -_LT_AC_TAGVAR(compiler, $1)=$CC -_LT_CC_BASENAME([$compiler]) - -AC_MSG_CHECKING([if libtool supports shared libraries]) -AC_MSG_RESULT([$can_build_shared]) - -AC_MSG_CHECKING([whether to build shared libraries]) -test "$can_build_shared" = "no" && enable_shared=no - -# On AIX, shared libraries and static libraries use the same namespace, and -# are all built from PIC. -case $host_os in -aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; -aix4* | aix5*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; -esac -AC_MSG_RESULT([$enable_shared]) - -AC_MSG_CHECKING([whether to build static libraries]) -# Make sure either enable_shared or enable_static is yes. -test "$enable_shared" = yes || enable_static=yes -AC_MSG_RESULT([$enable_static]) - -_LT_AC_TAGVAR(GCC, $1)="$G77" -_LT_AC_TAGVAR(LD, $1)="$LD" - -AC_LIBTOOL_PROG_COMPILER_PIC($1) -AC_LIBTOOL_PROG_CC_C_O($1) -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) -AC_LIBTOOL_PROG_LD_SHLIBS($1) -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) - -AC_LIBTOOL_CONFIG($1) - -AC_LANG_POP -CC="$lt_save_CC" -])# AC_LIBTOOL_LANG_F77_CONFIG - - -# AC_LIBTOOL_LANG_GCJ_CONFIG -# -------------------------- -# Ensure that the configuration vars for the C compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)]) -AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG], -[AC_LANG_SAVE - -# Source file extension for Java test sources. -ac_ext=java - -# Object file extension for compiled Java test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="class foo {}\n" - -# Code to be used in simple link tests -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n' - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_AC_SYS_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -CC=${GCJ-"gcj"} -compiler=$CC -_LT_AC_TAGVAR(compiler, $1)=$CC -_LT_CC_BASENAME([$compiler]) - -# GCJ did not exist at the time GCC didn't implicitly link libc in. -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - -_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds - -AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) -AC_LIBTOOL_PROG_COMPILER_PIC($1) -AC_LIBTOOL_PROG_CC_C_O($1) -AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) -AC_LIBTOOL_PROG_LD_SHLIBS($1) -AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) -AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) - -AC_LIBTOOL_CONFIG($1) - -AC_LANG_RESTORE -CC="$lt_save_CC" -])# AC_LIBTOOL_LANG_GCJ_CONFIG - - -# AC_LIBTOOL_LANG_RC_CONFIG -# ------------------------- -# Ensure that the configuration vars for the Windows resource compiler are -# suitably defined. Those variables are subsequently used by -# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. -AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)]) -AC_DEFUN([_LT_AC_LANG_RC_CONFIG], -[AC_LANG_SAVE - -# Source file extension for RC test sources. -ac_ext=rc - -# Object file extension for compiled RC test sources. -objext=o -_LT_AC_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' - -# Code to be used in simple link tests -lt_simple_link_test_code="$lt_simple_compile_test_code" - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_AC_SYS_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -CC=${RC-"windres"} -compiler=$CC -_LT_AC_TAGVAR(compiler, $1)=$CC -_LT_CC_BASENAME([$compiler]) -_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes - -AC_LIBTOOL_CONFIG($1) - -AC_LANG_RESTORE -CC="$lt_save_CC" -])# AC_LIBTOOL_LANG_RC_CONFIG - - -# AC_LIBTOOL_CONFIG([TAGNAME]) -# ---------------------------- -# If TAGNAME is not passed, then create an initial libtool script -# with a default configuration from the untagged config vars. Otherwise -# add code to config.status for appending the configuration named by -# TAGNAME from the matching tagged config vars. -AC_DEFUN([AC_LIBTOOL_CONFIG], -[# The else clause should only fire when bootstrapping the -# libtool distribution, otherwise you forgot to ship ltmain.sh -# with your package, and you will get complaints that there are -# no rules to generate ltmain.sh. -if test -f "$ltmain"; then - # See if we are running on zsh, and set the options which allow our commands through - # without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - # Now quote all the things that may contain metacharacters while being - # careful not to overquote the AC_SUBSTed values. We take copies of the - # variables and quote the copies for generation of the libtool script. - for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ - SED SHELL STRIP \ - libname_spec library_names_spec soname_spec extract_expsyms_cmds \ - old_striplib striplib file_magic_cmd finish_cmds finish_eval \ - deplibs_check_method reload_flag reload_cmds need_locks \ - lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ - lt_cv_sys_global_symbol_to_c_name_address \ - sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ - old_postinstall_cmds old_postuninstall_cmds \ - _LT_AC_TAGVAR(compiler, $1) \ - _LT_AC_TAGVAR(CC, $1) \ - _LT_AC_TAGVAR(LD, $1) \ - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \ - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \ - _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \ - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \ - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \ - _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \ - _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \ - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \ - _LT_AC_TAGVAR(old_archive_cmds, $1) \ - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \ - _LT_AC_TAGVAR(predep_objects, $1) \ - _LT_AC_TAGVAR(postdep_objects, $1) \ - _LT_AC_TAGVAR(predeps, $1) \ - _LT_AC_TAGVAR(postdeps, $1) \ - _LT_AC_TAGVAR(compiler_lib_search_path, $1) \ - _LT_AC_TAGVAR(archive_cmds, $1) \ - _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ - _LT_AC_TAGVAR(postinstall_cmds, $1) \ - _LT_AC_TAGVAR(postuninstall_cmds, $1) \ - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \ - _LT_AC_TAGVAR(allow_undefined_flag, $1) \ - _LT_AC_TAGVAR(no_undefined_flag, $1) \ - _LT_AC_TAGVAR(export_symbols_cmds, $1) \ - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \ - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \ - _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \ - _LT_AC_TAGVAR(hardcode_automatic, $1) \ - _LT_AC_TAGVAR(module_cmds, $1) \ - _LT_AC_TAGVAR(module_expsym_cmds, $1) \ - _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \ - _LT_AC_TAGVAR(exclude_expsyms, $1) \ - _LT_AC_TAGVAR(include_expsyms, $1); do - - case $var in - _LT_AC_TAGVAR(old_archive_cmds, $1) | \ - _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \ - _LT_AC_TAGVAR(archive_cmds, $1) | \ - _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \ - _LT_AC_TAGVAR(module_cmds, $1) | \ - _LT_AC_TAGVAR(module_expsym_cmds, $1) | \ - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \ - _LT_AC_TAGVAR(export_symbols_cmds, $1) | \ - extract_expsyms_cmds | reload_cmds | finish_cmds | \ - postinstall_cmds | postuninstall_cmds | \ - old_postinstall_cmds | old_postuninstall_cmds | \ - sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) - # Double-quote double-evaled strings. - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" - ;; - *) - eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" - ;; - esac - done - - case $lt_echo in - *'\[$]0 --fallback-echo"') - lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'` - ;; - esac - -ifelse([$1], [], - [cfgfile="${ofile}T" - trap "$rm \"$cfgfile\"; exit 1" 1 2 15 - $rm -f "$cfgfile" - AC_MSG_NOTICE([creating $ofile])], - [cfgfile="$ofile"]) - - cat <<__EOF__ >> "$cfgfile" -ifelse([$1], [], -[#! $SHELL - -# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 -# Free Software Foundation, Inc. -# -# This file is part of GNU Libtool: -# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# A sed program that does not truncate output. -SED=$lt_SED - -# Sed that helps us avoid accidentally triggering echo(1) options like -n. -Xsed="$SED -e 1s/^X//" - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -# The names of the tagged configurations supported by this script. -available_tags= - -# ### BEGIN LIBTOOL CONFIG], -[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) - -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: - -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# Whether or not to build shared libraries. -build_libtool_libs=$enable_shared - -# Whether or not to build static libraries. -build_old_libs=$enable_static - -# Whether or not to add -lc for building shared libraries. -build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) - -# Whether or not to disallow shared libs when runtime libs are static -allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) - -# Whether or not to optimize for fast installation. -fast_install=$enable_fast_install - -# The host system. -host_alias=$host_alias -host=$host -host_os=$host_os - -# The build system. -build_alias=$build_alias -build=$build -build_os=$build_os - -# An echo program that does not interpret backslashes. -echo=$lt_echo - -# The archiver. -AR=$lt_AR -AR_FLAGS=$lt_AR_FLAGS - -# A C compiler. -LTCC=$lt_LTCC - -# LTCC compiler flags. -LTCFLAGS=$lt_LTCFLAGS - -# A language-specific compiler. -CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) - -# Is the compiler the GNU C compiler? -with_gcc=$_LT_AC_TAGVAR(GCC, $1) - -# An ERE matcher. -EGREP=$lt_EGREP - -# The linker used to build libraries. -LD=$lt_[]_LT_AC_TAGVAR(LD, $1) - -# Whether we need hard or soft links. -LN_S=$lt_LN_S - -# A BSD-compatible nm program. -NM=$lt_NM - -# A symbol stripping program -STRIP=$lt_STRIP - -# Used to examine libraries when file_magic_cmd begins "file" -MAGIC_CMD=$MAGIC_CMD - -# Used on cygwin: DLL creation program. -DLLTOOL="$DLLTOOL" - -# Used on cygwin: object dumper. -OBJDUMP="$OBJDUMP" - -# Used on cygwin: assembler. -AS="$AS" - -# The name of the directory that contains temporary libtool files. -objdir=$objdir - -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds - -# How to pass a linker flag through the compiler. -wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) - -# Object file suffix (normally "o"). -objext="$ac_objext" - -# Old archive suffix (normally "a"). -libext="$libext" - -# Shared library suffix (normally ".so"). -shrext_cmds='$shrext_cmds' - -# Executable file suffix (normally ""). -exeext="$exeext" - -# Additional compiler flags for building library objects. -pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) -pic_mode=$pic_mode - -# What is the maximum length of a command? -max_cmd_len=$lt_cv_sys_max_cmd_len - -# Does compiler simultaneously support -c and -o options? -compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) - -# Must we lock files when doing compilation? -need_locks=$lt_need_locks - -# Do we need the lib prefix for modules? -need_lib_prefix=$need_lib_prefix - -# Do we need a version for libraries? -need_version=$need_version - -# Whether dlopen is supported. -dlopen_support=$enable_dlopen - -# Whether dlopen of programs is supported. -dlopen_self=$enable_dlopen_self - -# Whether dlopen of statically linked programs is supported. -dlopen_self_static=$enable_dlopen_self_static - -# Compiler flag to prevent dynamic linking. -link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) - -# Compiler flag to turn off builtin functions. -no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) - -# Compiler flag to allow reflexive dlopens. -export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) - -# Compiler flag to generate shared objects directly from archives. -whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) - -# Compiler flag to generate thread-safe objects. -thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) - -# Library versioning type. -version_type=$version_type - -# Format of library name prefix. -libname_spec=$lt_libname_spec - -# List of archive names. First name is the real one, the rest are links. -# The last name is the one that the linker finds with -lNAME. -library_names_spec=$lt_library_names_spec - -# The coded name of the library, if different from the real name. -soname_spec=$lt_soname_spec - -# Commands used to build and install an old-style archive. -RANLIB=$lt_RANLIB -old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) -old_postinstall_cmds=$lt_old_postinstall_cmds -old_postuninstall_cmds=$lt_old_postuninstall_cmds - -# Create an old-style archive from a shared archive. -old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) - -# Create a temporary old-style archive to link instead of a shared archive. -old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) - -# Commands used to build and install a shared archive. -archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) -archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) -postinstall_cmds=$lt_postinstall_cmds -postuninstall_cmds=$lt_postuninstall_cmds - -# Commands used to build a loadable module (assumed same as above if empty) -module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) -module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) - -# Commands to strip libraries. -old_striplib=$lt_old_striplib -striplib=$lt_striplib - -# Dependencies to place before the objects being linked to create a -# shared library. -predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) - -# Dependencies to place after the objects being linked to create a -# shared library. -postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) - -# Dependencies to place before the objects being linked to create a -# shared library. -predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) - -# Dependencies to place after the objects being linked to create a -# shared library. -postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) - -# The library search path used internally by the compiler when linking -# a shared library. -compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) - -# Method to check whether dependent libraries are shared objects. -deplibs_check_method=$lt_deplibs_check_method - -# Command to use when deplibs_check_method == file_magic. -file_magic_cmd=$lt_file_magic_cmd - -# Flag that allows shared libraries with undefined symbols to be built. -allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) - -# Flag that forces no undefined symbols. -no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) - -# Commands used to finish a libtool library installation in a directory. -finish_cmds=$lt_finish_cmds - -# Same as above, but a single script fragment to be evaled but not shown. -finish_eval=$lt_finish_eval - -# Take the output of nm and produce a listing of raw symbols and C names. -global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe - -# Transform the output of nm in a proper C declaration -global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl - -# Transform the output of nm in a C name address pair -global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address - -# This is the shared library runtime path variable. -runpath_var=$runpath_var - -# This is the shared library path variable. -shlibpath_var=$shlibpath_var - -# Is shlibpath searched before the hard-coded library search path? -shlibpath_overrides_runpath=$shlibpath_overrides_runpath - -# How to hardcode a shared library path into an executable. -hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) - -# Whether we should hardcode library paths into libraries. -hardcode_into_libs=$hardcode_into_libs - -# Flag to hardcode \$libdir into a binary during linking. -# This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) - -# If ld is used when linking, flag to hardcode \$libdir into -# a binary during linking. This must work even if \$libdir does -# not exist. -hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) - -# Whether we need a single -rpath flag with a separated argument. -hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) - -# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the -# resulting binary. -hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) - -# Set to yes if using the -LDIR flag during linking hardcodes DIR into the -# resulting binary. -hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) - -# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into -# the resulting binary. -hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) - -# Set to yes if building a shared library automatically hardcodes DIR into the library -# and all subsequent libraries and executables linked against it. -hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) - -# Variables whose values should be saved in libtool wrapper scripts and -# restored at relink time. -variables_saved_for_relink="$variables_saved_for_relink" - -# Whether libtool must link a program against all its dependency libraries. -link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) - -# Compile-time system search path for libraries -sys_lib_search_path_spec=$lt_sys_lib_search_path_spec - -# Run-time system search path for libraries -sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec - -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" - -# Set to yes if exported symbols are required. -always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) - -# The commands to list exported symbols. -export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) - -# The commands to extract the exported symbol list from a shared archive. -extract_expsyms_cmds=$lt_extract_expsyms_cmds - -# Symbols that should not be listed in the preloaded symbols. -exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) - -# Symbols that must always be exported. -include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) - -ifelse([$1],[], -[# ### END LIBTOOL CONFIG], -[# ### END LIBTOOL TAG CONFIG: $tagname]) - -__EOF__ - -ifelse([$1],[], [ - case $host_os in - aix3*) - cat <<\EOF >> "$cfgfile" - -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -EOF - ;; - esac - - # We use sed instead of cat because bash on DJGPP gets confused if - # if finds mixed CR/LF and LF-only lines. Since sed operates in - # text mode, it properly converts lines to CR/LF. This bash problem - # is reportedly fixed, but why not run on old versions too? - sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) - - mv -f "$cfgfile" "$ofile" || \ - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") - chmod +x "$ofile" -]) -else - # If there is no Makefile yet, we rely on a make rule to execute - # `config.status --recheck' to rerun these tests and create the - # libtool script then. - ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` - if test -f "$ltmain_in"; then - test -f Makefile && make "$ltmain" - fi -fi -])# AC_LIBTOOL_CONFIG - - -# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) -# ------------------------------------------- -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl - -_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= - -if test "$GCC" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' - - AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], - lt_cv_prog_compiler_rtti_exceptions, - [-fno-rtti -fno-exceptions], [], - [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) -fi -])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI - - -# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE -# --------------------------------- -AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], -[AC_REQUIRE([AC_CANONICAL_HOST]) -AC_REQUIRE([AC_PROG_NM]) -AC_REQUIRE([AC_OBJEXT]) -# Check for command to grab the raw symbol name followed by C symbol from nm. -AC_MSG_CHECKING([command to parse $NM output from $compiler object]) -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], -[ -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[[BCDEGRST]]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' - -# Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - -# Define system-specific variables. -case $host_os in -aix*) - symcode='[[BCDT]]' - ;; -cygwin* | mingw* | pw32*) - symcode='[[ABCDGISTW]]' - ;; -hpux*) # Its linker distinguishes data from code symbols - if test "$host_cpu" = ia64; then - symcode='[[ABCDEGRST]]' - fi - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - ;; -linux*) - if test "$host_cpu" = ia64; then - symcode='[[ABCDGIRSTW]]' - lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" - fi - ;; -irix* | nonstopux*) - symcode='[[BCDEGRST]]' - ;; -osf*) - symcode='[[BCDEGQRST]]' - ;; -solaris*) - symcode='[[BDRT]]' - ;; -sco3.2v5*) - symcode='[[DT]]' - ;; -sysv4.2uw2*) - symcode='[[DT]]' - ;; -sysv5* | sco5v6* | unixware* | OpenUNIX*) - symcode='[[ABDT]]' - ;; -sysv4) - symcode='[[DFNSTU]]' - ;; -esac - -# Handle CRLF in mingw tool chain -opt_cr= -case $build_os in -mingw*) - opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -case `$NM -V 2>&1` in -*GNU* | *'with BFD'*) - symcode='[[ABCDGIRSTW]]' ;; -esac - -# Try without a prefix undercore, then with it. -for ac_symprfx in "" "_"; do - - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. - symxfrm="\\1 $ac_symprfx\\2 \\2" - - # Write the raw and C identifiers. - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" - - # Check to see that the pipe works correctly. - pipe_works=no - - rm -f conftest* - cat > conftest.$ac_ext <<EOF -#ifdef __cplusplus -extern "C" { -#endif -char nm_test_var; -void nm_test_func(){} -#ifdef __cplusplus -} -#endif -int main(){nm_test_var='a';nm_test_func();return(0);} -EOF - - if AC_TRY_EVAL(ac_compile); then - # Now try to grab the symbols. - nlist=conftest.nm - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if grep ' nm_test_var$' "$nlist" >/dev/null; then - if grep ' nm_test_func$' "$nlist" >/dev/null; then - cat <<EOF > conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -EOF - # Now generate the symbol file. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' - - cat <<EOF >> conftest.$ac_ext -#if defined (__STDC__) && __STDC__ -# define lt_ptr_t void * -#else -# define lt_ptr_t char * -# define const -#endif - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - lt_ptr_t address; -} -lt_preloaded_symbols[[]] = -{ -EOF - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext - cat <<\EOF >> conftest.$ac_ext - {0, (lt_ptr_t) 0} -}; - -#ifdef __cplusplus -} -#endif -EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then - pipe_works=yes - fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD - fi - else - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD - cat conftest.$ac_ext >&5 - fi - rm -f conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done -]) -if test -z "$lt_cv_sys_global_symbol_pipe"; then - lt_cv_sys_global_symbol_to_cdecl= -fi -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - AC_MSG_RESULT(failed) -else - AC_MSG_RESULT(ok) -fi -]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE - - -# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) -# --------------------------------------- -AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], -[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= -_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= -_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= - -AC_MSG_CHECKING([for $compiler option to produce PIC]) - ifelse([$1],[CXX],[ - # C++ specific cases for pic, static, wl, etc. - if test "$GXX" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - mingw* | os2* | pw32*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - *djgpp*) - # DJGPP does not support shared libraries at all - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - interix3*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - sysv4*MP*) - if test -d /usr/nec; then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else - case $host_os in - aix4* | aix5*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - chorus*) - case $cc_basename in - cxch68*) - # Green Hills C++ Compiler - # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" - ;; - esac - ;; - darwin*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - case $cc_basename in - xlc*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - ;; - esac - ;; - dgux*) - case $cc_basename in - ec++*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - ;; - ghcx*) - # Green Hills C++ Compiler - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - freebsd* | kfreebsd*-gnu | dragonfly*) - # FreeBSD uses GNU C++ - ;; - hpux9* | hpux10* | hpux11*) - case $cc_basename in - CC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - if test "$host_cpu" != ia64; then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - fi - ;; - aCC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - ;; - *) - ;; - esac - ;; - interix*) - # This is c89, which is MS Visual C++ (no shared libs) - # Anyone wants to do a port? - ;; - irix5* | irix6* | nonstopux*) - case $cc_basename in - CC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - # CC pic flag -KPIC is the default. - ;; - *) - ;; - esac - ;; - linux*) - case $cc_basename in - KCC*) - # KAI C++ Compiler - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - icpc* | ecpc*) - # Intel C++ - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - pgCC*) - # Portland Group C++ compiler. - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - cxx*) - # Compaq C++ - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - *) - ;; - esac - ;; - lynxos*) - ;; - m88k*) - ;; - mvs*) - case $cc_basename in - cxx*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' - ;; - *) - ;; - esac - ;; - netbsd*) - ;; - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - ;; - RCC*) - # Rational C++ 2.4.1 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - cxx*) - # Digital/Compaq C++ - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - *) - ;; - esac - ;; - psos*) - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - ;; - gcx*) - # Green Hills C++ Compiler - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - ;; - *) - ;; - esac - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - lcc*) - # Lucid - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - ;; - *) - ;; - esac - ;; - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - case $cc_basename in - CC*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - esac - ;; - vxworks*) - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -], -[ - if test "$GCC" = yes; then - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - amigaos*) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - - interix3*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - enable_shared=no - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - - hpux*) - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - darwin*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - case $cc_basename in - xlc*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - ;; - esac - ;; - - mingw* | pw32* | os2*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' - ;; - - hpux9* | hpux10* | hpux11*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - ;; - - irix5* | irix6* | nonstopux*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC (with -KPIC) is the default. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - newsos6) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - linux*) - case $cc_basename in - icc* | ecc*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - ccc*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All Alpha code is PIC. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - esac - ;; - - osf3* | osf4* | osf5*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All OSF/1 code is PIC. - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - solaris*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - case $cc_basename in - f77* | f90* | f95*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; - *) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; - esac - ;; - - sunos4*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - unicos*) - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - - uts4*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - *) - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -]) -AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then - AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], - _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), - [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], - [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in - "" | " "*) ;; - *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; - esac], - [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) -fi -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - *) - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" - ;; -esac - -# -# Check to make sure the static flag actually works. -# -wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" -AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], - _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), - $lt_tmp_static_flag, - [], - [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) -]) - - -# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) -# ------------------------------------ -# See if the linker supports building shared libraries. -AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], -[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) -ifelse([$1],[CXX],[ - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - case $host_os in - aix4* | aix5*) - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - else - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - fi - ;; - pw32*) - _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" - ;; - cygwin* | mingw*) - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' - ;; - *) - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; - esac -],[ - runpath_var= - _LT_AC_TAGVAR(allow_undefined_flag, $1)= - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no - _LT_AC_TAGVAR(archive_cmds, $1)= - _LT_AC_TAGVAR(archive_expsym_cmds, $1)= - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= - _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_minus_L, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown - _LT_AC_TAGVAR(hardcode_automatic, $1)=no - _LT_AC_TAGVAR(module_cmds, $1)= - _LT_AC_TAGVAR(module_expsym_cmds, $1)= - _LT_AC_TAGVAR(always_export_symbols, $1)=no - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - _LT_AC_TAGVAR(include_expsyms, $1)= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ` (' and `)$', so one must not match beginning or - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', - # as well as any symbol that contains `d'. - _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - extract_expsyms_cmds= - # Just being paranoid about ensuring that cc_basename is set. - _LT_CC_BASENAME([$compiler]) - case $host_os in - cygwin* | mingw* | pw32*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd*) - with_gnu_ld=no - ;; - esac - - _LT_AC_TAGVAR(ld_shlibs, $1)=yes - if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - fi - supports_anon_versioning=no - case `$LD -v 2>/dev/null` in - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - - # See if GNU ld supports shared libraries. - case $host_os in - aix3* | aix4* | aix5*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - _LT_AC_TAGVAR(ld_shlibs, $1)=no - cat <<EOF 1>&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. - -EOF - fi - ;; - - amigaos*) - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - - # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports - # that the semantics of dynamic libraries on AmigaOS, at least up - # to version 4, is to share data among multiple programs linked - # with the same dynamic library. Since this doesn't match the - # behavior of shared libraries on other platforms, we can't use - # them. - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - - beos*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach <jrb3@best.com> says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - cygwin* | mingw* | pw32*) - # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(always_export_symbols, $1)=no - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' - - if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - interix3*) - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - - linux*) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - tmp_addflag= - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - esac - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - - if test $supports_anon_versioning = yes; then - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - $echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris*) - if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then - _LT_AC_TAGVAR(ld_shlibs, $1)=no - cat <<EOF 1>&2 - -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -EOF - elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - cat <<_LT_EOF 1>&2 - -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - ;; - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - sunos4*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *) - if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_AC_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - - if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then - runpath_var= - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported - fi - ;; - - aix4* | aix5*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | grep 'GNU' > /dev/null; then - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - else - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' - fi - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then - aix_use_runtimelinking=yes - break - fi - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_AC_TAGVAR(archive_cmds, $1)='' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - - if test "$GCC" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && \ - strings "$collect2name" | grep resolve_lib_name >/dev/null - then - # We have reworked collect2 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - else - # We have old collect2 - _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - _LT_AC_TAGVAR(always_export_symbols, $1)=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' - _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an empty executable. - _LT_AC_SYS_LIBPATH_AIX - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - # This is similar to how AIX traditionally builds its shared libraries. - _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - amigaos*) - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - # see comment about different semantics on the GNU ld section - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - - bsdi[[45]]*) - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic - ;; - - cygwin* | mingw* | pw32*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' - # FIXME: Should let the user specify the lib program. - _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' - _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' - _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - ;; - - darwin* | rhapsody*) - case $host_os in - rhapsody* | darwin1.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' - ;; - *) # Darwin 1.3 on - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - else - case ${MACOSX_DEPLOYMENT_TARGET} in - 10.[[012]]) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' - ;; - 10.*) - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' - ;; - esac - fi - ;; - esac - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_automatic, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - if test "$GCC" = yes ; then - output_verbose_link_cmd='echo' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - else - case $cc_basename in - xlc*) - output_verbose_link_cmd='echo' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' - ;; - *) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - fi - ;; - - dgux*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - freebsd1*) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | kfreebsd*-gnu | dragonfly*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - hpux9*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - ;; - - hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - fi - ;; - - hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - case $host_cpu in - hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - fi - if test "$with_gnu_ld" = no; then - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - - case $host_cpu in - hppa*64*|ia64*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - *) - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - newsos6) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - openbsd*) - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - else - case $host_os in - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - ;; - *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - ;; - esac - fi - ;; - - os2*) - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - - osf3*) - if test "$GCC" = yes; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - else - _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ - $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' - - # Both c and cxx compiler support -rpath directly - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - fi - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - - solaris*) - _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' - if test "$GCC" = yes; then - wlarc='${wl}' - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' - else - wlarc='' - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - # The compiler driver will combine linker options so we - # cannot just pass the convience library names through - # without $wl, iff we do not link with $LD. - # Luckily, gcc supports the same syntax we need for Sun Studio. - # Supported since Solaris 2.6 (maybe 2.5.1?) - case $wlarc in - '') - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; - *) - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; - esac ;; - esac - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - ;; - - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes - _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv4) - case $host_vendor in - sni) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' - _LT_AC_TAGVAR(hardcode_direct, $1)=no - ;; - motorola) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv4.3*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - _LT_AC_TAGVAR(ld_shlibs, $1)=yes - fi - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*) - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' - _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_AC_TAGVAR(link_all_deplibs, $1)=yes - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - uts4*) - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *) - _LT_AC_TAGVAR(ld_shlibs, $1)=no - ;; - esac - fi -]) -AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) -test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no - -# -# Do we need to explicitly link libc? -# -case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in -x|xyes) - # Assume -lc should be added - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $_LT_AC_TAGVAR(archive_cmds, $1) in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - AC_MSG_CHECKING([whether -lc should be explicitly linked in]) - $rm conftest* - printf "$lt_simple_compile_test_code" > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) - pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) - _LT_AC_TAGVAR(allow_undefined_flag, $1)= - if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) - then - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no - else - _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes - fi - _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $rm conftest* - AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) - ;; - esac - fi - ;; -esac -])# AC_LIBTOOL_PROG_LD_SHLIBS - - -# _LT_AC_FILE_LTDLL_C -# ------------------- -# Be careful that the start marker always follows a newline. -AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ -# /* ltdll.c starts here */ -# #define WIN32_LEAN_AND_MEAN -# #include <windows.h> -# #undef WIN32_LEAN_AND_MEAN -# #include <stdio.h> -# -# #ifndef __CYGWIN__ -# # ifdef __CYGWIN32__ -# # define __CYGWIN__ __CYGWIN32__ -# # endif -# #endif -# -# #ifdef __cplusplus -# extern "C" { -# #endif -# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); -# #ifdef __cplusplus -# } -# #endif -# -# #ifdef __CYGWIN__ -# #include <cygwin/cygwin_dll.h> -# DECLARE_CYGWIN_DLL( DllMain ); -# #endif -# HINSTANCE __hDllInstance_base; -# -# BOOL APIENTRY -# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) -# { -# __hDllInstance_base = hInst; -# return TRUE; -# } -# /* ltdll.c ends here */ -])# _LT_AC_FILE_LTDLL_C - - -# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) -# --------------------------------- -AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) - - -# old names -AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) -AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) -AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) -AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) -AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) -AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) -AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) - -# This is just to silence aclocal about the macro not being used -ifelse([AC_DISABLE_FAST_INSTALL]) - -AC_DEFUN([LT_AC_PROG_GCJ], -[AC_CHECK_TOOL(GCJ, gcj, no) - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" - AC_SUBST(GCJFLAGS) -]) - -AC_DEFUN([LT_AC_PROG_RC], -[AC_CHECK_TOOL(RC, windres, no) -]) - -# NOTE: This macro has been submitted for inclusion into # -# GNU Autoconf as AC_PROG_SED. When it is available in # -# a released version of Autoconf we should remove this # -# macro and use it instead. # -# LT_AC_PROG_SED -# -------------- -# Check for a fully-functional sed program, that truncates -# as few characters as possible. Prefer GNU sed if found. -AC_DEFUN([LT_AC_PROG_SED], -[AC_MSG_CHECKING([for a sed that does not truncate output]) -AC_CACHE_VAL(lt_cv_path_SED, -[# Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for lt_ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" - fi - done - done -done -lt_ac_max=0 -lt_ac_count=0 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris -# along with /bin/sed that truncates output. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do - test ! -f $lt_ac_sed && continue - cat /dev/null > conftest.in - lt_ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in - # Check for GNU sed and select it if it is found. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then - lt_cv_path_SED=$lt_ac_sed - break - fi - while true; do - cat conftest.in conftest.in >conftest.tmp - mv conftest.tmp conftest.in - cp conftest.in conftest.nl - echo >>conftest.nl - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break - cmp -s conftest.out conftest.nl || break - # 10000 chars as input seems more than enough - test $lt_ac_count -gt 10 && break - lt_ac_count=`expr $lt_ac_count + 1` - if test $lt_ac_count -gt $lt_ac_max; then - lt_ac_max=$lt_ac_count - lt_cv_path_SED=$lt_ac_sed - fi - done -done -]) -SED=$lt_cv_path_SED -AC_MSG_RESULT([$SED]) -]) - -# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. -# -# This file 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. - -# AM_AUTOMAKE_VERSION(VERSION) -# ---------------------------- -# Automake X.Y traces this macro to ensure aclocal.m4 has been -# generated from the m4 files accompanying Automake X.Y. -AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) - -# AM_SET_CURRENT_AUTOMAKE_VERSION -# ------------------------------- -# Call AM_AUTOMAKE_VERSION so it can be traced. -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], - [AM_AUTOMAKE_VERSION([1.9.6])]) - -# AM_AUX_DIR_EXPAND -*- Autoconf -*- - -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file 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. - -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to -# `$srcdir', `$srcdir/..', or `$srcdir/../..'. -# -# Of course, Automake must honor this variable whenever it calls a -# tool from the auxiliary directory. The problem is that $srcdir (and -# therefore $ac_aux_dir as well) can be either absolute or relative, -# depending on how configure is run. This is pretty annoying, since -# it makes $ac_aux_dir quite unusable in subdirectories: in the top -# source directory, any form will work fine, but in subdirectories a -# relative path needs to be adjusted first. -# -# $ac_aux_dir/missing -# fails when called from a subdirectory if $ac_aux_dir is relative -# $top_srcdir/$ac_aux_dir/missing -# fails if $ac_aux_dir is absolute, -# fails when called from a subdirectory in a VPATH build with -# a relative $ac_aux_dir -# -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir -# are both prefixed by $srcdir. In an in-source build this is usually -# harmless because $srcdir is `.', but things will broke when you -# start a VPATH build or use an absolute $srcdir. -# -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, -# iff we strip the leading $srcdir from $ac_aux_dir. That would be: -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` -# and then we would define $MISSING as -# MISSING="\${SHELL} $am_aux_dir/missing" -# This will work as long as MISSING is not called from configure, because -# unfortunately $(top_srcdir) has no meaning in configure. -# However there are other variables, like CC, which are often used in -# configure, and could therefore not use this "fixed" $ac_aux_dir. -# -# Another solution, used here, is to always expand $ac_aux_dir to an -# absolute PATH. The drawback is that using absolute paths prevent a -# configured tree to be moved without reconfiguration. - -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` -]) - -# AM_CONDITIONAL -*- Autoconf -*- - -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 -# Free Software Foundation, Inc. -# -# This file 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. - -# serial 7 - -# AM_CONDITIONAL(NAME, SHELL-CONDITION) -# ------------------------------------- -# Define a conditional. -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]) -AC_SUBST([$1_FALSE]) -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])]) - - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 -# Free Software Foundation, Inc. -# -# This file 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. - -# serial 8 - -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be -# written in clear, in which case automake, when reading aclocal.m4, -# will think it sees a *use*, and therefore will trigger all it's -# C support machinery. Also note that it means that autoscan, seeing -# CC etc. in the Makefile, will ask for an AC_PROG_CC use... - - -# _AM_DEPENDENCIES(NAME) -# ---------------------- -# See how the compiler implements dependency checking. -# NAME is "CC", "CXX", "GCJ", or "OBJC". -# We try a few techniques and use that to set a single cache variable. -# -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular -# dependency, and given that the user is not expected to run this macro, -# just rely on AC_PROG_CC. -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], 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 - 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 - - case $depmode in - 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 - ;; - none) break ;; - esac - # 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. - if depmode=$depmode \ - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftest.${OBJEXT-o} 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]) -]) - - -# AM_SET_DEPDIR -# ------------- -# Choose a directory name for dependency files. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES -AC_DEFUN([AM_SET_DEPDIR], -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl -]) - - -# AM_DEP_TRACK -# ------------ -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]) -]) - -# Generate code to set up dependency tracking. -*- Autoconf -*- - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 -# Free Software Foundation, Inc. -# -# This file 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. - -#serial 3 - -# _AM_OUTPUT_DEPENDENCY_COMMANDS -# ------------------------------ -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], -[for mf in $CONFIG_FILES; 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. - # So let's grep whole file. - if grep '^#.*generated by automake' $mf > /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 -])# _AM_OUTPUT_DEPENDENCY_COMMANDS - - -# AM_OUTPUT_DEPENDENCY_COMMANDS -# ----------------------------- -# This macro should only be invoked once -- use via AC_REQUIRE. -# -# This code is only required when automatic dependency tracking -# is enabled. FIXME. This creates each `.P' file that we will -# need in order to bootstrap the dependency handling code. -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"]) -]) - -# Do all the work for Automake. -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 -# Free Software Foundation, Inc. -# -# This file 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. - -# serial 12 - -# This macro actually does too much. Some checks are only needed if -# your package does certain things. But this isn't really a big deal. - -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) -# AM_INIT_AUTOMAKE([OPTIONS]) -# ----------------------------------------------- -# The call with PACKAGE and VERSION arguments is the old style -# call (pre autoconf-2.50), which is being phased out. PACKAGE -# and VERSION should now be passed to AC_INIT and removed from -# the call to AM_INIT_AUTOMAKE. -# We support both call styles for the transition. After -# the next Automake release, Autoconf can make the AC_INIT -# arguments mandatory, and then we can depend on a new Autoconf -# release and drop the old call support. -AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.58])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 -# test to see if srcdir already configured -if test "`cd $srcdir && pwd`" != "`pwd`" && - test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) -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 - 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) -AM_PROG_INSTALL_SH -AM_PROG_INSTALL_STRIP -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 -]) -]) - - -# When config.status generates a header, we must update the stamp-h file. -# This file resides in the same directory as the config header -# that is generated. The stamp files are numbered to have different names. - -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the -# loop where config.status creates the headers, so we can generate -# our stamp files there. -AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -[# Compute $1's index in $config_headers. -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $1 | $1:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) - -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file 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. - -# AM_PROG_INSTALL_SH -# ------------------ -# Define $install_sh. -AC_DEFUN([AM_PROG_INSTALL_SH], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -install_sh=${install_sh-"$am_aux_dir/install-sh"} -AC_SUBST(install_sh)]) - -# Copyright (C) 2003, 2005 Free Software Foundation, Inc. -# -# This file 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. - -# serial 2 - -# Check whether the underlying file-system supports filenames -# with a leading dot. For instance MS-DOS doesn't. -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])]) - -# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- -# From Jim Meyering - -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 -# Free Software Foundation, Inc. -# -# This file 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. - -# serial 4 - -AC_DEFUN([AM_MAINTAINER_MODE], -[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) - dnl maintainer-mode is disabled by default - AC_ARG_ENABLE(maintainer-mode, -[ --enable-maintainer-mode enable make rules and dependencies not useful - (and sometimes confusing) to the casual installer], - USE_MAINTAINER_MODE=$enableval, - USE_MAINTAINER_MODE=no) - AC_MSG_RESULT([$USE_MAINTAINER_MODE]) - AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) - MAINT=$MAINTAINER_MODE_TRUE - AC_SUBST(MAINT)dnl -] -) - -AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) - -# Check to see how 'make' treats includes. -*- Autoconf -*- - -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. -# -# This file 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. - -# serial 3 - -# AM_MAKE_INCLUDE() -# ----------------- -# Check to see how make treats includes. -AC_DEFUN([AM_MAKE_INCLUDE], -[am_make=${MAKE-make} -cat > confinc << 'END' -am__doit: - @echo done -.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 -# We grep out `Entering directory' and `Leaving directory' -# messages which can occur if `w' ends up in MAKEFLAGS. -# In particular we don't look at `^make:' because GNU make might -# be invoked under some other name (usually "gmake"), in which -# case it prints its new name instead of `make'. -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then - am__include=include - am__quote= - _am_result=GNU -fi -# Now try BSD make style include. -if test "$am__include" = "#"; then - echo '.include "confinc"' > confmf - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then - am__include=.include - am__quote="\"" - _am_result=BSD - fi -fi -AC_SUBST([am__include]) -AC_SUBST([am__quote]) -AC_MSG_RESULT([$_am_result]) -rm -f confinc confmf -]) - -# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- - -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 -# Free Software Foundation, Inc. -# -# This file 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. - -# serial 4 - -# AM_MISSING_PROG(NAME, PROGRAM) -# ------------------------------ -AC_DEFUN([AM_MISSING_PROG], -[AC_REQUIRE([AM_MISSING_HAS_RUN]) -$1=${$1-"${am_missing_run}$2"} -AC_SUBST($1)]) - - -# AM_MISSING_HAS_RUN -# ------------------ -# Define MISSING if not defined so far and test if it supports --run. -# If it does, set am_missing_run to use it, otherwise, to nothing. -AC_DEFUN([AM_MISSING_HAS_RUN], -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" -# 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 -]) - -# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. -# -# This file 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. - -# AM_PROG_MKDIR_P -# --------------- -# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. -# -# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories -# created by `make install' are always world readable, even if the -# installer happens to have an overly restrictive umask (e.g. 077). -# This was a mistake. There are at least two reasons why we must not -# use `-m 0755': -# - it causes special bits like SGID to be ignored, -# - it may be too restrictive (some setups expect 775 directories). -# -# Do not use -m 0755 and let people choose whatever they expect by -# setting umask. -# -# We cannot accept any implementation of `mkdir' that recognizes `-p'. -# Some implementations (such as Solaris 8's) are not thread-safe: if a -# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' -# concurrently, both version can detect that a/ is missing, but only -# one can create it and the other will error out. Consequently we -# restrict ourselves to GNU make (using the --version option ensures -# this.) -AC_DEFUN([AM_PROG_MKDIR_P], -[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then - # We used to keeping the `.' as first argument, in order to - # allow $(mkdir_p) to be used without argument. As in - # $(mkdir_p) $(somedir) - # where $(somedir) is conditionally defined. However this is wrong - # for two reasons: - # 1. if the package is installed by a user who cannot write `.' - # make install will fail, - # 2. the above comment should most certainly read - # $(mkdir_p) $(DESTDIR)$(somedir) - # so it does not work when $(somedir) is undefined and - # $(DESTDIR) is not. - # To support the latter case, we have to write - # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), - # so the `.' trick is pointless. - mkdir_p='mkdir -p --' -else - # On NextStep and OpenStep, the `mkdir' command does not - # recognize any option. It will interpret all options as - # directories to create, and then abort because `.' already - # exists. - for d in ./-p ./--version; - do - test -d $d && rmdir $d - done - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. - if test -f "$ac_aux_dir/mkinstalldirs"; then - mkdir_p='$(mkinstalldirs)' - else - mkdir_p='$(install_sh) -d' - fi -fi -AC_SUBST([mkdir_p])]) - -# Helper functions for option handling. -*- Autoconf -*- - -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. -# -# This file 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. - -# serial 3 - -# _AM_MANGLE_OPTION(NAME) -# ----------------------- -AC_DEFUN([_AM_MANGLE_OPTION], -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) - -# _AM_SET_OPTION(NAME) -# ------------------------------ -# Set option NAME. Presently that only means defining a flag for this option. -AC_DEFUN([_AM_SET_OPTION], -[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) - -# _AM_SET_OPTIONS(OPTIONS) -# ---------------------------------- -# OPTIONS is a space-separated list of Automake options. -AC_DEFUN([_AM_SET_OPTIONS], -[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) - -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) -# ------------------------------------------- -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. -AC_DEFUN([_AM_IF_OPTION], -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) - -# Check to make sure that the build environment is sane. -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 -# Free Software Foundation, Inc. -# -# This file 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. - -# serial 4 - -# AM_SANITY_CHECK -# --------------- -AC_DEFUN([AM_SANITY_CHECK], -[AC_MSG_CHECKING([whether build environment is sane]) -# Just in case -sleep 1 -echo timestamp > conftest.file -# 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)]) - -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. -# -# This file 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. - -# AM_PROG_INSTALL_STRIP -# --------------------- -# One issue with vendor `install' (even GNU) is that you can't -# specify the program used to strip binaries. This is especially -# annoying in cross-compiling environments, where the build's strip -# is unlikely to handle the host's binaries. -# Fortunately install-sh will honor a STRIPPROG variable, so we -# always use install-sh in `make install-strip', and initialize -# STRIPPROG with the value of the STRIP variable (set by the user). -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="\${SHELL} \$(install_sh) -c -s" -AC_SUBST([INSTALL_STRIP_PROGRAM])]) - -# Check how to create a tarball. -*- Autoconf -*- - -# Copyright (C) 2004, 2005 Free Software Foundation, Inc. -# -# This file 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. - -# serial 2 - -# _AM_PROG_TAR(FORMAT) -# -------------------- -# Check how to create a tarball in format FORMAT. -# FORMAT should be one of `v7', `ustar', or `pax'. -# -# Substitute a variable $(am__tar) that is a command -# writing to stdout a FORMAT-tarball containing the directory -# $tardir. -# tardir=directory && $(am__tar) > result.tar -# -# Substitute a variable $(am__untar) that extract such -# a tarball read from stdin. -# $(am__untar) < result.tar -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]) -]) # _AM_PROG_TAR - diff --git a/AMDiS/configure.ac b/AMDiS/configure.ac deleted file mode 100644 index 7e5d55eed4b6335a786990e3a516ac13c978761e..0000000000000000000000000000000000000000 --- a/AMDiS/configure.ac +++ /dev/null @@ -1,143 +0,0 @@ -AC_INIT() -AM_INIT_AUTOMAKE(AMDiS, 0.1) -AM_MAINTAINER_MODE - -#AC_DISABLE_SHARED - -AC_ARG_ENABLE(debug, - [ --enable-debug Turn on debugging], - [case "${enableval}" in - yes) debug=true ;; - no) debug=false ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;; - esac],[debug=false]) -AM_CONDITIONAL(AMDIS_DEBUG, test $debug = true) - -AC_ARG_ENABLE(intel, - [ --enable-intel Turn on support for the Intel compiler], - [case "${enableval}" in - yes) intel=true ;; - no) intel=false ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-intel) ;; - esac],[intel=false]) -if test $intel = true -then - AC_SUBST(CXX, icpc) - AC_SUBST(CC, icc) -fi -AM_CONDITIONAL(AMDIS_INTEL, test $intel = true) - -AC_ARG_ENABLE(openmp, - [ --enable-openmp Turn on support for the Intel compiler], - [case "${enableval}" in - yes) openmp=true ;; - no) openmp=false ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-openmp) ;; - esac],[openmp=false]) -AM_CONDITIONAL(AMDIS_OPENMP, test $openmp = true) - -if test $openmp = true ; then - if test $intel = true ; then - AC_SUBST(OPENMP_FLAG, -openmp) - else - AC_SUBST(OPENMP_FLAG, -fopenmp) - fi -else - OPENMP_FLAG= - AC_SUBST(OPENMP_FLAG, ) -fi - -AC_ARG_WITH(mpi, [ --with-mpi=MPI_DIR], mpidir=$withval, mpidir=no) -AC_SUBST(MPI_DIR, $mpidir) -if test $mpidir != no ; then - AC_SUBST(CXX, $mpidir/bin/mpicxx) - AC_SUBST(CC, $mpidir/bin/mpicc) -fi - -AC_ARG_ENABLE(marmot, - [ --enable-marmot Use marmot compiler for mpi debugging.], - [case "${enableval}" in - yes) marmot=true ;; - no) marmot=false ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-marmot) ;; - esac],[marmot=false]) -if test $marmot != false ; then - AC_SUBST(CXX, marmotcxx) - AC_SUBST(CC, marmotcc) -fi - -AC_ARG_WITH(zoltan, [ --with-zoltan=ZOLTAN_DIR], zoltandir=$withval, petscdir=no) -AC_SUBST(ZOLTAN_DIR, $zoltandir) -AM_CONDITIONAL(USE_ZOLTAN, test $zoltandir != no) - -AC_ARG_WITH(petsc, [ --with-petsc=PETSC_DIR], petscdir=$withval, petscdir=no) -if test $petscdir != no ; then - AC_SUBST(PETSC_DIR, $petscdir) -fi - -AC_ARG_WITH(petsc-dev, [ --with-petsc-dev=PETSC_DIR], petscdevdir=$withval, petscdevdir=no) -if test $petscdevdir != no ; then - AC_SUBST(PETSC_DIR, $petscdevdir) -fi -AM_CONDITIONAL(USE_PETSC_DEV, test $petscdevdir != no) - - -AC_ARG_ENABLE(parmetis, - [ --enable-parmetis Compile with the ParMetis library], - [case "${enableval}" in - yes) parmetis=true ;; - no) parmetis=false ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-parmetis) ;; - esac],[parmetis=false]) -AM_CONDITIONAL(USE_PARALLEL_AMDIS, test $parmetis = true) - -AC_ARG_ENABLE(parallel-domain, - [ --enable-parallel-domain Parallelization with classical domain decomposition], - [case "${enableval}" in - yes) paralleldomain=true ;; - no) paralleldomain=false ;; - *) AC_MSG_ERROR(bad value${enableval} for --enable-parallel-domain) ;; - esac],[paralleldomain=false]) -AM_CONDITIONAL(USE_PARALLEL_DOMAIN_AMDIS, test $paralleldomain = true) - -AC_ARG_ENABLE(umfpack, - [ --enable-umfpack Compile with the UMFPACK direct solver library], - [case "${enableval}" in - yes) umfpack=true ;; - no) umfpack=false ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-umfpack) ;; - esac],[umfpack=false]) -AM_CONDITIONAL(ENABLE_UMFPACK, test $umfpack = true) - -AC_ARG_ENABLE(mkl, - [ --enable-mkl Compile with the Intel MKL library], - [case "${enableval}" in - yes) mkl=true ;; - no) mkl=false ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-mkl) ;; - esac],[mkl=false]) -AM_CONDITIONAL(ENABLE_MKL, test $mkl = true) - -AC_ARG_WITH(dune, [ --with-dune=DUNE_DIR], dunedir=$withval, dunedir=no) -AC_SUBST(DUNE_DIR, $dunedir) -AM_CONDITIONAL(ENABLE_DUNE, test $dunedir != no) - -AC_ARG_ENABLE(boost, - [ --enable-boost Compile with the Boost library], - [case "${enableval}" in - yes) boost=true ;; - no) boost=false ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-boost) ;; - esac],[boost=false]) -AM_CONDITIONAL(ENABLE_BOOST, test $boost = true) - - -AC_PROG_CC -AC_PROG_CXX -AC_PROG_LIBTOOL -AC_CONFIG_FILES([ - Makefile - src/Makefile - lib/Makefile - ]) -AC_OUTPUT diff --git a/AMDiS/src/AMDiS.h b/AMDiS/src/AMDiS.h index 1adea38fa978b6d1b46b1d3b2493023ef6c3b25c..6b052c5ec9a4d290c075cc25fe7fa83b2965220c 100644 --- a/AMDiS/src/AMDiS.h +++ b/AMDiS/src/AMDiS.h @@ -73,10 +73,6 @@ #include "Mesh.h" #include "MeshStructure.h" #include "ComponentTraverseInfo.h" -#include "Newton.h" -#include "NewtonS.h" -#include "NonLinSolver.h" -#include "NonLinUpdater.h" #include "OEMSolver.h" #include "Operator.h" #include "OperatorTerm.h" @@ -84,13 +80,11 @@ #include "Parametric.h" #include "PeriodicMap.h" #include "PeriodicBC.h" -#include "ProblemScal.h" -#include "ProblemVec.h" +#include "ProblemStat.h" #include "ProblemInstat.h" #include "ProblemTimeInterface.h" #include "ProblemImplicit.h" -#include "ProblemInterpolScal.h" -#include "ProblemNonLin.h" +#include "ProblemInterpol.h" #include "ProblemStatBase.h" #include "SecondOrderTerm.h" #include "StandardProblemIteration.h" diff --git a/AMDiS/src/AMDiS_fwd.h b/AMDiS/src/AMDiS_fwd.h index 98306066cc5a3103057874aa1c233d0df3ea9f38..266bf61337695035d2c90cf54fe14a35328cfe77 100644 --- a/AMDiS/src/AMDiS_fwd.h +++ b/AMDiS/src/AMDiS_fwd.h @@ -71,10 +71,9 @@ namespace AMDiS { class ProblemInstatScal; class ProblemInstatVec; class ProblemIterationInterface; - class ProblemScal; class ProblemStatBase; + class ProblemStatSeq; class ProblemTimeInterface; - class ProblemVec; class Projection; class PreconditionerScal; class Quadrature; diff --git a/AMDiS/src/AdaptBase.h b/AMDiS/src/AdaptBase.h index 213d4a677714a297a65074dbcdde8f0d5cef7b99..550c93d53287ab8385fdb87261544d0b119a2069 100644 --- a/AMDiS/src/AdaptBase.h +++ b/AMDiS/src/AdaptBase.h @@ -28,12 +28,14 @@ namespace AMDiS { + using namespace std; + /// Interface for adaption loops. class AdaptBase { public: /// Constructor - AdaptBase(std::string sname, + AdaptBase(string sname, ProblemIterationInterface *problemIteration_, AdaptInfo *adapt, ProblemTimeInterface *problemTime_ = NULL, @@ -55,7 +57,7 @@ namespace AMDiS { virtual int adapt() = 0; /// Returns \ref name - inline std::string getName() const + inline string getName() const { return name; } @@ -98,7 +100,7 @@ namespace AMDiS { protected: /// Name of the adaption loop - std::string name; + string name; /// Problem iteration interface ProblemIterationInterface *problemIteration; diff --git a/AMDiS/src/AdaptInfo.h b/AMDiS/src/AdaptInfo.h index e505f9b77dc47b8800cb3f99b9661f5d48d730e9..82e1c6361fd91cb67bba8e8cf31930aada7fa243 100644 --- a/AMDiS/src/AdaptInfo.h +++ b/AMDiS/src/AdaptInfo.h @@ -46,7 +46,7 @@ namespace AMDiS { class ScalContent { public: /// Constructor. - ScalContent(std::string prefix) + ScalContent(std::string prefix) : est_sum(0.0), est_t_sum(0.0), est_max(0.0), @@ -61,14 +61,14 @@ namespace AMDiS { refineBisections(1), coarseBisections(1) { - GET_PARAMETER(0, prefix + "->tolerance", "%f", &spaceTolerance); - GET_PARAMETER(0, prefix + "->time tolerance", "%f", &timeTolerance); - GET_PARAMETER(0, prefix + "->coarsen allowed", "%d", &coarsenAllowed); - GET_PARAMETER(0, prefix + "->refinement allowed", "%d", &refinementAllowed); - GET_PARAMETER(0, prefix + "->refine bisections", "%d", &refineBisections); - GET_PARAMETER(0, prefix + "->coarsen bisections", "%d", &coarseBisections); - GET_PARAMETER(0, prefix + "->sum factor", "%f", &fac_sum); - GET_PARAMETER(0, prefix + "->max factor", "%f", &fac_max); + Parameters::get(prefix + "->tolerance", spaceTolerance); + Parameters::get(prefix + "->time tolerance", timeTolerance); + Parameters::get(prefix + "->coarsen allowed", coarsenAllowed); + Parameters::get(prefix + "->refinement allowed", refinementAllowed); + Parameters::get(prefix + "->refine bisections", refineBisections); + Parameters::get(prefix + "->coarsen bisections", coarseBisections); + Parameters::get(prefix + "->sum factor", fac_sum); + Parameters::get(prefix + "->max factor", fac_max); timeErrLow = timeTolerance * 0.3; } @@ -145,27 +145,21 @@ namespace AMDiS { deserialized(false), rosenbrockMode(false) { - GET_PARAMETER(0, name_ + "->start time", "%f", &startTime); + Parameters::get( name_ + "->start time", startTime); time = startTime; - GET_PARAMETER(0, name_ + "->timestep", "%f", ×tep); - GET_PARAMETER(0, name_ + "->end time", "%f", &endTime); - GET_PARAMETER(0, name_ + "->max iteration", "%d", &maxSpaceIteration); - GET_PARAMETER(0, name_ + "->max timestep iteration", "%d", &maxTimestepIteration); - GET_PARAMETER(0, name_ + "->max time iteration", "%d", &maxTimeIteration); - - GET_PARAMETER(0, name_ + "->min timestep", "%f", &minTimestep); - GET_PARAMETER(0, name_ + "->max timestep", "%f", &maxTimestep); - - GET_PARAMETER(0, name_ + "->number of timesteps", "%d", &nTimesteps); - - if (size == 1) { - scalContents[0] = new ScalContent(name); - } else { - char number[5]; - for (int i = 0; i < size; i++) { - sprintf(number, "[%d]", i); - scalContents[i] = new ScalContent(name + std::string(number)); - } + Parameters::get(name_ + "->timestep", timestep); + Parameters::get(name_ + "->end time", endTime); + Parameters::get(name_ + "->max iteration", maxSpaceIteration); + Parameters::get(name_ + "->max timestep iteration", maxTimestepIteration); + Parameters::get(name_ + "->max time iteration", maxTimeIteration); + Parameters::get(name_ + "->min timestep", minTimestep); + Parameters::get(name_ + "->max timestep", maxTimestep); + Parameters::get(name_ + "->number of timesteps", nTimesteps); + + char number[5]; + for (int i = 0; i < size; i++) { + sprintf(number, "[%d]", i); + scalContents[i] = new ScalContent(name + std::string(number)); } } @@ -187,7 +181,7 @@ namespace AMDiS { solverIterations = 0; solverResidual = 0.0; - GET_PARAMETER(0, name + "->timestep", "%f", ×tep); + Parameters::get(name + "->timestep", timestep); lastProcessedTimestep=timestep; } @@ -256,11 +250,16 @@ namespace AMDiS { void printTimeErrorLowInfo() { for (unsigned int i = 0; i < scalContents.size(); i++){ - std::cout << " Time error estimate = " << getTimeEstCombined(i) - << " Time error estimate sum = " << scalContents[i]->est_t_sum - << " Time error estimate max = " << scalContents[i]->est_t_max - << " Time error low bound = " << scalContents[i]->timeErrLow - << " Time error high bound = " << scalContents[i]->timeTolerance << "\n"; + std::cout << " Time error estimate = " + << getTimeEstCombined(i) << "\n" + << " Time error estimate sum = " + << scalContents[i]->est_t_sum << "\n" + << " Time error estimate max = " + << scalContents[i]->est_t_max << "\n" + << " Time error low bound = " + << scalContents[i]->timeErrLow << "\n" + << " Time error high bound = " + << scalContents[i]->timeTolerance << "\n"; } } diff --git a/AMDiS/src/AdaptInstationary.cc b/AMDiS/src/AdaptInstationary.cc index 786e24684251847ad9c93649ef67392261385b39..de4bf478266e879555842163176775c4d94a709c 100644 --- a/AMDiS/src/AdaptInstationary.cc +++ b/AMDiS/src/AdaptInstationary.cc @@ -70,7 +70,7 @@ namespace AMDiS { // Check if the problem should be deserialized because of the -rs parameter. std::string serializationFilename = ""; - GET_PARAMETER(0, "argv->rs", &serializationFilename); + Parameters::get("argv->rs", serializationFilename); if (serializationFilename.compare("")) { // The value of the -rs argument is ignored, because we want to use the @@ -87,16 +87,16 @@ namespace AMDiS { int readSerialization = 0; int readSerializationWithAdaptInfo = 0; - GET_PARAMETER(0, (*problemStat).getName() + "->input->read serialization", "%d", - &readSerialization); - GET_PARAMETER(0, (*problemStat).getName() + "->input->serialization with adaptinfo", "%d", - &readSerializationWithAdaptInfo); + Parameters::get((*problemStat).getName() + "->input->read serialization", + readSerialization); + Parameters::get((*problemStat).getName() + "->input->serialization with adaptinfo", + readSerializationWithAdaptInfo); if (readSerialization && readSerializationWithAdaptInfo) { std::string serializationFilename = ""; - GET_PARAMETER(0, (*problemStat).getName() + "->input->serialization filename", - &serializationFilename); + Parameters::get((*problemStat).getName() + "->input->serialization filename", + serializationFilename); TEST_EXIT(serializationFilename != "")("no serialization file\n"); MSG("Deserialization with AdaptInfo from file: %s\n", serializationFilename.c_str()); @@ -108,11 +108,6 @@ namespace AMDiS { } - AdaptInstationary::~AdaptInstationary() - { - } - - void AdaptInstationary::explicitTimeStrategy() { FUNCNAME("AdaptInstationary::explicitTimeStrategy()"); @@ -127,7 +122,7 @@ namespace AMDiS { problemTime->setTime(adaptInfo); - INFO(info,6)("time = %e, timestep = %e\n", + INFO(info, 6)("time = %e, timestep = %e\n", adaptInfo->getTime(), adaptInfo->getTimestep()); adaptInfo->setSpaceIteration(0); @@ -347,14 +342,14 @@ namespace AMDiS { queueRuntime = -1; queueSerializationFilename = "__serialized_problem.ser"; - GET_PARAMETER(0, aName + "->strategy", "%d", &strategy); - GET_PARAMETER(0, aName + "->time delta 1", "%f", &timeDelta1); - GET_PARAMETER(0, aName + "->time delta 2", "%f", &timeDelta2); - GET_PARAMETER(0, aName + "->info", "%d", &info); - GET_PARAMETER(0, aName + "->break when stable", "%d", &breakWhenStable); - GET_PARAMETER(0, aName + "->queue->runtime", "%d", &queueRuntime); - GET_PARAMETER(0, aName + "->queue->serialization filename", - &queueSerializationFilename); + Parameters::get(aName + "->strategy", strategy); + Parameters::get(aName + "->time delta 1", timeDelta1); + Parameters::get(aName + "->time delta 2", timeDelta2); + Parameters::get(aName + "->info", info); + Parameters::get(aName + "->break when stable", breakWhenStable); + Parameters::get(aName + "->queue->runtime", queueRuntime); + Parameters::get(aName + "->queue->serialization filename", + queueSerializationFilename); } @@ -362,6 +357,7 @@ namespace AMDiS { { FUNCNAME("AdaptInstationary::serialize()"); + SerUtil::serialize(out, amdisRevisionNumber); problemIteration->serialize(out); adaptInfo->serialize(out); if (problemTime) diff --git a/AMDiS/src/AdaptInstationary.h b/AMDiS/src/AdaptInstationary.h index 34e785b5c663c8954a4bc31f359d42e286facba9..f482fb63c479ba16223e7ed5467dd6e2d55b8b17 100644 --- a/AMDiS/src/AdaptInstationary.h +++ b/AMDiS/src/AdaptInstationary.h @@ -33,6 +33,8 @@ namespace AMDiS { + using namespace std; + /** \ingroup Adaption * \brief * AdaptInstationary implements the adaptive procdure for time dependent @@ -46,7 +48,7 @@ namespace AMDiS { * Creates a AdaptInstationary object with the given name for the time * dependent problem problemInstat. TODO: Make obsolete! */ - AdaptInstationary(std::string name, + AdaptInstationary(string name, ProblemIterationInterface *problemStat, AdaptInfo *info, ProblemTimeInterface *problemInstat, @@ -57,7 +59,7 @@ namespace AMDiS { * Creates a AdaptInstationary object with the given name for the time * dependent problem problemInstat. */ - AdaptInstationary(std::string name, + AdaptInstationary(string name, ProblemIterationInterface &problemStat, AdaptInfo &info, ProblemTimeInterface &problemInstat, @@ -76,7 +78,7 @@ namespace AMDiS { time_t initialTimestampSet); /// Destructor - virtual ~AdaptInstationary(); + virtual ~AdaptInstationary() {} /// Sets \ref strategy to aStrategy inline void setStrategy(int aStrategy) @@ -93,10 +95,10 @@ namespace AMDiS { virtual int adapt(); /// Serialization - virtual void serialize(std::ostream &out); + virtual void serialize(ostream &out); /// deserialization - virtual void deserialize(std::istream &in); + virtual void deserialize(istream &in); protected: @@ -112,7 +114,7 @@ namespace AMDiS { virtual void oneTimestep(); /// Initialisation of this AdaptInstationary object - void initialize(std::string aName); + void initialize(string aName); /// Implements the explit time strategy. Used by \ref oneTimestep(). virtual void explicitTimeStrategy(); @@ -162,7 +164,7 @@ namespace AMDiS { int queueRuntime; /// Name of the file used to automatically serialize the problem. - std::string queueSerializationFilename; + string queueSerializationFilename; /** \brief * Timestamp at the beginning of all calculations. It is used to calculate the @@ -177,7 +179,7 @@ namespace AMDiS { time_t iterationTimestamp; /// Stores the runtime (in seconds) of some last timestep iterations. - std::queue<int> lastIterationsDuration; + queue<int> lastIterationsDuration; /** \brief * In debug mode, the adapt loop will print information about timestep decreasing diff --git a/AMDiS/src/AdaptStationary.cc b/AMDiS/src/AdaptStationary.cc index ddd91a170ca3a7395de7045e5fbb6a0928c51147..75c94d089272dd6ef9bd99dd0675ead73d40bfa1 100644 --- a/AMDiS/src/AdaptStationary.cc +++ b/AMDiS/src/AdaptStationary.cc @@ -52,7 +52,7 @@ namespace AMDiS { problemIteration->endIteration(adaptInfo); adaptInfo->incSpaceIteration(); } - + // adaption loop while (!adaptInfo->spaceToleranceReached() && (adaptInfo->getSpaceIteration() < adaptInfo->getMaxSpaceIteration() || @@ -76,7 +76,7 @@ namespace AMDiS { { FUNCNAME("AdaptStationary::initialize()"); - GET_PARAMETER(0, name + "->info", "%d", &info); + Parameters::get(name + "->info", info); } } diff --git a/AMDiS/src/AdaptStationary.h b/AMDiS/src/AdaptStationary.h index 25b8fc4b47637b7be74403c980e709deaca6ef4c..7b57877c2888235e32cdb9c534e96f981d2d0d35 100644 --- a/AMDiS/src/AdaptStationary.h +++ b/AMDiS/src/AdaptStationary.h @@ -38,6 +38,8 @@ namespace AMDiS { + using namespace std; + /** \ingroup Adaption * \brief * AdaptStationary contains information about the adaptive procedure and the @@ -47,12 +49,12 @@ namespace AMDiS { { public: /// Creates a AdaptStationary object with given name. TODO: Make obsolete! - AdaptStationary(std::string name, + AdaptStationary(string name, ProblemIterationInterface *prob, AdaptInfo *info); /// Creates a AdaptStationary object with given name. - AdaptStationary(std::string name, + AdaptStationary(string name, ProblemIterationInterface &prob, AdaptInfo &info); diff --git a/AMDiS/src/BasisFunction.h b/AMDiS/src/BasisFunction.h index 55ad9ee80ed9ae8d200b3284f6eb24a606841c34..e1ba656b05d8b2377e1c4790356432d7dc88c8a9 100644 --- a/AMDiS/src/BasisFunction.h +++ b/AMDiS/src/BasisFunction.h @@ -31,6 +31,8 @@ namespace AMDiS { + using namespace std; + /// Function interface for evaluating basis functions. class BasFctType { @@ -86,7 +88,7 @@ namespace AMDiS { { protected: /// Creates a BasisFunction object of given dim and degree - BasisFunction(std::string name, int dim, int degree); + BasisFunction(string name, int dim, int degree); /// destructor virtual ~BasisFunction(); @@ -157,7 +159,7 @@ namespace AMDiS { } /// Returns \ref name of BasisFunction - inline std::string getName() const + inline string getName() const { return name; } @@ -289,7 +291,7 @@ namespace AMDiS { inline void getLocalIndices(const Element *el, const DOFAdmin *admin, - std::vector<DegreeOfFreedom> &indices) const + vector<DegreeOfFreedom> &indices) const { FUNCNAME("BasisFunction::getLocalIndices()"); @@ -301,7 +303,7 @@ namespace AMDiS { virtual void getLocalDofPtrVec(const Element *el, const DOFAdmin *admin, - std::vector<const DegreeOfFreedom*>& vec) const + vector<const DegreeOfFreedom*>& vec) const {} @@ -347,7 +349,7 @@ namespace AMDiS { protected: /// Textual description - std::string name; + string name; /// Number of basisfunctions on one Element int nBasFcts; @@ -365,13 +367,13 @@ namespace AMDiS { DimVec<int> *nDOF; /// Vector of the local functions - std::vector<BasFctType*> *phi; + vector<BasFctType*> *phi; /// Vector of gradients - std::vector<GrdBasFctType*> *grdPhi; + vector<GrdBasFctType*> *grdPhi; /// Vector of second derivatives - std::vector<D2BasFctType*> *d2Phi; + vector<D2BasFctType*> *d2Phi; }; } diff --git a/AMDiS/src/CreatorMap.cc b/AMDiS/src/CreatorMap.cc index 1e75e934836208818ae662ce2b9acbdcec05aa85..f9e434590fd330f99d2cd3dbb31984c68746a507 100644 --- a/AMDiS/src/CreatorMap.cc +++ b/AMDiS/src/CreatorMap.cc @@ -14,7 +14,6 @@ #include "OEMSolver.h" #include "ITL_Solver.h" #include "ITL_Preconditioner.h" -#include "NonLinSolver.h" #include "MatrixVector.h" #include "SystemVector.h" #include "Estimator.h" diff --git a/AMDiS/src/Estimator.cc b/AMDiS/src/Estimator.cc index 449cd262d6796060d24d8fe2d6eab36ab5f1d1e2..97c12bb1e613750bdff6bbfa83add5d0cfdff362 100644 --- a/AMDiS/src/Estimator.cc +++ b/AMDiS/src/Estimator.cc @@ -27,7 +27,7 @@ namespace AMDiS { { FUNCNAME("Estimator::Estimator()"); - GET_PARAMETER(0, name + "->error norm", "%d", &norm); + Parameters::get(name + "->error norm", norm); } diff --git a/AMDiS/src/FiniteElemSpace.h b/AMDiS/src/FiniteElemSpace.h index a899e75a390d851207543528391414b761856ce4..518da190038d469cac59eea33db31e12c123ad20 100644 --- a/AMDiS/src/FiniteElemSpace.h +++ b/AMDiS/src/FiniteElemSpace.h @@ -33,6 +33,8 @@ namespace AMDiS { + using namespace std; + /** \ingroup FEMSpace * \brief * A FiniteElemSpace is a triple of a DOFAdmin and a set of BasisFunction on a mesh. @@ -47,7 +49,7 @@ namespace AMDiS { static FiniteElemSpace *provideFeSpace(DOFAdmin *admin, const BasisFunction *basFcts, Mesh *mesh, - std::string name = ""); + string name = ""); #if DEBUG /// For debugging it may be useful to get some FE space for a given mesh at a @@ -63,7 +65,7 @@ namespace AMDiS { FiniteElemSpace& operator=(const FiniteElemSpace& feSpace); /// Returns \ref name. - inline std::string getName() const + inline string getName() const { return name; } @@ -104,11 +106,11 @@ namespace AMDiS { FiniteElemSpace(DOFAdmin* admin, const BasisFunction* basisFcts, Mesh* mesh, - std::string name = ""); + string name = ""); protected: /// Name of this FiniteElemSpace. - const std::string name; + const string name; /// DOFAdmin corresponding to this FiniteElemSpace. DOFAdmin* admin; @@ -120,7 +122,7 @@ namespace AMDiS { Mesh* mesh; /// - static std::vector<FiniteElemSpace*> feSpaces; + static vector<FiniteElemSpace*> feSpaces; }; } diff --git a/AMDiS/src/Global.h b/AMDiS/src/Global.h index abbdbfde589b1a75d5309e577ecddbca8e211b9a..63e4d733727f807be44b9c0e42fdfbfb18f5d64a 100644 --- a/AMDiS/src/Global.h +++ b/AMDiS/src/Global.h @@ -59,41 +59,41 @@ namespace AMDiS { + using namespace std; + extern const char *funcName; - // ============================================================================ - // ===== definitions ========================================================== - // ============================================================================ + const int amdisRevisionNumber = 1700; - /// used by matrix vector multiplication + /// Used by matrix vector multiplication typedef enum { NoTranspose, Transpose, ConjugateTranspose } MatrixTranspose; - /// speciefies the norm used by Estimator. + /// Speciefies the norm used by Estimator. typedef enum { NO_NORM = 0, H1_NORM = 1, L2_NORM = 2 } Norm; - /// datatype for degrees of freedom + /// Datatype for degrees of freedom typedef signed int DegreeOfFreedom; /// Defines type for a vector of DOF pointers. - typedef std::vector<const DegreeOfFreedom*> DofContainer; + typedef vector<const DegreeOfFreedom*> DofContainer; typedef std::set<const DegreeOfFreedom*> DofContainerSet; /// Defines a type for global edge identification via its DOFs. - typedef std::pair<DegreeOfFreedom, DegreeOfFreedom> DofEdge; + typedef pair<DegreeOfFreedom, DegreeOfFreedom> DofEdge; /// Defines a tzpe for global face identiication via its DOFs. typedef boost::tuple<DegreeOfFreedom, DegreeOfFreedom, DegreeOfFreedom> DofFace; - /// returns the GeoIndex of d for dimension dim. + /// Returns the GeoIndex of d for dimension dim. #define INDEX_OF_DIM(d, dim) (static_cast<GeoIndex>((d == dim) ? CENTER : d + 1)) - /// returns the dimension of GeoIndex ind for dimension dim + /// Returns the dimension of GeoIndex ind for dimension dim #define DIM_OF_INDEX(ind, dim) ((static_cast<int>(ind) == 0) ? dim : static_cast<int>(ind) - 1) #if HAVE_PARALLEL_DOMAIN_AMDIS @@ -107,9 +107,9 @@ namespace AMDiS { void waitSec(int seconds); - /// Content comparision of two pointers. Used e.g. for std::find_if + /// Content comparision of two pointers. Used e.g. for find_if template<typename T> - struct comparePtrContents : public std::binary_function<T*, T*, bool> + struct comparePtrContents : public binary_function<T*, T*, bool> { /// Overrides binary_function::operator() bool operator()(T* a, T* b) const @@ -188,10 +188,10 @@ namespace AMDiS { static void print_funcname(const char *funcname); /// Changes the message stream - static void change_out(std::ostream*); + static void change_out(ostream*); /// Changes the error stream - static void change_error_out(std::ofstream *fp); + static void change_error_out(ofstream *fp); /// Creates a filestream and sets the error stream to this filestream static void open_error_file(const char *filename, OPENMODE); @@ -224,13 +224,13 @@ namespace AMDiS { static void wait(bool w); /// Returns \ref out - static std::ostream *getOutStream() + static ostream *getOutStream() { return out; } /// Returns \ref error - static std::ostream *getErrorStream() + static ostream *getErrorStream() { return error; } @@ -245,10 +245,10 @@ namespace AMDiS { protected: /// Message stram - static std::ostream *out; + static ostream *out; /// Error stream - static std::ostream *error; + static ostream *error; /** \brief * Remember funcName to avoid multiple output of funcName within the same @@ -441,7 +441,7 @@ namespace AMDiS { static Element *referenceElement[4]; /// Stores the precalculated results that should be returned by Global::getGeo. - static std::vector< std::vector< int > > geoIndexTable; + static vector<vector<int> > geoIndexTable; }; #define COMMA , diff --git a/AMDiS/src/ITL_OEMSolver.h b/AMDiS/src/ITL_OEMSolver.h index 11157cd15e463760f3d0cbbf3c55420421d19980..7af26e23d5962fcf857736299c0792f8734971d8 100644 --- a/AMDiS/src/ITL_OEMSolver.h +++ b/AMDiS/src/ITL_OEMSolver.h @@ -105,7 +105,7 @@ namespace AMDiS { ITL_OEMSolver_para(std::string name) : OEMSolver(name), ell(OEMSolver::max_iter) { - GET_PARAMETER(0, name + "->ell", "%d", &ell); + Parameters::get(name + "->ell", ell); } ~ITL_OEMSolver_para() {} diff --git a/AMDiS/src/Makefile.am b/AMDiS/src/Makefile.am deleted file mode 100644 index ef7e2c322641027a4e622952031675aab91b4cce..0000000000000000000000000000000000000000 --- a/AMDiS/src/Makefile.am +++ /dev/null @@ -1,423 +0,0 @@ -lib_LTLIBRARIES = libamdis.la libcompositeFEM.la libreinit.la - -LIB_DIR = ../lib -PARALLEL_DIR = $(SOURCE_DIR) -PARMETIS_DIR = ../lib/ParMetis-3.1 -AMDIS_INCLUDES = - -libamdis_la_CXXFLAGS = - -PARALLEL_AMDIS_SOURCES = -PARALLEL_INCLUDES = - -if USE_PARALLEL_DOMAIN_AMDIS - PARALLEL_AMDIS_SOURCES += \ - parallel/CheckerPartitioner.cc \ - parallel/ElementObjectData.cc \ - parallel/MeshDistributor.cc \ - parallel/MeshManipulation.cc \ - parallel/MeshPartitioner.cc \ - parallel/MpiHelper.cc \ - parallel/ParallelDebug.cc \ - parallel/ParallelProblemStatBase.cc \ - parallel/ParMetisPartitioner.cc \ - parallel/PetscProblemStat.cc \ - parallel/PetscSolver.cc \ - parallel/PetscSolverGlobalMatrix.cc \ - parallel/PetscSolverSchur.cc \ - parallel/StdMpi.cc - libamdis_la_CXXFLAGS += -DHAVE_PARALLEL_DOMAIN_AMDIS=1 - AMDIS_INCLUDES += -I$(PARMETIS_DIR) - AMDIS_INCLUDES += -I$(PETSC_DIR)/include -I$(PETSC_DIR)/$(PETSC_ARCH)/include - AMDIS_INCLUDES += -I$(LIB_DIR)/zoltan_build/include -endif - -if USE_ZOLTAN - libamdis_la_CXXFLAGS += -DHAVE_ZOLTAN - PARALLEL_AMDIS_SOURCES += parallel/ZoltanPartitioner.cc -endif - -if USE_PETSC_DEV - libamdis_la_CXXFLAGS += -DHAVE_PETSC_DEV -endif - - -if ENABLE_UMFPACK - libamdis_la_CXXFLAGS += -DHAVE_UMFPACK=1 -DMTL_HAS_UMFPACK - AMDIS_INCLUDES += -I$(LIB_DIR)/UFconfig \ - -I$(LIB_DIR)/AMD/Include \ - -I$(LIB_DIR)/UMFPACK/Include -endif - -if ENABLE_MKL - libamdis_la_CXXFLAGS += -DHAVE_MKL=1 -I${MKL_INC} -endif - -if ENABLE_DUNE - libamdis_la_CXXFLAGS += -DHAVE_DUNE=1 - AMDIS_INCLUDES += -I$(DUNE_DIR) -endif - -if ENABLE_BOOST - libamdis_la_CXXFLAGS += -DHAVE_BOOST=1 -endif - -TEMPLATE_INCLUDES = -I../lib/mtl4 - -INCLUDES = $(AMDIS_INCLUDES) $(PARALLEL_INCLUDES) $(TEMPLATE_INCLUDES) - -if AMDIS_DEBUG - libamdis_la_CXXFLAGS += -g -O0 -Wall -DDEBUG=1 $(OPENMP_FLAG) $(INCLUDES) #-pedantic -else - libamdis_la_CXXFLAGS += -O3 -Wall -DDEBUG=0 -DNDEBUG $(OPENMP_FLAG) -ftemplate-depth-100 $(INCLUDES) #-pedantic -endif - -nobase_include_HEADERS = \ -AMDiS.h \ -AMDiS_fwd.h \ -AbstractFunction.h \ -AdaptBase.h \ -AdaptInfo.h \ -AdaptInstationary.h \ -AdaptStationary.h \ -Assembler.h \ -BallProject.h \ -BasisFunction.h \ -Boundary.h \ -BoundaryCondition.h \ -BoundaryManager.h \ -Cholesky.h \ -CoarseningManager.h \ -CoarseningManager1d.h \ -CoarseningManager2d.h \ -CoarseningManager3d.h \ -ComponentTraverseInfo.h \ -CouplingTimeInterface.h \ -CreatorInterface.h \ -CreatorMap.h \ -CreatorMap.hh \ -CylinderProject.h \ -DOFAdmin.h \ -DOFContainer.h \ -DOFIndexed.h \ -DOFIterator.h \ -DOFMatrix.h \ -DOFVector.h \ -DOFVector.hh \ -Debug.h \ -DirichletBC.h \ -DualTraverse.h \ -ElInfo.h \ -ElInfo1d.h \ -ElInfo2d.h \ -ElInfo3d.h \ -ElInfoStack.h \ -Element.h \ -Element.hh \ -ElementData.h \ -ElementDofIterator.h \ -ElementFunction.h \ -ElementInfo.h \ -ElementRegion_ED.h \ -EmptyElementData.h \ -Error.h \ -Error.hh \ -Estimator.h \ -FiniteElemSpace.h \ -FirstOrderAssembler.h \ -FirstOrderTerm.h \ -FixVec.h \ -FixVec.hh \ -FixVecConvert.h \ -Flag.h \ -Global.h \ -GlobalDOFNumbering.h \ -GlobalElementNumbering.h \ -ITL_OEMSolver.h \ -ITL_Preconditioner.h \ -ITL_Solver.h \ -Lagrange.h \ -LeafData.h \ -Line.h \ -MacroElement.h \ -Marker.h \ -MathFunctions.h \ -MatrixVector.h \ -Mesh.h \ -MeshStructure.h \ -MeshStructure_ED.h \ -Newton.h \ -Newton.hh \ -NewtonS.h \ -NewtonS.hh \ -NonLinSolver.h \ -NonLinSolver.hh \ -NonLinUpdater.h \ -OEMSolver.h \ -Operator.h \ -Operator.hh \ -OperatorTerm.h \ -OperatorTerm.hh \ -Parameters.h \ -Parametric.h \ -PeriodicBC.h \ -PeriodicConnection.h \ -PeriodicInfo.h \ -PeriodicMap.h \ -ProblemImplicit.h \ -ProblemInstat.h \ -ProblemInterpolScal.h \ -ProblemInterpolVec.h \ -ProblemIterationInterface.h \ -ProblemNonLin.h \ -ProblemScal.h \ -ProblemStatBase.h \ -ProblemTimeInterface.h \ -ProblemVec.h \ -ProblemVecDbg.h \ -Projection.h \ -QPInfo.h \ -QPsiPhi.h \ -Quadrature.h \ -Quadrature.hh \ -RCNeighbourList.h \ -Recovery.h \ -RecoveryEstimator.h \ -RefinementManager.h \ -RefinementManager1d.h \ -RefinementManager2d.h \ -RefinementManager3d.h \ -ResidualEstimator.h \ -RobinBC.h \ -RobinBC.hh \ -ScalableQuadrature.h \ -SecondOrderAssembler.h \ -SecondOrderTerm.h \ -Serializable.h \ -Serializer.h \ -SolutionDataStorage.h \ -SolutionDataStorage.hh \ -SolverMatrix.h \ -StandardProblemIteration.h \ -SubAssembler.h \ -SubAssembler.hh \ -SubElInfo.h \ -SubQuadrature.h \ -SurfaceAssembler.h \ -SurfaceOperator.h \ -SurfaceQuadrature.h \ -SurfaceRegion_ED.h \ -SystemVector.h \ -Tetrahedron.h \ -TimedObject.h \ -Traverse.h \ -Triangle.h \ -UmfPackSolver.h \ -VertexInfo.h \ -VertexVector.h \ -ZeroOrderAssembler.h \ -ZeroOrderTerm.h \ -compositeFEM/CFE_Integration.h \ -compositeFEM/CFE_NormAndErrorFcts.h \ -compositeFEM/CompositeFEMMethods.h \ -compositeFEM/CompositeFEMOperator.h \ -compositeFEM/ElementLevelSet.h \ -compositeFEM/LevelSetAdaptMesh.h \ -compositeFEM/PenaltyOperator.h \ -compositeFEM/SubElementAssembler.h \ -compositeFEM/SubPolytope.h \ -compositeFEM/TranslateLsFct.h \ -compositeFEM/compositeFEM.h \ -io/ArhReader.h \ -io/ArhWriter.h \ -io/DataCollector.h \ -io/DofWriter.h \ -io/ElementFileWriter.h \ -io/FileWriter.h \ -io/GNUPlotWriter.h \ -io/GridWriter.h \ -io/GridWriter.hh \ -io/MacroInfo.h \ -io/MacroReader.h \ -io/MacroWriter.h \ -io/PngWriter.h \ -io/PovrayWriter.h \ -io/ValueReader.h \ -io/ValueWriter.h \ -io/VtkWriter.h \ -io/VtkWriter.hh \ -itl/minres.hpp \ -parallel/CheckerPartitioner.h \ -parallel/ElementObjectData.h \ -parallel/InteriorBoundary.h \ -parallel/MeshDistributor.h \ -parallel/MeshManipulation.h \ -parallel/MeshPartitioner.h \ -parallel/MpiHelper.h \ -parallel/ParallelDebug.h \ -parallel/ParallelProblemStatBase.h \ -parallel/ParMetisPartitioner.h \ -parallel/PetscProblemStat.h \ -parallel/PetscSolver.h \ -parallel/PetscSolverGlobalMatrix.h \ -parallel/PetscSolverSchur.h \ -parallel/StdMpi.h \ -parallel/ZoltanPartitioner.h \ -reinit/BoundaryElementDist.h \ -reinit/BoundaryElementEdgeDist.h \ -reinit/BoundaryElementLevelSetDist.h \ -reinit/BoundaryElementNormalDist.h \ -reinit/BoundaryElementTopDist.h \ -reinit/ElementLevelSet.h \ -reinit/ElementUpdate.h \ -reinit/ElementUpdate_2d.h \ -reinit/ElementUpdate_3d.h \ -reinit/HL_SignedDist.h \ -reinit/HL_SignedDistBornemann.h \ -reinit/HL_SignedDistTraverse.h \ -reinit/NormEps.h \ -reinit/VelocityExt.h \ -reinit/VelocityExtFromVelocityField.h \ -time/RosenbrockAdaptInstationary.h \ -time/RosenbrockStationary.h \ -time/RosenbrockMethod.h - -libamdis_la_SOURCES = \ -$(PARALLEL_AMDIS_SOURCES) \ -AdaptBase.cc \ -AdaptInfo.cc \ -AdaptInstationary.cc \ -AdaptStationary.cc \ -Assembler.cc \ -BasisFunction.cc \ -Boundary.cc \ -BoundaryManager.cc \ -Cholesky.cc \ -CoarseningManager.cc \ -CoarseningManager1d.cc \ -CoarseningManager2d.cc \ -CoarseningManager3d.cc \ -ComponentTraverseInfo.cc \ -CreatorMap.cc \ -DOFAdmin.cc \ -DOFIndexed.cc \ -DOFMatrix.cc \ -DOFVector.cc \ -Debug.cc \ -DirichletBC.cc \ -DualTraverse.cc \ -ElInfo.cc \ -ElInfo1d.cc \ -ElInfo2d.cc \ -ElInfo3d.cc \ -ElInfoStack.cc \ -Element.cc \ -ElementData.cc \ -ElementDofIterator.cc \ -Estimator.cc \ -FiniteElemSpace.cc \ -FirstOrderAssembler.cc \ -FirstOrderTerm.cc \ -FixVec.cc \ -Global.cc \ -GlobalDOFNumbering.cc \ -GlobalElementNumbering.cc \ -Lagrange.cc \ -LeafData.cc \ -Line.cc \ -MacroElement.cc \ -Marker.cc \ -Mesh.cc \ -MeshStructure.cc \ -NonLinUpdater.cc \ -Operator.cc \ -OperatorTerm.cc \ -Parameters.cc \ -Parametric.cc \ -PeriodicBC.cc \ -ProblemImplicit.cc \ -ProblemInstat.cc \ -ProblemInterpolScal.cc \ -ProblemInterpolVec.cc \ -ProblemNonLin.cc \ -ProblemScal.cc \ -ProblemVec.cc \ -ProblemVecDbg.cc \ -Projection.cc \ -QPInfo.cc \ -QPsiPhi.cc \ -Quadrature.cc \ -RCNeighbourList.cc \ -Recovery.cc \ -RecoveryEstimator.cc \ -RefinementManager.cc \ -RefinementManager1d.cc \ -RefinementManager2d.cc \ -RefinementManager3d.cc \ -ResidualEstimator.cc \ -RobinBC.cc \ -ScalableQuadrature.cc \ -SecondOrderAssembler.cc \ -SecondOrderTerm.cc \ -Serializer.cc \ -StandardProblemIteration.cc \ -SubAssembler.cc \ -SubElInfo.cc \ -SubQuadrature.cc \ -SurfaceQuadrature.cc \ -Tetrahedron.cc \ -Traverse.cc \ -Triangle.cc \ -VertexVector.cc \ -ZeroOrderAssembler.cc \ -ZeroOrderTerm.cc \ -io/ArhReader.cc \ -io/ArhWriter.cc \ -io/DataCollector.cc \ -io/DofWriter.cc \ -io/ElementFileWriter.cc \ -io/FileWriter.cc \ -io/GNUPlotWriter.cc \ -io/MacroInfo.cc \ -io/MacroReader.cc \ -io/MacroWriter.cc \ -io/PngWriter.cc \ -io/PovrayWriter.cc \ -io/ValueReader.cc \ -io/ValueWriter.cc \ -io/VtkWriter.cc \ -parallel/InteriorBoundary.cc \ -time/RosenbrockAdaptInstationary.cc \ -time/RosenbrockMethod.cc \ -time/RosenbrockStationary.cc - - - -libcompositeFEM_la_CXXFLAGS = $(libamdis_la_CXXFLAGS) - -libcompositeFEM_la_SOURCES = \ -compositeFEM/CFE_Integration.cc \ -compositeFEM/CFE_NormAndErrorFcts.cc \ -compositeFEM/CompositeFEMMethods.cc \ -compositeFEM/CompositeFEMOperator.cc \ -compositeFEM/ElementLevelSet.cc \ -compositeFEM/LevelSetAdaptMesh.cc \ -compositeFEM/PenaltyOperator.cc \ -compositeFEM/SubElementAssembler.cc \ -compositeFEM/SubPolytope.cc - -libreinit_la_CXXFLAGS = $(libamdis_la_CXXFLAGS) -libreinit_la_SOURCES = \ -reinit/BoundaryElementDist.cc \ -reinit/BoundaryElementEdgeDist.cc \ -reinit/BoundaryElementLevelSetDist.cc \ -reinit/BoundaryElementNormalDist.cc \ -reinit/BoundaryElementTopDist.cc \ -reinit/ElementLevelSet.cc \ -reinit/ElementUpdate_2d.cc \ -reinit/ElementUpdate_3d.cc \ -reinit/HL_SignedDist.cc \ -reinit/HL_SignedDistTraverse.cc \ -reinit/NormEps.cc \ -reinit/VelocityExt.cc \ -reinit/VelocityExtFromVelocityField.cc \ No newline at end of file diff --git a/AMDiS/src/Makefile.in b/AMDiS/src/Makefile.in deleted file mode 100644 index c0502928dccb0cdd015cdae92c01f4dbf1b0675b..0000000000000000000000000000000000000000 --- a/AMDiS/src/Makefile.in +++ /dev/null @@ -1,2188 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 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@ - - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -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 = : -build_triplet = @build@ -host_triplet = @host@ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@am__append_1 = \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ parallel/CheckerPartitioner.cc \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ parallel/ElementObjectData.cc \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ parallel/MeshDistributor.cc \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ parallel/MeshManipulation.cc \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ parallel/MeshPartitioner.cc \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ parallel/MpiHelper.cc \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ parallel/ParallelDebug.cc \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ parallel/ParallelProblemStatBase.cc \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ parallel/ParMetisPartitioner.cc \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ parallel/PetscProblemStat.cc \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ parallel/PetscSolver.cc \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ parallel/PetscSolverGlobalMatrix.cc \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ parallel/PetscSolverSchur.cc \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ parallel/StdMpi.cc - -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@am__append_2 = -DHAVE_PARALLEL_DOMAIN_AMDIS=1 -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@am__append_3 = -I$(PARMETIS_DIR) \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ -I$(PETSC_DIR)/include \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ -I$(PETSC_DIR)/$(PETSC_ARCH)/include \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ -I$(LIB_DIR)/zoltan_build/include -@USE_ZOLTAN_TRUE@am__append_4 = -DHAVE_ZOLTAN -@USE_ZOLTAN_TRUE@am__append_5 = parallel/ZoltanPartitioner.cc -@USE_PETSC_DEV_TRUE@am__append_6 = -DHAVE_PETSC_DEV -@ENABLE_UMFPACK_TRUE@am__append_7 = -DHAVE_UMFPACK=1 -DMTL_HAS_UMFPACK -@ENABLE_UMFPACK_TRUE@am__append_8 = -I$(LIB_DIR)/UFconfig \ -@ENABLE_UMFPACK_TRUE@ -I$(LIB_DIR)/AMD/Include \ -@ENABLE_UMFPACK_TRUE@ -I$(LIB_DIR)/UMFPACK/Include - -@ENABLE_MKL_TRUE@am__append_9 = -DHAVE_MKL=1 -I${MKL_INC} -@ENABLE_DUNE_TRUE@am__append_10 = -DHAVE_DUNE=1 -@ENABLE_DUNE_TRUE@am__append_11 = -I$(DUNE_DIR) -@ENABLE_BOOST_TRUE@am__append_12 = -DHAVE_BOOST=1 -@AMDIS_DEBUG_TRUE@am__append_13 = -g -O0 -Wall -DDEBUG=1 $(OPENMP_FLAG) $(INCLUDES) #-pedantic -@AMDIS_DEBUG_FALSE@am__append_14 = -O3 -Wall -DDEBUG=0 -DNDEBUG $(OPENMP_FLAG) -ftemplate-depth-100 $(INCLUDES) #-pedantic -subdir = src -DIST_COMMON = $(nobase_include_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in AUTHORS NEWS -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_CLEAN_FILES = -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 = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" -libLTLIBRARIES_INSTALL = $(INSTALL) -LTLIBRARIES = $(lib_LTLIBRARIES) -libamdis_la_LIBADD = -am__libamdis_la_SOURCES_DIST = parallel/CheckerPartitioner.cc \ - parallel/ElementObjectData.cc parallel/MeshDistributor.cc \ - parallel/MeshManipulation.cc parallel/MeshPartitioner.cc \ - parallel/MpiHelper.cc parallel/ParallelDebug.cc \ - parallel/ParallelProblemStatBase.cc \ - parallel/ParMetisPartitioner.cc parallel/PetscProblemStat.cc \ - parallel/PetscSolver.cc parallel/PetscSolverGlobalMatrix.cc \ - parallel/PetscSolverSchur.cc parallel/StdMpi.cc \ - parallel/ZoltanPartitioner.cc AdaptBase.cc AdaptInfo.cc \ - AdaptInstationary.cc AdaptStationary.cc Assembler.cc \ - BasisFunction.cc Boundary.cc BoundaryManager.cc Cholesky.cc \ - CoarseningManager.cc CoarseningManager1d.cc \ - CoarseningManager2d.cc CoarseningManager3d.cc \ - ComponentTraverseInfo.cc CreatorMap.cc DOFAdmin.cc \ - DOFIndexed.cc DOFMatrix.cc DOFVector.cc Debug.cc \ - DirichletBC.cc DualTraverse.cc ElInfo.cc ElInfo1d.cc \ - ElInfo2d.cc ElInfo3d.cc ElInfoStack.cc Element.cc \ - ElementData.cc ElementDofIterator.cc Estimator.cc \ - FiniteElemSpace.cc FirstOrderAssembler.cc FirstOrderTerm.cc \ - FixVec.cc Global.cc GlobalDOFNumbering.cc \ - GlobalElementNumbering.cc Lagrange.cc LeafData.cc Line.cc \ - MacroElement.cc Marker.cc Mesh.cc MeshStructure.cc \ - NonLinUpdater.cc Operator.cc OperatorTerm.cc Parameters.cc \ - Parametric.cc PeriodicBC.cc ProblemImplicit.cc \ - ProblemInstat.cc ProblemInterpolScal.cc ProblemInterpolVec.cc \ - ProblemNonLin.cc ProblemScal.cc ProblemVec.cc ProblemVecDbg.cc \ - Projection.cc QPInfo.cc QPsiPhi.cc Quadrature.cc \ - RCNeighbourList.cc Recovery.cc RecoveryEstimator.cc \ - RefinementManager.cc RefinementManager1d.cc \ - RefinementManager2d.cc RefinementManager3d.cc \ - ResidualEstimator.cc RobinBC.cc ScalableQuadrature.cc \ - SecondOrderAssembler.cc SecondOrderTerm.cc Serializer.cc \ - StandardProblemIteration.cc SubAssembler.cc SubElInfo.cc \ - SubQuadrature.cc SurfaceQuadrature.cc Tetrahedron.cc \ - Traverse.cc Triangle.cc VertexVector.cc ZeroOrderAssembler.cc \ - ZeroOrderTerm.cc io/ArhReader.cc io/ArhWriter.cc \ - io/DataCollector.cc io/DofWriter.cc io/ElementFileWriter.cc \ - io/FileWriter.cc io/GNUPlotWriter.cc io/MacroInfo.cc \ - io/MacroReader.cc io/MacroWriter.cc io/PngWriter.cc \ - io/PovrayWriter.cc io/ValueReader.cc io/ValueWriter.cc \ - io/VtkWriter.cc parallel/InteriorBoundary.cc \ - time/RosenbrockAdaptInstationary.cc time/RosenbrockMethod.cc \ - time/RosenbrockStationary.cc -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@am__objects_1 = libamdis_la-CheckerPartitioner.lo \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ libamdis_la-ElementObjectData.lo \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ libamdis_la-MeshDistributor.lo \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ libamdis_la-MeshManipulation.lo \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ libamdis_la-MeshPartitioner.lo \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ libamdis_la-MpiHelper.lo \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ libamdis_la-ParallelDebug.lo \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ libamdis_la-ParallelProblemStatBase.lo \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ libamdis_la-ParMetisPartitioner.lo \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ libamdis_la-PetscProblemStat.lo \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ libamdis_la-PetscSolver.lo \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ libamdis_la-PetscSolverGlobalMatrix.lo \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ libamdis_la-PetscSolverSchur.lo \ -@USE_PARALLEL_DOMAIN_AMDIS_TRUE@ libamdis_la-StdMpi.lo -@USE_ZOLTAN_TRUE@am__objects_2 = libamdis_la-ZoltanPartitioner.lo -am__objects_3 = $(am__objects_1) $(am__objects_2) -am_libamdis_la_OBJECTS = $(am__objects_3) libamdis_la-AdaptBase.lo \ - libamdis_la-AdaptInfo.lo libamdis_la-AdaptInstationary.lo \ - libamdis_la-AdaptStationary.lo libamdis_la-Assembler.lo \ - libamdis_la-BasisFunction.lo libamdis_la-Boundary.lo \ - libamdis_la-BoundaryManager.lo libamdis_la-Cholesky.lo \ - libamdis_la-CoarseningManager.lo \ - libamdis_la-CoarseningManager1d.lo \ - libamdis_la-CoarseningManager2d.lo \ - libamdis_la-CoarseningManager3d.lo \ - libamdis_la-ComponentTraverseInfo.lo libamdis_la-CreatorMap.lo \ - libamdis_la-DOFAdmin.lo libamdis_la-DOFIndexed.lo \ - libamdis_la-DOFMatrix.lo libamdis_la-DOFVector.lo \ - libamdis_la-Debug.lo libamdis_la-DirichletBC.lo \ - libamdis_la-DualTraverse.lo libamdis_la-ElInfo.lo \ - libamdis_la-ElInfo1d.lo libamdis_la-ElInfo2d.lo \ - libamdis_la-ElInfo3d.lo libamdis_la-ElInfoStack.lo \ - libamdis_la-Element.lo libamdis_la-ElementData.lo \ - libamdis_la-ElementDofIterator.lo libamdis_la-Estimator.lo \ - libamdis_la-FiniteElemSpace.lo \ - libamdis_la-FirstOrderAssembler.lo \ - libamdis_la-FirstOrderTerm.lo libamdis_la-FixVec.lo \ - libamdis_la-Global.lo libamdis_la-GlobalDOFNumbering.lo \ - libamdis_la-GlobalElementNumbering.lo libamdis_la-Lagrange.lo \ - libamdis_la-LeafData.lo libamdis_la-Line.lo \ - libamdis_la-MacroElement.lo libamdis_la-Marker.lo \ - libamdis_la-Mesh.lo libamdis_la-MeshStructure.lo \ - libamdis_la-NonLinUpdater.lo libamdis_la-Operator.lo \ - libamdis_la-OperatorTerm.lo libamdis_la-Parameters.lo \ - libamdis_la-Parametric.lo libamdis_la-PeriodicBC.lo \ - libamdis_la-ProblemImplicit.lo libamdis_la-ProblemInstat.lo \ - libamdis_la-ProblemInterpolScal.lo \ - libamdis_la-ProblemInterpolVec.lo libamdis_la-ProblemNonLin.lo \ - libamdis_la-ProblemScal.lo libamdis_la-ProblemVec.lo \ - libamdis_la-ProblemVecDbg.lo libamdis_la-Projection.lo \ - libamdis_la-QPInfo.lo libamdis_la-QPsiPhi.lo \ - libamdis_la-Quadrature.lo libamdis_la-RCNeighbourList.lo \ - libamdis_la-Recovery.lo libamdis_la-RecoveryEstimator.lo \ - libamdis_la-RefinementManager.lo \ - libamdis_la-RefinementManager1d.lo \ - libamdis_la-RefinementManager2d.lo \ - libamdis_la-RefinementManager3d.lo \ - libamdis_la-ResidualEstimator.lo libamdis_la-RobinBC.lo \ - libamdis_la-ScalableQuadrature.lo \ - libamdis_la-SecondOrderAssembler.lo \ - libamdis_la-SecondOrderTerm.lo libamdis_la-Serializer.lo \ - libamdis_la-StandardProblemIteration.lo \ - libamdis_la-SubAssembler.lo libamdis_la-SubElInfo.lo \ - libamdis_la-SubQuadrature.lo libamdis_la-SurfaceQuadrature.lo \ - libamdis_la-Tetrahedron.lo libamdis_la-Traverse.lo \ - libamdis_la-Triangle.lo libamdis_la-VertexVector.lo \ - libamdis_la-ZeroOrderAssembler.lo libamdis_la-ZeroOrderTerm.lo \ - libamdis_la-ArhReader.lo libamdis_la-ArhWriter.lo \ - libamdis_la-DataCollector.lo libamdis_la-DofWriter.lo \ - libamdis_la-ElementFileWriter.lo libamdis_la-FileWriter.lo \ - libamdis_la-GNUPlotWriter.lo libamdis_la-MacroInfo.lo \ - libamdis_la-MacroReader.lo libamdis_la-MacroWriter.lo \ - libamdis_la-PngWriter.lo libamdis_la-PovrayWriter.lo \ - libamdis_la-ValueReader.lo libamdis_la-ValueWriter.lo \ - libamdis_la-VtkWriter.lo libamdis_la-InteriorBoundary.lo \ - libamdis_la-RosenbrockAdaptInstationary.lo \ - libamdis_la-RosenbrockMethod.lo \ - libamdis_la-RosenbrockStationary.lo -libamdis_la_OBJECTS = $(am_libamdis_la_OBJECTS) -libcompositeFEM_la_LIBADD = -am_libcompositeFEM_la_OBJECTS = libcompositeFEM_la-CFE_Integration.lo \ - libcompositeFEM_la-CFE_NormAndErrorFcts.lo \ - libcompositeFEM_la-CompositeFEMMethods.lo \ - libcompositeFEM_la-CompositeFEMOperator.lo \ - libcompositeFEM_la-ElementLevelSet.lo \ - libcompositeFEM_la-LevelSetAdaptMesh.lo \ - libcompositeFEM_la-PenaltyOperator.lo \ - libcompositeFEM_la-SubElementAssembler.lo \ - libcompositeFEM_la-SubPolytope.lo -libcompositeFEM_la_OBJECTS = $(am_libcompositeFEM_la_OBJECTS) -libreinit_la_LIBADD = -am_libreinit_la_OBJECTS = libreinit_la-BoundaryElementDist.lo \ - libreinit_la-BoundaryElementEdgeDist.lo \ - libreinit_la-BoundaryElementLevelSetDist.lo \ - libreinit_la-BoundaryElementNormalDist.lo \ - libreinit_la-BoundaryElementTopDist.lo \ - libreinit_la-ElementLevelSet.lo \ - libreinit_la-ElementUpdate_2d.lo \ - libreinit_la-ElementUpdate_3d.lo libreinit_la-HL_SignedDist.lo \ - libreinit_la-HL_SignedDistTraverse.lo libreinit_la-NormEps.lo \ - libreinit_la-VelocityExt.lo \ - libreinit_la-VelocityExtFromVelocityField.lo -libreinit_la_OBJECTS = $(am_libreinit_la_OBJECTS) -DEFAULT_INCLUDES = -I. -I$(srcdir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \ - $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -SOURCES = $(libamdis_la_SOURCES) $(libcompositeFEM_la_SOURCES) \ - $(libreinit_la_SOURCES) -DIST_SOURCES = $(am__libamdis_la_SOURCES_DIST) \ - $(libcompositeFEM_la_SOURCES) $(libreinit_la_SOURCES) -nobase_includeHEADERS_INSTALL = $(install_sh_DATA) -HEADERS = $(nobase_include_HEADERS) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMDIS_DEBUG_FALSE = @AMDIS_DEBUG_FALSE@ -AMDIS_DEBUG_TRUE = @AMDIS_DEBUG_TRUE@ -AMDIS_INTEL_FALSE = @AMDIS_INTEL_FALSE@ -AMDIS_INTEL_TRUE = @AMDIS_INTEL_TRUE@ -AMDIS_OPENMP_FALSE = @AMDIS_OPENMP_FALSE@ -AMDIS_OPENMP_TRUE = @AMDIS_OPENMP_TRUE@ -AMTAR = @AMTAR@ -AR = @AR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DUNE_DIR = @DUNE_DIR@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -ENABLE_BOOST_FALSE = @ENABLE_BOOST_FALSE@ -ENABLE_BOOST_TRUE = @ENABLE_BOOST_TRUE@ -ENABLE_DUNE_FALSE = @ENABLE_DUNE_FALSE@ -ENABLE_DUNE_TRUE = @ENABLE_DUNE_TRUE@ -ENABLE_MKL_FALSE = @ENABLE_MKL_FALSE@ -ENABLE_MKL_TRUE = @ENABLE_MKL_TRUE@ -ENABLE_UMFPACK_FALSE = @ENABLE_UMFPACK_FALSE@ -ENABLE_UMFPACK_TRUE = @ENABLE_UMFPACK_TRUE@ -EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ -MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ -MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ -MAKEINFO = @MAKEINFO@ -MPI_DIR = @MPI_DIR@ -OBJEXT = @OBJEXT@ -OPENMP_FLAG = @OPENMP_FLAG@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PETSC_DIR = @PETSC_DIR@ -RANLIB = @RANLIB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -USE_PARALLEL_AMDIS_FALSE = @USE_PARALLEL_AMDIS_FALSE@ -USE_PARALLEL_AMDIS_TRUE = @USE_PARALLEL_AMDIS_TRUE@ -USE_PARALLEL_DOMAIN_AMDIS_FALSE = @USE_PARALLEL_DOMAIN_AMDIS_FALSE@ -USE_PARALLEL_DOMAIN_AMDIS_TRUE = @USE_PARALLEL_DOMAIN_AMDIS_TRUE@ -USE_PETSC_DEV_FALSE = @USE_PETSC_DEV_FALSE@ -USE_PETSC_DEV_TRUE = @USE_PETSC_DEV_TRUE@ -USE_ZOLTAN_FALSE = @USE_ZOLTAN_FALSE@ -USE_ZOLTAN_TRUE = @USE_ZOLTAN_TRUE@ -VERSION = @VERSION@ -ZOLTAN_DIR = @ZOLTAN_DIR@ -ac_ct_AR = @ac_ct_AR@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ -ac_ct_RANLIB = @ac_ct_RANLIB@ -ac_ct_STRIP = @ac_ct_STRIP@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -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 = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -lib_LTLIBRARIES = libamdis.la libcompositeFEM.la libreinit.la -LIB_DIR = ../lib -PARALLEL_DIR = $(SOURCE_DIR) -PARMETIS_DIR = ../lib/ParMetis-3.1 -AMDIS_INCLUDES = $(am__append_3) $(am__append_8) $(am__append_11) -libamdis_la_CXXFLAGS = $(am__append_2) $(am__append_4) $(am__append_6) \ - $(am__append_7) $(am__append_9) $(am__append_10) \ - $(am__append_12) $(am__append_13) $(am__append_14) -PARALLEL_AMDIS_SOURCES = $(am__append_1) $(am__append_5) -PARALLEL_INCLUDES = -TEMPLATE_INCLUDES = -I../lib/mtl4 -INCLUDES = $(AMDIS_INCLUDES) $(PARALLEL_INCLUDES) $(TEMPLATE_INCLUDES) -nobase_include_HEADERS = \ -AMDiS.h \ -AMDiS_fwd.h \ -AbstractFunction.h \ -AdaptBase.h \ -AdaptInfo.h \ -AdaptInstationary.h \ -AdaptStationary.h \ -Assembler.h \ -BallProject.h \ -BasisFunction.h \ -Boundary.h \ -BoundaryCondition.h \ -BoundaryManager.h \ -Cholesky.h \ -CoarseningManager.h \ -CoarseningManager1d.h \ -CoarseningManager2d.h \ -CoarseningManager3d.h \ -ComponentTraverseInfo.h \ -CouplingTimeInterface.h \ -CreatorInterface.h \ -CreatorMap.h \ -CreatorMap.hh \ -CylinderProject.h \ -DOFAdmin.h \ -DOFContainer.h \ -DOFIndexed.h \ -DOFIterator.h \ -DOFMatrix.h \ -DOFVector.h \ -DOFVector.hh \ -Debug.h \ -DirichletBC.h \ -DualTraverse.h \ -ElInfo.h \ -ElInfo1d.h \ -ElInfo2d.h \ -ElInfo3d.h \ -ElInfoStack.h \ -Element.h \ -Element.hh \ -ElementData.h \ -ElementDofIterator.h \ -ElementFunction.h \ -ElementInfo.h \ -ElementRegion_ED.h \ -EmptyElementData.h \ -Error.h \ -Error.hh \ -Estimator.h \ -FiniteElemSpace.h \ -FirstOrderAssembler.h \ -FirstOrderTerm.h \ -FixVec.h \ -FixVec.hh \ -FixVecConvert.h \ -Flag.h \ -Global.h \ -GlobalDOFNumbering.h \ -GlobalElementNumbering.h \ -ITL_OEMSolver.h \ -ITL_Preconditioner.h \ -ITL_Solver.h \ -Lagrange.h \ -LeafData.h \ -Line.h \ -MacroElement.h \ -Marker.h \ -MathFunctions.h \ -MatrixVector.h \ -Mesh.h \ -MeshStructure.h \ -MeshStructure_ED.h \ -Newton.h \ -Newton.hh \ -NewtonS.h \ -NewtonS.hh \ -NonLinSolver.h \ -NonLinSolver.hh \ -NonLinUpdater.h \ -OEMSolver.h \ -Operator.h \ -Operator.hh \ -OperatorTerm.h \ -OperatorTerm.hh \ -Parameters.h \ -Parametric.h \ -PeriodicBC.h \ -PeriodicConnection.h \ -PeriodicInfo.h \ -PeriodicMap.h \ -ProblemImplicit.h \ -ProblemInstat.h \ -ProblemInterpolScal.h \ -ProblemInterpolVec.h \ -ProblemIterationInterface.h \ -ProblemNonLin.h \ -ProblemScal.h \ -ProblemStatBase.h \ -ProblemTimeInterface.h \ -ProblemVec.h \ -ProblemVecDbg.h \ -Projection.h \ -QPInfo.h \ -QPsiPhi.h \ -Quadrature.h \ -Quadrature.hh \ -RCNeighbourList.h \ -Recovery.h \ -RecoveryEstimator.h \ -RefinementManager.h \ -RefinementManager1d.h \ -RefinementManager2d.h \ -RefinementManager3d.h \ -ResidualEstimator.h \ -RobinBC.h \ -RobinBC.hh \ -ScalableQuadrature.h \ -SecondOrderAssembler.h \ -SecondOrderTerm.h \ -Serializable.h \ -Serializer.h \ -SolutionDataStorage.h \ -SolutionDataStorage.hh \ -SolverMatrix.h \ -StandardProblemIteration.h \ -SubAssembler.h \ -SubAssembler.hh \ -SubElInfo.h \ -SubQuadrature.h \ -SurfaceAssembler.h \ -SurfaceOperator.h \ -SurfaceQuadrature.h \ -SurfaceRegion_ED.h \ -SystemVector.h \ -Tetrahedron.h \ -TimedObject.h \ -Traverse.h \ -Triangle.h \ -UmfPackSolver.h \ -VertexInfo.h \ -VertexVector.h \ -ZeroOrderAssembler.h \ -ZeroOrderTerm.h \ -compositeFEM/CFE_Integration.h \ -compositeFEM/CFE_NormAndErrorFcts.h \ -compositeFEM/CompositeFEMMethods.h \ -compositeFEM/CompositeFEMOperator.h \ -compositeFEM/ElementLevelSet.h \ -compositeFEM/LevelSetAdaptMesh.h \ -compositeFEM/PenaltyOperator.h \ -compositeFEM/SubElementAssembler.h \ -compositeFEM/SubPolytope.h \ -compositeFEM/TranslateLsFct.h \ -compositeFEM/compositeFEM.h \ -io/ArhReader.h \ -io/ArhWriter.h \ -io/DataCollector.h \ -io/DofWriter.h \ -io/ElementFileWriter.h \ -io/FileWriter.h \ -io/GNUPlotWriter.h \ -io/GridWriter.h \ -io/GridWriter.hh \ -io/MacroInfo.h \ -io/MacroReader.h \ -io/MacroWriter.h \ -io/PngWriter.h \ -io/PovrayWriter.h \ -io/ValueReader.h \ -io/ValueWriter.h \ -io/VtkWriter.h \ -io/VtkWriter.hh \ -itl/minres.hpp \ -parallel/CheckerPartitioner.h \ -parallel/ElementObjectData.h \ -parallel/InteriorBoundary.h \ -parallel/MeshDistributor.h \ -parallel/MeshManipulation.h \ -parallel/MeshPartitioner.h \ -parallel/MpiHelper.h \ -parallel/ParallelDebug.h \ -parallel/ParallelProblemStatBase.h \ -parallel/ParMetisPartitioner.h \ -parallel/PetscProblemStat.h \ -parallel/PetscSolver.h \ -parallel/PetscSolverGlobalMatrix.h \ -parallel/PetscSolverSchur.h \ -parallel/StdMpi.h \ -parallel/ZoltanPartitioner.h \ -reinit/BoundaryElementDist.h \ -reinit/BoundaryElementEdgeDist.h \ -reinit/BoundaryElementLevelSetDist.h \ -reinit/BoundaryElementNormalDist.h \ -reinit/BoundaryElementTopDist.h \ -reinit/ElementLevelSet.h \ -reinit/ElementUpdate.h \ -reinit/ElementUpdate_2d.h \ -reinit/ElementUpdate_3d.h \ -reinit/HL_SignedDist.h \ -reinit/HL_SignedDistBornemann.h \ -reinit/HL_SignedDistTraverse.h \ -reinit/NormEps.h \ -reinit/VelocityExt.h \ -reinit/VelocityExtFromVelocityField.h \ -time/RosenbrockAdaptInstationary.h \ -time/RosenbrockStationary.h \ -time/RosenbrockMethod.h - -libamdis_la_SOURCES = \ -$(PARALLEL_AMDIS_SOURCES) \ -AdaptBase.cc \ -AdaptInfo.cc \ -AdaptInstationary.cc \ -AdaptStationary.cc \ -Assembler.cc \ -BasisFunction.cc \ -Boundary.cc \ -BoundaryManager.cc \ -Cholesky.cc \ -CoarseningManager.cc \ -CoarseningManager1d.cc \ -CoarseningManager2d.cc \ -CoarseningManager3d.cc \ -ComponentTraverseInfo.cc \ -CreatorMap.cc \ -DOFAdmin.cc \ -DOFIndexed.cc \ -DOFMatrix.cc \ -DOFVector.cc \ -Debug.cc \ -DirichletBC.cc \ -DualTraverse.cc \ -ElInfo.cc \ -ElInfo1d.cc \ -ElInfo2d.cc \ -ElInfo3d.cc \ -ElInfoStack.cc \ -Element.cc \ -ElementData.cc \ -ElementDofIterator.cc \ -Estimator.cc \ -FiniteElemSpace.cc \ -FirstOrderAssembler.cc \ -FirstOrderTerm.cc \ -FixVec.cc \ -Global.cc \ -GlobalDOFNumbering.cc \ -GlobalElementNumbering.cc \ -Lagrange.cc \ -LeafData.cc \ -Line.cc \ -MacroElement.cc \ -Marker.cc \ -Mesh.cc \ -MeshStructure.cc \ -NonLinUpdater.cc \ -Operator.cc \ -OperatorTerm.cc \ -Parameters.cc \ -Parametric.cc \ -PeriodicBC.cc \ -ProblemImplicit.cc \ -ProblemInstat.cc \ -ProblemInterpolScal.cc \ -ProblemInterpolVec.cc \ -ProblemNonLin.cc \ -ProblemScal.cc \ -ProblemVec.cc \ -ProblemVecDbg.cc \ -Projection.cc \ -QPInfo.cc \ -QPsiPhi.cc \ -Quadrature.cc \ -RCNeighbourList.cc \ -Recovery.cc \ -RecoveryEstimator.cc \ -RefinementManager.cc \ -RefinementManager1d.cc \ -RefinementManager2d.cc \ -RefinementManager3d.cc \ -ResidualEstimator.cc \ -RobinBC.cc \ -ScalableQuadrature.cc \ -SecondOrderAssembler.cc \ -SecondOrderTerm.cc \ -Serializer.cc \ -StandardProblemIteration.cc \ -SubAssembler.cc \ -SubElInfo.cc \ -SubQuadrature.cc \ -SurfaceQuadrature.cc \ -Tetrahedron.cc \ -Traverse.cc \ -Triangle.cc \ -VertexVector.cc \ -ZeroOrderAssembler.cc \ -ZeroOrderTerm.cc \ -io/ArhReader.cc \ -io/ArhWriter.cc \ -io/DataCollector.cc \ -io/DofWriter.cc \ -io/ElementFileWriter.cc \ -io/FileWriter.cc \ -io/GNUPlotWriter.cc \ -io/MacroInfo.cc \ -io/MacroReader.cc \ -io/MacroWriter.cc \ -io/PngWriter.cc \ -io/PovrayWriter.cc \ -io/ValueReader.cc \ -io/ValueWriter.cc \ -io/VtkWriter.cc \ -parallel/InteriorBoundary.cc \ -time/RosenbrockAdaptInstationary.cc \ -time/RosenbrockMethod.cc \ -time/RosenbrockStationary.cc - -libcompositeFEM_la_CXXFLAGS = $(libamdis_la_CXXFLAGS) -libcompositeFEM_la_SOURCES = \ -compositeFEM/CFE_Integration.cc \ -compositeFEM/CFE_NormAndErrorFcts.cc \ -compositeFEM/CompositeFEMMethods.cc \ -compositeFEM/CompositeFEMOperator.cc \ -compositeFEM/ElementLevelSet.cc \ -compositeFEM/LevelSetAdaptMesh.cc \ -compositeFEM/PenaltyOperator.cc \ -compositeFEM/SubElementAssembler.cc \ -compositeFEM/SubPolytope.cc - -libreinit_la_CXXFLAGS = $(libamdis_la_CXXFLAGS) -libreinit_la_SOURCES = \ -reinit/BoundaryElementDist.cc \ -reinit/BoundaryElementEdgeDist.cc \ -reinit/BoundaryElementLevelSetDist.cc \ -reinit/BoundaryElementNormalDist.cc \ -reinit/BoundaryElementTopDist.cc \ -reinit/ElementLevelSet.cc \ -reinit/ElementUpdate_2d.cc \ -reinit/ElementUpdate_3d.cc \ -reinit/HL_SignedDist.cc \ -reinit/HL_SignedDistTraverse.cc \ -reinit/NormEps.cc \ -reinit/VelocityExt.cc \ -reinit/VelocityExtFromVelocityField.cc - -all: all-am - -.SUFFIXES: -.SUFFIXES: .cc .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu src/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - f=$(am__strip_dir) \ - echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ - $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ - else :; fi; \ - done - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - p=$(am__strip_dir) \ - echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ - $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -libamdis.la: $(libamdis_la_OBJECTS) $(libamdis_la_DEPENDENCIES) - $(CXXLINK) -rpath $(libdir) $(libamdis_la_LDFLAGS) $(libamdis_la_OBJECTS) $(libamdis_la_LIBADD) $(LIBS) -libcompositeFEM.la: $(libcompositeFEM_la_OBJECTS) $(libcompositeFEM_la_DEPENDENCIES) - $(CXXLINK) -rpath $(libdir) $(libcompositeFEM_la_LDFLAGS) $(libcompositeFEM_la_OBJECTS) $(libcompositeFEM_la_LIBADD) $(LIBS) -libreinit.la: $(libreinit_la_OBJECTS) $(libreinit_la_DEPENDENCIES) - $(CXXLINK) -rpath $(libdir) $(libreinit_la_LDFLAGS) $(libreinit_la_OBJECTS) $(libreinit_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-AdaptBase.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-AdaptInfo.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-AdaptInstationary.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-AdaptStationary.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ArhReader.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ArhWriter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Assembler.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-BasisFunction.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Boundary.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-BoundaryManager.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-CheckerPartitioner.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Cholesky.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-CoarseningManager.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-CoarseningManager1d.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-CoarseningManager2d.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-CoarseningManager3d.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ComponentTraverseInfo.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-CreatorMap.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-DOFAdmin.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-DOFIndexed.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-DOFMatrix.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-DOFVector.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-DataCollector.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Debug.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-DirichletBC.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-DofWriter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-DualTraverse.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ElInfo.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ElInfo1d.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ElInfo2d.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ElInfo3d.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ElInfoStack.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Element.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ElementData.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ElementDofIterator.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ElementFileWriter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ElementObjectData.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Estimator.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-FileWriter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-FiniteElemSpace.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-FirstOrderAssembler.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-FirstOrderTerm.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-FixVec.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-GNUPlotWriter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Global.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-GlobalDOFNumbering.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-GlobalElementNumbering.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-InteriorBoundary.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Lagrange.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-LeafData.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Line.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-MacroElement.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-MacroInfo.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-MacroReader.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-MacroWriter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Marker.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Mesh.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-MeshDistributor.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-MeshManipulation.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-MeshPartitioner.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-MeshStructure.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-MpiHelper.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-NonLinUpdater.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Operator.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-OperatorTerm.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ParMetisPartitioner.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ParallelDebug.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ParallelProblemStatBase.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Parameters.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Parametric.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-PeriodicBC.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-PetscProblemStat.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-PetscSolver.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-PetscSolverGlobalMatrix.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-PetscSolverSchur.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-PngWriter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-PovrayWriter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ProblemImplicit.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ProblemInstat.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ProblemInterpolScal.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ProblemInterpolVec.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ProblemNonLin.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ProblemScal.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ProblemVec.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ProblemVecDbg.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Projection.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-QPInfo.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-QPsiPhi.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Quadrature.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-RCNeighbourList.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Recovery.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-RecoveryEstimator.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-RefinementManager.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-RefinementManager1d.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-RefinementManager2d.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-RefinementManager3d.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ResidualEstimator.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-RobinBC.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-RosenbrockAdaptInstationary.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-RosenbrockMethod.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-RosenbrockStationary.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ScalableQuadrature.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-SecondOrderAssembler.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-SecondOrderTerm.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Serializer.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-StandardProblemIteration.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-StdMpi.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-SubAssembler.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-SubElInfo.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-SubQuadrature.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-SurfaceQuadrature.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Tetrahedron.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Traverse.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-Triangle.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ValueReader.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ValueWriter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-VertexVector.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-VtkWriter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ZeroOrderAssembler.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ZeroOrderTerm.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libamdis_la-ZoltanPartitioner.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcompositeFEM_la-CFE_Integration.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcompositeFEM_la-CFE_NormAndErrorFcts.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcompositeFEM_la-CompositeFEMMethods.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcompositeFEM_la-CompositeFEMOperator.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcompositeFEM_la-ElementLevelSet.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcompositeFEM_la-LevelSetAdaptMesh.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcompositeFEM_la-PenaltyOperator.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcompositeFEM_la-SubElementAssembler.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcompositeFEM_la-SubPolytope.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libreinit_la-BoundaryElementDist.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libreinit_la-BoundaryElementEdgeDist.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libreinit_la-BoundaryElementLevelSetDist.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libreinit_la-BoundaryElementNormalDist.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libreinit_la-BoundaryElementTopDist.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libreinit_la-ElementLevelSet.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libreinit_la-ElementUpdate_2d.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libreinit_la-ElementUpdate_3d.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libreinit_la-HL_SignedDist.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libreinit_la-HL_SignedDistTraverse.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libreinit_la-NormEps.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libreinit_la-VelocityExt.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libreinit_la-VelocityExtFromVelocityField.Plo@am__quote@ - -.cc.o: -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@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 $@ $< - -.cc.obj: -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@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) '$<'` - -.cc.lo: -@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< - -libamdis_la-CheckerPartitioner.lo: parallel/CheckerPartitioner.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-CheckerPartitioner.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-CheckerPartitioner.Tpo" -c -o libamdis_la-CheckerPartitioner.lo `test -f 'parallel/CheckerPartitioner.cc' || echo '$(srcdir)/'`parallel/CheckerPartitioner.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-CheckerPartitioner.Tpo" "$(DEPDIR)/libamdis_la-CheckerPartitioner.Plo"; else rm -f "$(DEPDIR)/libamdis_la-CheckerPartitioner.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parallel/CheckerPartitioner.cc' object='libamdis_la-CheckerPartitioner.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-CheckerPartitioner.lo `test -f 'parallel/CheckerPartitioner.cc' || echo '$(srcdir)/'`parallel/CheckerPartitioner.cc - -libamdis_la-ElementObjectData.lo: parallel/ElementObjectData.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ElementObjectData.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ElementObjectData.Tpo" -c -o libamdis_la-ElementObjectData.lo `test -f 'parallel/ElementObjectData.cc' || echo '$(srcdir)/'`parallel/ElementObjectData.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ElementObjectData.Tpo" "$(DEPDIR)/libamdis_la-ElementObjectData.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ElementObjectData.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parallel/ElementObjectData.cc' object='libamdis_la-ElementObjectData.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ElementObjectData.lo `test -f 'parallel/ElementObjectData.cc' || echo '$(srcdir)/'`parallel/ElementObjectData.cc - -libamdis_la-MeshDistributor.lo: parallel/MeshDistributor.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-MeshDistributor.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-MeshDistributor.Tpo" -c -o libamdis_la-MeshDistributor.lo `test -f 'parallel/MeshDistributor.cc' || echo '$(srcdir)/'`parallel/MeshDistributor.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-MeshDistributor.Tpo" "$(DEPDIR)/libamdis_la-MeshDistributor.Plo"; else rm -f "$(DEPDIR)/libamdis_la-MeshDistributor.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parallel/MeshDistributor.cc' object='libamdis_la-MeshDistributor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-MeshDistributor.lo `test -f 'parallel/MeshDistributor.cc' || echo '$(srcdir)/'`parallel/MeshDistributor.cc - -libamdis_la-MeshManipulation.lo: parallel/MeshManipulation.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-MeshManipulation.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-MeshManipulation.Tpo" -c -o libamdis_la-MeshManipulation.lo `test -f 'parallel/MeshManipulation.cc' || echo '$(srcdir)/'`parallel/MeshManipulation.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-MeshManipulation.Tpo" "$(DEPDIR)/libamdis_la-MeshManipulation.Plo"; else rm -f "$(DEPDIR)/libamdis_la-MeshManipulation.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parallel/MeshManipulation.cc' object='libamdis_la-MeshManipulation.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-MeshManipulation.lo `test -f 'parallel/MeshManipulation.cc' || echo '$(srcdir)/'`parallel/MeshManipulation.cc - -libamdis_la-MeshPartitioner.lo: parallel/MeshPartitioner.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-MeshPartitioner.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-MeshPartitioner.Tpo" -c -o libamdis_la-MeshPartitioner.lo `test -f 'parallel/MeshPartitioner.cc' || echo '$(srcdir)/'`parallel/MeshPartitioner.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-MeshPartitioner.Tpo" "$(DEPDIR)/libamdis_la-MeshPartitioner.Plo"; else rm -f "$(DEPDIR)/libamdis_la-MeshPartitioner.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parallel/MeshPartitioner.cc' object='libamdis_la-MeshPartitioner.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-MeshPartitioner.lo `test -f 'parallel/MeshPartitioner.cc' || echo '$(srcdir)/'`parallel/MeshPartitioner.cc - -libamdis_la-MpiHelper.lo: parallel/MpiHelper.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-MpiHelper.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-MpiHelper.Tpo" -c -o libamdis_la-MpiHelper.lo `test -f 'parallel/MpiHelper.cc' || echo '$(srcdir)/'`parallel/MpiHelper.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-MpiHelper.Tpo" "$(DEPDIR)/libamdis_la-MpiHelper.Plo"; else rm -f "$(DEPDIR)/libamdis_la-MpiHelper.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parallel/MpiHelper.cc' object='libamdis_la-MpiHelper.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-MpiHelper.lo `test -f 'parallel/MpiHelper.cc' || echo '$(srcdir)/'`parallel/MpiHelper.cc - -libamdis_la-ParallelDebug.lo: parallel/ParallelDebug.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ParallelDebug.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ParallelDebug.Tpo" -c -o libamdis_la-ParallelDebug.lo `test -f 'parallel/ParallelDebug.cc' || echo '$(srcdir)/'`parallel/ParallelDebug.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ParallelDebug.Tpo" "$(DEPDIR)/libamdis_la-ParallelDebug.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ParallelDebug.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parallel/ParallelDebug.cc' object='libamdis_la-ParallelDebug.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ParallelDebug.lo `test -f 'parallel/ParallelDebug.cc' || echo '$(srcdir)/'`parallel/ParallelDebug.cc - -libamdis_la-ParallelProblemStatBase.lo: parallel/ParallelProblemStatBase.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ParallelProblemStatBase.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ParallelProblemStatBase.Tpo" -c -o libamdis_la-ParallelProblemStatBase.lo `test -f 'parallel/ParallelProblemStatBase.cc' || echo '$(srcdir)/'`parallel/ParallelProblemStatBase.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ParallelProblemStatBase.Tpo" "$(DEPDIR)/libamdis_la-ParallelProblemStatBase.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ParallelProblemStatBase.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parallel/ParallelProblemStatBase.cc' object='libamdis_la-ParallelProblemStatBase.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ParallelProblemStatBase.lo `test -f 'parallel/ParallelProblemStatBase.cc' || echo '$(srcdir)/'`parallel/ParallelProblemStatBase.cc - -libamdis_la-ParMetisPartitioner.lo: parallel/ParMetisPartitioner.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ParMetisPartitioner.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ParMetisPartitioner.Tpo" -c -o libamdis_la-ParMetisPartitioner.lo `test -f 'parallel/ParMetisPartitioner.cc' || echo '$(srcdir)/'`parallel/ParMetisPartitioner.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ParMetisPartitioner.Tpo" "$(DEPDIR)/libamdis_la-ParMetisPartitioner.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ParMetisPartitioner.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parallel/ParMetisPartitioner.cc' object='libamdis_la-ParMetisPartitioner.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ParMetisPartitioner.lo `test -f 'parallel/ParMetisPartitioner.cc' || echo '$(srcdir)/'`parallel/ParMetisPartitioner.cc - -libamdis_la-PetscProblemStat.lo: parallel/PetscProblemStat.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-PetscProblemStat.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-PetscProblemStat.Tpo" -c -o libamdis_la-PetscProblemStat.lo `test -f 'parallel/PetscProblemStat.cc' || echo '$(srcdir)/'`parallel/PetscProblemStat.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-PetscProblemStat.Tpo" "$(DEPDIR)/libamdis_la-PetscProblemStat.Plo"; else rm -f "$(DEPDIR)/libamdis_la-PetscProblemStat.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parallel/PetscProblemStat.cc' object='libamdis_la-PetscProblemStat.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-PetscProblemStat.lo `test -f 'parallel/PetscProblemStat.cc' || echo '$(srcdir)/'`parallel/PetscProblemStat.cc - -libamdis_la-PetscSolver.lo: parallel/PetscSolver.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-PetscSolver.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-PetscSolver.Tpo" -c -o libamdis_la-PetscSolver.lo `test -f 'parallel/PetscSolver.cc' || echo '$(srcdir)/'`parallel/PetscSolver.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-PetscSolver.Tpo" "$(DEPDIR)/libamdis_la-PetscSolver.Plo"; else rm -f "$(DEPDIR)/libamdis_la-PetscSolver.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parallel/PetscSolver.cc' object='libamdis_la-PetscSolver.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-PetscSolver.lo `test -f 'parallel/PetscSolver.cc' || echo '$(srcdir)/'`parallel/PetscSolver.cc - -libamdis_la-PetscSolverGlobalMatrix.lo: parallel/PetscSolverGlobalMatrix.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-PetscSolverGlobalMatrix.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-PetscSolverGlobalMatrix.Tpo" -c -o libamdis_la-PetscSolverGlobalMatrix.lo `test -f 'parallel/PetscSolverGlobalMatrix.cc' || echo '$(srcdir)/'`parallel/PetscSolverGlobalMatrix.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-PetscSolverGlobalMatrix.Tpo" "$(DEPDIR)/libamdis_la-PetscSolverGlobalMatrix.Plo"; else rm -f "$(DEPDIR)/libamdis_la-PetscSolverGlobalMatrix.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parallel/PetscSolverGlobalMatrix.cc' object='libamdis_la-PetscSolverGlobalMatrix.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-PetscSolverGlobalMatrix.lo `test -f 'parallel/PetscSolverGlobalMatrix.cc' || echo '$(srcdir)/'`parallel/PetscSolverGlobalMatrix.cc - -libamdis_la-PetscSolverSchur.lo: parallel/PetscSolverSchur.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-PetscSolverSchur.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-PetscSolverSchur.Tpo" -c -o libamdis_la-PetscSolverSchur.lo `test -f 'parallel/PetscSolverSchur.cc' || echo '$(srcdir)/'`parallel/PetscSolverSchur.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-PetscSolverSchur.Tpo" "$(DEPDIR)/libamdis_la-PetscSolverSchur.Plo"; else rm -f "$(DEPDIR)/libamdis_la-PetscSolverSchur.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parallel/PetscSolverSchur.cc' object='libamdis_la-PetscSolverSchur.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-PetscSolverSchur.lo `test -f 'parallel/PetscSolverSchur.cc' || echo '$(srcdir)/'`parallel/PetscSolverSchur.cc - -libamdis_la-StdMpi.lo: parallel/StdMpi.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-StdMpi.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-StdMpi.Tpo" -c -o libamdis_la-StdMpi.lo `test -f 'parallel/StdMpi.cc' || echo '$(srcdir)/'`parallel/StdMpi.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-StdMpi.Tpo" "$(DEPDIR)/libamdis_la-StdMpi.Plo"; else rm -f "$(DEPDIR)/libamdis_la-StdMpi.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parallel/StdMpi.cc' object='libamdis_la-StdMpi.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-StdMpi.lo `test -f 'parallel/StdMpi.cc' || echo '$(srcdir)/'`parallel/StdMpi.cc - -libamdis_la-ZoltanPartitioner.lo: parallel/ZoltanPartitioner.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ZoltanPartitioner.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ZoltanPartitioner.Tpo" -c -o libamdis_la-ZoltanPartitioner.lo `test -f 'parallel/ZoltanPartitioner.cc' || echo '$(srcdir)/'`parallel/ZoltanPartitioner.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ZoltanPartitioner.Tpo" "$(DEPDIR)/libamdis_la-ZoltanPartitioner.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ZoltanPartitioner.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parallel/ZoltanPartitioner.cc' object='libamdis_la-ZoltanPartitioner.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ZoltanPartitioner.lo `test -f 'parallel/ZoltanPartitioner.cc' || echo '$(srcdir)/'`parallel/ZoltanPartitioner.cc - -libamdis_la-AdaptBase.lo: AdaptBase.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-AdaptBase.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-AdaptBase.Tpo" -c -o libamdis_la-AdaptBase.lo `test -f 'AdaptBase.cc' || echo '$(srcdir)/'`AdaptBase.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-AdaptBase.Tpo" "$(DEPDIR)/libamdis_la-AdaptBase.Plo"; else rm -f "$(DEPDIR)/libamdis_la-AdaptBase.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='AdaptBase.cc' object='libamdis_la-AdaptBase.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-AdaptBase.lo `test -f 'AdaptBase.cc' || echo '$(srcdir)/'`AdaptBase.cc - -libamdis_la-AdaptInfo.lo: AdaptInfo.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-AdaptInfo.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-AdaptInfo.Tpo" -c -o libamdis_la-AdaptInfo.lo `test -f 'AdaptInfo.cc' || echo '$(srcdir)/'`AdaptInfo.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-AdaptInfo.Tpo" "$(DEPDIR)/libamdis_la-AdaptInfo.Plo"; else rm -f "$(DEPDIR)/libamdis_la-AdaptInfo.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='AdaptInfo.cc' object='libamdis_la-AdaptInfo.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-AdaptInfo.lo `test -f 'AdaptInfo.cc' || echo '$(srcdir)/'`AdaptInfo.cc - -libamdis_la-AdaptInstationary.lo: AdaptInstationary.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-AdaptInstationary.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-AdaptInstationary.Tpo" -c -o libamdis_la-AdaptInstationary.lo `test -f 'AdaptInstationary.cc' || echo '$(srcdir)/'`AdaptInstationary.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-AdaptInstationary.Tpo" "$(DEPDIR)/libamdis_la-AdaptInstationary.Plo"; else rm -f "$(DEPDIR)/libamdis_la-AdaptInstationary.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='AdaptInstationary.cc' object='libamdis_la-AdaptInstationary.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-AdaptInstationary.lo `test -f 'AdaptInstationary.cc' || echo '$(srcdir)/'`AdaptInstationary.cc - -libamdis_la-AdaptStationary.lo: AdaptStationary.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-AdaptStationary.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-AdaptStationary.Tpo" -c -o libamdis_la-AdaptStationary.lo `test -f 'AdaptStationary.cc' || echo '$(srcdir)/'`AdaptStationary.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-AdaptStationary.Tpo" "$(DEPDIR)/libamdis_la-AdaptStationary.Plo"; else rm -f "$(DEPDIR)/libamdis_la-AdaptStationary.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='AdaptStationary.cc' object='libamdis_la-AdaptStationary.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-AdaptStationary.lo `test -f 'AdaptStationary.cc' || echo '$(srcdir)/'`AdaptStationary.cc - -libamdis_la-Assembler.lo: Assembler.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Assembler.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Assembler.Tpo" -c -o libamdis_la-Assembler.lo `test -f 'Assembler.cc' || echo '$(srcdir)/'`Assembler.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Assembler.Tpo" "$(DEPDIR)/libamdis_la-Assembler.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Assembler.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Assembler.cc' object='libamdis_la-Assembler.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Assembler.lo `test -f 'Assembler.cc' || echo '$(srcdir)/'`Assembler.cc - -libamdis_la-BasisFunction.lo: BasisFunction.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-BasisFunction.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-BasisFunction.Tpo" -c -o libamdis_la-BasisFunction.lo `test -f 'BasisFunction.cc' || echo '$(srcdir)/'`BasisFunction.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-BasisFunction.Tpo" "$(DEPDIR)/libamdis_la-BasisFunction.Plo"; else rm -f "$(DEPDIR)/libamdis_la-BasisFunction.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='BasisFunction.cc' object='libamdis_la-BasisFunction.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-BasisFunction.lo `test -f 'BasisFunction.cc' || echo '$(srcdir)/'`BasisFunction.cc - -libamdis_la-Boundary.lo: Boundary.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Boundary.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Boundary.Tpo" -c -o libamdis_la-Boundary.lo `test -f 'Boundary.cc' || echo '$(srcdir)/'`Boundary.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Boundary.Tpo" "$(DEPDIR)/libamdis_la-Boundary.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Boundary.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Boundary.cc' object='libamdis_la-Boundary.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Boundary.lo `test -f 'Boundary.cc' || echo '$(srcdir)/'`Boundary.cc - -libamdis_la-BoundaryManager.lo: BoundaryManager.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-BoundaryManager.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-BoundaryManager.Tpo" -c -o libamdis_la-BoundaryManager.lo `test -f 'BoundaryManager.cc' || echo '$(srcdir)/'`BoundaryManager.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-BoundaryManager.Tpo" "$(DEPDIR)/libamdis_la-BoundaryManager.Plo"; else rm -f "$(DEPDIR)/libamdis_la-BoundaryManager.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='BoundaryManager.cc' object='libamdis_la-BoundaryManager.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-BoundaryManager.lo `test -f 'BoundaryManager.cc' || echo '$(srcdir)/'`BoundaryManager.cc - -libamdis_la-Cholesky.lo: Cholesky.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Cholesky.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Cholesky.Tpo" -c -o libamdis_la-Cholesky.lo `test -f 'Cholesky.cc' || echo '$(srcdir)/'`Cholesky.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Cholesky.Tpo" "$(DEPDIR)/libamdis_la-Cholesky.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Cholesky.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Cholesky.cc' object='libamdis_la-Cholesky.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Cholesky.lo `test -f 'Cholesky.cc' || echo '$(srcdir)/'`Cholesky.cc - -libamdis_la-CoarseningManager.lo: CoarseningManager.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-CoarseningManager.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-CoarseningManager.Tpo" -c -o libamdis_la-CoarseningManager.lo `test -f 'CoarseningManager.cc' || echo '$(srcdir)/'`CoarseningManager.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-CoarseningManager.Tpo" "$(DEPDIR)/libamdis_la-CoarseningManager.Plo"; else rm -f "$(DEPDIR)/libamdis_la-CoarseningManager.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='CoarseningManager.cc' object='libamdis_la-CoarseningManager.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-CoarseningManager.lo `test -f 'CoarseningManager.cc' || echo '$(srcdir)/'`CoarseningManager.cc - -libamdis_la-CoarseningManager1d.lo: CoarseningManager1d.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-CoarseningManager1d.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-CoarseningManager1d.Tpo" -c -o libamdis_la-CoarseningManager1d.lo `test -f 'CoarseningManager1d.cc' || echo '$(srcdir)/'`CoarseningManager1d.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-CoarseningManager1d.Tpo" "$(DEPDIR)/libamdis_la-CoarseningManager1d.Plo"; else rm -f "$(DEPDIR)/libamdis_la-CoarseningManager1d.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='CoarseningManager1d.cc' object='libamdis_la-CoarseningManager1d.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-CoarseningManager1d.lo `test -f 'CoarseningManager1d.cc' || echo '$(srcdir)/'`CoarseningManager1d.cc - -libamdis_la-CoarseningManager2d.lo: CoarseningManager2d.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-CoarseningManager2d.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-CoarseningManager2d.Tpo" -c -o libamdis_la-CoarseningManager2d.lo `test -f 'CoarseningManager2d.cc' || echo '$(srcdir)/'`CoarseningManager2d.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-CoarseningManager2d.Tpo" "$(DEPDIR)/libamdis_la-CoarseningManager2d.Plo"; else rm -f "$(DEPDIR)/libamdis_la-CoarseningManager2d.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='CoarseningManager2d.cc' object='libamdis_la-CoarseningManager2d.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-CoarseningManager2d.lo `test -f 'CoarseningManager2d.cc' || echo '$(srcdir)/'`CoarseningManager2d.cc - -libamdis_la-CoarseningManager3d.lo: CoarseningManager3d.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-CoarseningManager3d.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-CoarseningManager3d.Tpo" -c -o libamdis_la-CoarseningManager3d.lo `test -f 'CoarseningManager3d.cc' || echo '$(srcdir)/'`CoarseningManager3d.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-CoarseningManager3d.Tpo" "$(DEPDIR)/libamdis_la-CoarseningManager3d.Plo"; else rm -f "$(DEPDIR)/libamdis_la-CoarseningManager3d.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='CoarseningManager3d.cc' object='libamdis_la-CoarseningManager3d.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-CoarseningManager3d.lo `test -f 'CoarseningManager3d.cc' || echo '$(srcdir)/'`CoarseningManager3d.cc - -libamdis_la-ComponentTraverseInfo.lo: ComponentTraverseInfo.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ComponentTraverseInfo.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ComponentTraverseInfo.Tpo" -c -o libamdis_la-ComponentTraverseInfo.lo `test -f 'ComponentTraverseInfo.cc' || echo '$(srcdir)/'`ComponentTraverseInfo.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ComponentTraverseInfo.Tpo" "$(DEPDIR)/libamdis_la-ComponentTraverseInfo.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ComponentTraverseInfo.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ComponentTraverseInfo.cc' object='libamdis_la-ComponentTraverseInfo.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ComponentTraverseInfo.lo `test -f 'ComponentTraverseInfo.cc' || echo '$(srcdir)/'`ComponentTraverseInfo.cc - -libamdis_la-CreatorMap.lo: CreatorMap.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-CreatorMap.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-CreatorMap.Tpo" -c -o libamdis_la-CreatorMap.lo `test -f 'CreatorMap.cc' || echo '$(srcdir)/'`CreatorMap.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-CreatorMap.Tpo" "$(DEPDIR)/libamdis_la-CreatorMap.Plo"; else rm -f "$(DEPDIR)/libamdis_la-CreatorMap.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='CreatorMap.cc' object='libamdis_la-CreatorMap.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-CreatorMap.lo `test -f 'CreatorMap.cc' || echo '$(srcdir)/'`CreatorMap.cc - -libamdis_la-DOFAdmin.lo: DOFAdmin.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-DOFAdmin.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-DOFAdmin.Tpo" -c -o libamdis_la-DOFAdmin.lo `test -f 'DOFAdmin.cc' || echo '$(srcdir)/'`DOFAdmin.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-DOFAdmin.Tpo" "$(DEPDIR)/libamdis_la-DOFAdmin.Plo"; else rm -f "$(DEPDIR)/libamdis_la-DOFAdmin.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='DOFAdmin.cc' object='libamdis_la-DOFAdmin.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-DOFAdmin.lo `test -f 'DOFAdmin.cc' || echo '$(srcdir)/'`DOFAdmin.cc - -libamdis_la-DOFIndexed.lo: DOFIndexed.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-DOFIndexed.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-DOFIndexed.Tpo" -c -o libamdis_la-DOFIndexed.lo `test -f 'DOFIndexed.cc' || echo '$(srcdir)/'`DOFIndexed.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-DOFIndexed.Tpo" "$(DEPDIR)/libamdis_la-DOFIndexed.Plo"; else rm -f "$(DEPDIR)/libamdis_la-DOFIndexed.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='DOFIndexed.cc' object='libamdis_la-DOFIndexed.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-DOFIndexed.lo `test -f 'DOFIndexed.cc' || echo '$(srcdir)/'`DOFIndexed.cc - -libamdis_la-DOFMatrix.lo: DOFMatrix.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-DOFMatrix.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-DOFMatrix.Tpo" -c -o libamdis_la-DOFMatrix.lo `test -f 'DOFMatrix.cc' || echo '$(srcdir)/'`DOFMatrix.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-DOFMatrix.Tpo" "$(DEPDIR)/libamdis_la-DOFMatrix.Plo"; else rm -f "$(DEPDIR)/libamdis_la-DOFMatrix.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='DOFMatrix.cc' object='libamdis_la-DOFMatrix.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-DOFMatrix.lo `test -f 'DOFMatrix.cc' || echo '$(srcdir)/'`DOFMatrix.cc - -libamdis_la-DOFVector.lo: DOFVector.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-DOFVector.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-DOFVector.Tpo" -c -o libamdis_la-DOFVector.lo `test -f 'DOFVector.cc' || echo '$(srcdir)/'`DOFVector.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-DOFVector.Tpo" "$(DEPDIR)/libamdis_la-DOFVector.Plo"; else rm -f "$(DEPDIR)/libamdis_la-DOFVector.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='DOFVector.cc' object='libamdis_la-DOFVector.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-DOFVector.lo `test -f 'DOFVector.cc' || echo '$(srcdir)/'`DOFVector.cc - -libamdis_la-Debug.lo: Debug.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Debug.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Debug.Tpo" -c -o libamdis_la-Debug.lo `test -f 'Debug.cc' || echo '$(srcdir)/'`Debug.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Debug.Tpo" "$(DEPDIR)/libamdis_la-Debug.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Debug.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Debug.cc' object='libamdis_la-Debug.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Debug.lo `test -f 'Debug.cc' || echo '$(srcdir)/'`Debug.cc - -libamdis_la-DirichletBC.lo: DirichletBC.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-DirichletBC.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-DirichletBC.Tpo" -c -o libamdis_la-DirichletBC.lo `test -f 'DirichletBC.cc' || echo '$(srcdir)/'`DirichletBC.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-DirichletBC.Tpo" "$(DEPDIR)/libamdis_la-DirichletBC.Plo"; else rm -f "$(DEPDIR)/libamdis_la-DirichletBC.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='DirichletBC.cc' object='libamdis_la-DirichletBC.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-DirichletBC.lo `test -f 'DirichletBC.cc' || echo '$(srcdir)/'`DirichletBC.cc - -libamdis_la-DualTraverse.lo: DualTraverse.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-DualTraverse.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-DualTraverse.Tpo" -c -o libamdis_la-DualTraverse.lo `test -f 'DualTraverse.cc' || echo '$(srcdir)/'`DualTraverse.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-DualTraverse.Tpo" "$(DEPDIR)/libamdis_la-DualTraverse.Plo"; else rm -f "$(DEPDIR)/libamdis_la-DualTraverse.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='DualTraverse.cc' object='libamdis_la-DualTraverse.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-DualTraverse.lo `test -f 'DualTraverse.cc' || echo '$(srcdir)/'`DualTraverse.cc - -libamdis_la-ElInfo.lo: ElInfo.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ElInfo.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ElInfo.Tpo" -c -o libamdis_la-ElInfo.lo `test -f 'ElInfo.cc' || echo '$(srcdir)/'`ElInfo.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ElInfo.Tpo" "$(DEPDIR)/libamdis_la-ElInfo.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ElInfo.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ElInfo.cc' object='libamdis_la-ElInfo.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ElInfo.lo `test -f 'ElInfo.cc' || echo '$(srcdir)/'`ElInfo.cc - -libamdis_la-ElInfo1d.lo: ElInfo1d.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ElInfo1d.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ElInfo1d.Tpo" -c -o libamdis_la-ElInfo1d.lo `test -f 'ElInfo1d.cc' || echo '$(srcdir)/'`ElInfo1d.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ElInfo1d.Tpo" "$(DEPDIR)/libamdis_la-ElInfo1d.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ElInfo1d.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ElInfo1d.cc' object='libamdis_la-ElInfo1d.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ElInfo1d.lo `test -f 'ElInfo1d.cc' || echo '$(srcdir)/'`ElInfo1d.cc - -libamdis_la-ElInfo2d.lo: ElInfo2d.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ElInfo2d.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ElInfo2d.Tpo" -c -o libamdis_la-ElInfo2d.lo `test -f 'ElInfo2d.cc' || echo '$(srcdir)/'`ElInfo2d.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ElInfo2d.Tpo" "$(DEPDIR)/libamdis_la-ElInfo2d.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ElInfo2d.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ElInfo2d.cc' object='libamdis_la-ElInfo2d.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ElInfo2d.lo `test -f 'ElInfo2d.cc' || echo '$(srcdir)/'`ElInfo2d.cc - -libamdis_la-ElInfo3d.lo: ElInfo3d.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ElInfo3d.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ElInfo3d.Tpo" -c -o libamdis_la-ElInfo3d.lo `test -f 'ElInfo3d.cc' || echo '$(srcdir)/'`ElInfo3d.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ElInfo3d.Tpo" "$(DEPDIR)/libamdis_la-ElInfo3d.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ElInfo3d.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ElInfo3d.cc' object='libamdis_la-ElInfo3d.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ElInfo3d.lo `test -f 'ElInfo3d.cc' || echo '$(srcdir)/'`ElInfo3d.cc - -libamdis_la-ElInfoStack.lo: ElInfoStack.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ElInfoStack.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ElInfoStack.Tpo" -c -o libamdis_la-ElInfoStack.lo `test -f 'ElInfoStack.cc' || echo '$(srcdir)/'`ElInfoStack.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ElInfoStack.Tpo" "$(DEPDIR)/libamdis_la-ElInfoStack.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ElInfoStack.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ElInfoStack.cc' object='libamdis_la-ElInfoStack.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ElInfoStack.lo `test -f 'ElInfoStack.cc' || echo '$(srcdir)/'`ElInfoStack.cc - -libamdis_la-Element.lo: Element.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Element.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Element.Tpo" -c -o libamdis_la-Element.lo `test -f 'Element.cc' || echo '$(srcdir)/'`Element.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Element.Tpo" "$(DEPDIR)/libamdis_la-Element.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Element.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Element.cc' object='libamdis_la-Element.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Element.lo `test -f 'Element.cc' || echo '$(srcdir)/'`Element.cc - -libamdis_la-ElementData.lo: ElementData.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ElementData.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ElementData.Tpo" -c -o libamdis_la-ElementData.lo `test -f 'ElementData.cc' || echo '$(srcdir)/'`ElementData.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ElementData.Tpo" "$(DEPDIR)/libamdis_la-ElementData.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ElementData.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ElementData.cc' object='libamdis_la-ElementData.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ElementData.lo `test -f 'ElementData.cc' || echo '$(srcdir)/'`ElementData.cc - -libamdis_la-ElementDofIterator.lo: ElementDofIterator.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ElementDofIterator.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ElementDofIterator.Tpo" -c -o libamdis_la-ElementDofIterator.lo `test -f 'ElementDofIterator.cc' || echo '$(srcdir)/'`ElementDofIterator.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ElementDofIterator.Tpo" "$(DEPDIR)/libamdis_la-ElementDofIterator.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ElementDofIterator.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ElementDofIterator.cc' object='libamdis_la-ElementDofIterator.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ElementDofIterator.lo `test -f 'ElementDofIterator.cc' || echo '$(srcdir)/'`ElementDofIterator.cc - -libamdis_la-Estimator.lo: Estimator.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Estimator.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Estimator.Tpo" -c -o libamdis_la-Estimator.lo `test -f 'Estimator.cc' || echo '$(srcdir)/'`Estimator.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Estimator.Tpo" "$(DEPDIR)/libamdis_la-Estimator.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Estimator.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Estimator.cc' object='libamdis_la-Estimator.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Estimator.lo `test -f 'Estimator.cc' || echo '$(srcdir)/'`Estimator.cc - -libamdis_la-FiniteElemSpace.lo: FiniteElemSpace.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-FiniteElemSpace.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-FiniteElemSpace.Tpo" -c -o libamdis_la-FiniteElemSpace.lo `test -f 'FiniteElemSpace.cc' || echo '$(srcdir)/'`FiniteElemSpace.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-FiniteElemSpace.Tpo" "$(DEPDIR)/libamdis_la-FiniteElemSpace.Plo"; else rm -f "$(DEPDIR)/libamdis_la-FiniteElemSpace.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='FiniteElemSpace.cc' object='libamdis_la-FiniteElemSpace.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-FiniteElemSpace.lo `test -f 'FiniteElemSpace.cc' || echo '$(srcdir)/'`FiniteElemSpace.cc - -libamdis_la-FirstOrderAssembler.lo: FirstOrderAssembler.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-FirstOrderAssembler.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-FirstOrderAssembler.Tpo" -c -o libamdis_la-FirstOrderAssembler.lo `test -f 'FirstOrderAssembler.cc' || echo '$(srcdir)/'`FirstOrderAssembler.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-FirstOrderAssembler.Tpo" "$(DEPDIR)/libamdis_la-FirstOrderAssembler.Plo"; else rm -f "$(DEPDIR)/libamdis_la-FirstOrderAssembler.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='FirstOrderAssembler.cc' object='libamdis_la-FirstOrderAssembler.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-FirstOrderAssembler.lo `test -f 'FirstOrderAssembler.cc' || echo '$(srcdir)/'`FirstOrderAssembler.cc - -libamdis_la-FirstOrderTerm.lo: FirstOrderTerm.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-FirstOrderTerm.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-FirstOrderTerm.Tpo" -c -o libamdis_la-FirstOrderTerm.lo `test -f 'FirstOrderTerm.cc' || echo '$(srcdir)/'`FirstOrderTerm.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-FirstOrderTerm.Tpo" "$(DEPDIR)/libamdis_la-FirstOrderTerm.Plo"; else rm -f "$(DEPDIR)/libamdis_la-FirstOrderTerm.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='FirstOrderTerm.cc' object='libamdis_la-FirstOrderTerm.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-FirstOrderTerm.lo `test -f 'FirstOrderTerm.cc' || echo '$(srcdir)/'`FirstOrderTerm.cc - -libamdis_la-FixVec.lo: FixVec.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-FixVec.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-FixVec.Tpo" -c -o libamdis_la-FixVec.lo `test -f 'FixVec.cc' || echo '$(srcdir)/'`FixVec.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-FixVec.Tpo" "$(DEPDIR)/libamdis_la-FixVec.Plo"; else rm -f "$(DEPDIR)/libamdis_la-FixVec.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='FixVec.cc' object='libamdis_la-FixVec.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-FixVec.lo `test -f 'FixVec.cc' || echo '$(srcdir)/'`FixVec.cc - -libamdis_la-Global.lo: Global.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Global.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Global.Tpo" -c -o libamdis_la-Global.lo `test -f 'Global.cc' || echo '$(srcdir)/'`Global.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Global.Tpo" "$(DEPDIR)/libamdis_la-Global.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Global.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Global.cc' object='libamdis_la-Global.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Global.lo `test -f 'Global.cc' || echo '$(srcdir)/'`Global.cc - -libamdis_la-GlobalDOFNumbering.lo: GlobalDOFNumbering.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-GlobalDOFNumbering.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-GlobalDOFNumbering.Tpo" -c -o libamdis_la-GlobalDOFNumbering.lo `test -f 'GlobalDOFNumbering.cc' || echo '$(srcdir)/'`GlobalDOFNumbering.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-GlobalDOFNumbering.Tpo" "$(DEPDIR)/libamdis_la-GlobalDOFNumbering.Plo"; else rm -f "$(DEPDIR)/libamdis_la-GlobalDOFNumbering.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='GlobalDOFNumbering.cc' object='libamdis_la-GlobalDOFNumbering.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-GlobalDOFNumbering.lo `test -f 'GlobalDOFNumbering.cc' || echo '$(srcdir)/'`GlobalDOFNumbering.cc - -libamdis_la-GlobalElementNumbering.lo: GlobalElementNumbering.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-GlobalElementNumbering.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-GlobalElementNumbering.Tpo" -c -o libamdis_la-GlobalElementNumbering.lo `test -f 'GlobalElementNumbering.cc' || echo '$(srcdir)/'`GlobalElementNumbering.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-GlobalElementNumbering.Tpo" "$(DEPDIR)/libamdis_la-GlobalElementNumbering.Plo"; else rm -f "$(DEPDIR)/libamdis_la-GlobalElementNumbering.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='GlobalElementNumbering.cc' object='libamdis_la-GlobalElementNumbering.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-GlobalElementNumbering.lo `test -f 'GlobalElementNumbering.cc' || echo '$(srcdir)/'`GlobalElementNumbering.cc - -libamdis_la-Lagrange.lo: Lagrange.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Lagrange.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Lagrange.Tpo" -c -o libamdis_la-Lagrange.lo `test -f 'Lagrange.cc' || echo '$(srcdir)/'`Lagrange.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Lagrange.Tpo" "$(DEPDIR)/libamdis_la-Lagrange.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Lagrange.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Lagrange.cc' object='libamdis_la-Lagrange.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Lagrange.lo `test -f 'Lagrange.cc' || echo '$(srcdir)/'`Lagrange.cc - -libamdis_la-LeafData.lo: LeafData.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-LeafData.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-LeafData.Tpo" -c -o libamdis_la-LeafData.lo `test -f 'LeafData.cc' || echo '$(srcdir)/'`LeafData.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-LeafData.Tpo" "$(DEPDIR)/libamdis_la-LeafData.Plo"; else rm -f "$(DEPDIR)/libamdis_la-LeafData.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='LeafData.cc' object='libamdis_la-LeafData.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-LeafData.lo `test -f 'LeafData.cc' || echo '$(srcdir)/'`LeafData.cc - -libamdis_la-Line.lo: Line.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Line.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Line.Tpo" -c -o libamdis_la-Line.lo `test -f 'Line.cc' || echo '$(srcdir)/'`Line.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Line.Tpo" "$(DEPDIR)/libamdis_la-Line.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Line.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Line.cc' object='libamdis_la-Line.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Line.lo `test -f 'Line.cc' || echo '$(srcdir)/'`Line.cc - -libamdis_la-MacroElement.lo: MacroElement.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-MacroElement.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-MacroElement.Tpo" -c -o libamdis_la-MacroElement.lo `test -f 'MacroElement.cc' || echo '$(srcdir)/'`MacroElement.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-MacroElement.Tpo" "$(DEPDIR)/libamdis_la-MacroElement.Plo"; else rm -f "$(DEPDIR)/libamdis_la-MacroElement.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='MacroElement.cc' object='libamdis_la-MacroElement.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-MacroElement.lo `test -f 'MacroElement.cc' || echo '$(srcdir)/'`MacroElement.cc - -libamdis_la-Marker.lo: Marker.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Marker.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Marker.Tpo" -c -o libamdis_la-Marker.lo `test -f 'Marker.cc' || echo '$(srcdir)/'`Marker.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Marker.Tpo" "$(DEPDIR)/libamdis_la-Marker.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Marker.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Marker.cc' object='libamdis_la-Marker.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Marker.lo `test -f 'Marker.cc' || echo '$(srcdir)/'`Marker.cc - -libamdis_la-Mesh.lo: Mesh.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Mesh.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Mesh.Tpo" -c -o libamdis_la-Mesh.lo `test -f 'Mesh.cc' || echo '$(srcdir)/'`Mesh.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Mesh.Tpo" "$(DEPDIR)/libamdis_la-Mesh.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Mesh.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Mesh.cc' object='libamdis_la-Mesh.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Mesh.lo `test -f 'Mesh.cc' || echo '$(srcdir)/'`Mesh.cc - -libamdis_la-MeshStructure.lo: MeshStructure.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-MeshStructure.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-MeshStructure.Tpo" -c -o libamdis_la-MeshStructure.lo `test -f 'MeshStructure.cc' || echo '$(srcdir)/'`MeshStructure.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-MeshStructure.Tpo" "$(DEPDIR)/libamdis_la-MeshStructure.Plo"; else rm -f "$(DEPDIR)/libamdis_la-MeshStructure.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='MeshStructure.cc' object='libamdis_la-MeshStructure.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-MeshStructure.lo `test -f 'MeshStructure.cc' || echo '$(srcdir)/'`MeshStructure.cc - -libamdis_la-NonLinUpdater.lo: NonLinUpdater.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-NonLinUpdater.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-NonLinUpdater.Tpo" -c -o libamdis_la-NonLinUpdater.lo `test -f 'NonLinUpdater.cc' || echo '$(srcdir)/'`NonLinUpdater.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-NonLinUpdater.Tpo" "$(DEPDIR)/libamdis_la-NonLinUpdater.Plo"; else rm -f "$(DEPDIR)/libamdis_la-NonLinUpdater.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='NonLinUpdater.cc' object='libamdis_la-NonLinUpdater.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-NonLinUpdater.lo `test -f 'NonLinUpdater.cc' || echo '$(srcdir)/'`NonLinUpdater.cc - -libamdis_la-Operator.lo: Operator.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Operator.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Operator.Tpo" -c -o libamdis_la-Operator.lo `test -f 'Operator.cc' || echo '$(srcdir)/'`Operator.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Operator.Tpo" "$(DEPDIR)/libamdis_la-Operator.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Operator.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Operator.cc' object='libamdis_la-Operator.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Operator.lo `test -f 'Operator.cc' || echo '$(srcdir)/'`Operator.cc - -libamdis_la-OperatorTerm.lo: OperatorTerm.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-OperatorTerm.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-OperatorTerm.Tpo" -c -o libamdis_la-OperatorTerm.lo `test -f 'OperatorTerm.cc' || echo '$(srcdir)/'`OperatorTerm.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-OperatorTerm.Tpo" "$(DEPDIR)/libamdis_la-OperatorTerm.Plo"; else rm -f "$(DEPDIR)/libamdis_la-OperatorTerm.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='OperatorTerm.cc' object='libamdis_la-OperatorTerm.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-OperatorTerm.lo `test -f 'OperatorTerm.cc' || echo '$(srcdir)/'`OperatorTerm.cc - -libamdis_la-Parameters.lo: Parameters.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Parameters.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Parameters.Tpo" -c -o libamdis_la-Parameters.lo `test -f 'Parameters.cc' || echo '$(srcdir)/'`Parameters.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Parameters.Tpo" "$(DEPDIR)/libamdis_la-Parameters.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Parameters.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Parameters.cc' object='libamdis_la-Parameters.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Parameters.lo `test -f 'Parameters.cc' || echo '$(srcdir)/'`Parameters.cc - -libamdis_la-Parametric.lo: Parametric.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Parametric.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Parametric.Tpo" -c -o libamdis_la-Parametric.lo `test -f 'Parametric.cc' || echo '$(srcdir)/'`Parametric.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Parametric.Tpo" "$(DEPDIR)/libamdis_la-Parametric.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Parametric.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Parametric.cc' object='libamdis_la-Parametric.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Parametric.lo `test -f 'Parametric.cc' || echo '$(srcdir)/'`Parametric.cc - -libamdis_la-PeriodicBC.lo: PeriodicBC.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-PeriodicBC.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-PeriodicBC.Tpo" -c -o libamdis_la-PeriodicBC.lo `test -f 'PeriodicBC.cc' || echo '$(srcdir)/'`PeriodicBC.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-PeriodicBC.Tpo" "$(DEPDIR)/libamdis_la-PeriodicBC.Plo"; else rm -f "$(DEPDIR)/libamdis_la-PeriodicBC.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='PeriodicBC.cc' object='libamdis_la-PeriodicBC.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-PeriodicBC.lo `test -f 'PeriodicBC.cc' || echo '$(srcdir)/'`PeriodicBC.cc - -libamdis_la-ProblemImplicit.lo: ProblemImplicit.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ProblemImplicit.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ProblemImplicit.Tpo" -c -o libamdis_la-ProblemImplicit.lo `test -f 'ProblemImplicit.cc' || echo '$(srcdir)/'`ProblemImplicit.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ProblemImplicit.Tpo" "$(DEPDIR)/libamdis_la-ProblemImplicit.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ProblemImplicit.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ProblemImplicit.cc' object='libamdis_la-ProblemImplicit.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ProblemImplicit.lo `test -f 'ProblemImplicit.cc' || echo '$(srcdir)/'`ProblemImplicit.cc - -libamdis_la-ProblemInstat.lo: ProblemInstat.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ProblemInstat.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ProblemInstat.Tpo" -c -o libamdis_la-ProblemInstat.lo `test -f 'ProblemInstat.cc' || echo '$(srcdir)/'`ProblemInstat.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ProblemInstat.Tpo" "$(DEPDIR)/libamdis_la-ProblemInstat.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ProblemInstat.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ProblemInstat.cc' object='libamdis_la-ProblemInstat.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ProblemInstat.lo `test -f 'ProblemInstat.cc' || echo '$(srcdir)/'`ProblemInstat.cc - -libamdis_la-ProblemInterpolScal.lo: ProblemInterpolScal.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ProblemInterpolScal.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ProblemInterpolScal.Tpo" -c -o libamdis_la-ProblemInterpolScal.lo `test -f 'ProblemInterpolScal.cc' || echo '$(srcdir)/'`ProblemInterpolScal.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ProblemInterpolScal.Tpo" "$(DEPDIR)/libamdis_la-ProblemInterpolScal.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ProblemInterpolScal.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ProblemInterpolScal.cc' object='libamdis_la-ProblemInterpolScal.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ProblemInterpolScal.lo `test -f 'ProblemInterpolScal.cc' || echo '$(srcdir)/'`ProblemInterpolScal.cc - -libamdis_la-ProblemInterpolVec.lo: ProblemInterpolVec.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ProblemInterpolVec.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ProblemInterpolVec.Tpo" -c -o libamdis_la-ProblemInterpolVec.lo `test -f 'ProblemInterpolVec.cc' || echo '$(srcdir)/'`ProblemInterpolVec.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ProblemInterpolVec.Tpo" "$(DEPDIR)/libamdis_la-ProblemInterpolVec.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ProblemInterpolVec.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ProblemInterpolVec.cc' object='libamdis_la-ProblemInterpolVec.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ProblemInterpolVec.lo `test -f 'ProblemInterpolVec.cc' || echo '$(srcdir)/'`ProblemInterpolVec.cc - -libamdis_la-ProblemNonLin.lo: ProblemNonLin.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ProblemNonLin.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ProblemNonLin.Tpo" -c -o libamdis_la-ProblemNonLin.lo `test -f 'ProblemNonLin.cc' || echo '$(srcdir)/'`ProblemNonLin.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ProblemNonLin.Tpo" "$(DEPDIR)/libamdis_la-ProblemNonLin.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ProblemNonLin.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ProblemNonLin.cc' object='libamdis_la-ProblemNonLin.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ProblemNonLin.lo `test -f 'ProblemNonLin.cc' || echo '$(srcdir)/'`ProblemNonLin.cc - -libamdis_la-ProblemScal.lo: ProblemScal.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ProblemScal.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ProblemScal.Tpo" -c -o libamdis_la-ProblemScal.lo `test -f 'ProblemScal.cc' || echo '$(srcdir)/'`ProblemScal.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ProblemScal.Tpo" "$(DEPDIR)/libamdis_la-ProblemScal.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ProblemScal.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ProblemScal.cc' object='libamdis_la-ProblemScal.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ProblemScal.lo `test -f 'ProblemScal.cc' || echo '$(srcdir)/'`ProblemScal.cc - -libamdis_la-ProblemVec.lo: ProblemVec.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ProblemVec.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ProblemVec.Tpo" -c -o libamdis_la-ProblemVec.lo `test -f 'ProblemVec.cc' || echo '$(srcdir)/'`ProblemVec.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ProblemVec.Tpo" "$(DEPDIR)/libamdis_la-ProblemVec.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ProblemVec.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ProblemVec.cc' object='libamdis_la-ProblemVec.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ProblemVec.lo `test -f 'ProblemVec.cc' || echo '$(srcdir)/'`ProblemVec.cc - -libamdis_la-ProblemVecDbg.lo: ProblemVecDbg.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ProblemVecDbg.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ProblemVecDbg.Tpo" -c -o libamdis_la-ProblemVecDbg.lo `test -f 'ProblemVecDbg.cc' || echo '$(srcdir)/'`ProblemVecDbg.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ProblemVecDbg.Tpo" "$(DEPDIR)/libamdis_la-ProblemVecDbg.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ProblemVecDbg.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ProblemVecDbg.cc' object='libamdis_la-ProblemVecDbg.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ProblemVecDbg.lo `test -f 'ProblemVecDbg.cc' || echo '$(srcdir)/'`ProblemVecDbg.cc - -libamdis_la-Projection.lo: Projection.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Projection.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Projection.Tpo" -c -o libamdis_la-Projection.lo `test -f 'Projection.cc' || echo '$(srcdir)/'`Projection.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Projection.Tpo" "$(DEPDIR)/libamdis_la-Projection.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Projection.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Projection.cc' object='libamdis_la-Projection.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Projection.lo `test -f 'Projection.cc' || echo '$(srcdir)/'`Projection.cc - -libamdis_la-QPInfo.lo: QPInfo.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-QPInfo.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-QPInfo.Tpo" -c -o libamdis_la-QPInfo.lo `test -f 'QPInfo.cc' || echo '$(srcdir)/'`QPInfo.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-QPInfo.Tpo" "$(DEPDIR)/libamdis_la-QPInfo.Plo"; else rm -f "$(DEPDIR)/libamdis_la-QPInfo.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='QPInfo.cc' object='libamdis_la-QPInfo.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-QPInfo.lo `test -f 'QPInfo.cc' || echo '$(srcdir)/'`QPInfo.cc - -libamdis_la-QPsiPhi.lo: QPsiPhi.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-QPsiPhi.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-QPsiPhi.Tpo" -c -o libamdis_la-QPsiPhi.lo `test -f 'QPsiPhi.cc' || echo '$(srcdir)/'`QPsiPhi.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-QPsiPhi.Tpo" "$(DEPDIR)/libamdis_la-QPsiPhi.Plo"; else rm -f "$(DEPDIR)/libamdis_la-QPsiPhi.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='QPsiPhi.cc' object='libamdis_la-QPsiPhi.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-QPsiPhi.lo `test -f 'QPsiPhi.cc' || echo '$(srcdir)/'`QPsiPhi.cc - -libamdis_la-Quadrature.lo: Quadrature.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Quadrature.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Quadrature.Tpo" -c -o libamdis_la-Quadrature.lo `test -f 'Quadrature.cc' || echo '$(srcdir)/'`Quadrature.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Quadrature.Tpo" "$(DEPDIR)/libamdis_la-Quadrature.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Quadrature.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Quadrature.cc' object='libamdis_la-Quadrature.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Quadrature.lo `test -f 'Quadrature.cc' || echo '$(srcdir)/'`Quadrature.cc - -libamdis_la-RCNeighbourList.lo: RCNeighbourList.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-RCNeighbourList.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-RCNeighbourList.Tpo" -c -o libamdis_la-RCNeighbourList.lo `test -f 'RCNeighbourList.cc' || echo '$(srcdir)/'`RCNeighbourList.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-RCNeighbourList.Tpo" "$(DEPDIR)/libamdis_la-RCNeighbourList.Plo"; else rm -f "$(DEPDIR)/libamdis_la-RCNeighbourList.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='RCNeighbourList.cc' object='libamdis_la-RCNeighbourList.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-RCNeighbourList.lo `test -f 'RCNeighbourList.cc' || echo '$(srcdir)/'`RCNeighbourList.cc - -libamdis_la-Recovery.lo: Recovery.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Recovery.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Recovery.Tpo" -c -o libamdis_la-Recovery.lo `test -f 'Recovery.cc' || echo '$(srcdir)/'`Recovery.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Recovery.Tpo" "$(DEPDIR)/libamdis_la-Recovery.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Recovery.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Recovery.cc' object='libamdis_la-Recovery.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Recovery.lo `test -f 'Recovery.cc' || echo '$(srcdir)/'`Recovery.cc - -libamdis_la-RecoveryEstimator.lo: RecoveryEstimator.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-RecoveryEstimator.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-RecoveryEstimator.Tpo" -c -o libamdis_la-RecoveryEstimator.lo `test -f 'RecoveryEstimator.cc' || echo '$(srcdir)/'`RecoveryEstimator.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-RecoveryEstimator.Tpo" "$(DEPDIR)/libamdis_la-RecoveryEstimator.Plo"; else rm -f "$(DEPDIR)/libamdis_la-RecoveryEstimator.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='RecoveryEstimator.cc' object='libamdis_la-RecoveryEstimator.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-RecoveryEstimator.lo `test -f 'RecoveryEstimator.cc' || echo '$(srcdir)/'`RecoveryEstimator.cc - -libamdis_la-RefinementManager.lo: RefinementManager.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-RefinementManager.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-RefinementManager.Tpo" -c -o libamdis_la-RefinementManager.lo `test -f 'RefinementManager.cc' || echo '$(srcdir)/'`RefinementManager.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-RefinementManager.Tpo" "$(DEPDIR)/libamdis_la-RefinementManager.Plo"; else rm -f "$(DEPDIR)/libamdis_la-RefinementManager.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='RefinementManager.cc' object='libamdis_la-RefinementManager.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-RefinementManager.lo `test -f 'RefinementManager.cc' || echo '$(srcdir)/'`RefinementManager.cc - -libamdis_la-RefinementManager1d.lo: RefinementManager1d.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-RefinementManager1d.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-RefinementManager1d.Tpo" -c -o libamdis_la-RefinementManager1d.lo `test -f 'RefinementManager1d.cc' || echo '$(srcdir)/'`RefinementManager1d.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-RefinementManager1d.Tpo" "$(DEPDIR)/libamdis_la-RefinementManager1d.Plo"; else rm -f "$(DEPDIR)/libamdis_la-RefinementManager1d.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='RefinementManager1d.cc' object='libamdis_la-RefinementManager1d.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-RefinementManager1d.lo `test -f 'RefinementManager1d.cc' || echo '$(srcdir)/'`RefinementManager1d.cc - -libamdis_la-RefinementManager2d.lo: RefinementManager2d.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-RefinementManager2d.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-RefinementManager2d.Tpo" -c -o libamdis_la-RefinementManager2d.lo `test -f 'RefinementManager2d.cc' || echo '$(srcdir)/'`RefinementManager2d.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-RefinementManager2d.Tpo" "$(DEPDIR)/libamdis_la-RefinementManager2d.Plo"; else rm -f "$(DEPDIR)/libamdis_la-RefinementManager2d.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='RefinementManager2d.cc' object='libamdis_la-RefinementManager2d.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-RefinementManager2d.lo `test -f 'RefinementManager2d.cc' || echo '$(srcdir)/'`RefinementManager2d.cc - -libamdis_la-RefinementManager3d.lo: RefinementManager3d.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-RefinementManager3d.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-RefinementManager3d.Tpo" -c -o libamdis_la-RefinementManager3d.lo `test -f 'RefinementManager3d.cc' || echo '$(srcdir)/'`RefinementManager3d.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-RefinementManager3d.Tpo" "$(DEPDIR)/libamdis_la-RefinementManager3d.Plo"; else rm -f "$(DEPDIR)/libamdis_la-RefinementManager3d.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='RefinementManager3d.cc' object='libamdis_la-RefinementManager3d.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-RefinementManager3d.lo `test -f 'RefinementManager3d.cc' || echo '$(srcdir)/'`RefinementManager3d.cc - -libamdis_la-ResidualEstimator.lo: ResidualEstimator.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ResidualEstimator.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ResidualEstimator.Tpo" -c -o libamdis_la-ResidualEstimator.lo `test -f 'ResidualEstimator.cc' || echo '$(srcdir)/'`ResidualEstimator.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ResidualEstimator.Tpo" "$(DEPDIR)/libamdis_la-ResidualEstimator.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ResidualEstimator.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ResidualEstimator.cc' object='libamdis_la-ResidualEstimator.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ResidualEstimator.lo `test -f 'ResidualEstimator.cc' || echo '$(srcdir)/'`ResidualEstimator.cc - -libamdis_la-RobinBC.lo: RobinBC.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-RobinBC.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-RobinBC.Tpo" -c -o libamdis_la-RobinBC.lo `test -f 'RobinBC.cc' || echo '$(srcdir)/'`RobinBC.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-RobinBC.Tpo" "$(DEPDIR)/libamdis_la-RobinBC.Plo"; else rm -f "$(DEPDIR)/libamdis_la-RobinBC.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='RobinBC.cc' object='libamdis_la-RobinBC.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-RobinBC.lo `test -f 'RobinBC.cc' || echo '$(srcdir)/'`RobinBC.cc - -libamdis_la-ScalableQuadrature.lo: ScalableQuadrature.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ScalableQuadrature.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ScalableQuadrature.Tpo" -c -o libamdis_la-ScalableQuadrature.lo `test -f 'ScalableQuadrature.cc' || echo '$(srcdir)/'`ScalableQuadrature.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ScalableQuadrature.Tpo" "$(DEPDIR)/libamdis_la-ScalableQuadrature.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ScalableQuadrature.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ScalableQuadrature.cc' object='libamdis_la-ScalableQuadrature.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ScalableQuadrature.lo `test -f 'ScalableQuadrature.cc' || echo '$(srcdir)/'`ScalableQuadrature.cc - -libamdis_la-SecondOrderAssembler.lo: SecondOrderAssembler.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-SecondOrderAssembler.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-SecondOrderAssembler.Tpo" -c -o libamdis_la-SecondOrderAssembler.lo `test -f 'SecondOrderAssembler.cc' || echo '$(srcdir)/'`SecondOrderAssembler.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-SecondOrderAssembler.Tpo" "$(DEPDIR)/libamdis_la-SecondOrderAssembler.Plo"; else rm -f "$(DEPDIR)/libamdis_la-SecondOrderAssembler.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SecondOrderAssembler.cc' object='libamdis_la-SecondOrderAssembler.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-SecondOrderAssembler.lo `test -f 'SecondOrderAssembler.cc' || echo '$(srcdir)/'`SecondOrderAssembler.cc - -libamdis_la-SecondOrderTerm.lo: SecondOrderTerm.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-SecondOrderTerm.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-SecondOrderTerm.Tpo" -c -o libamdis_la-SecondOrderTerm.lo `test -f 'SecondOrderTerm.cc' || echo '$(srcdir)/'`SecondOrderTerm.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-SecondOrderTerm.Tpo" "$(DEPDIR)/libamdis_la-SecondOrderTerm.Plo"; else rm -f "$(DEPDIR)/libamdis_la-SecondOrderTerm.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SecondOrderTerm.cc' object='libamdis_la-SecondOrderTerm.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-SecondOrderTerm.lo `test -f 'SecondOrderTerm.cc' || echo '$(srcdir)/'`SecondOrderTerm.cc - -libamdis_la-Serializer.lo: Serializer.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Serializer.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Serializer.Tpo" -c -o libamdis_la-Serializer.lo `test -f 'Serializer.cc' || echo '$(srcdir)/'`Serializer.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Serializer.Tpo" "$(DEPDIR)/libamdis_la-Serializer.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Serializer.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Serializer.cc' object='libamdis_la-Serializer.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Serializer.lo `test -f 'Serializer.cc' || echo '$(srcdir)/'`Serializer.cc - -libamdis_la-StandardProblemIteration.lo: StandardProblemIteration.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-StandardProblemIteration.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-StandardProblemIteration.Tpo" -c -o libamdis_la-StandardProblemIteration.lo `test -f 'StandardProblemIteration.cc' || echo '$(srcdir)/'`StandardProblemIteration.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-StandardProblemIteration.Tpo" "$(DEPDIR)/libamdis_la-StandardProblemIteration.Plo"; else rm -f "$(DEPDIR)/libamdis_la-StandardProblemIteration.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='StandardProblemIteration.cc' object='libamdis_la-StandardProblemIteration.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-StandardProblemIteration.lo `test -f 'StandardProblemIteration.cc' || echo '$(srcdir)/'`StandardProblemIteration.cc - -libamdis_la-SubAssembler.lo: SubAssembler.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-SubAssembler.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-SubAssembler.Tpo" -c -o libamdis_la-SubAssembler.lo `test -f 'SubAssembler.cc' || echo '$(srcdir)/'`SubAssembler.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-SubAssembler.Tpo" "$(DEPDIR)/libamdis_la-SubAssembler.Plo"; else rm -f "$(DEPDIR)/libamdis_la-SubAssembler.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SubAssembler.cc' object='libamdis_la-SubAssembler.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-SubAssembler.lo `test -f 'SubAssembler.cc' || echo '$(srcdir)/'`SubAssembler.cc - -libamdis_la-SubElInfo.lo: SubElInfo.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-SubElInfo.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-SubElInfo.Tpo" -c -o libamdis_la-SubElInfo.lo `test -f 'SubElInfo.cc' || echo '$(srcdir)/'`SubElInfo.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-SubElInfo.Tpo" "$(DEPDIR)/libamdis_la-SubElInfo.Plo"; else rm -f "$(DEPDIR)/libamdis_la-SubElInfo.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SubElInfo.cc' object='libamdis_la-SubElInfo.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-SubElInfo.lo `test -f 'SubElInfo.cc' || echo '$(srcdir)/'`SubElInfo.cc - -libamdis_la-SubQuadrature.lo: SubQuadrature.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-SubQuadrature.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-SubQuadrature.Tpo" -c -o libamdis_la-SubQuadrature.lo `test -f 'SubQuadrature.cc' || echo '$(srcdir)/'`SubQuadrature.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-SubQuadrature.Tpo" "$(DEPDIR)/libamdis_la-SubQuadrature.Plo"; else rm -f "$(DEPDIR)/libamdis_la-SubQuadrature.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SubQuadrature.cc' object='libamdis_la-SubQuadrature.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-SubQuadrature.lo `test -f 'SubQuadrature.cc' || echo '$(srcdir)/'`SubQuadrature.cc - -libamdis_la-SurfaceQuadrature.lo: SurfaceQuadrature.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-SurfaceQuadrature.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-SurfaceQuadrature.Tpo" -c -o libamdis_la-SurfaceQuadrature.lo `test -f 'SurfaceQuadrature.cc' || echo '$(srcdir)/'`SurfaceQuadrature.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-SurfaceQuadrature.Tpo" "$(DEPDIR)/libamdis_la-SurfaceQuadrature.Plo"; else rm -f "$(DEPDIR)/libamdis_la-SurfaceQuadrature.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='SurfaceQuadrature.cc' object='libamdis_la-SurfaceQuadrature.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-SurfaceQuadrature.lo `test -f 'SurfaceQuadrature.cc' || echo '$(srcdir)/'`SurfaceQuadrature.cc - -libamdis_la-Tetrahedron.lo: Tetrahedron.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Tetrahedron.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Tetrahedron.Tpo" -c -o libamdis_la-Tetrahedron.lo `test -f 'Tetrahedron.cc' || echo '$(srcdir)/'`Tetrahedron.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Tetrahedron.Tpo" "$(DEPDIR)/libamdis_la-Tetrahedron.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Tetrahedron.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Tetrahedron.cc' object='libamdis_la-Tetrahedron.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Tetrahedron.lo `test -f 'Tetrahedron.cc' || echo '$(srcdir)/'`Tetrahedron.cc - -libamdis_la-Traverse.lo: Traverse.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Traverse.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Traverse.Tpo" -c -o libamdis_la-Traverse.lo `test -f 'Traverse.cc' || echo '$(srcdir)/'`Traverse.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Traverse.Tpo" "$(DEPDIR)/libamdis_la-Traverse.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Traverse.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Traverse.cc' object='libamdis_la-Traverse.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Traverse.lo `test -f 'Traverse.cc' || echo '$(srcdir)/'`Traverse.cc - -libamdis_la-Triangle.lo: Triangle.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-Triangle.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-Triangle.Tpo" -c -o libamdis_la-Triangle.lo `test -f 'Triangle.cc' || echo '$(srcdir)/'`Triangle.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-Triangle.Tpo" "$(DEPDIR)/libamdis_la-Triangle.Plo"; else rm -f "$(DEPDIR)/libamdis_la-Triangle.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='Triangle.cc' object='libamdis_la-Triangle.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-Triangle.lo `test -f 'Triangle.cc' || echo '$(srcdir)/'`Triangle.cc - -libamdis_la-VertexVector.lo: VertexVector.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-VertexVector.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-VertexVector.Tpo" -c -o libamdis_la-VertexVector.lo `test -f 'VertexVector.cc' || echo '$(srcdir)/'`VertexVector.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-VertexVector.Tpo" "$(DEPDIR)/libamdis_la-VertexVector.Plo"; else rm -f "$(DEPDIR)/libamdis_la-VertexVector.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='VertexVector.cc' object='libamdis_la-VertexVector.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-VertexVector.lo `test -f 'VertexVector.cc' || echo '$(srcdir)/'`VertexVector.cc - -libamdis_la-ZeroOrderAssembler.lo: ZeroOrderAssembler.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ZeroOrderAssembler.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ZeroOrderAssembler.Tpo" -c -o libamdis_la-ZeroOrderAssembler.lo `test -f 'ZeroOrderAssembler.cc' || echo '$(srcdir)/'`ZeroOrderAssembler.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ZeroOrderAssembler.Tpo" "$(DEPDIR)/libamdis_la-ZeroOrderAssembler.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ZeroOrderAssembler.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ZeroOrderAssembler.cc' object='libamdis_la-ZeroOrderAssembler.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ZeroOrderAssembler.lo `test -f 'ZeroOrderAssembler.cc' || echo '$(srcdir)/'`ZeroOrderAssembler.cc - -libamdis_la-ZeroOrderTerm.lo: ZeroOrderTerm.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ZeroOrderTerm.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ZeroOrderTerm.Tpo" -c -o libamdis_la-ZeroOrderTerm.lo `test -f 'ZeroOrderTerm.cc' || echo '$(srcdir)/'`ZeroOrderTerm.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ZeroOrderTerm.Tpo" "$(DEPDIR)/libamdis_la-ZeroOrderTerm.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ZeroOrderTerm.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ZeroOrderTerm.cc' object='libamdis_la-ZeroOrderTerm.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ZeroOrderTerm.lo `test -f 'ZeroOrderTerm.cc' || echo '$(srcdir)/'`ZeroOrderTerm.cc - -libamdis_la-ArhReader.lo: io/ArhReader.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ArhReader.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ArhReader.Tpo" -c -o libamdis_la-ArhReader.lo `test -f 'io/ArhReader.cc' || echo '$(srcdir)/'`io/ArhReader.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ArhReader.Tpo" "$(DEPDIR)/libamdis_la-ArhReader.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ArhReader.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='io/ArhReader.cc' object='libamdis_la-ArhReader.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ArhReader.lo `test -f 'io/ArhReader.cc' || echo '$(srcdir)/'`io/ArhReader.cc - -libamdis_la-ArhWriter.lo: io/ArhWriter.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ArhWriter.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ArhWriter.Tpo" -c -o libamdis_la-ArhWriter.lo `test -f 'io/ArhWriter.cc' || echo '$(srcdir)/'`io/ArhWriter.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ArhWriter.Tpo" "$(DEPDIR)/libamdis_la-ArhWriter.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ArhWriter.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='io/ArhWriter.cc' object='libamdis_la-ArhWriter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ArhWriter.lo `test -f 'io/ArhWriter.cc' || echo '$(srcdir)/'`io/ArhWriter.cc - -libamdis_la-DataCollector.lo: io/DataCollector.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-DataCollector.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-DataCollector.Tpo" -c -o libamdis_la-DataCollector.lo `test -f 'io/DataCollector.cc' || echo '$(srcdir)/'`io/DataCollector.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-DataCollector.Tpo" "$(DEPDIR)/libamdis_la-DataCollector.Plo"; else rm -f "$(DEPDIR)/libamdis_la-DataCollector.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='io/DataCollector.cc' object='libamdis_la-DataCollector.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-DataCollector.lo `test -f 'io/DataCollector.cc' || echo '$(srcdir)/'`io/DataCollector.cc - -libamdis_la-DofWriter.lo: io/DofWriter.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-DofWriter.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-DofWriter.Tpo" -c -o libamdis_la-DofWriter.lo `test -f 'io/DofWriter.cc' || echo '$(srcdir)/'`io/DofWriter.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-DofWriter.Tpo" "$(DEPDIR)/libamdis_la-DofWriter.Plo"; else rm -f "$(DEPDIR)/libamdis_la-DofWriter.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='io/DofWriter.cc' object='libamdis_la-DofWriter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-DofWriter.lo `test -f 'io/DofWriter.cc' || echo '$(srcdir)/'`io/DofWriter.cc - -libamdis_la-ElementFileWriter.lo: io/ElementFileWriter.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ElementFileWriter.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ElementFileWriter.Tpo" -c -o libamdis_la-ElementFileWriter.lo `test -f 'io/ElementFileWriter.cc' || echo '$(srcdir)/'`io/ElementFileWriter.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ElementFileWriter.Tpo" "$(DEPDIR)/libamdis_la-ElementFileWriter.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ElementFileWriter.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='io/ElementFileWriter.cc' object='libamdis_la-ElementFileWriter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ElementFileWriter.lo `test -f 'io/ElementFileWriter.cc' || echo '$(srcdir)/'`io/ElementFileWriter.cc - -libamdis_la-FileWriter.lo: io/FileWriter.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-FileWriter.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-FileWriter.Tpo" -c -o libamdis_la-FileWriter.lo `test -f 'io/FileWriter.cc' || echo '$(srcdir)/'`io/FileWriter.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-FileWriter.Tpo" "$(DEPDIR)/libamdis_la-FileWriter.Plo"; else rm -f "$(DEPDIR)/libamdis_la-FileWriter.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='io/FileWriter.cc' object='libamdis_la-FileWriter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-FileWriter.lo `test -f 'io/FileWriter.cc' || echo '$(srcdir)/'`io/FileWriter.cc - -libamdis_la-GNUPlotWriter.lo: io/GNUPlotWriter.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-GNUPlotWriter.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-GNUPlotWriter.Tpo" -c -o libamdis_la-GNUPlotWriter.lo `test -f 'io/GNUPlotWriter.cc' || echo '$(srcdir)/'`io/GNUPlotWriter.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-GNUPlotWriter.Tpo" "$(DEPDIR)/libamdis_la-GNUPlotWriter.Plo"; else rm -f "$(DEPDIR)/libamdis_la-GNUPlotWriter.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='io/GNUPlotWriter.cc' object='libamdis_la-GNUPlotWriter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-GNUPlotWriter.lo `test -f 'io/GNUPlotWriter.cc' || echo '$(srcdir)/'`io/GNUPlotWriter.cc - -libamdis_la-MacroInfo.lo: io/MacroInfo.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-MacroInfo.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-MacroInfo.Tpo" -c -o libamdis_la-MacroInfo.lo `test -f 'io/MacroInfo.cc' || echo '$(srcdir)/'`io/MacroInfo.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-MacroInfo.Tpo" "$(DEPDIR)/libamdis_la-MacroInfo.Plo"; else rm -f "$(DEPDIR)/libamdis_la-MacroInfo.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='io/MacroInfo.cc' object='libamdis_la-MacroInfo.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-MacroInfo.lo `test -f 'io/MacroInfo.cc' || echo '$(srcdir)/'`io/MacroInfo.cc - -libamdis_la-MacroReader.lo: io/MacroReader.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-MacroReader.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-MacroReader.Tpo" -c -o libamdis_la-MacroReader.lo `test -f 'io/MacroReader.cc' || echo '$(srcdir)/'`io/MacroReader.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-MacroReader.Tpo" "$(DEPDIR)/libamdis_la-MacroReader.Plo"; else rm -f "$(DEPDIR)/libamdis_la-MacroReader.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='io/MacroReader.cc' object='libamdis_la-MacroReader.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-MacroReader.lo `test -f 'io/MacroReader.cc' || echo '$(srcdir)/'`io/MacroReader.cc - -libamdis_la-MacroWriter.lo: io/MacroWriter.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-MacroWriter.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-MacroWriter.Tpo" -c -o libamdis_la-MacroWriter.lo `test -f 'io/MacroWriter.cc' || echo '$(srcdir)/'`io/MacroWriter.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-MacroWriter.Tpo" "$(DEPDIR)/libamdis_la-MacroWriter.Plo"; else rm -f "$(DEPDIR)/libamdis_la-MacroWriter.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='io/MacroWriter.cc' object='libamdis_la-MacroWriter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-MacroWriter.lo `test -f 'io/MacroWriter.cc' || echo '$(srcdir)/'`io/MacroWriter.cc - -libamdis_la-PngWriter.lo: io/PngWriter.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-PngWriter.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-PngWriter.Tpo" -c -o libamdis_la-PngWriter.lo `test -f 'io/PngWriter.cc' || echo '$(srcdir)/'`io/PngWriter.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-PngWriter.Tpo" "$(DEPDIR)/libamdis_la-PngWriter.Plo"; else rm -f "$(DEPDIR)/libamdis_la-PngWriter.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='io/PngWriter.cc' object='libamdis_la-PngWriter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-PngWriter.lo `test -f 'io/PngWriter.cc' || echo '$(srcdir)/'`io/PngWriter.cc - -libamdis_la-PovrayWriter.lo: io/PovrayWriter.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-PovrayWriter.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-PovrayWriter.Tpo" -c -o libamdis_la-PovrayWriter.lo `test -f 'io/PovrayWriter.cc' || echo '$(srcdir)/'`io/PovrayWriter.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-PovrayWriter.Tpo" "$(DEPDIR)/libamdis_la-PovrayWriter.Plo"; else rm -f "$(DEPDIR)/libamdis_la-PovrayWriter.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='io/PovrayWriter.cc' object='libamdis_la-PovrayWriter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-PovrayWriter.lo `test -f 'io/PovrayWriter.cc' || echo '$(srcdir)/'`io/PovrayWriter.cc - -libamdis_la-ValueReader.lo: io/ValueReader.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ValueReader.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ValueReader.Tpo" -c -o libamdis_la-ValueReader.lo `test -f 'io/ValueReader.cc' || echo '$(srcdir)/'`io/ValueReader.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ValueReader.Tpo" "$(DEPDIR)/libamdis_la-ValueReader.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ValueReader.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='io/ValueReader.cc' object='libamdis_la-ValueReader.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ValueReader.lo `test -f 'io/ValueReader.cc' || echo '$(srcdir)/'`io/ValueReader.cc - -libamdis_la-ValueWriter.lo: io/ValueWriter.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-ValueWriter.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-ValueWriter.Tpo" -c -o libamdis_la-ValueWriter.lo `test -f 'io/ValueWriter.cc' || echo '$(srcdir)/'`io/ValueWriter.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-ValueWriter.Tpo" "$(DEPDIR)/libamdis_la-ValueWriter.Plo"; else rm -f "$(DEPDIR)/libamdis_la-ValueWriter.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='io/ValueWriter.cc' object='libamdis_la-ValueWriter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-ValueWriter.lo `test -f 'io/ValueWriter.cc' || echo '$(srcdir)/'`io/ValueWriter.cc - -libamdis_la-VtkWriter.lo: io/VtkWriter.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-VtkWriter.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-VtkWriter.Tpo" -c -o libamdis_la-VtkWriter.lo `test -f 'io/VtkWriter.cc' || echo '$(srcdir)/'`io/VtkWriter.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-VtkWriter.Tpo" "$(DEPDIR)/libamdis_la-VtkWriter.Plo"; else rm -f "$(DEPDIR)/libamdis_la-VtkWriter.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='io/VtkWriter.cc' object='libamdis_la-VtkWriter.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-VtkWriter.lo `test -f 'io/VtkWriter.cc' || echo '$(srcdir)/'`io/VtkWriter.cc - -libamdis_la-InteriorBoundary.lo: parallel/InteriorBoundary.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-InteriorBoundary.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-InteriorBoundary.Tpo" -c -o libamdis_la-InteriorBoundary.lo `test -f 'parallel/InteriorBoundary.cc' || echo '$(srcdir)/'`parallel/InteriorBoundary.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-InteriorBoundary.Tpo" "$(DEPDIR)/libamdis_la-InteriorBoundary.Plo"; else rm -f "$(DEPDIR)/libamdis_la-InteriorBoundary.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parallel/InteriorBoundary.cc' object='libamdis_la-InteriorBoundary.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-InteriorBoundary.lo `test -f 'parallel/InteriorBoundary.cc' || echo '$(srcdir)/'`parallel/InteriorBoundary.cc - -libamdis_la-RosenbrockAdaptInstationary.lo: time/RosenbrockAdaptInstationary.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-RosenbrockAdaptInstationary.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-RosenbrockAdaptInstationary.Tpo" -c -o libamdis_la-RosenbrockAdaptInstationary.lo `test -f 'time/RosenbrockAdaptInstationary.cc' || echo '$(srcdir)/'`time/RosenbrockAdaptInstationary.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-RosenbrockAdaptInstationary.Tpo" "$(DEPDIR)/libamdis_la-RosenbrockAdaptInstationary.Plo"; else rm -f "$(DEPDIR)/libamdis_la-RosenbrockAdaptInstationary.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='time/RosenbrockAdaptInstationary.cc' object='libamdis_la-RosenbrockAdaptInstationary.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-RosenbrockAdaptInstationary.lo `test -f 'time/RosenbrockAdaptInstationary.cc' || echo '$(srcdir)/'`time/RosenbrockAdaptInstationary.cc - -libamdis_la-RosenbrockMethod.lo: time/RosenbrockMethod.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-RosenbrockMethod.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-RosenbrockMethod.Tpo" -c -o libamdis_la-RosenbrockMethod.lo `test -f 'time/RosenbrockMethod.cc' || echo '$(srcdir)/'`time/RosenbrockMethod.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-RosenbrockMethod.Tpo" "$(DEPDIR)/libamdis_la-RosenbrockMethod.Plo"; else rm -f "$(DEPDIR)/libamdis_la-RosenbrockMethod.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='time/RosenbrockMethod.cc' object='libamdis_la-RosenbrockMethod.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-RosenbrockMethod.lo `test -f 'time/RosenbrockMethod.cc' || echo '$(srcdir)/'`time/RosenbrockMethod.cc - -libamdis_la-RosenbrockStationary.lo: time/RosenbrockStationary.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -MT libamdis_la-RosenbrockStationary.lo -MD -MP -MF "$(DEPDIR)/libamdis_la-RosenbrockStationary.Tpo" -c -o libamdis_la-RosenbrockStationary.lo `test -f 'time/RosenbrockStationary.cc' || echo '$(srcdir)/'`time/RosenbrockStationary.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libamdis_la-RosenbrockStationary.Tpo" "$(DEPDIR)/libamdis_la-RosenbrockStationary.Plo"; else rm -f "$(DEPDIR)/libamdis_la-RosenbrockStationary.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='time/RosenbrockStationary.cc' object='libamdis_la-RosenbrockStationary.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libamdis_la_CXXFLAGS) $(CXXFLAGS) -c -o libamdis_la-RosenbrockStationary.lo `test -f 'time/RosenbrockStationary.cc' || echo '$(srcdir)/'`time/RosenbrockStationary.cc - -libcompositeFEM_la-CFE_Integration.lo: compositeFEM/CFE_Integration.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -MT libcompositeFEM_la-CFE_Integration.lo -MD -MP -MF "$(DEPDIR)/libcompositeFEM_la-CFE_Integration.Tpo" -c -o libcompositeFEM_la-CFE_Integration.lo `test -f 'compositeFEM/CFE_Integration.cc' || echo '$(srcdir)/'`compositeFEM/CFE_Integration.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libcompositeFEM_la-CFE_Integration.Tpo" "$(DEPDIR)/libcompositeFEM_la-CFE_Integration.Plo"; else rm -f "$(DEPDIR)/libcompositeFEM_la-CFE_Integration.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='compositeFEM/CFE_Integration.cc' object='libcompositeFEM_la-CFE_Integration.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -c -o libcompositeFEM_la-CFE_Integration.lo `test -f 'compositeFEM/CFE_Integration.cc' || echo '$(srcdir)/'`compositeFEM/CFE_Integration.cc - -libcompositeFEM_la-CFE_NormAndErrorFcts.lo: compositeFEM/CFE_NormAndErrorFcts.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -MT libcompositeFEM_la-CFE_NormAndErrorFcts.lo -MD -MP -MF "$(DEPDIR)/libcompositeFEM_la-CFE_NormAndErrorFcts.Tpo" -c -o libcompositeFEM_la-CFE_NormAndErrorFcts.lo `test -f 'compositeFEM/CFE_NormAndErrorFcts.cc' || echo '$(srcdir)/'`compositeFEM/CFE_NormAndErrorFcts.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libcompositeFEM_la-CFE_NormAndErrorFcts.Tpo" "$(DEPDIR)/libcompositeFEM_la-CFE_NormAndErrorFcts.Plo"; else rm -f "$(DEPDIR)/libcompositeFEM_la-CFE_NormAndErrorFcts.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='compositeFEM/CFE_NormAndErrorFcts.cc' object='libcompositeFEM_la-CFE_NormAndErrorFcts.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -c -o libcompositeFEM_la-CFE_NormAndErrorFcts.lo `test -f 'compositeFEM/CFE_NormAndErrorFcts.cc' || echo '$(srcdir)/'`compositeFEM/CFE_NormAndErrorFcts.cc - -libcompositeFEM_la-CompositeFEMMethods.lo: compositeFEM/CompositeFEMMethods.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -MT libcompositeFEM_la-CompositeFEMMethods.lo -MD -MP -MF "$(DEPDIR)/libcompositeFEM_la-CompositeFEMMethods.Tpo" -c -o libcompositeFEM_la-CompositeFEMMethods.lo `test -f 'compositeFEM/CompositeFEMMethods.cc' || echo '$(srcdir)/'`compositeFEM/CompositeFEMMethods.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libcompositeFEM_la-CompositeFEMMethods.Tpo" "$(DEPDIR)/libcompositeFEM_la-CompositeFEMMethods.Plo"; else rm -f "$(DEPDIR)/libcompositeFEM_la-CompositeFEMMethods.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='compositeFEM/CompositeFEMMethods.cc' object='libcompositeFEM_la-CompositeFEMMethods.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -c -o libcompositeFEM_la-CompositeFEMMethods.lo `test -f 'compositeFEM/CompositeFEMMethods.cc' || echo '$(srcdir)/'`compositeFEM/CompositeFEMMethods.cc - -libcompositeFEM_la-CompositeFEMOperator.lo: compositeFEM/CompositeFEMOperator.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -MT libcompositeFEM_la-CompositeFEMOperator.lo -MD -MP -MF "$(DEPDIR)/libcompositeFEM_la-CompositeFEMOperator.Tpo" -c -o libcompositeFEM_la-CompositeFEMOperator.lo `test -f 'compositeFEM/CompositeFEMOperator.cc' || echo '$(srcdir)/'`compositeFEM/CompositeFEMOperator.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libcompositeFEM_la-CompositeFEMOperator.Tpo" "$(DEPDIR)/libcompositeFEM_la-CompositeFEMOperator.Plo"; else rm -f "$(DEPDIR)/libcompositeFEM_la-CompositeFEMOperator.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='compositeFEM/CompositeFEMOperator.cc' object='libcompositeFEM_la-CompositeFEMOperator.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -c -o libcompositeFEM_la-CompositeFEMOperator.lo `test -f 'compositeFEM/CompositeFEMOperator.cc' || echo '$(srcdir)/'`compositeFEM/CompositeFEMOperator.cc - -libcompositeFEM_la-ElementLevelSet.lo: compositeFEM/ElementLevelSet.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -MT libcompositeFEM_la-ElementLevelSet.lo -MD -MP -MF "$(DEPDIR)/libcompositeFEM_la-ElementLevelSet.Tpo" -c -o libcompositeFEM_la-ElementLevelSet.lo `test -f 'compositeFEM/ElementLevelSet.cc' || echo '$(srcdir)/'`compositeFEM/ElementLevelSet.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libcompositeFEM_la-ElementLevelSet.Tpo" "$(DEPDIR)/libcompositeFEM_la-ElementLevelSet.Plo"; else rm -f "$(DEPDIR)/libcompositeFEM_la-ElementLevelSet.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='compositeFEM/ElementLevelSet.cc' object='libcompositeFEM_la-ElementLevelSet.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -c -o libcompositeFEM_la-ElementLevelSet.lo `test -f 'compositeFEM/ElementLevelSet.cc' || echo '$(srcdir)/'`compositeFEM/ElementLevelSet.cc - -libcompositeFEM_la-LevelSetAdaptMesh.lo: compositeFEM/LevelSetAdaptMesh.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -MT libcompositeFEM_la-LevelSetAdaptMesh.lo -MD -MP -MF "$(DEPDIR)/libcompositeFEM_la-LevelSetAdaptMesh.Tpo" -c -o libcompositeFEM_la-LevelSetAdaptMesh.lo `test -f 'compositeFEM/LevelSetAdaptMesh.cc' || echo '$(srcdir)/'`compositeFEM/LevelSetAdaptMesh.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libcompositeFEM_la-LevelSetAdaptMesh.Tpo" "$(DEPDIR)/libcompositeFEM_la-LevelSetAdaptMesh.Plo"; else rm -f "$(DEPDIR)/libcompositeFEM_la-LevelSetAdaptMesh.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='compositeFEM/LevelSetAdaptMesh.cc' object='libcompositeFEM_la-LevelSetAdaptMesh.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -c -o libcompositeFEM_la-LevelSetAdaptMesh.lo `test -f 'compositeFEM/LevelSetAdaptMesh.cc' || echo '$(srcdir)/'`compositeFEM/LevelSetAdaptMesh.cc - -libcompositeFEM_la-PenaltyOperator.lo: compositeFEM/PenaltyOperator.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -MT libcompositeFEM_la-PenaltyOperator.lo -MD -MP -MF "$(DEPDIR)/libcompositeFEM_la-PenaltyOperator.Tpo" -c -o libcompositeFEM_la-PenaltyOperator.lo `test -f 'compositeFEM/PenaltyOperator.cc' || echo '$(srcdir)/'`compositeFEM/PenaltyOperator.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libcompositeFEM_la-PenaltyOperator.Tpo" "$(DEPDIR)/libcompositeFEM_la-PenaltyOperator.Plo"; else rm -f "$(DEPDIR)/libcompositeFEM_la-PenaltyOperator.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='compositeFEM/PenaltyOperator.cc' object='libcompositeFEM_la-PenaltyOperator.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -c -o libcompositeFEM_la-PenaltyOperator.lo `test -f 'compositeFEM/PenaltyOperator.cc' || echo '$(srcdir)/'`compositeFEM/PenaltyOperator.cc - -libcompositeFEM_la-SubElementAssembler.lo: compositeFEM/SubElementAssembler.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -MT libcompositeFEM_la-SubElementAssembler.lo -MD -MP -MF "$(DEPDIR)/libcompositeFEM_la-SubElementAssembler.Tpo" -c -o libcompositeFEM_la-SubElementAssembler.lo `test -f 'compositeFEM/SubElementAssembler.cc' || echo '$(srcdir)/'`compositeFEM/SubElementAssembler.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libcompositeFEM_la-SubElementAssembler.Tpo" "$(DEPDIR)/libcompositeFEM_la-SubElementAssembler.Plo"; else rm -f "$(DEPDIR)/libcompositeFEM_la-SubElementAssembler.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='compositeFEM/SubElementAssembler.cc' object='libcompositeFEM_la-SubElementAssembler.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -c -o libcompositeFEM_la-SubElementAssembler.lo `test -f 'compositeFEM/SubElementAssembler.cc' || echo '$(srcdir)/'`compositeFEM/SubElementAssembler.cc - -libcompositeFEM_la-SubPolytope.lo: compositeFEM/SubPolytope.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -MT libcompositeFEM_la-SubPolytope.lo -MD -MP -MF "$(DEPDIR)/libcompositeFEM_la-SubPolytope.Tpo" -c -o libcompositeFEM_la-SubPolytope.lo `test -f 'compositeFEM/SubPolytope.cc' || echo '$(srcdir)/'`compositeFEM/SubPolytope.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libcompositeFEM_la-SubPolytope.Tpo" "$(DEPDIR)/libcompositeFEM_la-SubPolytope.Plo"; else rm -f "$(DEPDIR)/libcompositeFEM_la-SubPolytope.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='compositeFEM/SubPolytope.cc' object='libcompositeFEM_la-SubPolytope.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcompositeFEM_la_CXXFLAGS) $(CXXFLAGS) -c -o libcompositeFEM_la-SubPolytope.lo `test -f 'compositeFEM/SubPolytope.cc' || echo '$(srcdir)/'`compositeFEM/SubPolytope.cc - -libreinit_la-BoundaryElementDist.lo: reinit/BoundaryElementDist.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -MT libreinit_la-BoundaryElementDist.lo -MD -MP -MF "$(DEPDIR)/libreinit_la-BoundaryElementDist.Tpo" -c -o libreinit_la-BoundaryElementDist.lo `test -f 'reinit/BoundaryElementDist.cc' || echo '$(srcdir)/'`reinit/BoundaryElementDist.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libreinit_la-BoundaryElementDist.Tpo" "$(DEPDIR)/libreinit_la-BoundaryElementDist.Plo"; else rm -f "$(DEPDIR)/libreinit_la-BoundaryElementDist.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='reinit/BoundaryElementDist.cc' object='libreinit_la-BoundaryElementDist.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -c -o libreinit_la-BoundaryElementDist.lo `test -f 'reinit/BoundaryElementDist.cc' || echo '$(srcdir)/'`reinit/BoundaryElementDist.cc - -libreinit_la-BoundaryElementEdgeDist.lo: reinit/BoundaryElementEdgeDist.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -MT libreinit_la-BoundaryElementEdgeDist.lo -MD -MP -MF "$(DEPDIR)/libreinit_la-BoundaryElementEdgeDist.Tpo" -c -o libreinit_la-BoundaryElementEdgeDist.lo `test -f 'reinit/BoundaryElementEdgeDist.cc' || echo '$(srcdir)/'`reinit/BoundaryElementEdgeDist.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libreinit_la-BoundaryElementEdgeDist.Tpo" "$(DEPDIR)/libreinit_la-BoundaryElementEdgeDist.Plo"; else rm -f "$(DEPDIR)/libreinit_la-BoundaryElementEdgeDist.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='reinit/BoundaryElementEdgeDist.cc' object='libreinit_la-BoundaryElementEdgeDist.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -c -o libreinit_la-BoundaryElementEdgeDist.lo `test -f 'reinit/BoundaryElementEdgeDist.cc' || echo '$(srcdir)/'`reinit/BoundaryElementEdgeDist.cc - -libreinit_la-BoundaryElementLevelSetDist.lo: reinit/BoundaryElementLevelSetDist.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -MT libreinit_la-BoundaryElementLevelSetDist.lo -MD -MP -MF "$(DEPDIR)/libreinit_la-BoundaryElementLevelSetDist.Tpo" -c -o libreinit_la-BoundaryElementLevelSetDist.lo `test -f 'reinit/BoundaryElementLevelSetDist.cc' || echo '$(srcdir)/'`reinit/BoundaryElementLevelSetDist.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libreinit_la-BoundaryElementLevelSetDist.Tpo" "$(DEPDIR)/libreinit_la-BoundaryElementLevelSetDist.Plo"; else rm -f "$(DEPDIR)/libreinit_la-BoundaryElementLevelSetDist.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='reinit/BoundaryElementLevelSetDist.cc' object='libreinit_la-BoundaryElementLevelSetDist.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -c -o libreinit_la-BoundaryElementLevelSetDist.lo `test -f 'reinit/BoundaryElementLevelSetDist.cc' || echo '$(srcdir)/'`reinit/BoundaryElementLevelSetDist.cc - -libreinit_la-BoundaryElementNormalDist.lo: reinit/BoundaryElementNormalDist.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -MT libreinit_la-BoundaryElementNormalDist.lo -MD -MP -MF "$(DEPDIR)/libreinit_la-BoundaryElementNormalDist.Tpo" -c -o libreinit_la-BoundaryElementNormalDist.lo `test -f 'reinit/BoundaryElementNormalDist.cc' || echo '$(srcdir)/'`reinit/BoundaryElementNormalDist.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libreinit_la-BoundaryElementNormalDist.Tpo" "$(DEPDIR)/libreinit_la-BoundaryElementNormalDist.Plo"; else rm -f "$(DEPDIR)/libreinit_la-BoundaryElementNormalDist.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='reinit/BoundaryElementNormalDist.cc' object='libreinit_la-BoundaryElementNormalDist.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -c -o libreinit_la-BoundaryElementNormalDist.lo `test -f 'reinit/BoundaryElementNormalDist.cc' || echo '$(srcdir)/'`reinit/BoundaryElementNormalDist.cc - -libreinit_la-BoundaryElementTopDist.lo: reinit/BoundaryElementTopDist.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -MT libreinit_la-BoundaryElementTopDist.lo -MD -MP -MF "$(DEPDIR)/libreinit_la-BoundaryElementTopDist.Tpo" -c -o libreinit_la-BoundaryElementTopDist.lo `test -f 'reinit/BoundaryElementTopDist.cc' || echo '$(srcdir)/'`reinit/BoundaryElementTopDist.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libreinit_la-BoundaryElementTopDist.Tpo" "$(DEPDIR)/libreinit_la-BoundaryElementTopDist.Plo"; else rm -f "$(DEPDIR)/libreinit_la-BoundaryElementTopDist.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='reinit/BoundaryElementTopDist.cc' object='libreinit_la-BoundaryElementTopDist.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -c -o libreinit_la-BoundaryElementTopDist.lo `test -f 'reinit/BoundaryElementTopDist.cc' || echo '$(srcdir)/'`reinit/BoundaryElementTopDist.cc - -libreinit_la-ElementLevelSet.lo: reinit/ElementLevelSet.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -MT libreinit_la-ElementLevelSet.lo -MD -MP -MF "$(DEPDIR)/libreinit_la-ElementLevelSet.Tpo" -c -o libreinit_la-ElementLevelSet.lo `test -f 'reinit/ElementLevelSet.cc' || echo '$(srcdir)/'`reinit/ElementLevelSet.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libreinit_la-ElementLevelSet.Tpo" "$(DEPDIR)/libreinit_la-ElementLevelSet.Plo"; else rm -f "$(DEPDIR)/libreinit_la-ElementLevelSet.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='reinit/ElementLevelSet.cc' object='libreinit_la-ElementLevelSet.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -c -o libreinit_la-ElementLevelSet.lo `test -f 'reinit/ElementLevelSet.cc' || echo '$(srcdir)/'`reinit/ElementLevelSet.cc - -libreinit_la-ElementUpdate_2d.lo: reinit/ElementUpdate_2d.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -MT libreinit_la-ElementUpdate_2d.lo -MD -MP -MF "$(DEPDIR)/libreinit_la-ElementUpdate_2d.Tpo" -c -o libreinit_la-ElementUpdate_2d.lo `test -f 'reinit/ElementUpdate_2d.cc' || echo '$(srcdir)/'`reinit/ElementUpdate_2d.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libreinit_la-ElementUpdate_2d.Tpo" "$(DEPDIR)/libreinit_la-ElementUpdate_2d.Plo"; else rm -f "$(DEPDIR)/libreinit_la-ElementUpdate_2d.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='reinit/ElementUpdate_2d.cc' object='libreinit_la-ElementUpdate_2d.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -c -o libreinit_la-ElementUpdate_2d.lo `test -f 'reinit/ElementUpdate_2d.cc' || echo '$(srcdir)/'`reinit/ElementUpdate_2d.cc - -libreinit_la-ElementUpdate_3d.lo: reinit/ElementUpdate_3d.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -MT libreinit_la-ElementUpdate_3d.lo -MD -MP -MF "$(DEPDIR)/libreinit_la-ElementUpdate_3d.Tpo" -c -o libreinit_la-ElementUpdate_3d.lo `test -f 'reinit/ElementUpdate_3d.cc' || echo '$(srcdir)/'`reinit/ElementUpdate_3d.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libreinit_la-ElementUpdate_3d.Tpo" "$(DEPDIR)/libreinit_la-ElementUpdate_3d.Plo"; else rm -f "$(DEPDIR)/libreinit_la-ElementUpdate_3d.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='reinit/ElementUpdate_3d.cc' object='libreinit_la-ElementUpdate_3d.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -c -o libreinit_la-ElementUpdate_3d.lo `test -f 'reinit/ElementUpdate_3d.cc' || echo '$(srcdir)/'`reinit/ElementUpdate_3d.cc - -libreinit_la-HL_SignedDist.lo: reinit/HL_SignedDist.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -MT libreinit_la-HL_SignedDist.lo -MD -MP -MF "$(DEPDIR)/libreinit_la-HL_SignedDist.Tpo" -c -o libreinit_la-HL_SignedDist.lo `test -f 'reinit/HL_SignedDist.cc' || echo '$(srcdir)/'`reinit/HL_SignedDist.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libreinit_la-HL_SignedDist.Tpo" "$(DEPDIR)/libreinit_la-HL_SignedDist.Plo"; else rm -f "$(DEPDIR)/libreinit_la-HL_SignedDist.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='reinit/HL_SignedDist.cc' object='libreinit_la-HL_SignedDist.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -c -o libreinit_la-HL_SignedDist.lo `test -f 'reinit/HL_SignedDist.cc' || echo '$(srcdir)/'`reinit/HL_SignedDist.cc - -libreinit_la-HL_SignedDistTraverse.lo: reinit/HL_SignedDistTraverse.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -MT libreinit_la-HL_SignedDistTraverse.lo -MD -MP -MF "$(DEPDIR)/libreinit_la-HL_SignedDistTraverse.Tpo" -c -o libreinit_la-HL_SignedDistTraverse.lo `test -f 'reinit/HL_SignedDistTraverse.cc' || echo '$(srcdir)/'`reinit/HL_SignedDistTraverse.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libreinit_la-HL_SignedDistTraverse.Tpo" "$(DEPDIR)/libreinit_la-HL_SignedDistTraverse.Plo"; else rm -f "$(DEPDIR)/libreinit_la-HL_SignedDistTraverse.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='reinit/HL_SignedDistTraverse.cc' object='libreinit_la-HL_SignedDistTraverse.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -c -o libreinit_la-HL_SignedDistTraverse.lo `test -f 'reinit/HL_SignedDistTraverse.cc' || echo '$(srcdir)/'`reinit/HL_SignedDistTraverse.cc - -libreinit_la-NormEps.lo: reinit/NormEps.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -MT libreinit_la-NormEps.lo -MD -MP -MF "$(DEPDIR)/libreinit_la-NormEps.Tpo" -c -o libreinit_la-NormEps.lo `test -f 'reinit/NormEps.cc' || echo '$(srcdir)/'`reinit/NormEps.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libreinit_la-NormEps.Tpo" "$(DEPDIR)/libreinit_la-NormEps.Plo"; else rm -f "$(DEPDIR)/libreinit_la-NormEps.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='reinit/NormEps.cc' object='libreinit_la-NormEps.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -c -o libreinit_la-NormEps.lo `test -f 'reinit/NormEps.cc' || echo '$(srcdir)/'`reinit/NormEps.cc - -libreinit_la-VelocityExt.lo: reinit/VelocityExt.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -MT libreinit_la-VelocityExt.lo -MD -MP -MF "$(DEPDIR)/libreinit_la-VelocityExt.Tpo" -c -o libreinit_la-VelocityExt.lo `test -f 'reinit/VelocityExt.cc' || echo '$(srcdir)/'`reinit/VelocityExt.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libreinit_la-VelocityExt.Tpo" "$(DEPDIR)/libreinit_la-VelocityExt.Plo"; else rm -f "$(DEPDIR)/libreinit_la-VelocityExt.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='reinit/VelocityExt.cc' object='libreinit_la-VelocityExt.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -c -o libreinit_la-VelocityExt.lo `test -f 'reinit/VelocityExt.cc' || echo '$(srcdir)/'`reinit/VelocityExt.cc - -libreinit_la-VelocityExtFromVelocityField.lo: reinit/VelocityExtFromVelocityField.cc -@am__fastdepCXX_TRUE@ if $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -MT libreinit_la-VelocityExtFromVelocityField.lo -MD -MP -MF "$(DEPDIR)/libreinit_la-VelocityExtFromVelocityField.Tpo" -c -o libreinit_la-VelocityExtFromVelocityField.lo `test -f 'reinit/VelocityExtFromVelocityField.cc' || echo '$(srcdir)/'`reinit/VelocityExtFromVelocityField.cc; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libreinit_la-VelocityExtFromVelocityField.Tpo" "$(DEPDIR)/libreinit_la-VelocityExtFromVelocityField.Plo"; else rm -f "$(DEPDIR)/libreinit_la-VelocityExtFromVelocityField.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='reinit/VelocityExtFromVelocityField.cc' object='libreinit_la-VelocityExtFromVelocityField.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libreinit_la_CXXFLAGS) $(CXXFLAGS) -c -o libreinit_la-VelocityExtFromVelocityField.lo `test -f 'reinit/VelocityExtFromVelocityField.cc' || echo '$(srcdir)/'`reinit/VelocityExtFromVelocityField.cc - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: -install-nobase_includeHEADERS: $(nobase_include_HEADERS) - @$(NORMAL_INSTALL) - test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)" - @$(am__vpath_adj_setup) \ - list='$(nobase_include_HEADERS)'; for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - $(am__vpath_adj) \ - echo " $(nobase_includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ - $(nobase_includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ - done - -uninstall-nobase_includeHEADERS: - @$(NORMAL_UNINSTALL) - @$(am__vpath_adj_setup) \ - list='$(nobase_include_HEADERS)'; for p in $$list; do \ - $(am__vpath_adj) \ - echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ - rm -f "$(DESTDIR)$(includedir)/$$f"; \ - 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; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - 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; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - 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; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - $(mkdir_p) $(distdir)/compositeFEM $(distdir)/io $(distdir)/itl $(distdir)/parallel $(distdir)/reinit $(distdir)/time - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$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 $(LTLIBRARIES) $(HEADERS) -installdirs: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; 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) - -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-generic clean-libLTLIBRARIES clean-libtool \ - mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-libtool distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: install-nobase_includeHEADERS - -install-exec-am: install-libLTLIBRARIES - -install-info: install-info-am - -install-man: - -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 \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \ - uninstall-nobase_includeHEADERS - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libLTLIBRARIES clean-libtool ctags distclean \ - distclean-compile distclean-generic distclean-libtool \ - distclean-tags distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-exec \ - install-exec-am install-info install-info-am \ - install-libLTLIBRARIES install-man \ - install-nobase_includeHEADERS install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-info-am \ - uninstall-libLTLIBRARIES uninstall-nobase_includeHEADERS - -# 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: diff --git a/AMDiS/src/Marker.cc b/AMDiS/src/Marker.cc index c918438f84c677b50ad1b667e1fa209fb5e76834..d00b8de0c96b7f5edb5ece9ce256f50635d78a16 100644 --- a/AMDiS/src/Marker.cc +++ b/AMDiS/src/Marker.cc @@ -21,7 +21,7 @@ namespace AMDiS { Marker *Marker::createMarker(std::string name, int row) { int strategy = 0; - GET_PARAMETER(0, name + "->strategy", "%d", &strategy); + Parameters::get(name + "->strategy", strategy); Marker *marker = NULL; @@ -79,7 +79,7 @@ namespace AMDiS { if (adaptInfo->isRefinementAllowed(row == -1 ? 0 : row) && lError > markRLimit) { if (maxRefineLevel == -1 || elInfo->getLevel() < maxRefineLevel) - setMark(el, adaptInfo->getRefineBisections(row == -1 ? 0 : row)); + setMark(el, adaptInfo->getRefineBisections(row == -1 ? 0 : row)); } else { if (adaptInfo->isCoarseningAllowed(row == -1 ? 0 : row) && lError <= markCLimit) { if (minRefineLevel == -1 || elInfo->getLevel() > minRefineLevel) { diff --git a/AMDiS/src/Marker.h b/AMDiS/src/Marker.h index edf4926c6c14573b760252088b7af8743676d034..e79089507a9511c1d7045856645ed6f9ea35b010 100644 --- a/AMDiS/src/Marker.h +++ b/AMDiS/src/Marker.h @@ -55,10 +55,10 @@ namespace AMDiS { maxRefineLevel(-1), minRefineLevel(-1) { - GET_PARAMETER(0, name + "->p", "%f", &p); - GET_PARAMETER(0, name + "->info", "%d", &info); - GET_PARAMETER(0, name + "->max refinement level", "%d", &maxRefineLevel); - GET_PARAMETER(0, name + "->min refinement level", "%d", &minRefineLevel); + Parameters::get(name + "->p", p); + Parameters::get(name + "->info", info); + Parameters::get(name + "->max refinement level", maxRefineLevel); + Parameters::get(name + "->min refinement level", minRefineLevel); } /// destructor @@ -222,8 +222,8 @@ namespace AMDiS { MSGamma(0.5), MSGammaC(0.1) { - GET_PARAMETER(0, name + "->MSGamma", "%f", &MSGamma); - GET_PARAMETER(0, name + "->MSGammaC", "%f", &MSGammaC); + Parameters::get(name + "->MSGamma", MSGamma); + Parameters::get(name + "->MSGammaC", MSGammaC); } /// Implementation of MarkScal::initMarking(). @@ -262,8 +262,8 @@ namespace AMDiS { ESTheta(0.9), ESThetaC(0.2) { - GET_PARAMETER(0, name + "->ESTheta", "%f", &ESTheta); - GET_PARAMETER(0, name + "->ESThetaC", "%f", &ESThetaC); + Parameters::get(name + "->ESTheta", ESTheta); + Parameters::get(name + "->ESThetaC", ESThetaC); } /// Implementation of MarkScal::initMarking(). @@ -295,9 +295,9 @@ namespace AMDiS { GERSNu(0.1), GERSThetaC(0.1) { - GET_PARAMETER(0, name + "->GERSThetaStar", "%f", &GERSThetaStar); - GET_PARAMETER(0, name + "->GERSNu", "%f", &GERSNu); - GET_PARAMETER(0, name + "->GERSThetaC", "%f", &GERSThetaC); + Parameters::get(name + "->GERSThetaStar", GERSThetaStar); + Parameters::get(name + "->GERSNu", GERSNu); + Parameters::get(name + "->GERSThetaC", GERSThetaC); } /// Implementation of Marker::markMesh(). diff --git a/AMDiS/src/Mesh.cc b/AMDiS/src/Mesh.cc index 13acef6b185c3adf76e6e32b3d5e408a23e493ea..ec6baaac83b9efd82d093abe12435db1ea844e41 100644 --- a/AMDiS/src/Mesh.cc +++ b/AMDiS/src/Mesh.cc @@ -1207,11 +1207,11 @@ namespace AMDiS { string periodicFilename(""); int check = 1; - GET_PARAMETER(0, name + "->macro file name", ¯oFilename); - GET_PARAMETER(0, name + "->value file name", &valueFilename); - GET_PARAMETER(0, name + "->periodic file", &periodicFilename); - GET_PARAMETER(0, name + "->check", "%d", &check); - GET_PARAMETER(0, name + "->preserve coarse dofs", "%d", &preserveCoarseDOFs); + Parameters::get(name + "->macro file name", macroFilename); + Parameters::get(name + "->value file name", valueFilename); + Parameters::get(name + "->periodic file", periodicFilename); + Parameters::get(name + "->check", check); + Parameters::get(name + "->preserve coarse dofs", preserveCoarseDOFs); if (macroFilename.length()) { // In parallel computations, check if a finer macro mesh is required. @@ -1310,7 +1310,7 @@ namespace AMDiS { // === Check if number of pre refinements is set ini init file. === int tmp = -1; - GET_PARAMETER(0, "parallel->pre refine", "%d", &tmp); + Parameters::get("parallel->pre refine", tmp); if (tmp > -1) { MSG("Calculated %d pre refines to be useful, but %d are set in init file!\n", nParallelPreRefinements, tmp); @@ -1326,7 +1326,7 @@ namespace AMDiS { // === If macro weights are explicitly given, we cannot change the mesh. === string macroWeightsFilename = ""; - GET_PARAMETER(0, name + "->macro weights", ¯oWeightsFilename); + Parameters::get(name + "->macro weights", macroWeightsFilename); if (macroWeightsFilename != "") { ERROR_EXIT("Should not happen!\n"); } @@ -1384,7 +1384,7 @@ namespace AMDiS { // === We have refined the mesh, so reduce the number of global refinements. === int globalRefinements = 0; - GET_PARAMETER(0, name + "->global refinements", "%d", &globalRefinements); + Parameters::get(name + "->global refinements", globalRefinements); if (globalRefinements < nParallelPreRefinements) globalRefinements = 0; diff --git a/AMDiS/src/Newton.h b/AMDiS/src/Newton.h deleted file mode 100644 index 74e127246ef53d285ce57456dd40b6caf0fc02c6..0000000000000000000000000000000000000000 --- a/AMDiS/src/Newton.h +++ /dev/null @@ -1,89 +0,0 @@ -// ============================================================================ -// == == -// == AMDiS - Adaptive multidimensional simulations == -// == == -// == http://www.amdis-fem.org == -// == == -// ============================================================================ -// -// Software License for AMDiS -// -// Copyright (c) 2010 Dresden University of Technology -// All rights reserved. -// Authors: Simon Vey, Thomas Witkowski et al. -// -// This file is part of AMDiS -// -// See also license.opensource.txt in the distribution. - - - -/** \file Newton.h */ - -#ifndef AMDIS_newTON_H -#define AMDIS_newTON_H - -#if 0 - -#include "CreatorInterface.h" -#include "NonLinSolver.h" -#include "AMDiS_fwd.h" - -namespace AMDiS { - - /** - * \ingroup Solver - * - * \brief - * Implements the newton method for solving a non linear system. Sub class of - * NonLinSolver. - */ - template<typename VectorType> - class Newton : public NonLinSolver<VectorType> - { - public: - /// Creator class used in the NonLinSolverMap. - class Creator : public NonLinSolverCreator<VectorType> - { - public: - virtual ~Creator() {} - - /// Returns a new Newton object. - NonLinSolver<VectorType>* create() - { - return new Newton(this->name, this->linearSolver, this->nonLinUpdater); - } - }; - - /// Calls constructor of base class NonLinSolver - Newton(std::string name_, - OEMSolver *linSolver_, - NonLinUpdater<VectorType> *updater) - : NonLinSolver<VectorType>(name_, linSolver_, updater) - {} - - private: - /// realisation of NonLinSolver::init - void init(); - - /// realisation of NonLinSolver::nlsolve - int nlsolve(MatVecMultiplier<VectorType> *matVec, - VectorType *x, VectorType *rhs, - Preconditioner<VectorType> *lPrecon = NULL, - Preconditioner<VectorType> *rPrecon = NULL); - - /// realisation of NonLinSolver::exit - void exit(); - - private: - /// internal used data - VectorType *b; - }; - -} - -#include "Newton.hh" - -#endif - -#endif // AMDIS_newTON_H diff --git a/AMDiS/src/Newton.hh b/AMDiS/src/Newton.hh deleted file mode 100644 index 90f9d1da3960dd068e4375b921f04d1f91ad07b3..0000000000000000000000000000000000000000 --- a/AMDiS/src/Newton.hh +++ /dev/null @@ -1,103 +0,0 @@ -// -// Software License for AMDiS -// -// Copyright (c) 2010 Dresden University of Technology -// All rights reserved. -// Authors: Simon Vey, Thomas Witkowski et al. -// -// This file is part of AMDiS -// -// See also license.opensource.txt in the distribution. - - -#include "OEMSolver.h" -#include "NonLinUpdater.h" - -namespace AMDiS { - - template<typename VectorType> - void Newton<VectorType>::init() - { - TEST_EXIT(this->vectorCreator)("no vectorCreator\n"); - b = this->vectorCreator->create(); - } - - template<typename VectorType> - void Newton<VectorType>::exit() - { - if(b) this->vectorCreator->free(b); - } - - template<typename VectorType> - int Newton<VectorType>::nlsolve(MatVecMultiplier<VectorType> *matVec, - VectorType *x, VectorType *d, - Preconditioner<VectorType> *lPrecon, - Preconditioner<VectorType> *rPrecon) - { - FUNCNAME("Newton::nlsolve"); - - //DOFVector<T> *d = problem->getRHS(); - //DOFVector<T> *x = problem->getSolution();; - - *b = *d; - - // // copy operators from fh to b - // std::vector<Operator*>::iterator op; - // std::vector<double*>::iterator fac; - // for(op = d->getOperatorsBegin(), - // fac = d->getOperatorFactorBegin(); - // op != d->getOperatorsEnd(); - // ++op, ++fac) - // { - // b->addOperator(*op, *fac); - // } - - double err = 0.0, err_old = -1.0; - int iter, n; - - INFO(this->info,2)("iter. | this->residual | red. | n |\n"); - - for (iter = 1; iter <= this->maxIter; iter++) - { - /*--- Assemble DF(x) and F(x) ----------------------------------------------*/ - this->nonLinUpdater->update(/*x,*/true, b); - /*--- Initial guess is zero ------------------------------------------------*/ - d->set(0.0); - /*--- solve linear system --------------------------------------------------*/ - n = solveLinearSystem(matVec, b, d, lPrecon, rPrecon); - /*--- x = x - d ------------------------------------------------------------*/ - *x -= *d; - - if(this->usedNorm == NO_NORM || this->usedNorm == L2_NORM) - err = L2Norm(d); // sollte hier nicht b genommen werden (s. NewtonS) ? - else - err = H1Norm(d); // sollte hier nicht b genommen werden (s. NewtonS) ? - - - if (iter == 1) this->initial_residual = err; - - if (err_old <= 0) { - INFO(this->info,2)("%5d | %12.5e | -------- | %4d |\n", iter, err, n); - } else { - INFO(this->info,2)("%5d | %12.5e | %8.2e | %4d |\n", - iter, err, err/err_old, n); - } - - if ((this->residual = err) < this->tolerance) - { - INFO(this->info,4)("finished successfully\n"); - return(iter); - } - err_old = err; - } - - if (this->info < 2) - INFO(this->info,1)("iter. %d, residual: %12.5e\n", iter, err); - INFO(this->info,1)("tolerance %e not reached\n", this->tolerance); - - this->residual = err; - - return(iter); - } - -} diff --git a/AMDiS/src/NewtonS.h b/AMDiS/src/NewtonS.h deleted file mode 100644 index 404a86805fa2c7c77407299f127fd39ebbe61800..0000000000000000000000000000000000000000 --- a/AMDiS/src/NewtonS.h +++ /dev/null @@ -1,109 +0,0 @@ -// ============================================================================ -// == == -// == AMDiS - Adaptive multidimensional simulations == -// == == -// == http://www.amdis-fem.org == -// == == -// ============================================================================ -// -// Software License for AMDiS -// -// Copyright (c) 2010 Dresden University of Technology -// All rights reserved. -// Authors: Simon Vey, Thomas Witkowski et al. -// -// This file is part of AMDiS -// -// See also license.opensource.txt in the distribution. - - - -/** \file NewtonS.h */ - -#ifndef AMDIS_newTONS_H -#define AMDIS_newTONS_H - -#if 0 - -#include "CreatorInterface.h" - -namespace AMDiS { - - // ============================================================================ - // ===== class NewtonS ======================================================== - // ============================================================================ - - /** - * \ingroup Solver - * - * \brief - * Implements the newton method with step size control for solving a non linear - * system. Sub class of NonLinSolver. - */ - template<typename VectorType> - class NewtonS : public NonLinSolver<VectorType> - { - public: - /** \brief - * Creator class used in the NonLinSolverMap. - */ - class Creator : public NonLinSolverCreator<VectorType> - { - public: - virtual ~Creator() {}; - - /** \brief - * Returns a new NewtonS object. - */ - NonLinSolver<VectorType>* create() { - return new NewtonS(this->name, this->linearSolver, this->nonLinUpdater); - }; - }; - - /** \brief - * Calls constructor of base class NonLinSolver - */ - NewtonS(std::string name_, - OEMSolver *linSolver_, - NonLinUpdater<VectorType> *updater) - : NonLinSolver<VectorType>(name_, linSolver_, updater), - b(NULL), - y(NULL), - restart(0) - { - GET_PARAMETER(0, this->name + "->restart", "%d", &restart); - TEST_EXIT(restart)("restart not set!\n"); - }; - - private: - /** \brief - * realisation of NonLinSolver::init - */ - void init(); - - /** \brief - * realisation of NonLinSolver::nlsolve - */ - int nlsolve(MatVecMultiplier<VectorType> *matVec, - VectorType *x, VectorType *rhs, - Preconditioner<VectorType> *lPrecon = NULL, - Preconditioner<VectorType> *rPrecon = NULL); - - /** \brief - * realisation of NonLinSolver::exit - */ - void exit(); - - private: - VectorType *b; /**< \brief internal used data */ - VectorType *y; /**< \brief internal used data */ - int restart; /**< \brief internal used data */ - }; - -} - -#include "NewtonS.hh" - -#endif - -#endif // AMDIS_newTONS_H diff --git a/AMDiS/src/NewtonS.hh b/AMDiS/src/NewtonS.hh deleted file mode 100644 index ba960cb9df69f0e812c4a57299115ccedf5b55cc..0000000000000000000000000000000000000000 --- a/AMDiS/src/NewtonS.hh +++ /dev/null @@ -1,167 +0,0 @@ -// -// Software License for AMDiS -// -// Copyright (c) 2010 Dresden University of Technology -// All rights reserved. -// Authors: Simon Vey, Thomas Witkowski et al. -// -// This file is part of AMDiS -// -// See also license.opensource.txt in the distribution. - - -#include "NonLinUpdater.h" -#include <algorithm> - -namespace AMDiS { - - template<typename VectorType> - void NewtonS<VectorType>::init() - { - TEST_EXIT(this->vectorCreator)("no vectorCreator\n"); - b = this->vectorCreator->create(); - y = this->vectorCreator->create(); - } - - template<typename VectorType> - void NewtonS<VectorType>::exit() - { - if(b) this->vectorCreator->free(b); - if(y) this->vectorCreator->free(y); - } - - template<typename VectorType> - int NewtonS<VectorType>::nlsolve(MatVecMultiplier<VectorType> *matVec, - VectorType *x, VectorType *rhs, - Preconditioner<VectorType> *lPrecon, - Preconditioner<VectorType> *rPrecon) - { - FUNCNAME("NewtonS::nlsolve"); - - *b = *rhs; - - // // copy operators from fh to b - // std::vector<Operator*>::iterator op; - // std::vector<double*>::iterator fac; - // for(op = rhs->getOperatorsBegin(), - // fac = rhs->getOperatorFactorBegin(); - // op != rhs->getOperatorsEnd(); - // ++op, ++fac) - // { - // b->addOperator(*op, *fac); - // } - - double err, err_old, tau; - int iter, j, n, m, mmax, halved; - - /*--------------------------------------------------------------------------*/ - /*--- Newton initialization ------------------------------------------------*/ - /*--------------------------------------------------------------------------*/ - - this->nonLinUpdater->update(/*x, */false, b); /*-- update F(x) ------------*/ - - if(this->usedNorm == NO_NORM || this->usedNorm == L2_NORM) { - err = err_old = L2Norm(b); - } else { - err = err_old = H1Norm(b); - } - - this->initial_residual = err; - - INFO(this->info,2)("iter. | residual | red. | n | m |\n"); - INFO(this->info,2)("%5d | %12.5e | -------- | ---- | -- |\n", 0, err); - - if ((this->residual = err) < this->tolerance) - { - INFO(this->info,4)("finished succesfully\n"); - return(0); - } - - /*--- still initalization part ---------------------------------------------*/ - - mmax = std::max(2,std::min(restart,32)); - m = 0; - tau = 1.0; - halved = true; - - - /*--- start iterations -----------------------------------------------------*/ - - for (iter = 1; iter <= this->maxIter; iter++) - { - /*--- Assemble DF(x) -------------------------------------------------------*/ - this->nonLinUpdater->update(/*x, */true, NULL); - /*--- Initial guess is zero ------------------------------------------------*/ - *rhs = 0.0; - /*--- solve linear system --------------------------------------------------*/ - n = solveLinearSystem(matVec, b, rhs, lPrecon, rPrecon); - - /*--- look for step size ---------------------------------------------------*/ - if (!halved) { - m = std::max(m-1,0); - tau = tau < 0.5 ? 2.0*tau : 1.0; - } - - // remember original x - *y = *x; - - for (j = 0; j <= mmax; j++) { - /*--- aim: |F(u_k+\tau d)| \le (1-0.5\tau) |F(u)| --------------------------*/ - /*-- y = x ------------------------*/ - //*y = *x; - *x = *y; - - /*-- y -= tau*rhs -------------------*/ - // axpy(-tau, *rhs, *y); - axpy(-tau, *rhs, *x); - - /*-- update F(y) ------------------*/ - // nonLinUpdater->update(y, false, b); - this->nonLinUpdater->update(/*x, */false, b); - - if(this->usedNorm == NO_NORM || this->usedNorm == L2_NORM) { - err = L2Norm(b); - } else { - err = H1Norm(b); - } - - - if (err <= (1.0 - 0.5*tau)*err_old) { - halved = j > 0; - break; - } else { - if (m == mmax) break; - - m++; - tau *= 0.5; - } - } - - //*x = *y; /*-- x = y (update x!) ------------*/ - - if (err_old <= 0) { - INFO(this->info,2)("%5d | %12.5e | -------- | %4d | %2d |\n", - iter, err, n, m); - } else { - INFO(this->info,2)("%5d | %12.5e | %8.2e | %4d | %2d |\n", - iter, err, err/err_old, n, m); - } - - if ((this->residual = err) < this->tolerance && m == 0) - { - INFO(this->info,4)("finished successfully\n"); - return(iter); - } - else if (iter > this->maxIter) - { - if (this->info < 2) - INFO(this->info,1)("iter. %d, residual: %12.5e\n", iter, err); - INFO(this->info,1)("tolerance %e not reached\n", this->tolerance); - return(iter); - } - err_old = err; - } - return(iter); /*--- statement never reached -----------------------------*/ - } - -} diff --git a/AMDiS/src/NonLinSolver.h b/AMDiS/src/NonLinSolver.h deleted file mode 100644 index fe70f09438050a0c32e8e959aba489de61934ed2..0000000000000000000000000000000000000000 --- a/AMDiS/src/NonLinSolver.h +++ /dev/null @@ -1,183 +0,0 @@ -// ============================================================================ -// == == -// == AMDiS - Adaptive multidimensional simulations == -// == == -// == http://www.amdis-fem.org == -// == == -// ============================================================================ -// -// Software License for AMDiS -// -// Copyright (c) 2010 Dresden University of Technology -// All rights reserved. -// Authors: Simon Vey, Thomas Witkowski et al. -// -// This file is part of AMDiS -// -// See also license.opensource.txt in the distribution. - - - -/** \file NonLinSolver.h */ - -#ifndef AMDIS_NONLINSOLVER_H -#define AMDIS_NONLINSOLVER_H - -#if 0 - -#include <string> - -#include "Global.h" -#include "CreatorInterface.h" -#include "AMDiS_fwd.h" -#include "OEMSolver.h" - -namespace AMDiS { - - template<typename VectorType> class NonLinUpdater; - - /** - * \ingroup Solver - * - * \brief - * Pure virtual base class for Newton, NewtonS and Banach which all - * solves non linear equation systems. Sub classes must implement the methods - * \ref init, \ref exit and \ref nlsolve. - */ - template<typename VectorType> - class NonLinSolver - { - public: - /** \brief - * constructor. - * \param name name of this solver - */ - NonLinSolver(std::string name_, - OEMSolver *linSolver_, - NonLinUpdater<VectorType> *updater); - - /// destructor - virtual ~NonLinSolver() {} - - /// solves the non linear system. Uses sub class methods - inline int solve(MatVecMultiplier<VectorType> *matVec, - VectorType *x, VectorType *rhs, - Preconditioner<VectorType> *lPrecon = NULL, - Preconditioner<VectorType> *rPrecon = NULL) - { - TEST_EXIT(vectorCreator)("no vectorCreator\n"); - init(); - int result = nlsolve(matVec, x, rhs, lPrecon, rPrecon); - exit(); - return result; - } - - inline void setTolerance(double tol) - { - tolerance = tol; - } - - inline double getTolerance() - { - return tolerance; - } - - inline void setVectorCreator(CreatorInterface<VectorType> *creator) - { - vectorCreator = creator; - } - - inline OEMSolver *getLinearSolver() - { - return linSolver; - } - - inline void setNonLinUpdater(NonLinUpdater<VectorType> *up) - { - nonLinUpdater = up; - } - - inline NonLinUpdater<VectorType> *getNonLinUpdater() - { - return nonLinUpdater; - } - - protected: - /// Allocates needed memory. Must be overriden in sub classes. - virtual void init() = 0; - - /// Solves the non linear system. Must be overriden in sub classes. - - virtual int nlsolve(MatVecMultiplier<VectorType> *matVec, - VectorType *x, VectorType *rhs, - Preconditioner<VectorType> *lPrecon = NULL, - Preconditioner<VectorType> *rPrecon = NULL) = 0; - - /// Frees needed memory. Must be overriden in sub classes. - virtual void exit() = 0; - - virtual int solveLinearSystem(MatVecMultiplier<VectorType> *matVec, - VectorType *fh, VectorType *x, - Preconditioner<VectorType> *lPrecon = NULL, - Preconditioner<VectorType> *rPrecon = NULL) - { - FUNCNAME("NonLinSolver::solveLinearSystem()"); - TEST_EXIT(linSolver)("no solver\n"); - ERROR_EXIT("Not yet re-implemented!\n"); - return -1; - } - - protected: - std::string name; /**< \brief name of the solver */ - OEMSolver *linSolver; /**< \brief linear solver*/ - NonLinUpdater<VectorType> *nonLinUpdater; /**< \brief non linear updater */ - double tolerance; /**< \brief solver tolerance */ - int maxIter; /**< \brief maximal # of iterations */ - int info; /**< \brief info level */ - double initial_residual; /**< \brief initial residual */ - double residual; /**< \brief current residual */ - Norm usedNorm; /**< \brief used norm */ - - CreatorInterface<VectorType> *vectorCreator; - }; - - - /// Interface for creators of concrete NonLinSolvers. - template<typename VectorType> - class NonLinSolverCreator : public CreatorInterface<NonLinSolver<VectorType> > - { - public: - virtual ~NonLinSolverCreator() {} - - void setName(std::string name_) - { - name = name_; - } - - void setLinearSolver(OEMSolver *solver) - { - linearSolver = solver; - } - - void setNonLinUpdater(NonLinUpdater<VectorType> *updater) - { - nonLinUpdater = updater; - } - - protected: - std::string name; - OEMSolver *linearSolver; - NonLinUpdater<VectorType> *nonLinUpdater; - }; - -} - -#include "NonLinSolver.hh" - -#include "Newton.h" -#include "NewtonS.h" - -#endif - -#endif // AMDIS_NONLINSOLVER_H - diff --git a/AMDiS/src/NonLinSolver.hh b/AMDiS/src/NonLinSolver.hh deleted file mode 100644 index a941c8175aa5ede3cf1a829374ac74d110098eb5..0000000000000000000000000000000000000000 --- a/AMDiS/src/NonLinSolver.hh +++ /dev/null @@ -1,39 +0,0 @@ -// -// Software License for AMDiS -// -// Copyright (c) 2010 Dresden University of Technology -// All rights reserved. -// Authors: Simon Vey, Thomas Witkowski et al. -// -// This file is part of AMDiS -// -// See also license.opensource.txt in the distribution. - - -#include "OEMSolver.h" -#include "Parameters.h" - -namespace AMDiS { - - template<typename VectorType> - NonLinSolver<VectorType>::NonLinSolver(std::string name_, - OEMSolver *solver, - NonLinUpdater<VectorType> *updater) - : name(name_), - linSolver(solver), - nonLinUpdater(updater), - tolerance(1.e-4), - maxIter(50), - info(8), - initial_residual(0.0), - residual(0.0), - usedNorm(NO_NORM), - vectorCreator(NULL) - { - GET_PARAMETER(0, name + "->tolerance", "%e", &tolerance); - GET_PARAMETER(0, name + "->max iteration", "%d", &maxIter); - GET_PARAMETER(0, name + "->info", "%d", &info); - GET_PARAMETER(0, name + "->norm", "%d", &usedNorm); - } - -} diff --git a/AMDiS/src/NonLinUpdater.cc b/AMDiS/src/NonLinUpdater.cc deleted file mode 100644 index eb0aadff9e0c0b785b1760d4d1d399304786818c..0000000000000000000000000000000000000000 --- a/AMDiS/src/NonLinUpdater.cc +++ /dev/null @@ -1,139 +0,0 @@ -// -// Software License for AMDiS -// -// Copyright (c) 2010 Dresden University of Technology -// All rights reserved. -// Authors: Simon Vey, Thomas Witkowski et al. -// -// This file is part of AMDiS -// -// See also license.opensource.txt in the distribution. - - -#include "NonLinUpdater.h" -#include "Global.h" -#include "DOFMatrix.h" -#include "DOFVector.h" -#include "Traverse.h" -#include "ElInfo.h" -#include "Flag.h" -#include "Operator.h" -#include "FiniteElemSpace.h" -#include "BasisFunction.h" -#include "BoundaryManager.h" - -namespace AMDiS { - - void NonLinUpdaterScal::update(bool updateDF, - DOFVector<double> *F) - { - FUNCNAME("NonLinUpdaterScal::update()"); - - TraverseStack stack; - ElInfo *el_info; - Flag fill_flag; - - TEST_EXIT(F || df)("neither F nor df are set\n"); - - const FiniteElemSpace *feSpace = - F ? F->getFeSpace() : df->getFeSpace(); - - if (updateDF) - df->clear(); - - BasisFunction *basFcts = const_cast<BasisFunction*>(feSpace->getBasisFcts()); - - if (F) { - F->set(0.0); - } - - fill_flag = - Mesh::CALL_LEAF_EL| - Mesh::FILL_COORDS| - Mesh::FILL_BOUND| - Mesh::FILL_DET| - Mesh::FILL_GRD_LAMBDA; - - BoundaryType *bound = new BoundaryType[feSpace->getBasisFcts()->getNumber()]; - - el_info = stack.traverseFirst(feSpace->getMesh(), -1, fill_flag); - while (el_info) { - basFcts->getBound(el_info, bound); - - if (updateDF) - df->assemble(1.0, el_info, bound); - if (F) - F->assemble(1.0, el_info, bound); - - el_info = stack.traverseNext(el_info); - } - - delete [] bound; - } - - void NonLinUpdaterVec::update(bool updateDF, - SystemVector *F) - { - FUNCNAME("NonLinUpdaterVec::update()"); - - TraverseStack stack; - ElInfo *el_info; - Flag fill_flag; - - TEST_EXIT(F || df)("neither F nor df are set\n"); - - if (!updateDF && (F == NULL)) { - WARNING("No RHS vector and no update for system matrix! Updater does nothing!\n"); - return; - } - - int size = df->getNumRows(); - - const FiniteElemSpace *feSpace = - F ? F->getDOFVector(0)->getFeSpace() : (*df)[0][0]->getFeSpace(); - - if (updateDF) { - TEST_EXIT(df)("df not set but update tried!\n"); - - for (int i = 0; i < size; i++) - for (int j = 0; j < size; j++) - if ((*df)[i][j]) - (*df)[i][j]->clear(); - } - - BasisFunction *basFcts = const_cast<BasisFunction*>(feSpace->getBasisFcts()); - - if (F) - for (int i = 0; i < size; i++) - F->getDOFVector(i)->set(0.0); - - fill_flag = - Mesh::CALL_LEAF_EL| - Mesh::FILL_COORDS| - Mesh::FILL_BOUND| - Mesh::FILL_DET| - Mesh::FILL_GRD_LAMBDA; - - BoundaryType *bound = new BoundaryType[basFcts->getNumber()]; - - el_info = stack.traverseFirst(feSpace->getMesh(), -1, fill_flag); - while (el_info) { - basFcts->getBound(el_info, bound); - - if (updateDF) - for (int i = 0; i < size; i++) - for (int j = 0; j < size; j++) - if ((*df)[i][j]) - (*df)[i][j]->assemble(1.0, el_info, bound); - - if (F) - for(int i = 0; i < size; i++) - F->getDOFVector(i)->assemble(1.0, el_info, bound); - - el_info = stack.traverseNext(el_info); - } - - delete [] bound; - } - -} diff --git a/AMDiS/src/NonLinUpdater.h b/AMDiS/src/NonLinUpdater.h deleted file mode 100644 index 3419f39e004a500bb7c15ed63e72ca49dac76dfe..0000000000000000000000000000000000000000 --- a/AMDiS/src/NonLinUpdater.h +++ /dev/null @@ -1,86 +0,0 @@ -// ============================================================================ -// == == -// == AMDiS - Adaptive multidimensional simulations == -// == == -// == http://www.amdis-fem.org == -// == == -// ============================================================================ -// -// Software License for AMDiS -// -// Copyright (c) 2010 Dresden University of Technology -// All rights reserved. -// Authors: Simon Vey, Thomas Witkowski et al. -// -// This file is part of AMDiS -// -// See also license.opensource.txt in the distribution. - - - -/** \file NonLinUpdater.h */ - -#ifndef AMDIS_NONLINAPDATOR_H -#define AMDIS_NONLINAPDATOR_H - -#include "AMDiS_fwd.h" -#include "SystemVector.h" -#include "MatrixVector.h" - -namespace AMDiS { - - /** \brief - * Used in non linear solvers for matrix and vector assemblage. - * Base class for NonLinUpdaterScal and NonLinUpdaterVec. - */ - template<typename Vector> - class NonLinUpdater - { - public: - virtual ~NonLinUpdater() {} - - /// Pure virtual update function. - virtual void update(bool updateDF, - Vector *F) = 0; - }; - - - /// NonLinUpdater for scalar problems. - class NonLinUpdaterScal : public NonLinUpdater<DOFVector<double> > - { - public: - /// Constructor. - NonLinUpdaterScal(DOFMatrix *m) : df(m) {} - - virtual ~NonLinUpdaterScal() {} - - /// Implementation of NonLinUpdater::update(). - virtual void update(bool updateDF, - DOFVector<double> *F); - - protected: - /// Matrix to be updated. - DOFMatrix *df; - }; - - - /// NonLinUpdater for vector valued problems. - class NonLinUpdaterVec : public NonLinUpdater<SystemVector> - { - public: - /// Constructor. - NonLinUpdaterVec(Matrix<DOFMatrix*> *m) : df(m) {} - - virtual ~NonLinUpdaterVec() {} - - /// Implementation of NonLinUpdater::update(). - virtual void update(bool updateDF, SystemVector *F); - - protected: - /// Matrix to be updated. - Matrix<DOFMatrix*> *df; - }; - -} - -#endif diff --git a/AMDiS/src/OEMSolver.h b/AMDiS/src/OEMSolver.h index 331e631eebc980ffef33536d16a19ff959fa30ee..6c126a0f469ff883305be1bf954f7adf033eba95 100644 --- a/AMDiS/src/OEMSolver.h +++ b/AMDiS/src/OEMSolver.h @@ -80,11 +80,11 @@ namespace AMDiS { { FUNCNAME("OEMSolver::initParameters()"); - GET_PARAMETER(0, name + "->tolerance", "%f", &tolerance); - GET_PARAMETER(0, name + "->relative tolerance", "%f", &relative); - GET_PARAMETER(0, name + "->max iteration", "%d", &max_iter); - GET_PARAMETER(0, name + "->print cycle", "%d", &print_cycle); - GET_PARAMETER(0, name + "->info", "%d", &info); + Parameters::get(name + "->tolerance", tolerance); + Parameters::get(name + "->relative tolerance", relative); + Parameters::get(name + "->max iteration", max_iter); + Parameters::get(name + "->print cycle", print_cycle); + Parameters::get(name + "->info", info); } /** Set left Preconditioner diff --git a/AMDiS/src/Parameters.cc b/AMDiS/src/Parameters.cc index 349d6eab8f70b9a54389afc20dcdb9c345e4d986..2d887ebb1a934a7ffb022a26acae4bca237e8545 100644 --- a/AMDiS/src/Parameters.cc +++ b/AMDiS/src/Parameters.cc @@ -28,29 +28,27 @@ namespace AMDiS { + using namespace std; + const char Parameters::comment='%'; - const std::string Parameters::separators=",; "; + const string Parameters::separators=",; "; Parameters* Parameters::singlett = NULL; - const char* Parameters::param_call_fct = NULL; - const char* Parameters::param_call_file = NULL; - int Parameters::param_call_line = 0; - int Parameters::getGlobalParameter(int info, const std::string& key, + int Parameters::getGlobalParameter(int info, const string& key, const char *format, ...) { FUNCNAME("Parameters::getGlobalParameter()"); - std::vector<struct Parameters::param>::iterator i; + vector<struct Parameters::param>::iterator i; param tParam(key); - const char* funcName2 = param_call_fct ? param_call_fct : funcName; va_list arg; Parameters::initIntern(); if (Parameters::singlett->paramInfo) { if (Parameters::singlett->paramInfo > 1) - info = std::max(info, Parameters::singlett->paramInfo - 1); + info = max(info, Parameters::singlett->paramInfo - 1); } else { info = 0; } @@ -64,17 +62,11 @@ namespace AMDiS { } } - i = std::find(Parameters::singlett->allParam.begin(), + i = find(Parameters::singlett->allParam.begin(), Parameters::singlett->allParam.end(), tParam); if (i == Parameters::singlett->allParam.end()) { - if (funcName != funcName2) { - INFO(info, 1)("initialization of parameter `%s'\n", key.data()); - INFO(info, 1)("fails on line %d of file %s\n", param_call_line, - param_call_file); - } else { - INFO(info, 1)("initialization of parameter `%s' fails\n", key.data()); - } + INFO(info, 1)("initialization of parameter `%s' fails\n", key.data()); return 0; } @@ -84,7 +76,7 @@ namespace AMDiS { INFO(info, 2)("parameter `%s' initialized with: ", key.data()); - std::string s = (*i).parameters; + string s = (*i).parameters; for (const char *p = format; *p; p++) { if (*p != '%') @@ -93,16 +85,6 @@ namespace AMDiS { const char *word = Parameters::singlett->getNextWord(&s); if (!*word) { PRINT_INFO(info, 2)("\n"); - if (0 < (*i).funcName.size()) { - INFO(info, 4)("parameter initialized by %s()\n", (*i).funcName.data()); - INFO(info, 4)("on line %d of file \"%s\"\n", - (*i).lineNo, (*i).filename.data()); - } else if (0 < (*i).filename.size()) { - INFO(info, 4)("parameter initialized on line %2d of init file \"%s\"\n", - (*i).lineNo, (*i).filename.data()); - } else { - INFO(info, 4)("location of initialization unknown\n"); - } va_end(arg); return count; } @@ -156,13 +138,13 @@ namespace AMDiS { case 'v': { WorldVector<double> *vecVal = va_arg(arg, WorldVector<double> *); - std::string sstr = std::string(word); + string sstr = string(word); int ind = 0; int found = sstr.find_first_of(",; "); - std::string seperator; + string seperator; seperator = sstr[found]; - while (found != static_cast<int>(std::string::npos) && + while (found != static_cast<int>(string::npos) && ind < static_cast<int>(vecVal->size())) { if (found > 0) { (*vecVal)[ind] = atof(sstr.substr(0, found).c_str()); @@ -179,10 +161,10 @@ namespace AMDiS { case 'F': case 'G': { - std::vector<double> *vecVal = va_arg(arg, std::vector<double> *); - std::string sstr = std::string(word); + vector<double> *vecVal = va_arg(arg, vector<double> *); + string sstr = string(word); - std::string brackets1 = "[{(", brackets2 = "]})"; + string brackets1 = "[{(", brackets2 = "]})"; int bracketIdx1 = sstr.find_first_of(brackets1); int bracket = brackets1.find_first_of(sstr[bracketIdx1]); int bracketIdx2 = sstr.find_first_of(brackets2[bracket]); @@ -191,10 +173,10 @@ namespace AMDiS { sstr = sstr.substr(bracketIdx1+1, bracketIdx2-bracketIdx1); int found = sstr.find_first_of(separators); - std::string seperator; + string seperator; seperator = sstr[found]; - while (found != static_cast<int>(std::string::npos)) { + while (found != static_cast<int>(string::npos)) { if (found > 0) { vecVal->push_back(atof(sstr.substr(0, found).c_str())); } @@ -209,10 +191,10 @@ namespace AMDiS { break; case 'D': // list of int values, example parameter: {a,b,c,d,e} { - std::vector<int> *vecVal = va_arg(arg, std::vector<int> *); - std::string sstr = std::string(word); + vector<int> *vecVal = va_arg(arg, vector<int> *); + string sstr = string(word); - std::string brackets1 = "[{(", brackets2 = "]})"; + string brackets1 = "[{(", brackets2 = "]})"; int bracketIdx1 = sstr.find_first_of(brackets1); int bracket = brackets1.find_first_of(sstr[bracketIdx1]); int bracketIdx2 = sstr.find_first_of(brackets2[bracket]); @@ -221,10 +203,10 @@ namespace AMDiS { sstr = sstr.substr(bracketIdx1+1, bracketIdx2-bracketIdx1); int found = sstr.find_first_of(separators); - std::string seperator; + string seperator; seperator = sstr[found]; - while (found != static_cast<int>(std::string::npos)) { + while (found != static_cast<int>(string::npos)) { if (found > 0) { vecVal->push_back(atoi(sstr.substr(0, found).c_str())); } @@ -249,50 +231,26 @@ namespace AMDiS { INFO(info, 2)("\n"); - if ((*i).funcName.size() > 0) { - INFO(info, 4)("parameter initialized by %s()\n", (*i).funcName.data()); - INFO(info, 4)("on line %d of file \"%s\"\n", (*i).lineNo, - (*i).filename.data()); - } else if ((*i).filename.size() > 0) { - INFO(info, 4) - ("parameter initialized on line %2d of init file \"%s\"\n", - (*i).lineNo, (*i).filename.data()); - } else { - INFO(info, 4)("location of initialization unknown\n"); - } - va_end(arg); return count; } - int Parameters::getGlobalParameter(int flag, const std::string& key, - std::string* param) - { - static char tempParam[255]; - TEST_EXIT(param)("no parameter\n"); - strcpy(tempParam, param->c_str()); - int result = getGlobalParameter(flag, key, "%s", tempParam); - param->assign(tempParam); - return result; - } - - - void Parameters::read(const std::string& aFilename, - const std::string& maxKey) + void Parameters::read(const string& aFilename, + const string& maxKey) { FUNCNAME("Parameters::read()"); char line[256]; int nLine = 0; - std::string key, parameter; - std::string actfile; + string key, parameter; + string actfile; if (aFilename.size() == 0) return; - singlett->inputFile.open(aFilename.c_str(), std::ios::in); + singlett->inputFile.open(aFilename.c_str(), ios::in); if (!inputFile.is_open()) { ERROR("init-file can't be opened\n"); return; @@ -314,27 +272,27 @@ namespace AMDiS { if (parameter == "") continue; - addParam(key, parameter, actfile, nLine, funcName); + addParam(key, parameter); } singlett->inputFile.close(); } - const std::string& Parameters::getActFile(const std::string& aFilename) + const string& Parameters::getActFile(const string& aFilename) { FUNCNAME("Parameters::getActFile()"); - std::list< std::string >::iterator i; + list< string >::iterator i; for (i = filenames.begin(); i != filenames.end(); i++) if (aFilename==*i) break; if (i != filenames.end()) { - return(const_cast<const std::string&>(*i)); + return(const_cast<const string&>(*i)); } else { filenames.push_back(aFilename); - return(const_cast<const std::string&>(aFilename)); + return(const_cast<const string&>(aFilename)); } } @@ -364,15 +322,15 @@ namespace AMDiS { } - const std::string Parameters::getKey(const std::string& s, int nLine, - const std::string& aFilename) + const string Parameters::getKey(const string& s, int nLine, + const string& aFilename) { FUNCNAME("Parameters::getKey()"); - std::string fn, key = ""; + string fn, key = ""; char c; int i, epos; - std::string h = " \t\r\f"; + string h = " \t\r\f"; int pos = s.find_first_not_of(" \t\f\r"); //skip Blank if (pos < 0) @@ -447,16 +405,17 @@ namespace AMDiS { return key; } - const std::string Parameters::getPar(const std::string& key, - const std::string& si, int *nl, - const std::string& fn) + + const string Parameters::getPar(const string& key, + const string& si, int *nl, + const string& fn) { FUNCNAME("Parameters::getPar()"); int ol = *nl; - std::string inp; - std::string s = si; - std::string parameter=""; + string inp; + string s = si; + string parameter=""; int pos = s.find(':'); pos = s.find_first_not_of(" \r\f\t",pos+1); @@ -482,7 +441,7 @@ namespace AMDiS { if (isBlankChar(static_cast<char>(s[i]))) { parameter+= ' '; i=pos=s.find_first_not_of(" \r\t\f", i); - if (i == static_cast<int>(std::string::npos)) { + if (i == static_cast<int>(string::npos)) { i = parameter.length()-1; break; } @@ -508,11 +467,9 @@ namespace AMDiS { return parameter; } - void Parameters::addParam(const std::string& key, - const std::string& parameter, - const std::string& actfile, - int nLine, - const std::string& fname) + + void Parameters::addParam(const string& key, + const string& parameter) { FUNCNAME("Parameters::addParam()"); @@ -523,7 +480,7 @@ namespace AMDiS { size_k = key.size()+1; size_p = parameter.size()+1; - std::vector<param>::iterator it; + vector<param>::iterator it; for (it = allParam.begin(); it != allParam.end(); it++) if ((scmp = key.compare((*it).key)) >=0) break; @@ -533,18 +490,12 @@ namespace AMDiS { /* key does already exist: save new parameters */ /****************************************************************************/ (*it).parameters = parameter; - (*it).filename = actfile; - (*it).funcName = fname; - (*it).lineNo = nLine; return; } newPar.key = key; newPar.parameters = parameter; - newPar.filename = actfile; - newPar.funcName.assign(fname); - newPar.lineNo = nLine; allParam.insert(it, newPar); } @@ -562,35 +513,25 @@ namespace AMDiS { initIntern(); - std::vector<param>::iterator it; - for (it = singlett->allParam.begin(); it != singlett->allParam.end(); it++) { + for (vector<param>::iterator it = singlett->allParam.begin(); + it != singlett->allParam.end(); it++) MSG("%s: %s\n", (*it).key.data(), (*it).parameters.data()); - if (0 < (*it).funcName.size()) { - MSG("initialized by %s() on line %3d of file \"%s\"\n", - (*it).funcName.data(), (*it).lineNo, (*it).filename.data()); - } else if (0 < (*it).filename.size()) { - MSG("initialized on line %2d of file \"%s\"\n", - (*it).lineNo, (*it).filename.data()); - } else { - MSG("can not locate initialization location\n"); - } - } } - void Parameters::init(int p, std::string fn, const char *flags) + void Parameters::init(int p, string fn, const char *flags) { FUNCNAME("Parameters::init()"); - std::ostringstream tmp_file; - std::ofstream cpp_flags; - std::ofstream call_cpp; - std::string file; - std::ofstream outFile; - std::string lfn = fn; - std::string::size_type fpos= lfn.find('/'); - - if (fpos == std::string::npos) + ostringstream tmp_file; + ofstream cpp_flags; + ofstream call_cpp; + string file; + ofstream outFile; + string lfn = fn; + string::size_type fpos= lfn.find('/'); + + if (fpos == string::npos) fpos = 0; else ++fpos; @@ -617,7 +558,7 @@ namespace AMDiS { if (NULL == flags) { singlett->read(fn); } else { - singlett->inputFile.open(fn.data(), std::ios::in); + singlett->inputFile.open(fn.data(), ios::in); if (!(singlett->inputFile.rdstate())) { ERROR("can not read from file %s\n", fn.data()); return; @@ -651,26 +592,18 @@ namespace AMDiS { Global::init(); } + void Parameters::readArgv(int argc, char **argv) { FUNCNAME("Parameters::readArgv()"); for (int i = 0; i < argc; i++) if (strcmp("-rs", argv[i]) == 0) - ADD_PARAMETER(0, "argv->rs", argv[i + 1]); + addGlobalParameter(0, "argv->rs", argv[i + 1]); } - int Parameters::initFuncName(const char * call_fct, const char * call_file, - int call_line) - { - param_call_fct = call_fct; - param_call_file = call_file; - param_call_line = call_line; - return 1; - } - - int Parameters::binSearch(const std::string& key, int n_keys) + int Parameters::binSearch(const string& key, int n_keys) { int left = 0; int right = n_keys - 1; @@ -690,11 +623,10 @@ namespace AMDiS { return -1; } - - void Parameters::addGlobalParameter(int p, const std::string key, - const std::string par, const char *fname, - const char *file, int line) + void Parameters::addGlobalParameter(int p, + const string key, + const string par) { FUNCNAME("Parameters::addGlobalParameter()"); @@ -703,13 +635,7 @@ namespace AMDiS { if (key.size() == 0 || par.size() == 0) return; - std::string file_str = ""; - if (file != NULL) - file_str = std::string(file); - std::string fname_str = ""; - if (fname != NULL) - fname_str = std::string(fname); - singlett->addParam(key, par, file_str, line, fname_str); + singlett->addParam(key, par); int val = 10; // defualt for level of information getGlobalParameter(0, "level of information", "%d", &val); @@ -731,17 +657,16 @@ namespace AMDiS { } - - const char *Parameters::getNextWord(std::string *s) const + const char *Parameters::getNextWord(string *s) const { static char Val[512]; int wb1 = s->find_first_not_of(" "); - if (wb1 == static_cast<int>(std::string::npos)) + if (wb1 == static_cast<int>(string::npos)) return NULL; int wb2 = s->find_first_of(" "); - if (wb2 == static_cast<int>(std::string::npos)) + if (wb2 == static_cast<int>(string::npos)) wb2 = s->length(); s->copy(Val, wb2 - wb1, wb1); @@ -751,40 +676,31 @@ namespace AMDiS { return Val; } - void Parameters::save(const std::string file, int info) - { - std::ofstream fp; - std::vector<param>::iterator it; + void Parameters::save(const string file, int info) + { initIntern(); - fp.open(file.data(), std::ios::out); + ofstream fp; + fp.open(file.data(), ios::out); if (0 != fp.rdstate()) return; - for (it = singlett->allParam.begin(); it !=singlett->allParam.end(); it++) { - fp << (*it).key << ": " << (*it).parameters << std::endl; - - if (info) { - if (((*it).funcName.size()) > 0) { - fp << "%initialized by " << (*it).funcName << "() on line " << - (*it).lineNo << " of file \"" << (*it).filename << "\"" << std::endl; - } else if ((*it).filename.size() > 0) { - fp << "%initialized on line "<< (*it).lineNo << - " of file \""<< (*it).filename << "\""<< std::endl; - } - } - } + for (vector<param>::iterator it = singlett->allParam.begin(); + it !=singlett->allParam.end(); it++) + fp << (*it).key << ": " << (*it).parameters << endl; fp.close(); } + void Parameters::clear() { if (singlett != NULL) delete singlett; } - void Parameters::serialize(std::ostream &out) + + void Parameters::serialize(ostream &out) { SerUtil::serialize(out, paramInfo); SerUtil::serialize(out, msgInfo); @@ -795,7 +711,8 @@ namespace AMDiS { allParam[i].serialize(out); } - void Parameters::deserialize(std::istream &in) + + void Parameters::deserialize(istream &in) { SerUtil::deserialize(in, paramInfo); SerUtil::deserialize(in, msgInfo); @@ -812,22 +729,18 @@ namespace AMDiS { return key == aParam.key; } - void Parameters::param::serialize(std::ostream &out) + + void Parameters::param::serialize(ostream &out) { - out << key << std::endl; - out << parameters << std::endl; - out << filename << std::endl; - out << funcName << std::endl; - SerUtil::serialize(out, lineNo); + out << key << endl; + out << parameters << endl; } + - void Parameters::param::deserialize(std::istream &in) + void Parameters::param::deserialize(istream &in) { in >> key; in.get(); in >> parameters; in.get(); - in >> filename; in.get(); - in >> funcName; in.get(); - SerUtil::deserialize(in, lineNo); } } diff --git a/AMDiS/src/Parameters.h b/AMDiS/src/Parameters.h index 732a5425a3daa07d89cb3fe7d04ed91063562280..6fe37c97df1d6d459766620ad66c98a92df2ef18 100644 --- a/AMDiS/src/Parameters.h +++ b/AMDiS/src/Parameters.h @@ -24,7 +24,7 @@ #define AMDIS_PARAMETERS_H #include <stdio.h> -#include <string> +#include <cstring> #include <list> #include <fstream> #include "Global.h" @@ -32,6 +32,8 @@ namespace AMDiS { + using namespace std; + /** \ingroup Common * \brief * Many procedures need parameters, for example the maximal number of @@ -68,7 +70,7 @@ namespace AMDiS { * argument flags, replacing macros by their definitions in the parameter * file and including files specified by \#include"...". */ - static void init(int print, std::string filename, const char *flags = NULL); + static void init(int print, string filename, const char *flags = NULL); /** \brief * Reads all arguments which are provided to the program. The init filenames @@ -84,19 +86,12 @@ namespace AMDiS { /** \brief * Initializes a parameter identified by key with values vpar; if the * parameter already exists, the old values are replaced by the new one; - * if fname is not NULL it contains the name of the calling function. - * file and line specifies source file and line number of the function - * call. If one uses the macro \ref ADD_PARAMETER these last three arguments - * are filled automatically. * * If p is non zero, the parameter list is printed. */ - static void addGlobalParameter(int p, - const std::string key, - const std::string par, - const char *fname = NULL, - const char *file = NULL, - int line = 0); + static void addGlobalParameter(int p, + const string key, + const string par); /** \brief * Looks for a parameter which matches the identifying key string key and @@ -146,7 +141,7 @@ namespace AMDiS { * argument should be a pointer to an int variable; * * -\%D: matches a list of %d types; the corresponding argument should - * be a pointer to a std::vector<int> variable; the + * be a pointer to a vector<int> variable; the * parameter should be enclosed in brackets, like {...}, [...] or (...) * and the values separated by comma, semicolon or space; * @@ -156,7 +151,7 @@ namespace AMDiS { * variable; * * -\%E,\%F,\%G: matches a list of %e,%f or %g types; the corresponding argument - * should be a pointer to a std::vector<double> variable; the + * should be a pointer to a vector<double> variable; the * parameter should be enclosed in brackets, like {...}, [...] or (...) * and the values separated by comma, semicolon or space; * @@ -181,22 +176,48 @@ namespace AMDiS { * and error messages are printed. The second way to influence messages * produced by get parameter() namely by is a parameter parameter information * specified in a parameter file. - * \see GET_PARAMETER */ static int getGlobalParameter(int flag, - const std::string& key, + const string& key, const char *format, ...); - /// Like getGlobalParameter(flag, key, "%s", param->c_str()). - static int getGlobalParameter(int flag, const std::string& key, std::string *param); + inline static void get(string key, int& value, int flag = 0) + { + getGlobalParameter(flag, key, "%d", &value); + } + + inline static void get(string key, bool& value, int flag = 0) + { + getGlobalParameter(flag, key, "%d", &value); + } + + inline static void get(string key, Norm& value, int flag = 0) + { + getGlobalParameter(flag, key, "%d", &value); + } + + inline static void get(string key, float& value, int flag = 0) + { + getGlobalParameter(flag, key, "%f", &value); + } + + inline static void get(string key, double& value, int flag = 0) + { + getGlobalParameter(flag, key, "%f", &value); + } + inline static void get(string key, string& value, int flag = 0) + { + static char tempParam[255]; + strcpy(tempParam, value.c_str()); + getGlobalParameter(flag, key, "%s", tempParam); + value.assign(tempParam); + } + /// Prints all defined parameters to the message stream static void printParameters(); - /// Used by macro \ref GET_PARAMETER to generate infos about the calling function. - static int initFuncName(const char *, const char *, int call_line); - /// Returns specified info level static int getMsgInfo() { @@ -215,7 +236,7 @@ namespace AMDiS { * location of the initialization is supplied for each parameter as a * comment; no original comment is written, since these are not stored. */ - static void save(const std::string file, int info); + static void save(const string file, int info); /// Checks whether parameters are initialized. if not, call init() static bool initialized() @@ -231,20 +252,14 @@ namespace AMDiS { static void clear(); /// Writes parameters to an output stream. - void serialize(std::ostream &out); + void serialize(ostream &out); /// Reads parameters from an input stream. - void deserialize(std::istream &in); + void deserialize(istream &in); private: static Parameters * singlett; - static const char *param_call_fct; - - static const char *param_call_file; - - static int param_call_line; - /// Used internally. class param : public Serializable { @@ -253,19 +268,13 @@ namespace AMDiS { virtual ~param() {} - param(const std::string& nkey, - const std::string& nparameters, - const std::string& nfilename, - const std::string& nfuncName, - int line) + param(const string& nkey, + const string& nparameters) : key(nkey), - parameters(nparameters), - filename(nfilename), - funcName(nfuncName), - lineNo(line) + parameters(nparameters) {} - param(const std::string& k) + param(const string& k) : key(k) {} @@ -277,49 +286,42 @@ namespace AMDiS { } /// Writes one parameter to an output stream. - void serialize(std::ostream &out); + void serialize(ostream &out); /// Reads one parameter from an inputput stream. - void deserialize(std::istream &in); + void deserialize(istream &in); public: - std::string key; - std::string parameters; - std::string filename; - std::string funcName; - int lineNo; + string key; + string parameters; }; static const char comment; - static const std::string separators; + static const string separators; - std::string buffer; + string buffer; inline bool isBlankChar(const char s) { return (s == ' ' || s == '\t' || s == '\f' || s == '\r'); } - const char *getNextWord(std::string *s) const; + const char *getNextWord(string *s) const; - void read(const std::string& filename,const std::string& maxKey = ""); + void read(const string& filename,const string& maxKey = ""); - const std::string& getActFile(const std::string& filename); + const string& getActFile(const string& filename); - const std::string getKey(const std::string& s, + const string getKey(const string& s, int nLine, - const std::string& filename); + const string& filename); - const std::string getPar(const std::string& key, - const std::string& s, + const string getPar(const string& key, + const string& s, int *nl, - const std::string& fn); + const string& fn); - void addParam(const std::string& key, - const std::string& parameter, - const std::string& actfile, - int nLine, - const std::string& fname); + void addParam(const string& key, const string& parameter); Parameters() : paramInfo(1), @@ -331,22 +333,22 @@ namespace AMDiS { static void initIntern(); - int binSearch(const std::string& key, int n_keys); + int binSearch(const string& key, int n_keys); void swap(int i, int j); void qsort(int left, int right); private: - std::string cppFlags; - std::ifstream inputFile; - std::list<std::string> filenames; + string cppFlags; + ifstream inputFile; + list<string> filenames; size_t maxFiles; - std::string filename; + string filename; int paramInfo; int msgInfo; int msgWait; - std::vector<param> allParam; + vector<param> allParam; }; @@ -355,19 +357,11 @@ namespace AMDiS { * supplied with the name of the calling function, source file and line, which * results in more detailed messages during parameter definition. */ -#define ADD_PARAMETER(p, key, param) \ - Parameters::addGlobalParameter(p, key, param, funcName, __FILE__, __LINE__); - - /** \brief - * Is a macro and acts in the same way as the function - * getGlobalParameter() but the function is additionally supplied with the - * name of the calling function, source file and line, which results in more - * detailed messages during parameter definition. - */ -#define GET_PARAMETER \ - Parameters::initFuncName(funcName, __FILE__, __LINE__); \ - Parameters::getGlobalParameter + /* + #define ADD_PARAMETER(p, key, param) \ + Parameters::addGlobalParameter(p, key, param, funcName, __FILE__, __LINE__); + */ } #endif // AMDIS_PARAMETERS_H diff --git a/AMDiS/src/ProblemImplicit.cc b/AMDiS/src/ProblemImplicit.cc index 84ade4f07f43cf09a152d159d59ba21892d5e646..8069b5451d984223ada1e0bd9602ead9a6d2a0b3 100644 --- a/AMDiS/src/ProblemImplicit.cc +++ b/AMDiS/src/ProblemImplicit.cc @@ -14,7 +14,9 @@ #include "MathFunctions.h" using namespace std; + namespace AMDiS { + void ProblemImplicitBase::readDofVec(std::istream& in, DOFVector<double>* vec, Mesh* mesh) { @@ -34,27 +36,27 @@ namespace AMDiS { } } + void ProblemImplicitBase::readR(std::istream& inStream, double eps, Mesh* mesh, int implMesh , int comp) { FUNCNAME("ProblemImplicitBase::readR()"); - DOFVector< double >* r = getSignedDistance(implMesh, comp); - DOFVector< double >* phi1 = getPhi1(implMesh, comp); - DOFVector< double >* phi2 = getPhi2(implMesh, comp); - DOFVector< double >* levelSet = getLevelset(implMesh, comp); + DOFVector<double>* r = getSignedDistance(implMesh, comp); + DOFVector<double>* phi1 = getPhi1(implMesh, comp); + DOFVector<double>* phi2 = getPhi2(implMesh, comp); + DOFVector<double>* levelSet = getLevelset(implMesh, comp); - TEST_EXIT( r != NULL )("no signed distance vector\n"); - TEST_EXIT( phi1 != NULL )("no phasefield1 vector\n"); - TEST_EXIT( phi2 != NULL )("no phasefield2 vector\n"); - TEST_EXIT( levelSet != NULL )("no levelSet vector\n"); + TEST_EXIT(r != NULL)("no signed distance vector\n"); + TEST_EXIT(phi1 != NULL)("no phasefield1 vector\n"); + TEST_EXIT(phi2 != NULL)("no phasefield2 vector\n"); + TEST_EXIT(levelSet != NULL)("no levelSet vector\n"); bool checkSize = r->getSize() == phi1->getSize() && - r->getSize() == phi2->getSize(); + r->getSize() == phi2->getSize(); TEST_EXIT(checkSize)("something went wrong\n"); - readDofVec(inStream, r, mesh); for (int i = r->getSize() - 1; i >= 0; --i) { @@ -66,20 +68,20 @@ namespace AMDiS { void ProblemImplicitBase::readPhi1(istream& inStream, double eps, - Mesh* mesh, int implMesh, int comp ) + Mesh* mesh, int implMesh, int comp) { - DOFVector< double >* r = getSignedDistance(implMesh, comp); - DOFVector< double >* phi1 = getPhi1(implMesh, comp); - DOFVector< double >* phi2 = getPhi2(implMesh, comp); - DOFVector< double >* levelSet = getLevelset(implMesh, comp); + DOFVector<double>* r = getSignedDistance(implMesh, comp); + DOFVector<double>* phi1 = getPhi1(implMesh, comp); + DOFVector<double>* phi2 = getPhi2(implMesh, comp); + DOFVector<double>* levelSet = getLevelset(implMesh, comp); - TEST_EXIT( r != NULL )("no signed distance vector\n"); - TEST_EXIT( phi1 != NULL )("no phasefield1 vector\n"); - TEST_EXIT( phi2 != NULL )("no phasefield2 vector\n"); - TEST_EXIT( levelSet != NULL )("no levelSet vector\n"); + TEST_EXIT(r != NULL)("no signed distance vector\n"); + TEST_EXIT(phi1 != NULL)("no phasefield1 vector\n"); + TEST_EXIT(phi2 != NULL)("no phasefield2 vector\n"); + TEST_EXIT(levelSet != NULL)("no levelSet vector\n"); bool checkSize = r->getSize() == phi1->getSize() && - r->getSize() == phi2->getSize(); + r->getSize() == phi2->getSize(); TEST_EXIT(checkSize)("something went wrong\n"); @@ -94,20 +96,20 @@ namespace AMDiS { void ProblemImplicitBase::readPhi2(istream& inStream, double eps, - Mesh* mesh, int implMesh, int comp ) + Mesh* mesh, int implMesh, int comp) { - DOFVector< double >* r = getSignedDistance(implMesh, comp); - DOFVector< double >* phi1 = getPhi1(implMesh, comp); - DOFVector< double >* phi2 = getPhi2(implMesh, comp); - DOFVector< double >* levelSet = getLevelset(implMesh, comp); + DOFVector<double>* r = getSignedDistance(implMesh, comp); + DOFVector<double>* phi1 = getPhi1(implMesh, comp); + DOFVector<double>* phi2 = getPhi2(implMesh, comp); + DOFVector<double>* levelSet = getLevelset(implMesh, comp); - TEST_EXIT( r != NULL )("no signed distance vector\n"); - TEST_EXIT( phi1 != NULL )("no phasefield1 vector\n"); - TEST_EXIT( phi2 != NULL )("no phasefield2 vector\n"); - TEST_EXIT( levelSet != NULL )("no levelSet vector\n"); + TEST_EXIT(r != NULL)("no signed distance vector\n"); + TEST_EXIT(phi1 != NULL)("no phasefield1 vector\n"); + TEST_EXIT(phi2 != NULL)("no phasefield2 vector\n"); + TEST_EXIT(levelSet != NULL)("no levelSet vector\n"); bool checkSize = r->getSize() == phi1->getSize() && - r->getSize() == phi2->getSize(); + r->getSize() == phi2->getSize(); TEST_EXIT(checkSize)("something went wrong\n"); readDofVec(inStream, phi2, mesh); @@ -119,174 +121,57 @@ namespace AMDiS { } } + std::string ProblemImplicitBase::getDofFilename(std::string path, int implMesh) { std::string suffix = "[" + - boost::lexical_cast< std::string >(implMesh) + - "]"; + boost::lexical_cast< std::string >(implMesh) + + "]"; std::string dofFilename(""); - GET_PARAMETER(0, path + "dof file" + suffix, &dofFilename); + Parameters::get(path + "dof file" + suffix, dofFilename); if (implMesh == 0 && dofFilename.length() == 0) - GET_PARAMETER(0, path + "dof file", &dofFilename); + Parameters::get(path + "dof file", dofFilename); return dofFilename; } + double ProblemImplicitBase::getEpsilon(std::string path, int implMesh) { std::string suffix = "[" + - boost::lexical_cast< std::string >(implMesh) + - "]"; + boost::lexical_cast< std::string >(implMesh) + + "]"; double eps(-1); - GET_PARAMETER(0, path + "eps" + suffix, "%g", &eps); + Parameters::get(path + "eps" + suffix, eps); if (implMesh == 0 && eps < 0) - GET_PARAMETER(0, path + "eps", "%g", &eps); + Parameters::get(path + "eps", eps); return eps; } + int ProblemImplicitBase::getType(std::string path, int implMesh) { std::string suffix = "[" + - boost::lexical_cast< std::string >(implMesh) + - "]"; + boost::lexical_cast< std::string >(implMesh) + + "]"; int serType(-1); - GET_PARAMETER(0, path + "type" + suffix, "%d", &serType); + Parameters::get(path + "type" + suffix, serType); if (implMesh == 0 && serType < 0) - GET_PARAMETER(0, path + "type", "%d", &serType); + Parameters::get(path + "type", serType); return serType; } - DOFVector< double >* ProblemImplicitScal::getSignedDistance(int im , int ) - { - if (readImplMesh) - return r[im]; - return NULL; - } - DOFVector< double >* ProblemImplicitScal::getPhi1(int im , int ) + DOFVector<double>* ProblemImplicit::getSignedDistance(unsigned int im , unsigned int m) { - if (readImplMesh) - return phi1[im]; - return NULL; - } - - DOFVector< double >* ProblemImplicitScal::getPhi2(int im , int ) - { - if (readImplMesh) - return phi2[im]; - return NULL; - } - - DOFVector< double >* ProblemImplicitScal::getLevelset(int im , int ) - { - if (readImplMesh) - return levelSet[im]; - return NULL; - } - - void ProblemImplicitScal::createMesh() - { - FUNCNAME("ProblemImplicitScal::createMesh()"); - ProblemScal::createMesh(); - std::string path = name + "->implicit mesh"; - std::string meshFilename(""); - - GET_PARAMETER(0, path + "->macro file name", &meshFilename); - std::string serFilename(""); - GET_PARAMETER(0, path + "->serialization file name", &serFilename); - if ( meshFilename.length() > 0) { - mesh->setName(path); - readImplMesh = true; - } - else - if ( serFilename.length() > 0 ) { - //INFO(5,1)("loading implicit mesh %s \n", serFilename.c_str()); - std::string oldName = mesh->getName(); - std::ifstream inStream(serFilename.c_str()); - mesh->deserialize(inStream); - inStream.close(); - mesh->setName(oldName); - readImplMesh = true; - } - - } - - void ProblemImplicitScal::initialize(Flag initFlag, ProblemScal* adaptProblem, - Flag adoptFlag) - { - FUNCNAME("ProblemImplicitScal::initialize()"); - ProblemScal::initialize(initFlag); - createImplicitMesh(); - } - - bool ProblemImplicitScal::createImplicitMesh() - { - FUNCNAME("ProblemImplicitScal::createImplicitMesh()"); - INFO(5,1)("setting implicit mesh\n"); - if (!isImplicitMesh()) - return false; - std::string path = name + "->implicit mesh->"; - int nImplMesh(1); - GET_PARAMETER(0, name + "nr meshes", "%d", &nImplMesh); - - r.resize(nImplMesh); - phi1.resize(nImplMesh); - phi2.resize(nImplMesh); - levelSet.resize(nImplMesh); - for ( int i = 0; i < nImplMesh ; ++i) { - r[i] = new DOFVector< double >(getFeSpace(), "r"); - phi1[i] = new DOFVector< double >(getFeSpace(), "phi1"); - phi2[i] = new DOFVector< double >(getFeSpace(), "phi2"); - levelSet[i] = new DOFVector< double >(getFeSpace(), "levelSet"); - createImplicitMesh(path, i); - } - return true; - } - - bool ProblemImplicitScal::createImplicitMesh(string path, int p) - { - - std::string dofFilename = getDofFilename(path, p); - if (dofFilename.length() == 0) - return false; - - double eps = getEpsilon(path, p); - if (eps < 0.0) - return false; - int serType = getType(path, p); - if (serType < 0) - return false; - - TEST_EXIT(mesh != NULL)("the mesh was not created\n"); - - std::ifstream inStream(dofFilename.c_str()); - switch (serType) { - case 0: - readR(inStream, eps, mesh, p); - break; - case 1: - readPhi1(inStream, eps, mesh, p); - break; - case 2: - readPhi2(inStream, eps, mesh, p); - break; - default: - WARNING("unknown implicit mesh type\n"); - } - inStream.close(); - return true; + if (m >= r.size() || im >= r[m].size()) + return NULL; + return (r[m])[im]; } - DOFVector< double >* ProblemImplicitVec::getSignedDistance(unsigned int im , unsigned int m) - { - if ( m >= r.size() || im >= r[m].size()) - return NULL; - return (r[m])[im]; - } - - DOFVector< double >* ProblemImplicitVec::getPhi1(unsigned int im, unsigned int m) + DOFVector<double>* ProblemImplicit::getPhi1(unsigned int im, unsigned int m) { if (m >= phi1.size() || im >= phi1[m].size()) return NULL; @@ -294,7 +179,8 @@ namespace AMDiS { return (phi1[m])[im]; } - DOFVector< double >* ProblemImplicitVec::getPhi2(unsigned int im, unsigned int m) + + DOFVector<double>* ProblemImplicit::getPhi2(unsigned int im, unsigned int m) { if (m >= phi2.size() || im >= phi2[m].size()) return NULL; @@ -302,7 +188,8 @@ namespace AMDiS { return (phi2[m])[im]; } - DOFVector< double >* ProblemImplicitVec::getLevelset(unsigned int im, unsigned int m) + + DOFVector<double>* ProblemImplicit::getLevelset(unsigned int im, unsigned int m) { if (m >= levelSet.size() || im >= levelSet[m].size()) return NULL; @@ -310,7 +197,8 @@ namespace AMDiS { return (levelSet[m])[im]; } - bool ProblemImplicitVec::createImplicitMesh() + + bool ProblemImplicit::createImplicitMesh() { //check each mesh if it's an implicit one r.resize(meshes.size()); @@ -323,17 +211,17 @@ namespace AMDiS { } - bool ProblemImplicitVec::createImplicitMesh(int p) + bool ProblemImplicit::createImplicitMesh(int p) { - FUNCNAME("ProblemImplicitVec::createImplicitMesh()"); - //INFO(5,1)("initing mesh %d\n", p); + FUNCNAME("ProblemImplicit::createImplicitMesh()"); + if (!isImplicitMesh(p)) return false; std::string path = name + "->implicit mesh[" - + boost::lexical_cast< std::string >(p) + "]->"; + + boost::lexical_cast< std::string >(p) + "]->"; int nImplMeshes(0); - GET_PARAMETER(0, path + "nr meshes", "%d", &nImplMeshes); - //INFO(5,1)("has %d meshe(s)\n", nImplMeshes); + Parameters::get(path + "nr meshes", nImplMeshes); + r[p].resize(nImplMeshes); phi1[p].resize(nImplMeshes); phi2[p].resize(nImplMeshes); @@ -349,10 +237,12 @@ namespace AMDiS { return true; } - bool ProblemImplicitVec::createImplicitMesh(std::string path, int implMesh, - int comp) + + bool ProblemImplicit::createImplicitMesh(std::string path, int implMesh, + int comp) { - FUNCNAME("ProblemImplicitVec::createImplicitMesh()"); + FUNCNAME("ProblemImplicit::createImplicitMesh()"); + std::string dofFilename = getDofFilename(path, implMesh); if (dofFilename.length() == 0) return false; @@ -384,39 +274,41 @@ namespace AMDiS { return true; } - void ProblemImplicitVec::createMesh() + + void ProblemImplicit::createMesh() { - FUNCNAME("ProblemImplicitVec::createMesh()"); - ProblemVec::createMesh(); + FUNCNAME("ProblemImplicit::createMesh()"); + + ProblemStatSeq::createMesh(); + implMesh.resize(meshes.size()); - for (unsigned int i = 0 ; i < meshes.size() ; ++i ) - { + for (unsigned int i = 0 ; i < meshes.size() ; ++i ) { std::string path = name + "->implicit mesh[" + - boost::lexical_cast< std::string >(i) + "]"; + boost::lexical_cast< std::string >(i) + "]"; std::string meshFilename(""); - GET_PARAMETER(0, path + "->macro file name", &meshFilename); + Parameters::get(path + "->macro file name", meshFilename); std::string serFilename(""); - GET_PARAMETER(0, path + "->serialization file name", &serFilename); + Parameters::get(path + "->serialization file name", serFilename); implMesh[i] = true; if (meshFilename.length() > 0) - meshes[i]->setName(path); - else if (serFilename.length() > 0) - { - //INFO(5,1)("reading serialization file name %s \n", serFilename.c_str()); + meshes[i]->setName(path); + else if (serFilename.length() > 0) { std::ifstream inStream(serFilename.c_str()); meshes[i]->deserialize(inStream); inStream.close(); } else - implMesh[i] = false; - } - + implMesh[i] = false; + } } - void ProblemImplicitVec::initialize(Flag initFlag, ProblemScal* adaptProblem, - Flag adoptFlag) + + void ProblemImplicit::initialize(Flag initFlag, + ProblemStatSeq* adaptProblem, + Flag adoptFlag) { - FUNCNAME("ProblemImplicitVec::initialize()"); - ProblemVec::initialize(initFlag); - createImplicitMesh(); + FUNCNAME("ProblemImplicit::initialize()"); + + ProblemStatSeq::initialize(initFlag); + createImplicitMesh(); } } diff --git a/AMDiS/src/ProblemImplicit.h b/AMDiS/src/ProblemImplicit.h index af965a848c193036c361888c894dfe648ff1483a..377fad7d8faf240a3608c5aa7ddae827cca5b6f7 100644 --- a/AMDiS/src/ProblemImplicit.h +++ b/AMDiS/src/ProblemImplicit.h @@ -20,97 +20,60 @@ /** \file ProblemImplicit.h */ -#ifndef AMDIS_PROBLEMIMPLICIT_H -#define AMDIS_PROBLEMIMPLICIT_H +#ifndef AMDIS_PROBLEM_IMPLICIT_H +#define AMDIS_PROBLEM_IMPLICIT_H -#include "ProblemScal.h" -#include "ProblemVec.h" +#include "ProblemStat.h" namespace AMDiS { + + using namespace std; + class ProblemImplicitBase { public: virtual ~ProblemImplicitBase() {} virtual bool createImplicitMesh() = 0; - virtual DOFVector<double>* getSignedDistance(unsigned int im = 0, unsigned int m = 0) = 0; - virtual DOFVector<double>* getPhi1(unsigned int im = 0, unsigned int m = 0) = 0; - virtual DOFVector<double>* getPhi2(unsigned int im = 0, unsigned int m = 0) = 0; - virtual DOFVector<double>* getLevelset(unsigned int im = 0, unsigned int m = 0) = 0; - protected: - void readDofVec(std::istream& , DOFVector<double>* , Mesh*); - void readR(std::istream& , double , Mesh* , int implMesh = 0, int comp = 0); - void readPhi1(std::istream& , double , Mesh* , int implMesh = 0, int comp = 0); - void readPhi2(std::istream& , double , Mesh* , int implMesh = 0, int comp = 0); - std::string getDofFilename(std::string path, int implMesh = 0); - double getEpsilon(std::string path, int implMesh = 0); - int getType(std::string path, int implMesh = 0); - virtual bool isImplicitMesh(int comp = 0 ) = 0; - }; - - class ProblemImplicitScal : public ProblemScal , public ProblemImplicitBase - { - public: - ProblemImplicitScal(std::string name, ProblemIterationInterface* pis = NULL) - : ProblemScal(name, pis), - r(0), - phi1(0), - phi2(0), - levelSet(0), - readImplMesh(false) - {} - - /// @return: true if implicit mesh type is ok (see below) and false in - /// all other cases - /// initfile entries: - /// name+"->implicit mesh->mesh file": name of serialized mesh - /// name+"->implicit mesh->dof file": name of serialized dofvector - /// name+"->implicit mesh->type": type of serialized dofvector. - /// type can be: - /// 0: dofvector is a signed distance r - /// 1: dofvector is a phasefield phi=0.5*(1-tanh(3*r/eps)) - /// 2: dofvector is a phasefield phi=0.5*(1+tanh(3*r/eps)) - /// assumes: - /// a) already created, but not yet initialized mesh - /// b) already created feSpace - virtual bool createImplicitMesh(); + virtual DOFVector<double>* getSignedDistance(unsigned int im = 0, + unsigned int m = 0) = 0; - virtual void createMesh(); - virtual void initialize(Flag initFlag, ProblemScal *adoptProblem = NULL, - Flag adoptFlag = INIT_NOTHING); - DOFVector<double>* getSignedDistance(int im = 0 , int m = 0); - DOFVector<double>* getPhi1(int im = 0, int m = 0); - DOFVector<double>* getPhi2(int im = 0, int m = 0); - DOFVector<double>* getLevelset(int im = 0, int m = 0); + virtual DOFVector<double>* getPhi1(unsigned int im = 0, + unsigned int m = 0) = 0; + + virtual DOFVector<double>* getPhi2(unsigned int im = 0, + unsigned int m = 0) = 0; + + virtual DOFVector<double>* getLevelset(unsigned int im = 0, + unsigned int m = 0) = 0; protected: - /// DOFVector for a signed distance - std::vector<DOFVector<double>*> r; + void readDofVec(istream& , DOFVector<double>* , Mesh*); - /// DOFVector for the phasefield function 0.5*(1-tanh(3*r/eps)) - std::vector<DOFVector<double>*> phi1; + void readR(istream&, double, Mesh*, int implMesh = 0, int comp = 0); - /// DOFVector for the phasefield function 0.5*(1+tanh(3*r/eps)) - std::vector<DOFVector<double>*> phi2; + void readPhi1(istream&, double, Mesh*, int implMesh = 0, int comp = 0); - /// DOFVector for the levelset function - /// (levelSet(x): x \in \Omega: 1, x \not \in Omega: -1, x \in \Gamma: 0) - std::vector<DOFVector<double>*> levelSet; + void readPhi2(istream&, double, Mesh*, int implMesh = 0, int comp = 0); - bool readImplMesh; + string getDofFilename(string path, int implMesh = 0); - bool isImplicitMesh(int comp = 0) { return readImplMesh; } + double getEpsilon(string path, int implMesh = 0); - bool createImplicitMesh(std::string path, int comp); + int getType(string path, int implMesh = 0); + + virtual bool isImplicitMesh(int comp = 0) = 0; }; + - class ProblemImplicitVec : public ProblemVec, public ProblemImplicitBase + class ProblemImplicit : public ProblemStatSeq, + public ProblemImplicitBase { public: - ProblemImplicitVec(std::string name, + ProblemImplicit(string name, ProblemIterationInterface* problem = NULL) - : ProblemVec(name, problem), + : ProblemStatSeq(name, problem), r(0), phi1(0), phi2(0), @@ -119,34 +82,45 @@ namespace AMDiS { {} virtual void createMesh(); + virtual bool createImplicitMesh(); - virtual void initialize(Flag initFlag, ProblemScal* adoptProblem=NULL, + + virtual void initialize(Flag initFlag, + ProblemStatSeq* adoptProblem = NULL, Flag adoptFlag = INIT_NOTHING); - DOFVector<double>* getSignedDistance(unsigned int im = 0, unsigned int m = 0) ; - DOFVector<double>* getPhi1(unsigned int im = 0, unsigned int m = 0) ; - DOFVector<double>* getPhi2(unsigned int im = 0, unsigned int m = 0) ; - DOFVector<double>* getLevelset(unsigned int im = 0, unsigned int m = 0) ; + + DOFVector<double>* getSignedDistance(unsigned int im = 0, unsigned int m = 0); + + DOFVector<double>* getPhi1(unsigned int im = 0, unsigned int m = 0); + + DOFVector<double>* getPhi2(unsigned int im = 0, unsigned int m = 0); + + DOFVector<double>* getLevelset(unsigned int im = 0, unsigned int m = 0); protected: bool createImplicitMesh(int p); - bool createImplicitMesh(std::string, int, int); + + bool createImplicitMesh(string, int, int); /// DOFVector for a signed distance - std::vector< std::vector<DOFVector<double>*> > r; + vector< vector<DOFVector<double>*> > r; /// DOFVector for the phasefield function 0.5*(1-tanh(3*r/eps)) - std::vector< std::vector<DOFVector<double>*> > phi1; + vector< vector<DOFVector<double>*> > phi1; /// DOFVector for the phasefield function 0.5*(1+tanh(3*r/eps)) - std::vector< std::vector<DOFVector<double>*> > phi2; + vector< vector<DOFVector<double>*> > phi2; /// DOFVector for the levelset function /// (levelSet(x): x \in \Omega: 1, x \not \in Omega: -1, x \in \Gamma: 0) - std::vector< std::vector<DOFVector<double>*> > levelSet; + vector< vector<DOFVector<double>*> > levelSet; - std::vector< bool > implMesh; + vector<bool> implMesh; - bool isImplicitMesh(int comp = 0) { return implMesh[comp]; } + bool isImplicitMesh(int comp = 0) + { + return implMesh[comp]; + } }; } #endif diff --git a/AMDiS/src/ProblemInstat.cc b/AMDiS/src/ProblemInstat.cc index 8c67ac046296d62acc370e17360c943538ab2e5d..95622baa49049f1a8b228faa01cb8f5ead01f360 100644 --- a/AMDiS/src/ProblemInstat.cc +++ b/AMDiS/src/ProblemInstat.cc @@ -14,26 +14,15 @@ #endif #include "ProblemInstat.h" -#include "io/FileWriter.h" #include "AdaptStationary.h" #include "AdaptInstationary.h" #include "Estimator.h" -#include "ProblemScal.h" #include "StandardProblemIteration.h" +#include "io/FileWriter.h" namespace AMDiS { - ProblemInstat::~ProblemInstat() - {} - - - void ProblemInstat::initialize(Flag initFlag, - ProblemInstat *adoptProblem/* = NULL*/, - Flag adoptFlag /* = INIT_NOTHING*/) - {} - - - void ProblemInstat::solveInitialProblem(AdaptInfo *adaptInfo) + void ProblemInstatBase::solveInitialProblem(AdaptInfo *adaptInfo) { AdaptStationary initialAdapt((name + "->initial->adapt").c_str(), new StandardProblemIteration(initialProblem), @@ -43,7 +32,7 @@ namespace AMDiS { } - void ProblemInstatScal::transferInitialSolution(AdaptInfo *adaptInfo) + void ProblemInstat::transferInitialSolution(AdaptInfo *adaptInfo) { TEST_EXIT(adaptInfo->getTime() == adaptInfo->getStartTime()) ("after initial solution: time != start time\n"); @@ -51,98 +40,9 @@ namespace AMDiS { } - void ProblemInstatVec::transferInitialSolution(AdaptInfo *adaptInfo) + void ProblemInstat::closeTimestep(AdaptInfo *adaptInfo) { - TEST_EXIT(adaptInfo->getTime() == adaptInfo->getStartTime()) - ("after initial solution: time != start time\n"); - problemStat->writeFiles(adaptInfo, true); - } - - - ProblemInstatScal::ProblemInstatScal(std::string sname, - ProblemScal *prob, ProblemStatBase *initialProb) - : ProblemInstat(sname, initialProb), - problemStat(prob), - oldSolution(NULL) - {} - - - ProblemInstatScal::ProblemInstatScal(std::string sname, ProblemScal& prob) - : ProblemInstat(sname, NULL), - problemStat(&prob), - oldSolution(NULL) - {} - - - ProblemInstatScal::ProblemInstatScal(std::string sname, - ProblemScal& prob, ProblemStatBase& initialProb) - : ProblemInstat(sname, &initialProb), - problemStat(&prob), - oldSolution(NULL) - {} - - - ProblemInstatScal::~ProblemInstatScal() - { - delete oldSolution; - } - - - void ProblemInstatScal::initialize(Flag initFlag, - ProblemInstat *adoptProblem, - Flag adoptFlag) - { - FUNCNAME("ProblemInstat::initialize()"); - - ProblemInstat::initialize(initFlag, adoptProblem, adoptFlag); - - // === create vector for old solution === - if (oldSolution) { - WARNING("oldSolution already created\n"); - } else { - if (initFlag.isSet(INIT_UH_OLD)) - createUhOld(); - - if (adoptProblem && adoptFlag.isSet(INIT_UH_OLD)) { - ProblemInstatScal* _adoptProblem - = dynamic_cast<ProblemInstatScal*>(adoptProblem); - TEST_EXIT(_adoptProblem) - ("can't adopt oldSolution from problem which is not instationary and scalar"); - TEST_EXIT(!oldSolution)("oldSolution already created"); - oldSolution = _adoptProblem->getOldSolution(); - } - } - - if (!oldSolution) - WARNING("no oldSolution created\n"); - } - - - void ProblemInstatScal::createUhOld() - { - if (oldSolution) { - WARNING("oldSolution already created\n"); - } else { - // create oldSolution - oldSolution = new DOFVector<double>(problemStat->getFeSpace(), name + "->uOld"); - oldSolution->setCoarsenOperation(COARSE_INTERPOL); - if (problemStat->getEstimator()) - dynamic_cast<Estimator*>(problemStat->getEstimator()) - ->addUhOldToSystem(0, oldSolution); - } - } - - - void ProblemInstatScal::closeTimestep(AdaptInfo *adaptInfo) - { - bool force = (adaptInfo->getTime() >= adaptInfo->getEndTime()); - problemStat->writeFiles(adaptInfo, force); - } - - - void ProblemInstatVec::closeTimestep(AdaptInfo *adaptInfo) - { - FUNCNAME("ProblemInstatVec::closeTimestep()"); + FUNCNAME("ProblemInstat::closeTimestep()"); bool force = (adaptInfo->getTime() >= adaptInfo->getEndTime()); problemStat->writeFiles(adaptInfo, force); @@ -154,43 +54,42 @@ namespace AMDiS { } - ProblemInstatVec::ProblemInstatVec(std::string sname, - ProblemVec *prob, ProblemStatBase *initialProb) - : ProblemInstat(sname, initialProb), + ProblemInstat::ProblemInstat(std::string sname, + ProblemStat *prob, ProblemStatBase *initialProb) + : ProblemInstatBase(sname, initialProb), problemStat(prob), oldSolution(NULL) {} - ProblemInstatVec::ProblemInstatVec(std::string sname, ProblemVec &prob) - : ProblemInstat(sname, NULL), + ProblemInstat::ProblemInstat(std::string sname, ProblemStat &prob) + : ProblemInstatBase(sname, NULL), problemStat(&prob), oldSolution(NULL) {} - ProblemInstatVec::ProblemInstatVec(std::string sname, - ProblemVec &prob, ProblemStatBase &initialProb) - : ProblemInstat(sname, &initialProb), + ProblemInstat::ProblemInstat(std::string sname, + ProblemStat &prob, ProblemStatBase &initialProb) + : ProblemInstatBase(sname, &initialProb), problemStat(&prob), oldSolution(NULL) {} - ProblemInstatVec::~ProblemInstatVec() + ProblemInstat::~ProblemInstat() { delete oldSolution; } - void ProblemInstatVec::initialize(Flag initFlag, ProblemInstat *adoptProblem, - Flag adoptFlag) + void ProblemInstat::initialize(Flag initFlag, ProblemInstat *adoptProblem, + Flag adoptFlag) { - FUNCNAME("ProblemInstatVec::initialize()"); - - ProblemInstat::initialize(initFlag, adoptProblem, adoptFlag); + FUNCNAME("ProblemInstat::initialize()"); // === create vector for old solution === + if (oldSolution) { WARNING("oldSolution already created\n"); } else { @@ -198,7 +97,7 @@ namespace AMDiS { createUhOld(); if (adoptProblem && adoptFlag.isSet(INIT_UH_OLD)) { - ProblemInstatVec* _adoptProblem = dynamic_cast<ProblemInstatVec*>(adoptProblem); + ProblemInstat* _adoptProblem = dynamic_cast<ProblemInstat*>(adoptProblem); TEST_EXIT(_adoptProblem) ("can't adopt oldSolution from problem which is not instationary and vectorial"); TEST_EXIT(!oldSolution)("oldSolution already created"); @@ -211,7 +110,7 @@ namespace AMDiS { } - void ProblemInstatVec::createUhOld() + void ProblemInstat::createUhOld() { if (oldSolution) { WARNING("oldSolution already created\n"); @@ -232,13 +131,7 @@ namespace AMDiS { } - void ProblemInstatScal::initTimestep(AdaptInfo *adaptInfo) - { - oldSolution->copy(*(problemStat->getSolution())); - } - - - void ProblemInstatVec::initTimestep(AdaptInfo *adaptInfo) + void ProblemInstat::initTimestep(AdaptInfo *adaptInfo) { #ifdef HAVE_PARALLEL_DOMAIN_AMDIS lastTimepoint = MPI::Wtime(); diff --git a/AMDiS/src/ProblemInstat.h b/AMDiS/src/ProblemInstat.h index 24887b8e9c389e9a39f09c533a3abb39fb926029..2155f92ae02934dbc5780e647969c6bfb1b33031 100644 --- a/AMDiS/src/ProblemInstat.h +++ b/AMDiS/src/ProblemInstat.h @@ -20,11 +20,10 @@ /** \file ProblemInstat.h */ -#ifndef AMDIS_PROBLEM_INSTAT_H_ -#define AMDIS_PROBLEM_INSTAT_H_ +#ifndef AMDIS_PROBLEM_INSTAT_H +#define AMDIS_PROBLEM_INSTAT_H -#include "ProblemScal.h" -#include "ProblemVec.h" +#include "ProblemStat.h" #include "ProblemTimeInterface.h" #include "AdaptInstationary.h" @@ -34,26 +33,27 @@ namespace AMDiS { * \ingroup Problem * * \brief - * Base class for ProblemInstatScal and ProblemInstatVec. + * Base class for \ref ProblemInstat. */ - class ProblemInstat : public ProblemTimeInterface, - public ProblemStatBase + class ProblemInstatBase : public ProblemTimeInterface, + public ProblemStatBase { public: /// Constructor. - ProblemInstat(std::string probName, - ProblemStatBase *initialProb) + ProblemInstatBase(std::string probName, + ProblemStatBase *initialProb) : name(probName), initialProblem(initialProb ? initialProb : this) {} /// Destructor. - virtual ~ProblemInstat(); + virtual ~ProblemInstatBase() {} /// Initialisation of the problem. virtual void initialize(Flag initFlag, ProblemInstat *adoptProblem = NULL, - Flag adoptFlag = INIT_NOTHING); + Flag adoptFlag = INIT_NOTHING) + {} virtual void setTime(AdaptInfo* adaptInfo) { @@ -140,103 +140,40 @@ namespace AMDiS { * \ingroup Problem * * \brief - * Standard implementation of ProblemTimeInterface for a time dependent problems. + * Standard implementation of ProblemTimeInterface for a time + * dependent problems. */ - class ProblemInstatScal : public ProblemInstat - { - public: - /// Constructs a ProblemInstatScal with prob as its stationary problem. - ProblemInstatScal(std::string name, - ProblemScal *prob, - ProblemStatBase *initialProb = NULL); - - ProblemInstatScal(std::string name, ProblemScal& prob); - - ProblemInstatScal(std::string name, ProblemScal& prob, ProblemStatBase& initialProb); - - /// Destructor. - virtual ~ProblemInstatScal(); - - /// Initialisation of the problem. - virtual void initialize(Flag initFlag, - ProblemInstat *adoptProblem = NULL, - Flag adoptFlag = INIT_NOTHING); - - /// Used in \ref initialize(). - virtual void createUhOld(); - - /// Implementation of ProblemTimeInterface::initTimestep(). - virtual void initTimestep(AdaptInfo *adaptInfo); - - /// Implementation of ProblemTimeInterface::closeTimestep(). - virtual void closeTimestep(AdaptInfo *adaptInfo); - - /// Returns \ref problemStat. - inline ProblemScal* getStatProblem() - { - return problemStat; - } - - /// Returns \ref oldSolution. - inline DOFVector<double> *getOldSolution() - { - return oldSolution; - } - - /// Used by \ref problemInitial - virtual void transferInitialSolution(AdaptInfo *adaptInfo); - - virtual void serialize(std::ostream &out) {} - - virtual void deserialize(std::istream &in) {} - - protected: - /// Space problem solved in each timestep. - ProblemScal* problemStat; - - /// Solution of the last timestep. - DOFVector<double>* oldSolution; - }; - - - /** - * \ingroup Problem - * - * \brief - * Standard implementation of ProblemTimeInterface for a time dependent - * vector valued problems. - */ - class ProblemInstatVec : public ProblemInstat + class ProblemInstat : public ProblemInstatBase { public: /// Constructs a ProblemInstatVec with prob as its stationary problem. - ProblemInstatVec(std::string name, - ProblemVec *prob, - ProblemStatBase *initialProb = NULL); + ProblemInstat(std::string name, + ProblemStat *prob, + ProblemStatBase *initialProb = NULL); - ProblemInstatVec(std::string name, ProblemVec &prob); + ProblemInstat(std::string name, ProblemStat &prob); - ProblemInstatVec(std::string name, ProblemVec &prob, ProblemStatBase &initialProb); + ProblemInstat(std::string name, ProblemStat &prob, ProblemStatBase &initialProb); /// Destructor. - virtual ~ProblemInstatVec(); + virtual ~ProblemInstat(); /// Initialisation of the problem. - virtual void initialize(Flag initFlag, - ProblemInstat *adoptProblem = NULL, - Flag adoptFlag = INIT_NOTHING); + void initialize(Flag initFlag, + ProblemInstat *adoptProblem = NULL, + Flag adoptFlag = INIT_NOTHING); /// Used in \ref initialize(). - virtual void createUhOld(); + void createUhOld(); /// Implementation of ProblemTimeInterface::initTimestep(). - virtual void initTimestep(AdaptInfo *adaptInfo); + void initTimestep(AdaptInfo *adaptInfo); /// Implementation of ProblemTimeInterface::closeTimestep(). - virtual void closeTimestep(AdaptInfo *adaptInfo); + void closeTimestep(AdaptInfo *adaptInfo); /// Returns \ref problemStat. - inline ProblemVec* getStatProblem() + inline ProblemStat* getStatProblem() { return problemStat; } @@ -247,16 +184,21 @@ namespace AMDiS { return oldSolution; } + inline DOFVector<double> *getOldSolution(int i) + { + return oldSolution->getDOFVector(i); + } + /// Used by \ref problemInitial - virtual void transferInitialSolution(AdaptInfo *adaptInfo); + void transferInitialSolution(AdaptInfo *adaptInfo); - virtual void serialize(std::ostream &out) {} + void serialize(std::ostream &out) {} - virtual void deserialize(std::istream &in) {} + void deserialize(std::istream &in) {} protected: /// Space problem solved in each timestep. - ProblemVec* problemStat; + ProblemStat* problemStat; /// Solution of the last timestep. SystemVector *oldSolution; diff --git a/AMDiS/src/ProblemInterpolVec.cc b/AMDiS/src/ProblemInterpol.cc similarity index 78% rename from AMDiS/src/ProblemInterpolVec.cc rename to AMDiS/src/ProblemInterpol.cc index ba87c92829df705fc32874b326926e134db1c8dd..4b479f2313075ac4d3c21ae9dfbba2d556b50dab 100644 --- a/AMDiS/src/ProblemInterpolVec.cc +++ b/AMDiS/src/ProblemInterpol.cc @@ -10,7 +10,7 @@ // See also license.opensource.txt in the distribution. -#include "ProblemInterpolVec.h" +#include "ProblemInterpol.h" #include "Mesh.h" #include "Error.h" #include "SystemVector.h" @@ -18,11 +18,13 @@ namespace AMDiS { - ProblemInterpolVec::ProblemInterpolVec(const char *nameStr, - ProblemVec *spaceProblem, - std::vector<AbstractFunction<double, WorldVector<double> >*> *fct, - std::vector<AbstractFunction<WorldVector<double>, WorldVector<double> >*> *grdFct) - : ProblemVec(nameStr), + using namespace std; + + ProblemInterpol::ProblemInterpol(const char *nameStr, + ProblemStatSeq *spaceProblem, + vector<AbstractFunction<double, WorldVector<double> >*> *fct, + vector<AbstractFunction<WorldVector<double>, WorldVector<double> >*> *grdFct) + : ProblemStatSeq(nameStr), interpolFct(fct), grdInterpolFct(grdFct) { @@ -32,7 +34,8 @@ namespace AMDiS { initialize(initFlag, spaceProblem, adoptFlag); } - void ProblemInterpolVec::solve(AdaptInfo *adaptInfo) + + void ProblemInterpol::solve(AdaptInfo *adaptInfo) { int size = static_cast<int>(meshes.size()); for (int i = 0; i < size; i++) @@ -41,7 +44,8 @@ namespace AMDiS { solution->interpol(interpolFct); } - void ProblemInterpolVec::estimate(AdaptInfo *adaptInfo, double) + + void ProblemInterpol::estimate(AdaptInfo *adaptInfo, double) { FUNCNAME("ProblemIterpolVec::estimate()"); @@ -50,7 +54,7 @@ namespace AMDiS { int size = static_cast<int>(interpolFct ? interpolFct->size() : grdInterpolFct->size()); int relErr = 0; - GET_PARAMETER(0, name + "->rel error", "%d", &relErr); + Parameters::get(name + "->rel error", relErr); if (grdInterpolFct) errorNorm = 1; diff --git a/AMDiS/src/ProblemInterpolScal.h b/AMDiS/src/ProblemInterpol.h similarity index 75% rename from AMDiS/src/ProblemInterpolScal.h rename to AMDiS/src/ProblemInterpol.h index 139c6c22ce6f22bb5cb5dce229d31243f2856625..abead27ba83247ba70afe12ad14acf74118947fc 100644 --- a/AMDiS/src/ProblemInterpolScal.h +++ b/AMDiS/src/ProblemInterpol.h @@ -18,18 +18,19 @@ -/** \file ProblemInterpolScal.h */ +/** \file ProblemInterpol.h */ -#ifndef AMDIS_PROBLEMINTERPOLSCAL_H -#define AMDIS_PROBLEMINTERPOLSCAL_H +#ifndef AMDIS_PROBLEM_INTERPOL_H +#define AMDIS_PROBLEM_INTERPOL_H -#include "AMDiS_fwd.h" -#include "ProblemScal.h" +#include "ProblemStat.h" namespace AMDiS { + using namespace std; + /// Interpolates a given function adaptive on spaceProblems mesh. - class ProblemInterpolScal : public ProblemScal + class ProblemInterpol : public ProblemStatSeq { public: /** \brief @@ -37,10 +38,10 @@ namespace AMDiS { * grdFct is used, if H1 error should be used for estimation. It points * to the gradient of fct. */ - ProblemInterpolScal(const char *name_, - ProblemScal *spaceProblem, - AbstractFunction<double, WorldVector<double> > *fct, - AbstractFunction<WorldVector<double>, WorldVector<double> > *grdFct); + ProblemInterpol(const char *name, + ProblemStatSeq *spaceProblem, + vector<AbstractFunction<double, WorldVector<double> >*> *fct, + vector<AbstractFunction<WorldVector<double>, WorldVector<double> >*> *grdFct); /// No system assemblage. virtual void buildbeforeRefine(AdaptInfo *adaptInfo, Flag) {} @@ -59,10 +60,10 @@ namespace AMDiS { protected: /// Function to interpolate. - AbstractFunction<double, WorldVector<double> > *interpolFct; + vector<AbstractFunction<double, WorldVector<double> >*> *interpolFct; /// Gradient of \ref interpolFct_. Used for H1 error in estimate(). - AbstractFunction<WorldVector<double>, WorldVector<double> > *grdInterpolFct; + vector<AbstractFunction<WorldVector<double>, WorldVector<double> >*> *grdInterpolFct; }; } diff --git a/AMDiS/src/ProblemInterpolScal.cc b/AMDiS/src/ProblemInterpolScal.cc deleted file mode 100644 index 79d9897eb23745aeeeee88791957e9ca3342f80a..0000000000000000000000000000000000000000 --- a/AMDiS/src/ProblemInterpolScal.cc +++ /dev/null @@ -1,76 +0,0 @@ -// -// Software License for AMDiS -// -// Copyright (c) 2010 Dresden University of Technology -// All rights reserved. -// Authors: Simon Vey, Thomas Witkowski et al. -// -// This file is part of AMDiS -// -// See also license.opensource.txt in the distribution. - - -#include "ProblemInterpolScal.h" -#include "Mesh.h" -#include "DOFVector.h" -#include "Parameters.h" -#include "AdaptInfo.h" - -namespace AMDiS { - - ProblemInterpolScal::ProblemInterpolScal(const char *name, - ProblemScal *spaceProblem, - AbstractFunction<double, WorldVector<double> > *fct, - AbstractFunction<WorldVector<double>, WorldVector<double> > *grdFct) - : ProblemScal(name), - interpolFct(fct), - grdInterpolFct(grdFct) - { - Flag adoptFlag = INIT_SYSTEM | INIT_MESH | INIT_FE_SPACE; - Flag initFlag = INIT_ALL & ~adoptFlag & ~INIT_SOLVER & - ~INIT_ESTIMATOR & ~CREATE_MESH & ~INIT_FILEWRITER; - if (initFlag.isSet(CREATE_MESH)) - WARNING("CREATE_MESH is set\n"); - initialize(initFlag, spaceProblem, adoptFlag); - } - - void ProblemInterpolScal::solve(AdaptInfo *adaptInfo) - { - mesh->dofCompress(); - solution->interpol(interpolFct); - } - - void ProblemInterpolScal::estimate(AdaptInfo *adaptInfo, double) - { - FUNCNAME("ProblemIterpolScal::estimate()"); - double errMax = 0.0; - double errSum = 0.0; - int errorNorm = 0; - - int relErr = 0; - GET_PARAMETER(0, name + "->rel error", "%d", &relErr); - - if (grdInterpolFct) - errorNorm = 1; - else - if (interpolFct) - errorNorm = 2; - - switch (errorNorm) { - case 1: - errSum = Error<double>::H1Err(*grdInterpolFct, *solution, relErr, &errMax, true); - break; - case 2: - errSum = Error<double>::L2Err(*interpolFct, *solution, relErr, &errMax, true); - break; - default: - ERROR_EXIT("invalid error norm\n"); - } - - MSG("estimate: %e\n", errSum); - - adaptInfo->setEstSum(errSum, 0); - adaptInfo->setEstMax(errMax, 0); - } - -} diff --git a/AMDiS/src/ProblemInterpolVec.h b/AMDiS/src/ProblemInterpolVec.h deleted file mode 100644 index b204fd9703009fc5b3ee1e386c1173dc43671f25..0000000000000000000000000000000000000000 --- a/AMDiS/src/ProblemInterpolVec.h +++ /dev/null @@ -1,69 +0,0 @@ -// ============================================================================ -// == == -// == AMDiS - Adaptive multidimensional simulations == -// == == -// == http://www.amdis-fem.org == -// == == -// ============================================================================ -// -// Software License for AMDiS -// -// Copyright (c) 2010 Dresden University of Technology -// All rights reserved. -// Authors: Simon Vey, Thomas Witkowski et al. -// -// This file is part of AMDiS -// -// See also license.opensource.txt in the distribution. - - - -/** \file ProblemInterpolVec.h */ - -#ifndef AMDIS_PROBLEMINTERPOLVEC_H -#define AMDIS_PROBLEMINTERPOLVEC_H - -#include "ProblemVec.h" - -namespace AMDiS { - - /// Interpolates a given function adaptive on spaceProblems mesh. - class ProblemInterpolVec : public ProblemVec - { - public: - /** \brief - * Constructor. fct will be interpolated on the mesh of spaceProblem. - * grdFct is used, if H1 error should be used for estimation. It points - * to the gradient of fct. - */ - ProblemInterpolVec(const char *name, - ProblemVec *spaceProblem, - std::vector<AbstractFunction<double, WorldVector<double> >*> *fct, - std::vector<AbstractFunction<WorldVector<double>, WorldVector<double> >*> *grdFct); - - /// No system assemblage. - virtual void buildbeforeRefine(AdaptInfo *adaptInfo, Flag) {} - - /// No system assemblage. - virtual void buildbeforeCoarsen(AdaptInfo *adaptInfo, Flag) {} - - /// No system assemblage. - virtual void buildAfterCoarsen(AdaptInfo *adaptInfo, Flag) {} - - /// No equation system ins solved. Instead fct is interpolated to uh. - virtual void solve(AdaptInfo *adaptInfo); - - /// True H1 or L2 error is calculated. - virtual void estimate(AdaptInfo *adaptInfo, double); - - protected: - /// Function to interpolate. - std::vector<AbstractFunction<double, WorldVector<double> >*> *interpolFct; - - /// Gradient of \ref interpolFct_. Used for H1 error in estimate(). - std::vector<AbstractFunction<WorldVector<double>, WorldVector<double> >*> *grdInterpolFct; - }; - -} - -#endif diff --git a/AMDiS/src/ProblemNonLin.cc b/AMDiS/src/ProblemNonLin.cc deleted file mode 100644 index 7106c3ed40f46923931605e538e578a2b1797c18..0000000000000000000000000000000000000000 --- a/AMDiS/src/ProblemNonLin.cc +++ /dev/null @@ -1,222 +0,0 @@ -// -// Software License for AMDiS -// -// Copyright (c) 2010 Dresden University of Technology -// All rights reserved. -// Authors: Simon Vey, Thomas Witkowski et al. -// -// This file is part of AMDiS -// -// See also license.opensource.txt in the distribution. - - -#include "ProblemNonLin.h" -#include "NonLinSolver.h" -#include "CreatorMap.h" -#include "NonLinUpdater.h" -#include "Traverse.h" -#include "AdaptInfo.h" - -#if 0 -namespace AMDiS { - - void ProblemNonLinScal::initialize(Flag initFlag, - ProblemScal *adoptProblem, - Flag adoptFlag) - { - - ProblemScal::initialize(initFlag, adoptProblem, adoptFlag); - - // === create Updater === - if (updater_) { - WARNING("updater already created\n"); - } else { - if (initFlag.isSet(INIT_UPDATER) || - (!adoptFlag.isSet(INIT_UPDATER) && initFlag.isSet(INIT_NONLIN_SOLVER))) - createUpdater(); - - if (adoptProblem && - (adoptFlag.isSet(INIT_UPDATER) || - (!initFlag.isSet(INIT_UPDATER) && adoptFlag.isSet(INIT_NONLIN_SOLVER)))) { - TEST_EXIT(updater_ == NULL)("updater already created\n"); - updater_ = dynamic_cast<ProblemNonLinScal*>(adoptProblem)->getUpdater(); - } - } - - if (updater_ == NULL) - WARNING("no updater created\n"); - - // === create nonlinear solver === - if (nonLinSolver_) { - WARNING("nonlinear solver already created\n"); - } else { - if (initFlag.isSet(INIT_NONLIN_SOLVER)) - createNonLinSolver(); - - if (adoptProblem && adoptFlag.isSet(INIT_NONLIN_SOLVER)) { - TEST_EXIT(nonLinSolver_==NULL)("nonlinear solver already created\n"); - nonLinSolver_ = dynamic_cast<ProblemNonLinScal*>(adoptProblem)->getNonLinSolver(); - } - } - - if (nonLinSolver_ == NULL) - WARNING("no nonlinear solver created\n"); - } - - void ProblemNonLinScal::createNonLinSolver() - { - // create non-linear solver -#if 0 - std::string nonLinSolverType("no"); - - GET_PARAMETER(0, name + "->nonlin solver", &nonLinSolverType); - - NonLinSolverCreator<DOFVector<double> > *nonLinSolverCreator = - dynamic_cast<NonLinSolverCreator<DOFVector<double> >*>(CreatorMap<NonLinSolver<DOFVector<double> > >::getCreator(nonLinSolverType)); - - nonLinSolverCreator->setLinearSolver(solver); - nonLinSolverCreator->setName(name + "->nonlin solver"); - nonLinSolverCreator->setNonLinUpdater(updater_); - nonLinSolver_ = nonLinSolverCreator->create(); - nonLinSolver_->setVectorCreator(new DOFVector<double>::Creator(feSpace)); -#endif - } - - void ProblemNonLinScal::solve(AdaptInfo *adaptInfo) - { -#if 0 - TEST_EXIT(nonLinSolver_)("no non-linear solver!\n"); - int iter = nonLinSolver_->solve(matVec, solution, rhs, leftPrecon, rightPrecon); - adaptInfo->setSolverIterations(solver->getIterations()); -#endif - } - - - void ProblemNonLinScal::buildAfterCoarsen(AdaptInfo *adaptInfo, Flag) - { - feSpace->getMesh()->dofCompress(); - MSG("%d DOFs for %s\n", - feSpace->getAdmin()->getUsedSize(), feSpace->getName().c_str()); - - TraverseStack stack; - ElInfo *elInfo = stack.traverseFirst(mesh, -1, - Mesh::CALL_LEAF_EL | - Mesh::FILL_BOUND | - Mesh::FILL_COORDS | - Mesh::FILL_DET | - Mesh::FILL_GRD_LAMBDA); - // for all elements ... - while (elInfo) { - if (solution->getBoundaryManager()) - solution->getBoundaryManager()->fillBoundaryConditions(elInfo, solution); - - elInfo = stack.traverseNext(elInfo); - } - } - - void ProblemNonLinVec::initialize(Flag initFlag, - ProblemVec *adoptProblem /*= NULL*/, - Flag adoptFlag /*= INIT_NOTHING*/) - { - ProblemVec::initialize(initFlag, adoptProblem, adoptFlag); - - // === create Updater === - if (updater_) { - WARNING("updater already created\n"); - } else { - if (initFlag.isSet(INIT_UPDATER) || - ((!adoptFlag.isSet(INIT_UPDATER) && initFlag.isSet(INIT_NONLIN_SOLVER)) - createUpdater(); - - if (adoptProblem && - (adoptFlag.isSet(INIT_UPDATER) || - (!initFlag.isSet(INIT_UPDATER) && adoptFlag.isSet(INIT_NONLIN_SOLVER)))) { - TEST_EXIT(updater_ == NULL)("updater already created\n"); - updater_ = dynamic_cast<ProblemNonLinVec*>(adoptProblem)->getUpdater(); - } - } - - if (updater_ == NULL) - WARNING("no updater created\n"); - - // === create nonlinear solver === - if (nonLinSolver_) { - WARNING("nonlinear solver already created\n"); - } else { - if (initFlag.isSet(INIT_NONLIN_SOLVER)) - createNonLinSolver(); - - if (adoptProblem && adoptFlag.isSet(INIT_NONLIN_SOLVER)) { - TEST_EXIT(nonLinSolver_ == NULL)("nonlinear solver already created\n"); - nonLinSolver_ = dynamic_cast<ProblemNonLinVec*>(adoptProblem)->getNonLinSolver(); - } - } - - if (nonLinSolver_ == NULL) - WARNING("no nonlinear solver created\n"); - } - - void ProblemNonLinVec::createNonLinSolver() - { -#if 0 - // create non-linear solver - std::string nonLinSolverType("no"); - - GET_PARAMETER(0, name + "->nonlin solver", &nonLinSolverType); - - NonLinSolverCreator<SystemVector> *nonLinSolverCreator = - dynamic_cast<NonLinSolverCreator<SystemVector>*>(CreatorMap<NonLinSolver<SystemVector> >::getCreator(nonLinSolverType)); - - nonLinSolverCreator->setLinearSolver(solver); - nonLinSolverCreator->setName(name + "->nonlin solver"); - nonLinSolverCreator->setNonLinUpdater(updater_); - nonLinSolver_ = nonLinSolverCreator->create(); - nonLinSolver_->setVectorCreator(new SystemVector::Creator("temp", - componentSpaces, - nComponents)); -#endif - } - - - void ProblemNonLinVec::solve(AdaptInfo *adaptInfo) - { - TEST_EXIT(nonLinSolver_)("no non-linear solver!\n"); - nonLinSolver_->solve(matVec, solution, rhs, leftPrecon, rightPrecon); - } - - void ProblemNonLinVec::buildAfterCoarsen(AdaptInfo *adaptInfo, Flag) - { - FUNCNAME("ProblemNonLinVec::buildAfterCoarsen()"); - int nMeshes = static_cast<int>(meshes.size()); - - for (int i = 0; i < nMeshes; i++) - meshes[i]->dofCompress(); - - for (int i = 0; i < nComponents; i++) - MSG("%d DOFs for %s\n", - componentSpaces[i]->getAdmin()->getUsedSize(), - componentSpaces[i]->getName().c_str()); - - TraverseStack stack; - ElInfo *elInfo; - - // for all elements ... - for (int i = 0; i < nComponents; i++) { - elInfo = stack.traverseFirst(componentMeshes[i], -1, - Mesh::CALL_LEAF_EL | - Mesh::FILL_BOUND | - Mesh::FILL_COORDS | - Mesh::FILL_DET | - Mesh::FILL_GRD_LAMBDA); - while (elInfo) { - if (solution->getDOFVector(i)->getBoundaryManager()) { - solution->getDOFVector(i)-> - getBoundaryManager()->fillBoundaryConditions(elInfo, solution->getDOFVector(i)); - } - elInfo = stack.traverseNext(elInfo); - } - } - } - -} -#endif diff --git a/AMDiS/src/ProblemNonLin.h b/AMDiS/src/ProblemNonLin.h deleted file mode 100644 index 82928fb0593da3447046a0ff3f65ce8b73c0b87f..0000000000000000000000000000000000000000 --- a/AMDiS/src/ProblemNonLin.h +++ /dev/null @@ -1,275 +0,0 @@ -// ============================================================================ -// == == -// == AMDiS - Adaptive multidimensional simulations == -// == == -// == http://www.amdis-fem.org == -// == == -// ============================================================================ -// -// Software License for AMDiS -// -// Copyright (c) 2010 Dresden University of Technology -// All rights reserved. -// Authors: Simon Vey, Thomas Witkowski et al. -// -// This file is part of AMDiS -// -// See also license.opensource.txt in the distribution. - - - -/** \file ProblemNonLin.h */ - -#ifndef AMDIS_PROBLEMNONLIN_H_ -#define AMDIS_PROBLEMNONLIN_H_ - -#include "ProblemScal.h" -#include "ProblemVec.h" -#include "NonLinUpdater.h" -#include "DOFVector.h" -#include "SystemVector.h" -#include "MatrixVector.h" - -#if 0 - -namespace AMDiS { - - template<typename Vector> class NonLinSolver; - - // ========================================================================== - // ===== class ProblemNonLinScal ============================================ - // ========================================================================== - - /** - * \ingroup Problem - * - * \brief - * Standard implementation for a non linear problem. - */ - class ProblemNonLinScal : public ProblemScal - { - public: - /** \brief - * Constructs a ProblemNonLin with given name. - */ - ProblemNonLinScal(std::string name_) - : ProblemScal(name_.c_str()), - u0_(NULL), - nonLinSolver_(NULL), - updater_(NULL) - {} - - /** \brief - * Destructor. - */ - virtual ~ProblemNonLinScal() {} - - /** \brief - * Initialisation of the problem. - */ - virtual void initialize(Flag initFlag, - ProblemScal *adoptProblem = NULL, - Flag adoptFlag = INIT_NOTHING); - - /** \brief - * Used in \ref initialize(). - */ - virtual void createUpdater() { - updater_ = new NonLinUpdaterScal(systemMatrix); - } - - /** \brief - * Used in \ref initialize(). - */ - virtual void createNonLinSolver(); - - /** \brief - * Returns \ref nonLinSolver_. - */ - inline NonLinSolver<DOFVector<double> >* getNonLinSolver() { - return nonLinSolver_; - } - - /** \brief - * Returns \ref updater_. - */ - inline NonLinUpdaterScal* getUpdater() { - return updater_; - } - - /** \brief - * Sets \ref u0_ and interpolates it to \ref uh_. - */ - inline void setU0(AbstractFunction<double, WorldVector<double> > *u0Fct) { - u0_ = u0Fct; - solution->interpol(u0_); - } - - /** \brief - * Sets \ref nonLinSolver_. - */ - inline void setNonLinSolver(NonLinSolver<DOFVector<double> > *nonLinSolver) { - nonLinSolver_=nonLinSolver; - } - - /** \brief - * Sets \ref updater. - */ - inline void setUpdater(NonLinUpdaterScal *updater) { - updater_ = updater; - } - - /** \brief - * Overrides ProblemScal::solve(). Uses the non linear solver - * \ref nonLinSolver_. - */ - virtual void solve(AdaptInfo *adaptInfo); - - /** \brief - * Overrides Problem::buildAfterCoarsen(). Sets dirichlet boundaries - * in \ref A_ and \ref rhs_. - */ - virtual void buildAfterCoarsen(AdaptInfo *adaptInfo, Flag); - - protected: - /** \brief - * Initial guess for the solution. - */ - AbstractFunction<double, WorldVector<double> > *u0_; - - /** \brief - * Non linear solver. Used in \ref solve(). - */ - NonLinSolver<DOFVector<double> > *nonLinSolver_; - - /** \brief - * Updator - */ - NonLinUpdaterScal *updater_; - }; - - // ========================================================================== - // ===== class ProblemNonLinScal ============================================ - // ========================================================================== - - /** - * \ingroup Problem - * - * \brief - * Standard implementation for a vector valued non linear problem. - */ - class ProblemNonLinVec : public ProblemVec - { - public: - /** \brief - * Constructs a ProblemNonLin with given name. - */ - ProblemNonLinVec(std::string name_) - : ProblemVec(name_.c_str()), - nonLinSolver_(NULL), - updater_(NULL) - { - u0_.resize(nComponents); - u0_.set(NULL); - } - - /** \brief - * Sets \ref u0_ and interpolates it to \ref solution_. - */ - inline void setU0(AbstractFunction<double, WorldVector<double> > *u0Fct, - int index) - { - FUNCNAME("ProblemNonLinVec::setU0()"); - TEST_EXIT(index < nComponents)("invalid index\n"); - u0_[index] = u0Fct; - solution->getDOFVector(index)->interpol(u0Fct); - } - - /** \brief - * Destructor. - */ - virtual ~ProblemNonLinVec() {} - - /** \brief - * Initialisation of the problem. - */ - virtual void initialize(Flag initFlag, - ProblemVec *adoptProblem = NULL, - Flag adoptFlag = INIT_NOTHING); - - /** \brief - * Used in \ref initialize(). - */ - virtual void createUpdater() { - updater_ = new NonLinUpdaterVec(systemMatrix); - } - - /** \brief - * Used in \ref initialize(). - */ - virtual void createNonLinSolver(); - - /** \brief - * Overrides ProblemVec::solve(). Uses the non linear solver - * \ref nonLinSolver_. - */ - virtual void solve(AdaptInfo *adaptInfo); - - /** \brief - * Overrides Problem::buildAfterCoarsen(). Sets dirichlet boundaries - * in \ref A_ and \ref rhs_. - */ - virtual void buildAfterCoarsen(AdaptInfo *adaptInfo, Flag); - - /** \brief - * Returns /ref nonLinSolver_. - */ - inline NonLinSolver<SystemVector> *getNonLinSolver() { - return nonLinSolver_; - } - - /** \brief - * Returns \ref updater. - */ - inline NonLinUpdaterVec* getUpdater() { - return updater_; - } - - /** \brief - * Sets \ref nonLinSolver_. - */ - inline void setNonLinSolver(NonLinSolver<SystemVector> *nonLinSolver) { - nonLinSolver_ = nonLinSolver; - } - - /** \brief - * Sets \ref updater. - */ - inline void setUpdater(NonLinUpdaterVec *updater) { - updater_ = updater; - } - - - protected: - /** \brief - * Initial guess for the solution. - */ - Vector<AbstractFunction<double, WorldVector<double> >*> u0_; - - /** \brief - * Non linear solver. Used in \ref solve(). - */ - NonLinSolver<SystemVector> *nonLinSolver_; - - /** \brief - * Updator - */ - NonLinUpdaterVec *updater_; - }; - -} - -#endif - -#endif - diff --git a/AMDiS/src/ProblemScal.cc b/AMDiS/src/ProblemScal.cc deleted file mode 100644 index 8917c320f1207ba3ce7323eb8e6e13eae36eaafc..0000000000000000000000000000000000000000 --- a/AMDiS/src/ProblemScal.cc +++ /dev/null @@ -1,679 +0,0 @@ -// -// Software License for AMDiS -// -// Copyright (c) 2010 Dresden University of Technology -// All rights reserved. -// Authors: Simon Vey, Thomas Witkowski et al. -// -// This file is part of AMDiS -// -// See also license.opensource.txt in the distribution. - - -#include "ProblemScal.h" -#include "AbstractFunction.h" -#include "DirichletBC.h" -#include "RobinBC.h" -#include "FixVec.h" -#include "Flag.h" -#include "Serializer.h" -#include "RecoveryEstimator.h" -#include "Operator.h" -#include "DOFMatrix.h" -#include "FiniteElemSpace.h" -#include "Estimator.h" -#include "OEMSolver.h" -#include "DOFVector.h" -#include "Marker.h" -#include "AdaptInfo.h" -#include "ElInfo.h" -#include "io/FileWriter.h" -#include "RefinementManager.h" -#include "CoarseningManager.h" -#include "Lagrange.h" -#include "PeriodicBC.h" -#include "io/ValueReader.h" -#include "io/ElementFileWriter.h" -#include "ProblemVec.h" -#include "Debug.h" - -namespace AMDiS { - - ProblemScal::~ProblemScal() - { - FUNCNAME("ProblemScal::~ProblemScal()"); - - for (int i = 0; i < static_cast<int>(fileWriters.size()); i++) - delete fileWriters[i]; - - if (systemMatrix) - delete systemMatrix; - if (rhs) - delete rhs; - if (solution) - delete solution; - if (estimator) - delete estimator; - if (marker) - delete marker; - if (solver) - delete solver; - if (mesh) - delete mesh; - - FiniteElemSpace::clear(); - Lagrange::clear(); - } - - void ProblemScal::writeFiles(AdaptInfo *adaptInfo, bool force) - { - for (int i = 0; i < static_cast<int>(fileWriters.size()); i++) - fileWriters[i]->writeFiles(adaptInfo, force); - } - - void ProblemScal::writeFiles(AdaptInfo &adaptInfo, bool force) - { - writeFiles(&adaptInfo, force); - } - - void ProblemScal::interpolInitialSolution(AbstractFunction<double, WorldVector<double> > *fct) - { - solution->interpol(fct); - } - - void ProblemScal::addMatrixOperator(Operator *op, double *factor, double *estFactor) - { - systemMatrix->addOperator(op, factor, estFactor); - } - - void ProblemScal::addMatrixOperator(Operator &op, double *factor, double *estFactor) - { - systemMatrix->addOperator(&op, factor, estFactor); - } - - void ProblemScal::addVectorOperator(Operator *op, double *factor, double *estFactor) - { - rhs->addOperator(op, factor, estFactor); - } - - void ProblemScal::addVectorOperator(Operator &op, double *factor, double *estFactor) - { - rhs->addOperator(&op, factor, estFactor); - } - - void ProblemScal::addDirichletBC(BoundaryType type, - AbstractFunction<double, WorldVector<double> >* b) - { - DirichletBC *dirichlet = new DirichletBC(type, b, feSpace); - if (systemMatrix) - systemMatrix->getBoundaryManager()->addBoundaryCondition(dirichlet); - if (rhs) - rhs->getBoundaryManager()->addBoundaryCondition(dirichlet); - if (solution) - solution->getBoundaryManager()->addBoundaryCondition(dirichlet); - } - - void ProblemScal::addDirichletBC(BoundaryType type, DOFVector<double> *vec) - { - DirichletBC *dirichlet = new DirichletBC(type, vec); - if (systemMatrix) - systemMatrix->getBoundaryManager()->addBoundaryCondition(dirichlet); - if (rhs) - rhs->getBoundaryManager()->addBoundaryCondition(dirichlet); - if (solution) - solution->getBoundaryManager()->addBoundaryCondition(dirichlet); - } - - void ProblemScal::addRobinBC(BoundaryType type, - AbstractFunction<double, WorldVector<double> > *n, - AbstractFunction<double, WorldVector<double> > *r) - { - RobinBC *robin = new RobinBC(type, n, r, feSpace); - if (rhs) - rhs->getBoundaryManager()->addBoundaryCondition(robin); - if (systemMatrix) - systemMatrix->getBoundaryManager()->addBoundaryCondition(robin); - } - - void ProblemScal::addNeumannBC(BoundaryType type, - AbstractFunction<double, WorldVector<double> > *n) - { - NeumannBC *neumann = new NeumannBC(type, n, feSpace); - if (rhs) - rhs->getBoundaryManager()->addBoundaryCondition(neumann); - } - - void ProblemScal::addRobinBC(BoundaryType type, - DOFVector<double> *n, DOFVector<double> *r) - { - RobinBC *robin = new RobinBC(type, n, r, feSpace); - if (rhs) - rhs->getBoundaryManager()->addBoundaryCondition(robin); - if (systemMatrix) - systemMatrix->getBoundaryManager()->addBoundaryCondition(robin); - } - - void ProblemScal::addPeriodicBC(BoundaryType type) - { - PeriodicBC *periodic = new PeriodicBC(type, feSpace); - - if (systemMatrix) - systemMatrix->getBoundaryManager()->addBoundaryCondition(periodic); - if (rhs) - rhs->getBoundaryManager()->addBoundaryCondition(periodic); - } - - - void ProblemScal::createMesh() - { - TEST_EXIT(Parameters::initialized())("parameters not initialized\n"); - - // === create problems mesh === - std::string meshName(""); - - GET_PARAMETER(0, name + "->info", "%d", &info); - GET_PARAMETER(0, name + "->mesh", &meshName); - - TEST_EXIT(meshName != "")("no mesh name specified\n"); - - // get problem dimension - int dim = 0; - GET_PARAMETER(0, name + "->dim", "%d", &dim); - TEST_EXIT(dim)("no problem dimension specified!\n"); - - // create the mesh - mesh = new Mesh(meshName, dim); - - switch (dim) { - case 1: - coarseningManager = new CoarseningManager1d(); - refinementManager = new RefinementManager1d(); - break; - case 2: - coarseningManager = new CoarseningManager2d(); - refinementManager = new RefinementManager2d(); - break; - case 3: - coarseningManager = new CoarseningManager3d(); - refinementManager = new RefinementManager3d(); - break; - default: - ERROR_EXIT("invalid dim!\n"); - } - } - - void ProblemScal::setMeshFromProblemVec(ProblemVec* pv, int i) - { - mesh = pv->getMesh(i); - coarseningManager = pv->getCoarseningManager(i); - refinementManager = pv->getRefinementManager(i); - } - - Flag ProblemScal::markElements(AdaptInfo *adaptInfo) - { - if (marker) - return marker->markMesh(adaptInfo, mesh); - else - WARNING("no marker\n"); - - return 0; - } - - Flag ProblemScal::refineMesh(AdaptInfo *adaptInfo) - { - return refinementManager->refineMesh(mesh); - } - - Flag ProblemScal::coarsenMesh(AdaptInfo *adaptInfo) - { - if (adaptInfo->isCoarseningAllowed(0)) { - return coarseningManager->coarsenMesh(mesh); - } else { - WARNING("coarsening not allowed\n"); - return 0; - } - } - - void ProblemScal::solve(AdaptInfo *adaptInfo, bool fixedMatrix) - { - FUNCNAME("Problem::solve()"); - - if (!solver) { - WARNING("no solver\n"); - return; - } - - clock_t first = clock(); - - SolverMatrix<DOFMatrix> solverMatrix; - solverMatrix.setMatrix(*systemMatrix); - solver->solveSystem(solverMatrix, *solution, *rhs); - - INFO(info, 8)("solution of discrete system needed %.5f seconds\n", - TIME_USED(first, clock())); - - adaptInfo->setSolverIterations(solver->getIterations()); - adaptInfo->setMaxSolverIterations(solver->getMaxIterations()); - adaptInfo->setSolverTolerance(solver->getTolerance()); - adaptInfo->setSolverResidual(solver->getResidual()); - } - - void ProblemScal::initialize(Flag initFlag, - ProblemScal *adoptProblem, - Flag adoptFlag) - { - FUNCNAME("Problem::initialize()"); - // === create mesh === - if (mesh) { - WARNING("mesh already created\n"); - } else { - if (initFlag.isSet(CREATE_MESH) || - ((!adoptFlag.isSet(INIT_MESH))&& - (initFlag.isSet(INIT_SYSTEM)||initFlag.isSet(INIT_FE_SPACE)))) { - createMesh(); - } - - if (adoptProblem && - (adoptFlag.isSet(INIT_MESH) || - adoptFlag.isSet(INIT_SYSTEM) || - adoptFlag.isSet(INIT_FE_SPACE))) { - TEST_EXIT(!mesh)("mesh already created\n"); - mesh = adoptProblem->getMesh(); - refinementManager = adoptProblem->refinementManager; - coarseningManager = adoptProblem->coarseningManager; - } - } - - if (!mesh) - WARNING("no mesh created\n"); - - if (refinementManager == NULL) - WARNING("refinement manager not set\n"); - - // === create fespace === - if (feSpace) { - WARNING("feSpace already created\n"); - } else { - if (initFlag.isSet(INIT_FE_SPACE) || - (initFlag.isSet(INIT_SYSTEM) && !adoptFlag.isSet(INIT_FE_SPACE))) { - createFeSpace(); - } - - if (adoptProblem && - (adoptFlag.isSet(INIT_FE_SPACE) || adoptFlag.isSet(INIT_SYSTEM))) { - TEST_EXIT(!feSpace)("feSpace already created"); - feSpace = dynamic_cast<ProblemScal*>(adoptProblem)->getFeSpace(); - } - } - - if (!feSpace) - WARNING("no feSpace created\n"); - - // === create system === - if (initFlag.isSet(INIT_SYSTEM)) { - createMatricesAndVectors(); - } - if (adoptProblem && adoptFlag.isSet(INIT_SYSTEM)) { - TEST_EXIT(!solution)("solution already created\n"); - TEST_EXIT(!rhs)("rhs already created\n"); - TEST_EXIT(!systemMatrix)("systemMatrix already created\n"); - solution = adoptProblem->getSolution(); - rhs = adoptProblem->getRhs(); - systemMatrix = adoptProblem->getSystemMatrix(); - } - - // === create solver === - if (solver) { - WARNING("solver already created\n"); - } else { - if (initFlag.isSet(INIT_SOLVER)) { - createSolver(); - } - if (adoptProblem && adoptFlag.isSet(INIT_SOLVER)) { - TEST_EXIT(!solver)("solver already created\n"); - solver = adoptProblem->getSolver(); - } - } - - if (!solver) - WARNING("no solver created\n"); - - // === create estimator === - if (estimator) { - WARNING("estimator already created\n"); - } else { - if (initFlag.isSet(INIT_ESTIMATOR)) { - createEstimator(); - } - if (adoptProblem && adoptFlag.isSet(INIT_ESTIMATOR)) { - TEST_EXIT(!estimator)("estimator already created\n"); - estimator = adoptProblem->getEstimator(); - } - } - - if (!estimator) - WARNING("no estimator created\n"); - - // === create marker === - if (marker) { - WARNING("marker already created\n"); - } else { - if (initFlag.isSet(INIT_MARKER)) - createMarker(); - - if (adoptProblem && adoptFlag.isSet(INIT_MARKER)) { - TEST_EXIT(!marker)("marker already created\n"); - marker = adoptProblem->getMarker(); - } - } - - if (!marker) - WARNING("no marker created\n"); - - // === create file writer === - if (initFlag.isSet(INIT_FILEWRITER)) - createFileWriter(); - - - // === read serialization and init mesh === - - // There are two possiblities where the user can define a serialization - // to be read from disk. Either by providing the parameter -rs when executing - // the program or in the init file. The -rs parameter is always checked first, - // because it can be added automatically when rescheduling the program - // before timeout of the runqueue. - - int readSerialization = 0; - std::string serializationFilename = ""; - GET_PARAMETER(0, "argv->rs", &serializationFilename); - - // If the parameter -rs is set, we do nothing here, because the problem will be - // deserialized in the constructor of a following AdaptInstationary initialization. - if (!serializationFilename.compare("")) { - GET_PARAMETER(0, name + "->input->read serialization", "%d", - &readSerialization); - if (readSerialization) { - GET_PARAMETER(0, name + "->input->serialization filename", - &serializationFilename); - TEST_EXIT(serializationFilename != "")("no serialization file\n"); - - MSG("Deserialization from file: %s\n", serializationFilename.c_str()); - std::ifstream in(serializationFilename.c_str()); - deserialize(in); - in.close(); - } else { - if (initFlag.isSet(INIT_MESH) && mesh && !mesh->isInitialized()) { - mesh->initialize(); - } - - // === read value file and use it for the mesh values === - std::string valueFilename(""); - GET_PARAMETER(0, mesh->getName() + "->value file name", &valueFilename); - if (valueFilename.length()) - ValueReader::readValue(valueFilename, - mesh, - solution, - mesh->getMacroFileInfo()); - - // === do global refinements === - if (initFlag.isSet(INIT_GLOBAL_REFINES)) { - int globalRefinements = 0; - -#ifndef HAVE_PARALLEL_DOMAIN_AMDIS - GET_PARAMETER(0, mesh->getName() + "->global refinements", "%d", &globalRefinements); -#endif - - refinementManager->globalRefine(mesh, globalRefinements); - } - } - } - - } - - void ProblemScal::createFeSpace() - { - // create finite element space - int degree = 1; - GET_PARAMETER(0, name + "->polynomial degree" ,"%d", °ree); - feSpace = FiniteElemSpace::provideFeSpace(NULL, - Lagrange::getLagrange(mesh->getDim(), degree), - mesh, - name + "->feSpace"); - - // create dof admin for vertex dofs if neccessary - if (mesh->getNumberOfDofs(VERTEX) == 0) { - DimVec<int> ln_dof(mesh->getDim(), DEFAULT_VALUE, 0); - ln_dof[VERTEX]= 1; - mesh->createDOFAdmin("vertex dofs", ln_dof); - } - } - - void ProblemScal::createMatricesAndVectors() - { - // === create vectors and system matrix === - systemMatrix = new DOFMatrix(feSpace, feSpace, "system matrix"); - rhs = new DOFVector<double>(feSpace, "rhs"); - solution = new DOFVector<double>(feSpace, "solution"); - - solution->setCoarsenOperation(COARSE_INTERPOL); - solution->set(0.0); /* initialize u_h ! */ - } - - void ProblemScal::createSolver() - { - // === create solver === - std::string solverType("0"); - GET_PARAMETER(0, name + "->solver", &solverType); - OEMSolverCreator *solverCreator = - dynamic_cast<OEMSolverCreator*>(CreatorMap<OEMSolver>::getCreator(solverType)); - TEST_EXIT(solverCreator)("no solver type\n"); - solverCreator->setName(name + "->solver"); - solver = solverCreator->create(); - solver->initParameters(); - } - - void ProblemScal::createEstimator() - { - // create and set leaf data prototype - mesh->setElementDataPrototype(new LeafDataEstimatable(new LeafDataCoarsenable)); - - // === create estimator === - std::string estimatorType("0"); - GET_PARAMETER(0, name + "->estimator", &estimatorType); - EstimatorCreator *estimatorCreator = - dynamic_cast<EstimatorCreator*>( - CreatorMap<Estimator>::getCreator(estimatorType)); - if (estimatorCreator) { - estimatorCreator->setName(name + "->estimator"); - if (estimatorType == "recovery") { - dynamic_cast<RecoveryEstimator::Creator*>(estimatorCreator)->setSolution(solution); - } - estimator = estimatorCreator->create(); - - // init estimator - estimator->addSystem(systemMatrix, solution, rhs); - } - } - - void ProblemScal::createMarker() - { - marker = dynamic_cast<Marker*>(Marker::createMarker(name + "->marker", -1)); - } - - void ProblemScal::createFileWriter() - { - fileWriters.push_back(new FileWriter(name + "->output", mesh, solution)); - int writeSerialization = 0; - GET_PARAMETER(0, name + "->output->write serialization", "%d", &writeSerialization); - - // Serialization is not allowed to be done by the problem, if its part of a parallel - // problem definition. Than, the parallel problem object must be serialized. -#ifndef HAVE_PARALLEL_DOMAIN_AMDIS - if (writeSerialization) - fileWriters.push_back(new Serializer<ProblemScal>(this)); -#endif - } - - void ProblemScal::estimate(AdaptInfo *adaptInfo) - { - FUNCNAME("Problem::estimate()"); - - if (estimator) { - clock_t first = clock(); - estimator->estimate(adaptInfo->getTimestep()); - INFO(info,8)("estimation of the error needed %.5f seconds\n", - TIME_USED(first,clock())); - - adaptInfo->setEstSum(estimator->getErrorSum(), 0); - adaptInfo->setTimeEstSum(estimator->getTimeEst(), 0); - adaptInfo->setEstMax(estimator->getErrorMax(), 0); - adaptInfo->setTimeEstMax(estimator->getTimeEstMax(), 0); - } else { - WARNING("no estimator\n"); - } - } - - void ProblemScal::buildAfterCoarsen(AdaptInfo *adaptInfo, Flag flag, - bool assembleMatrix, bool assembleVector) - { - FUNCNAME("ProblemScal::buildAfterCoarsen()"); - - clock_t first = clock(); - -#ifndef HAVE_PARALLEL_DOMAIN_AMDIS - mesh->dofCompress(); -#endif - - MSG("%d DOFs for %s\n", - feSpace->getAdmin()->getUsedDofs(), feSpace->getName().c_str()); - - rhs->set(0.0); - - DOFMatrix::base_matrix_type& base_matrix= systemMatrix->getBaseMatrix(); - - int nnz_per_row= 0; - if (num_rows(base_matrix) != 0) - nnz_per_row= int(double(base_matrix.nnz()) / num_rows(base_matrix) * 1.2); - if (nnz_per_row < 5) - nnz_per_row= 5; - - // Correct dimensionality of matrix - base_matrix.change_dim(feSpace->getAdmin()->getUsedSize(), - feSpace->getAdmin()->getUsedSize()); - set_to_zero(base_matrix); - - // Reuse old sparsity information (if available) or default - systemMatrix->startInsertion(nnz_per_row); - - // fill boundary conditions - if (systemMatrix->getBoundaryManager()) - systemMatrix->getBoundaryManager()->initMatrix(systemMatrix); - if (rhs->getBoundaryManager()) - rhs->getBoundaryManager()->initVector(rhs); - if (solution->getBoundaryManager()) - solution->getBoundaryManager()->initVector(solution); - - BoundaryType *bound; - TraverseStack stack; - ElInfo *elInfo = stack.traverseFirst(mesh, -1, Mesh::CALL_LEAF_EL | - Mesh::FILL_BOUND | - Mesh::FILL_COORDS | - Mesh::FILL_DET | - Mesh::FILL_GRD_LAMBDA | - Mesh::FILL_NEIGH); - - while (elInfo) { - if (useGetBound) { - bound = new BoundaryType[feSpace->getBasisFcts()->getNumber()]; - feSpace->getBasisFcts()->getBound(elInfo, bound); - } else { - bound = NULL; - } - - systemMatrix->assemble(1.0, elInfo, bound); - rhs->assemble(1.0, elInfo, bound); - - if (useGetBound) - delete [] bound; - - if (systemMatrix->getBoundaryManager()) - systemMatrix->getBoundaryManager()->fillBoundaryConditions(elInfo, systemMatrix); - if (rhs->getBoundaryManager()) - rhs->getBoundaryManager()->fillBoundaryConditions(elInfo, rhs); - if (solution->getBoundaryManager()) - solution->getBoundaryManager()->fillBoundaryConditions(elInfo, solution); - elInfo = stack.traverseNext(elInfo); - } - - systemMatrix->removeRowsWithDBC(systemMatrix->getApplyDBCs()); - systemMatrix->finishInsertion(); - - // TODO: ExitMatrix should be called after finishInsertion! - if (systemMatrix->getBoundaryManager()) - systemMatrix->getBoundaryManager()->exitMatrix(systemMatrix); - if (rhs->getBoundaryManager()) - rhs->getBoundaryManager()->exitVector(rhs); - if (solution->getBoundaryManager()) - solution->getBoundaryManager()->exitVector(solution); - - INFO(info, 8)("buildAfterCoarsen needed %.5f seconds\n", TIME_USED(first,clock())); - - createPrecon(); - } - - - void ProblemScal::writeResidualMesh(AdaptInfo *adaptInfo, std::string name) - { - FUNCNAME("ProblemScal::writeResidualMesh()"); - - std::map<int, double> vec; - TraverseStack stack; - ElInfo *elInfo = stack.traverseFirst(this->getMesh(), -1, - Mesh::CALL_LEAF_EL | Mesh::FILL_COORDS); - - while (elInfo) { - vec[elInfo->getElement()->getIndex()] = elInfo->getElement()->getEstimation(0); - elInfo = stack.traverseNext(elInfo); - } - - ElementFileWriter fw(name, this->getMesh(), vec); - fw.writeFiles(adaptInfo, true); - } - - - void ProblemScal::createPrecon() - { - std::string preconType("no"); - GET_PARAMETER(0, name + "->solver->left precon", &preconType); - - CreatorInterface<ITL_BasePreconditioner> *preconCreator = - CreatorMap<ITL_BasePreconditioner>::getCreator(preconType); - - solver->setLeftPrecon(preconCreator->create(systemMatrix->getBaseMatrix())); - - preconType= "no"; - GET_PARAMETER(0, name + "->solver->right precon", &preconType); - - preconCreator = CreatorMap<ITL_BasePreconditioner>::getCreator(preconType); - solver->setRightPrecon(preconCreator->create(systemMatrix->getBaseMatrix())); - } - - - void ProblemScal::serialize(std::ostream &out) - { - FUNCNAME("ProblemScal::serialize()"); - - mesh->serialize(out); - solution->serialize(out); - } - - - void ProblemScal::deserialize(std::istream &in) - { - FUNCNAME("ProblemScal::deserialize()"); - - mesh->deserialize(in); - solution->deserialize(in); - } - -} diff --git a/AMDiS/src/ProblemScal.h b/AMDiS/src/ProblemScal.h deleted file mode 100644 index c8fa25fe56f2130a60f5d3e3546044fe6e68c06b..0000000000000000000000000000000000000000 --- a/AMDiS/src/ProblemScal.h +++ /dev/null @@ -1,398 +0,0 @@ -// ============================================================================ -// == == -// == AMDiS - Adaptive multidimensional simulations == -// == == -// == http://www.amdis-fem.org == -// == == -// ============================================================================ -// -// Software License for AMDiS -// -// Copyright (c) 2010 Dresden University of Technology -// All rights reserved. -// Authors: Simon Vey, Thomas Witkowski et al. -// -// This file is part of AMDiS -// -// See also license.opensource.txt in the distribution. - - - -/** \file ProblemScal.h */ - -#ifndef AMDIS_PROBLEMSCAL_H -#define AMDIS_PROBLEMSCAL_H - -#include <list> -#include "AMDiS_fwd.h" -#include "Global.h" -#include "ProblemStatBase.h" -#include "AbstractFunction.h" -#include "FixVec.h" -#include "Boundary.h" -#include "StandardProblemIteration.h" - -namespace AMDiS { - - class ProblemScal : public ProblemStatBase, - public StandardProblemIteration - { - public: - ProblemScal(std::string nameStr, - ProblemIterationInterface *problemIteration = NULL) - : StandardProblemIteration(this), - name(nameStr), - feSpace(NULL), - mesh(NULL), - marker(NULL), - estimator(NULL), - solver(NULL), - solution(NULL), - rhs(NULL), - systemMatrix(NULL), - useGetBound(true), - refinementManager(NULL), - coarseningManager(NULL), - info(10) {} - - /// Destructor - virtual ~ProblemScal(); - - /// Initialisation of the problem. - virtual void initialize(Flag initFlag, - ProblemScal *adoptProblem = NULL, - Flag adoptFlag = INIT_NOTHING); - - /// Used in \ref initialize(). - virtual void createMesh(); - - /// Used in \ref initialize(). - virtual void createFeSpace(); - - /// Used in \ref initialize(). - virtual void createMatricesAndVectors(); - - /// Used in \ref initialize(). - virtual void createSolver(); - - /// Used in \ref initialize(). - virtual void createEstimator(); - - /// Used in \ref initialize(). - virtual void createMarker(); - - /// Used in \ref initialize(). - virtual void createFileWriter(); - - /** \brief - * Implementation of ProblemStatBase::solve(). Deligates the solving - * of problems system to \ref solver. - */ - virtual void solve(AdaptInfo *adaptInfo, bool fixedMatrix); - - /** \brief - * Implementation of ProblemStatBase::estimate(). Deligates the estimation - * to \ref estimator. - */ - virtual void estimate(AdaptInfo *adaptInfo); - - /** \brief - * Implementation of ProblemStatBase::markElements(). - * Deligated to \ref adapt. - */ - virtual Flag markElements(AdaptInfo *adaptInfo); - - /** \brief - * Implementation of ProblemStatBase::refineMesh(). Deligated to the - * RefinementManager of \ref adapt. - */ - virtual Flag refineMesh(AdaptInfo *adaptInfo); - - /** \brief - * Implementation of ProblemStatBase::coarsenMesh(). Deligated to the - * CoarseningManager of \ref adapt. - */ - virtual Flag coarsenMesh(AdaptInfo *adaptInfo); - - /** \brief - * Implementation of ProblemStatBase::buildBeforeRefine(). - * Does nothing here. - */ - virtual void buildBeforeRefine(AdaptInfo *adaptInfo, Flag) {} - - /** \brief - * Implementation of ProblemStatBase::buildBeforeCoarsen(). - * Does nothing here. - */ - virtual void buildBeforeCoarsen(AdaptInfo *adaptInfo, Flag) {} - - void createPrecon(); - - /** \brief - * Implementation of ProblemStatBase::buildAfterCoarsen(). - * Assembles \ref A and \ref rhs. - */ - virtual void buildAfterCoarsen(AdaptInfo *adaptInfo, Flag flag, - bool assembleMatrix = true, - bool assembleVector = true); - - /// Returns number of managed problems - virtual int getNumProblems() - { - return 1; - } - - /// Implementation of ProblemStatBase::getNumComponents() - virtual int getNumComponents() - { - return 1; - } - - /** \brief - * Returns the problem with the given number. If only one problem - * is managed by this master problem, the number hasn't to be given. - */ - virtual ProblemStatBase *getProblem(int number = 0) - { - return this; - } - - /// Writes output files. TODO: Make obsolete. - void writeFiles(AdaptInfo *adaptInfo, bool force); - - /// Writes output files. - void writeFiles(AdaptInfo &adaptInfo, bool force); - - /// Interpolates fct to \ref solution. - void interpolInitialSolution(AbstractFunction<double, WorldVector<double> > *fct); - - /// Adds an Operator to \ref systemMatrix. - void addMatrixOperator(Operator *op, - double *factor = NULL, double *estFactor = NULL); - - /// Adds an Operator to \ref systemMatrix. - void addMatrixOperator(Operator &op, - double *factor = NULL, double *estFactor = NULL); - - /// Adds an Operator to \ref rhs. - void addVectorOperator(Operator *op, - double *factor = NULL, double *estFactor = NULL); - - /// Adds an Operator to \ref rhs. - void addVectorOperator(Operator &op, - double *factor = NULL, double *estFactor = NULL); - - /// Adds dirichlet boundary conditions. - virtual void addDirichletBC(BoundaryType type, - AbstractFunction<double, WorldVector<double> >* b); - - /// Adds dirichlet boundary conditions. - virtual void addDirichletBC(BoundaryType type, - DOFVector<double> *vec); - - /// Adds robin boundary conditions. - virtual void addRobinBC(BoundaryType type, - AbstractFunction<double, WorldVector<double> > *n, - AbstractFunction<double, WorldVector<double> > *r); - - /// Adds robin boundary conditions. - virtual void addRobinBC(BoundaryType type, - DOFVector<double> *n, - DOFVector<double> *r); - - /// Adds Neumann boundary conditions. - virtual void addNeumannBC(BoundaryType type, - AbstractFunction<double, WorldVector<double> > *n); - - - /// Adds periodic boundary conditions. - virtual void addPeriodicBC(BoundaryType type); - - /** \name getting methods - * \{ - */ - - /// Returns \ref solution. - inline DOFVector<double>* getSolution() - { - return solution; - } - - /// Returns \ref rhs. - inline DOFVector<double>* getRhs() - { - return rhs; - } - - /// Returns \ref systemMatrix. - inline DOFMatrix *getSystemMatrix() - { - return systemMatrix; - } - - /// Returns \ref mesh - inline Mesh* getMesh() - { - return mesh; - } - - /// Returns \ref feSpace. - inline FiniteElemSpace* getFeSpace() - { - return feSpace; - } - - /// Returns \ref estimator_. - inline Estimator* getEstimator() - { - return estimator; - } - - /// Returns \ref refinementManager. - inline RefinementManager* getRefinementManager() - { - return refinementManager; - } - - /// Returns \ref solver. - inline OEMSolver* getSolver() - { - return solver; - } - - /// Returns \ref marker_. - inline Marker *getMarker() - { - return marker; - } - - /// Returns \ref name. - virtual inline std::string getName() - { - return name; - } - - /// Returns \ref useGetBound. - inline bool getBoundUsed() - { - return useGetBound; - } - - /// - inline CoarseningManager *getCoarseningManager() - { - return coarseningManager; - } - - /** \} */ - - /** \name setting methods - * \{ - */ - - /// Sets \ref mesh - void setMeshFromProblemVec(ProblemVec* pv, int i = 0); - - /// Sets \ref feSpace. - inline void setFeSpace(FiniteElemSpace* fe) - { - feSpace = fe; - } - - /// Sets \ref estimator_. - inline void setEstimator(Estimator* est) - { - estimator = est; - } - - /// Sets \ref solver. - inline void setSolver(OEMSolver* sol) - { - solver = sol; - } - - /// Sets \ref marker. - inline void setMarker(Marker *m) - { - marker = m; - } - - /** \} */ - - void writeResidualMesh(AdaptInfo *adaptInfo, std::string name); - - /// Serialization of this class to a stream. - virtual void serialize(std::ostream &out); - - /// Deserialization of this class from a stream. - virtual void deserialize(std::istream &in); - - /// Returns \ref fileWriters. - std::vector<FileWriterInterface*>& getFileWriterList() - { - return fileWriters; - } - - /// Returns \ref info. - int getInfo() - { - return info; - } - - protected: - /// Name of this problem. - std::string name; - - /// FiniteElemSpace of this problem. - FiniteElemSpace *feSpace; - - /// Mesh of this problem. - Mesh *mesh; - - /// Responsible for element marking. - Marker *marker; - - /// Estimator of this problem. Used in \ref estimate(). - Estimator *estimator; - - /// Linear solver of this problem. Used in \ref solve(). - OEMSolver *solver; - - /// DOFVector storing the calculated solution of the problem. - DOFVector<double> *solution; - - /// DOFVector for the right hand side - DOFVector<double> *rhs; - - /// System matrix - DOFMatrix *systemMatrix; - - /// Determines whether domain boundaries should be considered at assembling. - bool useGetBound; - - /// Writes the meshes and solution after the adaption loop. - std::vector<FileWriterInterface*> fileWriters; - - /** \brief - * All actions of mesh refinement are performed by refinementManager. - * If new refinement algorithms should be realized, one has to override - * RefinementManager and give one instance of it to AdaptStationary. - */ - RefinementManager *refinementManager; - - /** \brief - * All actions of mesh coarsening are performed by coarseningManager. - * If new coarsening algorithms should be realized, one has to override - * CoarseningManager and give one instance of it to AdaptStationary. - */ - CoarseningManager *coarseningManager; - - /// Info level. - int info; - - - }; - -} - -#endif diff --git a/AMDiS/src/ProblemVec.cc b/AMDiS/src/ProblemStat.cc similarity index 71% rename from AMDiS/src/ProblemVec.cc rename to AMDiS/src/ProblemStat.cc index e146b9ccccba9f6f92d3a95aea74c83aa397df14..725b49d0826d083b65cce39adbfcc403f21d672a 100644 --- a/AMDiS/src/ProblemVec.cc +++ b/AMDiS/src/ProblemStat.cc @@ -12,7 +12,8 @@ #include <sstream> #include <boost/lexical_cast.hpp> -#include "ProblemVec.h" + +#include "ProblemStat.h" #include "RecoveryEstimator.h" #include "Serializer.h" #include "AbstractFunction.h" @@ -34,20 +35,22 @@ #include "PeriodicBC.h" #include "Lagrange.h" #include "Flag.h" +#include "TraverseParallel.h" #include "io/VtkWriter.h" #include "io/ValueReader.h" -#include "ProblemVecDbg.h" +#include "ProblemStatDbg.h" #include "Debug.h" namespace AMDiS { + using namespace std; using boost::lexical_cast; - void ProblemVec::initialize(Flag initFlag, - ProblemVec *adoptProblem, - Flag adoptFlag) + void ProblemStatSeq::initialize(Flag initFlag, + ProblemStatSeq *adoptProblem, + Flag adoptFlag) { - FUNCNAME("ProblemVec::initialize()"); + FUNCNAME("ProblemStat::initialize()"); // === create meshes === if (meshes.size() != 0) { @@ -164,37 +167,37 @@ namespace AMDiS { // === read serialization and init mesh === // There are two possiblities where the user can define a serialization - // to be read from disk. Either by providing the parameter -rs when executing - // the program or in the init file. The -rs parameter is always checked first, - // because it can be added automatically when rescheduling the program - // before timeout of the runqueue. + // to be read from disk. Either by providing the parameter -rs when + // executing the program or in the init file. The -rs parameter is always + // checked first, because it can be added automatically when rescheduling + // the program before timeout of the runqueue. int readSerialization = 0; - std::string serializationFilename = ""; - GET_PARAMETER(0, "argv->rs", &serializationFilename); + string serializationFilename = ""; + Parameters::get("argv->rs", serializationFilename); // If the parameter -rs is set, we do nothing here, because the problem will be // deserialized in the constructor of a following AdaptInstationary initialization. if (!serializationFilename.compare("")) { int readSerializationWithAdaptInfo = 0; - GET_PARAMETER(0, name + "->input->read serialization", "%d", &readSerialization); - GET_PARAMETER(0, name + "->input->serialization with adaptinfo", "%d", - &readSerializationWithAdaptInfo); + Parameters::get(name + "->input->read serialization", readSerialization); + Parameters::get(name + "->input->serialization with adaptinfo", + readSerializationWithAdaptInfo); // The serialization file is only read, if the adaptInfo part should not be used. // If the adaptInfo part should be also read, the serialization file will be read // in the constructor of the AdaptInstationary problem, because we do not have here // the adaptInfo object. if (readSerialization && !readSerializationWithAdaptInfo) { - GET_PARAMETER(0, name + "->input->serialization filename", - &serializationFilename); + Parameters::get(name + "->input->serialization filename", + serializationFilename); TEST_EXIT(serializationFilename != "")("no serialization file\n"); // If AMDiS is compiled for parallel computations, the deserialization is // controlled by the parallel problem object. #ifndef HAVE_PARALLEL_DOMAIN_AMDIS - std::ifstream in(serializationFilename.c_str()); + ifstream in(serializationFilename.c_str()); deserialize(in); in.close(); @@ -209,8 +212,8 @@ namespace AMDiS { // ignored here. Later, each rank will add the global refinements to its // private mesh. #ifndef HAVE_PARALLEL_DOMAIN_AMDIS - GET_PARAMETER(0, meshes[0]->getName() + "->global refinements", "%d", - &globalRefinements); + Parameters::get(meshes[0]->getName() + "->global refinements", + globalRefinements); #endif bool initMesh = initFlag.isSet(INIT_MESH); @@ -221,8 +224,8 @@ namespace AMDiS { meshes[i]->initialize(); // === read value file and use it for the mesh values === - std::string valueFilename(""); - GET_PARAMETER(0, meshes[0]->getName() + "->value file name", &valueFilename); + string valueFilename(""); + Parameters::get(meshes[0]->getName() + "->value file name", valueFilename); if (valueFilename.length()) ValueReader::readValue(valueFilename, meshes[0], @@ -241,24 +244,27 @@ namespace AMDiS { } - void ProblemVec::createMesh() + void ProblemStatSeq::createMesh() { - FUNCNAME("ProblemVec::createMesh()"); + FUNCNAME("ProblemStat::createMesh()"); componentMeshes.resize(nComponents); - std::map<int, Mesh*> meshForRefinementSet; + map<int, Mesh*> meshForRefinementSet; + + string meshName(""); + Parameters::get(name + "->mesh", meshName); + TEST_EXIT(meshName != "")("No mesh name specified for \"%s->mesh\"!\n", + name.c_str()); - std::string meshName(""); - GET_PARAMETER(0, name + "->mesh", &meshName); - TEST_EXIT(meshName != "")("no mesh name specified\n"); int dim = 0; - GET_PARAMETER(0, name + "->dim", "%d", &dim); - TEST_EXIT(dim)("no problem dimension specified!\n"); + Parameters::get(name + "->dim", dim); + TEST_EXIT(dim)("No problem dimension specified for \"%s->dim\"!\n", + name.c_str()); for (int i = 0; i < nComponents; i++) { int refSet = -1; - GET_PARAMETER(0, name + "->refinement set[" + - lexical_cast<std::string>(i) + "]", "%d", &refSet); + Parameters::get(name + "->refinement set[" + lexical_cast<string>(i) + "]", + refSet); if (refSet < 0) refSet = 0; @@ -290,13 +296,13 @@ namespace AMDiS { } - void ProblemVec::createFeSpace(DOFAdmin *admin) + void ProblemStatSeq::createFeSpace(DOFAdmin *admin) { - FUNCNAME("ProblemVec::createFeSpace()"); + FUNCNAME("ProblemStat::createFeSpace()"); - std::map<std::pair<Mesh*, int>, FiniteElemSpace*> feSpaceMap; + map<pair<Mesh*, int>, FiniteElemSpace*> feSpaceMap; int dim = -1; - GET_PARAMETER(0, name + "->dim", "%d", &dim); + Parameters::get(name + "->dim", dim); TEST_EXIT(dim != -1)("no problem dimension specified!\n"); componentSpaces.resize(nComponents, NULL); @@ -304,23 +310,23 @@ namespace AMDiS { for (int i = 0; i < nComponents; i++) { int degree = 1; - GET_PARAMETER(0, name + "->polynomial degree[" + - boost::lexical_cast<std::string>(i) + "]","%d", °ree); + Parameters::get(name + "->polynomial degree[" + + boost::lexical_cast<string>(i) + "]", degree); TEST_EXIT(componentSpaces[i] == NULL)("feSpace already created\n"); - if (feSpaceMap[std::pair<Mesh*, int>(componentMeshes[i], degree)] == NULL) { + if (feSpaceMap[pair<Mesh*, int>(componentMeshes[i], degree)] == NULL) { stringstream s; s << name << "->feSpace[" << i << "]"; FiniteElemSpace *newFeSpace = FiniteElemSpace::provideFeSpace(admin, Lagrange::getLagrange(dim, degree), componentMeshes[i], s.str()); - feSpaceMap[std::pair<Mesh*, int>(componentMeshes[i], degree)] = newFeSpace; + feSpaceMap[pair<Mesh*, int>(componentMeshes[i], degree)] = newFeSpace; feSpaces.push_back(newFeSpace); } - componentSpaces[i] = feSpaceMap[std::pair<Mesh*, int>(componentMeshes[i], degree)]; + componentSpaces[i] = feSpaceMap[pair<Mesh*, int>(componentMeshes[i], degree)]; } for (int i = 0; i < nComponents; i++) { @@ -341,9 +347,9 @@ namespace AMDiS { } - void ProblemVec::createMatricesAndVectors() + void ProblemStatSeq::createMatricesAndVectors() { - FUNCNAME("ProblemVec::createMatricesAndVectors()"); + FUNCNAME("ProblemStat::createMatricesAndVectors()"); // === create vectors and system matrix === @@ -357,10 +363,10 @@ namespace AMDiS { componentSpaces[i], "A_ii"); (*systemMatrix)[i][i]->setCoupleMatrix(false); - std::string numberedName = "rhs[" + boost::lexical_cast<std::string>(i) + "]"; + string numberedName = "rhs[" + boost::lexical_cast<string>(i) + "]"; rhs->setDOFVector(i, new DOFVector<double>(componentSpaces[i], numberedName)); - numberedName = "solution[" + boost::lexical_cast<std::string>(i) + "]"; + numberedName = "solution[" + boost::lexical_cast<string>(i) + "]"; solution->setDOFVector(i, new DOFVector<double>(componentSpaces[i], numberedName)); solution->getDOFVector(i)->setCoarsenOperation(COARSE_INTERPOL); @@ -369,13 +375,13 @@ namespace AMDiS { } - void ProblemVec::createSolver() + void ProblemStatSeq::createSolver() { - FUNCNAME("ProblemVec::createSolver()"); + FUNCNAME("ProblemStat::createSolver()"); // === create solver === - std::string solverType("0"); - GET_PARAMETER(0, name + "->solver", &solverType); + string solverType("0"); + Parameters::get(name + "->solver", solverType); OEMSolverCreator *solverCreator = dynamic_cast<OEMSolverCreator*>(CreatorMap<OEMSolver>::getCreator(solverType)); TEST_EXIT(solverCreator)("no solver type\n"); @@ -385,9 +391,9 @@ namespace AMDiS { } - void ProblemVec::createEstimator() + void ProblemStatSeq::createEstimator() { - FUNCNAME("ProblemVec::createEstimator()"); + FUNCNAME("ProblemStat::createEstimator()"); // create and set leaf data prototype for (unsigned int i = 0; i < meshes.size(); i++) @@ -396,12 +402,12 @@ namespace AMDiS { for (int i = 0; i < nComponents; i++) { TEST_EXIT(estimator[i] == NULL)("estimator already created\n"); - std::string estName = - name + "->estimator[" + boost::lexical_cast<std::string>(i) + "]"; + string estName = + name + "->estimator[" + boost::lexical_cast<string>(i) + "]"; // === create estimator === - std::string estimatorType("0"); - GET_PARAMETER(0, estName, &estimatorType); + string estimatorType("0"); + Parameters::get(estName, estimatorType); EstimatorCreator *estimatorCreator = dynamic_cast<EstimatorCreator*>(CreatorMap<Estimator>::getCreator(estimatorType)); if (estimatorCreator) { @@ -421,15 +427,15 @@ namespace AMDiS { } - void ProblemVec::createMarker() + void ProblemStatSeq::createMarker() { - FUNCNAME("ProblemVec::createMarker()"); + FUNCNAME("ProblemStat::createMarker()"); int nMarkersCreated = 0; for (int i = 0; i < nComponents; i++) { marker[i] = Marker::createMarker - (name + "->marker[" + boost::lexical_cast<std::string>(i) + "]", i); + (name + "->marker[" + boost::lexical_cast<string>(i) + "]", i); if (marker[i]) { nMarkersCreated++; @@ -443,17 +449,17 @@ namespace AMDiS { } - void ProblemVec::createFileWriter() + void ProblemStatSeq::createFileWriter() { - FUNCNAME("ProblemVec::createFileWriter()"); + FUNCNAME("ProblemStat::createFileWriter()"); // Create one filewriter for all components of the problem - std::string numberedName = name + "->output"; - std::string filename = ""; - GET_PARAMETER(0, numberedName + "->filename", &filename); + string numberedName = name + "->output"; + string filename = ""; + Parameters::get(numberedName + "->filename", filename); if (filename != "") { - std::vector< DOFVector<double>* > solutionList(nComponents); + vector< DOFVector<double>* > solutionList(nComponents); for (int i = 0; i < nComponents; i++) { TEST_EXIT(componentMeshes[0] == componentMeshes[i]) @@ -469,9 +475,9 @@ namespace AMDiS { // Create own filewriters for each components of the problem for (int i = 0; i < nComponents; i++) { - numberedName = name + "->output[" + boost::lexical_cast<std::string>(i) + "]"; + numberedName = name + "->output[" + boost::lexical_cast<string>(i) + "]"; filename = ""; - GET_PARAMETER(0, numberedName + "->filename", &filename); + Parameters::get(numberedName + "->filename", filename); if (filename != "") fileWriters.push_back(new FileWriter(numberedName, @@ -481,26 +487,26 @@ namespace AMDiS { // Check for serializer int writeSerialization = 0; - GET_PARAMETER(0, name + "->write serialization", "%d", &writeSerialization); + Parameters::get(name + "->write serialization", writeSerialization); if (writeSerialization) { MSG("Use are using the obsolete parameter: %s->write serialization\n", name.c_str()); MSG("Please use instead the following parameter: %s->output->write serialization\n", name.c_str()); ERROR_EXIT("Usage of an obsolete parameter (see message above)!\n"); } - GET_PARAMETER(0, name + "->output->write serialization", "%d", &writeSerialization); + Parameters::get(name + "->output->write serialization", writeSerialization); if (writeSerialization) - fileWriters.push_back(new Serializer<ProblemVec>(this)); + fileWriters.push_back(new Serializer<ProblemStatSeq>(this)); } - void ProblemVec::doOtherStuff() + void ProblemStatSeq::doOtherStuff() { } - void ProblemVec::solve(AdaptInfo *adaptInfo, bool fixedMatrix) + void ProblemStatSeq::solve(AdaptInfo *adaptInfo, bool fixedMatrix) { FUNCNAME("Problem::solve()"); @@ -509,12 +515,21 @@ namespace AMDiS { return; } +#ifdef _OPENMP + double wtime = omp_get_wtime(); +#endif + clock_t first = clock(); solver->solveSystem(solverMatrix, *solution, *rhs); +#ifdef _OPENMP + INFO(info, 8)("solution of discrete system needed %.5f seconds system time / %.5f seconds wallclock time\n", + TIME_USED(first, clock()), omp_get_wtime() - wtime); +#else INFO(info, 8)("solution of discrete system needed %.5f seconds\n", TIME_USED(first, clock())); +#endif adaptInfo->setSolverIterations(solver->getIterations()); adaptInfo->setMaxSolverIterations(solver->getMaxIterations()); @@ -523,14 +538,18 @@ namespace AMDiS { } - void ProblemVec::estimate(AdaptInfo *adaptInfo) + void ProblemStatSeq::estimate(AdaptInfo *adaptInfo) { - FUNCNAME("ProblemVec::estimate()"); + FUNCNAME("ProblemStat::estimate()"); #ifdef HAVE_PARALLEL_DOMAIN_AMDIS double first = MPI::Wtime(); +#else +#ifdef _OPENMP + double first = omp_get_wtime(); #else clock_t first = clock(); +#endif #endif if (computeExactError) { @@ -559,16 +578,21 @@ namespace AMDiS { MPI::COMM_WORLD.Barrier(); INFO(info, 8)("estimation of the error needed %.5f seconds\n", MPI::Wtime() - first); +#else +#ifdef _OPENMP + INFO(info, 8)("estimation of the error needed %.5f seconds\n", + omp_get_wtime() - first); #else INFO(info, 8)("estimation of the error needed %.5f seconds\n", TIME_USED(first, clock())); +#endif #endif } - Flag ProblemVec::markElements(AdaptInfo *adaptInfo) + Flag ProblemStatSeq::markElements(AdaptInfo *adaptInfo) { - FUNCNAME("ProblemVec::markElements()"); + FUNCNAME("ProblemStat::markElements()"); TEST_EXIT_DBG(static_cast<unsigned int>(nComponents) == marker.size()) ("Wrong number of markers!\n"); @@ -585,9 +609,9 @@ namespace AMDiS { } - Flag ProblemVec::refineMesh(AdaptInfo *adaptInfo) + Flag ProblemStatSeq::refineMesh(AdaptInfo *adaptInfo) { - FUNCNAME("ProblemVec::refineMesh()"); + FUNCNAME("ProblemStat::refineMesh()"); int nMeshes = static_cast<int>(meshes.size()); Flag refineFlag = 0; @@ -599,9 +623,9 @@ namespace AMDiS { } - Flag ProblemVec::coarsenMesh(AdaptInfo *adaptInfo) + Flag ProblemStatSeq::coarsenMesh(AdaptInfo *adaptInfo) { - FUNCNAME("ProblemVec::coarsenMesh()"); + FUNCNAME("ProblemStat::coarsenMesh()"); int nMeshes = static_cast<int>(meshes.size()); Flag coarsenFlag = 0; @@ -613,24 +637,24 @@ namespace AMDiS { } - Flag ProblemVec::oneIteration(AdaptInfo *adaptInfo, Flag toDo) + Flag ProblemStatSeq::oneIteration(AdaptInfo *adaptInfo, Flag toDo) { - FUNCNAME("ProblemVec::oneIteration()"); + FUNCNAME("ProblemStat::oneIteration()"); for (int i = 0; i < nComponents; i++) if (adaptInfo->spaceToleranceReached(i)) - adaptInfo->allowRefinement(false, i); + adaptInfo->allowRefinement(false, i); else - adaptInfo->allowRefinement(true, i); + adaptInfo->allowRefinement(true, i); return StandardProblemIteration::oneIteration(adaptInfo, toDo); } - void ProblemVec::buildAfterCoarsen(AdaptInfo *adaptInfo, Flag flag, - bool asmMatrix, bool asmVector) + void ProblemStatSeq::buildAfterCoarsen(AdaptInfo *adaptInfo, Flag flag, + bool asmMatrix, bool asmVector) { - FUNCNAME("ProblemVec::buildAfterCoarsen()"); + FUNCNAME("ProblemStat::buildAfterCoarsen()"); // buildAfterCoarsen_sebastianMode(adaptInfo, flag); // return; @@ -659,9 +683,13 @@ namespace AMDiS { MPI::Wtime() - first); first = MPI::Wtime(); +#else +#ifdef _OPENMP + double first = omp_get_wtime(); #else clock_t first = clock(); #endif +#endif Flag assembleFlag = @@ -702,17 +730,17 @@ namespace AMDiS { DOFMatrix *matrix = (asmMatrix ? (*systemMatrix)[i][j] : NULL); if (writeAsmInfo && matrix) { - for (std::vector<Operator*>::iterator it = matrix->getOperatorsBegin(); + for (vector<Operator*>::iterator it = matrix->getOperatorsBegin(); it != matrix->getOperatorsEnd(); ++it) { Assembler *assembler = (*it)->getAssembler(); if (assembler->getZeroOrderAssembler()) - std::cout << "ZOA: " << assembler->getZeroOrderAssembler()->getName() << std::endl; + cout << "ZOA: " << assembler->getZeroOrderAssembler()->getName() << endl; if (assembler->getFirstOrderAssembler(GRD_PSI)) - std::cout << "FOA GRD_PSI: " << assembler->getFirstOrderAssembler(GRD_PSI)->getName() << std::endl; + cout << "FOA GRD_PSI: " << assembler->getFirstOrderAssembler(GRD_PSI)->getName() << endl; if (assembler->getFirstOrderAssembler(GRD_PHI)) - std::cout << "FOA GRD_PHI: " << assembler->getFirstOrderAssembler(GRD_PHI)->getName() << std::endl; + cout << "FOA GRD_PHI: " << assembler->getFirstOrderAssembler(GRD_PHI)->getName() << endl; if (assembler->getSecondOrderAssembler()) - std::cout << "SOA: " << assembler->getSecondOrderAssembler()->getName() << std::endl; + cout << "SOA: " << assembler->getSecondOrderAssembler()->getName() << endl; } } @@ -785,17 +813,26 @@ namespace AMDiS { MPI::COMM_WORLD.Barrier(); INFO(info, 8)("buildAfterCoarsen needed %.5f seconds\n", MPI::Wtime() - first); +#else +#ifdef _OPENMP + INFO(info, 8)("buildAfterCoarsen needed %.5f seconds\n", + omp_get_wtime() - first); #else INFO(info, 8)("buildAfterCoarsen needed %.5f seconds\n", TIME_USED(first, clock())); +#endif #endif } - void ProblemVec::buildAfterCoarsen_sebastianMode(AdaptInfo *adaptInfo, Flag flag) + + void ProblemStatSeq::buildAfterCoarsen_sebastianMode(AdaptInfo *adaptInfo, Flag flag) { - FUNCNAME("ProblemVec::buildAfterCoarsen()"); + FUNCNAME("ProblemStat::buildAfterCoarsen()"); clock_t first = clock(); +#ifdef _OPENMP + double wtime = omp_get_wtime(); +#endif for (int i = 0; i < static_cast<int>(meshes.size()); i++) meshes[i]->dofCompress(); @@ -804,10 +841,10 @@ namespace AMDiS { flag | (*systemMatrix)[0][0]->getAssembleFlag() | rhs->getDOFVector(0)->getAssembleFlag() | - Mesh::CALL_LEAF_EL | - Mesh::FILL_COORDS | - Mesh::FILL_DET | - Mesh::FILL_GRD_LAMBDA | + Mesh::CALL_LEAF_EL | + Mesh::FILL_COORDS | + Mesh::FILL_DET | + Mesh::FILL_GRD_LAMBDA | Mesh::FILL_NEIGH; if (useGetBound) @@ -889,7 +926,7 @@ namespace AMDiS { if (useGetBound) basisFcts->getBound(elInfo, bound); - for (std::map<Operator*, std::vector<OperatorPos> >::iterator opIt = operators.begin(); + for (map<Operator*, vector<OperatorPos> >::iterator opIt = operators.begin(); opIt != operators.end(); ++opIt) { if (opIt->first->getNeedDualTraverse() == true) continue; @@ -903,7 +940,7 @@ namespace AMDiS { opIt->first->getElementVector(elInfo, elVec, 1.0); } - for (std::vector<OperatorPos>::iterator posIt = opIt->second.begin(); + for (vector<OperatorPos>::iterator posIt = opIt->second.begin(); posIt != opIt->second.end(); ++posIt) { if (posIt->operatorType.isSet(Operator::MATRIX_OPERATOR)) { @@ -970,13 +1007,18 @@ namespace AMDiS { INFO(info, 8)("fillin of assembled matrix: %d\n", nnz); +#ifdef _OPENMP + INFO(info, 8)("buildAfterCoarsen needed %.5f seconds system time / %.5f seconds wallclock time\n", + TIME_USED(first, clock()), omp_get_wtime() - wtime); +#else INFO(info, 8)("buildAfterCoarsen needed %.5f seconds\n", TIME_USED(first, clock())); +#endif } - bool ProblemVec::dualMeshTraverseRequired() + bool ProblemStatSeq::dualMeshTraverseRequired() { - FUNCNAME("ProblemVec::dualMeshTraverseRequired()"); + FUNCNAME("ProblemStat::dualMeshTraverseRequired()"); TEST_EXIT(meshes.size() <= 2)("More than two meshes are not yet supported!\n"); @@ -984,10 +1026,10 @@ namespace AMDiS { } - void ProblemVec::dualAssemble(AdaptInfo *adaptInfo, Flag flag, + void ProblemStatSeq::dualAssemble(AdaptInfo *adaptInfo, Flag flag, bool asmMatrix, bool asmVector) { - FUNCNAME("ProblemVec::dualAssemble()"); + FUNCNAME("ProblemStat::dualAssemble()"); TEST_EXIT(asmVector)("Not yet implemented!\n"); @@ -996,6 +1038,10 @@ namespace AMDiS { clock_t first = clock(); +#ifdef _OPENMP + double wtime = omp_get_wtime(); +#endif + Flag assembleFlag = flag | @@ -1037,7 +1083,7 @@ namespace AMDiS { for (int j = 0; j < nComponents; j++) { if (writeAsmInfo) - std::cout << "-------" << i << " " << j << "----------------" << std::endl; + cout << "-------" << i << " " << j << "----------------" << endl; // Only if this variable is true, the current matrix will be assembled. bool assembleMatrix = true; @@ -1046,17 +1092,17 @@ namespace AMDiS { DOFMatrix *matrix = (asmMatrix ? (*systemMatrix)[i][j] : NULL); if (writeAsmInfo && matrix) { - for (std::vector<Operator*>::iterator it = matrix->getOperatorsBegin(); + for (vector<Operator*>::iterator it = matrix->getOperatorsBegin(); it != matrix->getOperatorsEnd(); ++it) { Assembler *assembler = (*it)->getAssembler(); if (assembler->getZeroOrderAssembler()) - std::cout << "ZOA: " << assembler->getZeroOrderAssembler()->getName() << std::endl; + cout << "ZOA: " << assembler->getZeroOrderAssembler()->getName() << endl; if (assembler->getFirstOrderAssembler(GRD_PSI)) - std::cout << "FOA GRD_PSI: " << assembler->getFirstOrderAssembler(GRD_PSI)->getName() << std::endl; + cout << "FOA GRD_PSI: " << assembler->getFirstOrderAssembler(GRD_PSI)->getName() << endl; if (assembler->getFirstOrderAssembler(GRD_PHI)) - std::cout << "FOA GRD_PHI: " << assembler->getFirstOrderAssembler(GRD_PHI)->getName() << std::endl; + cout << "FOA GRD_PHI: " << assembler->getFirstOrderAssembler(GRD_PHI)->getName() << endl; if (assembler->getSecondOrderAssembler()) - std::cout << "SOA: " << assembler->getSecondOrderAssembler()->getName() << std::endl; + cout << "SOA: " << assembler->getSecondOrderAssembler()->getName() << endl; } } @@ -1169,7 +1215,8 @@ namespace AMDiS { } else { - TEST_EXIT_DBG(traverseInfo.getStatus(i, j) != SingleComponentInfo::DIF_SPACES_WITH_DIF_AUX) + TEST_EXIT_DBG(traverseInfo.getStatus(i, j) != + SingleComponentInfo::DIF_SPACES_WITH_DIF_AUX) ("Not yet supported!\n"); ElInfo *rowElInfo, *colElInfo; @@ -1232,15 +1279,20 @@ namespace AMDiS { INFO(info, 8)("fillin of assembled matrix: %d\n", nnz); +#ifdef _OPENMP + INFO(info, 8)("buildAfterCoarsen needed %.5f seconds system time / %.5f seconds wallclock time\n", + TIME_USED(first, clock()), omp_get_wtime() - wtime); +#else INFO(info, 8)("buildAfterCoarsen needed %.5f seconds\n", TIME_USED(first, clock())); +#endif } - void ProblemVec::createPrecon() + void ProblemStatSeq::createPrecon() { - std::string preconType("no"); - GET_PARAMETER(0, name + "->solver->left precon", &preconType); + string preconType("no"); + Parameters::get(name + "->solver->left precon", preconType); CreatorInterface<ITL_BasePreconditioner> *preconCreator = CreatorMap<ITL_BasePreconditioner>::getCreator(preconType); @@ -1248,56 +1300,69 @@ namespace AMDiS { solver->setLeftPrecon(preconCreator->create(solverMatrix.getMatrix())); preconType= "no"; - GET_PARAMETER(0, name + "->solver->right precon", &preconType); + Parameters::get(name + "->solver->right precon", preconType); preconCreator = CreatorMap<ITL_BasePreconditioner>::getCreator(preconType); solver->setRightPrecon(preconCreator->create(solverMatrix.getMatrix())); } - void ProblemVec::writeFiles(AdaptInfo *adaptInfo, bool force) + void ProblemStatSeq::writeFiles(AdaptInfo *adaptInfo, bool force) { - FUNCNAME("ProblemVec::writeFiles()"); + FUNCNAME("ProblemStat::writeFiles()"); #ifdef HAVE_PARALLEL_DOMAIN_AMDIS double first = MPI::Wtime(); +#else +#ifdef _OPENMP + double first = omp_get_wtime(); #else clock_t first = clock(); +#endif #endif int size = static_cast<int>(fileWriters.size()); - for (int i = 0; i < size; i++) - fileWriters[i]->writeFiles(adaptInfo, force); +#ifdef _OPENMP +#pragma omp parallel for schedule(static, 1) +#endif + for (int i = 0; i < size; i++) { + fileWriters[i]->writeFiles(adaptInfo, force); + } #ifdef HAVE_PARALLEL_DOMAIN_AMDIS MPI::COMM_WORLD.Barrier(); INFO(info, 8)("writeFiles needed %.5f seconds\n", MPI::Wtime() - first); +#else +#ifdef _OPENMP + INFO(info, 8)("writeFiles needed %.5f seconds\n", + omp_get_wtime() - first); #else INFO(info, 8)("writeFiles needed %.5f seconds\n", TIME_USED(first, clock())); +#endif #endif } - void ProblemVec::writeFiles(AdaptInfo &adaptInfo, bool force) + void ProblemStatSeq::writeFiles(AdaptInfo &adaptInfo, bool force) { writeFiles(&adaptInfo, force); } - void ProblemVec::interpolInitialSolution(std::vector<AbstractFunction<double, WorldVector<double> >*> *fct) + void ProblemStatSeq::interpolInitialSolution(vector<AbstractFunction<double, WorldVector<double> >*> *fct) { - FUNCNAME("ProblemVec::interpolInitialSolution()"); + FUNCNAME("ProblemStat::interpolInitialSolution()"); solution->interpol(fct); } - void ProblemVec::addMatrixOperator(Operator *op, int i, int j, - double *factor, double *estFactor) + void ProblemStatSeq::addMatrixOperator(Operator *op, int i, int j, + double *factor, double *estFactor) { - FUNCNAME("ProblemVec::addMatrixOperator()"); + FUNCNAME("ProblemStat::addMatrixOperator()"); TEST_EXIT(!boundaryConditionSet) ("Do not add operators after boundary conditions were set!\n"); @@ -1333,17 +1398,17 @@ namespace AMDiS { } - void ProblemVec::addMatrixOperator(Operator &op, int i, int j, - double *factor, double *estFactor) + void ProblemStatSeq::addMatrixOperator(Operator &op, int i, int j, + double *factor, double *estFactor) { addMatrixOperator(&op, i, j, factor, estFactor); } - void ProblemVec::addVectorOperator(Operator *op, int i, - double *factor, double *estFactor) + void ProblemStatSeq::addVectorOperator(Operator *op, int i, + double *factor, double *estFactor) { - FUNCNAME("ProblemVec::addVectorOperator()"); + FUNCNAME("ProblemStat::addVectorOperator()"); TEST_EXIT(!boundaryConditionSet) ("Do not add operators after boundary conditions were set!\n"); @@ -1366,17 +1431,17 @@ namespace AMDiS { } - void ProblemVec::addVectorOperator(Operator &op, int i, - double *factor, double *estFactor) + void ProblemStatSeq::addVectorOperator(Operator &op, int i, + double *factor, double *estFactor) { addVectorOperator(&op, i, factor, estFactor); } - void ProblemVec::addDirichletBC(BoundaryType type, int row, int col, - AbstractFunction<double, WorldVector<double> >* b) + void ProblemStatSeq::addDirichletBC(BoundaryType type, int row, int col, + AbstractFunction<double, WorldVector<double> >* b) { - FUNCNAME("ProblemVec::addDirichletBC()"); + FUNCNAME("ProblemStat::addDirichletBC()"); TEST_EXIT(row >= 0 && row < nComponents)("Wrong row number: %d\n", row); TEST_EXIT(col >= 0 && col < nComponents)("Wrong col number: %d\n", col); @@ -1403,10 +1468,10 @@ namespace AMDiS { } - void ProblemVec::addDirichletBC(BoundaryType type, int row, int col, - DOFVector<double> *vec) + void ProblemStatSeq::addDirichletBC(BoundaryType type, int row, int col, + DOFVector<double> *vec) { - FUNCNAME("ProblemVec::addDirichletBC()"); + FUNCNAME("ProblemStat::addDirichletBC()"); TEST_EXIT(row >= 0 && row < nComponents)("Wrong row number: %d\n", row); TEST_EXIT(col >= 0 && col < nComponents)("Wrong col number: %d\n", col); @@ -1431,10 +1496,10 @@ namespace AMDiS { } - void ProblemVec::addNeumannBC(BoundaryType type, int row, int col, - AbstractFunction<double, WorldVector<double> > *n) + void ProblemStatSeq::addNeumannBC(BoundaryType type, int row, int col, + AbstractFunction<double, WorldVector<double> > *n) { - FUNCNAME("ProblemVec::addNeumannBC()"); + FUNCNAME("ProblemStat::addNeumannBC()"); boundaryConditionSet = true; @@ -1446,10 +1511,10 @@ namespace AMDiS { } - void ProblemVec::addNeumannBC(BoundaryType type, int row, int col, - DOFVector<double> *n) + void ProblemStatSeq::addNeumannBC(BoundaryType type, int row, int col, + DOFVector<double> *n) { - FUNCNAME("ProblemVec::addNeumannBC()"); + FUNCNAME("ProblemStat::addNeumannBC()"); boundaryConditionSet = true; @@ -1461,11 +1526,11 @@ namespace AMDiS { } - void ProblemVec::addRobinBC(BoundaryType type, int row, int col, - AbstractFunction<double, WorldVector<double> > *n, - AbstractFunction<double, WorldVector<double> > *r) + void ProblemStatSeq::addRobinBC(BoundaryType type, int row, int col, + AbstractFunction<double, WorldVector<double> > *n, + AbstractFunction<double, WorldVector<double> > *r) { - FUNCNAME("ProblemVec::addRobinBC()"); + FUNCNAME("ProblemStat::addRobinBC()"); boundaryConditionSet = true; @@ -1478,11 +1543,12 @@ namespace AMDiS { rhs->getDOFVector(row)->getBoundaryManager()->addBoundaryCondition(robin); } - void ProblemVec::addRobinBC(BoundaryType type, int row, int col, - DOFVector<double> *n, - DOFVector<double> *r) + + void ProblemStatSeq::addRobinBC(BoundaryType type, int row, int col, + DOFVector<double> *n, + DOFVector<double> *r) { - FUNCNAME("ProblemVec::addRobinBC()"); + FUNCNAME("ProblemStat::addRobinBC()"); boundaryConditionSet = true; @@ -1495,11 +1561,12 @@ namespace AMDiS { rhs->getDOFVector(row)->getBoundaryManager()->addBoundaryCondition(robin); } - void ProblemVec::addRobinBC(BoundaryType type, int row, int col, - Operator *n, - Operator *r) + + void ProblemStatSeq::addRobinBC(BoundaryType type, int row, int col, + Operator *n, + Operator *r) { - FUNCNAME("ProblemVec::addRobinBC()"); + FUNCNAME("ProblemStat::addRobinBC()"); boundaryConditionSet = true; @@ -1512,9 +1579,9 @@ namespace AMDiS { rhs->getDOFVector(row)->getBoundaryManager()->addBoundaryCondition(robin); } - void ProblemVec::addPeriodicBC(BoundaryType type, int row, int col) + void ProblemStatSeq::addPeriodicBC(BoundaryType type, int row, int col) { - FUNCNAME("ProblemVec::addPeriodicBC()"); + FUNCNAME("ProblemStat::addPeriodicBC()"); boundaryConditionSet = true; @@ -1529,69 +1596,171 @@ namespace AMDiS { } - void ProblemVec::assembleOnOneMesh(FiniteElemSpace *feSpace, - Flag assembleFlag, - DOFMatrix *matrix, DOFVector<double> *vector) + void ProblemStatSeq::assembleOnOneMesh(FiniteElemSpace *feSpace, + Flag assembleFlag, + DOFMatrix *matrix, DOFVector<double> *vector) { - FUNCNAME("ProblemVec::assembleOnOnMesh()"); + FUNCNAME("ProblemStat::assembleOnOnMesh()"); Mesh *mesh = feSpace->getMesh(); const BasisFunction *basisFcts = feSpace->getBasisFcts(); +#ifdef _OPENMP + TraverseParallelStack stack(0, 1); +#else TraverseStack stack; +#endif // == Initialize matrix and vector. If we have to assemble in parallel, === // == temporary thread owned matrix and vector must be created. === - BoundaryType *bound = - useGetBound ? new BoundaryType[basisFcts->getNumber()] : NULL; +#ifdef _OPENMP +#pragma omp parallel +#endif + { + BoundaryType *bound = + useGetBound ? new BoundaryType[basisFcts->getNumber()] : NULL; - if (matrix) - matrix->startInsertion(matrix->getNnz()); - if (vector) - vector->set(0.0); - - // == Traverse mesh and assemble. == - - ElInfo *elInfo = stack.traverseFirst(mesh, -1, assembleFlag); - - // After creating privat copies of the DOFMatrix and the DOFVector, all threads - // have to wait at this barrier. Especially for small problems this is required, - // because otherwise one thread may be finished with assembling, before another - // has made his private copy. - while (elInfo) { - if (useGetBound) - basisFcts->getBound(elInfo, bound); - + // Create for every thread its private matrix and vector, on that + // the thread will assemble its part of the mesh. + DOFMatrix *tmpMatrix = NULL; + DOFVector<double> *tmpVector = NULL; + +#ifdef _OPENMP if (matrix) { - matrix->assemble(1.0, elInfo, bound); + tmpMatrix = new DOFMatrix(matrix->getRowFeSpace(), matrix->getColFeSpace(), "tmp"); + + // Copy the global matrix to the private matrix, because we need the + // operators defined on the global matrix in the private one. Only the + // values have to be set to zero. + *tmpMatrix = *matrix; + tmpMatrix->clear(); + + tmpMatrix->getBaseMatrix().change_dim(matrix->getRowFeSpace()->getAdmin()->getUsedSize(), + matrix->getColFeSpace()->getAdmin()->getUsedSize()); + tmpMatrix->startInsertion(10); + } + + if (vector) { + tmpVector = new DOFVector<double>(vector->getFeSpace(), "tmp"); + + // Copy the global vector to the private vector, because we need the + // operatirs defined on the global vector in the private one. But set + // the values to zero of the private vector after copying. + *tmpVector = *vector; + tmpVector->set(0.0); + } +#else + if (matrix) { + tmpMatrix = matrix; + tmpMatrix->startInsertion(matrix->getNnz()); + } + if (vector) { + tmpVector = vector; + tmpVector->set(0.0); + } +#endif + + // == Traverse mesh (either sequentially or in parallel) and assemble. == + + + // Because we are using the parallel traverse stack, each thread will + // traverse only a part of the mesh. + ElInfo *elInfo = stack.traverseFirst(mesh, -1, assembleFlag); + + // After creating privat copies of the DOFMatrix and the DOFVector, all threads + // have to wait at this barrier. Especially for small problems this is required, + // because otherwise one thread may be finished with assembling, before another + // has made his private copy. +#ifdef _OPENMP +#pragma omp barrier +#endif + while (elInfo) { + if (useGetBound) + basisFcts->getBound(elInfo, bound); + + if (matrix) { + tmpMatrix->assemble(1.0, elInfo, bound); + + // Take the matrix boundary manager from the public matrix, + // but assemble the boundary conditions on the thread private matrix. + if (matrix->getBoundaryManager()) + matrix->getBoundaryManager()->fillBoundaryConditions(elInfo, tmpMatrix); + } - // Take the matrix boundary manager from the public matrix, - // but assemble the boundary conditions on the thread private matrix. - if (matrix->getBoundaryManager()) - matrix->getBoundaryManager()->fillBoundaryConditions(elInfo, matrix); + if (vector) + tmpVector->assemble(1.0, elInfo, bound, NULL); + + elInfo = stack.traverseNext(elInfo); } - - if (vector) - vector->assemble(1.0, elInfo, bound, NULL); - - elInfo = stack.traverseNext(elInfo); - } - - if (matrix) - matrix->removeRowsWithDBC(matrix->getApplyDBCs()); - - if (useGetBound) - delete [] bound; + + // == Finally, if we have assembled in parallel, we have to add the thread == + // == private matrix and vector to the global one. == + +#ifdef _OPENMP + if (tmpMatrix) + tmpMatrix->finishInsertion(); + + // After mesh traverse, all thread have to added their private matrices and + // vectors to the global public matrix and public vector. Therefore, this is + // a critical section, which is allowed to be executed by on thread only at + // the same time. + + if (matrix) { +#pragma omp critical + { + matrix->getBaseMatrix() += tmpMatrix->getBaseMatrix(); + } + } + +#pragma omp barrier + +#pragma omp master + { + if (matrix) + matrix->startInsertion(); + } + +#pragma omp barrier + + if (matrix) { + // Remove rows corresponding to DOFs on a Dirichlet boundary. +#pragma omp critical + matrix->removeRowsWithDBC(tmpMatrix->getApplyDBCs()); + + delete tmpMatrix; + } + + if (vector) { +#pragma omp critical + *vector += *tmpVector; + + delete tmpVector; + } + +#else + if (matrix) + matrix->removeRowsWithDBC(matrix->getApplyDBCs()); +#endif + + if (useGetBound) + delete [] bound; + + } // pragma omp parallel + +// INFO(info, 8)("Assemble matrix with %d mat ops and %d vec ops needed %.5f seconds\n", +// matrix ? matrix->getOperators().size() : 0, +// vector ? vector->getOperators().size() : 0, +// TIME_USED(first, clock())); } - - - void ProblemVec::assembleBoundaryConditions(DOFVector<double> *rhs, - DOFVector<double> *solution, - Mesh *mesh, - Flag assembleFlag) + + + void ProblemStatSeq::assembleBoundaryConditions(DOFVector<double> *rhs, + DOFVector<double> *solution, + Mesh *mesh, + Flag assembleFlag) { - FUNCNAME("ProblemVec::assembleBoundaryConditions()"); + FUNCNAME("ProblemStat::assembleBoundaryConditions()"); // === Initialization of vectors === @@ -1600,6 +1769,55 @@ namespace AMDiS { if (solution->getBoundaryManager()) solution->getBoundaryManager()->initVector(solution); +#ifdef _OPENMP + // === Parallel boundary assemblage === + + TraverseParallelStack stack; + +#pragma omp parallel + { + // Each thread assembles on its own dof-vectors. + DOFVector<double> *tmpRhsVec = new DOFVector<double>(rhs->getFeSpace(), "tmpRhs"); + DOFVector<double> *tmpSolVec = new DOFVector<double>(solution->getFeSpace(), "tmpSol"); + tmpRhsVec->set(0.0); + tmpSolVec->set(0.0); + + // (Parallel) traverse of mesh. + ElInfo *elInfo = stack.traverseFirst(mesh, -1, assembleFlag); + while (elInfo) { + if (rhs->getBoundaryManager()) + rhs->getBoundaryManager()-> fillBoundaryConditions(elInfo, tmpRhsVec); + + if (solution->getBoundaryManager()) + solution->getBoundaryManager()->fillBoundaryConditions(elInfo, tmpSolVec); + + elInfo = stack.traverseNext(elInfo); + } + + // After (parallel) mesh traverse, the result is applied to the final + // vectors. This section is not allowed to be executed by more than one + // thread at the same time. +#pragma omp critical + { + DOFVector<double>::Iterator rhsIt(rhs, USED_DOFS); + DOFVector<double>::Iterator solIt(solution, USED_DOFS); + DOFVector<double>::Iterator tmpRhsIt(tmpRhsVec, USED_DOFS); + DOFVector<double>::Iterator tmpSolIt(tmpSolVec, USED_DOFS); + for (rhsIt.reset(), solIt.reset(), tmpRhsIt.reset(), tmpSolIt.reset(); + !rhsIt.end(); + ++rhsIt, ++solIt, ++tmpRhsIt, ++tmpSolIt) { + *rhsIt += *tmpRhsIt; + *solIt += *tmpSolIt; + } + } // pragma omp critical + + delete tmpRhsVec; + delete tmpSolVec; + } // pragma omp parallel + +#else + // === Sequentiell boundary assemblage === + TraverseStack stack; ElInfo *elInfo = stack.traverseFirst(mesh, -1, assembleFlag); while (elInfo) { @@ -1611,6 +1829,8 @@ namespace AMDiS { elInfo = stack.traverseNext(elInfo); } +#endif + // === Finalize vectors === @@ -1621,11 +1841,13 @@ namespace AMDiS { } - void ProblemVec::writeResidualMesh(int comp, AdaptInfo *adaptInfo, std::string name) + void ProblemStatSeq::writeResidualMesh(int comp, + AdaptInfo *adaptInfo, + string name) { - FUNCNAME("ProblemVec::writeResidualMesh()"); + FUNCNAME("ProblemStat::writeResidualMesh()"); - std::map<int, double> vec; + map<int, double> vec; TraverseStack stack; ElInfo *elInfo = stack.traverseFirst(this->getMesh(comp), -1, Mesh::CALL_LEAF_EL | Mesh::FILL_COORDS); @@ -1639,31 +1861,31 @@ namespace AMDiS { } - void ProblemVec::serialize(std::ostream &out) + void ProblemStatSeq::serialize(ostream &out) { - FUNCNAME("ProblemVec::serialize()"); + FUNCNAME("ProblemStat::serialize()"); - for (int i = 0; i < static_cast<int>(meshes.size()); i++) + for (unsigned int i = 0; i < meshes.size(); i++) meshes[i]->serialize(out); solution->serialize(out); } - void ProblemVec::deserialize(std::istream &in) + void ProblemStatSeq::deserialize(istream &in) { - FUNCNAME("ProblemVec::deserialize()"); + FUNCNAME("ProblemStat::deserialize()"); - for (int i = 0; i < static_cast<int>(meshes.size()); i++) + for (unsigned int i = 0; i < meshes.size(); i++) meshes[i]->deserialize(in); solution->deserialize(in); } - void ProblemVec::computeError(AdaptInfo *adaptInfo) + void ProblemStatSeq::computeError(AdaptInfo *adaptInfo) { - FUNCNAME("ProblemVec::computeError()"); + FUNCNAME("ProblemStat::computeError()"); for (int i = 0; i < nComponents; i++) { TEST_EXIT(exactSolutionFcts[i])("No solution function given!\n"); @@ -1694,7 +1916,7 @@ namespace AMDiS { } // Compute estimate for every mesh element - std::vector<DegreeOfFreedom> locInd(componentSpaces[i]->getBasisFcts()->getNumber()); + vector<DegreeOfFreedom> locInd(componentSpaces[i]->getBasisFcts()->getNumber()); TraverseStack stack; ElInfo *elInfo = stack.traverseFirst(componentMeshes[i], -1, Mesh::CALL_LEAF_EL); while (elInfo) { diff --git a/AMDiS/src/ProblemVec.h b/AMDiS/src/ProblemStat.h similarity index 96% rename from AMDiS/src/ProblemVec.h rename to AMDiS/src/ProblemStat.h index ac4f29101d204b17145bec23bcc4726c0e4018d6..a7e4a6bf479899b47f6465b6fb4747e14b6fe666 100644 --- a/AMDiS/src/ProblemVec.h +++ b/AMDiS/src/ProblemStat.h @@ -18,10 +18,10 @@ -/** \file ProblemVec.h */ +/** \file ProblemStat.h */ -#ifndef AMDIS_PROBLEMVEC_H -#define AMDIS_PROBLEMVEC_H +#ifndef AMDIS_PROBLEM_STAT_H +#define AMDIS_PROBLEM_STAT_H #include <vector> #include <list> @@ -48,8 +48,13 @@ namespace AMDiS { Flag operatorType; }; - class ProblemVec : public ProblemStatBase, - public StandardProblemIteration + /** \brief + * This class defines the stationary problem definition in sequential + * computations. For parallel computations, see + * \ref ParallelProblemStatBase. + */ + class ProblemStatSeq : public ProblemStatBase, + public StandardProblemIteration { protected: // Defines a mapping type from dof indices to world coordinates. @@ -60,7 +65,7 @@ namespace AMDiS { public: /// Constructor - ProblemVec(string nameStr, + ProblemStatSeq(string nameStr, ProblemIterationInterface *problemIteration = NULL) : StandardProblemIteration(this), name(nameStr), @@ -78,7 +83,7 @@ namespace AMDiS { boundaryConditionSet(false), writeAsmInfo(false) { - GET_PARAMETER(0, name + "->components", "%d", &nComponents); + Parameters::get(name + "->components", nComponents); TEST_EXIT(nComponents > 0)("components not set!\n"); estimator.resize(nComponents, NULL); marker.resize(nComponents, NULL); @@ -98,11 +103,11 @@ namespace AMDiS { } /// Destructor - virtual ~ProblemVec() {} + virtual ~ProblemStatSeq() {} /// Initialisation of the problem. virtual void initialize(Flag initFlag, - ProblemVec *adoptProblem = NULL, + ProblemStatSeq *adoptProblem = NULL, Flag adoptFlag = INIT_NOTHING); @@ -310,7 +315,7 @@ namespace AMDiS { return solution; } - inline const DOFVector<double>* getSolutionVector(int i = 0) + inline DOFVector<double>* getSolution(int i) { return solution->getDOFVector(i); } @@ -341,7 +346,7 @@ namespace AMDiS { /// Returns mesh of given component inline Mesh* getMesh(int comp = 0) { - FUNCNAME("ProblemVec::getMesh()"); + FUNCNAME("ProblemStatSeq::getMesh()"); TEST_EXIT(comp < static_cast<int>(componentMeshes.size()) && comp >= 0) ("invalid component number\n"); return componentMeshes[comp]; @@ -356,7 +361,7 @@ namespace AMDiS { /// Returns \ref feSpace_. inline FiniteElemSpace* getFeSpace(int comp = 0) { - FUNCNAME("ProblemVec::getFeSpace()"); + FUNCNAME("ProblemStatSeq::getFeSpace()"); TEST_EXIT(comp < static_cast<int>(componentSpaces.size()) && comp >= 0) ("invalid component number\n"); return componentSpaces[comp]; @@ -660,6 +665,10 @@ namespace AMDiS { map<Operator*, Flag> opFlags; }; + +#ifndef HAVE_PARALLEL_DOMAIN_AMDIS + typedef ProblemStatSeq ProblemStat; +#endif } #endif diff --git a/AMDiS/src/ProblemVecDbg.cc b/AMDiS/src/ProblemStatDbg.cc similarity index 77% rename from AMDiS/src/ProblemVecDbg.cc rename to AMDiS/src/ProblemStatDbg.cc index 5b524ee5d02fa60296a89cf75c692f516120702e..e7b9fa4abc0bffdf99b2e0cd60e4afeecf3fa376 100644 --- a/AMDiS/src/ProblemVecDbg.cc +++ b/AMDiS/src/ProblemStatDbg.cc @@ -12,15 +12,17 @@ #include <map> #include <utility> -#include "ProblemVecDbg.h" +#include "ProblemStatDbg.h" #include "SystemVector.h" #include "ElementDofIterator.h" namespace AMDiS { - void ProblemVecDbg::writeDbgMatrix(std::string filename) + using namespace std; + + void ProblemStatDbg::writeDbgMatrix(string filename) { - FUNCNAME("ProblemVec::writeDbMatrix()"); + FUNCNAME("ProblemStatDbg::writeDbMatrix()"); using mtl::tag::major; using mtl::tag::nz; using mtl::begin; using mtl::end; namespace traits = mtl::traits; @@ -33,19 +35,19 @@ namespace AMDiS { createDofToCoordMap(dofToCoords); // Start writing output file. - std::ofstream out(filename.c_str()); + ofstream out(filename.c_str()); out.precision(15); // First, we write the number of DOFs the file contains. - out << dofToCoords.size() << std::endl; + out << dofToCoords.size() << endl; int dimOfWorld = Global::getGeo(WORLD); // And now write all the DOF's coords. The first line contains the dof index, all // the other lines contain one component of the coordinates. for (DofToCoord::iterator it = dofToCoords.begin(); it != dofToCoords.end(); ++it) { - out << it->first << std::endl; + out << it->first << endl; for (int j = 0; j < dimOfWorld; j++) - out << (it->second)[j] << std::endl; + out << (it->second)[j] << endl; } // Write the matrices. @@ -61,7 +63,7 @@ namespace AMDiS { int testNnz = 0; // Write to file, how many entries the matrix conatins. - out << nnz << std::endl; + out << nnz << endl; traits::row<Matrix>::type row(matrix); traits::col<Matrix>::type col(matrix); @@ -71,7 +73,7 @@ namespace AMDiS { for (icursor_type icursor = begin<nz>(cursor), icend = end<nz>(cursor); icursor != icend; ++icursor) { out << row(*icursor) << " " << col(*icursor) << " " - << value(*icursor) << std::endl; + << value(*icursor) << endl; testNnz++; } } @@ -83,11 +85,11 @@ namespace AMDiS { for (int i = 0; i < nComponents; i++) { - out << rhs->getDOFVector(i)->getUsedSize() << std::endl; + out << rhs->getDOFVector(i)->getUsedSize() << endl; DOFIterator<double> it(rhs->getDOFVector(i), USED_DOFS); int c = 0; for (it.reset(); !it.end(); ++it) { - out << c << " " << *it << std::endl; + out << c << " " << *it << endl; c++; } @@ -97,11 +99,11 @@ namespace AMDiS { for (int i = 0; i < nComponents; i++) { - out << solution->getDOFVector(i)->getUsedSize() << std::endl; + out << solution->getDOFVector(i)->getUsedSize() << endl; DOFIterator<double> it(solution->getDOFVector(i), USED_DOFS); int c = 0; for (it.reset(); !it.end(); ++it) { - out << c << " " << *it << std::endl; + out << c << " " << *it << endl; c++; } @@ -113,7 +115,7 @@ namespace AMDiS { } - void ProblemVecDbg::readAndCompareDbgMatrix(std::vector<std::string> filenames) + void ProblemStatDbg::readAndCompareDbgMatrix(vector<string> filenames) { using mtl::tag::major; using mtl::tag::nz; using mtl::begin; using mtl::end; namespace traits = mtl::traits; @@ -126,21 +128,21 @@ namespace AMDiS { createCoordToDofMap(coordToDof); int dimOfWorld = Global::getGeo(WORLD); - std::vector<std::vector<std::map<std::pair<int, int>, double> > > nnzValues(nComponents); - std::vector<std::map<int, double> > rhsValues(nComponents); - std::vector<std::map<int, double> > solValues(nComponents); + vector<vector<map<pair<int, int>, double> > > nnzValues(nComponents); + vector<map<int, double> > rhsValues(nComponents); + vector<map<int, double> > solValues(nComponents); for (int i = 0; i < nComponents; i++) nnzValues[i].resize(nComponents); // Stores to each dof index of this problem a map from rank indices (of each rank // that also has this dof) to the corresponding local dof index. - std::map<DegreeOfFreedom, std::vector<DegreeOfFreedom> > dofMapHereToFiles; + map<DegreeOfFreedom, vector<DegreeOfFreedom> > dofMapHereToFiles; - for (std::vector<std::string>::iterator fileIt = filenames.begin(); + for (vector<string>::iterator fileIt = filenames.begin(); fileIt != filenames.end(); ++fileIt) { // Open file and read the number of DOFs the file contains. - std::ifstream in(fileIt->c_str()); + ifstream in(fileIt->c_str()); int nReadDofs; in >> nReadDofs; @@ -158,14 +160,14 @@ namespace AMDiS { dofToCoord[dof] = coords; } - std::map<DegreeOfFreedom, DegreeOfFreedom> dofMapFileToHere; + map<DegreeOfFreedom, DegreeOfFreedom> dofMapFileToHere; for (DofToCoord::iterator it = dofToCoord.begin(); it != dofToCoord.end(); ++it) { DegreeOfFreedom dofIndexInFile = it->first; WorldVector<double> &dofCoords = it->second; if (coordToDof.find(dofCoords) == coordToDof.end()) { - std::cout << "Cannot find dof index for coords: " << std::endl; + cout << "Cannot find dof index for coords: " << endl; dofCoords.print(); exit(0); } @@ -197,19 +199,19 @@ namespace AMDiS { in >> value; if (dofMapFileToHere.count(row) == 0) { - std::cout << "Cannot find row index for: " << row << std::endl; + cout << "Cannot find row index for: " << row << endl; exit(0); } if (dofMapFileToHere.count(col) == 0) { - std::cout << "Cannot find col index for: " << col << std::endl; + cout << "Cannot find col index for: " << col << endl; exit(0); } // Get dof indices for row and col of this problem matrix. DegreeOfFreedom rowHere = dofMapFileToHere[row]; DegreeOfFreedom colHere = dofMapFileToHere[col]; - std::pair<int, int> rowcol = std::make_pair(rowHere, colHere); + pair<int, int> rowcol = make_pair(rowHere, colHere); if (nnzValues[i][j].count(rowcol) == 0) nnzValues[i][j][rowcol] = value; @@ -232,7 +234,7 @@ namespace AMDiS { WorldVector<double> rowCoords = dofToCoord[row]; if (coordToDof.find(rowCoords) == coordToDof.end()) { - std::cout << "Cannot find row index for coords: " << std::endl; + cout << "Cannot find row index for coords: " << endl; rowCoords.print(); exit(0); } @@ -259,7 +261,7 @@ namespace AMDiS { WorldVector<double> rowCoords = dofToCoord[row]; if (coordToDof.find(rowCoords) == coordToDof.end()) { - std::cout << "Cannot find row index for coords: " << std::endl; + cout << "Cannot find row index for coords: " << endl; rowCoords.print(); exit(0); } @@ -271,7 +273,7 @@ namespace AMDiS { } else { double diff = fabs(solValues[i][rowHere] - value); if (diff > 1e-8) { - std::cout << "DIFFERENT values in solution vector!" << std::endl; + cout << "DIFFERENT values in solution vector!" << endl; exit(0); } } @@ -280,12 +282,12 @@ namespace AMDiS { in.close(); - std::cout << "File read!" << std::endl; + cout << "File read!" << endl; } - std::cout << "Now checking ..." << std::endl; + cout << "Now checking ..." << endl; - std::cout.precision(15); + cout.precision(15); for (int i = 0; i < nComponents; i++) { for (int j = 0; j < nComponents; j++) { @@ -294,7 +296,7 @@ namespace AMDiS { if (!dofmatrix) continue; - for (std::map<std::pair<int, int>, double>::iterator nnzIt = + for (map<pair<int, int>, double>::iterator nnzIt = nnzValues[i][j].begin(); nnzIt != nnzValues[i][j].end(); ++nnzIt) { int row = nnzIt->first.first; @@ -307,13 +309,13 @@ namespace AMDiS { // And so we check the difference between the value read from file and the // corresponding value in the matrix. if (diff > 1e-8) { - std::cout << "Wrong value in component matrix " << i - << "/" << j << ": " << std::endl + cout << "Wrong value in component matrix " << i + << "/" << j << ": " << endl << " DOF in this matrix[" << row << "][" << col << "] = " - << valueHere << std::endl + << valueHere << endl << " DOF in other matrix[" << dofMapHereToFiles[row][0] << "][" << dofMapHereToFiles[col][0] << "] = " - << value << std::endl; + << value << endl; exit(0); } @@ -322,7 +324,7 @@ namespace AMDiS { } for (int i = 0; i < nComponents; i++) { - for (std::map<int, double>::iterator rhsIt = rhsValues[i].begin(); + for (map<int, double>::iterator rhsIt = rhsValues[i].begin(); rhsIt != rhsValues[i].end(); ++rhsIt) { int row = rhsIt->first; @@ -332,9 +334,9 @@ namespace AMDiS { double diff = fabs(valueHere - value); if (diff > 1e-8) { - std::cout << "WRONG value in rhs[" << i << "]!" << std::endl - << " DOF in other rhs[" << row << "] = " << value << std::endl - << " DOF in this rhs[" << row << "] = " << valueHere << std::endl; + cout << "WRONG value in rhs[" << i << "]!" << endl + << " DOF in other rhs[" << row << "] = " << value << endl + << " DOF in this rhs[" << row << "] = " << valueHere << endl; exit(0); } @@ -342,7 +344,7 @@ namespace AMDiS { } for (int i = 0; i < nComponents; i++) { - for (std::map<int, double>::iterator solIt = solValues[i].begin(); + for (map<int, double>::iterator solIt = solValues[i].begin(); solIt != solValues[i].end(); ++solIt) { int row = solIt->first; @@ -352,22 +354,22 @@ namespace AMDiS { double diff = fabs(valueHere - value); if (diff > 1e-8) { - std::cout << "WRONG value in sol[" << i << "]!" << std::endl - << " DOF in other sol[" << row << "] = " << value << std::endl - << " DOF in this sol[" << row << "] = " << valueHere << std::endl; + cout << "WRONG value in sol[" << i << "]!" << endl + << " DOF in other sol[" << row << "] = " << value << endl + << " DOF in this sol[" << row << "] = " << valueHere << endl; exit(0); } } } - std::cout << "FINISHED COMPARING!" << std::endl; + cout << "FINISHED COMPARING!" << endl; exit(0); } - void ProblemVecDbg::createDofToCoordMap(DofToCoord &dofMap) + void ProblemStatDbg::createDofToCoordMap(DofToCoord &dofMap) { const BasisFunction *basisFcts = componentSpaces[0]->getBasisFcts(); WorldVector<double> coords; @@ -391,7 +393,7 @@ namespace AMDiS { } - void ProblemVecDbg::createCoordToDofMap(CoordToDof &dofMap) + void ProblemStatDbg::createCoordToDofMap(CoordToDof &dofMap) { const BasisFunction *basisFcts = componentSpaces[0]->getBasisFcts(); WorldVector<double> coords; diff --git a/AMDiS/src/ProblemVecDbg.h b/AMDiS/src/ProblemStatDbg.h similarity index 80% rename from AMDiS/src/ProblemVecDbg.h rename to AMDiS/src/ProblemStatDbg.h index 7e6db5c20c4f9025f87eb6245c48fd3da40c8207..19589fe9d1f6dda5e81bf22927dc6939ca923041 100644 --- a/AMDiS/src/ProblemVecDbg.h +++ b/AMDiS/src/ProblemStatDbg.h @@ -18,21 +18,23 @@ -/** \file ProblemVecDbg.h */ +/** \file ProblemStatDbg.h */ -#ifndef AMDIS_PROBLEMVECDBG_H -#define AMDIS_PROBLEMVECDBG_H +#ifndef AMDIS_PROBLEM_STAT_DBG_H +#define AMDIS_PROBLEM_STAT_DBG_H -#include "ProblemVec.h" +#include "ProblemStat.h" namespace AMDiS { - class ProblemVecDbg : public ProblemVec + using namespace std; + + class ProblemStatDbg : public ProblemStatSeq { public: - ProblemVecDbg(std::string nameStr, - ProblemIterationInterface *problemIteration = NULL) - : ProblemVec(nameStr, problemIteration) + ProblemStatDbg(string nameStr, + ProblemIterationInterface *problemIteration = NULL) + : ProblemStatSeq(nameStr, problemIteration) {} /** \brief @@ -42,13 +44,13 @@ namespace AMDiS { * This makes it possible to compare dof matrices, where the dof indices * are different, e.g., when using domain decomposition parallelization. */ - void writeDbgMatrix(std::string filename); + void writeDbgMatrix(string filename); /** \brief * Reads a file, that was created using the function \ref writeDbgMatrix, and * compares the date with the system matrix of this problem. */ - void readAndCompareDbgMatrix(std::vector<std::string> filenames); + void readAndCompareDbgMatrix(vector<string> filenames); protected: /** \brief @@ -65,8 +67,6 @@ namespace AMDiS { */ void createCoordToDofMap(CoordToDof &dofMap); }; - - void printOpenmpTraverseInfo(ProblemVec *prob, bool wait = false); } #endif diff --git a/AMDiS/src/RecoveryEstimator.cc b/AMDiS/src/RecoveryEstimator.cc index 9e93997bc1b5a33127ef2dfff8d740fc2f4c1979..61445bcb917bab17653c630f611a3a6050485914 100644 --- a/AMDiS/src/RecoveryEstimator.cc +++ b/AMDiS/src/RecoveryEstimator.cc @@ -29,10 +29,10 @@ namespace AMDiS { { FUNCNAME("RecoveryEstimator::constructor()"); - GET_PARAMETER(0, name + "->rec method", "%d", &method); // 0, 1, or 2 (see Recovery.h) - GET_PARAMETER(0, name + "->rel error", "%d", &relative); // 0 or 1 - - GET_PARAMETER(0, name + "->C", "%f", &C); + Parameters::get(name + "->rec method", method); // 0, 1, or 2 (see Recovery.h) + Parameters::get(name + "->rel error", relative); // 0 or 1 + Parameters::get(name + "->C", C); + C = C > 1e-25 ? sqr(C) : 1.0; if (norm == H1_NORM) { diff --git a/AMDiS/src/ResidualEstimator.cc b/AMDiS/src/ResidualEstimator.cc index b8bc32d8f60c78bd12d88778f370fea7cad7e2ad..74e496cb66fab0af285e9849e2ca94363c941ac4 100644 --- a/AMDiS/src/ResidualEstimator.cc +++ b/AMDiS/src/ResidualEstimator.cc @@ -34,10 +34,10 @@ namespace AMDiS { { FUNCNAME("ResidualEstimator::ResidualEstimator()"); - GET_PARAMETER(0, name + "->C0", "%f", &C0); - GET_PARAMETER(0, name + "->C1", "%f", &C1); - GET_PARAMETER(0, name + "->C2", "%f", &C2); - GET_PARAMETER(0, name + "->C3", "%f", &C3); + Parameters::get(name + "->C0", C0); + Parameters::get(name + "->C1", C1); + Parameters::get(name + "->C2", C2); + Parameters::get(name + "->C3", C3); C0 = C0 > 1.e-25 ? sqr(C0) : 0.0; C1 = C1 > 1.e-25 ? sqr(C1) : 0.0; @@ -47,7 +47,6 @@ namespace AMDiS { if (C1 != 0.0 && C0 == 0.0 && C3 == 0.0) jumpResidualOnly = true; - TEST_EXIT(C2 == 0.0)("C2 is not used! Please remove it or set it to 0.0!\n"); } diff --git a/AMDiS/src/SecondOrderTerm.h b/AMDiS/src/SecondOrderTerm.h index bf70218b0f48473215045912a2e2673740e869c4..c35455728248b2c80b478a2b43efd7c687dee7dd 100644 --- a/AMDiS/src/SecondOrderTerm.h +++ b/AMDiS/src/SecondOrderTerm.h @@ -103,63 +103,6 @@ namespace AMDiS { }; - /** - * \ingroup Assembler - * - * \brief - * Implements the laplace operator: \f$ \Delta u(\vec{x}) \f$ - */ - class Laplace_SOT : public SecondOrderTerm - { - public: - /// Constructor. - Laplace_SOT() - : SecondOrderTerm(0) - { - setSymmetric(true); - } - - /// Implenetation of SecondOrderTerm::getLALt(). - inline void getLALt(const ElInfo *elInfo, vector<mtl::dense2D<double> > &LALt) const - { - const DimVec<WorldVector<double> > &grdLambda = elInfo->getGrdLambda(); - const int nPoints = static_cast<int>(LALt.size()); - - for (int iq = 0; iq < nPoints; iq++) - l1lt(grdLambda, LALt[iq], 1.0); - } - - /// Implementation of SecondOrderTerm::eval(). - inline void eval(int nPoints, - const ElementVector&, - const WorldVector<double> *, - const WorldMatrix<double> *D2UhAtQP, - ElementVector& result, - double factor) - { - int dow = Global::getGeo(WORLD); - - if (D2UhAtQP) { - for (int iq = 0; iq < nPoints; iq++) { - double resultQP = 0.0; - for (int i = 0; i < dow; i++) - resultQP += D2UhAtQP[iq][i][i]; - result[iq] += factor * resultQP; - } - } - } - - /// Implenetation of SecondOrderTerm::weakEval(). - void weakEval(const std::vector<WorldVector<double> > &grdUhAtQP, - std::vector<WorldVector<double> > &result) - { - int nPoints = grdUhAtQP.size(); - for (int iq = 0; iq < nPoints; iq++) - result[iq] += grdUhAtQP[iq]; - } - }; - - /** * \ingroup Assembler * @@ -167,11 +110,11 @@ namespace AMDiS { * Implements the laplace operator multiplied with a scalar factor: * \f$ f \cdot \Delta u(\vec{x}) \f$ */ - class FactorLaplace_SOT : public SecondOrderTerm + class Simple_SOT : public SecondOrderTerm { public: /// Constructor. - FactorLaplace_SOT(double f) + Simple_SOT(double f = 1.0) : SecondOrderTerm(0) { factor = new double; @@ -181,7 +124,7 @@ namespace AMDiS { } /// Constructor. - FactorLaplace_SOT(double *fptr) + Simple_SOT(double *fptr) : SecondOrderTerm(0), factor(fptr) { diff --git a/AMDiS/src/Serializer.h b/AMDiS/src/Serializer.h index 4bc6798cf4dc0b940342631ea6fc32ab13bc5fbf..4862dd407ab7d92d4d7cd380c0226ed25455d97f 100644 --- a/AMDiS/src/Serializer.h +++ b/AMDiS/src/Serializer.h @@ -28,11 +28,12 @@ #endif #include <map> -#include "boost/lexical_cast.hpp" +#include <boost/lexical_cast.hpp> -#include "io/FileWriter.h" +#include "Global.h" #include "Parameters.h" #include "AdaptInfo.h" +#include "io/FileWriter.h" namespace AMDiS { @@ -48,9 +49,10 @@ namespace AMDiS { { FUNCNAME("Serializer::Serializer()"); - GET_PARAMETER(0, problem->getName() + "->output->serialization filename", &name); - GET_PARAMETER(0, problem->getName() + "->output->write every i-th timestep", - "%d", &tsModulo); + Parameters::get(problem->getName() + "->output->serialization filename", + name); + Parameters::get(problem->getName() + "->output->write every i-th timestep", + tsModulo); TEST_EXIT(name != "")("No filename!\n"); #if HAVE_PARALLEL_DOMAIN_AMDIS @@ -97,6 +99,7 @@ namespace AMDiS { std::ofstream out(name.c_str()); TEST_EXIT(out.is_open())("Cannot open serialization file!\n"); + out.write(reinterpret_cast<const char*>(&amdisRevisionNumber), sizeof(int)); problem->serialize(out); adaptInfo->serialize(out); out.close(); diff --git a/AMDiS/src/SolutionDataStorage.hh b/AMDiS/src/SolutionDataStorage.hh index 2d8ea1367b9b6213140f718e3d35d8bedb254301..b7bebeebb04f45693d6bf19e28a487f6e02b0d95 100644 --- a/AMDiS/src/SolutionDataStorage.hh +++ b/AMDiS/src/SolutionDataStorage.hh @@ -28,10 +28,10 @@ namespace AMDiS { solutions.clear(); int tmp = 0; - GET_PARAMETER(0, name + "->memory usage", "%d", &maxMemoryUsage); - GET_PARAMETER(0, name + "->use disk", "%d", &tmp); + Parameters::get(name + "->memory usage", maxMemoryUsage); + Parameters::get(name + "->use disk", tmp); useDisk = (tmp == 0) ? false : true; - GET_PARAMETER(0, name + "->directory", &writeDirectory); + Parameters::get(name + "->directory", writeDirectory); } template<typename T> diff --git a/AMDiS/src/UmfPackSolver.h b/AMDiS/src/UmfPackSolver.h index 25906f4af70b6b5bada07c94e9580c99b844c253..520388b478b9ef61d3caee67b325193d5ffd0d20 100644 --- a/AMDiS/src/UmfPackSolver.h +++ b/AMDiS/src/UmfPackSolver.h @@ -65,8 +65,8 @@ namespace AMDiS { store_symbolic(0), symmetric_strategy(0) { - GET_PARAMETER(0, name + "->store symbolic", "%d", &store_symbolic); - GET_PARAMETER(0, name + "->symmetric strategy", "%d", &symmetric_strategy); + Parameters::get(name + "->store symbolic", store_symbolic); + Parameters::get(name + "->symmetric strategy", symmetric_strategy); } /// Destructor diff --git a/AMDiS/src/compositeFEM/CompositeFEMMethods.cc b/AMDiS/src/compositeFEM/CompositeFEMMethods.cc index 227b2d83f08f97bd88af82f35fedcc84688e0eb7..4c92d9286dc5ac4a48675293e21fdc58654e93d3 100644 --- a/AMDiS/src/compositeFEM/CompositeFEMMethods.cc +++ b/AMDiS/src/compositeFEM/CompositeFEMMethods.cc @@ -83,7 +83,7 @@ void CompositeFEMMethods::printBoundaryElements(const std::string fn_str, int dim = feSpace->getMesh()->getDim(); std::string fn_main; std::string fn; - GET_PARAMETER(0, fn_str + "->filename", &fn_main); + Parameters::get(fn_str + "->filename", fn_main); fn = fn_main + "boundary_elements"; int elStatus; diff --git a/AMDiS/src/compositeFEM/ElementLevelSet.h b/AMDiS/src/compositeFEM/ElementLevelSet.h index 16656bc41546de2392e2fe041758af077f884776..b293803dacc1c1fd5b02d1b7fc583003c1874621 100644 --- a/AMDiS/src/compositeFEM/ElementLevelSet.h +++ b/AMDiS/src/compositeFEM/ElementLevelSet.h @@ -112,13 +112,13 @@ public: elVertexLevelSetVec = new double[dim + 1]; int setElementLevelSetTol = 0; - GET_PARAMETER(0, name + "->set ElementLevelSet tolerances", "%d", - &setElementLevelSetTol); + Parameters::get(name + "->set ElementLevelSet tolerances", + setElementLevelSetTol); if (setElementLevelSetTol) { - GET_PARAMETER(0, name + "->LS_VAL_TOL", "%f", &LS_VAL_TOL); - GET_PARAMETER(0, name + "->LS_VAL_MIN", "%f", &LS_VAL_MIN); - GET_PARAMETER(0, name + "->SP_BARY_TOL", "%f", &SP_BARY_TOL); + Parameters::get(name + "->LS_VAL_TOL", LS_VAL_TOL); + Parameters::get(name + "->LS_VAL_MIN", LS_VAL_MIN); + Parameters::get(name + "->SP_BARY_TOL", SP_BARY_TOL); TEST_EXIT(LS_VAL_TOL > 0)("illegal LS_VAL_TOL\n"); TEST_EXIT(LS_VAL_MIN > 0)("illegal LS_VAL_MIN\n"); diff --git a/AMDiS/src/compositeFEM/LevelSetAdaptMesh.cc b/AMDiS/src/compositeFEM/LevelSetAdaptMesh.cc index fe8162a37a79b7d29bfe85d245c95a836b72137f..2a2ee42c1f8e2d9c2c265127086713a814a271a1 100644 --- a/AMDiS/src/compositeFEM/LevelSetAdaptMesh.cc +++ b/AMDiS/src/compositeFEM/LevelSetAdaptMesh.cc @@ -189,36 +189,40 @@ LevelSetAdaptMesh::getElementSizesFromInit(const std::string probName, // === Read parameter from file. === int dim; - GET_PARAMETER(0, probName + "->dim", "%d", &dim); + Parameters::get(probName + "->dim", dim); + std::string meshName; - GET_PARAMETER(0, probName + "->mesh", &meshName); - int globalRef=0; - GET_PARAMETER(0, meshName + "->global refinements", - "%d", &globalRef); - - int refInterf=0; - GET_PARAMETER(0, "LevelSetAdaptMesh->additional refinements at interface", - "%d", &refInterf); - int refNegLs=0; - GET_PARAMETER(0, "LevelSetAdaptMesh->additional refinements in negative domain", - "%d", &refNegLs); - int refPosLs=0; - GET_PARAMETER(0, "LevelSetAdaptMesh->additional refinements in positive domain", - "%d", &refPosLs); - - int numElBand=0; - GET_PARAMETER(0, "LevelSetAdaptMesh->number of elements for band", - "%d", &numElBand); + Parameters::get(probName + "->mesh", meshName); + + int globalRef = 0; + Parameters::get(meshName + "->global refinements", globalRef); + + int refInterf = 0; + Parameters::get("LevelSetAdaptMesh->additional refinements at interface", + refInterf); + + int refNegLs = 0; + Parameters::get("LevelSetAdaptMesh->additional refinements in negative domain", + refNegLs); + + int refPosLs = 0; + Parameters::get("LevelSetAdaptMesh->additional refinements in positive domain", + refPosLs); + + int numElBand = 0; + Parameters::get("LevelSetAdaptMesh->number of elements for band", + numElBand); + double macroElSize = -1.0; - GET_PARAMETER(0, "LevelSetAdaptMesh->macro element size", - "%f", ¯oElSize); + Parameters::get("LevelSetAdaptMesh->macro element size", + macroElSize); // === Calculate element sizes. === double fac = pow(0.5, 1.0/dim); - sizeInterf_ = macroElSize * pow(fac, globalRef+refInterf); - sizeNegLs_ = macroElSize * pow(fac, globalRef+refNegLs); - sizePosLs_ = macroElSize * pow(fac, globalRef+refPosLs); + sizeInterf_ = macroElSize * pow(fac, globalRef + refInterf); + sizeNegLs_ = macroElSize * pow(fac, globalRef + refNegLs); + sizePosLs_ = macroElSize * pow(fac, globalRef + refPosLs); bandSize_ = numElBand * sizeInterf_; diff --git a/AMDiS/src/io/ElementFileWriter.cc b/AMDiS/src/io/ElementFileWriter.cc index 05bf078905d12b0043ee55e664e40b19162aa6fa..dfbfc0490741ec59dcdc70b8aec5d16c58b313ac 100644 --- a/AMDiS/src/io/ElementFileWriter.cc +++ b/AMDiS/src/io/ElementFileWriter.cc @@ -42,14 +42,14 @@ namespace AMDiS { vec(mapvec) { if (name != "") { - GET_PARAMETER(0, name + "->output->filename", &filename); - GET_PARAMETER(0, name + "->output->AMDiS format", "%d", &writeAMDiSFormat); - GET_PARAMETER(0, name + "->output->AMDiS mesh-dat ext", &amdisMeshDatExt); - GET_PARAMETER(0, name + "->output->ParaView format", "%d", &writeVtkFormat); - GET_PARAMETER(0, name + "->output->append index", "%d", &appendIndex); - GET_PARAMETER(0, name + "->output->index length", "%d", &indexLength); - GET_PARAMETER(0, name + "->output->index decimals", "%d", &indexDecimals); - GET_PARAMETER(0, name + "->output->write every i-th timestep", "%d", &tsModulo); + Parameters::get(name + "->output->filename", filename); + Parameters::get(name + "->output->AMDiS format", writeAMDiSFormat); + Parameters::get(name + "->output->AMDiS mesh-dat ext", amdisMeshDatExt); + Parameters::get(name + "->output->ParaView format", writeVtkFormat); + Parameters::get(name + "->output->append index", appendIndex); + Parameters::get(name + "->output->index length", indexLength); + Parameters::get(name + "->output->index decimals", indexDecimals); + Parameters::get(name + "->output->write every i-th timestep", tsModulo); } } diff --git a/AMDiS/src/io/FileWriter.cc b/AMDiS/src/io/FileWriter.cc index b2a35dbcd53202a2371c9ebb028eb98d4022fc2c..33598fcd2b3629e1258713b0ccc3439dcfdb747b 100644 --- a/AMDiS/src/io/FileWriter.cc +++ b/AMDiS/src/io/FileWriter.cc @@ -134,36 +134,37 @@ namespace AMDiS { readParameters(); } + void FileWriter::readParameters() { FUNCNAME("FileWriter::readParamters()"); - GET_PARAMETER(0, name + "->filename", &filename); - GET_PARAMETER(0, name + "->AMDiS format", "%d", &writeAMDiSFormat); - GET_PARAMETER(0, name + "->AMDiS mesh ext", &amdisMeshExt); - GET_PARAMETER(0, name + "->AMDiS data ext", &amdisDataExt); - GET_PARAMETER(0, name + "->ParaView format", "%d", &writeParaViewFormat); - GET_PARAMETER(0, name + "->ParaView animation", "%d", &writeParaViewAnimation); - GET_PARAMETER(0, name + "->ParaView ext", ¶viewFileExt); - GET_PARAMETER(0, name + "->Periodic format", "%d", &writePeriodicFormat); - GET_PARAMETER(0, name + "->Periodic ext", &periodicFileExt); - GET_PARAMETER(0, name + "->PNG format", "%d", &writePngFormat); - GET_PARAMETER(0, name + "->PNG type", "%d", &pngType); - GET_PARAMETER(0, name + "->append index", "%d", &appendIndex); - GET_PARAMETER(0, name + "->index length", "%d", &indexLength); - GET_PARAMETER(0, name + "->index decimals", "%d", &indexDecimals); - GET_PARAMETER(0, name + "->write every i-th timestep", "%d", &tsModulo); - - GET_PARAMETER(0, name + "->Povray format", "%d", &writePovrayFormat); - GET_PARAMETER(0, name + "->Povray template", "%d", &povrayTemplate); - GET_PARAMETER(0, name + "->Povray camera location", &povrayCameraLocation); - GET_PARAMETER(0, name + "->Povray camera look_at", &povrayCameraLookAt); - - GET_PARAMETER(0, name + "->DOF format", "%d", &writeDofFormat); - GET_PARAMETER(0, name + "->ARH format", "%d", &writeArhFormat); + Parameters::get(name + "->filename", filename); + Parameters::get(name + "->AMDiS format", writeAMDiSFormat); + Parameters::get(name + "->AMDiS mesh ext", amdisMeshExt); + Parameters::get(name + "->AMDiS data ext", amdisDataExt); + Parameters::get(name + "->ParaView format", writeParaViewFormat); + Parameters::get(name + "->ParaView animation", writeParaViewAnimation); + Parameters::get(name + "->ParaView ext", paraviewFileExt); + Parameters::get(name + "->Periodic format", writePeriodicFormat); + Parameters::get(name + "->Periodic ext", periodicFileExt); + Parameters::get(name + "->PNG format", writePngFormat); + Parameters::get(name + "->PNG type", pngType); + Parameters::get(name + "->append index", appendIndex); + Parameters::get(name + "->index length", indexLength); + Parameters::get(name + "->index decimals", indexDecimals); + Parameters::get(name + "->write every i-th timestep", tsModulo); + + Parameters::get(name + "->Povray format", writePovrayFormat); + Parameters::get(name + "->Povray template", povrayTemplate); + Parameters::get(name + "->Povray camera location", povrayCameraLocation); + Parameters::get(name + "->Povray camera look_at", povrayCameraLookAt); + + Parameters::get(name + "->DOF format", writeDofFormat); + Parameters::get(name + "->ARH format", writeArhFormat); std::string compressionStr = ""; - GET_PARAMETER(0, name + "->compression", &compressionStr); + Parameters::get(name + "->compression", compressionStr); if (compressionStr == "gzip" || compressionStr == "gz") { compression = GZIP; } else if (compressionStr == "bzip2" || compressionStr == "bz2") { @@ -184,7 +185,7 @@ namespace AMDiS { return; // Containers, which store the data to be written; - std::vector<DataCollector* > dataCollectors(solutionVecs.size()); + std::vector<DataCollector*> dataCollectors(solutionVecs.size()); if (writeElem) { for (int i = 0; i < static_cast<int>(dataCollectors.size()); i++) diff --git a/AMDiS/src/io/VtkWriter.cc b/AMDiS/src/io/VtkWriter.cc index b1e9008c20c8a5ff03f5ce082c6d3260eae7e482..2b292a4d68f2e3d479e24a57a0dea0226494dfc7 100644 --- a/AMDiS/src/io/VtkWriter.cc +++ b/AMDiS/src/io/VtkWriter.cc @@ -48,14 +48,17 @@ namespace AMDiS { default: break; } + { - //boost::iostreams seems not to truncate the file std::ofstream swapfile(name.c_str(), std::ios::out | std::ios::trunc); + TEST_EXIT(swapfile.is_open()) + ("Cannot open file %s for writing!\n", name.c_str()); swapfile.close(); } + file.push(boost::iostreams::file_descriptor_sink(name, std::ios::trunc)); writeFileToStream(file); - + return 0; } @@ -63,10 +66,13 @@ namespace AMDiS { void VtkWriter::writeParallelFile(std::string name, int nRanks, std::string fnPrefix, std::string fnPostfix) { + FUNCNAME("VtkWriter::writeParallelFile()"); + boost::iostreams::filtering_ostream file; { - //boost::iostreams seems not to truncate the file std::ofstream swapfile(name.c_str(), std::ios::out | std::ios::trunc); + TEST_EXIT(swapfile.is_open()) + ("Cannot open file %s for writing!\n", name.c_str()); swapfile.close(); } file.push(boost::iostreams::file_descriptor_sink(name, std::ios::trunc)); @@ -109,16 +115,21 @@ namespace AMDiS { std::vector< std::string > *paraViewAnimationFrames, std::string animationFilename) { + FUNCNAME("VtkWriter::updateAnimationFile()"); + size_t found = valueFilename.find_last_of("/\\"); paraViewAnimationFrames->push_back(valueFilename.substr(found + 1)); boost::iostreams::filtering_ostream file; { - //boost::iostreams seems not to truncate the file - std::ofstream swapfile(animationFilename.c_str(), std::ios::out | std::ios::trunc); + std::ofstream swapfile(animationFilename.c_str(), + std::ios::out | std::ios::trunc); + TEST_EXIT(swapfile.is_open()) + ("Cannot open file %s for writing!\n", animationFilename.c_str()); swapfile.close(); } - file.push(boost::iostreams::file_descriptor_sink(animationFilename, std::ios::trunc)); + file.push(boost::iostreams::file_descriptor_sink(animationFilename, + std::ios::trunc)); file << "<?xml version=\"1.0\"?>\n"; file << "<VTKFile type=\"Collection\" version=\"0.1\" >" << "\n"; diff --git a/AMDiS/src/parallel/MeshDistributor.cc b/AMDiS/src/parallel/MeshDistributor.cc index bb99f1cb40bdd1e577c49e2be305979935cc1d28..556b1e43391d41149ced7c0768e6b3c966ef9943 100644 --- a/AMDiS/src/parallel/MeshDistributor.cc +++ b/AMDiS/src/parallel/MeshDistributor.cc @@ -93,18 +93,18 @@ namespace AMDiS { mpiComm = MPI::COMM_WORLD; int tmp = 0; - GET_PARAMETER(0, name + "->repartitioning", "%d", &tmp); + Parameters::get(name + "->repartitioning", tmp); repartitioningAllowed = (tmp > 0); - GET_PARAMETER(0, name + "->debug output dir", &debugOutputDir); - GET_PARAMETER(0, name + "->repartition ith change", "%d", &repartitionIthChange); + Parameters::get(name + "->debug output dir", debugOutputDir); + Parameters::get(name + "->repartition ith change", repartitionIthChange); tmp = 0; - GET_PARAMETER(0, name + "->log main rank", "%d", &tmp); + Parameters::get(name + "->log main rank", tmp); Msg::outputMainRank = (tmp > 0); string partStr = "parmetis"; - GET_PARAMETER(0, name + "->partitioner", &partStr); + Parameters::get(name + "->partitioner", partStr); if (partStr == "parmetis") partitioner = new ParMetisPartitioner(&mpiComm); @@ -124,7 +124,7 @@ namespace AMDiS { partitioner = new SimplePartitioner(&mpiComm); tmp = 0; - GET_PARAMETER(0, name + "->box partitioning", "%d", &tmp); + Parameters::get(name + "->box partitioning", tmp); partitioner->setBoxPartitioning(static_cast<bool>(tmp)); TEST_EXIT(partitioner)("Could not create partitioner \"%s\"!\n", partStr.c_str()); @@ -204,7 +204,7 @@ namespace AMDiS { debug::createSortedDofs(mesh, elMap); if (mpiRank == 0) { int writePartMesh = 1; - GET_PARAMETER(0, "dbg->write part mesh", "%d", &writePartMesh); + Parameters::get("dbg->write part mesh", writePartMesh); if (writePartMesh > 0) { debug::writeElementIndexMesh(mesh, debugOutputDir + "elementIndex.vtu"); @@ -305,7 +305,7 @@ namespace AMDiS { // === Global refinements. === int globalRefinement = 0; - GET_PARAMETER(0, mesh->getName() + "->global refinements", "%d", &globalRefinement); + Parameters::get(mesh->getName() + "->global refinements", globalRefinement); if (globalRefinement > 0) { refineManager->globalRefine(mesh, globalRefinement); @@ -372,29 +372,30 @@ namespace AMDiS { // Create parallel serialization file writer, if needed. int writeSerialization = 0; - GET_PARAMETER(0, probVec->getName() + "->output->write serialization", "%d", - &writeSerialization); + Parameters::get(probVec->getName() + "->output->write serialization", + writeSerialization); if (writeSerialization && !writeSerializationFile) { string filename = ""; - GET_PARAMETER(0, name + "->output->serialization filename", &filename); + Parameters::get(name + "->output->serialization filename", filename); TEST_EXIT(filename != "") ("No filename defined for parallel serialization file!\n"); int tsModulo = -1; - GET_PARAMETER(0, probVec->getName() + "->output->write every i-th timestep", - "%d", &tsModulo); + Parameters::get(probVec->getName() + "->output->write every i-th timestep", + tsModulo); probVec->getFileWriterList().push_back(new Serializer<MeshDistributor>(this, filename, tsModulo)); writeSerializationFile = true; } int readSerialization = 0; - GET_PARAMETER(0, probVec->getName() + "->input->read serialization", "%d", - &readSerialization); + Parameters::get(probVec->getName() + "->input->read serialization", + readSerialization); if (readSerialization) { string filename = ""; - GET_PARAMETER(0, probVec->getName() + "->input->serialization filename", &filename); + Parameters::get(probVec->getName() + "->input->serialization filename", + filename); filename += ".p" + lexical_cast<string>(mpiRank); MSG("Start deserialization with %s\n", filename.c_str()); ifstream in(filename.c_str()); @@ -407,7 +408,7 @@ namespace AMDiS { MSG("Deserialization from file: %s\n", filename.c_str()); filename = ""; - GET_PARAMETER(0, name + "->input->serialization filename", &filename); + Parameters::get(name + "->input->serialization filename", filename); TEST_EXIT(filename != "") ("No filename defined for parallel deserialization file!\n"); @@ -967,7 +968,7 @@ namespace AMDiS { elemWeights.clear(); string filename = ""; - GET_PARAMETER(0, mesh->getName() + "->macro weights", &filename); + Parameters::get(mesh->getName() + "->macro weights", filename); if (filename != "") { MSG("Read macro weights from %s\n", filename.c_str()); @@ -1833,7 +1834,7 @@ namespace AMDiS { #else int tmp = 0; - GET_PARAMETER(0, name + "->write parallel debug file", "%d", &tmp); + Parameters::get(name + "->write parallel debug file", tmp); if (tmp) ParallelDebug::writeDebugFile(*this, debugOutputDir + "mpi-dbg", "dat"); #endif diff --git a/AMDiS/src/parallel/ParallelDebug.cc b/AMDiS/src/parallel/ParallelDebug.cc index 90fd207829c3863e9041f85d4fbea1c7e7c401bd..54f55d5f4b425e3c13e3d2fa8657701c027b953e 100644 --- a/AMDiS/src/parallel/ParallelDebug.cc +++ b/AMDiS/src/parallel/ParallelDebug.cc @@ -323,7 +323,7 @@ namespace AMDiS { clock_t first = clock(); int testCommonDofs = 1; - GET_PARAMETER(0, "dbg->test common dofs", "%d", &testCommonDofs); + Parameters::get("dbg->test common dofs", testCommonDofs); if (testCommonDofs == 0) { MSG("Skip test common dofs!\n"); return; @@ -731,7 +731,7 @@ namespace AMDiS { FUNCNAME("ParallelDebug::printBoundaryInfo()"); int tmp = 0; - GET_PARAMETER(0, "parallel->debug->print boundary info", "%d", &tmp); + Parameters::get("parallel->debug->print boundary info", tmp); if (tmp <= 1) return; diff --git a/AMDiS/src/reinit/ElementLevelSet.h b/AMDiS/src/reinit/ElementLevelSet.h index 3e8d8c27c0f22a0114f48f2d8a59fe4795b22277..d2169d5333ae10ae400bb1a575cbe28b141a681c 100644 --- a/AMDiS/src/reinit/ElementLevelSet.h +++ b/AMDiS/src/reinit/ElementLevelSet.h @@ -105,13 +105,13 @@ class ElementLevelSet elVertexLevelSetVec = new double[dim + 1]; int setElementLevelSetTol = 0; - GET_PARAMETER(0, name + "->set ElementLevelSet tolerances", "%d", - &setElementLevelSetTol); + Parameters::get(name + "->set ElementLevelSet tolerances", + setElementLevelSetTol); if (setElementLevelSetTol) { - GET_PARAMETER(0, name + "->LS_VAL_TOL", "%f", &LS_VAL_TOL); - GET_PARAMETER(0, name + "->LS_VAL_MIN", "%f", &LS_VAL_MIN); - GET_PARAMETER(0, name + "->SP_BARY_TOL", "%f", &SP_BARY_TOL); + Parameters::get(name + "->LS_VAL_TOL", LS_VAL_TOL); + Parameters::get(name + "->LS_VAL_MIN", LS_VAL_MIN); + Parameters::get(name + "->SP_BARY_TOL", SP_BARY_TOL); TEST_EXIT(LS_VAL_TOL > 0)("illegal LS_VAL_TOL\n"); TEST_EXIT(LS_VAL_MIN > 0)("illegal LS_VAL_MIN\n"); diff --git a/AMDiS/src/reinit/HL_SignedDist.cc b/AMDiS/src/reinit/HL_SignedDist.cc index 819980d0e31d2a297c652c425fa66dd815fc4f42..ce032b5c021925046512fac71bf8a8fdac4a9111 100644 --- a/AMDiS/src/reinit/HL_SignedDist.cc +++ b/AMDiS/src/reinit/HL_SignedDist.cc @@ -323,18 +323,22 @@ void HL_SignedDist::initialize(ElementFunction<double> *elFct) // ===== Define boundary initialization strategy. ===== int boundInitFlag; - GET_PARAMETER(0, name + "->boundary initialization", "%d", - &boundInitFlag); - switch(boundInitFlag) { - case 0: bndElDist = new BoundaryElementLevelSetDist(elLS, dim); + Parameters::get(name + "->boundary initialization", boundInitFlag); + switch (boundInitFlag) { + case 0: + bndElDist = new BoundaryElementLevelSetDist(elLS, dim); break; - case 1: bndElDist = new BoundaryElementTopDist(elLS, dim, velExt); + case 1: + bndElDist = new BoundaryElementTopDist(elLS, dim, velExt); break; - case 2: bndElDist = new BoundaryElementEdgeDist(elLS, dim); + case 2: + bndElDist = new BoundaryElementEdgeDist(elLS, dim); break; - case 3: bndElDist = new BoundaryElementNormalDist(elLS, dim); + case 3: + bndElDist = new BoundaryElementNormalDist(elLS, dim); break; - default: ERROR_EXIT("illegal boundary initialization !\n"); + default: + ERROR_EXIT("illegal boundary initialization !\n"); break; } @@ -342,12 +346,15 @@ void HL_SignedDist::initialize(ElementFunction<double> *elFct) TEST_EXIT(velExt == NULL || boundInitFlag == 1) ("velocity extension only works with topological boundary element initialization method !\n"); - switch(dim) { - case 2: elUpdate = new ElementUpdate_2d(velExt); + switch (dim) { + case 2: + elUpdate = new ElementUpdate_2d(velExt); break; - case 3: elUpdate = new ElementUpdate_3d(velExt); + case 3: + elUpdate = new ElementUpdate_3d(velExt); break; - default: ERROR_EXIT("illegal dimension !\n"); + default: + ERROR_EXIT("illegal dimension !\n"); break; } } diff --git a/AMDiS/src/reinit/HL_SignedDist.h b/AMDiS/src/reinit/HL_SignedDist.h index 9aa6c8ad283beb9864b3e569f0c8d2a971d65dd3..04b4fbbec5423de06804d879f597183c4c2c46d9 100644 --- a/AMDiS/src/reinit/HL_SignedDist.h +++ b/AMDiS/src/reinit/HL_SignedDist.h @@ -83,7 +83,7 @@ public: TEST_EXIT(dim == 2 || dim == 3)("only works for dimension 2 and 3 !\n"); // ===== Read parameters from init file. ===== - GET_PARAMETER(0, name + "->infinity value", "%f", &inftyValue); + Parameters::get(name + "->infinity value", inftyValue); TEST_EXIT(inftyValue > 1000)("illegal infinity value !\n"); diff --git a/AMDiS/src/reinit/HL_SignedDistBornemann.h b/AMDiS/src/reinit/HL_SignedDistBornemann.h index e72de5338a4494ff0f085b1b08baebbd83f55076..db9d66785192305375f7745c88a0ad74c0598c47 100644 --- a/AMDiS/src/reinit/HL_SignedDistBornemann.h +++ b/AMDiS/src/reinit/HL_SignedDistBornemann.h @@ -55,9 +55,9 @@ public: FUNCNAME("HL_SignedDistBornemann::HL_SignedDistBornemann"); // ===== Read parameters from init file. ===== - GET_PARAMETER(0, name + "->tolerance", "%f", &tol); - GET_PARAMETER(0, name + "->count_how_often_saved_in_list", "%d", &count_in_list); - GET_PARAMETER(0, name + "->save_in_list->the ..th", "%d", &print_in_list); + Parameters::get(name + "->tolerance", "%f", &tol); + Parameters::get(name + "->count_how_often_saved_in_list", "%d", &count_in_list); + Parameters::get(name + "->save_in_list->the ..th", "%d", &print_in_list); TEST_EXIT(tol > 0)("illegal tolerance !\n"); } @@ -217,7 +217,7 @@ public: cout<<"Zeit zum Durchlaufen der zweiten Liste: "<<TIME<<" sec.\n\n"; std::string smiOutFile; - GET_PARAMETER(0, "SignedDist->count updates->output->filename", &smiOutFile); + Parameters::get("SignedDist->count updates->output->filename", &smiOutFile); cout << "count updates Ausgabe-Datei: " << smiOutFile.c_str() << "\n\n"; ofstream out (smiOutFile.c_str()); @@ -816,11 +816,11 @@ public: std::string q5_OutFile_3; std::string q5_OutFile_4; - GET_PARAMETER(0, "SignedDist->count saving->output->filename_0", &q5_OutFile_0); - GET_PARAMETER(0, "SignedDist->count saving->output->filename_1", &q5_OutFile_1); - GET_PARAMETER(0, "SignedDist->count saving->output->filename_2", &q5_OutFile_2); - GET_PARAMETER(0, "SignedDist->count saving->output->filename_3", &q5_OutFile_3); - GET_PARAMETER(0, "SignedDist->count saving->output->filename_4", &q5_OutFile_4); + Parameters::get("SignedDist->count saving->output->filename_0", q5_OutFile_0); + Parameters::get("SignedDist->count saving->output->filename_1", q5_OutFile_1); + Parameters::get("SignedDist->count saving->output->filename_2", q5_OutFile_2); + Parameters::get("SignedDist->count saving->output->filename_3", q5_OutFile_3); + Parameters::get("SignedDist->count saving->output->filename_4", q5_OutFile_4); char cntrStr[20]; diff --git a/AMDiS/src/reinit/HL_SignedDistTraverse.h b/AMDiS/src/reinit/HL_SignedDistTraverse.h index e6deb8dd5dda8d1f3accf4922dc129f81859c2cb..a5b61f243bcd763dd5c5fc727ab398012bf70c18 100644 --- a/AMDiS/src/reinit/HL_SignedDistTraverse.h +++ b/AMDiS/src/reinit/HL_SignedDistTraverse.h @@ -38,6 +38,7 @@ using namespace AMDiS; class HL_SignedDistTraverse : public HL_SignedDist { public: + HL_SignedDistTraverse(const char *name_, int dim_, bool doVelocityExt = false, @@ -52,11 +53,9 @@ public: FUNCNAME("HL_SignedDistTraverse::HL_SignedDistTraverse"); // ===== Read parameters from init file. ===== - GET_PARAMETER(0, name + "->tolerance", "%f", &tol); - GET_PARAMETER(0, name + "->maximal number of iteration steps", - "%d", &maxIt); - GET_PARAMETER(0, name + "->Gauss-Seidel iteration", "%d", - &GaussSeidelFlag); + Parameters::get(name + "->tolerance", tol); + Parameters::get(name + "->maximal number of iteration steps", maxIt); + Parameters::get(name + "->Gauss-Seidel iteration", GaussSeidelFlag); TEST_EXIT(tol > 0)("illegal tolerance !\n"); @@ -66,6 +65,7 @@ public: // ---> end: for test purposes } + ~HL_SignedDistTraverse() { if (sDOld_DOF) diff --git a/AMDiS/src/reinit/NormEps.h b/AMDiS/src/reinit/NormEps.h index cfbde947c368231de16cb5f7b366e156f0b6cf5b..392b74e2ad3b8692cef21b2cbc6d97aee98aad13 100644 --- a/AMDiS/src/reinit/NormEps.h +++ b/AMDiS/src/reinit/NormEps.h @@ -44,7 +44,7 @@ public: FUNCNAME("NormEps::setEps()"); eps = 0.0; - GET_PARAMETER(0, "NormEps->epsilon for norm regularization", "%f", &eps); + Parameters::get("NormEps->epsilon for norm regularization", eps); TEST_EXIT(eps > 1.e-15)("illegal eps for norm regularization !\n"); } diff --git a/AMDiS/src/time/RosenbrockAdaptInstationary.cc b/AMDiS/src/time/RosenbrockAdaptInstationary.cc index 64a9d391c08919c16078ddef2a5d055de4574d3b..97ffa94161001d315fd90d8e1d6213d34108db85 100644 --- a/AMDiS/src/time/RosenbrockAdaptInstationary.cc +++ b/AMDiS/src/time/RosenbrockAdaptInstationary.cc @@ -34,14 +34,14 @@ namespace AMDiS { FUNCNAME("RosenbrockAdaptInstationary::RosenbrockAdaptInstationary()"); std::string str; - GET_PARAMETER(0, name + "->rosenbrock method", &str); + Parameters::get(name + "->rosenbrock method", str); RosenbrockMethodCreator *creator = dynamic_cast<RosenbrockMethodCreator*>(CreatorMap<RosenbrockMethod>::getCreator(str)); rosenbrockMethod = creator->create(); TEST_EXIT_DBG(rosenbrockMethod)("This should not happen!\n"); - GET_PARAMETER(0, name + "->fix first timesteps", "%d", &fixFirstTimesteps); + Parameters::get(name + "->fix first timesteps", fixFirstTimesteps); problemStat->setRosenbrockMethod(rosenbrockMethod); adaptInfo->setRosenbrockMode(true); diff --git a/AMDiS/src/time/RosenbrockStationary.cc b/AMDiS/src/time/RosenbrockStationary.cc index 7bed9ea8ea038cf1baec964f0e598762f0870b45..7368ee24d906c66e11861c37456fe9a43a988615 100644 --- a/AMDiS/src/time/RosenbrockStationary.cc +++ b/AMDiS/src/time/RosenbrockStationary.cc @@ -11,7 +11,7 @@ #include "time/RosenbrockStationary.h" -#include "ProblemVec.h" +#include "ProblemStat.h" #include "SystemVector.h" #include "OEMSolver.h" @@ -78,9 +78,9 @@ namespace AMDiS { *timeRhsVec += *tmp; } - ProblemVec::buildAfterCoarsen(adaptInfo, flag, (i == 0), asmVector); + ProblemStat::buildAfterCoarsen(adaptInfo, flag, (i == 0), asmVector); solver->setMultipleRhs(i != 0); - ProblemVec::solve(adaptInfo); + ProblemStat::solve(adaptInfo); *(stageSolutions[i]) = *solution; @@ -112,7 +112,7 @@ namespace AMDiS { TEST_EXIT(op.getUhOld() == NULL)("UhOld is not allowed to be set!\n"); op.setUhOld(stageSolution->getDOFVector(col)); - ProblemVec::addVectorOperator(op, row); + ProblemStat::addVectorOperator(op, row); } @@ -124,7 +124,7 @@ namespace AMDiS { TEST_EXIT(factor == NULL)("Not yet implemented!\n"); TEST_EXIT(estFactor == NULL)("Not yet implemented!\n"); - ProblemVec::addMatrixOperator(op, row, col, &minusOne, &minusOne); + ProblemStat::addMatrixOperator(op, row, col, &minusOne, &minusOne); } @@ -136,11 +136,11 @@ namespace AMDiS { Operator *op = new Operator(componentSpaces[row], componentSpaces[col]); op->addZeroOrderTerm(new Simple_ZOT); - ProblemVec::addMatrixOperator(op, row, col, tauGamma, tauGamma); + ProblemStat::addMatrixOperator(op, row, col, tauGamma, tauGamma); Operator *opRhs = new Operator(componentSpaces[row]); opRhs->addZeroOrderTerm(new VecAtQP_ZOT(timeRhsVec->getDOFVector(col), new IdFunc())); - ProblemVec::addVectorOperator(opRhs, row, &minusOne, &minusOne); + ProblemStat::addVectorOperator(opRhs, row, &minusOne, &minusOne); } @@ -153,7 +153,7 @@ namespace AMDiS { RosenbrockBoundary bound = {fct, vec, row, col}; boundaries.push_back(bound); - ProblemVec::addDirichletBC(type, row, col, vec); + ProblemStat::addDirichletBC(type, row, col, vec); } } diff --git a/AMDiS/src/time/RosenbrockStationary.h b/AMDiS/src/time/RosenbrockStationary.h index 36358b4f361d1e2c90475040396f3519c61ce3a3..6c52fbab00a2eeb3a9c829249d92f436db18d882 100644 --- a/AMDiS/src/time/RosenbrockStationary.h +++ b/AMDiS/src/time/RosenbrockStationary.h @@ -24,7 +24,7 @@ #define AMDIS_ROSENBROCKSTATIONARY_H #include "AMDiS_fwd.h" -#include "ProblemVec.h" +#include "ProblemStat.h" #include "SystemVector.h" #include "time/RosenbrockMethod.h" @@ -42,7 +42,7 @@ namespace AMDiS { }; - class RosenbrockStationary : public ProblemVec + class RosenbrockStationary : public ProblemStat { public: class IdFunc : public AbstractFunction<double, double> @@ -60,7 +60,7 @@ namespace AMDiS { RosenbrockStationary(std::string name) - : ProblemVec(name), + : ProblemStat(name), first(true), minusOne(-1.0), tauPtr(NULL), diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt index ea9bc8a61270b5aadb59b0dc2e6b0bcd20653156..a27b08ad81e48533bf427034f6a4246daeeaa4fe 100644 --- a/demo/CMakeLists.txt +++ b/demo/CMakeLists.txt @@ -1,7 +1,7 @@ project("amdis_demo") cmake_minimum_required(VERSION 2.8) -#SET(AMDiS_DIR ../AMDiS) +SET(AMDiS_DIR /u/witkowski/amdis/install/amdis_rebuild/share/amdis) #find_package(AMDiS REQUIRED COMPONENTS umfpack ) find_package(AMDiS REQUIRED) diff --git a/demo/Makefile b/demo/Makefile deleted file mode 100644 index 2400472969324e75f666429ee671447fb4bcb137..0000000000000000000000000000000000000000 --- a/demo/Makefile +++ /dev/null @@ -1,104 +0,0 @@ -SHELL = /bin/sh - -# ============================================================================ -# ===== flags and directories (to be modified by the user) =================== -# ============================================================================ - -USE_PARALLEL_AMDIS = 0 # 1 if AMDiS was compiled with parallel support, 0 otherwise -USE_UMFPACK = 1 # 1 if AMDiS was compiled with UMFPACK library, 0 otherwise -USE_MKL = 0 # 1 if AMDiS was compiled with Intel MKL library, 0 otherwise -USE_SERVER = # mars, deimos or themisto. If no special server blank -USE_COMPILER = gcc # gcc or icc -DEBUG = 0 - -AMDIS_DIR = ../AMDiS -MPI_DIR = # on mars, deimos or themisto, leave this field blank - -#==== standard definitions and rules to compile AMDiS user programs ========== -include $(AMDIS_DIR)/other/include/Makefile_AMDiS.mk - -# ============================================================================ -# ===== user programs ======================================================== -# ============================================================================ - -PROGRAMS = ellipt heat vecellipt vecheat sphere ball parametric torus bunny - -VPATH = .:./src - -# ===== ellipt ============================================================ - -ELLIPT_OFILES = ellipt.o - -ellipt: $(ELLIPT_OFILES) - $(LINK) $(CPPFLAGS) -o ellipt $(ELLIPT_OFILES) $(LIBS) - -# ===== heat ============================================================ - -HEAT_OFILES = heat.o - -heat: $(HEAT_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o heat $(HEAT_OFILES) $(LIBS) - -# ===== vecellipt ============================================================ - -VECELLIPT_OFILES = vecellipt.o - -vecellipt: $(VECELLIPT_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o vecellipt $(VECELLIPT_OFILES) $(LIBS) - -# ===== vecheat ============================================================ - -VECHEAT_OFILES = vecheat.o - -vecheat: $(VECHEAT_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o vecheat $(VECHEAT_OFILES) $(LIBS) - -# ===== sphere ============================================================ - -SPHERE_OFILES = sphere.o - -sphere: $(SPHERE_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o sphere $(SPHERE_OFILES) $(LIBS) - -# ===== bunny ============================================================ - -BUNNY_OFILES = bunny.o - -bunny: $(BUNNY_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o bunny $(BUNNY_OFILES) $(LIBS) - -# ===== torus ============================================================ - -TORUS_OFILES = torus.o - -torus: $(TORUS_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o torus $(TORUS_OFILES) $(AMDIS_LIB) $(LIBS) - -# ===== ball ============================================================ - -BALL_OFILES = ball.o - -ball: $(BALL_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o ball $(BALL_OFILES) $(LIBS) - -# ===== parametric ============================================================ - -PARAMETRIC_OFILES = parametric.o - -parametric: $(PARAMETRIC_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o parametric $(PARAMETRIC_OFILES) $(LIBS) - -# ===== periodic ============================================================ - -PERIODIC_OFILES = periodic.o - -periodic: $(PERIODIC_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o periodic $(INCLUDES) $(PERIODIC_OFILES) $(LIBS) - -# ===== neumann ============================================================ - -NEUMANN_OFILES = neumann.o - -neumann: $(NEUMANN_OFILES) - $(LINK) $(CPPFLAGS) -o neumann $(NEUMANN_OFILES) $(LIBS) - diff --git a/demo/Makefile_libtool b/demo/Makefile_libtool deleted file mode 100644 index 8f10094385e4bf71cd65e9b39707a90d5f500860..0000000000000000000000000000000000000000 --- a/demo/Makefile_libtool +++ /dev/null @@ -1,105 +0,0 @@ -SHELL = /bin/sh - -# ============================================================================ -# ===== flags and directories (to be modified by the user) =================== -# ============================================================================ - -USE_PARALLEL_AMDIS = 0 # 1 if AMDiS was compiled with parallel support, 0 otherwise -USE_OPENMP = 0 # 1 if AMDiS was compiled with OpenMP support, 0 otherwise -USE_UMFPACK = 1 # 1 if AMDiS was compiled with UMFPACK library, 0 otherwise -USE_MKL = 0 # 1 if AMDiS was compiled with Intel MKL library, 0 otherwise -USE_SERVER = # mars, deimos or themisto. If no special server blank -USE_COMPILER = gcc # gcc or icc -DEBUG = 0 - -AMDIS_DIR = ../AMDiS -MPI_DIR = # on mars, deimos or themisto, leave this field blank - -#==== standard definitions and rules to compile AMDiS user programs ========== -include $(AMDIS_DIR)/other/include/Makefile_AMDiS.mk - -# ============================================================================ -# ===== user programs ======================================================== -# ============================================================================ - -PROGRAMS = ellipt heat vecellipt vecheat sphere ball parametric torus bunny - -VPATH = .:./src - -# ===== ellipt ============================================================ - -ELLIPT_OFILES = ellipt.o - -ellipt: $(ELLIPT_OFILES) - $(LINK) $(CPPFLAGS) -o ellipt $(ELLIPT_OFILES) $(LIBS) - -# ===== heat ============================================================ - -HEAT_OFILES = heat.o - -heat: $(HEAT_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o heat $(HEAT_OFILES) $(LIBS) - -# ===== vecellipt ============================================================ - -VECELLIPT_OFILES = vecellipt.o - -vecellipt: $(VECELLIPT_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o vecellipt $(VECELLIPT_OFILES) $(LIBS) - -# ===== vecheat ============================================================ - -VECHEAT_OFILES = vecheat.o - -vecheat: $(VECHEAT_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o vecheat $(VECHEAT_OFILES) $(LIBS) - -# ===== sphere ============================================================ - -SPHERE_OFILES = sphere.o - -sphere: $(SPHERE_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o sphere $(SPHERE_OFILES) $(LIBS) - -# ===== bunny ============================================================ - -BUNNY_OFILES = bunny.o - -bunny: $(BUNNY_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o bunny $(BUNNY_OFILES) $(LIBS) - -# ===== torus ============================================================ - -TORUS_OFILES = torus.o - -torus: $(TORUS_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o torus $(TORUS_OFILES) $(AMDIS_LIB) $(LIBS) - -# ===== ball ============================================================ - -BALL_OFILES = ball.o - -ball: $(BALL_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o ball $(BALL_OFILES) $(LIBS) - -# ===== parametric ============================================================ - -PARAMETRIC_OFILES = parametric.o - -parametric: $(PARAMETRIC_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o parametric $(PARAMETRIC_OFILES) $(LIBS) - -# ===== periodic ============================================================ - -PERIODIC_OFILES = periodic.o - -periodic: $(PERIODIC_OFILES) - $(LINK) $(CPPFLAGS) $(LDFLAGS) -o periodic $(INCLUDES) $(PERIODIC_OFILES) $(LIBS) - -# ===== neumann ============================================================ - -NEUMANN_OFILES = neumann.o - -neumann: $(NEUMANN_OFILES) - $(LINK) $(CPPFLAGS) -o neumann $(NEUMANN_OFILES) $(LIBS) - diff --git a/demo/init/ball.dat.2d b/demo/init/ball.dat.2d index dbaaba4b54a973456138295d0c94bef100707919..ddd849b415900ea47dce8f10fac55761de4c3014 100644 --- a/demo/init/ball.dat.2d +++ b/demo/init/ball.dat.2d @@ -7,6 +7,8 @@ ball->mesh: ballMesh ball->dim: 2 ball->polynomial degree: 1 +ball->space->components: 1 + ball->solver: cg ball->solver->max iteration: 1000 ball->solver->tolerance: 1.e-8 @@ -14,22 +16,23 @@ ball->solver->info: 2 ball->solver->left precon: diag ball->solver->right precon: no -ball->estimator: residual % residual, recovery -ball->estimator->error norm: 1 % 1: H1_NORM, 2: L2_NORM -ball->estimator->C1: 0.1 % constant of jump residual +ball->estimator[0]: residual % residual, recovery +ball->estimator[0]->error norm: 1 % 1: H1_NORM, 2: L2_NORM +ball->estimator[0]->C1: 0.1 % constant of jump residual + +ball->marker[0]->strategy: 0 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS +ball->marker[0]->MSGamma: 0.5 -ball->marker->strategy: 0 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS -ball->marker->MSGamma: 0.5 +ball->adapt[0]->tolerance: 1e-8 +ball->adapt[0]->info: 8 -ball->adapt->tolerance: 1e-8 -ball->adapt->max iteration: 4 -ball->adapt->info: 8 +ball->adapt->max iteration: 4 -ball->output->filename: ball -ball->output->ParaView format: 1 -ball->output->append index: 0 -ball->output->index length: 6 -ball->output->index decimals: 3 +ball->output->filename: ball +ball->output->ParaView format: 1 +ball->output->append index: 0 +ball->output->index length: 6 +ball->output->index decimals: 3 WAIT: 1 diff --git a/demo/init/ball.dat.3d b/demo/init/ball.dat.3d index 7221bdd63dc1e2232a90533aa39a4a007aa455d9..767841ceba5f6bd4806272cc2460ef3afe9029f5 100644 --- a/demo/init/ball.dat.3d +++ b/demo/init/ball.dat.3d @@ -7,13 +7,15 @@ ball->mesh: ballMesh ball->dim: 3 ball->polynomial degree: 1 +ball->space->components: 1 + ball->solver: cg ball->solver->max iteration: 1000 ball->solver->tolerance: 1.e-8 ball->solver->left precon: diag -ball->estimator: 0 -ball->marker->strategy: 0 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS +ball->estimator[0]: 0 +ball->marker[0]->strategy: 0 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS ball->output->filename: output/ball ball->output->ParaView format: 1 diff --git a/demo/init/ellipt.dat.1d b/demo/init/ellipt.dat.1d index 95d3d893c83519911722cf7583d470b7706cb5e1..605f462145805e6b5f32e5705f3d294e2e998e95 100644 --- a/demo/init/ellipt.dat.1d +++ b/demo/init/ellipt.dat.1d @@ -6,6 +6,7 @@ elliptMesh->global refinements: 3 ellipt->mesh: elliptMesh ellipt->dim: 1 ellipt->polynomial degree: 1 +ellipt->components: 1 ellipt->solver: cg ellipt->solver->max iteration: 1000 @@ -14,17 +15,18 @@ ellipt->solver->info: 2 ellipt->solver->left precon: diag ellipt->solver->right precon: no -ellipt->estimator: residual -ellipt->estimator->error norm: 1 % 1: H1_NORM, 2: L2_NORM -ellipt->estimator->C0: 0.1 % constant of element residual -ellipt->estimator->C1: 0.1 % constant of jump residual +ellipt->estimator[0]: residual +ellipt->estimator[0]->error norm: 1 % 1: H1_NORM, 2: L2_NORM +ellipt->estimator[0]->C0: 0.1 % constant of element residual +ellipt->estimator[0]->C1: 0.1 % constant of jump residual -ellipt->marker->strategy: 2 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS -ellipt->marker->MSGamma: 0.5 +ellipt->marker[0]->strategy: 2 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS +ellipt->marker[0]->MSGamma: 0.5 -ellipt->adapt->tolerance: 1e-4 -ellipt->adapt->max iteration: 10 -ellipt->adapt->refine bisections: 2 +ellipt->adapt[0]->tolerance: 1e-4 +ellipt->adapt[0]->refine bisections: 2 + +ellipt->adapt->max iteration: 10 ellipt->output->filename: output/ellipt ellipt->output->ParaView format: 1 diff --git a/demo/init/ellipt.dat.2d b/demo/init/ellipt.dat.2d index 2cce76214818ac5317f11e8d718da0c14763fe8d..838443899cb245a946749ded63bb95d47f7e23ae 100644 --- a/demo/init/ellipt.dat.2d +++ b/demo/init/ellipt.dat.2d @@ -6,6 +6,7 @@ elliptMesh->global refinements: 0 ellipt->mesh: elliptMesh ellipt->dim: 2 ellipt->polynomial degree: 1 +ellipt->components: 1 ellipt->solver: cg ellipt->solver->max iteration: 1000 @@ -14,17 +15,18 @@ ellipt->solver->info: 2 ellipt->solver->left precon: diag ellipt->solver->right precon: no -ellipt->estimator: residual -ellipt->estimator->error norm: 1 % 1: H1_NORM, 2: L2_NORM -ellipt->estimator->C0: 0.1 % constant of element residual -ellipt->estimator->C1: 0.1 % constant of jump residual +ellipt->estimator[0]: residual +ellipt->estimator[0]->error norm: 1 % 1: H1_NORM, 2: L2_NORM +ellipt->estimator[0]->C0: 0.1 % constant of element residual +ellipt->estimator[0]->C1: 0.1 % constant of jump residual -ellipt->marker->strategy: 2 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS -ellipt->marker->MSGamma: 0.5 +ellipt->marker[0]->strategy: 2 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS +ellipt->marker[0]->MSGamma: 0.5 -ellipt->adapt->tolerance: 1e-4 -ellipt->adapt->max iteration: 10 -ellipt->adapt->refine bisections: 2 +ellipt->adapt[0]->tolerance: 1e-4 +ellipt->adapt[0]->refine bisections: 2 + +ellipt->adapt->max iteration: 10 ellipt->output->filename: output/ellipt ellipt->output->ParaView format: 1 diff --git a/demo/init/ellipt.dat.3d b/demo/init/ellipt.dat.3d index 93be86c4a27722b0e0ce976739a4269830c3672d..202d7fa640060da43110c776ae71dd26f9258440 100644 --- a/demo/init/ellipt.dat.3d +++ b/demo/init/ellipt.dat.3d @@ -6,6 +6,7 @@ elliptMesh->global refinements: 0 ellipt->mesh: elliptMesh ellipt->dim: 3 ellipt->polynomial degree: 1 +ellipt->components: 1 ellipt->solver: cg ellipt->solver->max iteration: 1000 @@ -14,16 +15,17 @@ ellipt->solver->info: 2 ellipt->solver->left precon: diag ellipt->solver->right precon: no -ellipt->estimator: residual -ellipt->estimator->error norm: 1 % 1: H1_NORM, 2: L2_NORM -ellipt->estimator->C1: 0.01 % constant of jump residual +ellipt->estimator[0]: residual +ellipt->estimator[0]->error norm: 1 % 1: H1_NORM, 2: L2_NORM +ellipt->estimator[0]->C1: 0.01 % constant of jump residual -ellipt->marker->strategy: 2 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS -ellipt->marker->MSGamma: 0.5 +ellipt->marker[0]->strategy: 2 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS +ellipt->marker[0]->MSGamma: 0.5 -ellipt->adapt->tolerance: 1e-4 -ellipt->adapt->max iteration: 10 -ellipt->adapt->refine bisections: 2 +ellipt->adapt[0]->tolerance: 1e-4 +ellipt->adapt[0]->refine bisections: 2 + +ellipt->adapt->max iteration: 10 ellipt->output->filename: output/ellipt ellipt->output->ParaView format: 1 diff --git a/demo/init/heat.dat.1d b/demo/init/heat.dat.1d index 1776487c0406d4b56921d7af0731a8686a8b5aaf..23191b98dc49cfd858bf42a5ea43b841b79feb2f 100644 --- a/demo/init/heat.dat.1d +++ b/demo/init/heat.dat.1d @@ -7,6 +7,8 @@ heat->space->polynomial degree: 1 heat->space->dim: 1 heat->space->mesh: heatMesh +heat->space->components: 1 + heat->space->solver: cg heat->space->solver->max iteration: 1000 heat->space->solver->tolerance: 1.e-8 @@ -14,10 +16,10 @@ heat->space->solver->info: 8 heat->space->solver->left precon: diag heat->space->solver->right precon: no -heat->space->estimator: residual -heat->space->estimator->C0: 1.0 -heat->space->estimator->C1: 1.0 -heat->space->estimator->C3: 1.0 +heat->space->estimator[0]: residual +heat->space->estimator[0]->C0: 1.0 +heat->space->estimator[0]->C1: 1.0 +heat->space->estimator[0]->C3: 1.0 heat->theta: 1.0 @@ -25,19 +27,19 @@ heat->adapt->timestep: 0.01 heat->adapt->start time: 0.0 heat->adapt->end time: 1.0 -heat->adapt->tolerance: 0.01 -heat->adapt->time tolerance: 0.01 +heat->adapt[0]->tolerance: 0.01 +heat->adapt[0]->time tolerance: 0.01 heat->adapt->strategy: 1 % 0=explicit, 1=implicit heat->adapt->max iteration: 2 -heat->adapt->coarsen allowed: 1 -heat->adapt->refine bisections: 1 -heat->adapt->coarsen bisections: 1 +heat->adapt[0]->coarsen allowed: 1 +heat->adapt[0]->refine bisections: 1 +heat->adapt[0]->coarsen bisections: 1 -heat->space->marker->strategy: 3 % 0=none, 1=GR, 2=MS, 3=ES, 4=GERS -heat->space->marker->ESTheta: 0.9 -heat->space->marker->ESThetaC: 0.05 +heat->space->marker[0]->strategy: 3 % 0=none, 1=GR, 2=MS, 3=ES, 4=GERS +heat->space->marker[0]->ESTheta: 0.9 +heat->space->marker[0]->ESThetaC: 0.05 heat->space->output->filename: output/heat heat->space->output->ParaView format: 1 diff --git a/demo/init/heat.dat.2d b/demo/init/heat.dat.2d index 4c865d0aaa99caecddb2f2516cfa75d394d24131..de30cd6d32cde64a43d0c05ec68097e8f300dde8 100644 --- a/demo/init/heat.dat.2d +++ b/demo/init/heat.dat.2d @@ -3,10 +3,12 @@ dimension of world: 2 heatMesh->macro file name: ./macro/macro.stand.2d heatMesh->global refinements: 0 -heat->space->polynomial degree: 1 +heat->space->polynomial degree[0]: 1 heat->space->dim: 2 heat->space->mesh: heatMesh +heat->space->components: 1 + heat->space->solver: cg heat->space->solver->max iteration: 1000 heat->space->solver->tolerance: 1.e-8 @@ -14,10 +16,10 @@ heat->space->solver->info: 2 heat->space->solver->left precon: diag heat->space->solver->right precon: no -heat->space->estimator: residual -heat->space->estimator->C0: 1.0 -heat->space->estimator->C1: 1.0 -heat->space->estimator->C3: 1.0 +heat->space->estimator[0]: residual +heat->space->estimator[0]->C0: 1.0 +heat->space->estimator[0]->C1: 1.0 +heat->space->estimator[0]->C3: 1.0 heat->theta: 1.0 @@ -25,19 +27,19 @@ heat->adapt->timestep: 0.1 heat->adapt->start time: 0.0 heat->adapt->end time: 1.0 -heat->adapt->tolerance: 0.05 -heat->adapt->time tolerance: 0.05 +heat->adapt[0]->tolerance: 0.05 +heat->adapt[0]->time tolerance: 0.05 heat->adapt->strategy: 1 % 0=explicit, 1=implicit heat->adapt->max iteration: 100 -heat->adapt->coarsen allowed: 1 -heat->adapt->refine bisections: 2 -heat->adapt->coarsen bisections: 2 +heat->adapt[0]->coarsen allowed: 1 +heat->adapt[0]->refine bisections: 2 +heat->adapt[0]->coarsen bisections: 2 -heat->space->marker->strategy: 2 % 0=none, 1=GR, 2=MS, 3=ES, 4=GERS -heat->space->marker->MSGamma: 0.5 -heat->space->marker->MSGammaC: 0.1 +heat->space->marker[0]->strategy: 2 % 0=none, 1=GR, 2=MS, 3=ES, 4=GERS +heat->space->marker[0]->MSGamma: 0.5 +heat->space->marker[0]->MSGammaC: 0.1 heat->space->output->filename: output/heat heat->space->output->ParaView format: 1 diff --git a/demo/init/heat.dat.3d b/demo/init/heat.dat.3d index 986c01f6bfb107836444ea16f8c7692e1da06fad..cad89be7b817a45966bdd2d843500ef9e2803e4e 100644 --- a/demo/init/heat.dat.3d +++ b/demo/init/heat.dat.3d @@ -14,10 +14,10 @@ heat->space->solver->info: 2 heat->space->solver->left precon: no heat->space->solver->right precon: no -heat->space->estimator: residual -heat->space->estimator->C0: 1.0 -heat->space->estimator->C1: 1.0 -heat->space->estimator->C3: 1.0 +heat->space->estimator[0]: residual +heat->space->estimator[0]->C0: 1.0 +heat->space->estimator[0]->C1: 1.0 +heat->space->estimator[0]->C3: 1.0 heat->theta: 1.0 @@ -25,20 +25,19 @@ heat->adapt->timestep: 0.01 heat->adapt->start time: 0.0 heat->adapt->end time: 1.0 -heat->adapt->tolerance: 0.01 -heat->adapt->time tolerance: 0.01 +heat->adapt[0]->tolerance: 0.01 +heat->adapt[0]->time tolerance: 0.01 heat->adapt->strategy: 1 % 0=explicit, 1=implicit heat->adapt->max iteration: 2 -heat->adapt->strategy: 3 % 0=none, 1=GR, 2=MS, 3=ES, 4=GERS -heat->adapt->ESTheta: 0.9 -heat->adapt->ESThetaC: 0.05 +heat->adapt[0]->coarsen allowed: 1 +heat->adapt[0]->refine bisections: 3 +heat->adapt[0]->coarsen bisections: 3 - -heat->adapt->coarsen allowed: 1 -heat->adapt->refine bisections: 3 -heat->adapt->coarsen bisections: 3 +heat->space->marker[0]->strategy: 3 % 0=none, 1=GR, 2=MS, 3=ES, 4=GERS +heat->space->marker[0]->ESTheta: 0.9 +heat->space->marker[0]->ESThetaC: 0.05 heat->space->output->filename: output/heat heat->space->output->ParaView format: 1 diff --git a/demo/init/neumann.dat.2d b/demo/init/neumann.dat.2d index ef5a47f09e6a97cf0401c7f197b84f6909cf168e..9b970fd7cb6f0fb178fb8ec8f242b2b6e570eb8a 100644 --- a/demo/init/neumann.dat.2d +++ b/demo/init/neumann.dat.2d @@ -6,23 +6,25 @@ neumannMesh->global refinements: 0 neumann->mesh: neumannMesh neumann->dim: 2 neumann->polynomial degree: 1 +neumann->components: 1 neumann->solver: cg neumann->solver->max iteration: 1000 neumann->solver->tolerance: 1.e-8 neumann->solver->left precon: diag -neumann->estimator: residual -neumann->estimator->error norm: 2 % 1: H1_NORM, 2: L2_NORM -neumann->estimator->C0: 1.0 % constant of element residual -neumann->estimator->C1: 1.0 % constant of jump residual +neumann->estimator[0]: residual +neumann->estimator[0]->error norm: 2 % 1: H1_NORM, 2: L2_NORM +neumann->estimator[0]->C0: 1.0 % constant of element residual +neumann->estimator[0]->C1: 1.0 % constant of jump residual -neumann->marker->strategy: 2 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS -neumann->marker->MSGamma: 0.5 +neumann->marker[0]->strategy: 2 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS +neumann->marker[0]->MSGamma: 0.5 -neumann->adapt->tolerance: 1e-2 -neumann->adapt->max iteration: 100 -neumann->adapt->refine bisections: 2 +neumann->adapt[0]->tolerance: 1e-2 +neumann->adapt[0]->refine bisections: 2 + +neumann->adapt->max iteration: 100 neumann->output->filename: output/neumann neumann->output->ParaView format: 1 diff --git a/demo/init/parametric.dat.3d b/demo/init/parametric.dat.3d index 67962d5e2d1bfe37228f3f19c9d55c485596d9eb..4e78697109cfb78c1a61726ad00951359510d717 100644 --- a/demo/init/parametric.dat.3d +++ b/demo/init/parametric.dat.3d @@ -6,6 +6,7 @@ parametricMesh->global refinements: 0 parametric->mesh: parametricMesh parametric->dim: 2 parametric->polynomial degree: 2 +parametric->components: 1 parametric->solver: cg parametric->solver->max iteration: 100 @@ -14,17 +15,18 @@ parametric->solver->info: 2 parametric->solver->left precon: diag parametric->solver->right precon: no -parametric->estimator: residual % residual, recovery -parametric->estimator->error norm: 1 % 1: H1_NORM, 2: L2_NORM -parametric->estimator->C1: 0.1 % constant of jump residual +parametric->estimator[0]: residual % residual, recovery +parametric->estimator[0]->error norm: 1 % 1: H1_NORM, 2: L2_NORM +parametric->estimator[0]->C1: 0.1 % constant of jump residual -parametric->marker->strategy: 2 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS -parametric->marker->MSGamma: 0.5 +parametric->marker[0]->strategy: 2 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS +parametric->marker[0]->MSGamma: 0.5 -parametric->adapt->tolerance: 1e-8 -parametric->adapt->refine bisections: 1 -parametric->adapt->max iteration: 8 -parametric->adapt->info: 8 +parametric->adapt[0]->tolerance: 1e-8 +parametric->adapt[0]->refine bisections: 1 +parametric->adapt[0]->info: 8 + +parametric->adapt->max iteration: 8 parametric->output->filename: parametric parametric->output->ParaView format: 1 diff --git a/demo/init/periodic.dat.1d b/demo/init/periodic.dat.1d index b7929bd640b50625389b298cbee00f05f0222379..1a0009978d450d16cfb5a890306b92b8b544298e 100644 --- a/demo/init/periodic.dat.1d +++ b/demo/init/periodic.dat.1d @@ -7,6 +7,7 @@ periodicMesh->global refinements: 0 periodic->mesh: periodicMesh periodic->dim: 1 periodic->polynomial degree: 1 +periodic->components: 1 periodic->solver: cg periodic->solver->max iteration: 1000 @@ -15,18 +16,19 @@ periodic->solver->info: 2 periodic->solver->left precon: diag periodic->solver->right precon: no -periodic->estimator: residual -periodic->estimator->error norm: 1 % 1: H1_NORM, 2: L2_NORM -periodic->estimator->C0: 0.1 % constant of element residual -periodic->estimator->C1: 0.0 % constant of jump residual +periodic->estimator[0]: residual +periodic->estimator[0]->error norm: 1 % 1: H1_NORM, 2: L2_NORM +periodic->estimator[0]->C0: 0.1 % constant of element residual +periodic->estimator[0]->C1: 0.0 % constant of jump residual -periodic->marker->strategy: 2 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS -periodic->marker->MSGamma: 0.5 +periodic->marker[0]->strategy: 2 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS +periodic->marker[0]->MSGamma: 0.5 -periodic->adapt->tolerance: 1e-6 -periodic->adapt->max iteration: 14 -periodic->adapt->refine bisections: 2 -periodic->adapt->coarsen allowed: 0 +periodic->adapt[0]->tolerance: 1e-6 +periodic->adapt[0]->refine bisections: 2 +periodic->adapt[0]->coarsen allowed: 0 + +periodic->adapt->max iteration: 14 periodic->output->filename: periodic periodic->output->ParaView format: 1 diff --git a/demo/init/periodic.dat.2d b/demo/init/periodic.dat.2d index d07bccd208b2cd5e4fbbba991859e9f199fda094..9d65cc669237a1bd4b1e72aef93d8053c1f23307 100644 --- a/demo/init/periodic.dat.2d +++ b/demo/init/periodic.dat.2d @@ -7,6 +7,7 @@ periodicMesh->global refinements: 0 periodic->mesh: periodicMesh periodic->dim: 2 periodic->polynomial degree: 1 +periodic->components: 1 periodic->solver: cg periodic->solver->max iteration: 1000 @@ -15,18 +16,19 @@ periodic->solver->info: 2 periodic->solver->left precon: diag periodic->solver->right precon: no -periodic->estimator: residual -periodic->estimator->error norm: 1 % 1: H1_NORM, 2: L2_NORM -periodic->estimator->C0: 0.1 % constant of element residual -periodic->estimator->C1: 0.0 % constant of jump residual +periodic->estimator[0]: residual +periodic->estimator[0]->error norm: 1 % 1: H1_NORM, 2: L2_NORM +periodic->estimator[0]->C0: 0.1 % constant of element residual +periodic->estimator[0]->C1: 0.0 % constant of jump residual -periodic->marker->strategy: 2 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS -periodic->marker->MSGamma: 0.5 +periodic->marker[0]->strategy: 2 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS +periodic->marker[0]->MSGamma: 0.5 -periodic->adapt->tolerance: 1e-2 -periodic->adapt->max iteration: 100 -periodic->adapt->refine bisections: 2 -periodic->adapt->coarsen allowed: 0 +periodic->adapt[0]->tolerance: 1e-2 +periodic->adapt[0]->refine bisections: 2 +periodic->adapt[0]->coarsen allowed: 0 + +periodic->adapt->max iteration: 100 periodic->output->filename: output/periodic periodic->output->ParaView format: 1 diff --git a/demo/init/periodic.dat.3d b/demo/init/periodic.dat.3d index f2537c79a7b6379040afe5aab718a37b060b1f77..5f99af347ffe6d65b235480ea58717ebc3be6721 100644 --- a/demo/init/periodic.dat.3d +++ b/demo/init/periodic.dat.3d @@ -7,6 +7,7 @@ periodicMesh->global refinements: 0 periodic->mesh: periodicMesh periodic->dim: 3 periodic->polynomial degree: 1 +periodic->components: 1 periodic->solver: cg periodic->solver->max iteration: 1000 @@ -15,18 +16,19 @@ periodic->solver->info: 2 periodic->solver->left precon: diag periodic->solver->right precon: no -periodic->estimator: residual -periodic->estimator->error norm: 1 % 1: H1_NORM, 2: L2_NORM -periodic->estimator->C0: 0.1 % constant of element residual -periodic->estimator->C1: 0.0 % constant of jump residual +periodic->estimator[0]: residual +periodic->estimator[0]->error norm: 1 % 1: H1_NORM, 2: L2_NORM +periodic->estimator[0]->C0: 0.1 % constant of element residual +periodic->estimator[0]->C1: 0.0 % constant of jump residual -periodic->marker->strategy: 2 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS -periodic->marker->MSGamma: 0.5 +periodic->marker[0]->strategy: 2 % 0: no adaption 1: GR 2: MS 3: ES 4:GERS +periodic->marker[0]->MSGamma: 0.5 -periodic->adapt->tolerance: 1e-6 -periodic->adapt->max iteration: 100 -periodic->adapt->refine bisections: 3 -periodic->adapt->coarsen allowed: 0 +periodic->adapt[0]->tolerance: 1e-6 +periodic->adapt[0]->refine bisections: 3 +periodic->adapt[0]->coarsen allowed: 0 + +periodic->adapt->max iteration: 100 periodic->output->filename: periodic periodic->output->ParaView format: 1 diff --git a/demo/init/sphere.dat.3d b/demo/init/sphere.dat.3d index 8eb23bf68d800188d282a29eb521b65650d3cd84..95644365d48d4a51b659b5b5d52d1d439f23f102 100644 --- a/demo/init/sphere.dat.3d +++ b/demo/init/sphere.dat.3d @@ -6,14 +6,15 @@ sphereMesh->global refinements: 10 sphere->mesh: sphereMesh sphere->dim: 2 sphere->polynomial degree: 1 +sphere->components: 1 sphere->solver: cg sphere->solver->max iteration: 100 sphere->solver->tolerance: 1.e-8 sphere->solver->left precon: diag -sphere->estimator: 0 -sphere->marker->strategy: 0 +sphere->estimator[0]: 0 +sphere->marker[0]->strategy: 0 sphere->output->filename: output/sphere sphere->output->ParaView format: 1 diff --git a/demo/init/torus.dat.3d b/demo/init/torus.dat.3d index 22ea8574e4fef7dbed823622e92053c16f3a50ab..101c266d060f755a68c7cb54ac27a157792ee67b 100644 --- a/demo/init/torus.dat.3d +++ b/demo/init/torus.dat.3d @@ -6,13 +6,15 @@ torusMesh->global refinements: 8 torus->mesh: torusMesh torus->dim: 2 torus->polynomial degree: 1 +torus->components: 1 torus->solver: cg torus->solver->max iteration: 1000 torus->solver->tolerance: 1.e-8 torus->solver->left precon: diag -torus->estimator: 0 -torus->marker->strategy: 0 + +torus->estimator[0]: 0 +torus->marker[0]->strategy: 0 torus->output->filename: output/torus torus->output->ParaView format: 1 diff --git a/demo/init/vecheat.dat.3d b/demo/init/vecheat.dat.3d index 95a3950f75d719d29d4bdc246ae444ab9575f104..9f533d9022b5cbd4904a6b6d12bb7e5e34dfb826 100644 --- a/demo/init/vecheat.dat.3d +++ b/demo/init/vecheat.dat.3d @@ -29,8 +29,8 @@ vecheat->space->estimator[1]->C3: 1.0 vecheat->theta: 1.0 -vecheat->adapt->refine bisections: 2 -vecheat->adapt->coarsen bisections: 2 +vecheat->adapt->refine bisections: 2 +vecheat->adapt->coarsen bisections: 2 vecheat->adapt[0]->tolerance: 0.001 vecheat->adapt[0]->tolerance: 0.001 diff --git a/demo/src/ball.cc b/demo/src/ball.cc index 49c8258d7a49273958540cc5e2565f261d01a55f..b3b244ea5c8434bc7f586216b1bbd71ec5ad7d9b 100644 --- a/demo/src/ball.cc +++ b/demo/src/ball.cc @@ -58,7 +58,7 @@ int main(int argc, char* argv[]) 1.0); // ===== create and init the scalar problem ===== - ProblemScal ball("ball"); + ProblemStat ball("ball"); ball.initialize(INIT_ALL); // === create adapt info === @@ -69,17 +69,17 @@ int main(int argc, char* argv[]) // ===== create matrix operator ===== Operator matrixOperator(ball.getFeSpace()); - matrixOperator.addSecondOrderTerm(new Laplace_SOT); - ball.addMatrixOperator(&matrixOperator); + matrixOperator.addSecondOrderTerm(new Simple_SOT); + ball.addMatrixOperator(&matrixOperator, 0, 0); // ===== create rhs operator ===== int degree = ball.getFeSpace()->getBasisFcts()->getDegree(); Operator rhsOperator(ball.getFeSpace()); rhsOperator.addZeroOrderTerm(new CoordsAtQP_ZOT(new F(degree))); - ball.addVectorOperator(&rhsOperator); + ball.addVectorOperator(&rhsOperator, 0); // ===== add boundary conditions ===== - ball.addDirichletBC(1, new G); + ball.addDirichletBC(1, 0, 0, new G); // ===== start adaption loop ===== adapt->adapt(); diff --git a/demo/src/bunny.cc b/demo/src/bunny.cc index 0185691cb5863234de0cae761e9104c28197f1c7..883019560904878498294d1f9ccc0ad5d83a4140 100644 --- a/demo/src/bunny.cc +++ b/demo/src/bunny.cc @@ -52,7 +52,7 @@ int main(int argc, char* argv[]) new BallProject(1, VOLUME_PROJECTION, ballCenter, 1.0); // ===== create and init the scalar problem ===== - ProblemScal bunny("bunny"); + ProblemStat bunny("bunny"); bunny.initialize(INIT_ALL); // === create adapt info === @@ -63,8 +63,8 @@ int main(int argc, char* argv[]) // ===== create matrix operator ===== Operator matrixOperator(bunny.getFeSpace()); - matrixOperator.addSecondOrderTerm(new Laplace_SOT); - bunny.addMatrixOperator(&matrixOperator); + matrixOperator.addSecondOrderTerm(new Simple_SOT); + bunny.addMatrixOperator(&matrixOperator, 0, 0); // ===== create rhs operator ===== Operator rhsOperator(bunny.getFeSpace()); @@ -72,7 +72,7 @@ int main(int argc, char* argv[]) int degree = bunny.getFeSpace()->getBasisFcts()->getDegree(); rhsOperator.addZeroOrderTerm(new CoordsAtQP_ZOT(new F(degree))); - bunny.addVectorOperator(&rhsOperator); + bunny.addVectorOperator(&rhsOperator, 0); // ===== start adaption loop ===== adapt->adapt(); diff --git a/demo/src/ellipt.cc b/demo/src/ellipt.cc index 906968953a43b25a347304887079cac819e22bec..c737ba5f8520bb7a97e18e964abcee91845709a6 100644 --- a/demo/src/ellipt.cc +++ b/demo/src/ellipt.cc @@ -53,7 +53,7 @@ int main(int argc, char* argv[]) // ===== create and init the scalar problem ===== - ProblemScal ellipt("ellipt"); + ProblemStat ellipt("ellipt"); ellipt.initialize(INIT_ALL); @@ -67,19 +67,19 @@ int main(int argc, char* argv[]) // ===== create matrix operator ===== Operator matrixOperator(ellipt.getFeSpace()); - matrixOperator.addSecondOrderTerm(new Laplace_SOT); - ellipt.addMatrixOperator(matrixOperator); + matrixOperator.addSecondOrderTerm(new Simple_SOT); + ellipt.addMatrixOperator(matrixOperator, 0, 0); // ===== create rhs operator ===== int degree = ellipt.getFeSpace()->getBasisFcts()->getDegree(); Operator rhsOperator(ellipt.getFeSpace()); rhsOperator.addZeroOrderTerm(new CoordsAtQP_ZOT(new F(degree))); - ellipt.addVectorOperator(rhsOperator); + ellipt.addVectorOperator(rhsOperator, 0); // ===== add boundary conditions ===== - ellipt.addDirichletBC(1, new G); + ellipt.addDirichletBC(1, 0, 0, new G); // ===== start adaption loop ===== diff --git a/demo/src/heat.cc b/demo/src/heat.cc index 5debfdf7eaf728f8e9b66e62b3d06f194ecfa69e..c253bdde66b5efcacd982f73a9023c548ea2f6e8 100644 --- a/demo/src/heat.cc +++ b/demo/src/heat.cc @@ -43,15 +43,15 @@ public: // =========================================================================== /// Instationary problem -class Heat : public ProblemInstatScal +class Heat : public ProblemInstat { public: - Heat(ProblemScal &heatSpace) - : ProblemInstatScal("heat", heatSpace) + Heat(ProblemStat &heatSpace) + : ProblemInstat("heat", heatSpace) { // init theta scheme theta = -1.0; - GET_PARAMETER(0, name + "->theta", "%f", &theta); + Parameters::get(name + "->theta", theta); TEST_EXIT(theta >= 0)("theta not set!\n"); if (theta == 0.0) { WARNING("You are using the explicit Euler scheme\n"); @@ -72,7 +72,7 @@ public: void closeTimestep(AdaptInfo *adaptInfo) { - ProblemInstatScal::closeTimestep(adaptInfo); + ProblemInstat::closeTimestep(adaptInfo); WAIT; } @@ -81,7 +81,7 @@ public: /// Used by \ref problemInitial to solve the system of the initial problem void solve(AdaptInfo *adaptInfo) { - problemStat->getSolution()->interpol(exactSolution); + problemStat->getSolution(0)->interpol(exactSolution); } /// Used by \ref problemInitial to do error estimation for the initial problem. @@ -90,7 +90,7 @@ public: double errMax, errSum; errSum = Error<double>::L2Err(*exactSolution, - *(problemStat->getSolution()), 0, &errMax, false); + *(problemStat->getSolution(0)), 0, &errMax, false); adaptInfo->setEstSum(errSum, 0); adaptInfo->setEstMax(errMax, 0); } @@ -152,7 +152,7 @@ int main(int argc, char** argv) // ===== create and init stationary problem ===== - ProblemScal heatSpace("heat->space"); + ProblemStat heatSpace("heat->space"); heatSpace.initialize(INIT_ALL); @@ -186,31 +186,31 @@ int main(int argc, char** argv) // create laplace Operator A(heatSpace.getFeSpace()); - A.addSecondOrderTerm(new Laplace_SOT); - A.setUhOld(heat.getOldSolution()); + A.addSecondOrderTerm(new Simple_SOT); + A.setUhOld(heat.getOldSolution(0)); if (*(heat.getThetaPtr()) != 0.0) - heatSpace.addMatrixOperator(A, heat.getThetaPtr(), &one); + heatSpace.addMatrixOperator(A, 0, 0, heat.getThetaPtr(), &one); if (*(heat.getTheta1Ptr()) != 0.0) - heatSpace.addVectorOperator(A, heat.getTheta1Ptr(), &zero); + heatSpace.addVectorOperator(A, 0, heat.getTheta1Ptr(), &zero); // create zero order operator Operator C(heatSpace.getFeSpace()); C.addZeroOrderTerm(new Simple_ZOT); - C.setUhOld(heat.getOldSolution()); - heatSpace.addMatrixOperator(C, heat.getInvTau(), heat.getInvTau()); - heatSpace.addVectorOperator(C, heat.getInvTau(), heat.getInvTau()); + C.setUhOld(heat.getOldSolution(0)); + heatSpace.addMatrixOperator(C, 0, 0, heat.getInvTau(), heat.getInvTau()); + heatSpace.addVectorOperator(C, 0, heat.getInvTau(), heat.getInvTau()); // create RHS operator Operator F(heatSpace.getFeSpace()); F.addZeroOrderTerm(new CoordsAtQP_ZOT(rhsFct)); - heatSpace.addVectorOperator(F); + heatSpace.addVectorOperator(F, 0); // ===== create boundary functions ===== G *boundaryFct = new G; boundaryFct->setTimePtr(heat.getTime()); heat.setExactSolution(boundaryFct); - heatSpace.addDirichletBC(1, boundaryFct); + heatSpace.addDirichletBC(1, 0, 0, boundaryFct); // ===== start adaption loop ===== diff --git a/demo/src/neumann.cc b/demo/src/neumann.cc index 88990c8fba3428c612a22218e6b00723e40561d1..95a8062e720312e7f465840ab5cbd41476d0c3db 100644 --- a/demo/src/neumann.cc +++ b/demo/src/neumann.cc @@ -51,7 +51,7 @@ int main(int argc, char* argv[]) Parameters::init(true, argv[1]); // ===== create and init the scalar problem ===== - ProblemScal neumann("neumann"); + ProblemStat neumann("neumann"); neumann.initialize(INIT_ALL); // === create adapt info === @@ -64,18 +64,18 @@ int main(int argc, char* argv[]) // ===== create matrix operator ===== Operator matrixOperator(neumann.getFeSpace()); - matrixOperator.addSecondOrderTerm(new Laplace_SOT); - neumann.addMatrixOperator(&matrixOperator); + matrixOperator.addSecondOrderTerm(new Simple_SOT); + neumann.addMatrixOperator(&matrixOperator, 0, 0); // ===== create rhs operator ===== int degree = neumann.getFeSpace()->getBasisFcts()->getDegree(); Operator rhsOperator(neumann.getFeSpace()); rhsOperator.addZeroOrderTerm(new CoordsAtQP_ZOT(new F(degree))); - neumann.addVectorOperator(&rhsOperator); + neumann.addVectorOperator(&rhsOperator, 0); // ===== add boundary conditions ===== - neumann.addNeumannBC(1, new N); - neumann.addDirichletBC(2, new G); + neumann.addNeumannBC(1, 0, 0, new N); + neumann.addDirichletBC(2, 0, 0, new G); // ===== start adaption loop ===== adapt->adapt(); diff --git a/demo/src/parametric.cc b/demo/src/parametric.cc index 6caa3a419f5c3deb936a941697f414fe8c1dcef6..60b06b8e043032a7003352bec85912c401257082 100644 --- a/demo/src/parametric.cc +++ b/demo/src/parametric.cc @@ -25,12 +25,12 @@ public: * coordinates for the vertices are filled in a DOFVector. This DOFVector is * used in \ref parametric to parametrize elements while mesh traversal. */ -class ParametricSphere : public ProblemScal +class ParametricSphere : public ProblemStat { public: /// constructor ParametricSphere(const char *name) - : ProblemScal(name), + : ProblemStat(name), parametric(NULL) {} @@ -45,10 +45,10 @@ public: /// initialization of the base class and creation of \ref parametric. void initialize(Flag initFlag, - ProblemScal *adoptProblem = NULL, + ProblemStat *adoptProblem = NULL, Flag adoptFlag = INIT_NOTHING) { - ProblemScal::initialize(initFlag, adoptProblem, adoptFlag); + ProblemStat::initialize(initFlag, adoptProblem, adoptFlag); // ===== create projection ===== WorldVector<double> ballCenter; @@ -142,16 +142,16 @@ int main(int argc, char* argv[]) // ===== create matrix operator ===== Operator matrixOperator(parametric.getFeSpace()); - matrixOperator.addSecondOrderTerm(new Laplace_SOT); - parametric.addMatrixOperator(&matrixOperator); + matrixOperator.addSecondOrderTerm(new Simple_SOT); + parametric.addMatrixOperator(&matrixOperator, 0, 0); // ===== create rhs operator ===== - Operator rhsOperator( parametric.getFeSpace()); + Operator rhsOperator(parametric.getFeSpace()); int degree = parametric.getFeSpace()->getBasisFcts()->getDegree(); rhsOperator.addZeroOrderTerm(new CoordsAtQP_ZOT(new F(degree))); - parametric.addVectorOperator(&rhsOperator); + parametric.addVectorOperator(&rhsOperator, 0); // ===== start adaption loop ===== adapt->adapt(); diff --git a/demo/src/periodic.cc b/demo/src/periodic.cc index 314291d70a6ffceaf6a9b8ae79cb38b5c3e150b7..f2aaef1c74e29a05c109f64290aa3df08633f17f 100644 --- a/demo/src/periodic.cc +++ b/demo/src/periodic.cc @@ -41,7 +41,7 @@ int main(int argc, char* argv[]) Parameters::init(false, argv[1]); // ===== create and init the scalar problem ===== - ProblemScal periodic("periodic"); + ProblemStat periodic("periodic"); periodic.initialize(INIT_ALL); // === create adapt info === @@ -54,20 +54,20 @@ int main(int argc, char* argv[]) // ===== create matrix operator ===== Operator matrixOperator(periodic.getFeSpace()); - matrixOperator.addSecondOrderTerm(new Laplace_SOT); - periodic.addMatrixOperator(&matrixOperator); + matrixOperator.addSecondOrderTerm(new Simple_SOT); + periodic.addMatrixOperator(&matrixOperator, 0, 0); // ===== create rhs operator ===== int degree = periodic.getFeSpace()->getBasisFcts()->getDegree(); Operator rhsOperator(periodic.getFeSpace()); rhsOperator.addZeroOrderTerm(new CoordsAtQP_ZOT(new F(degree))); - periodic.addVectorOperator(&rhsOperator); + periodic.addVectorOperator(&rhsOperator, 0); // ===== add boundary conditions ===== - periodic.addDirichletBC(1, new G); + periodic.addDirichletBC(1, 0, 0, new G); // ===== add periodic conditions ===== - periodic.addPeriodicBC(-1); + periodic.addPeriodicBC(-1, 0, 0); // ===== start adaption loop ===== adapt->adapt(); diff --git a/demo/src/sphere.cc b/demo/src/sphere.cc index 7713b8fa04f2ff49b4ed10dd9a0e511bbd9a7304..adfbc588eb4d6fe34aafbd2d09d9e583f0768ab4 100644 --- a/demo/src/sphere.cc +++ b/demo/src/sphere.cc @@ -40,7 +40,7 @@ int main(int argc, char* argv[]) new BallProject(1, VOLUME_PROJECTION, ballCenter, 1.0); // ===== create and init the scalar problem ===== - ProblemScal sphere("sphere"); + ProblemStat sphere("sphere"); sphere.initialize(INIT_ALL); // === create adapt info === @@ -53,8 +53,8 @@ int main(int argc, char* argv[]) // ===== create matrix operator ===== Operator matrixOperator(sphere.getFeSpace()); - matrixOperator.addSecondOrderTerm(new Laplace_SOT); - sphere.addMatrixOperator(&matrixOperator); + matrixOperator.addSecondOrderTerm(new Simple_SOT); + sphere.addMatrixOperator(&matrixOperator, 0, 0); // ===== create rhs operator ===== Operator rhsOperator(sphere.getFeSpace()); @@ -62,7 +62,7 @@ int main(int argc, char* argv[]) int degree = sphere.getFeSpace()->getBasisFcts()->getDegree(); rhsOperator.addZeroOrderTerm(new CoordsAtQP_ZOT(new F(degree))); - sphere.addVectorOperator(&rhsOperator); + sphere.addVectorOperator(&rhsOperator, 0); // ===== start adaption loop ===== adapt->adapt(); diff --git a/demo/src/torus.cc b/demo/src/torus.cc index 7e9a20cba84f5cc2be3ba04991b80a84a7c99818..255c4cfbbfcb4ac73bea83d1337487a5ae37cf73 100644 --- a/demo/src/torus.cc +++ b/demo/src/torus.cc @@ -104,7 +104,7 @@ int main(int argc, char* argv[]) r2); // ===== create and init the scalar problem ===== - ProblemScal torus("torus"); + ProblemStat torus("torus"); torus.initialize(INIT_ALL); // === create adapt info === @@ -117,8 +117,8 @@ int main(int argc, char* argv[]) // ===== create matrix operator ===== Operator matrixOperator(torus.getFeSpace()); - matrixOperator.addSecondOrderTerm(new Laplace_SOT); - torus.addMatrixOperator(&matrixOperator); + matrixOperator.addSecondOrderTerm(new Simple_SOT); + torus.addMatrixOperator(&matrixOperator, 0, 0); // ===== create rhs operator ===== Operator rhsOperator(torus.getFeSpace()); @@ -127,7 +127,7 @@ int main(int argc, char* argv[]) F f(degree); rhsOperator.addZeroOrderTerm(new CoordsAtQP_ZOT(&f)); - torus.addVectorOperator(&rhsOperator); + torus.addVectorOperator(&rhsOperator, 0); // ===== start adaption loop ===== adapt->adapt(); @@ -135,7 +135,7 @@ int main(int argc, char* argv[]) torus.writeFiles(adaptInfo, true); - double rotation = M_PI/3.0; + double rotation = M_PI / 3.0; int dim = torus.getMesh()->getDim(); int dow = Global::getGeo(WORLD); diff --git a/demo/src/vecellipt.cc b/demo/src/vecellipt.cc index dedf5311cc2f89d6b8dad89742d6b4a158115516..25eaf548ea8383a3612469401c1401fb4efc006e 100644 --- a/demo/src/vecellipt.cc +++ b/demo/src/vecellipt.cc @@ -51,7 +51,7 @@ int main(int argc, char* argv[]) // ===== create and init the scalar problem ===== - ProblemVec vecellipt("vecellipt"); + ProblemStat vecellipt("vecellipt"); vecellipt.initialize(INIT_ALL); @@ -65,7 +65,7 @@ int main(int argc, char* argv[]) // ===== create matrix operators ===== Operator matrixOperator00(vecellipt.getFeSpace(0), vecellipt.getFeSpace(0)); - matrixOperator00.addSecondOrderTerm(new Laplace_SOT); + matrixOperator00.addSecondOrderTerm(new Simple_SOT); vecellipt.addMatrixOperator(matrixOperator00, 0, 0); Operator matrixOperator10(vecellipt.getFeSpace(1), vecellipt.getFeSpace(0)); diff --git a/demo/src/vecheat.cc b/demo/src/vecheat.cc index a1df991676de0ce9d6b1212e5e3a22665a863825..8c50f89ac5f05b3840f6a6ddf5531982ee04e0a7 100644 --- a/demo/src/vecheat.cc +++ b/demo/src/vecheat.cc @@ -43,17 +43,17 @@ public: // =========================================================================== /// Instationary problem -class Vecheat : public ProblemInstatVec +class Vecheat : public ProblemInstat { public: /// Constructor - Vecheat(ProblemVec &vecheatSpace) - : ProblemInstatVec("vecheat", vecheatSpace) + Vecheat(ProblemStat &vecheatSpace) + : ProblemInstat("vecheat", vecheatSpace) { // init theta scheme theta = -1.0; - GET_PARAMETER(0, name + "->theta", "%f", &theta); + Parameters::get(name + "->theta", theta); TEST_EXIT(theta >= 0)("theta not set!\n"); if (theta == 0.0) { WARNING("You are using the explicit Euler scheme\n"); @@ -197,7 +197,7 @@ int main(int argc, char** argv) Parameters::readArgv(argc, argv); // ===== create and init stationary problem ===== - ProblemVec vecheatSpace("vecheat->space"); + ProblemStat vecheatSpace("vecheat->space"); vecheatSpace.initialize(INIT_ALL); // ===== create instationary problem ===== @@ -232,11 +232,11 @@ int main(int argc, char** argv) // create laplace Operator A00 (vecheatSpace.getFeSpace(0), vecheatSpace.getFeSpace(0)); - A00.addSecondOrderTerm(new Laplace_SOT); + A00.addSecondOrderTerm(new Simple_SOT); A00.setUhOld(vecheat.getOldSolution()->getDOFVector(0)); Operator A11(vecheatSpace.getFeSpace(1), vecheatSpace.getFeSpace(1)); - A11.addSecondOrderTerm(new Laplace_SOT); + A11.addSecondOrderTerm(new Simple_SOT); A11.setUhOld(vecheat.getOldSolution()->getDOFVector(1)); if (*(vecheat.getThetaPtr()) != 0.0) {