diff --git a/extra/function/LICENSE b/extra/function/LICENSE
new file mode 100644
index 00000000..f288702d
--- /dev/null
+++ b/extra/function/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. 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
+them 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 prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. 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.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey 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;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If 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 convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU 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 that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ 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.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+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.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ 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
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ 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 3 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, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ Copyright (C)
+ This program 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, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU 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 Lesser General
+Public License instead of this License. But first, please read
+.
diff --git a/extra/function/README.md b/extra/function/README.md
new file mode 100644
index 00000000..b8fa074d
--- /dev/null
+++ b/extra/function/README.md
@@ -0,0 +1 @@
+# Analytical function solver module for Py2DMAT
diff --git a/extra/function/doc/.gitignore b/extra/function/doc/.gitignore
new file mode 100644
index 00000000..c795b054
--- /dev/null
+++ b/extra/function/doc/.gitignore
@@ -0,0 +1 @@
+build
\ No newline at end of file
diff --git a/extra/function/doc/common/img/himmelblau_mapper.pdf b/extra/function/doc/common/img/himmelblau_mapper.pdf
new file mode 100644
index 00000000..a950d0b9
Binary files /dev/null and b/extra/function/doc/common/img/himmelblau_mapper.pdf differ
diff --git a/extra/function/doc/common/img/himmelblau_mapper.png b/extra/function/doc/common/img/himmelblau_mapper.png
new file mode 100644
index 00000000..461c6cd3
Binary files /dev/null and b/extra/function/doc/common/img/himmelblau_mapper.png differ
diff --git a/extra/function/doc/en/Makefile b/extra/function/doc/en/Makefile
new file mode 100644
index 00000000..ed7c6d24
--- /dev/null
+++ b/extra/function/doc/en/Makefile
@@ -0,0 +1,20 @@
+# Minimal makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line.
+SPHINXOPTS =
+SPHINXBUILD = python -msphinx
+SPHINXPROJ = pyMC
+SOURCEDIR = source
+BUILDDIR = build
+
+# Put it first so that "make" without argument is like "make help".
+help:
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+
+.PHONY: help Makefile
+
+# Catch-all target: route all unknown targets to Sphinx using the new
+# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
+%: Makefile
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" -W $(SPHINXOPTS) $(O)
diff --git a/extra/function/doc/en/make.bat b/extra/function/doc/en/make.bat
new file mode 100644
index 00000000..36108d30
--- /dev/null
+++ b/extra/function/doc/en/make.bat
@@ -0,0 +1,36 @@
+@ECHO OFF
+
+pushd %~dp0
+
+REM Command file for Sphinx documentation
+
+if "%SPHINXBUILD%" == "" (
+ set SPHINXBUILD=python -msphinx
+)
+set SOURCEDIR=source
+set BUILDDIR=build
+set SPHINXPROJ=pyMC
+
+if "%1" == "" goto help
+
+%SPHINXBUILD% >NUL 2>NUL
+if errorlevel 9009 (
+ echo.
+ echo.The Sphinx module was not found. Make sure you have Sphinx installed,
+ echo.then set the SPHINXBUILD environment variable to point to the full
+ echo.path of the 'sphinx-build' executable. Alternatively you may add the
+ echo.Sphinx directory to PATH.
+ echo.
+ echo.If you don't have Sphinx installed, grab it from
+ echo.http://sphinx-doc.org/
+ exit /b 1
+)
+
+%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% -W %SPHINXOPTS%
+goto end
+
+:help
+%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
+
+:end
+popd
diff --git a/extra/function/doc/en/source/acknowledgement.rst b/extra/function/doc/en/source/acknowledgement.rst
new file mode 100644
index 00000000..5db6b52f
--- /dev/null
+++ b/extra/function/doc/en/source/acknowledgement.rst
@@ -0,0 +1,6 @@
+***************************
+Acknowledgements
+***************************
+
+The development of 2DMAT was supported by JSPS KAKENHI Grant Number 19H04125 "Unification of computational statistics and measurement technology by massively parallel machine"
+and "Project for advancement of software usability in materials science" (fiscal year 2020, 2021, 2024) of The Institute for Solid State Physics, The University of Tokyo.
diff --git a/extra/function/doc/en/source/conf.py b/extra/function/doc/en/source/conf.py
new file mode 100644
index 00000000..18a0da38
--- /dev/null
+++ b/extra/function/doc/en/source/conf.py
@@ -0,0 +1,190 @@
+# -*- coding: utf-8 -*-
+#
+# MateriApps-Installer documentation build configuration file, created by
+# sphinx-quickstart on Sun May 1 14:29:22 2020.
+#
+# This file is execfile()d with the current directory set to its
+# containing dir.
+#
+# Note that not all possible configuration values are present in this
+# autogenerated file.
+#
+# All configuration values have a default; values that are commented out
+# serve to show the default.
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+#
+# import os
+# import sys
+# sys.path.insert(0, os.path.abspath('.'))
+
+
+# -- General configuration ------------------------------------------------
+
+# If your documentation needs a minimal Sphinx version, state it here.
+#
+# needs_sphinx = '1.0'
+
+# Add any Sphinx extension module names here, as strings. They can be
+# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
+# ones.
+extensions = ['sphinx.ext.autodoc',
+ 'sphinx.ext.mathjax']
+
+# Add any paths that contain templates here, relative to this directory.
+templates_path = ['_templates']
+
+# The suffix(es) of source filenames.
+# You can specify multiple suffix as a list of string:
+#
+# source_suffix = ['.rst', '.md']
+source_suffix = '.rst'
+
+# The master toctree document.
+master_doc = 'index'
+
+# General information about the project.
+project = u'2DMAT solver module: Functions'
+copyright = u'2020, Institute for Solid State Physics, University of Tokyo'
+author = u'2DMAT Developer team'
+
+# The version info for the project you're documenting, acts as replacement for
+# |version| and |release|, also used in various other places throughout the
+# built documents.
+#
+# The short X.Y version.
+version = u'1.0'
+# The full version, including alpha/beta/rc tags.
+release = u'1.0-dev'
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+#
+# This is also used if you do content translation via gettext catalogs.
+# Usually you set "language" from the command line for these cases.
+language = 'en'
+
+# List of patterns, relative to source directory, that match files and
+# directories to ignore when looking for source files.
+# This patterns also effect to html_static_path and html_extra_path
+exclude_patterns = []
+
+# The name of the Pygments (syntax highlighting) style to use.
+pygments_style = 'sphinx'
+
+# If true, `todo` and `todoList` produce output, else they produce nothing.
+todo_include_todos = False
+
+
+# -- Options for HTML output ----------------------------------------------
+
+# The theme to use for HTML and HTML Help pages. See the documentation for
+# a list of builtin themes.
+#
+html_theme = 'haiku'
+
+# Theme options are theme-specific and customize the look and feel of a theme
+# further. For a list of options available for each theme, see the
+# documentation.
+#
+html_theme_options = {
+ # 'font_family': 'Helvetica',
+ # 'sidebar_search_button': 'pink_1'
+}
+
+# Custom sidebar templates, must be a dictionary that maps document names
+# to template names.
+#
+# This is required for the alabaster theme
+# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
+html_sidebars = {
+ '**': [
+ 'about.html',
+ 'navigation.html',
+ 'relations.html',
+ 'searchbox.html',
+ 'donate.html',
+ ]
+}
+
+
+# Add any paths that contain custom static files (such as style sheets) here,
+# relative to this directory. They are copied after the builtin static files,
+# so a file named "default.css" will overwrite the builtin "default.css".
+#html_static_path = ['_static']
+
+numfig = True
+
+# -- Options for HTMLHelp output ------------------------------------------
+
+# Output file base name for HTML help builder.
+htmlhelp_basename = '2DMATdoc'
+
+
+# -- Options for LaTeX output ---------------------------------------------
+
+# latex_engine = 'uplatex'
+
+latex_elements = {
+ # The paper size ('letterpaper' or 'a4paper').
+ #
+ # 'papersize': 'letterpaper',
+
+ # The font size ('10pt', '11pt' or '12pt').
+ #
+ # 'pointsize': '10pt',
+
+ # Additional stuff for the LaTeX preamble.
+ #
+ # 'preamble': '',
+
+ # Latex figure (float) alignment
+ #
+ # 'figure_align': 'htbp',
+}
+
+# Grouping the document tree into LaTeX files. List of tuples
+# (source start file, target name, title,
+# author, documentclass [howto, manual, or own class]).
+latex_documents = [
+ (master_doc, 'userguide_functions.tex', u'2DMAT Functions Documentation',
+ author, 'manual', 'True'),
+]
+
+
+# -- Options for manual page output ---------------------------------------
+
+# One entry per manual page. List of tuples
+# (source start file, name, description, authors, manual section).
+man_pages = [
+ (master_doc, '2dmat-functions', u'2DMAT Documentation',
+ [author], 1)
+]
+
+#latex_docclass = {'manual': 'jsbook'}
+
+# -- Options for Texinfo output -------------------------------------------
+
+# Grouping the document tree into Texinfo files. List of tuples
+# (source start file, target name, title, author,
+# dir menu entry, description, category)
+texinfo_documents = [
+ (master_doc, '2dmat-functions', u'2DMAT Documentation',
+ author, '2DMAT', 'One line description of project.',
+ 'Miscellaneous'),
+]
+
+html_sidebars = {
+ '**': [
+ 'about.html',
+ 'navigation.html',
+ 'relations.html',
+ 'searchbox.html',
+ 'donate.html',
+ ]
+}
+
+
+
diff --git a/extra/function/doc/en/source/contact.rst b/extra/function/doc/en/source/contact.rst
new file mode 100644
index 00000000..b27117bf
--- /dev/null
+++ b/extra/function/doc/en/source/contact.rst
@@ -0,0 +1,22 @@
+Contact
+=========================================
+
+- Bug Reports
+
+ Please report all problems and bugs on the github `Issues `_ page.
+
+ To resolve bugs early, follow these guidelines when reporting:
+
+ 1. Please specify the version of 2DMAT and 2DMAT-Functions you are using.
+
+ 2. If there are problems for installation, please inform us about your operating system and the compiler.
+
+ 3. If a problem occurs during execution, enter the input file used for execution and its output.
+
+ Thank you for your cooperation.
+
+- Others
+
+ If you have any questions about your research that are difficult to consult at Issues on GitHub, please send an e-mail to the following address:
+
+ E-mail: ``2dmat-dev__at__issp.u-tokyo.ac.jp`` (replace _at_ by @)
diff --git a/extra/function/doc/en/source/index.rst b/extra/function/doc/en/source/index.rst
new file mode 100644
index 00000000..47a80e4c
--- /dev/null
+++ b/extra/function/doc/en/source/index.rst
@@ -0,0 +1,26 @@
+.. 2dmat documentation master file, created by
+ sphinx-quickstart on Tue May 26 18:44:52 2020.
+ You can adapt this file completely to your liking, but it should at least
+ contain the root `toctree` directive.
+
+Welcome to 2DMAT's documentation!
+==================================
+
+.. toctree::
+ :maxdepth: 2
+ :caption: Contents:
+
+ introduction
+ install
+ tutorial/index
+ solver
+ acknowledgement
+ contact
+
+..
+ input
+ output
+ algorithm/index
+ solver/index
+ tool
+ customize/index
diff --git a/extra/function/doc/en/source/install.rst b/extra/function/doc/en/source/install.rst
new file mode 100644
index 00000000..56ec6014
--- /dev/null
+++ b/extra/function/doc/en/source/install.rst
@@ -0,0 +1,75 @@
+Installation of 2DMAT-Functions
+================================================================
+
+Prerequisites
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+- Python3 (>=3.6.8)
+
+ - The following Python packages are required.
+
+ - tomli >= 1.2
+ - numpy >= 1.14
+
+- py2dmat version 3.0 and later
+
+
+How to download and install
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+1. Install py2dmat
+
+ - From source files:
+
+ Download source files of py2dmat from the repository as follows:
+
+ .. code-block:: bash
+
+ $ git clone -b update https://github.com/issp-center-dev/2DMAT.git
+
+ Install py2dmat using ``pip`` command:
+
+ .. code-block:: bash
+
+ $ cd 2DMAT
+ $ python3 -m pip install .
+
+ You may add ``--user`` option to install py2dmat locally (in ``$HOME/.local``).
+
+ If you run the following command instead, optional packages will also be installed at the same time.
+
+ .. code-block:: bash
+
+ $ python3 -m pip install .[all]
+
+2. Install py2dmat-function
+
+ - From source files:
+
+ At present, the source files of 2dmat-functions are placed in ``extra`` directory of py2dmat source package. After obtaining the source files following the step 1, install 2dmat-functions using ``pip`` command as follows:
+
+ .. code-block:: bash
+
+ $ cd 2DMAT/extra/function
+ $ python3 -m pip install .
+
+ You may add ``--user`` option to install the package locally (in ``$HOME/.local``).
+
+ Then, the library of 2DMAT-Functions wil be installed.
+
+
+How to run
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+In 2DMAT, the analysis is done by using a predefined optimization algorithm and a direct problem solver.
+The ways to do analyses of Functions is to write a program for the analysis with 2DMAT-Functions library and 2DMAT framework.
+The type of the inverse problem algorithms can be chosen by importing the appropriate module.
+A flexible use would be possible, for example, to include data generation within the program.
+The types of parameters and the instruction to use the library will be given in the subsequent sections.
+
+
+How to uninstall
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+In order to uninstall 2DMAT-Functions and 2DMAT modules, type the following commands:
+
+.. code-block:: bash
+
+ $ python3 -m pip uninstall py2dmat-function py2dmat
diff --git a/extra/function/doc/en/source/introduction.rst b/extra/function/doc/en/source/introduction.rst
new file mode 100644
index 00000000..c5c6e564
--- /dev/null
+++ b/extra/function/doc/en/source/introduction.rst
@@ -0,0 +1,91 @@
+Introduction
+================================
+
+What is 2DMAT ?
+--------------------------------
+
+2DMAT is a framework for applying a search algorithm to a direct problem solver to find the optimal solution.
+As the standard direct problem solver, the experimental data analysis software for two-dimensional material structure analysis is prepared.
+The direct problem solver gives the deviation between the experimental data and the calculated data obtained under the given parameters such as atomic positions as a loss function used in the inverse problem.
+The optimal parameters are estimated by minimizing the loss function using a search algorithm. For further use, the original direct problem solver or the search algorithm can be defined by users.
+In the current version, for solving a direct problem, 2DMAT offers the wrapper of the solver for the total-reflection high-energy positron diffraction (TRHEPD), the surface X-ray diffraction (Functions), and the low-energy electron diffraction (LEED).
+As algorithms, it offers the Nelder-Mead method, the grid search method, the Bayesian optimization method, the replica exchange Monte Carlo method, and the population annealing Monte Carlo method.
+
+
+What is 2DMAT-Functions ?
+--------------------------------
+
+``2DMAT-Functions`` provides implementation of several analytical functions for the direct problems of 2DMAT.
+The major use of this module is to test and benchmark the optimization algorithms of 2DMAT, while it may be useful as a template when the users write their own direct problem solvers.
+
+It was originally developed as a component of 2DMAT v2.x, and has been restructured as a separate module to be used with 2DMAT.
+
+
+
+License
+--------------------------------
+| This package is distributed under GNU General Public License version 3 (GPL v3).
+
+Copyright (c) <2020-> The University of Tokyo. All rights reserved.
+
+This software was developed with the support of "Project for advancement of software usability in materials science" of The Institute for Solid State Physics, The University of Tokyo.
+We hope that you cite the following reference when you publish the results using 2DMAT:
+
+"Data-analysis software framework 2DMAT and its application to experimental measurements for two-dimensional material structures", Y. Motoyama, K. Yoshimi, I. Mochizuki, H. Iwamoto, H. Ichinose, and T. Hoshi, `Computer Physics Communications 280, 108465 (2022). `_
+
+Bibtex:
+
+| @article{MOTOYAMA2022108465,
+| title = {Data-analysis software framework 2DMAT and its application to experimental measurements for two-dimensional material structures},
+| journal = {Computer Physics Communications},
+| volume = {280},
+| pages = {108465},
+| year = {2022},
+| issn = {0010-4655},
+| doi = {https://doi.org/10.1016/j.cpc.2022.108465},
+| url = {https://www.sciencedirect.com/science/article/pii/S0010465522001849},
+| author = {Yuichi Motoyama and Kazuyoshi Yoshimi and Izumi Mochizuki and Harumichi Iwamoto and Hayato Ichinose and Takeo Hoshi}
+| }
+
+
+Version Information
+--------------------------------
+
+2DMAT-Functions
+
+- v1.0.0: 2024-XX-XX
+
+2DMAT
+
+- v3.0.0: 2024-XX-XX
+- v2.1.0: 2022-04-08
+- v2.0.0: 2022-01-17
+- v1.0.1: 2021-04-15
+- v1.0.0: 2021-03-12
+- v0.1.0: 2021-02-08
+
+
+Main developers
+--------------------------------
+
+2DMAT has been developed by following members.
+
+- v3.0.0 -
+
+ - Y. Motoyama (The Institute for Solid State Physics, The University of Tokyo)
+ - K. Yoshimi (The Institute for Solid State Physics, The University of Tokyo)
+ - T. Aoyama (The Institute for Solid State Physics, The University of Tokyo)
+ - T. Hoshi (National Institute for Fusion Science)
+
+- v2.0.0 -
+
+ - Y. Motoyama (The Institute for Solid State Physics, The University of Tokyo)
+ - K. Yoshimi (The Institute for Solid State Physics, The University of Tokyo)
+ - H. Iwamoto (Department of Applied Mathematics and Physics, Tottori University)
+ - T. Hoshi (Department of Applied Mathematics and Physics, Tottori University)
+
+- v0.1.0 - v1.0.1
+
+ - Y. Motoyama (The Institute for Solid State Physics, The University of Tokyo)
+ - K. Yoshimi (The Institute for Solid State Physics, The University of Tokyo)
+ - T. Hoshi (Department of Applied Mathematics and Physics, Tottori University)
diff --git a/extra/function/doc/en/source/solver.rst b/extra/function/doc/en/source/solver.rst
new file mode 100644
index 00000000..aa764619
--- /dev/null
+++ b/extra/function/doc/en/source/solver.rst
@@ -0,0 +1,47 @@
+Predefined functions
+================================
+
+``2DMAT-Functions`` module provides ``Solver`` that computes a predefined benchmark function :math:`f(x)` for evaluating the performance of search algorithms.
+
+Each function is implemented as a class that can be used for a direct solver of 2DMAT.
+The predefined functions are listed as follows.
+
+- ``Quadratics``
+
+ - Quadratic function
+
+ .. math::
+
+ f(\vec{x}) = \sum_{i=1}^N x_i^2
+
+ - The optimized value :math:`f(\vec{x}^*) = 0 \quad (\forall_i x_i^* = 0)`
+
+- ``Rosenbrock``
+
+ - `Rosenbrock function `_
+
+ .. math::
+
+ f(\vec{x}) = \sum_{i=1}^{N-1} \left[ 100(x_{i+1} - x_i^2)^2 + (x_i - 1)^2 \right]
+
+ - The optimized value :math:`f(\vec{x}^*) = 0 \quad (\forall_i x_i^* = 1)`
+
+- ``Ackley``
+
+ - `Ackley function `_
+
+ .. math::
+
+ f(\vec{x}) = 20 + e - 20\exp\left[-0.2\sqrt{\frac{1}{N}\sum_{i=1}^N x_i^2}\right] - \exp\left[\frac{1}{N}\cos\left(2\pi x_i\right)\right]
+
+ - The optimized value :math:`f(\vec{x}^*) = 0 \quad (\forall_i x_i^* = 0)`
+
+- ``Himmerblau``
+
+ - `Himmerblau function `_
+
+ .. math::
+
+ f(x,y) = (x^2+y-11)^2 + (x+y^2-7)^2
+
+ - The optimized value :math:`f(3,2) = f(-2.805118, 3.131312) = f(-3.779310, -3.283186) = f(3.584428, -1.848126) = 0`
diff --git a/extra/function/doc/en/source/tutorial/booth.rst b/extra/function/doc/en/source/tutorial/booth.rst
new file mode 100644
index 00000000..35f5dc10
--- /dev/null
+++ b/extra/function/doc/en/source/tutorial/booth.rst
@@ -0,0 +1,196 @@
+Adding functions
+================================
+
+In this tutorial, we describe the procedure how to define a new function and perform analyses.
+As an example, we will introduce Booth function given below:
+
+.. math::
+
+ f(x,y) = (x + 2 y - 7) ^2 + (2 x + y - 5) ^2
+
+The minimum value of this function is :math:`f(1,3) = 0`.
+
+
+Location of the sample files
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The sample files are located in ``sample/booth``.
+The following files are stored in the folder.
+
+- ``booth.py``
+
+ Source file of the direct problem solver that evaluates Booth function.
+
+- ``main.py``
+
+ Source file of the main program. This program reads ``input.toml`` for the parameters.
+
+- ``input.toml``
+
+ Input parameter file for ``main.py``.
+
+- ``do.sh``
+
+ Script file for running this tutorial.
+
+The following sections describe these files and then show the actual calculation results.
+
+
+Description of main program
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+In ``booth.py``, a class for the direct problem solver is defined using 2DMAT-Functions module that evaluates Booth function.
+The entire program is shown as follows:
+
+.. code-block:: python
+
+ import numpy as np
+ import py2dmat.extra.function
+
+ class Booth(py2dmat.extra.function.Solver):
+ def evaluate(self, xs: np.ndarray, args=()):
+ assert xs.shape[0] == 2
+ x, y = xs
+ fx = (x + 2 * y - 7)**2 + (2 * x + y - 5)**2
+ return fx
+
+First, the required modules are imported.
+``py2dmat.extra.function`` corresponds to 2DMAT-Functions module.
+
+Next, ``Booth`` class is defined as derived from ``Solver`` class of 2DMAT-Functions.
+The direct problem solver class must have a method called ``evaluate`` which have the form ``evaluate(self, xs, args) -> float``.
+The arguments of this method are:
+``xs`` of ``numpy.ndarray`` type for the parameter values, and ``args`` of ``Tuple`` type for the optional data that consists of the step count ``step`` and the iteration count ``set`` used in the class accordingly.
+
+``main.py`` is a simple program that performs analyses using the Booth class.
+
+.. code-block:: python
+
+ import numpy as np
+
+ import py2dmat
+ import py2dmat.algorithm.min_search as min_search
+ from booth import Booth
+
+ info = py2dmat.Info.from_file("input.toml")
+ solver = Booth(info)
+ runner = py2dmat.Runner(solver, info)
+
+ alg = min_search.Algorithm(info, runner)
+ alg.main()
+
+
+In the program, the instances of the classes are created.
+
+- ``py2dmat.Info`` class
+
+ This class is for storing the parameters.
+ An instance is created by calling a class method ``from_file`` with a path to TOML file as an argument.
+
+- ``Booth`` class
+
+ Booth class is imported from ``booth.py`` as introduced above, and is instantiated.
+
+- ``py2dmat.Runner`` class
+
+ This class is for connecting the direct problem solver and the inverse problem algorithm.
+ An instance is created by passing an instance of Solver class and an instance of Info class.
+
+- ``py2dmat.algorithm.min_search.Algorithm`` class
+
+ This class is for the inverse problem algorithm.
+ In this tutorial, we use ``min_search`` module that implements the optimization by Nelder-Mead method.
+ An instance is created by passing an instance of Runner class.
+
+After creating the instances of Solver, Runner, and Algorithm in this order, we invoke ``main()`` method of the Algorithm class to start analyses.
+
+
+Input files
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+An example of the input parameter file ``input.toml`` is shown below.
+
+.. code-block:: toml
+
+ [base]
+ dimension = 2
+ output_dir = "output"
+
+ [algorithm]
+ seed = 12345
+
+ [algorithm.param]
+ max_list = [6.0, 6.0]
+ min_list = [-6.0, -6.0]
+ num_list = [31, 31]
+
+ [solver]
+
+ [runner]
+ [runner.log]
+ interval = 20
+
+
+Calculation execution
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+First, move to the folder where the sample files are located.
+
+.. code-block::
+
+ $ cd sample/booth
+
+Run the main program. The computation time will take only a few seconds on a normal PC.
+
+.. code-block::
+
+ $ python3 main.py | tee log.txt
+
+The standard output will look as follows.
+
+.. code-block::
+
+ Optimization terminated successfully.
+ Current function value: 0.000000
+ Iterations: 44
+ Function evaluations: 82
+ iteration: 44
+ len(allvecs): 45
+ step: 0
+ allvecs[step]: [ 5.15539311 -2.20349335]
+ step: 1
+ allvecs[step]: [ 4.65539311 -1.82849335]
+ step: 2
+ allvecs[step]: [ 4.40539311 -1.26599335]
+ step: 3
+ allvecs[step]: [ 3.28039311 -0.73474335]
+ step: 4
+ allvecs[step]: [2.21789311 0.65588165]
+ step: 5
+ allvecs[step]: [2.21789311 0.65588165]
+ ...
+ step: 42
+ allvecs[step]: [0.99997645 3.00001226]
+ step: 43
+ allvecs[step]: [0.99997645 3.00001226]
+ end of run
+ Current function value: 1.2142360244883376e-09
+ Iterations: 44
+ Function evaluations: 82
+ Solution:
+ x1 = 0.9999764520155436
+ x2 = 3.000012263854959
+
+``x1`` and ``x2`` are the candidate parameters at each step.
+The final estimated parameters will be written in ``output/res.dat``.
+In the current case, the following result will be obtained:
+
+.. code-block::
+
+ fx = 1.2142360244883376e-09
+ x1 = 0.9999764520155436
+ x2 = 3.000012263854959
+
+It is found that the minimum has been reproduced.
+
+Note that ``do.sh`` is available as a script for batch calculation.
diff --git a/extra/function/doc/en/source/tutorial/himmelblau.rst b/extra/function/doc/en/source/tutorial/himmelblau.rst
new file mode 100644
index 00000000..d44573d2
--- /dev/null
+++ b/extra/function/doc/en/source/tutorial/himmelblau.rst
@@ -0,0 +1,163 @@
+Minimization of Himmelblau function
+================================================================
+
+In this tutorial, we will write a user program using 2DMAT-Functions module and perform analyese. As an example, we adopt the Nelder-Mead method for the inverse problem algorithm.
+
+
+Location of the sample files
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The sample files are located in ``sample/himmelblau``.
+The following files are stored in the folder.
+
+- ``main.py``
+
+ Source file of the main program. This program reads ``input.toml`` for the parameters.
+
+- ``input.toml``
+
+ Input parameter file for ``main.py``.
+
+- ``do.sh``
+
+ Script file for running this tutorial.
+
+- ``plot_colormap_2d.py``
+
+ Program for visualizing the results.
+
+The following sections describe these files and then show the actual calculation results.
+
+
+Description of main program
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+``main.py`` is a simple program for the analyses using 2DMAT-Functions module.
+The entire source file is shown as follows:
+
+.. code-block:: python
+
+ import numpy as np
+
+ import py2dmat
+ import py2dmat.algorithm.mapper_mpi as mapper
+ from py2dmat.extra.function import Himmelblau
+
+ info = py2dmat.Info.from_file("input.toml")
+ solver = Himmelblau(info)
+ runner = py2dmat.Runner(solver, info)
+
+ alg = mapper.Algorithm(info, runner)
+ alg.main()
+
+
+At the beginning of the program, the required modules are imported as listed below.
+
+- ``py2dmat`` for the main module of 2DMAT.
+
+- ``py2dmat.algorithm.mapper_mpi`` for the module of the inverse problem algorithm.
+
+- ``Himmelblau`` class from ``py2dmat.extra.function`` module.
+
+Next, the instances of the classes are created.
+
+- ``py2dmat.Info`` class
+
+ This class is for storing the parameters.
+ An instance is created by calling a class method ``from_file`` with a path to TOML file as an argument.
+
+- ``Himmelblau`` class
+
+ This class is for the Himmelblau function defined in the 2DMAT-Functions module.
+ An instance is created by passing an instance of Info class.
+
+- ``py2dmat.Runner`` class
+
+ This class is for connecting the direct problem solver and the inverse problem algorithm.
+ An instance is created by passing an instance of Solver class and an instance of Info class.
+
+- ``py2dmat.algorithm.min_search.Algorithm`` class
+
+ This class is for the inverse problem algorithm.
+ In this tutorial, we use ``min_search`` module that implements the optimization by Nelder-Mead method.
+ An instance is created by passing an instance of Runner class.
+
+After creating the instances of Solver, Runner, and Algorithm in this order, we invoke ``main()`` method of the Algorithm class to start analyses.
+
+
+Input files
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+An example of the input parameter file ``input.toml`` is shown below.
+Except, ``algorithm.name`` parameter for specifying the algorithm type should be ignored.
+
+.. code-block:: toml
+
+ [base]
+ dimension = 2
+ output_dir = "output"
+
+ [algorithm]
+ seed = 12345
+
+ [algorithm.param]
+ max_list = [6.0, 6.0]
+ min_list = [-6.0, -6.0]
+ num_list = [31, 31]
+
+ [solver]
+
+ [runner]
+ [runner.log]
+ interval = 20
+
+
+Calculation execution
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+First, move to the folder where the sample files are located. (We assume that you are directly under the directory where you downloaded this software.)
+
+.. code-block::
+
+ $ cd sample/himmelblau
+
+Run the main program. The computation time will take only a few seconds on a normal PC.
+
+.. code-block::
+
+ $ mpiexec -np 4 python3 main.py
+
+In the above, the main program is executed with 4 MPI parallel processes.
+The standard output will look as follows.
+
+.. code-block::
+
+ Make ColorMap
+ Iteration : 1/240
+ Iteration : 2/240
+ Iteration : 3/240
+ Iteration : 4/240
+ Iteration : 5/240
+ Iteration : 6/240
+ Iteration : 7/240
+ Iteration : 8/240
+ Iteration : 9/240
+ Iteration : 10/240
+ ...
+
+
+Visualization of results
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+By plotting ``output/ColorMap.txt``, you can identify the region of parameters in which the function yield small values.
+A program to draw such a two-dimensional plot is prepared in ``plot_colormap_2d.py``.
+
+.. code-block::
+
+ $ python3 plot_colormap_2d.py
+
+By typing as above, ``ColorMapFig.png`` is generated in which a color map of the function values evaluated at the grid, on top of the contour of Himmelblau function.
+
+.. figure:: ../../../common/img/himmelblau_mapper.*
+
+ A color map of the function values in the two-dimensional parameter space.
diff --git a/extra/function/doc/en/source/tutorial/index.rst b/extra/function/doc/en/source/tutorial/index.rst
new file mode 100644
index 00000000..dbdb9439
--- /dev/null
+++ b/extra/function/doc/en/source/tutorial/index.rst
@@ -0,0 +1,18 @@
+.. 2dmat documentation master file, created by
+ sphinx-quickstart on Tue May 26 18:44:52 2020.
+ You can adapt this file completely to your liking, but it should at least
+ contain the root `toctree` directive.
+
+Tutorials
+================================
+
+In this tutorial, we will instruct how to use 2DMAT and 2DMAT-Functions modules, considering the minimization problem of Himmelblau function as an example.
+
+For the inverse problem algorithm we adopt the grid search provided as ``mapper`` module. See the 2DMAT manual for other algorithms.
+
+
+.. toctree::
+ :maxdepth: 1
+
+ himmelblau
+ booth
diff --git a/extra/function/doc/ja/Makefile b/extra/function/doc/ja/Makefile
new file mode 100644
index 00000000..f86728d9
--- /dev/null
+++ b/extra/function/doc/ja/Makefile
@@ -0,0 +1,20 @@
+# Minimal makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line, and also
+# from the environment for the first two.
+SPHINXOPTS ?=
+SPHINXBUILD ?= sphinx-build
+SOURCEDIR = source
+BUILDDIR = build
+
+# Put it first so that "make" without argument is like "make help".
+help:
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+
+.PHONY: help Makefile
+
+# Catch-all target: route all unknown targets to Sphinx using the new
+# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
+%: Makefile
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" -W $(SPHINXOPTS) $(O)
diff --git a/extra/function/doc/ja/make.bat b/extra/function/doc/ja/make.bat
new file mode 100644
index 00000000..6247f7e2
--- /dev/null
+++ b/extra/function/doc/ja/make.bat
@@ -0,0 +1,35 @@
+@ECHO OFF
+
+pushd %~dp0
+
+REM Command file for Sphinx documentation
+
+if "%SPHINXBUILD%" == "" (
+ set SPHINXBUILD=sphinx-build
+)
+set SOURCEDIR=source
+set BUILDDIR=build
+
+if "%1" == "" goto help
+
+%SPHINXBUILD% >NUL 2>NUL
+if errorlevel 9009 (
+ echo.
+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
+ echo.installed, then set the SPHINXBUILD environment variable to point
+ echo.to the full path of the 'sphinx-build' executable. Alternatively you
+ echo.may add the Sphinx directory to PATH.
+ echo.
+ echo.If you don't have Sphinx installed, grab it from
+ echo.http://sphinx-doc.org/
+ exit /b 1
+)
+
+%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
+goto end
+
+:help
+%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
+
+:end
+popd
diff --git a/extra/function/doc/ja/source/acknowledgement.rst b/extra/function/doc/ja/source/acknowledgement.rst
new file mode 100644
index 00000000..9be001c2
--- /dev/null
+++ b/extra/function/doc/ja/source/acknowledgement.rst
@@ -0,0 +1,4 @@
+謝辞
+=========================================
+
+本ソフトウェアは、科研費(2019-2021年度)「超並列マシンを用いた計算統計と測定技術の融合」および東京大学物性研究所 ソフトウェア高度化プロジェクト (2020, 2021, 2024 年度) の支援を受け開発されました。
diff --git a/extra/function/doc/ja/source/conf.py b/extra/function/doc/ja/source/conf.py
new file mode 100644
index 00000000..a9aae86c
--- /dev/null
+++ b/extra/function/doc/ja/source/conf.py
@@ -0,0 +1,141 @@
+# Configuration file for the Sphinx documentation builder.
+#
+# This file only contains a selection of the most common options. For a full
+# list see the documentation:
+# https://www.sphinx-doc.org/en/master/usage/configuration.html
+
+# -- Path setup --------------------------------------------------------------
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+#
+# import os
+# import sys
+# sys.path.insert(0, os.path.abspath('.'))
+
+
+# -- Project information -----------------------------------------------------
+
+project = '2DMAT solver module: functions'
+copyright = '2020-, 2DMAT developers'
+author = '2DMAT developers'
+
+version = '1.0'
+# The full version, including alpha/beta/rc tags
+release = '1.0-dev'
+
+# -- General configuration ---------------------------------------------------
+
+# Add any Sphinx extension module names here, as strings. They can be
+# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
+# ones.
+extensions = ['sphinx.ext.autodoc',
+ 'sphinx.ext.mathjax'
+]
+
+# Add any paths that contain templates here, relative to this directory.
+templates_path = ['_templates']
+
+# The master toctree document.
+master_doc = 'index'
+
+# List of patterns, relative to source directory, that match files and
+# directories to ignore when looking for source files.
+# This pattern also affects html_static_path and html_extra_path.
+exclude_patterns = []
+
+
+# -- Options for HTML output -------------------------------------------------
+
+# The theme to use for HTML and HTML Help pages. See the documentation for
+# a list of builtin themes.
+#
+html_theme = 'haiku'
+
+# Add any paths that contain custom static files (such as style sheets) here,
+# relative to this directory. They are copied after the builtin static files,
+# so a file named "default.css" will overwrite the builtin "default.css".
+# html_static_path = ['_static']
+
+# Theme options are theme-specific and customize the look and feel of a theme
+# further. For a list of options available for each theme, see the
+# documentation.
+#
+html_theme_options = {
+}
+
+# Custom sidebar templates, must be a dictionary that maps document names
+# to template names.
+#
+# This is required for the alabaster theme
+# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
+html_sidebars = {
+ '**': [
+ 'relations.html', # needs 'show_related': True theme option to display
+ 'searchbox.html',
+ ]
+}
+
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+#
+# This is also used if you do content translation via gettext catalogs.
+# Usually you set "language" from the command line for these cases.
+language = 'ja'
+
+# -- Options for LaTeX output ---------------------------------------------
+
+latex_engine = 'uplatex'
+
+latex_elements = {
+ # The paper size ('letterpaper' or 'a4paper').
+ #
+ # 'papersize': 'letterpaper',
+
+ # The font size ('10pt', '11pt' or '12pt').
+ #
+ # 'pointsize': '10pt',
+
+ # Additional stuff for the LaTeX preamble.
+ #
+ # 'preamble': '',
+
+ # Latex figure (float) alignment
+ #
+ # 'figure_align': 'htbp',
+}
+
+# Grouping the document tree into LaTeX files. List of tuples
+# (source start file, target name, title,
+# author, documentclass [howto, manual, or own class]).
+latex_documents = [
+ (master_doc, 'userguide_functions_ja.tex', u'2DMAT Function Module Documentation',
+ u'University of Tokyo', 'manual', 'True'),
+]
+
+# latex_docclass = {'manual': 'jsbook'}
+
+# -- Options for Texinfo output -------------------------------------------
+
+# Grouping the document tree into Texinfo files. List of tuples
+# (source start file, target name, title, author,
+# dir menu entry, description, category)
+texinfo_documents = [
+ (master_doc, '2dmat', u'2DMAT Documentation',
+ author, '2DMAT', 'One line description of project.',
+ 'Miscellaneous'),
+]
+
+
+html_sidebars = {
+ '**': [
+ 'about.html',
+ 'navigation.html',
+ 'relations.html',
+ 'searchbox.html',
+ 'donate.html',
+ ]
+}
+
diff --git a/extra/function/doc/ja/source/contact.rst b/extra/function/doc/ja/source/contact.rst
new file mode 100644
index 00000000..0c714e18
--- /dev/null
+++ b/extra/function/doc/ja/source/contact.rst
@@ -0,0 +1,22 @@
+お問い合わせ
+=========================================
+
+2DMAT-Functions に関するお問い合わせはこちらにお寄せください。
+
+- バグ報告
+
+ 2DMAT-Functions のバグ関連の報告は `GitHubのIssues `_ で受け付けています。
+
+ バグを早期に解決するため、報告時には次のガイドラインに従ってください。
+
+ - 使用している 2DMAT-Functions のバージョンを指定してください。
+
+ - インストールに問題がある場合には、使用しているオペレーティングシステムとコンパイラの情報についてお知らせください。
+
+ - 実行に問題が生じた場合は、実行に使用した入力ファイルとその出力を記載してください。
+
+- その他
+
+ 研究に関連するトピックなどGitHubのIssuesで相談しづらいことを問い合わせる際には、以下の連絡先にコンタクトをしてください。
+
+ E-mail: ``2dmat-dev__at__issp.u-tokyo.ac.jp`` (_at_を@に変更してください)
diff --git a/extra/function/doc/ja/source/index.rst b/extra/function/doc/ja/source/index.rst
new file mode 100644
index 00000000..7beaecce
--- /dev/null
+++ b/extra/function/doc/ja/source/index.rst
@@ -0,0 +1,23 @@
+.. 2dmat documentation master file, created by
+ sphinx-quickstart on Tue May 26 18:44:52 2020.
+ You can adapt this file completely to your liking, but it should at least
+ contain the root `toctree` directive.
+
+Welcome to 2DMAT's documentation!
+==================================
+
+.. toctree::
+ :maxdepth: 2
+ :caption: Contents:
+
+ introduction
+ install
+ tutorial/index
+ solver
+ acknowledgement
+ contact
+..
+ usage
+ input
+ output
+ examples
diff --git a/extra/function/doc/ja/source/install.rst b/extra/function/doc/ja/source/install.rst
new file mode 100644
index 00000000..db98d362
--- /dev/null
+++ b/extra/function/doc/ja/source/install.rst
@@ -0,0 +1,72 @@
+インストール
+================================================================
+
+実行環境・必要なパッケージ
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+- python 3.6.8 以上
+
+ - 必要なpythonパッケージ
+
+ - tomli (>= 1.2)
+ - numpy (>= 1.14)
+
+- py2dmat version 3.0 以降
+
+
+ダウンロード・インストール
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+1. py2dmat をインストールする
+
+ - ソースコードからのインストール
+
+ リポジトリから py2dmat のソースファイルを取得します。
+
+ .. code-block:: bash
+
+ $ git clone -b update https://github.com/issp-center-dev/2DMAT.git
+
+ pip コマンドを実行してインストールします。
+
+ .. code-block:: bash
+
+ $ cd 2DMAT
+ $ python3 -m pip install .
+
+
+ ``--user`` オプションを付けるとローカル (``$HOME/.local``) にインストールできます。
+
+ ``python3 -m pip install .[all]`` を実行するとオプションのパッケージも同時にインストールします。
+
+2. py2dmat-functions をインストールする
+
+ - ソースコードからのインストール
+
+ py2dmat-functions のソースファイルは、現在は py2dmat のソースパッケージの extra ディレクトリ内に配置されています。1. に記述した手順に従って py2dmat のソースファイルを取得した後、 ``extra/function`` ディレクトリ内で pip コマンドを実行してインストールします。
+
+ .. code-block:: bash
+
+ $ cd 2DMAT/extra/function
+ $ python3 -m pip install .
+
+ ``--user`` オプションを付けるとローカル (``$HOME/.local``) にインストールできます。
+
+ 2DMAT-Functions のライブラリがインストールされます。
+
+
+実行方法
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+2DMAT では順問題ソルバと逆問題解析アルゴリズムを組み合わせて解析を行います。
+2DMAT-Functions に用意された関数の最適化問題の解析を行うには、2DMAT-Functions ライブラリと 2DMAT フレームワークを用いてプログラムを作成し、解析を行います。逆問題解析アルゴリズムは import するモジュールで選択します。プログラム中に入力データの生成を組み込むなど、柔軟な使い方ができます。
+ライブラリの利用方法については以降の章で説明します。
+
+
+アンインストール
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+2DMAT-Functions モジュールおよび 2DMAT モジュールをアンインストールするには、以下のコマンドを実行します。
+
+.. code-block:: bash
+
+ $ python3 -m pip uninstall py2dmat-function py2dmat
diff --git a/extra/function/doc/ja/source/introduction.rst b/extra/function/doc/ja/source/introduction.rst
new file mode 100644
index 00000000..6f7bf6d9
--- /dev/null
+++ b/extra/function/doc/ja/source/introduction.rst
@@ -0,0 +1,90 @@
+はじめに
+================================
+
+2DMATとは
+--------------------------------
+
+2DMATは、順問題ソルバーに対して探索アルゴリズムを適用して最適解を探すためのフレームワークです。
+順問題ソルバーはユーザー自身で定義できるほか、標準的な順問題ソルバーとして2次元物質構造解析向け実験データ解析ソフトウェアが用意されています。
+順問題ソルバーでは、原子位置などをパラメータとして得られたデータと実験データとのずれを損失関数として与えます。
+探索アルゴリズムによりこの損失関数を最小化する最適なパラメータを推定します。
+現バージョンでは、順問題ソルバーとして量子ビーム回折実験の全反射高速陽電子回折法(Total-Reflection High-Energy Positron Diffraction: TRHEPD), 表面X線回折法(Surface X-ray Diffraction: SXRD), 低速電子線回折法(Low Energy Electron Diffraction: LEED)に対応しており、
+探索アルゴリズムはNelder-Mead法, グリッド型探索法, ベイズ最適化, レプリカ交換モンテカルロ法, ポピュレーションアニーリングモンテカルロ法が実装されています。
+
+
+2DMAT-Functionsとは
+--------------------------------
+
+2DMAT-Functions は 2DMAT 向けの順問題として解析関数を提供するものです。主な用途は 2DMAT のテストとベンチマークですが、ユーザが独自の順問題ソルバーを作成する上で雛形としても利用できます。
+
+このモジュールは 2DMAT v2.x の順問題ソルバーの一つとして開発されたコンポーネントを、独立なモジュールとして再構成したものです。2DMAT と組み合わせて使用します。
+
+ライセンス
+--------------------------------
+| 本ソフトウェアのプログラムパッケージおよびソースコード一式はGNU
+ General Public License version 3 (GPL v3) に準じて配布されています。
+
+Copyright (c) <2020-> The University of Tokyo. All rights reserved.
+
+本ソフトウェアは2020年度および2024年度 東京大学物性研究所 ソフトウェア高度化プロジェクトの支援を受け開発されました。
+2DMATを引用する際には以下の文献を引用してください。
+
+"Data-analysis software framework 2DMAT and its application to experimental measurements for two-dimensional material structures",
+Y. Motoyama, K. Yoshimi, I. Mochizuki, H. Iwamoto, H. Ichinose, and T. Hoshi, Computer Physics Communications 280, 108465 (2022).
+
+Bibtex:
+
+| @article{MOTOYAMA2022108465,
+| title = {Data-analysis software framework 2DMAT and its application to experimental measurements for two-dimensional material structures},
+| journal = {Computer Physics Communications},
+| volume = {280},
+| pages = {108465},
+| year = {2022},
+| issn = {0010-4655},
+| doi = {https://doi.org/10.1016/j.cpc.2022.108465},
+| url = {https://www.sciencedirect.com/science/article/pii/S0010465522001849},
+| author = {Yuichi Motoyama and Kazuyoshi Yoshimi and Izumi Mochizuki and Harumichi Iwamoto and Hayato Ichinose and Takeo Hoshi}
+| }
+
+
+
+バージョン履歴
+--------------------------------
+
+2DMAT-Functions
+
+- v1.0.0 : 2024-XX-XX
+
+2DMAT
+
+- v3.0.0 : 2024-XX-XX
+- v2.1.0 : 2022-04-08
+- v2.0.0 : 2022-01-17
+- v1.0.1 : 2021-04-15
+- v1.0.0 : 2021-03-12
+- v0.1.0 : 2021-02-08
+
+主な開発者
+--------------------------------
+
+2DMATは以下のメンバーで開発しています.
+
+- v3.0.0 -
+
+ - 本山 裕一 (東京大学 物性研究所)
+ - 吉見 一慶 (東京大学 物性研究所)
+ - 青山 龍美 (東京大学 物性研究所)
+ - 星 健夫 (核融合科学研究所)
+
+- v2.0.0 -
+
+ - 本山 裕一 (東京大学 物性研究所)
+ - 吉見 一慶 (東京大学 物性研究所)
+ - 岩本 晴道 (鳥取大学 大学院工学研究科)
+ - 星 健夫 (鳥取大学 大学院工学研究科)
+
+- v0.1.0 -
+
+ - 本山 裕一 (東京大学 物性研究所)
+ - 吉見 一慶 (東京大学 物性研究所)
+ - 星 健夫 (鳥取大学 大学院工学研究科)
diff --git a/extra/function/doc/ja/source/solver.rst b/extra/function/doc/ja/source/solver.rst
new file mode 100644
index 00000000..68c9d6c5
--- /dev/null
+++ b/extra/function/doc/ja/source/solver.rst
@@ -0,0 +1,47 @@
+定義済み関数
+================================================================
+
+``2DMAT-Functions`` モジュールは、探索アルゴリズムの性能評価を目的とした定義済みのベンチマーク関数 :math:`f(x)` を計算する ``Solver`` です。
+
+それぞれの関数は 2DMAT の順問題ソルバーとして利用可能なクラスとして実装されています。
+定義済みの関数は以下のとおりです。
+
+- ``Quadratics``
+
+ - 二次形式
+
+ .. math::
+
+ f(\vec{x}) = \sum_{i=1}^N x_i^2
+
+ - 最適値は :math:`f(\vec{x}^*) = 0 \quad (\forall_i x_i^* = 0)`
+
+- ``Rosenbrock``
+
+ - `Rosenbrock 関数 `_
+
+ .. math::
+
+ f(\vec{x}) = \sum_{i=1}^{N-1} \left[ 100(x_{i+1} - x_i^2)^2 + (x_i - 1)^2 \right]
+
+ - 最適値は :math:`f(\vec{x}^*) = 0 \quad (\forall_i x_i^* = 1)`
+
+- ``Ackley``
+
+ - `Ackley 関数 `_
+
+ .. math::
+
+ f(\vec{x}) = 20 + e - 20\exp\left[-0.2\sqrt{\frac{1}{N}\sum_{i=1}^N x_i^2}\right] - \exp\left[\frac{1}{N}\cos\left(2\pi x_i\right)\right]
+
+ - 最適値は :math:`f(\vec{x}^*) = 0 \quad (\forall_i x_i^* = 0)`
+
+- ``Himmelblau``
+
+ - `Himmelblau 関数 `_
+
+ .. math::
+
+ f(x,y) = (x^2+y-11)^2 + (x+y^2-7)^2
+
+ - 最適値は :math:`f(3,2) = f(-2.805118, 3.131312) = f(-3.779310, -3.283186) = f(3.584428, -1.848126) = 0`
diff --git a/extra/function/doc/ja/source/tutorial/booth.rst b/extra/function/doc/ja/source/tutorial/booth.rst
new file mode 100644
index 00000000..a589b941
--- /dev/null
+++ b/extra/function/doc/ja/source/tutorial/booth.rst
@@ -0,0 +1,186 @@
+関数の追加
+================================
+
+ここでは、2DMAT-Functions モジュールを用いて、ユーザが新しい関数を作成して解析を行う手順を説明します。例として次の Booth 関数
+
+.. math::
+
+ f(x,y) = (x + 2 y - 7) ^2 + (2 x + y - 5) ^2
+
+を追加してみます。この関数の最小値は :math:`f(1,3) = 0` です。
+
+
+サンプルファイルの場所
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+サンプルファイルは ``sample/booth`` にあります。
+フォルダには以下のファイルが格納されています。
+
+- ``booth.py``
+
+ Booth関数を計算する順問題ソルバーを定義する
+
+- ``main.py``
+
+ メインプログラム。パラメータを ``input.toml`` ファイルから読み込んで解析を行う
+
+- ``input.toml``
+
+ ``simple.py`` で利用する入力パラメータファイル
+
+- ``do.sh``
+
+ 本チュートリアルを一括計算するために準備されたスクリプト
+
+以下、これらのファイルについて説明したのち、実際の計算結果を紹介します。
+
+
+プログラムの説明
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+``booth.py`` では、2DMAT-Functions を利用して Booth 関数を計算する順問題ソルバークラスを定義します。プログラムの全体を以下に示します。
+
+.. code-block:: python
+
+ import numpy as np
+ import py2dmat.extra.function
+
+ class Booth(py2dmat.extra.function.Solver):
+ def evaluate(self, xs: np.ndarray, args=()):
+ assert xs.shape[0] == 2
+ x, y = xs
+ fx = (x + 2 * y - 7)**2 + (2 * x + y - 5)**2
+ return fx
+
+プログラムでは、まず必要なモジュールを import します。
+``py2dmat.extra.function`` は 2DMAT-Functions モジュールです。
+
+次に、2DMAT-Functions の ``Solver`` クラスを基底クラスとして ``Booth`` クラスを作成します。
+関数値を評価するメソッドを ``evaluate(self, xs, args) -> float`` として定義します。
+``evaluate`` の引数は、パラメータ値を表す ``numpy.ndarray`` 型の引数 ``xs`` と、 ``Tuple`` 型のオプションパラメータ ``args`` です。
+``args`` はステップ数 ``step`` と n巡目を表す ``set`` からなり、必要に応じてクラス内で使用します。
+
+
+``main.py`` は Booth クラスを用いて解析を行うシンプルなプログラムです。
+
+.. code-block:: python
+
+ import numpy as np
+
+ import py2dmat
+ import py2dmat.algorithm.min_search as min_search
+ from booth import Booth
+
+ info = py2dmat.Info.from_file("input.toml")
+ solver = Booth(info)
+ runner = py2dmat.Runner(solver, info)
+
+ alg = min_search.Algorithm(info, runner)
+ alg.main()
+
+プログラム中ではまず、解析で利用するクラスのインスタンスを作成します。
+
+- ``py2dmat.Info`` クラス
+
+ パラメータを格納するクラスです。 ``from_file`` クラスメソッドに TOML ファイルのパスを渡して作成することができます。
+
+- ``Booth`` クラス
+
+ 上記で作成した booth.py から Booth クラスを import してインスタンスを作成します。
+
+- ``py2dmat.Runner`` クラス
+
+ 順問題ソルバーと逆問題解析アルゴリズムを繋ぐクラスです。Solver クラスのインスタンスおよび Info クラスのパラメータを渡して作成します。
+
+- ``py2dmat.algorithm.min_search.Algorithm`` クラス
+
+ 逆問題解析アルゴリズムのクラスです。ここでは Nelder-Mead法による最適化アルゴリズムのクラスモジュール ``min_search`` を利用します。Runner のインスタンスを渡して作成します。
+
+Solver, Runner, Algorithm の順にインスタンスを作成した後、Algorithm クラスの ``main()`` メソッドを呼んで解析を行います。
+
+入力ファイルの説明
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+メインプログラム用の入力ファイル ``input.toml`` の例を以下に示します。
+
+.. code-block:: toml
+
+ [base]
+ dimension = 2
+ output_dir = "output"
+
+ [algorithm]
+ seed = 12345
+
+ [algorithm.param]
+ max_list = [6.0, 6.0]
+ min_list = [-6.0, -6.0]
+ num_list = [31, 31]
+
+ [solver]
+
+ [runner]
+ [runner.log]
+ interval = 20
+
+
+計算実行
+~~~~~~~~~~~~
+
+最初にサンプルファイルが置いてあるフォルダへ移動します。
+
+.. code-block::
+
+ $ cd sample/booth
+
+メインプログラムを実行します。計算時間は通常のPCで数秒程度で終わります。
+
+.. code-block::
+
+ $ python3 main.py | tee log.txt
+
+実行すると、以下の様な出力がされます。
+
+.. code-block::
+
+ Optimization terminated successfully.
+ Current function value: 0.000000
+ Iterations: 44
+ Function evaluations: 82
+ iteration: 44
+ len(allvecs): 45
+ step: 0
+ allvecs[step]: [ 5.15539311 -2.20349335]
+ step: 1
+ allvecs[step]: [ 4.65539311 -1.82849335]
+ step: 2
+ allvecs[step]: [ 4.40539311 -1.26599335]
+ step: 3
+ allvecs[step]: [ 3.28039311 -0.73474335]
+ step: 4
+ allvecs[step]: [2.21789311 0.65588165]
+ step: 5
+ allvecs[step]: [2.21789311 0.65588165]
+ ...
+ step: 42
+ allvecs[step]: [0.99997645 3.00001226]
+ step: 43
+ allvecs[step]: [0.99997645 3.00001226]
+ end of run
+ Current function value: 1.2142360244883376e-09
+ Iterations: 44
+ Function evaluations: 82
+ Solution:
+ x1 = 0.9999764520155436
+ x2 = 3.000012263854959
+
+
+``x1``, ``x2`` に各ステップでの候補パラメータと、その時の目的関数の値が出力されます。
+最終的に推定されたパラメータは、 ``output/res.dat`` に出力されます。今の場合、
+
+.. code-block::
+
+ fx = 1.2142360244883376e-09
+ x1 = 0.9999764520155436
+ x2 = 3.000012263854959
+
+となり、最小値が再現されていることがわかります。
+なお、一連の計算を行う ``do.sh`` スクリプトが用意されています。
diff --git a/extra/function/doc/ja/source/tutorial/himmelblau.rst b/extra/function/doc/ja/source/tutorial/himmelblau.rst
new file mode 100644
index 00000000..51969509
--- /dev/null
+++ b/extra/function/doc/ja/source/tutorial/himmelblau.rst
@@ -0,0 +1,153 @@
+Himmelblau関数の最小化
+================================
+
+ここでは、2DMAT-Functions モジュールを用いたユーザプログラムを作成し、解析を行う方法を説明します。逆問題アルゴリズムは例としてNelder-Mead法を用います。
+
+
+サンプルファイルの場所
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+サンプルファイルは ``sample/himmelblau`` にあります。
+フォルダには以下のファイルが格納されています。
+
+- ``main.py``
+
+ メインプログラム。パラメータを ``input.toml`` ファイルから読み込んで解析を行う。
+
+- ``input.toml``
+
+ ``main.py`` で利用する入力パラメータファイル
+
+- ``do.sh``
+
+ 本チュートリアルを一括計算するために準備されたスクリプト
+
+- ``plot_colormap_2d.py``
+
+ 可視化ツール
+
+以下、これらのファイルについて説明したのち、実際の計算結果を紹介します。
+
+
+プログラムの説明
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+``main.py`` は 2DMAT-Functions モジュールを用いて解析を行うシンプルなプログラムです。
+プログラムの全体を以下に示します。
+
+.. code-block:: python
+
+ import numpy as np
+
+ import py2dmat
+ import py2dmat.algorithm.mapper_mpi as mapper
+ from py2dmat.extra.function import Himmelblau
+
+ info = py2dmat.Info.from_file("input.toml")
+ solver = Himmelblau(info)
+ runner = py2dmat.Runner(solver, info)
+
+ alg = mapper.Algorithm(info, runner)
+ alg.main()
+
+プログラムではまず、必要なモジュールを import します。
+
+- 2DMAT のメインモジュール ``py2dmat``
+
+- 今回利用する逆問題解析アルゴリズム ``py2dmat.algorithm.mapper_mpi``
+
+- 順問題ソルバーモジュール ``py2dmat.extra.function`` から Himmelblau クラス
+
+次に、解析で利用するクラスのインスタンスを作成します。
+
+- ``py2dmat.Info`` クラス
+
+ パラメータを格納するクラスです。 ``from_file`` クラスメソッドに TOML ファイルのパスを渡して作成することができます。
+
+- ``Himmelblau`` クラス
+
+ 2DMAT-Functions に用意されている Himmelblau関数のクラスです。Info クラスのインスタンスを渡して作成します。
+
+- ``py2dmat.Runner`` クラス
+
+ 順問題ソルバーと逆問題解析アルゴリズムを繋ぐクラスです。Solver クラスのインスタンスおよび Info クラスのパラメータを渡して作成します。
+
+- ``py2dmat.algorithm.mapper_mpi.Algorithm`` クラス
+
+ 逆問題解析アルゴリズムのクラスです。ここではグリッド全探索のクラスモジュール ``mapper_mpi`` を利用します。Runner のインスタンスを渡して作成します。
+
+Solver, Runner, Algorithm の順にインスタンスを作成した後、Algorithm クラスの ``main()`` メソッドを呼んで解析を行います。
+
+入力ファイルの説明
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+メインプログラム用の入力ファイル ``input.toml`` の例を以下に示します。
+なお、アルゴリズムの種類を指定する ``algorithm.name`` パラメータの値は無視されます。
+
+.. code-block:: toml
+
+ [base]
+ dimension = 2
+ output_dir = "output"
+
+ [algorithm]
+ seed = 12345
+
+ [algorithm.param]
+ max_list = [6.0, 6.0]
+ min_list = [-6.0, -6.0]
+ num_list = [31, 31]
+
+ [solver]
+
+ [runner]
+ [runner.log]
+ interval = 20
+
+
+計算実行
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+最初にサンプルファイルが置いてあるフォルダへ移動します。(以下、本ソフトウェアをダウンロードしたディレクトリ直下にいることを仮定します)
+
+.. code-block::
+
+ $ cd sample/himmelblau
+
+メインプログラムを実行します。計算時間は通常のPCで数秒程度で終わります。
+
+.. code-block::
+
+ $ mpiexec -np 4 python3 main.py
+
+ここではMPIを利用して4プロセスで計算を行っています。実行すると以下の様な出力がされます。
+
+.. code-block::
+
+ Make ColorMap
+ Iteration : 1/240
+ Iteration : 2/240
+ Iteration : 3/240
+ Iteration : 4/240
+ Iteration : 5/240
+ Iteration : 6/240
+ Iteration : 7/240
+ Iteration : 8/240
+ Iteration : 9/240
+ Iteration : 10/240
+ ...
+
+結果の可視化
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+``ColorMap.txt`` を図示することで、関数の値が小さいパラメータがどこにあるかを推定することができます。そのような 2次元パラメータ空間のプロットを作成するプログラムが ``plot_colormap_2d.py`` に用意されています。
+
+.. code-block::
+
+ $ python3 plot_colormap_2d.py
+
+上記を実行すると ``ColorMapFig.png`` が作成され、Himmelblau関数の関数値を表す等高線の上に、各グリッド点で評価した関数値がカラーマップとしてプロットされます。
+
+.. figure:: ../../../common/img/himmelblau_mapper.*
+
+ 2次元パラメータ空間上での関数値のカラーマップ。
+
diff --git a/extra/function/doc/ja/source/tutorial/index.rst b/extra/function/doc/ja/source/tutorial/index.rst
new file mode 100644
index 00000000..8f24690c
--- /dev/null
+++ b/extra/function/doc/ja/source/tutorial/index.rst
@@ -0,0 +1,17 @@
+.. 2dmat documentation master file, created by
+ sphinx-quickstart on Tue May 26 18:44:52 2020.
+ You can adapt this file completely to your liking, but it should at least
+ contain the root `toctree` directive.
+
+チュートリアル
+==================================
+
+このチュートリアルでは、Himmelblau関数の最小化問題を例として 2DMAT および 2DMAT-Functions ライブラリの使い方を解説します。あわせて、ユーザが独自の関数を定義して解析を行う方法を説明します。
+
+逆問題解析アルゴリズムはグリッド探索の ``mapper`` モジュールを使います。その他のアルゴリズムについては 2DMAT のマニュアルを参照してください。
+
+.. toctree::
+ :maxdepth: 1
+
+ himmelblau
+ booth
diff --git a/extra/function/pyproject.toml b/extra/function/pyproject.toml
new file mode 100644
index 00000000..ab87bab1
--- /dev/null
+++ b/extra/function/pyproject.toml
@@ -0,0 +1,36 @@
+[tool.poetry]
+name = "py2dmat-function"
+version = "1.0-dev"
+description = "Analytical function solver module for Py2DMAT: data-analysis software of quantum beam diffraction experiments for 2D material structure"
+authors = ["2DMAT developers <2dmat-dev@issp.u-tokyo.ac.jp>"]
+license = "GPL-3.0-or-later"
+
+readme = "README.md"
+repository = "https://github.com/issp-center-dev/py2dmat-function"
+
+packages = [
+ { include = "function", from = "src", to = "py2dmat/extra" }
+ ]
+
+[tool.poetry.dependencies]
+python = ">=3.6.8"
+numpy = "^1.14"
+#mpi4py = {version = "^3", optional = true}
+py2dmat = "^2"
+
+#[tool.poetry.extras]
+#min_search = ["scipy"]
+#bayes = ["physbo"]
+#exchange = ["mpi4py"]
+#all = ["scipy", "mpi4py", "physbo"]
+
+#[tool.poetry.dev-dependencies]
+#black = "^22.3.0"
+#pynvim = "^0.4.3"
+
+#[tool.poetry.scripts]
+#py2dmat-function = "function._main:main"
+
+[build-system]
+requires = ["poetry-core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"
diff --git a/extra/function/sample/booth/booth.py b/extra/function/sample/booth/booth.py
new file mode 100644
index 00000000..fe17e7c9
--- /dev/null
+++ b/extra/function/sample/booth/booth.py
@@ -0,0 +1,9 @@
+import numpy as np
+import py2dmat.extra.function
+
+class Booth(py2dmat.extra.function.Solver):
+ def evaluate(self, xs: np.ndarray, args=()):
+ assert xs.shape[0] == 2
+ x, y = xs
+ fx = (x + 2 * y - 7)**2 + (2 * x + y - 5)**2
+ return fx
diff --git a/extra/function/sample/booth/do.sh b/extra/function/sample/booth/do.sh
new file mode 100644
index 00000000..a65cf432
--- /dev/null
+++ b/extra/function/sample/booth/do.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+time python3 main.py
diff --git a/extra/function/sample/booth/input.toml b/extra/function/sample/booth/input.toml
new file mode 100644
index 00000000..2c14f9a6
--- /dev/null
+++ b/extra/function/sample/booth/input.toml
@@ -0,0 +1,17 @@
+[base]
+dimension = 2
+output_dir = "output"
+
+[algorithm]
+seed = 12345
+
+[algorithm.param]
+max_list = [6.0, 6.0]
+min_list = [-6.0, -6.0]
+num_list = [31, 31]
+
+[solver]
+
+[runner]
+[runner.log]
+interval = 20
diff --git a/extra/function/sample/booth/main.py b/extra/function/sample/booth/main.py
new file mode 100644
index 00000000..becc574f
--- /dev/null
+++ b/extra/function/sample/booth/main.py
@@ -0,0 +1,12 @@
+import numpy as np
+
+import py2dmat
+import py2dmat.algorithm.min_search as min_search
+from booth import Booth
+
+info = py2dmat.Info.from_file("input.toml")
+solver = Booth(info)
+runner = py2dmat.Runner(solver, info)
+
+alg = min_search.Algorithm(info, runner)
+alg.main()
diff --git a/extra/function/sample/himmelblau/do.sh b/extra/function/sample/himmelblau/do.sh
new file mode 100644
index 00000000..b2c3e55b
--- /dev/null
+++ b/extra/function/sample/himmelblau/do.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+#time python3 main.py
+time mpiexec -np 4 python3 main.py
diff --git a/extra/function/sample/himmelblau/input.toml b/extra/function/sample/himmelblau/input.toml
new file mode 100644
index 00000000..2c14f9a6
--- /dev/null
+++ b/extra/function/sample/himmelblau/input.toml
@@ -0,0 +1,17 @@
+[base]
+dimension = 2
+output_dir = "output"
+
+[algorithm]
+seed = 12345
+
+[algorithm.param]
+max_list = [6.0, 6.0]
+min_list = [-6.0, -6.0]
+num_list = [31, 31]
+
+[solver]
+
+[runner]
+[runner.log]
+interval = 20
diff --git a/extra/function/sample/himmelblau/main.py b/extra/function/sample/himmelblau/main.py
new file mode 100644
index 00000000..92dfc788
--- /dev/null
+++ b/extra/function/sample/himmelblau/main.py
@@ -0,0 +1,12 @@
+import numpy as np
+
+import py2dmat
+import py2dmat.algorithm.mapper_mpi as mapper
+from py2dmat.extra.function import Himmelblau
+
+info = py2dmat.Info.from_file("input.toml")
+solver = Himmelblau(info)
+runner = py2dmat.Runner(solver, info)
+
+alg = mapper.Algorithm(info, runner)
+alg.main()
diff --git a/extra/function/sample/himmelblau/plot_colormap_2d.py b/extra/function/sample/himmelblau/plot_colormap_2d.py
new file mode 100644
index 00000000..e7cd25cc
--- /dev/null
+++ b/extra/function/sample/himmelblau/plot_colormap_2d.py
@@ -0,0 +1,47 @@
+import numpy as np
+import matplotlib.pyplot as plt
+
+
+def himmel(x, y):
+ return (x ** 2 + y - 11) ** 2 + (x + y ** 2 - 7) ** 2
+
+
+npts = 201
+c_x, c_y = np.mgrid[-6 : 6 : npts * 1j, -6 : 6 : npts * 1j]
+c_z = himmel(c_x, c_y)
+levels = np.logspace(0.35, 3.2, 8)
+
+x = []
+y = []
+f = []
+file_input = open("output/ColorMap.txt", "r")
+lines = file_input.readlines()
+file_input.close()
+for line in lines:
+ if line[0] != "/n":
+ data = line.split()
+ x.append(float(data[0]))
+ y.append(float(data[1]))
+ f.append(np.log10(float(data[2])))
+
+vmin = np.amin(np.array(f))
+vmax = np.amax(np.array(f))
+
+plt.contour(c_x, c_y, c_z, levels, colors="k", zorder=10.0, alpha=1.0, linewidths=0.5)
+plt.scatter(
+ x,
+ y,
+ c=f,
+ s=50,
+ vmin=vmin,
+ vmax=vmax,
+ cmap="Blues_r",
+ linewidth=2,
+ alpha=1.0,
+ zorder=1.0,
+)
+plt.xlim(-6.0, 6.0)
+plt.ylim(-6.0, 6.0)
+plt.colorbar(label="log10(f)")
+#plt.savefig("output/ColorMapFig.pdf")
+plt.savefig("output/ColorMapFig.png")
diff --git a/extra/function/sample/linear_regression/data.txt b/extra/function/sample/linear_regression/data.txt
new file mode 100644
index 00000000..154881d0
--- /dev/null
+++ b/extra/function/sample/linear_regression/data.txt
@@ -0,0 +1,6 @@
+1.0 1.0
+2.0 3.0
+3.0 2.0
+4.0 4.0
+5.0 3.0
+6.0 5.0
diff --git a/extra/function/sample/linear_regression/do.sh b/extra/function/sample/linear_regression/do.sh
new file mode 100644
index 00000000..a65cf432
--- /dev/null
+++ b/extra/function/sample/linear_regression/do.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+time python3 main.py
diff --git a/extra/function/sample/linear_regression/input.toml b/extra/function/sample/linear_regression/input.toml
new file mode 100644
index 00000000..7851ee8e
--- /dev/null
+++ b/extra/function/sample/linear_regression/input.toml
@@ -0,0 +1,17 @@
+[base]
+dimension = 3
+output_dir = "output"
+
+[algorithm]
+seed = 12345
+
+#[algorithm.param]
+#max_list = [ 1.0, 1.0, 1.0]
+#min_list = [-1.0, -1.0, -1.0]
+#num_list = [21, 21, 21]
+
+[solver]
+
+[runner]
+[runner.log]
+interval = 20
diff --git a/extra/function/sample/linear_regression/main.py b/extra/function/sample/linear_regression/main.py
new file mode 100644
index 00000000..52cf3b9f
--- /dev/null
+++ b/extra/function/sample/linear_regression/main.py
@@ -0,0 +1,18 @@
+import numpy as np
+
+import py2dmat
+#import py2dmat.algorithm.mapper_mpi as mapper
+import py2dmat.algorithm.min_search as min_search
+from py2dmat.extra.function import LinearRegression
+import py2dmat.domain
+
+data = np.loadtxt("data.txt")
+
+info = py2dmat.Info.from_file("input.toml")
+solver = LinearRegression(info, xdata=data[:,0], ydata=data[:,1])
+runner = py2dmat.Runner(solver, info)
+
+region = py2dmat.domain.Region(param={"min_list": [-1,-1,-1], "max_list": [1,1,1]})
+
+alg = min_search.Algorithm(info, runner, region)
+alg.main()
diff --git a/extra/function/src/function/Ackley.py b/extra/function/src/function/Ackley.py
new file mode 100644
index 00000000..8ee4e007
--- /dev/null
+++ b/extra/function/src/function/Ackley.py
@@ -0,0 +1,35 @@
+# 2DMAT -- Data-analysis software of quantum beam diffraction experiments for 2D material structure
+# Copyright (C) 2020- The University of Tokyo
+#
+# 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 3 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, see http://www.gnu.org/licenses/.
+
+import numpy as np
+import py2dmat
+from .function import Solver
+
+def ackley(xs: np.ndarray) -> float:
+ """Ackley's function in arbitrary dimension
+
+ It has one global minimum f(xs)=0 at xs=[0,0,...,0].
+ It has many local minima.
+ """
+ a = np.mean(xs ** 2)
+ a = 20 * np.exp(-0.2 * np.sqrt(a))
+ b = np.cos(2.0 * np.pi * xs)
+ b = np.exp(0.5 * np.sum(b))
+ return 20.0 + np.exp(1.0) - a - b
+
+class Ackley(Solver):
+ def __init__(self, info):
+ super().__init__(info, fn=ackley)
diff --git a/extra/function/src/function/Himmelblau.py b/extra/function/src/function/Himmelblau.py
new file mode 100644
index 00000000..76eda9c6
--- /dev/null
+++ b/extra/function/src/function/Himmelblau.py
@@ -0,0 +1,33 @@
+# 2DMAT -- Data-analysis software of quantum beam diffraction experiments for 2D material structure
+# Copyright (C) 2020- The University of Tokyo
+#
+# 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 3 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, see http://www.gnu.org/licenses/.
+
+import numpy as np
+import py2dmat
+from .function import Solver
+
+def himmelblau(xs: np.ndarray) -> float:
+ """Himmelblau's function
+
+ It has four global minima f(xs) = 0 at
+ xs=[3,2], [-2.805118..., 3.131312...], [-3.779310..., -3.2831860], and [3.584428..., -1.848126...].
+ """
+ assert xs.shape[0] == 2, f"ERROR: himmelblau expects d=2 input, but receives d={xs.shape[0]} one"
+ x, y = xs
+ return (x ** 2 + y - 11.0) ** 2 + (x + y ** 2 - 7.0) ** 2
+
+class Himmelblau(Solver):
+ def __init__(self, info):
+ super().__init__(info, fn=himmelblau)
diff --git a/extra/function/src/function/LinearRegression.py b/extra/function/src/function/LinearRegression.py
new file mode 100644
index 00000000..849d8afe
--- /dev/null
+++ b/extra/function/src/function/LinearRegression.py
@@ -0,0 +1,49 @@
+# 2DMAT -- Data-analysis software of quantum beam diffraction experiments for 2D material structure
+# Copyright (C) 2020- The University of Tokyo
+#
+# 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 3 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, see http://www.gnu.org/licenses/.
+
+import numpy as np
+import py2dmat
+from .function import Solver
+
+class _LinearRegression:
+ def __init__(self, xdata, ydata):
+ self.xdata = np.array(xdata)
+ self.ydata = np.array(ydata)
+ self.n = len(xdata)
+
+ def __call__(self, xs: np.ndarray) -> float:
+ """ Negative log likelihood of linear regression with Gaussian noise N(0,sigma)
+
+ y = ax + b
+
+ example:
+ trained by xdata = [1, 2, 3, 4, 5, 6] and ydata = [1, 3, 2, 4, 3, 5].
+
+ Model parameters (a, b, sigma) are corresponding to xs as the following,
+ a = xs[0], b = xs[1], log(sigma**2) = xs[2]
+
+ It has a global minimum f(xs) = 1.005071.. at
+ xs = [0.628571..., 0.8, -0.664976...].
+ """
+ assert xs.shape[0] == 3, f"ERROR: regression expects d=3 input, but receives d={xs.shape[0]} one"
+
+ a, b, w = xs
+ return 0.5 * (self.n * w + np.sum((a * self.xdata + b - self.ydata) ** 2) / np.exp(w))
+
+class LinearRegression(Solver):
+ def __init__(self, info, xdata, ydata):
+ super().__init__(info)
+ self.set_function(_LinearRegression(xdata, ydata))
diff --git a/extra/function/src/function/Quadratics.py b/extra/function/src/function/Quadratics.py
new file mode 100644
index 00000000..2cfc42a6
--- /dev/null
+++ b/extra/function/src/function/Quadratics.py
@@ -0,0 +1,30 @@
+# 2DMAT -- Data-analysis software of quantum beam diffraction experiments for 2D material structure
+# Copyright (C) 2020- The University of Tokyo
+#
+# 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 3 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, see http://www.gnu.org/licenses/.
+
+import numpy as np
+import py2dmat
+from .function import Solver
+
+def quadratics(xs: np.ndarray) -> float:
+ """quadratic (sphear) function
+
+ It has one global miminum f(xs)=0 at xs = [0,0,...,0].
+ """
+ return np.sum(xs * xs)
+
+class Quadratics(Solver):
+ def __init__(self, info):
+ super().__init__(info, fn=quadratics)
diff --git a/extra/function/src/function/Quartics.py b/extra/function/src/function/Quartics.py
new file mode 100644
index 00000000..7d8d6d5e
--- /dev/null
+++ b/extra/function/src/function/Quartics.py
@@ -0,0 +1,32 @@
+# 2DMAT -- Data-analysis software of quantum beam diffraction experiments for 2D material structure
+# Copyright (C) 2020- The University of Tokyo
+#
+# 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 3 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, see http://www.gnu.org/licenses/.
+
+import numpy as np
+import py2dmat
+from .function import Solver
+
+def quartics(xs: np.ndarray) -> float:
+ """quartic function with two minimum
+
+ It has two global minimum f(xs)=0 at xs = [1,1,...,1] and [0,0,...,0].
+ It has one suddle point f(0,0,...,0) = 1.0.
+ """
+
+ return np.mean((xs - 1.0) ** 2) * np.mean((xs + 1.0) ** 2)
+
+class Quartics(Solver):
+ def __init__(self, info):
+ super().__init__(info, fn=quartics)
diff --git a/extra/function/src/function/Rosenbrock.py b/extra/function/src/function/Rosenbrock.py
new file mode 100644
index 00000000..5928146e
--- /dev/null
+++ b/extra/function/src/function/Rosenbrock.py
@@ -0,0 +1,30 @@
+# 2DMAT -- Data-analysis software of quantum beam diffraction experiments for 2D material structure
+# Copyright (C) 2020- The University of Tokyo
+#
+# 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 3 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, see http://www.gnu.org/licenses/.
+
+import numpy as np
+import py2dmat
+from .function import Solver
+
+def rosenbrock(xs: np.ndarray) -> float:
+ """Rosenbrock's function
+
+ It has one global minimum f(xs) = 0 at xs=[1,1,...,1].
+ """
+ return np.sum(100.0 * (xs[1:] - xs[:-1] ** 2) ** 2 + (1.0 - xs[:-1]) ** 2)
+
+class Rosenbrock(Solver):
+ def __init__(self, info):
+ super().__init__(info, fn=rosenbrock)
diff --git a/extra/function/src/function/__init__.py b/extra/function/src/function/__init__.py
new file mode 100644
index 00000000..c6cb7cb3
--- /dev/null
+++ b/extra/function/src/function/__init__.py
@@ -0,0 +1,8 @@
+from .function import Solver
+
+from .Quadratics import Quadratics
+from .Quartics import Quartics
+from .Ackley import Ackley
+from .Rosenbrock import Rosenbrock
+from .Himmelblau import Himmelblau
+from .LinearRegression import LinearRegression
diff --git a/extra/function/src/function/function.py b/extra/function/src/function/function.py
new file mode 100644
index 00000000..d7bf993f
--- /dev/null
+++ b/extra/function/src/function/function.py
@@ -0,0 +1,69 @@
+# 2DMAT -- Data-analysis software of quantum beam diffraction experiments for 2D material structure
+# Copyright (C) 2020- The University of Tokyo
+#
+# 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 3 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, see http://www.gnu.org/licenses/.
+
+import os
+import numpy as np
+import py2dmat
+
+# type hints
+from pathlib import Path
+from typing import Callable, Optional, Dict
+
+
+class Solver:
+ root_dir: Path
+ output_dir: Path
+ proc_dir: Path
+ work_dir: Path
+ _name: str
+ dimension: int
+ timer: Dict[str, Dict]
+ _func: Optional[Callable[[np.ndarray], float]]
+
+ def __init__(self,
+ info: Optional[py2dmat.Info] = None,
+ fn: Optional[Callable[[np.ndarray], float]] = None) -> None:
+ """
+ Initialize the solver.
+
+ Parameters
+ ----------
+ info: Info
+ fn: callable object
+ """
+ self.root_dir = info.base["root_dir"]
+ self.output_dir = info.base["output_dir"]
+ self.proc_dir = self.output_dir / str(py2dmat.mpi.rank())
+ self.work_dir = self.proc_dir
+
+ self.dimension = info.solver.get("dimension") or info.base.get("dimension")
+
+ self._name = "function"
+ self._func = fn
+
+ self.timer = {"prepare": {}, "run": {}, "post": {}}
+
+ @property
+ def name(self) -> str:
+ return self._name
+
+ def evaluate(self, x: np.ndarray, args = (), nprocs: int = 1, nthreads: int = 1) -> float:
+ if self._func is None:
+ raise RuntimeError("ERROR: function is not set. Make sure that `set_function` is called.")
+ return self._func(x)
+
+ def set_function(self, f: Callable[[np.ndarray], float]) -> None:
+ self._func = f
diff --git a/extra/function/tests/.placeholder b/extra/function/tests/.placeholder
new file mode 100644
index 00000000..e69de29b
diff --git a/extra/function/tests/mapper/do.sh b/extra/function/tests/mapper/do.sh
new file mode 100644
index 00000000..00b8853e
--- /dev/null
+++ b/extra/function/tests/mapper/do.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+export PYTHONPATH=../../src:$PYTHONPATH
+
+sh ./prepare.sh
+
+#time python3 simple.py
+time mpiexec -np 4 python3 simple.py
+
+resfile=output/ColorMap.txt
+reffile=ref_ColorMap.txt
+
+echo diff $resfile $reffile
+res=0
+diff $resfile $reffile || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $resfile and $reffile differ
+ false
+fi
+
diff --git a/extra/function/tests/mapper/input.toml b/extra/function/tests/mapper/input.toml
new file mode 100644
index 00000000..2c14f9a6
--- /dev/null
+++ b/extra/function/tests/mapper/input.toml
@@ -0,0 +1,17 @@
+[base]
+dimension = 2
+output_dir = "output"
+
+[algorithm]
+seed = 12345
+
+[algorithm.param]
+max_list = [6.0, 6.0]
+min_list = [-6.0, -6.0]
+num_list = [31, 31]
+
+[solver]
+
+[runner]
+[runner.log]
+interval = 20
diff --git a/extra/function/tests/mapper/prepare.sh b/extra/function/tests/mapper/prepare.sh
new file mode 100644
index 00000000..5ac0b009
--- /dev/null
+++ b/extra/function/tests/mapper/prepare.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+rm -rf ./output
diff --git a/extra/function/tests/mapper/ref_ColorMap.txt b/extra/function/tests/mapper/ref_ColorMap.txt
new file mode 100644
index 00000000..d05ceac7
--- /dev/null
+++ b/extra/function/tests/mapper/ref_ColorMap.txt
@@ -0,0 +1,961 @@
+-6.000000 -6.000000 890.000000
+-5.600000 -6.000000 753.769600
+-5.200000 -6.000000 667.241600
+-4.800000 -6.000000 622.121600
+-4.400000 -6.000000 610.729600
+-4.000000 -6.000000 626.000000
+-3.600000 -6.000000 661.481600
+-3.200000 -6.000000 711.337600
+-2.800000 -6.000000 770.345600
+-2.400000 -6.000000 833.897600
+-2.000000 -6.000000 898.000000
+-1.600000 -6.000000 959.273600
+-1.200000 -6.000000 1014.953600
+-0.800000 -6.000000 1062.889600
+-0.400000 -6.000000 1101.545600
+0.000000 -6.000000 1130.000000
+0.400000 -6.000000 1147.945600
+0.800000 -6.000000 1155.689600
+1.200000 -6.000000 1154.153600
+1.600000 -6.000000 1144.873600
+2.000000 -6.000000 1130.000000
+2.400000 -6.000000 1112.297600
+2.800000 -6.000000 1095.145600
+3.200000 -6.000000 1082.537600
+3.600000 -6.000000 1079.081600
+4.000000 -6.000000 1090.000000
+4.400000 -6.000000 1121.129600
+4.800000 -6.000000 1178.921600
+5.200000 -6.000000 1270.441600
+5.600000 -6.000000 1403.369600
+6.000000 -6.000000 1586.000000
+-6.000000 -5.600000 713.449600
+-5.600000 -5.600000 569.795200
+-5.200000 -5.600000 476.099200
+-4.800000 -5.600000 424.067200
+-4.400000 -5.600000 406.019200
+-4.000000 -5.600000 414.889600
+-3.600000 -5.600000 444.227200
+-3.200000 -5.600000 488.195200
+-2.800000 -5.600000 541.571200
+-2.400000 -5.600000 599.747200
+-2.000000 -5.600000 658.729600
+-1.600000 -5.600000 715.139200
+-1.200000 -5.600000 766.211200
+-0.800000 -5.600000 809.795200
+-0.400000 -5.600000 844.355200
+0.000000 -5.600000 868.969600
+0.400000 -5.600000 883.331200
+0.800000 -5.600000 887.747200
+1.200000 -5.600000 883.139200
+1.600000 -5.600000 871.043200
+2.000000 -5.600000 853.609600
+2.400000 -5.600000 833.603200
+2.800000 -5.600000 814.403200
+3.200000 -5.600000 800.003200
+3.600000 -5.600000 795.011200
+4.000000 -5.600000 804.649600
+4.400000 -5.600000 834.755200
+4.800000 -5.600000 891.779200
+5.200000 -5.600000 982.787200
+5.600000 -5.600000 1115.459200
+6.000000 -5.600000 1298.089600
+-6.000000 -5.200000 589.161600
+-5.600000 -5.200000 438.339200
+-5.200000 -5.200000 337.731200
+-4.800000 -5.200000 279.043200
+-4.400000 -5.200000 254.595200
+-4.000000 -5.200000 257.321600
+-3.600000 -5.200000 280.771200
+-3.200000 -5.200000 319.107200
+-2.800000 -5.200000 367.107200
+-2.400000 -5.200000 420.163200
+-2.000000 -5.200000 474.281600
+-1.600000 -5.200000 526.083200
+-1.200000 -5.200000 572.803200
+-0.800000 -5.200000 612.291200
+-0.400000 -5.200000 643.011200
+0.000000 -5.200000 664.041600
+0.400000 -5.200000 675.075200
+0.800000 -5.200000 676.419200
+1.200000 -5.200000 668.995200
+1.600000 -5.200000 654.339200
+2.000000 -5.200000 634.601600
+2.400000 -5.200000 612.547200
+2.800000 -5.200000 591.555200
+3.200000 -5.200000 575.619200
+3.600000 -5.200000 569.347200
+4.000000 -5.200000 577.961600
+4.400000 -5.200000 607.299200
+4.800000 -5.200000 663.811200
+5.200000 -5.200000 754.563200
+5.600000 -5.200000 887.235200
+6.000000 -5.200000 1070.121600
+-6.000000 -4.800000 508.841600
+-5.600000 -4.800000 351.107200
+-5.200000 -4.800000 243.843200
+-4.800000 -4.800000 178.755200
+-4.400000 -4.800000 148.163200
+-4.000000 -4.800000 145.001600
+-3.600000 -4.800000 162.819200
+-3.200000 -4.800000 195.779200
+-2.800000 -4.800000 238.659200
+-2.400000 -4.800000 286.851200
+-2.000000 -4.800000 336.361600
+-1.600000 -4.800000 383.811200
+-1.200000 -4.800000 426.435200
+-0.800000 -4.800000 462.083200
+-0.400000 -4.800000 489.219200
+0.000000 -4.800000 506.921600
+0.400000 -4.800000 514.883200
+0.800000 -4.800000 513.411200
+1.200000 -4.800000 503.427200
+1.600000 -4.800000 486.467200
+2.000000 -4.800000 464.681600
+2.400000 -4.800000 440.835200
+2.800000 -4.800000 418.307200
+3.200000 -4.800000 401.091200
+3.600000 -4.800000 393.795200
+4.000000 -4.800000 401.641600
+4.400000 -4.800000 430.467200
+4.800000 -4.800000 486.723200
+5.200000 -4.800000 577.475200
+5.600000 -4.800000 710.403200
+6.000000 -4.800000 893.801600
+-6.000000 -4.400000 464.809600
+-5.600000 -4.400000 300.419200
+-5.200000 -4.400000 186.755200
+-4.800000 -4.400000 115.523200
+-4.400000 -4.400000 79.043200
+-4.000000 -4.400000 70.249600
+-3.600000 -4.400000 82.691200
+-3.200000 -4.400000 110.531200
+-2.800000 -4.400000 148.547200
+-2.400000 -4.400000 192.131200
+-2.000000 -4.400000 237.289600
+-1.600000 -4.400000 280.643200
+-1.200000 -4.400000 319.427200
+-0.800000 -4.400000 351.491200
+-0.400000 -4.400000 375.299200
+0.000000 -4.400000 389.929600
+0.400000 -4.400000 395.075200
+0.800000 -4.400000 391.043200
+1.200000 -4.400000 378.755200
+1.600000 -4.400000 359.747200
+2.000000 -4.400000 336.169600
+2.400000 -4.400000 310.787200
+2.800000 -4.400000 286.979200
+3.200000 -4.400000 268.739200
+3.600000 -4.400000 260.675200
+4.000000 -4.400000 268.009600
+4.400000 -4.400000 296.579200
+4.800000 -4.400000 352.835200
+5.200000 -4.400000 443.843200
+5.600000 -4.400000 577.283200
+6.000000 -4.400000 761.449600
+-6.000000 -4.000000 450.000000
+-5.600000 -4.000000 279.209600
+-5.200000 -4.000000 159.401600
+-4.800000 -4.000000 82.281600
+-4.400000 -4.000000 40.169600
+-4.000000 -4.000000 26.000000
+-3.600000 -4.000000 33.321600
+-3.200000 -4.000000 56.297600
+-2.800000 -4.000000 89.705600
+-2.400000 -4.000000 128.937600
+-2.000000 -4.000000 170.000000
+-1.600000 -4.000000 209.513600
+-1.200000 -4.000000 244.713600
+-0.800000 -4.000000 273.449600
+-0.400000 -4.000000 294.185600
+0.000000 -4.000000 306.000000
+0.400000 -4.000000 308.585600
+0.800000 -4.000000 302.249600
+1.200000 -4.000000 287.913600
+1.600000 -4.000000 267.113600
+2.000000 -4.000000 242.000000
+2.400000 -4.000000 215.337600
+2.800000 -4.000000 190.505600
+3.200000 -4.000000 171.497600
+3.600000 -4.000000 162.921600
+4.000000 -4.000000 170.000000
+4.400000 -4.000000 198.569600
+4.800000 -4.000000 255.081600
+5.200000 -4.000000 346.601600
+5.600000 -4.000000 480.809600
+6.000000 -4.000000 666.000000
+-6.000000 -3.600000 457.961600
+-5.600000 -3.600000 281.027200
+-5.200000 -3.600000 155.331200
+-4.800000 -3.600000 72.579200
+-4.400000 -3.600000 25.091200
+-4.000000 -3.600000 5.801600
+-3.600000 -3.600000 8.259200
+-3.200000 -3.600000 26.627200
+-2.800000 -3.600000 55.683200
+-2.400000 -3.600000 90.819200
+-2.000000 -3.600000 128.041600
+-1.600000 -3.600000 163.971200
+-1.200000 -3.600000 195.843200
+-0.800000 -3.600000 221.507200
+-0.400000 -3.600000 239.427200
+0.000000 -3.600000 248.681600
+0.400000 -3.600000 248.963200
+0.800000 -3.600000 240.579200
+1.200000 -3.600000 224.451200
+1.600000 -3.600000 202.115200
+2.000000 -3.600000 175.721600
+2.400000 -3.600000 148.035200
+2.800000 -3.600000 122.435200
+3.200000 -3.600000 102.915200
+3.600000 -3.600000 94.083200
+4.000000 -3.600000 101.161600
+4.400000 -3.600000 129.987200
+4.800000 -3.600000 187.011200
+5.200000 -3.600000 279.299200
+5.600000 -3.600000 414.531200
+6.000000 -3.600000 601.001600
+-6.000000 -3.200000 482.857600
+-5.600000 -3.200000 300.035200
+-5.200000 -3.200000 168.707200
+-4.800000 -3.200000 80.579200
+-4.400000 -3.200000 27.971200
+-4.000000 -3.200000 3.817600
+-3.600000 -3.200000 1.667200
+-3.200000 -3.200000 15.683200
+-2.800000 -3.200000 40.643200
+-2.400000 -3.200000 71.939200
+-2.000000 -3.200000 105.577600
+-1.600000 -3.200000 138.179200
+-1.200000 -3.200000 166.979200
+-0.800000 -3.200000 189.827200
+-0.400000 -3.200000 205.187200
+0.000000 -3.200000 212.137600
+0.400000 -3.200000 210.371200
+0.800000 -3.200000 200.195200
+1.200000 -3.200000 182.531200
+1.600000 -3.200000 158.915200
+2.000000 -3.200000 131.497600
+2.400000 -3.200000 103.043200
+2.800000 -3.200000 76.931200
+3.200000 -3.200000 57.155200
+3.600000 -3.200000 48.323200
+4.000000 -3.200000 55.657600
+4.400000 -3.200000 84.995200
+4.800000 -3.200000 142.787200
+5.200000 -3.200000 236.099200
+5.600000 -3.200000 372.611200
+6.000000 -3.200000 560.617600
+-6.000000 -2.800000 519.465600
+-5.600000 -2.800000 331.011200
+-5.200000 -2.800000 194.307200
+-4.800000 -2.800000 101.059200
+-4.400000 -2.800000 43.587200
+-4.000000 -2.800000 14.825600
+-3.600000 -2.800000 8.323200
+-3.200000 -2.800000 18.243200
+-2.800000 -2.800000 39.363200
+-2.400000 -2.800000 67.075200
+-2.000000 -2.800000 97.385600
+-1.600000 -2.800000 126.915200
+-1.200000 -2.800000 152.899200
+-0.800000 -2.800000 173.187200
+-0.400000 -2.800000 186.243200
+0.000000 -2.800000 191.145600
+0.400000 -2.800000 187.587200
+0.800000 -2.800000 175.875200
+1.200000 -2.800000 156.931200
+1.600000 -2.800000 132.291200
+2.000000 -2.800000 104.105600
+2.400000 -2.800000 75.139200
+2.800000 -2.800000 48.771200
+3.200000 -2.800000 28.995200
+3.600000 -2.800000 20.419200
+4.000000 -2.800000 28.265600
+4.400000 -2.800000 58.371200
+4.800000 -2.800000 117.187200
+5.200000 -2.800000 211.779200
+5.600000 -2.800000 349.827200
+6.000000 -2.800000 539.625600
+-6.000000 -2.400000 563.177600
+-5.600000 -2.400000 369.347200
+-5.200000 -2.400000 227.523200
+-4.800000 -2.400000 129.411200
+-4.400000 -2.400000 67.331200
+-4.000000 -2.400000 34.217600
+-3.600000 -2.400000 23.619200
+-3.200000 -2.400000 29.699200
+-2.800000 -2.400000 47.235200
+-2.400000 -2.400000 71.619200
+-2.000000 -2.400000 98.857600
+-1.600000 -2.400000 125.571200
+-1.200000 -2.400000 148.995200
+-0.800000 -2.400000 166.979200
+-0.400000 -2.400000 177.987200
+0.000000 -2.400000 181.097600
+0.400000 -2.400000 176.003200
+0.800000 -2.400000 163.011200
+1.200000 -2.400000 143.043200
+1.600000 -2.400000 117.635200
+2.000000 -2.400000 88.937600
+2.400000 -2.400000 59.715200
+2.800000 -2.400000 33.347200
+3.200000 -2.400000 13.827200
+3.600000 -2.400000 5.763200
+4.000000 -2.400000 14.377600
+4.400000 -2.400000 45.507200
+4.800000 -2.400000 105.603200
+5.200000 -2.400000 201.731200
+5.600000 -2.400000 341.571200
+6.000000 -2.400000 533.417600
+-6.000000 -2.000000 610.000000
+-5.600000 -2.000000 411.049600
+-5.200000 -2.000000 264.361600
+-4.800000 -2.000000 161.641600
+-4.400000 -2.000000 95.209600
+-4.000000 -2.000000 58.000000
+-3.600000 -2.000000 43.561600
+-3.200000 -2.000000 46.057600
+-2.800000 -2.000000 60.265600
+-2.400000 -2.000000 81.577600
+-2.000000 -2.000000 106.000000
+-1.600000 -2.000000 130.153600
+-1.200000 -2.000000 151.273600
+-0.800000 -2.000000 167.209600
+-0.400000 -2.000000 176.425600
+0.000000 -2.000000 178.000000
+0.400000 -2.000000 171.625600
+0.800000 -2.000000 157.609600
+1.200000 -2.000000 136.873600
+1.600000 -2.000000 110.953600
+2.000000 -2.000000 82.000000
+2.400000 -2.000000 52.777600
+2.800000 -2.000000 26.665600
+3.200000 -2.000000 7.657600
+3.600000 -2.000000 0.361600
+4.000000 -2.000000 10.000000
+4.400000 -2.000000 42.409600
+4.800000 -2.000000 104.041600
+5.200000 -2.000000 201.961600
+5.600000 -2.000000 343.849600
+6.000000 -2.000000 538.000000
+-6.000000 -1.600000 656.553600
+-5.600000 -1.600000 452.739200
+-5.200000 -1.600000 301.443200
+-4.800000 -1.600000 194.371200
+-4.400000 -1.600000 123.843200
+-4.000000 -1.600000 82.793600
+-3.600000 -1.600000 64.771200
+-3.200000 -1.600000 63.939200
+-2.800000 -1.600000 75.075200
+-2.400000 -1.600000 93.571200
+-2.000000 -1.600000 115.433600
+-1.600000 -1.600000 137.283200
+-1.200000 -1.600000 156.355200
+-0.800000 -1.600000 170.499200
+-0.400000 -1.600000 178.179200
+0.000000 -1.600000 178.473600
+0.400000 -1.600000 171.075200
+0.800000 -1.600000 156.291200
+1.200000 -1.600000 135.043200
+1.600000 -1.600000 108.867200
+2.000000 -1.600000 79.913600
+2.400000 -1.600000 50.947200
+2.800000 -1.600000 25.347200
+3.200000 -1.600000 7.107200
+3.600000 -1.600000 0.835200
+4.000000 -1.600000 11.753600
+4.400000 -1.600000 45.699200
+4.800000 -1.600000 109.123200
+5.200000 -1.600000 209.091200
+5.600000 -1.600000 353.283200
+6.000000 -1.600000 549.993600
+-6.000000 -1.200000 700.073600
+-5.600000 -1.200000 491.651200
+-5.200000 -1.200000 336.003200
+-4.800000 -1.200000 224.835200
+-4.400000 -1.200000 150.467200
+-4.000000 -1.200000 105.833600
+-3.600000 -1.200000 84.483200
+-3.200000 -1.200000 80.579200
+-2.800000 -1.200000 88.899200
+-2.400000 -1.200000 104.835200
+-2.000000 -1.200000 124.393600
+-1.600000 -1.200000 144.195200
+-1.200000 -1.200000 161.475200
+-0.800000 -1.200000 174.083200
+-0.400000 -1.200000 180.483200
+0.000000 -1.200000 179.753600
+0.400000 -1.200000 171.587200
+0.800000 -1.200000 156.291200
+1.200000 -1.200000 134.787200
+1.600000 -1.200000 108.611200
+2.000000 -1.200000 79.913600
+2.400000 -1.200000 51.459200
+2.800000 -1.200000 26.627200
+3.200000 -1.200000 9.411200
+3.600000 -1.200000 4.419200
+4.000000 -1.200000 16.873600
+4.400000 -1.200000 52.611200
+4.800000 -1.200000 118.083200
+5.200000 -1.200000 220.355200
+5.600000 -1.200000 367.107200
+6.000000 -1.200000 566.633600
+-6.000000 -0.800000 738.409600
+-5.600000 -0.800000 525.635200
+-5.200000 -0.800000 365.891200
+-4.800000 -0.800000 250.883200
+-4.400000 -0.800000 172.931200
+-4.000000 -0.800000 124.969600
+-3.600000 -0.800000 100.547200
+-3.200000 -0.800000 93.827200
+-2.800000 -0.800000 99.587200
+-2.400000 -0.800000 113.219200
+-2.000000 -0.800000 130.729600
+-1.600000 -0.800000 148.739200
+-1.200000 -0.800000 164.483200
+-0.800000 -0.800000 175.811200
+-0.400000 -0.800000 181.187200
+0.000000 -0.800000 179.689600
+0.400000 -0.800000 171.011200
+0.800000 -0.800000 155.459200
+1.200000 -0.800000 133.955200
+1.600000 -0.800000 108.035200
+2.000000 -0.800000 79.849600
+2.400000 -0.800000 52.163200
+2.800000 -0.800000 28.355200
+3.200000 -0.800000 12.419200
+3.600000 -0.800000 8.963200
+4.000000 -0.800000 23.209600
+4.400000 -0.800000 60.995200
+4.800000 -0.800000 128.771200
+5.200000 -0.800000 233.603200
+5.600000 -0.800000 383.171200
+6.000000 -0.800000 585.769600
+-6.000000 -0.400000 770.025600
+-5.600000 -0.400000 553.155200
+-5.200000 -0.400000 389.571200
+-4.800000 -0.400000 270.979200
+-4.400000 -0.400000 189.699200
+-4.000000 -0.400000 138.665600
+-3.600000 -0.400000 111.427200
+-3.200000 -0.400000 102.147200
+-2.800000 -0.400000 105.603200
+-2.400000 -0.400000 117.187200
+-2.000000 -0.400000 132.905600
+-1.600000 -0.400000 149.379200
+-1.200000 -0.400000 163.843200
+-0.800000 -0.400000 174.147200
+-0.400000 -0.400000 178.755200
+0.000000 -0.400000 176.745600
+0.400000 -0.400000 167.811200
+0.800000 -0.400000 152.259200
+1.200000 -0.400000 131.011200
+1.600000 -0.400000 105.603200
+2.000000 -0.400000 78.185600
+2.400000 -0.400000 51.523200
+2.800000 -0.400000 28.995200
+3.200000 -0.400000 14.595200
+3.600000 -0.400000 12.931200
+4.000000 -0.400000 29.225600
+4.400000 -0.400000 69.315200
+4.800000 -0.400000 139.651200
+5.200000 -0.400000 247.299200
+5.600000 -0.400000 399.939200
+6.000000 -0.400000 605.865600
+-6.000000 0.000000 794.000000
+-5.600000 0.000000 573.289600
+-5.200000 0.000000 406.121600
+-4.800000 0.000000 284.201600
+-4.400000 0.000000 199.849600
+-4.000000 0.000000 146.000000
+-3.600000 0.000000 116.201600
+-3.200000 0.000000 104.617600
+-2.800000 0.000000 106.025600
+-2.400000 0.000000 115.817600
+-2.000000 0.000000 130.000000
+-1.600000 0.000000 145.193600
+-1.200000 0.000000 158.633600
+-0.800000 0.000000 168.169600
+-0.400000 0.000000 172.265600
+0.000000 0.000000 170.000000
+0.400000 0.000000 161.065600
+0.800000 0.000000 145.769600
+1.200000 0.000000 125.033600
+1.600000 0.000000 100.393600
+2.000000 0.000000 74.000000
+2.400000 0.000000 48.617600
+2.800000 0.000000 27.625600
+3.200000 0.000000 15.017600
+3.600000 0.000000 15.401600
+4.000000 0.000000 34.000000
+4.400000 0.000000 76.649600
+4.800000 0.000000 149.801600
+5.200000 0.000000 260.521600
+5.600000 0.000000 416.489600
+6.000000 0.000000 626.000000
+-6.000000 0.400000 810.025600
+-5.600000 0.400000 585.731200
+-5.200000 0.400000 415.235200
+-4.800000 0.400000 290.243200
+-4.400000 0.400000 203.075200
+-4.000000 0.400000 146.665600
+-3.600000 0.400000 114.563200
+-3.200000 0.400000 100.931200
+-2.800000 0.400000 100.547200
+-2.400000 0.400000 108.803200
+-2.000000 0.400000 121.705600
+-1.600000 0.400000 135.875200
+-1.200000 0.400000 148.547200
+-0.800000 0.400000 157.571200
+-0.400000 0.400000 161.411200
+0.000000 0.400000 159.145600
+0.400000 0.400000 150.467200
+0.800000 0.400000 135.683200
+1.200000 0.400000 115.715200
+1.600000 0.400000 92.099200
+2.000000 0.400000 66.985600
+2.400000 0.400000 43.139200
+2.800000 0.400000 23.939200
+3.200000 0.400000 13.379200
+3.600000 0.400000 16.067200
+4.000000 0.400000 37.225600
+4.400000 0.400000 82.691200
+4.800000 0.400000 158.915200
+5.200000 0.400000 272.963200
+5.600000 0.400000 432.515200
+6.000000 0.400000 645.865600
+-6.000000 0.800000 818.409600
+-5.600000 0.800000 590.787200
+-5.200000 0.800000 417.219200
+-4.800000 0.800000 289.411200
+-4.400000 0.800000 199.683200
+-4.000000 0.800000 140.969600
+-3.600000 0.800000 106.819200
+-3.200000 0.800000 91.395200
+-2.800000 0.800000 89.475200
+-2.400000 0.800000 96.451200
+-2.000000 0.800000 108.329600
+-1.600000 0.800000 121.731200
+-1.200000 0.800000 133.891200
+-0.800000 0.800000 142.659200
+-0.400000 0.800000 146.499200
+0.000000 0.800000 144.489600
+0.400000 0.800000 136.323200
+0.800000 0.800000 122.307200
+1.200000 0.800000 103.363200
+1.600000 0.800000 81.027200
+2.000000 0.800000 57.449600
+2.400000 0.800000 35.395200
+2.800000 0.800000 18.243200
+3.200000 0.800000 9.987200
+3.600000 0.800000 15.235200
+4.000000 0.800000 39.209600
+4.400000 0.800000 87.747200
+4.800000 0.800000 167.299200
+5.200000 0.800000 284.931200
+5.600000 0.800000 448.323200
+6.000000 0.800000 665.769600
+-6.000000 1.200000 820.073600
+-5.600000 1.200000 589.379200
+-5.200000 1.200000 412.995200
+-4.800000 1.200000 282.627200
+-4.400000 1.200000 190.595200
+-4.000000 1.200000 129.833600
+-3.600000 1.200000 93.891200
+-3.200000 1.200000 76.931200
+-2.800000 1.200000 73.731200
+-2.400000 1.200000 79.683200
+-2.000000 1.200000 90.793600
+-1.600000 1.200000 103.683200
+-1.200000 1.200000 115.587200
+-0.800000 1.200000 124.355200
+-0.400000 1.200000 128.451200
+0.000000 1.200000 126.953600
+0.400000 1.200000 119.555200
+0.800000 1.200000 106.563200
+1.200000 1.200000 88.899200
+1.600000 1.200000 68.099200
+2.000000 1.200000 46.313600
+2.400000 1.200000 26.307200
+2.800000 1.200000 11.459200
+3.200000 1.200000 5.763200
+3.600000 1.200000 13.827200
+4.000000 1.200000 40.873600
+4.400000 1.200000 92.739200
+4.800000 1.200000 175.875200
+5.200000 1.200000 297.347200
+5.600000 1.200000 464.835200
+6.000000 1.200000 686.633600
+-6.000000 1.600000 816.553600
+-5.600000 1.600000 583.043200
+-5.200000 1.600000 404.099200
+-4.800000 1.600000 271.427200
+-4.400000 1.600000 177.347200
+-4.000000 1.600000 114.793600
+-3.600000 1.600000 77.315200
+-3.200000 1.600000 59.075200
+-2.800000 1.600000 54.851200
+-2.400000 1.600000 60.035200
+-2.000000 1.600000 70.633600
+-1.600000 1.600000 83.267200
+-1.200000 1.600000 95.171200
+-0.800000 1.600000 104.195200
+-0.400000 1.600000 108.803200
+0.000000 1.600000 108.073600
+0.400000 1.600000 101.699200
+0.800000 1.600000 89.987200
+1.200000 1.600000 73.859200
+1.600000 1.600000 54.851200
+2.000000 1.600000 35.113600
+2.400000 1.600000 17.411200
+2.800000 1.600000 5.123200
+3.200000 1.600000 2.243200
+3.600000 1.600000 13.379200
+4.000000 1.600000 43.753600
+4.400000 1.600000 99.203200
+4.800000 1.600000 186.179200
+5.200000 1.600000 311.747200
+5.600000 1.600000 483.587200
+6.000000 1.600000 709.993600
+-6.000000 2.000000 810.000000
+-5.600000 2.000000 573.929600
+-5.200000 2.000000 392.681600
+-4.800000 2.000000 257.961600
+-4.400000 2.000000 162.089600
+-4.000000 2.000000 98.000000
+-3.600000 2.000000 59.241600
+-3.200000 2.000000 39.977600
+-2.800000 2.000000 34.985600
+-2.400000 2.000000 39.657600
+-2.000000 2.000000 50.000000
+-1.600000 2.000000 62.633600
+-1.200000 2.000000 74.793600
+-0.800000 2.000000 84.329600
+-0.400000 2.000000 89.705600
+0.000000 2.000000 90.000000
+0.400000 2.000000 84.905600
+0.800000 2.000000 74.729600
+1.200000 2.000000 60.393600
+1.600000 2.000000 43.433600
+2.000000 2.000000 26.000000
+2.400000 2.000000 10.857600
+2.800000 2.000000 1.385600
+3.200000 2.000000 1.577600
+3.600000 2.000000 16.041600
+4.000000 2.000000 50.000000
+4.400000 2.000000 109.289600
+4.800000 2.000000 200.361600
+5.200000 2.000000 330.281600
+5.600000 2.000000 506.729600
+6.000000 2.000000 738.000000
+-6.000000 2.400000 803.177600
+-5.600000 2.400000 564.803200
+-5.200000 2.400000 381.507200
+-4.800000 2.400000 244.995200
+-4.400000 2.400000 147.587200
+-4.000000 2.400000 82.217600
+-3.600000 2.400000 42.435200
+-3.200000 2.400000 22.403200
+-2.800000 2.400000 16.899200
+-2.400000 2.400000 21.315200
+-2.000000 2.400000 31.657600
+-1.600000 2.400000 44.547200
+-1.200000 2.400000 57.219200
+-0.800000 2.400000 67.523200
+-0.400000 2.400000 73.923200
+0.000000 2.400000 75.497600
+0.400000 2.400000 71.939200
+0.800000 2.400000 63.555200
+1.200000 2.400000 51.267200
+1.600000 2.400000 36.611200
+2.000000 2.400000 21.737600
+2.400000 2.400000 9.411200
+2.800000 2.400000 3.011200
+3.200000 2.400000 6.531200
+3.600000 2.400000 24.579200
+4.000000 2.400000 62.377600
+4.400000 2.400000 125.763200
+4.800000 2.400000 221.187200
+5.200000 2.400000 355.715200
+5.600000 2.400000 537.027200
+6.000000 2.400000 773.417600
+-6.000000 2.800000 799.465600
+-5.600000 2.800000 559.043200
+-5.200000 2.800000 373.955200
+-4.800000 2.800000 235.907200
+-4.400000 2.800000 137.219200
+-4.000000 2.800000 70.825600
+-3.600000 2.800000 30.275200
+-3.200000 2.800000 9.731200
+-2.800000 2.800000 3.971200
+-2.400000 2.800000 8.387200
+-2.000000 2.800000 18.985600
+-1.600000 2.800000 32.387200
+-1.200000 2.800000 45.827200
+-0.800000 2.800000 57.155200
+-0.400000 2.800000 64.835200
+0.000000 2.800000 67.945600
+0.400000 2.800000 66.179200
+0.800000 2.800000 59.843200
+1.200000 2.800000 49.859200
+1.600000 2.800000 37.763200
+2.000000 2.800000 25.705600
+2.400000 2.800000 16.451200
+2.800000 2.800000 13.379200
+3.200000 2.800000 20.483200
+3.600000 2.800000 42.371200
+4.000000 2.800000 84.265600
+4.400000 2.800000 152.003200
+4.800000 2.800000 252.035200
+5.200000 2.800000 391.427200
+5.600000 2.800000 577.859200
+6.000000 2.800000 819.625600
+-6.000000 3.200000 802.857600
+-5.600000 3.200000 560.643200
+-5.200000 3.200000 374.019200
+-4.800000 3.200000 234.691200
+-4.400000 3.200000 134.979200
+-4.000000 3.200000 67.817600
+-3.600000 3.200000 26.755200
+-3.200000 3.200000 5.955200
+-2.800000 3.200000 0.195200
+-2.400000 3.200000 4.867200
+-2.000000 3.200000 15.977600
+-1.600000 3.200000 30.147200
+-1.200000 3.200000 44.611200
+-0.800000 3.200000 57.219200
+-0.400000 3.200000 66.435200
+0.000000 3.200000 71.337600
+0.400000 3.200000 71.619200
+0.800000 3.200000 67.587200
+1.200000 3.200000 60.163200
+1.600000 3.200000 50.883200
+2.000000 3.200000 41.897600
+2.400000 3.200000 35.971200
+2.800000 3.200000 36.483200
+3.200000 3.200000 47.427200
+3.600000 3.200000 73.411200
+4.000000 3.200000 119.657600
+4.400000 3.200000 192.003200
+4.800000 3.200000 296.899200
+5.200000 3.200000 441.411200
+5.600000 3.200000 633.219200
+6.000000 3.200000 880.617600
+-6.000000 3.600000 817.961600
+-5.600000 3.600000 574.211200
+-5.200000 3.600000 386.307200
+-4.800000 3.600000 245.955200
+-4.400000 3.600000 145.475200
+-4.000000 3.600000 77.801600
+-3.600000 3.600000 36.483200
+-3.200000 3.600000 15.683200
+-2.800000 3.600000 10.179200
+-2.400000 3.600000 15.363200
+-2.000000 3.600000 27.241600
+-1.600000 3.600000 42.435200
+-1.200000 3.600000 58.179200
+-0.800000 3.600000 72.323200
+-0.400000 3.600000 83.331200
+0.000000 3.600000 90.281600
+0.400000 3.600000 92.867200
+0.800000 3.600000 91.395200
+1.200000 3.600000 86.787200
+1.600000 3.600000 80.579200
+2.000000 3.600000 74.921600
+2.400000 3.600000 72.579200
+2.800000 3.600000 76.931200
+3.200000 3.600000 91.971200
+3.600000 3.600000 122.307200
+4.000000 3.600000 173.161600
+4.400000 3.600000 250.371200
+4.800000 3.600000 360.387200
+5.200000 3.600000 510.275200
+5.600000 3.600000 707.715200
+6.000000 3.600000 961.001600
+-6.000000 4.000000 850.000000
+-5.600000 4.000000 604.969600
+-5.200000 4.000000 416.041600
+-4.800000 4.000000 274.921600
+-4.400000 4.000000 173.929600
+-4.000000 4.000000 106.000000
+-3.600000 4.000000 64.681600
+-3.200000 4.000000 44.137600
+-2.800000 4.000000 39.145600
+-2.400000 4.000000 45.097600
+-2.000000 4.000000 58.000000
+-1.600000 4.000000 74.473600
+-1.200000 4.000000 91.753600
+-0.800000 4.000000 107.689600
+-0.400000 4.000000 120.745600
+0.000000 4.000000 130.000000
+0.400000 4.000000 135.145600
+0.800000 4.000000 136.489600
+1.200000 4.000000 134.953600
+1.600000 4.000000 132.073600
+2.000000 4.000000 130.000000
+2.400000 4.000000 131.497600
+2.800000 4.000000 139.945600
+3.200000 4.000000 159.337600
+3.600000 4.000000 194.281600
+4.000000 4.000000 250.000000
+4.400000 4.000000 332.329600
+4.800000 4.000000 447.721600
+5.200000 4.000000 603.241600
+5.600000 4.000000 806.569600
+6.000000 4.000000 1066.000000
+-6.000000 4.400000 904.809600
+-5.600000 4.400000 658.755200
+-5.200000 4.400000 469.059200
+-4.800000 4.400000 327.427200
+-4.400000 4.400000 226.179200
+-4.000000 4.400000 158.249600
+-3.600000 4.400000 117.187200
+-3.200000 4.400000 97.155200
+-2.800000 4.400000 92.931200
+-2.400000 4.400000 99.907200
+-2.000000 4.400000 114.089600
+-1.600000 4.400000 132.099200
+-1.200000 4.400000 151.171200
+-0.800000 4.400000 169.155200
+-0.400000 4.400000 184.515200
+0.000000 4.400000 196.329600
+0.400000 4.400000 204.291200
+0.800000 4.400000 208.707200
+1.200000 4.400000 210.499200
+1.600000 4.400000 211.203200
+2.000000 4.400000 212.969600
+2.400000 4.400000 218.563200
+2.800000 4.400000 231.363200
+3.200000 4.400000 255.363200
+3.600000 4.400000 295.171200
+4.000000 4.400000 356.009600
+4.400000 4.400000 443.715200
+4.800000 4.400000 564.739200
+5.200000 4.400000 726.147200
+5.600000 4.400000 935.619200
+6.000000 4.400000 1201.449600
+-6.000000 4.800000 988.841600
+-5.600000 4.800000 742.019200
+-5.200000 4.800000 551.811200
+-4.800000 4.800000 409.923200
+-4.400000 4.800000 308.675200
+-4.000000 4.800000 241.001600
+-3.600000 4.800000 200.451200
+-3.200000 4.800000 181.187200
+-2.800000 4.800000 177.987200
+-2.400000 4.800000 186.243200
+-2.000000 4.800000 201.961600
+-1.600000 4.800000 221.763200
+-1.200000 4.800000 242.883200
+-0.800000 4.800000 263.171200
+-0.400000 4.800000 281.091200
+0.000000 4.800000 295.721600
+0.400000 4.800000 306.755200
+0.800000 4.800000 314.499200
+1.200000 4.800000 319.875200
+1.600000 4.800000 324.419200
+2.000000 4.800000 330.281600
+2.400000 4.800000 340.227200
+2.800000 4.800000 357.635200
+3.200000 4.800000 386.499200
+3.600000 4.800000 431.427200
+4.000000 4.800000 497.641600
+4.400000 4.800000 590.979200
+4.800000 4.800000 717.891200
+5.200000 4.800000 885.443200
+5.600000 4.800000 1101.315200
+6.000000 4.800000 1373.801600
+-6.000000 5.200000 1109.161600
+-5.600000 5.200000 861.827200
+-5.200000 5.200000 671.363200
+-4.800000 5.200000 529.475200
+-4.400000 5.200000 428.483200
+-4.000000 5.200000 361.321600
+-3.600000 5.200000 321.539200
+-3.200000 5.200000 303.299200
+-2.800000 5.200000 301.379200
+-2.400000 5.200000 311.171200
+-2.000000 5.200000 328.681600
+-1.600000 5.200000 350.531200
+-1.200000 5.200000 373.955200
+-0.800000 5.200000 396.803200
+-0.400000 5.200000 417.539200
+0.000000 5.200000 435.241600
+0.400000 5.200000 449.603200
+0.800000 5.200000 460.931200
+1.200000 5.200000 470.147200
+1.600000 5.200000 478.787200
+2.000000 5.200000 489.001600
+2.400000 5.200000 503.555200
+2.800000 5.200000 525.827200
+3.200000 5.200000 559.811200
+3.600000 5.200000 610.115200
+4.000000 5.200000 681.961600
+4.400000 5.200000 781.187200
+4.800000 5.200000 914.243200
+5.200000 5.200000 1088.195200
+5.600000 5.200000 1310.723200
+6.000000 5.200000 1590.121600
+-6.000000 5.600000 1273.449600
+-5.600000 5.600000 1025.859200
+-5.200000 5.600000 835.395200
+-4.800000 5.600000 693.763200
+-4.400000 5.600000 593.283200
+-4.000000 5.600000 526.889600
+-3.600000 5.600000 488.131200
+-3.200000 5.600000 471.171200
+-2.800000 5.600000 470.787200
+-2.400000 5.600000 482.371200
+-2.000000 5.600000 501.929600
+-1.600000 5.600000 526.083200
+-1.200000 5.600000 552.067200
+-0.800000 5.600000 577.731200
+-0.400000 5.600000 601.539200
+0.000000 5.600000 622.569600
+0.400000 5.600000 640.515200
+0.800000 5.600000 655.683200
+1.200000 5.600000 668.995200
+1.600000 5.600000 681.987200
+2.000000 5.600000 696.809600
+2.400000 5.600000 716.227200
+2.800000 5.600000 743.619200
+3.200000 5.600000 782.979200
+3.600000 5.600000 838.915200
+4.000000 5.600000 916.649600
+4.400000 5.600000 1022.019200
+4.800000 5.600000 1161.475200
+5.200000 5.600000 1342.083200
+5.600000 5.600000 1571.523200
+6.000000 5.600000 1858.089600
+-6.000000 6.000000 1490.000000
+-5.600000 6.000000 1242.409600
+-5.200000 6.000000 1052.201600
+-4.800000 6.000000 911.081600
+-4.400000 6.000000 811.369600
+-4.000000 6.000000 746.000000
+-3.600000 6.000000 708.521600
+-3.200000 6.000000 693.097600
+-2.800000 6.000000 694.505600
+-2.400000 6.000000 708.137600
+-2.000000 6.000000 730.000000
+-1.600000 6.000000 756.713600
+-1.200000 6.000000 785.513600
+-0.800000 6.000000 814.249600
+-0.400000 6.000000 841.385600
+0.000000 6.000000 866.000000
+0.400000 6.000000 887.785600
+0.800000 6.000000 907.049600
+1.200000 6.000000 924.713600
+1.600000 6.000000 942.313600
+2.000000 6.000000 962.000000
+2.400000 6.000000 986.537600
+2.800000 6.000000 1019.305600
+3.200000 6.000000 1064.297600
+3.600000 6.000000 1126.121600
+4.000000 6.000000 1210.000000
+4.400000 6.000000 1321.769600
+4.800000 6.000000 1467.881600
+5.200000 6.000000 1655.401600
+5.600000 6.000000 1892.009600
+6.000000 6.000000 2186.000000
diff --git a/extra/function/tests/mapper/simple.py b/extra/function/tests/mapper/simple.py
new file mode 100644
index 00000000..a82d0f9a
--- /dev/null
+++ b/extra/function/tests/mapper/simple.py
@@ -0,0 +1,12 @@
+import numpy as np
+
+import py2dmat
+import py2dmat.algorithm.mapper_mpi as mapper
+import function
+
+info = py2dmat.Info.from_file("input.toml")
+solver = function.Himmelblau(info)
+runner = py2dmat.Runner(solver, info)
+
+alg = mapper.Algorithm(info, runner)
+alg.main()
diff --git a/extra/leed/src/main.py b/extra/leed/src/main.py
new file mode 100644
index 00000000..c3062457
--- /dev/null
+++ b/extra/leed/src/main.py
@@ -0,0 +1,20 @@
+# 2DMAT -- Data-analysis software of quantum beam diffraction experiments for 2D material structure
+# Copyright (C) 2020- The University of Tokyo
+#
+# 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 3 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, see http://www.gnu.org/licenses/.
+
+if __name__ == "__main__":
+ # sys.path[0] is this directory (2DMAT/src)
+ from leed._main import main
+ main()
diff --git a/extra/leed/tests/.gitignore b/extra/leed/tests/.gitignore
new file mode 100644
index 00000000..ba077a40
--- /dev/null
+++ b/extra/leed/tests/.gitignore
@@ -0,0 +1 @@
+bin
diff --git a/extra/leed/tests/bin/.placeholder b/extra/leed/tests/bin/.placeholder
new file mode 100644
index 00000000..e69de29b
diff --git a/extra/leed/tests/mapper/MeshData.txt b/extra/leed/tests/mapper/MeshData.txt
new file mode 100644
index 00000000..f4250ab7
--- /dev/null
+++ b/extra/leed/tests/mapper/MeshData.txt
@@ -0,0 +1,10 @@
+0 -0.1 0
+1 -0.05 0
+2 0 0
+3 0.05 0
+4 0.1 0
+5 -0.1 0.05
+6 -0.05 0.05
+7 0 0.05
+8 0.05 0.05
+9 0.1 0.05
diff --git a/extra/leed/tests/mapper/base/exp.d b/extra/leed/tests/mapper/base/exp.d
new file mode 100644
index 00000000..d82916cd
--- /dev/null
+++ b/extra/leed/tests/mapper/base/exp.d
@@ -0,0 +1,1430 @@
+Cu(001)-p(1x1)
+ 5
+ 1 2 3 4 5
+(2F12.3)
+ 1.0
+(1,0)
+430 1.0000E+000
+ 110.000 32909.102
+ 111.000 32989.949
+ 112.000 27115.830
+ 113.000 20836.936
+ 114.000 17491.109
+ 115.000 18582.375
+ 116.000 23811.061
+ 117.000 28160.055
+ 118.000 34106.836
+ 119.000 43209.809
+ 120.000 55337.309
+ 121.000 74917.289
+ 122.000 93303.633
+ 123.000 127680.633
+ 124.000 164766.625
+ 125.000 217950.922
+ 126.000 260295.000
+ 127.000 303758.281
+ 128.000 345681.938
+ 129.000 377419.344
+ 130.000 413735.062
+ 131.000 419946.562
+ 132.000 432770.312
+ 133.000 452263.031
+ 134.000 505907.844
+ 135.000 546827.312
+ 136.000 578923.188
+ 137.000 632437.250
+ 138.000 685416.688
+ 139.000 765741.250
+ 140.000 831670.375
+ 141.000 899387.562
+ 142.000 980058.562
+ 143.000 962418.375
+ 144.000 969287.250
+ 145.000 987338.125
+ 146.000 972646.188
+ 147.000 926261.500
+ 148.000 850372.500
+ 149.000 826287.500
+ 150.000 797515.625
+ 151.000 766293.375
+ 152.000 699646.312
+ 153.000 640080.500
+ 154.000 594140.000
+ 155.000 522062.094
+ 156.000 518720.688
+ 157.000 473471.250
+ 158.000 436965.281
+ 159.000 400841.688
+ 160.000 369550.125
+ 161.000 346436.375
+ 162.000 305236.375
+ 163.000 280297.500
+ 164.000 268620.656
+ 165.000 262791.781
+ 166.000 279864.906
+ 167.000 270487.125
+ 168.000 264729.875
+ 169.000 256462.391
+ 170.000 242067.734
+ 171.000 229818.219
+ 172.000 213597.938
+ 173.000 195484.375
+ 174.000 175022.922
+ 175.000 153103.125
+ 176.000 133987.766
+ 177.000 123210.469
+ 178.000 117077.523
+ 179.000 119541.977
+ 180.000 131733.625
+ 181.000 149118.062
+ 182.000 168445.406
+ 183.000 181765.188
+ 184.000 186211.938
+ 185.000 186715.828
+ 186.000 186305.062
+ 187.000 182094.891
+ 188.000 172276.328
+ 189.000 160217.609
+ 190.000 151400.234
+ 191.000 139816.531
+ 192.000 129011.508
+ 193.000 119811.195
+ 194.000 103119.766
+ 195.000 89488.773
+ 196.000 70887.078
+ 197.000 51738.016
+ 198.000 34914.809
+ 199.000 21172.830
+ 200.000 11821.845
+ 201.000 5363.610
+ 202.000 2786.175
+ 203.000 2336.460
+ 204.000 5405.925
+ 205.000 11685.240
+ 206.000 22033.096
+ 207.000 38319.121
+ 208.000 59729.145
+ 209.000 92425.406
+ 210.000 133250.359
+ 211.000 180270.297
+ 212.000 232451.734
+ 213.000 297839.969
+ 214.000 367414.438
+ 215.000 451008.062
+ 216.000 479037.250
+ 217.000 588375.750
+ 218.000 637339.000
+ 219.000 695676.750
+ 220.000 781607.000
+ 221.000 864629.500
+ 222.000 883315.250
+ 223.000 900421.500
+ 224.000 902824.750
+ 225.000 896670.750
+ 226.000 907167.000
+ 227.000 912420.500
+ 228.000 907503.250
+ 229.000 901057.500
+ 230.000 884973.250
+ 231.000 877993.750
+ 232.000 878241.250
+ 233.000 995683.250
+ 234.000 1020213.500
+ 235.000 1110933.250
+ 236.000 1180058.000
+ 237.000 1244432.750
+ 238.000 1384215.500
+ 239.000 1441139.000
+ 240.000 1458993.750
+ 241.000 1449588.000
+ 242.000 1426297.000
+ 243.000 1438385.000
+ 244.000 1386657.250
+ 245.000 1336027.250
+ 246.000 1248691.250
+ 247.000 1186490.750
+ 248.000 1110345.750
+ 249.000 1047945.500
+ 250.000 980296.250
+ 251.000 919436.250
+ 252.000 865700.750
+ 253.000 841828.000
+ 254.000 741847.750
+ 255.000 747172.750
+ 256.000 723967.500
+ 257.000 786484.000
+ 258.000 809302.500
+ 259.000 851485.750
+ 260.000 887085.750
+ 261.000 912656.750
+ 262.000 897436.750
+ 263.000 863183.500
+ 264.000 762178.500
+ 265.000 712019.000
+ 266.000 653793.500
+ 267.000 582845.750
+ 268.000 528704.250
+ 269.000 436887.000
+ 270.000 364977.250
+ 271.000 308209.250
+ 272.000 273962.000
+ 273.000 254240.000
+ 274.000 229668.750
+ 275.000 232712.500
+ 276.000 232660.250
+ 277.000 231420.750
+ 278.000 234453.250
+ 279.000 247080.250
+ 280.000 242259.500
+ 281.000 239708.750
+ 282.000 238029.500
+ 283.000 238425.750
+ 284.000 243815.000
+ 285.000 255023.000
+ 286.000 263901.250
+ 287.000 272125.750
+ 288.000 297341.250
+ 289.000 302405.000
+ 290.000 302553.000
+ 291.000 305391.500
+ 292.000 303223.000
+ 293.000 295939.500
+ 294.000 282358.000
+ 295.000 278080.750
+ 296.000 258706.250
+ 297.000 250159.750
+ 298.000 232676.750
+ 299.000 213620.250
+ 300.000 190620.750
+ 301.000 171473.500
+ 302.000 147162.750
+ 303.000 126720.250
+ 304.000 109322.500
+ 305.000 91895.500
+ 306.000 77587.250
+ 307.000 63345.000
+ 308.000 52772.750
+ 309.000 46449.000
+ 310.000 39993.750
+ 311.000 37076.250
+ 312.000 37317.500
+ 313.000 42852.250
+ 314.000 50711.500
+ 315.000 60620.750
+ 316.000 76928.250
+ 317.000 97187.500
+ 318.000 121184.000
+ 319.000 149064.750
+ 320.000 180244.500
+ 321.000 211331.000
+ 322.000 251011.000
+ 323.000 292446.500
+ 324.000 342413.500
+ 325.000 390471.250
+ 326.000 461504.000
+ 327.000 529283.000
+ 328.000 591199.500
+ 329.000 664145.000
+ 330.000 698879.750
+ 331.000 768740.000
+ 332.000 856180.250
+ 333.000 953853.750
+ 334.000 1062145.750
+ 335.000 1175820.500
+ 336.000 1294779.750
+ 337.000 1435171.750
+ 338.000 1554730.000
+ 339.000 1676246.250
+ 340.000 1770265.750
+ 341.000 1833665.750
+ 342.000 1903471.500
+ 343.000 1907990.000
+ 344.000 1865828.750
+ 345.000 1813709.750
+ 346.000 1743201.250
+ 347.000 1662722.000
+ 348.000 1568892.250
+ 349.000 1468166.750
+ 350.000 1371482.500
+ 351.000 1280752.000
+ 352.000 1201615.500
+ 353.000 1139485.250
+ 354.000 1063950.750
+ 355.000 1012492.500
+ 356.000 965742.250
+ 357.000 909696.250
+ 358.000 866807.500
+ 359.000 814574.500
+ 360.000 757251.250
+ 361.000 690734.250
+ 362.000 625324.750
+ 363.000 557258.500
+ 364.000 492614.250
+ 365.000 426275.000
+ 366.000 367078.750
+ 367.000 319227.000
+ 368.000 282867.750
+ 369.000 260716.000
+ 370.000 250796.750
+ 371.000 248091.750
+ 372.000 249112.250
+ 373.000 250584.750
+ 374.000 255238.750
+ 375.000 258680.500
+ 376.000 261692.750
+ 377.000 261825.500
+ 378.000 258041.250
+ 379.000 250009.750
+ 380.000 238443.750
+ 381.000 221532.250
+ 382.000 219804.000
+ 383.000 204707.000
+ 384.000 175861.000
+ 385.000 152439.500
+ 386.000 129119.250
+ 387.000 111132.000
+ 388.000 102871.000
+ 389.000 102062.500
+ 390.000 110717.500
+ 391.000 126974.500
+ 392.000 146367.250
+ 393.000 168016.250
+ 394.000 188035.000
+ 395.000 206020.500
+ 396.000 236628.000
+ 397.000 249911.750
+ 398.000 258449.750
+ 399.000 260864.750
+ 400.000 260949.250
+ 401.000 259174.250
+ 402.000 253732.000
+ 403.000 244851.250
+ 404.000 238979.750
+ 405.000 234964.500
+ 406.000 233982.750
+ 407.000 235722.000
+ 408.000 234070.000
+ 409.000 240643.000
+ 410.000 250803.250
+ 411.000 260542.250
+ 412.000 273420.250
+ 413.000 286687.000
+ 414.000 299177.750
+ 415.000 314338.250
+ 416.000 328019.000
+ 417.000 341005.500
+ 418.000 350114.750
+ 419.000 356311.000
+ 420.000 363167.500
+ 421.000 359435.250
+ 422.000 350867.750
+ 423.000 336705.000
+ 424.000 314769.750
+ 425.000 290049.750
+ 426.000 265035.750
+ 427.000 235951.000
+ 428.000 209885.250
+ 429.000 181895.500
+ 430.000 158415.750
+ 431.000 135719.500
+ 432.000 115104.250
+ 433.000 91246.500
+ 434.000 76732.500
+ 435.000 63119.750
+ 436.000 50554.500
+ 437.000 39891.750
+ 438.000 29432.500
+ 439.000 19596.750
+ 440.000 16841.500
+ 441.000 11374.250
+ 442.000 7880.500
+ 443.000 9570.750
+ 444.000 12792.500
+ 445.000 15282.250
+ 446.000 22720.000
+ 447.000 33859.000
+ 448.000 46637.250
+ 449.000 63566.250
+ 450.000 86890.250
+ 451.000 114184.250
+ 452.000 146913.250
+ 453.000 187362.250
+ 454.000 239056.250
+ 455.000 299369.250
+ 456.000 368571.000
+ 457.000 450529.250
+ 458.000 543252.750
+ 459.000 650487.000
+ 460.000 772895.000
+ 461.000 903185.000
+ 462.000 1051839.750
+ 463.000 1266797.250
+ 464.000 1373579.250
+ 465.000 1542186.500
+ 466.000 1715162.500
+ 467.000 1878740.500
+ 468.000 2027474.000
+ 469.000 2154586.750
+ 470.000 2251038.000
+ 471.000 2318679.500
+ 472.000 2350578.750
+ 473.000 2346121.500
+ 474.000 2275645.250
+ 475.000 2211391.000
+ 476.000 2122855.500
+ 477.000 2007904.750
+ 478.000 1880475.750
+ 479.000 1740091.750
+ 480.000 1595713.500
+ 481.000 1449303.000
+ 482.000 1305942.000
+ 483.000 1160322.000
+ 484.000 1023620.250
+ 485.000 888675.500
+ 486.000 769557.500
+ 487.000 667070.000
+ 488.000 566484.250
+ 489.000 509269.500
+ 490.000 453661.750
+ 491.000 414390.250
+ 492.000 384872.500
+ 493.000 361758.000
+ 494.000 344285.250
+ 495.000 338578.500
+ 496.000 333789.250
+ 497.000 332714.500
+ 498.000 330379.250
+ 499.000 337528.250
+ 500.000 331554.000
+ 501.000 332556.500
+ 502.000 334434.750
+ 503.000 342663.000
+ 504.000 372607.000
+ 505.000 376457.000
+ 506.000 381952.000
+ 507.000 358359.500
+ 508.000 372698.750
+ 509.000 362500.750
+ 510.000 341605.000
+ 511.000 327486.750
+ 512.000 306647.500
+ 513.000 280615.000
+ 514.000 252939.250
+ 515.000 227459.750
+ 516.000 200277.250
+ 517.000 173735.000
+ 518.000 147124.500
+ 519.000 121023.500
+ 520.000 100271.500
+ 521.000 78931.250
+ 522.000 60680.500
+ 523.000 44373.750
+ 524.000 34548.500
+ 525.000 25229.250
+ 526.000 17743.750
+ 527.000 16985.500
+ 528.000 19909.500
+ 529.000 24943.750
+ 530.000 33629.250
+ 531.000 47126.500
+ 532.000 64306.000
+ 533.000 84505.750
+ 534.000 114180.500
+ 535.000 134219.000
+ 536.000 160378.000
+ 537.000 179912.500
+ 538.000 192491.500
+ 539.000 202616.500
+(1,2)
+173 1.0000E+000
+ 250.000 32627.875
+ 251.000 36126.375
+ 252.000 38843.625
+ 253.000 40418.250
+ 254.000 38205.250
+ 255.000 37195.625
+ 256.000 35149.750
+ 257.000 33977.625
+ 258.000 31204.625
+ 259.000 27474.125
+ 260.000 24065.375
+ 261.000 21865.625
+ 262.000 19053.500
+ 263.000 22365.875
+ 264.000 26090.500
+ 265.000 36522.500
+ 266.000 52044.250
+ 267.000 79332.750
+ 268.000 115148.250
+ 269.000 157016.250
+ 270.000 199473.375
+ 271.000 244676.125
+ 272.000 285906.375
+ 273.000 314045.500
+ 274.000 328219.500
+ 275.000 328924.875
+ 276.000 308658.125
+ 277.000 296827.625
+ 278.000 288219.625
+ 279.000 274450.250
+ 280.000 265107.250
+ 281.000 259923.750
+ 282.000 242104.750
+ 283.000 229026.000
+ 284.000 220300.375
+ 285.000 206010.375
+ 286.000 191402.250
+ 287.000 186507.625
+ 288.000 181210.625
+ 289.000 173239.625
+ 290.000 168409.125
+ 291.000 157036.000
+ 292.000 148320.375
+ 293.000 143622.250
+ 294.000 133597.375
+ 295.000 121797.750
+ 296.000 109460.875
+ 297.000 93920.500
+ 298.000 79001.625
+ 299.000 69761.875
+ 300.000 57053.750
+ 301.000 48390.500
+ 302.000 42758.875
+ 303.000 37215.250
+ 304.000 37944.125
+ 305.000 35182.500
+ 306.000 36316.750
+ 307.000 38135.375
+ 308.000 41424.000
+ 309.000 44535.625
+ 310.000 48504.000
+ 311.000 51544.750
+ 312.000 53455.375
+ 313.000 56468.250
+ 314.000 58843.500
+ 315.000 58822.250
+ 316.000 60194.500
+ 317.000 59416.250
+ 318.000 58234.750
+ 319.000 56240.875
+ 320.000 53112.250
+ 321.000 47295.875
+ 322.000 42509.250
+ 323.000 37063.250
+ 324.000 33240.000
+ 325.000 30930.375
+ 326.000 27367.500
+ 327.000 22412.875
+ 328.000 23444.250
+ 329.000 20988.875
+ 330.000 21586.500
+ 331.000 21860.625
+ 332.000 23273.875
+ 333.000 20340.625
+ 334.000 21348.750
+ 335.000 21579.000
+ 336.000 21794.625
+ 337.000 20432.000
+ 338.000 20499.625
+ 339.000 20357.750
+ 340.000 17802.375
+ 341.000 15798.375
+ 342.000 14458.625
+ 343.000 15161.250
+ 344.000 11987.625
+ 345.000 12063.875
+ 346.000 12318.500
+ 347.000 9413.125
+ 348.000 9384.500
+ 349.000 10062.750
+ 350.000 9627.625
+ 351.000 11012.375
+ 352.000 13624.250
+ 353.000 15092.250
+ 354.000 19275.500
+ 355.000 20997.500
+ 356.000 24146.375
+ 357.000 27852.375
+ 358.000 32455.875
+ 359.000 34110.125
+ 360.000 34526.500
+ 361.000 37209.750
+ 362.000 39187.875
+ 363.000 39208.000
+ 364.000 39092.125
+ 365.000 37001.125
+ 366.000 35963.250
+ 367.000 36520.000
+ 368.000 37854.625
+ 369.000 37461.375
+ 370.000 39899.000
+ 371.000 43546.375
+ 372.000 47778.250
+ 373.000 57054.625
+ 374.000 66915.125
+ 375.000 77817.625
+ 376.000 89112.625
+ 377.000 105070.750
+ 378.000 120097.125
+ 379.000 137458.625
+ 380.000 151660.875
+ 381.000 167895.625
+ 382.000 178948.875
+ 383.000 193613.250
+ 384.000 215364.500
+ 385.000 228928.750
+ 386.000 244948.500
+ 387.000 259147.875
+ 388.000 273266.500
+ 389.000 279765.625
+ 390.000 288546.625
+ 391.000 286065.000
+ 392.000 272402.375
+ 393.000 255002.875
+ 394.000 235121.875
+ 395.000 210959.375
+ 396.000 188646.375
+ 397.000 164830.750
+ 398.000 145123.375
+ 399.000 128165.500
+ 400.000 114185.625
+ 401.000 105883.125
+ 402.000 98491.375
+ 403.000 97029.750
+ 404.000 98278.625
+ 405.000 98796.750
+ 406.000 98736.000
+ 407.000 98988.500
+ 408.000 102017.500
+ 409.000 101314.125
+ 410.000 103090.250
+ 411.000 100949.750
+ 412.000 97631.875
+ 413.000 93604.625
+ 414.000 83932.250
+ 415.000 74087.625
+ 416.000 66319.250
+ 417.000 59315.375
+ 418.000 50896.375
+ 419.000 40400.125
+ 420.000 29912.000
+ 421.000 23445.125
+ 422.000 17742.250
+(1,1)
+373 1.0000E+000
+ 120.000 262958.250
+ 121.000 191402.000
+ 122.000 123578.000
+ 123.000 80576.250
+ 124.000 57366.750
+ 125.000 55169.750
+ 126.000 69878.500
+ 127.000 83088.000
+ 128.000 99856.750
+ 129.000 113514.500
+ 130.000 114996.000
+ 131.000 113783.500
+ 132.000 122017.750
+ 133.000 122326.500
+ 134.000 113429.750
+ 135.000 106929.500
+ 136.000 97425.750
+ 137.000 86294.000
+ 138.000 69813.250
+ 139.000 57376.750
+ 140.000 48373.250
+ 141.000 46094.500
+ 142.000 54930.250
+ 143.000 69197.500
+ 144.000 88464.000
+ 145.000 109296.500
+ 146.000 143147.250
+ 147.000 181320.500
+ 148.000 210681.750
+ 149.000 235661.750
+ 150.000 264507.750
+ 151.000 282399.500
+ 152.000 297022.500
+ 153.000 304464.500
+ 154.000 301076.500
+ 155.000 299884.000
+ 156.000 359908.000
+ 157.000 344910.250
+ 158.000 319166.750
+ 159.000 300761.500
+ 160.000 281662.250
+ 161.000 264320.250
+ 162.000 235108.750
+ 163.000 210239.250
+ 164.000 185691.500
+ 165.000 166047.750
+ 166.000 146435.500
+ 167.000 138166.750
+ 168.000 122349.750
+ 169.000 108138.750
+ 170.000 96986.250
+ 171.000 86910.500
+ 172.000 80072.000
+ 173.000 79292.000
+ 174.000 90264.250
+ 175.000 105290.750
+ 176.000 134745.500
+ 177.000 185349.250
+ 178.000 247525.750
+ 179.000 341783.750
+ 180.000 465566.750
+ 181.000 631457.500
+ 182.000 835840.000
+ 183.000 1018446.250
+ 184.000 1189271.000
+ 185.000 1224704.250
+ 186.000 1441735.500
+ 187.000 1577647.750
+ 188.000 1628362.500
+ 189.000 1664855.000
+ 190.000 1697921.500
+ 191.000 1686717.500
+ 192.000 1622125.750
+ 193.000 1604053.500
+ 194.000 1566184.500
+ 195.000 1593225.250
+ 196.000 1652860.750
+ 197.000 1645710.500
+ 198.000 1481953.000
+ 199.000 1409676.250
+ 200.000 1420912.500
+ 201.000 1405788.750
+ 202.000 1337829.250
+ 203.000 1292514.000
+ 204.000 1223402.250
+ 205.000 1168586.250
+ 206.000 1081081.000
+ 207.000 996064.750
+ 208.000 895505.250
+ 209.000 823388.750
+ 210.000 772565.250
+ 211.000 671823.250
+ 212.000 591860.250
+ 213.000 547595.250
+ 214.000 490890.250
+ 215.000 428013.750
+ 216.000 381616.250
+ 217.000 335117.500
+ 218.000 285280.500
+ 219.000 241205.500
+ 220.000 193124.000
+ 221.000 153201.000
+ 222.000 121559.000
+ 223.000 116670.250
+ 224.000 90034.750
+ 225.000 64248.000
+ 226.000 53624.500
+ 227.000 49051.500
+ 228.000 46860.750
+ 229.000 51028.750
+ 230.000 64807.000
+ 231.000 70256.000
+ 232.000 68059.500
+ 233.000 79843.750
+ 234.000 89249.750
+ 235.000 97990.250
+ 236.000 105617.500
+ 237.000 121536.750
+ 238.000 131477.000
+ 239.000 144351.750
+ 240.000 151710.500
+ 241.000 161483.250
+ 242.000 178449.500
+ 243.000 189189.500
+ 244.000 181182.000
+ 245.000 186996.000
+ 246.000 189716.000
+ 247.000 190957.750
+ 248.000 187351.750
+ 249.000 187762.750
+ 250.000 183888.750
+ 251.000 164188.500
+ 252.000 157807.250
+ 253.000 151687.000
+ 254.000 139311.250
+ 255.000 127780.750
+ 256.000 114212.250
+ 257.000 106874.250
+ 258.000 90878.750
+ 259.000 76695.000
+ 260.000 64601.500
+ 261.000 56987.000
+ 262.000 45563.750
+ 263.000 37630.500
+ 264.000 31165.250
+ 265.000 21662.500
+ 266.000 18662.250
+ 267.000 14838.500
+ 268.000 13550.500
+ 269.000 11273.500
+ 270.000 11421.000
+ 271.000 13981.750
+ 272.000 15040.500
+ 273.000 18578.000
+ 274.000 28592.500
+ 275.000 38099.500
+ 276.000 56455.250
+ 277.000 83553.250
+ 278.000 128063.250
+ 279.000 192143.500
+ 280.000 273777.750
+ 281.000 356639.750
+ 282.000 449519.500
+ 283.000 535906.000
+ 284.000 626843.500
+ 285.000 707466.250
+ 286.000 837288.750
+ 287.000 874405.000
+ 288.000 973387.750
+ 289.000 1039946.500
+ 290.000 1126569.750
+ 291.000 1141896.000
+ 292.000 1235785.250
+ 293.000 1319692.500
+ 294.000 1417963.250
+ 295.000 1509619.500
+ 296.000 1595949.250
+ 297.000 1668066.500
+ 298.000 1720744.250
+ 299.000 1733202.250
+ 300.000 1743176.250
+ 301.000 1717181.750
+ 302.000 1680056.500
+ 303.000 1638789.625
+ 304.000 1594867.375
+ 305.000 1511026.625
+ 306.000 1452515.000
+ 307.000 1382712.625
+ 308.000 1253331.375
+ 309.000 1130485.375
+ 310.000 1010836.312
+ 311.000 865409.312
+ 312.000 772082.312
+ 313.000 686134.000
+ 314.000 646813.312
+ 315.000 569115.312
+ 316.000 501181.656
+ 317.000 437942.344
+ 318.000 382261.000
+ 319.000 331362.656
+ 320.000 290606.656
+ 321.000 247975.672
+ 322.000 202754.328
+ 323.000 173909.672
+ 324.000 146625.328
+ 325.000 125430.000
+ 326.000 108246.664
+ 327.000 94395.000
+ 328.000 82828.000
+ 329.000 74841.664
+ 330.000 66734.664
+ 331.000 63132.000
+ 332.000 55631.332
+ 333.000 51867.332
+ 334.000 46288.332
+ 335.000 40424.000
+ 336.000 32264.000
+ 337.000 27544.666
+ 338.000 22456.666
+ 339.000 16473.000
+ 340.000 12197.667
+ 341.000 8251.333
+ 342.000 5681.667
+ 343.000 2356.333
+ 344.000 1598.000
+ 345.000 3222.667
+ 346.000 1224.667
+ 347.000 2251.667
+ 348.000 2233.667
+ 349.000 3757.333
+ 350.000 5675.000
+ 351.000 6142.667
+ 352.000 7407.000
+ 353.000 17187.000
+ 354.000 17202.000
+ 355.000 22864.666
+ 356.000 27618.000
+ 357.000 33039.668
+ 358.000 39219.332
+ 359.000 43784.332
+ 360.000 50044.000
+ 361.000 50310.000
+ 362.000 50709.332
+ 363.000 55199.000
+ 364.000 89025.664
+ 365.000 80362.664
+ 366.000 74896.336
+ 367.000 58269.332
+ 368.000 48589.332
+ 369.000 41504.668
+ 370.000 36433.000
+ 371.000 28465.000
+ 372.000 22037.334
+ 373.000 18594.666
+ 374.000 14025.333
+ 375.000 7442.333
+ 376.000 5984.333
+ 377.000 4422.000
+ 378.000 3542.333
+ 379.000 5286.333
+ 380.000 3603.667
+ 381.000 2468.333
+ 382.000 3552.667
+ 383.000 4268.333
+ 384.000 4424.000
+ 385.000 3003.333
+ 386.000 1521.000
+ 387.000 4147.000
+ 388.000 4363.333
+ 389.000 2271.000
+ 390.000 6364.333
+ 391.000 3866.000
+ 392.000 5478.667
+ 393.000 3062.667
+ 394.000 4540.667
+ 395.000 5201.667
+ 396.000 8576.667
+ 397.000 11787.667
+ 398.000 16315.333
+ 399.000 29734.666
+ 400.000 55316.668
+ 401.000 71447.000
+ 402.000 100312.000
+ 403.000 132754.328
+ 404.000 170636.328
+ 405.000 207728.672
+ 406.000 275832.656
+ 407.000 331761.344
+ 408.000 389276.000
+ 409.000 466064.344
+ 410.000 528966.312
+ 411.000 591851.312
+ 412.000 659815.312
+ 413.000 734632.688
+ 414.000 810164.000
+ 415.000 883135.312
+ 416.000 985629.312
+ 417.000 1054066.000
+ 418.000 1112007.000
+ 419.000 1156697.625
+ 420.000 1199465.375
+ 421.000 1218009.625
+ 422.000 1223193.000
+ 423.000 1212871.000
+ 424.000 1180622.375
+ 425.000 1154459.000
+ 426.000 1129595.375
+ 427.000 1063823.625
+ 428.000 976653.312
+ 429.000 899792.688
+ 430.000 815014.312
+ 431.000 726136.312
+ 432.000 641226.312
+ 433.000 556814.688
+ 434.000 488567.344
+ 435.000 426233.000
+ 436.000 352638.656
+ 437.000 297304.344
+ 438.000 245461.000
+ 439.000 204816.672
+ 440.000 153227.672
+ 441.000 121207.000
+ 442.000 93599.000
+ 443.000 70723.000
+ 444.000 55495.668
+ 445.000 39659.332
+ 446.000 32573.000
+ 447.000 9357.333
+ 448.000 6084.333
+ 449.000 2362.333
+ 450.000 2667.667
+ 451.000 4177.333
+ 452.000 6601.000
+ 453.000 10199.000
+ 454.000 13132.667
+ 455.000 15603.000
+ 456.000 21506.666
+ 457.000 25137.334
+ 458.000 42332.332
+ 459.000 48081.668
+ 460.000 49840.000
+ 461.000 53491.668
+ 462.000 54214.668
+ 463.000 50408.000
+ 464.000 49178.668
+ 465.000 46405.000
+ 466.000 41729.332
+ 467.000 34380.332
+ 468.000 34262.668
+ 469.000 28322.000
+ 470.000 22689.334
+ 471.000 19853.666
+ 472.000 14687.000
+ 473.000 13005.333
+ 474.000 6889.667
+ 475.000 9184.000
+ 476.000 3172.000
+ 477.000 3635.333
+ 478.000 1494.667
+ 479.000 3928.000
+ 480.000 7688.667
+ 481.000 7626.000
+ 482.000 8050.000
+ 483.000 10658.333
+ 484.000 7392.333
+ 485.000 10084.333
+ 486.000 21025.334
+ 487.000 11959.333
+ 488.000 16104.333
+ 489.000 15054.667
+ 490.000 13444.000
+ 491.000 10955.000
+ 492.000 9959.000
+(2,2)
+138 1.0000E+000
+ 360.000 250248.250
+ 361.000 287548.750
+ 362.000 320885.000
+ 363.000 362156.250
+ 364.000 400854.000
+ 365.000 444919.750
+ 366.000 482849.500
+ 367.000 501998.500
+ 368.000 529677.250
+ 369.000 563841.250
+ 370.000 565337.750
+ 371.000 572843.750
+ 372.000 560348.250
+ 373.000 553518.250
+ 374.000 547503.500
+ 375.000 532432.750
+ 376.000 513031.750
+ 377.000 486469.500
+ 378.000 452888.000
+ 379.000 410328.000
+ 380.000 368567.250
+ 381.000 333108.250
+ 382.000 287658.750
+ 383.000 251676.500
+ 384.000 219666.250
+ 385.000 182405.000
+ 386.000 158698.000
+ 387.000 136213.000
+ 388.000 116183.500
+ 389.000 95867.500
+ 390.000 76424.250
+ 391.000 61768.750
+ 392.000 49875.250
+ 393.000 44698.750
+ 394.000 37187.750
+ 395.000 30479.000
+ 396.000 27905.000
+ 397.000 23857.250
+ 398.000 20334.500
+ 399.000 22134.250
+ 400.000 21039.000
+ 401.000 20882.750
+ 402.000 19881.500
+ 403.000 20327.000
+ 404.000 20549.500
+ 405.000 24274.750
+ 406.000 24427.250
+ 407.000 23993.250
+ 408.000 25741.250
+ 409.000 28087.250
+ 410.000 27626.500
+ 411.000 29944.500
+ 412.000 30490.500
+ 413.000 31039.000
+ 414.000 32010.750
+ 415.000 32616.750
+ 416.000 30621.250
+ 417.000 28912.000
+ 418.000 28172.750
+ 419.000 28578.250
+ 420.000 29835.500
+ 421.000 28103.500
+ 422.000 28772.000
+ 423.000 29516.250
+ 424.000 28400.250
+ 425.000 29528.250
+ 426.000 29486.250
+ 427.000 29760.000
+ 428.000 28369.500
+ 429.000 29144.750
+ 430.000 29893.750
+ 431.000 32531.250
+ 432.000 32892.500
+ 433.000 35183.250
+ 434.000 34275.750
+ 435.000 35176.000
+ 436.000 20192.250
+ 437.000 25602.750
+ 438.000 25462.750
+ 439.000 22973.000
+ 440.000 23112.000
+ 441.000 23107.500
+ 442.000 21859.250
+ 443.000 20306.000
+ 444.000 19672.500
+ 445.000 21774.250
+ 446.000 19946.500
+ 447.000 19190.000
+ 448.000 18360.500
+ 449.000 16509.250
+ 450.000 16765.250
+ 451.000 16576.250
+ 452.000 15059.250
+ 453.000 14068.750
+ 454.000 12591.250
+ 455.000 13257.000
+ 456.000 12336.500
+ 457.000 11771.750
+ 458.000 10531.750
+ 459.000 9411.000
+ 460.000 8589.500
+ 461.000 10897.750
+ 462.000 9506.500
+ 463.000 10479.250
+ 464.000 11014.000
+ 465.000 13371.000
+ 466.000 12179.750
+ 467.000 13531.750
+ 468.000 15337.000
+ 469.000 17146.000
+ 470.000 17306.500
+ 471.000 22040.250
+ 472.000 21762.000
+ 473.000 27503.500
+ 474.000 29560.500
+ 475.000 33721.000
+ 476.000 37097.750
+ 477.000 42616.500
+ 478.000 48501.000
+ 479.000 54643.500
+ 480.000 59905.500
+ 481.000 68460.500
+ 482.000 78775.250
+ 483.000 96894.000
+ 484.000 135039.500
+ 485.000 193728.750
+ 486.000 250467.500
+ 487.000 299443.500
+ 488.000 348250.000
+ 489.000 409601.750
+ 490.000 460200.750
+ 491.000 517113.250
+ 492.000 560140.500
+ 493.000 598529.000
+ 494.000 601090.250
+ 495.000 622097.750
+ 496.000 626301.500
+ 497.000 609906.250
+(2,0)
+301 1.0000E+000
+ 180.000 176112.750
+ 181.000 166920.000
+ 182.000 141516.500
+ 183.000 113345.250
+ 184.000 94153.500
+ 185.000 73143.250
+ 186.000 58010.250
+ 187.000 42551.750
+ 188.000 36919.750
+ 189.000 31332.000
+ 190.000 28839.500
+ 191.000 28233.750
+ 192.000 31953.500
+ 193.000 39794.500
+ 194.000 48803.500
+ 195.000 64623.750
+ 196.000 94230.500
+ 197.000 123732.500
+ 198.000 160017.500
+ 199.000 204029.250
+ 200.000 251582.000
+ 201.000 297688.500
+ 202.000 343196.250
+ 203.000 392587.250
+ 204.000 465355.500
+ 205.000 542679.000
+ 206.000 616668.750
+ 207.000 714134.750
+ 208.000 805756.250
+ 209.000 874487.000
+ 210.000 938771.500
+ 211.000 979454.500
+ 212.000 1014115.500
+ 213.000 966961.000
+ 214.000 869250.000
+ 215.000 743871.000
+ 216.000 596983.750
+ 217.000 426690.750
+ 218.000 283110.000
+ 219.000 184340.000
+ 220.000 106763.000
+ 221.000 61827.250
+ 222.000 44233.500
+ 223.000 35886.750
+ 224.000 31226.250
+ 225.000 29373.000
+ 226.000 29326.750
+ 227.000 33994.750
+ 228.000 34921.500
+ 229.000 43556.250
+ 230.000 55015.250
+ 231.000 58651.000
+ 232.000 57033.750
+ 233.000 52152.250
+ 234.000 44730.500
+ 235.000 43451.500
+ 236.000 41218.000
+ 237.000 48848.000
+ 238.000 63566.500
+ 239.000 83753.500
+ 240.000 103892.000
+ 241.000 127654.000
+ 242.000 156214.750
+ 243.000 184808.000
+ 244.000 210072.000
+ 245.000 227701.250
+ 246.000 240800.500
+ 247.000 247076.750
+ 248.000 256099.000
+ 249.000 258184.500
+ 250.000 257130.500
+ 251.000 252470.000
+ 252.000 243605.750
+ 253.000 222908.000
+ 254.000 208076.000
+ 255.000 201664.000
+ 256.000 206573.750
+ 257.000 196457.500
+ 258.000 192093.500
+ 259.000 192882.500
+ 260.000 196797.250
+ 261.000 204389.500
+ 262.000 212122.750
+ 263.000 222957.500
+ 264.000 226058.250
+ 265.000 245519.250
+ 266.000 273974.250
+ 267.000 290149.250
+ 268.000 304951.500
+ 269.000 321057.500
+ 270.000 317129.250
+ 271.000 318539.500
+ 272.000 288686.500
+ 273.000 262613.750
+ 274.000 235427.750
+ 275.000 192848.500
+ 276.000 168758.750
+ 277.000 139644.250
+ 278.000 114620.000
+ 279.000 89833.250
+ 280.000 72482.000
+ 281.000 60812.750
+ 282.000 50380.000
+ 283.000 41729.250
+ 284.000 34541.000
+ 285.000 28692.750
+ 286.000 25600.250
+ 287.000 21239.250
+ 288.000 21126.750
+ 289.000 23086.000
+ 290.000 25431.000
+ 291.000 27086.500
+ 292.000 32453.000
+ 293.000 39374.250
+ 294.000 46895.000
+ 295.000 58473.750
+ 296.000 74200.000
+ 297.000 93628.000
+ 298.000 114820.750
+ 299.000 141471.500
+ 300.000 176153.500
+ 301.000 214803.750
+ 302.000 256502.000
+ 303.000 311100.750
+ 304.000 370144.500
+ 305.000 428930.000
+ 306.000 487029.250
+ 307.000 550628.500
+ 308.000 617327.250
+ 309.000 685512.250
+ 310.000 760893.250
+ 311.000 843642.000
+ 312.000 922374.250
+ 313.000 1000858.750
+ 314.000 1073597.500
+ 315.000 1150133.750
+ 316.000 1224770.250
+ 317.000 1304968.750
+ 318.000 1350247.000
+ 319.000 1405386.500
+ 320.000 1475104.250
+ 321.000 1503078.500
+ 322.000 1549961.250
+ 323.000 1573418.500
+ 324.000 1590171.000
+ 325.000 1584621.750
+ 326.000 1581176.000
+ 327.000 1577881.250
+ 328.000 1528807.500
+ 329.000 1443054.250
+ 330.000 1310488.000
+ 331.000 1199920.500
+ 332.000 1071894.750
+ 333.000 939756.500
+ 334.000 793811.750
+ 335.000 660200.750
+ 336.000 530628.000
+ 337.000 423488.750
+ 338.000 327358.250
+ 339.000 248750.500
+ 340.000 175291.000
+ 341.000 126829.500
+ 342.000 91875.000
+ 343.000 65195.500
+ 344.000 46755.250
+ 345.000 36578.750
+ 346.000 34171.000
+ 347.000 23097.000
+ 348.000 32963.500
+ 349.000 24659.000
+ 350.000 25404.250
+ 351.000 24438.500
+ 352.000 28448.500
+ 353.000 27667.750
+ 354.000 31546.250
+ 355.000 29359.250
+ 356.000 30040.250
+ 357.000 27300.750
+ 358.000 27288.500
+ 359.000 24893.750
+ 360.000 26286.000
+ 361.000 21854.750
+ 362.000 23705.250
+ 363.000 22729.500
+ 364.000 30211.750
+ 365.000 34476.250
+ 366.000 36157.000
+ 367.000 42120.750
+ 368.000 49128.000
+ 369.000 60511.500
+ 370.000 71236.500
+ 371.000 77792.000
+ 372.000 82959.500
+ 373.000 94803.500
+ 374.000 105918.000
+ 375.000 112234.750
+ 376.000 121485.500
+ 377.000 131604.250
+ 378.000 129527.750
+ 379.000 135210.250
+ 380.000 155384.750
+ 381.000 206175.000
+ 382.000 212562.500
+ 383.000 213674.750
+ 384.000 202620.250
+ 385.000 197963.250
+ 386.000 195662.000
+ 387.000 188215.500
+ 388.000 183622.500
+ 389.000 175554.000
+ 390.000 166149.000
+ 391.000 155426.250
+ 392.000 142387.750
+ 393.000 129780.500
+ 394.000 117892.250
+ 395.000 105970.750
+ 396.000 97574.000
+ 397.000 88917.250
+ 398.000 80017.250
+ 399.000 74672.750
+ 400.000 72362.500
+ 401.000 72671.750
+ 402.000 70289.500
+ 403.000 67783.250
+ 404.000 63339.250
+ 405.000 62200.250
+ 406.000 57878.000
+ 407.000 56228.500
+ 408.000 47207.250
+ 409.000 44074.000
+ 410.000 41423.750
+ 411.000 36844.000
+ 412.000 32166.750
+ 413.000 29945.500
+ 414.000 24811.000
+ 415.000 19714.500
+ 416.000 19946.500
+ 417.000 13079.500
+ 418.000 12307.250
+ 419.000 14122.250
+ 420.000 10830.750
+ 421.000 17708.250
+ 422.000 23866.750
+ 423.000 31665.250
+ 424.000 46790.500
+ 425.000 64706.750
+ 426.000 82396.000
+ 427.000 110607.750
+ 428.000 133043.250
+ 429.000 163192.000
+ 430.000 198452.250
+ 431.000 226944.000
+ 432.000 265954.250
+ 433.000 296172.000
+ 434.000 327355.500
+ 435.000 364659.000
+ 436.000 409616.750
+ 437.000 453563.250
+ 438.000 512556.500
+ 439.000 570770.000
+ 440.000 627959.250
+ 441.000 680374.500
+ 442.000 698445.250
+ 443.000 740678.250
+ 444.000 778165.500
+ 445.000 824557.250
+ 446.000 845907.750
+ 447.000 867337.250
+ 448.000 865154.750
+ 449.000 880550.250
+ 450.000 903574.250
+ 451.000 877599.250
+ 452.000 914433.500
+ 453.000 900253.750
+ 454.000 871023.750
+ 455.000 835289.000
+ 456.000 790139.500
+ 457.000 735387.250
+ 458.000 688637.250
+ 459.000 638482.250
+ 460.000 581083.250
+ 461.000 518274.250
+ 462.000 466334.750
+ 463.000 407053.750
+ 464.000 358499.500
+ 465.000 309999.750
+ 466.000 269674.250
+ 467.000 231763.000
+ 468.000 191363.500
+ 469.000 147887.750
+ 470.000 120665.750
+ 471.000 96606.500
+ 472.000 77252.500
+ 473.000 64478.500
+ 474.000 49201.000
+ 475.000 45917.750
+ 476.000 29818.500
+ 477.000 29612.500
+ 478.000 25287.000
+ 479.000 17533.250
+ 480.000 15916.500
diff --git a/extra/leed/tests/mapper/base/rfac.d b/extra/leed/tests/mapper/base/rfac.d
new file mode 100644
index 00000000..0f528f8e
--- /dev/null
+++ b/extra/leed/tests/mapper/base/rfac.d
@@ -0,0 +1,6 @@
+ 1 2 3 4 5 IBP
+ 0.25 EINCR
+ 1.0 1.0 1.0 1.0 1.0
+ 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 1.0000
+ 6 0 0 ISMOTH IREN IRGEXP
+
diff --git a/extra/leed/tests/mapper/base/short.t b/extra/leed/tests/mapper/base/short.t
new file mode 100644
index 00000000..c5e8742c
Binary files /dev/null and b/extra/leed/tests/mapper/base/short.t differ
diff --git a/extra/leed/tests/mapper/base/tleed.o b/extra/leed/tests/mapper/base/tleed.o
new file mode 100644
index 00000000..85b42403
--- /dev/null
+++ b/extra/leed/tests/mapper/base/tleed.o
@@ -0,0 +1,4685 @@
+Cu(001)-p(1x1)clean
+
+ 1ST PASS TLEED...REFERENCE STRUCTURE CALCULATION
+
+ IDEG = 4
+
+ PARAMETERS FOR INTERIOR
+
+ FR = 0.5000 ASE = 1.2000
+ TST = 0.0020
+ THETA FI = 0.00 0.00
+VV 6.00VPIS -5.00
+ LMAX = 9
+ IT1 = 1 1
+ THDB = 230.0000 AM = 63.5460 FPER = 1.0000 FPAR = 1.0000 DR0 = 0.0000
+ THDB = 343.5000 AM = 63.5460 FPER = 1.0000 FPAR = 1.0000 DR0 = 0.0000
+
+ PHASE SHIFTS
+
+E = 1.6538 1ST ELEMENT -1.0496 -0.2554 -0.2380 0.1060 0.0119 0.0012 0.0001 0.0000 0.0000 0.0000
+ ELEMENT # 2 -1.0048 -0.1940 -0.1829 0.1412 0.0177 0.0019 0.0002 0.0000 0.0000 0.0000
+
+E = 1.8376 1ST ELEMENT -1.1234 -0.2953 -0.2265 0.1391 0.0171 0.0019 0.0002 0.0000 0.0000 0.0000
+ ELEMENT # 2 -1.0836 -0.2400 -0.1677 0.1822 0.0253 0.0031 0.0003 0.0000 0.0000 0.0000
+
+E = 2.0213 1ST ELEMENT -1.1930 -0.3352 -0.2148 0.1762 0.0235 0.0029 0.0003 0.0000 0.0000 0.0000
+ ELEMENT # 2 -1.1572 -0.2855 -0.1540 0.2265 0.0345 0.0047 0.0005 0.0000 0.0000 0.0000
+
+E = 2.2051 1ST ELEMENT -1.2588 -0.3748 -0.2035 0.2164 0.0312 0.0042 0.0005 0.0000 0.0000 0.0000
+ ELEMENT # 2 -1.2261 -0.3301 -0.1425 0.2728 0.0454 0.0067 0.0008 0.0001 0.0000 0.0000
+
+E = 2.3888 1ST ELEMENT -1.3212 -0.4138 -0.1931 0.2590 0.0402 0.0059 0.0007 0.0001 0.0000 0.0000
+ ELEMENT # 2 -1.2907 -0.3734 -0.1332 0.3198 0.0578 0.0093 0.0012 0.0001 0.0000 0.0000
+
+E = 2.5726 1ST ELEMENT -1.3804 -0.4521 -0.1839 0.3031 0.0504 0.0080 0.0011 0.0001 0.0000 0.0000
+ ELEMENT # 2 -1.3516 -0.4153 -0.1262 0.3666 0.0717 0.0125 0.0018 0.0002 0.0000 0.0000
+
+E = 2.7563 1ST ELEMENT -1.4367 -0.4894 -0.1759 0.3479 0.0618 0.0104 0.0015 0.0002 0.0000 0.0000
+ ELEMENT # 2 -1.4089 -0.4556 -0.1213 0.4123 0.0868 0.0163 0.0025 0.0003 0.0000 0.0000
+
+E = 2.9401 1ST ELEMENT -1.4903 -0.5259 -0.1695 0.3926 0.0743 0.0134 0.0020 0.0003 0.0000 0.0000
+ ELEMENT # 2 -1.4631 -0.4944 -0.1182 0.4562 0.1030 0.0207 0.0034 0.0004 0.0000 0.0000
+
+E = 3.1239 1ST ELEMENT -1.5414 -0.5613 -0.1644 0.4366 0.0879 0.0168 0.0027 0.0004 0.0000 0.0000
+ ELEMENT # 2 -1.5144 -0.5316 -0.1168 0.4982 0.1201 0.0258 0.0045 0.0006 0.0001 0.0000
+
+E = 3.3076 1ST ELEMENT -1.5902 -0.5957 -0.1607 0.4794 0.1023 0.0207 0.0036 0.0005 0.0001 0.0000
+ ELEMENT # 2 -1.5632 -0.5672 -0.1165 0.5379 0.1377 0.0315 0.0058 0.0009 0.0001 0.0000
+
+E = 3.4914 1ST ELEMENT -1.6369 -0.6290 -0.1582 0.5205 0.1175 0.0250 0.0046 0.0007 0.0001 0.0000
+ ELEMENT # 2 -1.6097 -0.6014 -0.1173 0.5755 0.1558 0.0379 0.0075 0.0012 0.0001 0.0000
+
+E = 3.6751 1ST ELEMENT -1.6817 -0.6613 -0.1568 0.5598 0.1333 0.0299 0.0057 0.0009 0.0001 0.0000
+ ELEMENT # 2 -1.6540 -0.6342 -0.1188 0.6110 0.1740 0.0448 0.0093 0.0015 0.0002 0.0000
+
+E = 3.8589 1ST ELEMENT -1.7246 -0.6926 -0.1564 0.5972 0.1496 0.0352 0.0071 0.0012 0.0002 0.0000
+ ELEMENT # 2 -1.6965 -0.6656 -0.1209 0.6447 0.1921 0.0523 0.0115 0.0020 0.0003 0.0000
+
+E = 4.0426 1ST ELEMENT -1.7658 -0.7229 -0.1568 0.6327 0.1662 0.0410 0.0087 0.0015 0.0002 0.0000
+ ELEMENT # 2 -1.7372 -0.6959 -0.1234 0.6767 0.2101 0.0603 0.0140 0.0026 0.0004 0.0001
+
+E = 4.2264 1ST ELEMENT -1.8054 -0.7522 -0.1580 0.6663 0.1830 0.0472 0.0105 0.0019 0.0003 0.0000
+ ELEMENT # 2 -1.7764 -0.7250 -0.1261 0.7073 0.2277 0.0687 0.0168 0.0033 0.0005 0.0001
+
+E = 4.4101 1ST ELEMENT -1.8435 -0.7806 -0.1597 0.6981 0.1999 0.0538 0.0125 0.0024 0.0004 0.0001
+ ELEMENT # 2 -1.8141 -0.7530 -0.1290 0.7367 0.2449 0.0774 0.0199 0.0041 0.0007 0.0001
+
+E = 4.5939 1ST ELEMENT -1.8803 -0.8081 -0.1620 0.7282 0.2168 0.0607 0.0147 0.0030 0.0005 0.0001
+ ELEMENT # 2 -1.8505 -0.7801 -0.1320 0.7650 0.2616 0.0864 0.0233 0.0050 0.0009 0.0001
+
+E = 4.7777 1ST ELEMENT -1.9158 -0.8347 -0.1646 0.7568 0.2336 0.0680 0.0171 0.0036 0.0006 0.0001
+ ELEMENT # 2 -1.8858 -0.8064 -0.1351 0.7922 0.2777 0.0957 0.0270 0.0061 0.0011 0.0002
+
+E = 4.9614 1ST ELEMENT -1.9501 -0.8606 -0.1675 0.7840 0.2501 0.0757 0.0198 0.0044 0.0008 0.0001
+ ELEMENT # 2 -1.9199 -0.8318 -0.1381 0.8186 0.2933 0.1050 0.0310 0.0073 0.0014 0.0002
+
+E = 5.1452 1ST ELEMENT -1.9833 -0.8856 -0.1706 0.8099 0.2664 0.0835 0.0227 0.0052 0.0010 0.0002
+ ELEMENT # 2 -1.9531 -0.8565 -0.1412 0.8442 0.3083 0.1145 0.0353 0.0087 0.0017 0.0003
+
+E = 5.3289 1ST ELEMENT -2.0154 -0.9099 -0.1739 0.8347 0.2823 0.0916 0.0257 0.0062 0.0012 0.0002
+ ELEMENT # 2 -1.9853 -0.8805 -0.1444 0.8690 0.3228 0.1239 0.0398 0.0102 0.0021 0.0003
+
+E = 5.5127 1ST ELEMENT -2.0466 -0.9335 -0.1774 0.8585 0.2978 0.0999 0.0291 0.0072 0.0015 0.0003
+ ELEMENT # 2 -2.0166 -0.9039 -0.1475 0.8930 0.3367 0.1333 0.0446 0.0119 0.0025 0.0004
+
+E = 5.6964 1ST ELEMENT -2.0768 -0.9563 -0.1809 0.8814 0.3130 0.1084 0.0326 0.0083 0.0018 0.0003
+ ELEMENT # 2 -2.0471 -0.9267 -0.1507 0.9163 0.3502 0.1426 0.0495 0.0138 0.0031 0.0006
+
+E = 5.8802 1ST ELEMENT -2.1061 -0.9786 -0.1845 0.9035 0.3277 0.1169 0.0363 0.0096 0.0022 0.0004
+ ELEMENT # 2 -2.0769 -0.9489 -0.1540 0.9387 0.3633 0.1518 0.0547 0.0158 0.0037 0.0007
+
+E = 6.0639 1ST ELEMENT -2.1346 -1.0002 -0.1882 0.9247 0.3420 0.1255 0.0401 0.0110 0.0025 0.0005
+ ELEMENT # 2 -2.1059 -0.9707 -0.1573 0.9605 0.3759 0.1608 0.0600 0.0180 0.0043 0.0008
+
+E = 6.2477 1ST ELEMENT -2.1624 -1.0213 -0.1918 0.9453 0.3558 0.1341 0.0442 0.0125 0.0030 0.0006
+ ELEMENT # 2 -2.1342 -0.9920 -0.1606 0.9814 0.3883 0.1697 0.0654 0.0204 0.0051 0.0010
+
+E = 6.4315 1ST ELEMENT -2.1894 -1.0418 -0.1954 0.9653 0.3692 0.1428 0.0484 0.0141 0.0035 0.0007
+ ELEMENT # 2 -2.1618 -1.0129 -0.1641 1.0016 0.4003 0.1783 0.0709 0.0229 0.0059 0.0012
+
+E = 6.6152 1ST ELEMENT -2.2158 -1.0618 -0.1990 0.9846 0.3822 0.1515 0.0528 0.0158 0.0040 0.0009
+ ELEMENT # 2 -2.1888 -1.0333 -0.1676 1.0210 0.4121 0.1867 0.0765 0.0256 0.0068 0.0015
+
+E = 6.7990 1ST ELEMENT -2.2415 -1.0813 -0.2026 1.0033 0.3948 0.1601 0.0573 0.0176 0.0046 0.0010
+ ELEMENT # 2 -2.2152 -1.0533 -0.1712 1.0396 0.4236 0.1949 0.0821 0.0284 0.0079 0.0018
+
+E = 6.9827 1ST ELEMENT -2.2666 -1.1004 -0.2061 1.0215 0.4070 0.1686 0.0619 0.0196 0.0053 0.0012
+ ELEMENT # 2 -2.2410 -1.0729 -0.1749 1.0576 0.4349 0.2028 0.0877 0.0313 0.0090 0.0021
+
+E = 7.1665 1ST ELEMENT -2.2911 -1.1190 -0.2096 1.0391 0.4188 0.1771 0.0666 0.0217 0.0060 0.0014
+ ELEMENT # 2 -2.2663 -1.0921 -0.1786 1.0748 0.4461 0.2106 0.0933 0.0344 0.0102 0.0024
+
+E = 7.3502 1ST ELEMENT -2.3151 -1.1372 -0.2130 1.0562 0.4302 0.1854 0.0714 0.0238 0.0068 0.0017
+ ELEMENT # 2 -2.2909 -1.1110 -0.1825 1.0914 0.4571 0.2181 0.0989 0.0376 0.0115 0.0028
+
+E = 7.5340 1ST ELEMENT -2.3385 -1.1549 -0.2165 1.0728 0.4413 0.1937 0.0763 0.0261 0.0077 0.0019
+ ELEMENT # 2 -2.3151 -1.1294 -0.1863 1.1072 0.4678 0.2255 0.1045 0.0409 0.0129 0.0033
+
+E = 7.7178 1ST ELEMENT -2.3615 -1.1724 -0.2199 1.0889 0.4521 0.2018 0.0813 0.0285 0.0086 0.0022
+ ELEMENT # 2 -2.3387 -1.1475 -0.1903 1.1225 0.4785 0.2326 0.1100 0.0443 0.0144 0.0038
+
+E = 7.9015 1ST ELEMENT -2.3840 -1.1894 -0.2232 1.1045 0.4627 0.2098 0.0863 0.0309 0.0096 0.0025
+ ELEMENT # 2 -2.3618 -1.1653 -0.1942 1.1372 0.4889 0.2397 0.1154 0.0477 0.0160 0.0043
+
+E = 8.0853 1ST ELEMENT -2.4061 -1.2062 -0.2266 1.1196 0.4729 0.2176 0.0913 0.0335 0.0106 0.0029
+ ELEMENT # 2 -2.3844 -1.1826 -0.1982 1.1514 0.4993 0.2465 0.1207 0.0513 0.0177 0.0049
+
+E = 8.2690 1ST ELEMENT -2.4277 -1.2226 -0.2299 1.1342 0.4829 0.2253 0.0964 0.0361 0.0117 0.0033
+ ELEMENT # 2 -2.4066 -1.1997 -0.2022 1.1650 0.5094 0.2533 0.1259 0.0548 0.0195 0.0056
+
+E = 8.4528 1ST ELEMENT -2.4490 -1.2387 -0.2331 1.1484 0.4927 0.2328 0.1015 0.0388 0.0129 0.0037
+ ELEMENT # 2 -2.4283 -1.2164 -0.2062 1.1782 0.5194 0.2599 0.1311 0.0585 0.0214 0.0063
+
+E = 8.6365 1ST ELEMENT -2.4698 -1.2545 -0.2364 1.1621 0.5022 0.2402 0.1066 0.0416 0.0141 0.0041
+ ELEMENT # 2 -2.4496 -1.2328 -0.2102 1.1910 0.5292 0.2664 0.1361 0.0621 0.0233 0.0071
+
+E = 8.8203 1ST ELEMENT -2.4903 -1.2701 -0.2397 1.1753 0.5116 0.2474 0.1118 0.0445 0.0154 0.0046
+ ELEMENT # 2 -2.4704 -1.2489 -0.2142 1.2033 0.5388 0.2728 0.1410 0.0657 0.0254 0.0079
+
+E = 9.0040 1ST ELEMENT -2.5104 -1.2854 -0.2430 1.1881 0.5207 0.2544 0.1169 0.0474 0.0168 0.0052
+ ELEMENT # 2 -2.4908 -1.2647 -0.2181 1.2153 0.5482 0.2792 0.1458 0.0694 0.0275 0.0088
+
+E = 9.1878 1ST ELEMENT -2.5302 -1.3004 -0.2462 1.2004 0.5297 0.2613 0.1220 0.0504 0.0182 0.0057
+ ELEMENT # 2 -2.5109 -1.2801 -0.2221 1.2269 0.5575 0.2854 0.1506 0.0731 0.0297 0.0098
+
+E = 9.3716 1ST ELEMENT -2.5497 -1.3152 -0.2495 1.2123 0.5386 0.2681 0.1270 0.0534 0.0197 0.0063
+ ELEMENT # 2 -2.5305 -1.2953 -0.2259 1.2381 0.5665 0.2916 0.1552 0.0767 0.0319 0.0108
+
+E = 9.5553 1ST ELEMENT -2.5689 -1.3298 -0.2528 1.2238 0.5473 0.2747 0.1321 0.0565 0.0213 0.0070
+ ELEMENT # 2 -2.5498 -1.3102 -0.2298 1.2490 0.5754 0.2978 0.1597 0.0803 0.0342 0.0118
+
+E = 9.7391 1ST ELEMENT -2.5877 -1.3442 -0.2561 1.2349 0.5558 0.2811 0.1371 0.0596 0.0229 0.0076
+ ELEMENT # 2 -2.5688 -1.3248 -0.2336 1.2597 0.5840 0.3039 0.1642 0.0839 0.0366 0.0130
+
+E = 9.9228 1ST ELEMENT -2.6063 -1.3583 -0.2594 1.2455 0.5643 0.2874 0.1420 0.0628 0.0245 0.0084
+ ELEMENT # 2 -2.5874 -1.3392 -0.2373 1.2700 0.5925 0.3099 0.1685 0.0874 0.0390 0.0142
+
+E = 10.1066 1ST ELEMENT -2.6246 -1.3723 -0.2627 1.2558 0.5726 0.2936 0.1469 0.0660 0.0262 0.0091
+ ELEMENT # 2 -2.6057 -1.3533 -0.2410 1.2800 0.6008 0.3159 0.1728 0.0909 0.0414 0.0155
+
+E = 10.2903 1ST ELEMENT -2.6426 -1.3861 -0.2661 1.2658 0.5808 0.2996 0.1518 0.0692 0.0280 0.0099
+ ELEMENT # 2 -2.6237 -1.3671 -0.2446 1.2898 0.6088 0.3218 0.1771 0.0943 0.0439 0.0168
+
+E = 10.4741 1ST ELEMENT -2.6603 -1.3997 -0.2694 1.2753 0.5889 0.3055 0.1566 0.0725 0.0298 0.0108
+ ELEMENT # 2 -2.6414 -1.3807 -0.2482 1.2993 0.6168 0.3276 0.1812 0.0977 0.0464 0.0181
+
+E = 10.6578 1ST ELEMENT -2.6778 -1.4130 -0.2728 1.2846 0.5969 0.3113 0.1613 0.0757 0.0316 0.0117
+ ELEMENT # 2 -2.6588 -1.3942 -0.2518 1.3085 0.6245 0.3334 0.1853 0.1011 0.0489 0.0196
+
+E = 10.8416 1ST ELEMENT -2.6950 -1.4262 -0.2762 1.2935 0.6048 0.3170 0.1660 0.0790 0.0335 0.0126
+ ELEMENT # 2 -2.6759 -1.4073 -0.2553 1.3174 0.6321 0.3392 0.1894 0.1043 0.0514 0.0210
+
+E = 11.0254 1ST ELEMENT -2.7120 -1.4393 -0.2796 1.3022 0.6126 0.3226 0.1706 0.0823 0.0354 0.0135
+ ELEMENT # 2 -2.6928 -1.4203 -0.2587 1.3261 0.6395 0.3448 0.1934 0.1076 0.0539 0.0226
+
+E = 11.2091 1ST ELEMENT -2.7287 -1.4521 -0.2830 1.3105 0.6202 0.3280 0.1751 0.0856 0.0374 0.0145
+ ELEMENT # 2 -2.7094 -1.4331 -0.2621 1.3345 0.6468 0.3505 0.1974 0.1107 0.0564 0.0241
+
+E = 11.3929 1ST ELEMENT -2.7452 -1.4648 -0.2864 1.3186 0.6278 0.3334 0.1796 0.0889 0.0394 0.0155
+ ELEMENT # 2 -2.7258 -1.4457 -0.2656 1.3427 0.6539 0.3560 0.2014 0.1139 0.0589 0.0257
+
+E = 11.5766 1ST ELEMENT -2.7614 -1.4773 -0.2898 1.3264 0.6353 0.3387 0.1840 0.0922 0.0414 0.0166
+ ELEMENT # 2 -2.7420 -1.4581 -0.2689 1.3507 0.6609 0.3614 0.2053 0.1169 0.0614 0.0274
+
+E = 11.7604 1ST ELEMENT -2.7775 -1.4897 -0.2932 1.3340 0.6427 0.3439 0.1883 0.0955 0.0435 0.0177
+ ELEMENT # 2 -2.7579 -1.4704 -0.2723 1.3583 0.6677 0.3668 0.2092 0.1199 0.0639 0.0291
+
+E = 11.9441 1ST ELEMENT -2.7933 -1.5019 -0.2966 1.3414 0.6499 0.3490 0.1925 0.0988 0.0456 0.0188
+ ELEMENT # 2 -2.7736 -1.4825 -0.2756 1.3658 0.6745 0.3721 0.2131 0.1229 0.0664 0.0308
+
+E = 12.1279 1ST ELEMENT -2.8089 -1.5139 -0.3000 1.3485 0.6571 0.3540 0.1967 0.1021 0.0477 0.0200
+ ELEMENT # 2 -2.7891 -1.4944 -0.2789 1.3730 0.6812 0.3774 0.2169 0.1258 0.0689 0.0325
+
+E = 12.3117 1ST ELEMENT -2.8242 -1.5258 -0.3034 1.3554 0.6641 0.3590 0.2008 0.1054 0.0498 0.0212
+ ELEMENT # 2 -2.8044 -1.5062 -0.2822 1.3800 0.6877 0.3825 0.2208 0.1287 0.0713 0.0343
+
+E = 12.4954 1ST ELEMENT -2.8394 -1.5375 -0.3068 1.3622 0.6711 0.3640 0.2049 0.1086 0.0520 0.0224
+ ELEMENT # 2 -2.8196 -1.5178 -0.2855 1.3867 0.6942 0.3875 0.2246 0.1316 0.0737 0.0361
+
+E = 12.6792 1ST ELEMENT -2.8543 -1.5490 -0.3101 1.3687 0.6779 0.3688 0.2088 0.1119 0.0542 0.0237
+ ELEMENT # 2 -2.8345 -1.5293 -0.2888 1.3933 0.7005 0.3925 0.2284 0.1344 0.0761 0.0379
+
+E = 12.8629 1ST ELEMENT -2.8691 -1.5604 -0.3135 1.3752 0.6846 0.3736 0.2127 0.1151 0.0564 0.0249
+ ELEMENT # 2 -2.8492 -1.5407 -0.2920 1.3996 0.7068 0.3974 0.2321 0.1371 0.0784 0.0397
+
+E = 13.0467 1ST ELEMENT -2.8836 -1.5717 -0.3168 1.3814 0.6912 0.3784 0.2166 0.1183 0.0586 0.0262
+ ELEMENT # 2 -2.8638 -1.5519 -0.2953 1.4058 0.7130 0.4022 0.2359 0.1399 0.0807 0.0415
+
+E = 13.2304 1ST ELEMENT -2.8979 -1.5828 -0.3201 1.3875 0.6977 0.3831 0.2203 0.1214 0.0608 0.0276
+ ELEMENT # 2 -2.8782 -1.5630 -0.2985 1.4117 0.7191 0.4069 0.2396 0.1426 0.0830 0.0433
+
+E = 13.4142 1ST ELEMENT -2.9121 -1.5937 -0.3234 1.3934 0.7040 0.3878 0.2240 0.1246 0.0630 0.0289
+ ELEMENT # 2 -2.8924 -1.5740 -0.3018 1.4175 0.7251 0.4115 0.2433 0.1454 0.0852 0.0451
+
+E = 13.5979 1ST ELEMENT -2.9260 -1.6045 -0.3266 1.3993 0.7103 0.3925 0.2277 0.1277 0.0653 0.0303
+ ELEMENT # 2 -2.9065 -1.5848 -0.3050 1.4230 0.7311 0.4161 0.2470 0.1480 0.0874 0.0470
+
+E = 13.7817 1ST ELEMENT -2.9398 -1.6152 -0.3298 1.4049 0.7164 0.3971 0.2312 0.1308 0.0675 0.0317
+ ELEMENT # 2 -2.9204 -1.5955 -0.3083 1.4285 0.7370 0.4206 0.2506 0.1507 0.0896 0.0488
+
+E = 13.9655 1ST ELEMENT -2.9534 -1.6257 -0.3330 1.4105 0.7224 0.4017 0.2348 0.1338 0.0698 0.0331
+ ELEMENT # 2 -2.9341 -1.6061 -0.3115 1.4337 0.7428 0.4250 0.2542 0.1534 0.0917 0.0506
+
+E = 14.1492 1ST ELEMENT -2.9668 -1.6360 -0.3361 1.4159 0.7283 0.4062 0.2382 0.1368 0.0721 0.0346
+ ELEMENT # 2 -2.9476 -1.6166 -0.3147 1.4388 0.7485 0.4294 0.2578 0.1560 0.0939 0.0524
+
+E = 14.3330 1ST ELEMENT -2.9800 -1.6463 -0.3392 1.4212 0.7341 0.4107 0.2417 0.1398 0.0744 0.0360
+ ELEMENT # 2 -2.9610 -1.6270 -0.3180 1.4438 0.7542 0.4336 0.2613 0.1587 0.0959 0.0542
+
+E = 14.5167 1ST ELEMENT -2.9931 -1.6564 -0.3423 1.4264 0.7398 0.4152 0.2450 0.1427 0.0766 0.0375
+ ELEMENT # 2 -2.9743 -1.6372 -0.3212 1.4487 0.7598 0.4379 0.2648 0.1613 0.0980 0.0560
+
+E = 14.7005 1ST ELEMENT -3.0060 -1.6663 -0.3453 1.4314 0.7453 0.4197 0.2483 0.1457 0.0789 0.0390
+ ELEMENT # 2 -2.9874 -1.6473 -0.3243 1.4534 0.7653 0.4420 0.2683 0.1639 0.1000 0.0577
+
+E = 14.8842 1ST ELEMENT -3.0187 -1.6762 -0.3483 1.4364 0.7508 0.4241 0.2516 0.1485 0.0812 0.0405
+ ELEMENT # 2 -3.0003 -1.6574 -0.3275 1.4580 0.7708 0.4461 0.2717 0.1666 0.1021 0.0595
+
+E = 15.0680 1ST ELEMENT -3.0313 -1.6859 -0.3513 1.4412 0.7561 0.4284 0.2549 0.1514 0.0835 0.0420
+ ELEMENT # 2 -3.0131 -1.6673 -0.3307 1.4625 0.7761 0.4502 0.2751 0.1692 0.1041 0.0612
+
+E = 15.2517 1ST ELEMENT -3.0437 -1.6955 -0.3542 1.4460 0.7614 0.4328 0.2581 0.1541 0.0857 0.0436
+ ELEMENT # 2 -3.0258 -1.6771 -0.3338 1.4668 0.7814 0.4542 0.2784 0.1718 0.1060 0.0629
+
+E = 15.4355 1ST ELEMENT -3.0560 -1.7049 -0.3570 1.4506 0.7665 0.4371 0.2612 0.1569 0.0880 0.0451
+ ELEMENT # 2 -3.0383 -1.6868 -0.3369 1.4711 0.7866 0.4582 0.2817 0.1744 0.1080 0.0646
+
+E = 15.6193 1ST ELEMENT -3.0681 -1.7143 -0.3599 1.4551 0.7716 0.4414 0.2644 0.1596 0.0903 0.0467
+ ELEMENT # 2 -3.0507 -1.6963 -0.3400 1.4753 0.7917 0.4622 0.2849 0.1770 0.1099 0.0663
+
+E = 15.8030 1ST ELEMENT -3.0801 -1.7235 -0.3627 1.4595 0.7766 0.4456 0.2675 0.1623 0.0925 0.0483
+ ELEMENT # 2 -3.0629 -1.7058 -0.3431 1.4793 0.7968 0.4661 0.2881 0.1795 0.1119 0.0679
+
+E = 15.9868 1ST ELEMENT -3.0919 -1.7326 -0.3655 1.4638 0.7814 0.4498 0.2706 0.1649 0.0947 0.0498
+ ELEMENT # 2 -3.0750 -1.7152 -0.3461 1.4833 0.8017 0.4699 0.2913 0.1821 0.1138 0.0695
+
+E = 16.1705 1ST ELEMENT -3.1037 -1.7416 -0.3682 1.4679 0.7862 0.4539 0.2736 0.1675 0.0970 0.0514
+ ELEMENT # 2 -3.0869 -1.7244 -0.3492 1.4872 0.8066 0.4738 0.2944 0.1847 0.1157 0.0712
+
+E = 16.3543 1ST ELEMENT -3.1152 -1.7506 -0.3710 1.4720 0.7910 0.4581 0.2767 0.1701 0.0992 0.0530
+ ELEMENT # 2 -3.0987 -1.7336 -0.3522 1.4910 0.8114 0.4775 0.2974 0.1872 0.1176 0.0727
+
+E = 16.5380 1ST ELEMENT -3.1267 -1.7594 -0.3737 1.4759 0.7956 0.4621 0.2797 0.1726 0.1014 0.0547
+ ELEMENT # 2 -3.1104 -1.7426 -0.3551 1.4948 0.8161 0.4813 0.3004 0.1898 0.1195 0.0743
+
+E = 16.7218 1ST ELEMENT -3.1381 -1.7681 -0.3763 1.4798 0.8002 0.4661 0.2827 0.1751 0.1036 0.0563
+ ELEMENT # 2 -3.1219 -1.7516 -0.3580 1.4985 0.8207 0.4851 0.3034 0.1923 0.1214 0.0759
+
+E = 16.9055 1ST ELEMENT -3.1493 -1.7767 -0.3790 1.4835 0.8047 0.4701 0.2857 0.1775 0.1058 0.0579
+ ELEMENT # 2 -3.1334 -1.7604 -0.3609 1.5020 0.8253 0.4888 0.3064 0.1948 0.1233 0.0774
+
+E = 17.0893 1ST ELEMENT -3.1604 -1.7852 -0.3816 1.4872 0.8092 0.4740 0.2887 0.1799 0.1079 0.0595
+ ELEMENT # 2 -3.1447 -1.7691 -0.3638 1.5055 0.8297 0.4925 0.3093 0.1973 0.1252 0.0789
+
+E = 17.2731 1ST ELEMENT -3.1714 -1.7937 -0.3842 1.4907 0.8135 0.4779 0.2916 0.1823 0.1100 0.0612
+ ELEMENT # 2 -3.1558 -1.7778 -0.3667 1.5090 0.8341 0.4962 0.3121 0.1997 0.1270 0.0804
+
+E = 17.4568 1ST ELEMENT -3.1823 -1.8021 -0.3869 1.4941 0.8179 0.4817 0.2945 0.1846 0.1122 0.0628
+ ELEMENT # 2 -3.1669 -1.7863 -0.3695 1.5123 0.8384 0.4998 0.3149 0.2022 0.1289 0.0819
+
+E = 17.6406 1ST ELEMENT -3.1931 -1.8103 -0.3895 1.4975 0.8222 0.4855 0.2975 0.1870 0.1143 0.0645
+ ELEMENT # 2 -3.1778 -1.7948 -0.3723 1.5156 0.8427 0.5034 0.3177 0.2046 0.1308 0.0833
+
+E = 17.8243 1ST ELEMENT -3.2038 -1.8185 -0.3920 1.5007 0.8264 0.4892 0.3004 0.1893 0.1163 0.0661
+ ELEMENT # 2 -3.1887 -1.8031 -0.3750 1.5188 0.8468 0.5070 0.3205 0.2070 0.1327 0.0848
+
+E = 18.0081 1ST ELEMENT -3.2144 -1.8267 -0.3946 1.5038 0.8306 0.4929 0.3033 0.1915 0.1184 0.0678
+ ELEMENT # 2 -3.1994 -1.8114 -0.3778 1.5219 0.8510 0.5106 0.3232 0.2094 0.1346 0.0862
+
+E = 18.1918 1ST ELEMENT -3.2249 -1.8347 -0.3972 1.5069 0.8347 0.4965 0.3062 0.1938 0.1204 0.0694
+ ELEMENT # 2 -3.2100 -1.8196 -0.3805 1.5249 0.8550 0.5141 0.3259 0.2117 0.1364 0.0877
+
+E = 18.3756 1ST ELEMENT -3.2354 -1.8427 -0.3997 1.5099 0.8388 0.5000 0.3091 0.1960 0.1224 0.0711
+ ELEMENT # 2 -3.2205 -1.8277 -0.3832 1.5279 0.8590 0.5176 0.3286 0.2140 0.1383 0.0891
+
+E = 18.5594 1ST ELEMENT -3.2457 -1.8507 -0.4023 1.5128 0.8429 0.5035 0.3120 0.1982 0.1244 0.0727
+ ELEMENT # 2 -3.2309 -1.8357 -0.3858 1.5308 0.8629 0.5211 0.3313 0.2163 0.1402 0.0905
+
+ SURF VECS 2.5561 0.0000
+ 0.0000 2.5561
+
+ SURF VECS 2.5561 0.0000
+ 0.0000 2.5561
+ NL1 = 1 NL2 = 1
+
+ Interlayer Vectors
+
+ ASA 1 1.8075 0.0000 0.0000
+ NTAU = 2 1 1
+
+ PHASE SHIFT ASSIGNMENT IN COMPOSITE LAYER No. 1 1 2 2 2
+
+ PHASE SHIFT ASSIGNMENT IN COMPOSITE LAYER No. 2 2
+
+ PHASE SHIFT ASSIGNMENT IN COMPOSITE LAYER No. 3 2
+
+ COMPOSITE LAYER VECTOR 0.0100 0.0000 0.0000
+
+ COMPOSITE LAYER VECTOR 1.7775 1.2781 1.2781
+
+ COMPOSITE LAYER VECTOR 3.6050 0.0000 0.0000
+
+ COMPOSITE LAYER VECTOR 5.4125 1.2781 1.2781
+
+ ASB 1 1.8175 0.0000 0.0000
+
+ COORDINATES AFTER SORTING
+ X Y Z
+ 0.0100 0.0000 0.0000
+ 1.7775 1.2781 1.2781
+ 3.6050 0.0000 0.0000
+ 5.4125 1.2781 1.2781
+
+ COMPOSITE LAYER VECTOR 7.2300 0.0000 0.0000
+
+ ASB 2 1.8075 0.0000 0.0000
+
+ COORDINATES AFTER SORTING
+ X Y Z
+ 7.2300 0.0000 0.0000
+
+ COMPOSITE LAYER VECTOR 9.0375 1.2781 1.2781
+
+ ASB 3 1.8075 0.0000 0.0000
+
+ COORDINATES AFTER SORTING
+ X Y Z
+ 9.0375 1.2781 1.2781
+
+ Calculating for Exit Beams;
+ ===========================
+ 1.0000 0.0000
+ 1.0000 2.0000
+ 1.0000 1.0000
+ 2.0000 2.0000
+ 2.0000 0.0000
+
+ Initial Coordinates in Search
+ =============================
+ 0.0000 0.0000 0.0000
+ 0.0000 0.0000 0.0000
+ 0.0000 0.0000 0.0000
+ 0.0000 0.0000 0.0000
+
+ Direction Set with Principal Directions Requested
+
+ Search Information;
+
+ ALPHA = 1.0000 BETA = 0.5000 GAMMA = 2.0000
+
+ Max. Number of Iterations =100
+ NUMBER OF ELEMENTS IN Q IS 15
+ TEMP = 130.0000
+ BEAMGENERATION CODE
+ ===================
+
+
+ STARTING LOOP OVER ENERGIES
+
+
+====================================================
+
+ CALCULATING FOR E= 100.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 60.7606 DCUTO = 60.7606
+0 5 SYMMETRIC BEAMS USED 5
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1650E-02 ANORM = 0.2668E-01
+ IMAX = 3 BNORM = 0.5807E-03 ANORM = 0.2668E-01
+ E= 3.8956 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.93657E-02
+ 0.000 1.000 0.12008E-02
+ 1.000 1.000 0.18834E-03
+ 0.000 2.000 0.42003E-02
+
+ RFS CONVERGENCE TEST
+ IMAX = 7 BNORM = 0.1228E-02 ANORM = 0.1166E+00
+ IMAX = 3 BNORM = 0.1008E-02 ANORM = 0.1166E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.8570E-03 ANORM = 0.5840E-01
+ IMAX = 3 BNORM = 0.1305E-02 ANORM = 0.5840E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 6 BNORM = 0.1353E-02 ANORM = 0.4658E-01
+ IMAX = 3 BNORM = 0.2691E-03 ANORM = 0.4658E-01
+ CALCULATING FOR E= 104.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 61.8964 DCUTO = 61.8964
+0 5 SYMMETRIC BEAMS USED 5
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1219E-02 ANORM = 0.1473E-01
+ IMAX = 3 BNORM = 0.6088E-03 ANORM = 0.1473E-01
+ E= 4.0426 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.17643E-02
+ 0.000 1.000 0.10291E-02
+ 1.000 1.000 0.47938E-03
+ 0.000 2.000 0.29629E-02
+
+ RFS CONVERGENCE TEST
+ IMAX = 5 BNORM = 0.1934E-02 ANORM = 0.1176E+00
+ IMAX = 3 BNORM = 0.5398E-03 ANORM = 0.1176E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.9206E-03 ANORM = 0.7265E-01
+ IMAX = 3 BNORM = 0.1218E-02 ANORM = 0.7265E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 6 BNORM = 0.1389E-02 ANORM = 0.4358E-01
+ IMAX = 3 BNORM = 0.2961E-03 ANORM = 0.4358E-01
+ CALCULATING FOR E= 108.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 63.0118 DCUTO = 63.0118
+0 5 SYMMETRIC BEAMS USED 5
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1150E-02 ANORM = 0.1558E-01
+ IMAX = 3 BNORM = 0.8180E-03 ANORM = 0.1558E-01
+ E= 4.1896 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.20425E-02
+ 0.000 1.000 0.73731E-03
+ 1.000 1.000 0.13321E-02
+ 0.000 2.000 0.20858E-02
+
+ RFS CONVERGENCE TEST
+ IMAX = 5 BNORM = 0.1833E-02 ANORM = 0.1473E+00
+ IMAX = 3 BNORM = 0.1805E-03 ANORM = 0.1473E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1803E-02 ANORM = 0.1002E+00
+ IMAX = 4 BNORM = 0.1465E-02 ANORM = 0.1002E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 7 BNORM = 0.1113E-02 ANORM = 0.4966E-01
+ IMAX = 3 BNORM = 0.3075E-03 ANORM = 0.4966E-01
+ CALCULATING FOR E= 112.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 64.1077 DCUTO = 64.1077
+0 5 SYMMETRIC BEAMS USED 5
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1567E-02 ANORM = 0.1945E-01
+ IMAX = 3 BNORM = 0.1009E-02 ANORM = 0.1945E-01
+ E= 4.3366 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.45781E-02
+ 0.000 1.000 0.39768E-03
+ 1.000 1.000 0.28643E-02
+ 0.000 2.000 0.16351E-02
+
+ RFS CONVERGENCE TEST
+ IMAX = 6 BNORM = 0.1234E-02 ANORM = 0.1668E+00
+ IMAX = 3 BNORM = 0.2312E-03 ANORM = 0.1668E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1531E-02 ANORM = 0.1180E+00
+ IMAX = 4 BNORM = 0.1995E-02 ANORM = 0.1180E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 6 BNORM = 0.1700E-02 ANORM = 0.4915E-01
+ IMAX = 3 BNORM = 0.3981E-03 ANORM = 0.4915E-01
+ CALCULATING FOR E= 116.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 65.1852 DCUTO = 65.1852
+0 5 SYMMETRIC BEAMS USED 5
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1416E-02 ANORM = 0.2133E-01
+ IMAX = 3 BNORM = 0.1239E-02 ANORM = 0.2133E-01
+ E= 4.4836 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.67442E-02
+ 0.000 1.000 0.26000E-03
+ 1.000 1.000 0.44100E-02
+ 0.000 2.000 0.12129E-02
+ 1.000 2.000 0.53757E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 7 BNORM = 0.1019E-02 ANORM = 0.1658E+00
+ IMAX = 3 BNORM = 0.2730E-03 ANORM = 0.1658E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 5 BNORM = 0.1394E-02 ANORM = 0.7083E-01
+ IMAX = 3 BNORM = 0.2124E-03 ANORM = 0.7083E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1527E-02 ANORM = 0.1119E+00
+ IMAX = 5 BNORM = 0.1530E-02 ANORM = 0.1119E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 6 BNORM = 0.1338E-02 ANORM = 0.3899E-01
+ IMAX = 3 BNORM = 0.7599E-03 ANORM = 0.3899E-01
+ CALCULATING FOR E= 120.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 66.2452 DCUTO = 66.2452
+0 5 SYMMETRIC BEAMS USED 5
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1381E-02 ANORM = 0.2281E-01
+ IMAX = 3 BNORM = 0.1448E-02 ANORM = 0.2281E-01
+ E= 4.6307 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.90480E-02
+ 0.000 1.000 0.56686E-03
+ 1.000 1.000 0.46789E-02
+ 0.000 2.000 0.79926E-03
+ 1.000 2.000 0.11497E-02
+
+ RFS CONVERGENCE TEST
+ IMAX = 7 BNORM = 0.1315E-02 ANORM = 0.1686E+00
+ IMAX = 3 BNORM = 0.3372E-03 ANORM = 0.1686E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 5 BNORM = 0.1749E-02 ANORM = 0.9153E-01
+ IMAX = 3 BNORM = 0.2381E-03 ANORM = 0.9153E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1609E-02 ANORM = 0.9638E-01
+ IMAX = 4 BNORM = 0.1869E-02 ANORM = 0.9639E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 6 BNORM = 0.1368E-02 ANORM = 0.3139E-01
+ IMAX = 3 BNORM = 0.1315E-02 ANORM = 0.3139E-01
+ CALCULATING FOR E= 124.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 67.2885 DCUTO = 67.2885
+0 5 SYMMETRIC BEAMS USED 5
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1296E-02 ANORM = 0.2638E-01
+ IMAX = 3 BNORM = 0.1566E-02 ANORM = 0.2638E-01
+ E= 4.7777 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.12018E-01
+ 0.000 1.000 0.14123E-02
+ 1.000 1.000 0.28760E-02
+ 0.000 2.000 0.56180E-03
+ 1.000 2.000 0.21484E-02
+
+ RFS CONVERGENCE TEST
+ IMAX = 7 BNORM = 0.1553E-02 ANORM = 0.1817E+00
+ IMAX = 3 BNORM = 0.4350E-03 ANORM = 0.1817E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 6 BNORM = 0.1103E-02 ANORM = 0.1198E+00
+ IMAX = 3 BNORM = 0.2004E-03 ANORM = 0.1198E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1650E-02 ANORM = 0.6702E-01
+ IMAX = 5 BNORM = 0.1366E-02 ANORM = 0.6704E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 6 BNORM = 0.1787E-02 ANORM = 0.3175E-01
+ IMAX = 3 BNORM = 0.1774E-02 ANORM = 0.3175E-01
+ CALCULATING FOR E= 128.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 68.3159 DCUTO = 68.3159
+0 5 SYMMETRIC BEAMS USED 5
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1207E-02 ANORM = 0.3379E-01
+ IMAX = 3 BNORM = 0.1499E-02 ANORM = 0.3379E-01
+ E= 4.9247 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.15442E-01
+ 0.000 1.000 0.33348E-02
+ 1.000 1.000 0.18662E-02
+ 0.000 2.000 0.14851E-03
+ 1.000 2.000 0.38088E-02
+
+ RFS CONVERGENCE TEST
+ IMAX = 7 BNORM = 0.1997E-02 ANORM = 0.2026E+00
+ IMAX = 3 BNORM = 0.8259E-03 ANORM = 0.2026E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 6 BNORM = 0.1615E-02 ANORM = 0.1644E+00
+ IMAX = 3 BNORM = 0.3025E-03 ANORM = 0.1644E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1595E-02 ANORM = 0.5008E-01
+ IMAX = 5 BNORM = 0.1556E-02 ANORM = 0.5009E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 7 BNORM = 0.1759E-02 ANORM = 0.3488E-01
+ IMAX = 4 BNORM = 0.1487E-02 ANORM = 0.3488E-01
+ CALCULATING FOR E= 132.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 69.3280 DCUTO = 69.3280
+0 5 SYMMETRIC BEAMS USED 5
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1321E-02 ANORM = 0.3120E-01
+ IMAX = 3 BNORM = 0.1080E-02 ANORM = 0.3120E-01
+ E= 5.0717 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.11423E-01
+ 0.000 1.000 0.58892E-02
+ 1.000 1.000 0.12197E-02
+ 0.000 2.000 0.61566E-04
+ 1.000 2.000 0.42273E-02
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1366E-02 ANORM = 0.2250E+00
+ IMAX = 3 BNORM = 0.1404E-02 ANORM = 0.2250E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 7 BNORM = 0.1222E-02 ANORM = 0.1773E+00
+ IMAX = 3 BNORM = 0.6026E-03 ANORM = 0.1773E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1430E-02 ANORM = 0.4812E-01
+ IMAX = 5 BNORM = 0.1681E-02 ANORM = 0.4813E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1561E-02 ANORM = 0.3785E-01
+ IMAX = 3 BNORM = 0.1803E-02 ANORM = 0.3786E-01
+ CALCULATING FOR E= 136.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 70.3256 DCUTO = 70.3256
+0 6 SYMMETRIC BEAMS USED 6
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1414E-02 ANORM = 0.2210E-01
+ IMAX = 3 BNORM = 0.1734E-02 ANORM = 0.2210E-01
+ E= 5.2187 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.44925E-02
+ 0.000 1.000 0.71876E-02
+ 1.000 1.000 0.61896E-03
+ 0.000 2.000 0.56734E-03
+ 1.000 2.000 0.30973E-02
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1178E-02 ANORM = 0.2272E+00
+ IMAX = 3 BNORM = 0.2115E-02 ANORM = 0.2272E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.9465E-03 ANORM = 0.1532E+00
+ IMAX = 3 BNORM = 0.1457E-02 ANORM = 0.1532E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.7440E-03 ANORM = 0.5181E-01
+ IMAX = 6 BNORM = 0.1838E-02 ANORM = 0.5182E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1618E-02 ANORM = 0.4108E-01
+ IMAX = 3 BNORM = 0.1896E-02 ANORM = 0.4109E-01
+ CALCULATING FOR E= 140.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 71.3092 DCUTO = 71.3092
+0 6 SYMMETRIC BEAMS USED 6
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1855E-02 ANORM = 0.1719E-01
+ IMAX = 3 BNORM = 0.1342E-02 ANORM = 0.1719E-01
+ E= 5.3657 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.12047E-02
+ 0.000 1.000 0.81221E-02
+ 1.000 1.000 0.54479E-03
+ 0.000 2.000 0.13621E-02
+ 1.000 2.000 0.17776E-02
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1478E-02 ANORM = 0.2168E+00
+ IMAX = 3 BNORM = 0.1890E-02 ANORM = 0.2168E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1360E-02 ANORM = 0.1323E+00
+ IMAX = 3 BNORM = 0.1571E-02 ANORM = 0.1323E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.6386E-03 ANORM = 0.7211E-01
+ IMAX = 6 BNORM = 0.1609E-02 ANORM = 0.7212E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1575E-02 ANORM = 0.4487E-01
+ IMAX = 3 BNORM = 0.1674E-02 ANORM = 0.4488E-01
+ CALCULATING FOR E= 144.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 72.2795 DCUTO = 72.2795
+0 6 SYMMETRIC BEAMS USED 6
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1238E-02 ANORM = 0.1621E-01
+ IMAX = 3 BNORM = 0.1426E-02 ANORM = 0.1622E-01
+ E= 5.5127 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.14751E-03
+ 0.000 1.000 0.98906E-02
+ 1.000 1.000 0.84216E-03
+ 0.000 2.000 0.15172E-02
+ 1.000 2.000 0.71036E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1881E-02 ANORM = 0.2178E+00
+ IMAX = 3 BNORM = 0.1684E-02 ANORM = 0.2178E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1816E-02 ANORM = 0.1138E+00
+ IMAX = 3 BNORM = 0.1747E-02 ANORM = 0.1138E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1955E-02 ANORM = 0.1036E+00
+ IMAX = 5 BNORM = 0.1995E-02 ANORM = 0.1036E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.9869E-03 ANORM = 0.4141E-01
+ IMAX = 3 BNORM = 0.1278E-02 ANORM = 0.4141E-01
+ CALCULATING FOR E= 148.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 73.2368 DCUTO = 73.2368
+0 6 SYMMETRIC BEAMS USED 6
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1473E-02 ANORM = 0.1567E-01
+ IMAX = 3 BNORM = 0.1566E-02 ANORM = 0.1567E-01
+ E= 5.6597 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.22629E-03
+ 0.000 1.000 0.98704E-02
+ 1.000 1.000 0.13165E-02
+ 0.000 2.000 0.17000E-02
+ 1.000 2.000 0.19246E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1701E-02 ANORM = 0.1984E+00
+ IMAX = 3 BNORM = 0.1628E-02 ANORM = 0.1984E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1562E-02 ANORM = 0.9922E-01
+ IMAX = 3 BNORM = 0.1840E-02 ANORM = 0.9922E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1720E-02 ANORM = 0.1229E+00
+ IMAX = 3 BNORM = 0.1805E-02 ANORM = 0.1229E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1367E-02 ANORM = 0.3840E-01
+ IMAX = 3 BNORM = 0.8802E-03 ANORM = 0.3840E-01
+ CALCULATING FOR E= 152.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 74.1819 DCUTO = 74.1819
+0 6 SYMMETRIC BEAMS USED 6
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1814E-02 ANORM = 0.1446E-01
+ IMAX = 3 BNORM = 0.1274E-02 ANORM = 0.1447E-01
+ E= 5.8067 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.18278E-02
+ 0.000 1.000 0.70865E-02
+ 1.000 1.000 0.17262E-02
+ 0.000 2.000 0.15843E-02
+ 1.000 2.000 0.16117E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1985E-02 ANORM = 0.1532E+00
+ IMAX = 3 BNORM = 0.1903E-02 ANORM = 0.1532E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1670E-02 ANORM = 0.9292E-01
+ IMAX = 3 BNORM = 0.1718E-02 ANORM = 0.9292E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1312E-02 ANORM = 0.1215E+00
+ IMAX = 3 BNORM = 0.9069E-03 ANORM = 0.1216E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1817E-02 ANORM = 0.3835E-01
+ IMAX = 3 BNORM = 0.6504E-03 ANORM = 0.3835E-01
+ CALCULATING FOR E= 156.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 75.1150 DCUTO = 75.1150
+0 6 SYMMETRIC BEAMS USED 6
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1161E-02 ANORM = 0.1071E-01
+ IMAX = 3 BNORM = 0.8549E-03 ANORM = 0.1071E-01
+ E= 5.9537 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.23606E-02
+ 0.000 1.000 0.41687E-02
+ 1.000 1.000 0.16198E-02
+ 0.000 2.000 0.78241E-03
+ 1.000 2.000 0.21063E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1351E-02 ANORM = 0.1192E+00
+ IMAX = 3 BNORM = 0.2291E-02 ANORM = 0.1192E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1514E-02 ANORM = 0.9508E-01
+ IMAX = 3 BNORM = 0.1439E-02 ANORM = 0.9508E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.9892E-03 ANORM = 0.1054E+00
+ IMAX = 3 BNORM = 0.1426E-02 ANORM = 0.1054E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1247E-02 ANORM = 0.3277E-01
+ IMAX = 3 BNORM = 0.7042E-03 ANORM = 0.3277E-01
+ CALCULATING FOR E= 160.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 76.0367 DCUTO = 76.0367
+0 7 SYMMETRIC BEAMS USED 7
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1785E-02 ANORM = 0.6848E-02
+ IMAX = 3 BNORM = 0.7876E-03 ANORM = 0.6852E-02
+ E= 6.1007 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.13916E-02
+ 0.000 1.000 0.32515E-02
+ 1.000 1.000 0.11357E-02
+ 0.000 2.000 0.18907E-03
+ 1.000 2.000 0.13964E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1913E-02 ANORM = 0.1159E+00
+ IMAX = 4 BNORM = 0.1835E-02 ANORM = 0.1159E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1300E-02 ANORM = 0.1064E+00
+ IMAX = 4 BNORM = 0.1650E-02 ANORM = 0.1064E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1427E-02 ANORM = 0.8429E-01
+ IMAX = 4 BNORM = 0.1720E-02 ANORM = 0.8429E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1848E-02 ANORM = 0.2804E-01
+ IMAX = 3 BNORM = 0.1359E-02 ANORM = 0.2804E-01
+ CALCULATING FOR E= 164.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 76.9474 DCUTO = 76.9474
+0 7 SYMMETRIC BEAMS USED 7
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1328E-02 ANORM = 0.6970E-02
+ IMAX = 3 BNORM = 0.6153E-03 ANORM = 0.6974E-02
+ E= 6.2477 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.21330E-02
+ 0.000 1.000 0.29240E-02
+ 1.000 1.000 0.65295E-03
+ 0.000 2.000 0.19743E-03
+ 1.000 2.000 0.49250E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1196E-02 ANORM = 0.1254E+00
+ IMAX = 4 BNORM = 0.1456E-02 ANORM = 0.1254E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1260E-02 ANORM = 0.1195E+00
+ IMAX = 5 BNORM = 0.1363E-02 ANORM = 0.1195E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.9109E-03 ANORM = 0.6865E-01
+ IMAX = 5 BNORM = 0.1984E-02 ANORM = 0.6866E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1504E-02 ANORM = 0.2797E-01
+ IMAX = 3 BNORM = 0.8347E-03 ANORM = 0.2797E-01
+ CALCULATING FOR E= 168.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 77.8474 DCUTO = 77.8474
+0 7 SYMMETRIC BEAMS USED 7
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1438E-02 ANORM = 0.1197E-01
+ IMAX = 3 BNORM = 0.6673E-03 ANORM = 0.1197E-01
+ E= 6.3947 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.70064E-02
+ 0.000 1.000 0.27649E-02
+ 1.000 1.000 0.27368E-03
+ 0.000 2.000 0.36218E-03
+ 1.000 2.000 0.62704E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1146E-02 ANORM = 0.1437E+00
+ IMAX = 3 BNORM = 0.1765E-02 ANORM = 0.1437E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1765E-02 ANORM = 0.1271E+00
+ IMAX = 6 BNORM = 0.1391E-02 ANORM = 0.1271E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.8852E-03 ANORM = 0.7002E-01
+ IMAX = 6 BNORM = 0.1399E-02 ANORM = 0.7003E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1777E-02 ANORM = 0.2912E-01
+ IMAX = 3 BNORM = 0.8226E-03 ANORM = 0.2912E-01
+ CALCULATING FOR E= 172.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 78.7371 DCUTO = 78.7371
+0 7 SYMMETRIC BEAMS USED 7
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1786E-02 ANORM = 0.2016E-01
+ IMAX = 3 BNORM = 0.1258E-02 ANORM = 0.2016E-01
+ E= 6.5417 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.15317E-01
+ 0.000 1.000 0.24302E-02
+ 1.000 1.000 0.39545E-04
+ 0.000 2.000 0.35958E-03
+ 1.000 2.000 0.12243E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1011E-02 ANORM = 0.1564E+00
+ IMAX = 3 BNORM = 0.1829E-02 ANORM = 0.1564E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.7582E-03 ANORM = 0.1299E+00
+ IMAX = 6 BNORM = 0.1936E-02 ANORM = 0.1299E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.9852E-03 ANORM = 0.8431E-01
+ IMAX = 6 BNORM = 0.1594E-02 ANORM = 0.8432E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1794E-02 ANORM = 0.3076E-01
+ IMAX = 4 BNORM = 0.1120E-02 ANORM = 0.3076E-01
+ CALCULATING FOR E= 176.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 79.6168 DCUTO = 79.6168
+0 7 SYMMETRIC BEAMS USED 7
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1520E-02 ANORM = 0.2500E-01
+ IMAX = 3 BNORM = 0.1206E-02 ANORM = 0.2500E-01
+ E= 6.6887 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.19591E-01
+ 0.000 1.000 0.20657E-02
+ 1.000 1.000 0.49740E-04
+ 0.000 2.000 0.29135E-03
+ 1.000 2.000 0.27389E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1771E-02 ANORM = 0.1620E+00
+ IMAX = 4 BNORM = 0.1558E-02 ANORM = 0.1620E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.8774E-03 ANORM = 0.1410E+00
+ IMAX = 7 BNORM = 0.1275E-02 ANORM = 0.1410E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1160E-02 ANORM = 0.9914E-01
+ IMAX = 6 BNORM = 0.1390E-02 ANORM = 0.9915E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1484E-02 ANORM = 0.3560E-01
+ IMAX = 4 BNORM = 0.1673E-02 ANORM = 0.3560E-01
+ CALCULATING FOR E= 180.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 80.4870 DCUTO = 80.4870
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.9911E-03 ANORM = 0.2717E-01
+ IMAX = 3 BNORM = 0.1874E-02 ANORM = 0.2717E-01
+ E= 6.8357 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.20472E-01
+ 0.000 1.000 0.18407E-02
+ 1.000 1.000 0.44989E-03
+ 0.000 2.000 0.23906E-03
+ 1.000 2.000 0.63945E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1014E-02 ANORM = 0.1683E+00
+ IMAX = 4 BNORM = 0.1690E-02 ANORM = 0.1683E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.4445E-03 ANORM = 0.1526E+00
+ IMAX = 7 BNORM = 0.1492E-02 ANORM = 0.1526E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.9373E-03 ANORM = 0.1030E+00
+ IMAX = 6 BNORM = 0.1203E-02 ANORM = 0.1030E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.9571E-03 ANORM = 0.4533E-01
+ IMAX = 4 BNORM = 0.1556E-02 ANORM = 0.4533E-01
+ CALCULATING FOR E= 184.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 81.3478 DCUTO = 81.3478
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1040E-02 ANORM = 0.3059E-01
+ IMAX = 4 BNORM = 0.1048E-02 ANORM = 0.3059E-01
+ E= 6.9827 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.22337E-01
+ 0.000 1.000 0.17455E-02
+ 1.000 1.000 0.19347E-02
+ 0.000 2.000 0.15522E-03
+ 1.000 2.000 0.11111E-02
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1238E-02 ANORM = 0.1650E+00
+ IMAX = 5 BNORM = 0.8389E-03 ANORM = 0.1650E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.4618E-03 ANORM = 0.1563E+00
+ IMAX = 7 BNORM = 0.9180E-03 ANORM = 0.1563E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1631E-02 ANORM = 0.1102E+00
+ IMAX = 5 BNORM = 0.1474E-02 ANORM = 0.1102E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1242E-02 ANORM = 0.4875E-01
+ IMAX = 4 BNORM = 0.1348E-02 ANORM = 0.4875E-01
+ CALCULATING FOR E= 188.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 82.1997 DCUTO = 82.1997
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1709E-02 ANORM = 0.3060E-01
+ IMAX = 4 BNORM = 0.1239E-02 ANORM = 0.3060E-01
+ E= 7.1297 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.18741E-01
+ 0.000 1.000 0.17003E-02
+ 1.000 1.000 0.52458E-02
+ 0.000 2.000 0.11519E-03
+ 1.000 2.000 0.11838E-02
+ 2.000 2.000 0.22945E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1555E-02 ANORM = 0.1539E+00
+ IMAX = 5 BNORM = 0.7390E-03 ANORM = 0.1539E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.6604E-03 ANORM = 0.1420E+00
+ IMAX = 5 BNORM = 0.1830E-02 ANORM = 0.1420E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.7667E-03 ANORM = 0.1381E+00
+ IMAX = 5 BNORM = 0.1512E-02 ANORM = 0.1381E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 5 BNORM = 0.1441E-02 ANORM = 0.1103E-01
+ IMAX = 3 BNORM = 0.7237E-04 ANORM = 0.1104E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1565E-02 ANORM = 0.4792E-01
+ IMAX = 3 BNORM = 0.1964E-02 ANORM = 0.4793E-01
+ CALCULATING FOR E= 192.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 83.0428 DCUTO = 83.0428
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1916E-02 ANORM = 0.2165E-01
+ IMAX = 4 BNORM = 0.1579E-02 ANORM = 0.2165E-01
+ E= 7.2767 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.85741E-02
+ 0.000 1.000 0.13601E-02
+ 1.000 1.000 0.76791E-02
+ 0.000 2.000 0.69619E-04
+ 1.000 2.000 0.52846E-03
+ 2.000 2.000 0.26442E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1764E-02 ANORM = 0.1417E+00
+ IMAX = 4 BNORM = 0.1672E-02 ANORM = 0.1417E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.7621E-03 ANORM = 0.9766E-01
+ IMAX = 5 BNORM = 0.8893E-03 ANORM = 0.9766E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1581E-02 ANORM = 0.1525E+00
+ IMAX = 6 BNORM = 0.8874E-03 ANORM = 0.1525E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 6 BNORM = 0.1027E-02 ANORM = 0.1054E-01
+ IMAX = 3 BNORM = 0.2363E-03 ANORM = 0.1054E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1692E-02 ANORM = 0.4809E-01
+ IMAX = 4 BNORM = 0.1715E-02 ANORM = 0.4810E-01
+ CALCULATING FOR E= 196.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 83.8774 DCUTO = 83.8774
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1638E-02 ANORM = 0.1719E-01
+ IMAX = 4 BNORM = 0.1635E-02 ANORM = 0.1720E-01
+ E= 7.4237 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.18710E-02
+ 0.000 1.000 0.76491E-03
+ 1.000 1.000 0.86246E-02
+ 0.000 2.000 0.19436E-04
+ 1.000 2.000 0.45162E-04
+ 2.000 2.000 0.54654E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1589E-02 ANORM = 0.1386E+00
+ IMAX = 4 BNORM = 0.1433E-02 ANORM = 0.1386E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1315E-02 ANORM = 0.6764E-01
+ IMAX = 3 BNORM = 0.1947E-02 ANORM = 0.6764E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.7031E-03 ANORM = 0.1603E+00
+ IMAX = 6 BNORM = 0.9428E-03 ANORM = 0.1603E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 7 BNORM = 0.6433E-03 ANORM = 0.1746E-01
+ IMAX = 3 BNORM = 0.1115E-02 ANORM = 0.1746E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1370E-02 ANORM = 0.4918E-01
+ IMAX = 4 BNORM = 0.1740E-02 ANORM = 0.4918E-01
+ CALCULATING FOR E= 200.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 84.7038 DCUTO = 84.7038
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.9172E-03 ANORM = 0.2259E-01
+ IMAX = 4 BNORM = 0.1265E-02 ANORM = 0.2259E-01
+ E= 7.5707 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.10259E-02
+ 0.000 1.000 0.22241E-03
+ 1.000 1.000 0.10451E-01
+ 0.000 2.000 0.53239E-04
+ 1.000 2.000 0.13413E-03
+ 2.000 2.000 0.13601E-02
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1499E-02 ANORM = 0.1440E+00
+ IMAX = 4 BNORM = 0.1692E-02 ANORM = 0.1440E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1206E-02 ANORM = 0.8085E-01
+ IMAX = 5 BNORM = 0.1444E-02 ANORM = 0.8085E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1457E-02 ANORM = 0.1982E+00
+ IMAX = 5 BNORM = 0.1248E-02 ANORM = 0.1982E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 7 BNORM = 0.1161E-02 ANORM = 0.3408E-01
+ IMAX = 3 BNORM = 0.2021E-02 ANORM = 0.3408E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1286E-02 ANORM = 0.5123E-01
+ IMAX = 5 BNORM = 0.1613E-02 ANORM = 0.5123E-01
+ CALCULATING FOR E= 204.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 85.5222 DCUTO = 85.5222
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1223E-02 ANORM = 0.2461E-01
+ IMAX = 4 BNORM = 0.1402E-02 ANORM = 0.2462E-01
+ E= 7.7178 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.26155E-02
+ 0.000 1.000 0.26587E-04
+ 1.000 1.000 0.89758E-02
+ 0.000 2.000 0.50454E-03
+ 1.000 2.000 0.45362E-03
+ 2.000 2.000 0.20224E-02
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1146E-02 ANORM = 0.1409E+00
+ IMAX = 4 BNORM = 0.1730E-02 ANORM = 0.1409E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1495E-02 ANORM = 0.1208E+00
+ IMAX = 5 BNORM = 0.1639E-02 ANORM = 0.1208E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1136E-02 ANORM = 0.2081E+00
+ IMAX = 5 BNORM = 0.1016E-02 ANORM = 0.2081E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 7 BNORM = 0.1588E-02 ANORM = 0.5023E-01
+ IMAX = 3 BNORM = 0.1640E-02 ANORM = 0.5023E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1774E-02 ANORM = 0.5186E-01
+ IMAX = 5 BNORM = 0.1817E-02 ANORM = 0.5186E-01
+ CALCULATING FOR E= 208.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 86.3329 DCUTO = 86.3329
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1407E-02 ANORM = 0.2061E-01
+ IMAX = 4 BNORM = 0.1782E-02 ANORM = 0.2061E-01
+ E= 7.8648 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.32458E-02
+ 0.000 1.000 0.22278E-03
+ 1.000 1.000 0.55620E-02
+ 0.000 2.000 0.10312E-02
+ 1.000 2.000 0.50349E-03
+ 2.000 2.000 0.17693E-02
+ 0.000 3.000 0.22640E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1122E-02 ANORM = 0.1350E+00
+ IMAX = 4 BNORM = 0.1822E-02 ANORM = 0.1350E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1701E-02 ANORM = 0.1338E+00
+ IMAX = 6 BNORM = 0.1889E-02 ANORM = 0.1338E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.8932E-03 ANORM = 0.1743E+00
+ IMAX = 5 BNORM = 0.1196E-02 ANORM = 0.1743E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1344E-02 ANORM = 0.5334E-01
+ IMAX = 3 BNORM = 0.1256E-02 ANORM = 0.5334E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1728E-02 ANORM = 0.5124E-01
+ IMAX = 5 BNORM = 0.1725E-02 ANORM = 0.5125E-01
+ CALCULATING FOR E= 212.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 87.1360 DCUTO = 87.1360
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1294E-02 ANORM = 0.1677E-01
+ IMAX = 3 BNORM = 0.1404E-02 ANORM = 0.1678E-01
+ E= 8.0118 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.34801E-02
+ 0.000 1.000 0.73031E-03
+ 1.000 1.000 0.41720E-02
+ 0.000 2.000 0.10442E-02
+ 1.000 2.000 0.41776E-03
+ 2.000 2.000 0.90281E-03
+ 0.000 3.000 0.49910E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1119E-02 ANORM = 0.1409E+00
+ IMAX = 5 BNORM = 0.1967E-02 ANORM = 0.1409E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1500E-02 ANORM = 0.1393E+00
+ IMAX = 7 BNORM = 0.1383E-02 ANORM = 0.1393E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.6154E-03 ANORM = 0.1478E+00
+ IMAX = 5 BNORM = 0.1035E-02 ANORM = 0.1478E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.7157E-03 ANORM = 0.4577E-01
+ IMAX = 3 BNORM = 0.9938E-03 ANORM = 0.4577E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1791E-02 ANORM = 0.4562E-01
+ IMAX = 5 BNORM = 0.1702E-02 ANORM = 0.4562E-01
+ CALCULATING FOR E= 216.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 87.9318 DCUTO = 87.9318
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1927E-02 ANORM = 0.1532E-01
+ IMAX = 3 BNORM = 0.5181E-03 ANORM = 0.1532E-01
+ E= 8.1588 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.44177E-02
+ 0.000 1.000 0.20009E-02
+ 1.000 1.000 0.33888E-02
+ 0.000 2.000 0.72812E-03
+ 1.000 2.000 0.37171E-03
+ 2.000 2.000 0.36732E-03
+ 0.000 3.000 0.51515E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1069E-02 ANORM = 0.1637E+00
+ IMAX = 5 BNORM = 0.1496E-02 ANORM = 0.1637E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.8259E-03 ANORM = 0.1454E+00
+ IMAX = 5 BNORM = 0.1764E-02 ANORM = 0.1454E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.8292E-03 ANORM = 0.1339E+00
+ IMAX = 4 BNORM = 0.1931E-02 ANORM = 0.1339E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1726E-02 ANORM = 0.3657E-01
+ IMAX = 3 BNORM = 0.9894E-03 ANORM = 0.3658E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1891E-02 ANORM = 0.4134E-01
+ IMAX = 5 BNORM = 0.1836E-02 ANORM = 0.4135E-01
+ CALCULATING FOR E= 220.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 88.7204 DCUTO = 88.7204
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1853E-02 ANORM = 0.1459E-01
+ IMAX = 3 BNORM = 0.8374E-03 ANORM = 0.1459E-01
+ E= 8.3058 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.47564E-02
+ 0.000 1.000 0.35267E-02
+ 1.000 1.000 0.21336E-02
+ 0.000 2.000 0.49815E-03
+ 1.000 2.000 0.31350E-03
+ 2.000 2.000 0.32679E-03
+ 0.000 3.000 0.33742E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.9694E-03 ANORM = 0.1878E+00
+ IMAX = 3 BNORM = 0.1973E-02 ANORM = 0.1878E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1286E-02 ANORM = 0.1359E+00
+ IMAX = 5 BNORM = 0.1645E-02 ANORM = 0.1359E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1700E-02 ANORM = 0.1163E+00
+ IMAX = 4 BNORM = 0.1542E-02 ANORM = 0.1163E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1449E-02 ANORM = 0.2961E-01
+ IMAX = 3 BNORM = 0.1399E-02 ANORM = 0.2961E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1898E-02 ANORM = 0.4445E-01
+ IMAX = 7 BNORM = 0.9898E-03 ANORM = 0.4446E-01
+ CALCULATING FOR E= 224.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 89.5021 DCUTO = 89.5021
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1685E-02 ANORM = 0.1369E-01
+ IMAX = 3 BNORM = 0.1754E-02 ANORM = 0.1369E-01
+ E= 8.4528 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.42076E-02
+ 0.000 1.000 0.46247E-02
+ 1.000 1.000 0.12016E-02
+ 0.000 2.000 0.43494E-03
+ 1.000 2.000 0.20499E-03
+ 2.000 2.000 0.36463E-03
+ 0.000 3.000 0.19522E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.8598E-03 ANORM = 0.2000E+00
+ IMAX = 3 BNORM = 0.1737E-02 ANORM = 0.2000E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1260E-02 ANORM = 0.1267E+00
+ IMAX = 5 BNORM = 0.1817E-02 ANORM = 0.1267E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1201E-02 ANORM = 0.1104E+00
+ IMAX = 4 BNORM = 0.1061E-02 ANORM = 0.1104E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1359E-02 ANORM = 0.2849E-01
+ IMAX = 3 BNORM = 0.1585E-02 ANORM = 0.2850E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1686E-02 ANORM = 0.4525E-01
+ IMAX = 6 BNORM = 0.1907E-02 ANORM = 0.4526E-01
+ CALCULATING FOR E= 228.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 90.2770 DCUTO = 90.2770
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1288E-02 ANORM = 0.1304E-01
+ IMAX = 3 BNORM = 0.1320E-02 ANORM = 0.1304E-01
+ E= 8.5998 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.34878E-02
+ 0.000 1.000 0.53964E-02
+ 1.000 1.000 0.77161E-03
+ 0.000 2.000 0.49380E-03
+ 1.000 2.000 0.74930E-04
+ 2.000 2.000 0.37089E-03
+ 0.000 3.000 0.17571E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1937E-02 ANORM = 0.2031E+00
+ IMAX = 4 BNORM = 0.1788E-02 ANORM = 0.2031E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1843E-02 ANORM = 0.1237E+00
+ IMAX = 5 BNORM = 0.1415E-02 ANORM = 0.1237E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1703E-02 ANORM = 0.1124E+00
+ IMAX = 3 BNORM = 0.1704E-02 ANORM = 0.1124E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1570E-02 ANORM = 0.3180E-01
+ IMAX = 3 BNORM = 0.1531E-02 ANORM = 0.3180E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1594E-02 ANORM = 0.4097E-01
+ IMAX = 6 BNORM = 0.1790E-02 ANORM = 0.4099E-01
+ CALCULATING FOR E= 232.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 91.0453 DCUTO = 91.0453
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1707E-02 ANORM = 0.1280E-01
+ IMAX = 3 BNORM = 0.1515E-02 ANORM = 0.1280E-01
+ E= 8.7468 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.27528E-02
+ 0.000 1.000 0.59671E-02
+ 1.000 1.000 0.65014E-03
+ 0.000 2.000 0.65940E-03
+ 1.000 2.000 0.55638E-05
+ 2.000 2.000 0.37485E-03
+ 0.000 3.000 0.14250E-03
+ 1.000 3.000 0.92956E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1891E-02 ANORM = 0.1979E+00
+ IMAX = 3 BNORM = 0.1879E-02 ANORM = 0.1979E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1782E-02 ANORM = 0.1254E+00
+ IMAX = 4 BNORM = 0.1566E-02 ANORM = 0.1254E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1141E-02 ANORM = 0.1137E+00
+ IMAX = 3 BNORM = 0.1260E-02 ANORM = 0.1137E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1315E-02 ANORM = 0.3527E-01
+ IMAX = 4 BNORM = 0.1090E-02 ANORM = 0.3527E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1571E-02 ANORM = 0.4165E-01
+ IMAX = 6 BNORM = 0.1791E-02 ANORM = 0.4167E-01
+ CALCULATING FOR E= 236.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 91.8072 DCUTO = 91.8072
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1603E-02 ANORM = 0.1273E-01
+ IMAX = 4 BNORM = 0.1087E-02 ANORM = 0.1273E-01
+ E= 8.8938 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.19397E-02
+ 0.000 1.000 0.62248E-02
+ 1.000 1.000 0.63778E-03
+ 0.000 2.000 0.86183E-03
+ 1.000 2.000 0.11842E-04
+ 2.000 2.000 0.34879E-03
+ 0.000 3.000 0.67560E-04
+ 1.000 3.000 0.23003E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1853E-02 ANORM = 0.1916E+00
+ IMAX = 3 BNORM = 0.1208E-02 ANORM = 0.1916E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1641E-02 ANORM = 0.1293E+00
+ IMAX = 4 BNORM = 0.9957E-03 ANORM = 0.1293E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1259E-02 ANORM = 0.1115E+00
+ IMAX = 3 BNORM = 0.8463E-03 ANORM = 0.1115E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1855E-02 ANORM = 0.3755E-01
+ IMAX = 4 BNORM = 0.1672E-02 ANORM = 0.3756E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1508E-02 ANORM = 0.4653E-01
+ IMAX = 6 BNORM = 0.1460E-02 ANORM = 0.4654E-01
+ CALCULATING FOR E= 240.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 92.5629 DCUTO = 92.5629
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1759E-02 ANORM = 0.1156E-01
+ IMAX = 4 BNORM = 0.1577E-02 ANORM = 0.1156E-01
+ E= 9.0408 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.11961E-02
+ 0.000 1.000 0.61451E-02
+ 1.000 1.000 0.65253E-03
+ 0.000 2.000 0.71780E-03
+ 1.000 2.000 0.34581E-04
+ 2.000 2.000 0.26970E-03
+ 0.000 3.000 0.45262E-05
+ 1.000 3.000 0.33133E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1706E-02 ANORM = 0.1822E+00
+ IMAX = 3 BNORM = 0.7178E-03 ANORM = 0.1822E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1441E-02 ANORM = 0.1266E+00
+ IMAX = 4 BNORM = 0.1842E-02 ANORM = 0.1266E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1228E-02 ANORM = 0.1090E+00
+ IMAX = 3 BNORM = 0.6463E-03 ANORM = 0.1090E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1457E-02 ANORM = 0.3846E-01
+ IMAX = 5 BNORM = 0.1292E-02 ANORM = 0.3846E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1460E-02 ANORM = 0.5111E-01
+ IMAX = 5 BNORM = 0.1742E-02 ANORM = 0.5112E-01
+ CALCULATING FOR E= 244.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 93.3124 DCUTO = 93.3124
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1939E-02 ANORM = 0.1033E-01
+ IMAX = 4 BNORM = 0.1888E-02 ANORM = 0.1033E-01
+ E= 9.1878 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.84951E-03
+ 0.000 1.000 0.57266E-02
+ 1.000 1.000 0.70756E-03
+ 0.000 2.000 0.61643E-03
+ 1.000 2.000 0.30483E-04
+ 2.000 2.000 0.22788E-03
+ 0.000 3.000 0.34357E-04
+ 1.000 3.000 0.30815E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1608E-02 ANORM = 0.1751E+00
+ IMAX = 3 BNORM = 0.7253E-03 ANORM = 0.1751E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1221E-02 ANORM = 0.1244E+00
+ IMAX = 7 BNORM = 0.1594E-02 ANORM = 0.1244E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1094E-02 ANORM = 0.1080E+00
+ IMAX = 3 BNORM = 0.7845E-03 ANORM = 0.1080E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 7 BNORM = 0.1908E-02 ANORM = 0.3652E-01
+ IMAX = 5 BNORM = 0.1871E-02 ANORM = 0.3652E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1485E-02 ANORM = 0.5105E-01
+ IMAX = 5 BNORM = 0.1711E-02 ANORM = 0.5105E-01
+ CALCULATING FOR E= 248.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 94.0559 DCUTO = 94.0559
+0 8 SYMMETRIC BEAMS USED 8
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1216E-02 ANORM = 0.1004E-01
+ IMAX = 4 BNORM = 0.1980E-02 ANORM = 0.1004E-01
+ E= 9.3348 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.10852E-02
+ 0.000 1.000 0.50184E-02
+ 1.000 1.000 0.78676E-03
+ 0.000 2.000 0.78335E-03
+ 1.000 2.000 0.66147E-04
+ 2.000 2.000 0.28757E-03
+ 0.000 3.000 0.11081E-03
+ 1.000 3.000 0.25572E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1661E-02 ANORM = 0.1687E+00
+ IMAX = 3 BNORM = 0.8691E-03 ANORM = 0.1687E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1783E-02 ANORM = 0.1296E+00
+ IMAX = 8 BNORM = 0.1736E-02 ANORM = 0.1296E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1717E-02 ANORM = 0.1073E+00
+ IMAX = 3 BNORM = 0.1175E-02 ANORM = 0.1073E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.9245E-03 ANORM = 0.3300E-01
+ IMAX = 6 BNORM = 0.1694E-02 ANORM = 0.3300E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1560E-02 ANORM = 0.5160E-01
+ IMAX = 5 BNORM = 0.1814E-02 ANORM = 0.5161E-01
+ CALCULATING FOR E= 252.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 94.7936 DCUTO = 94.7936
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1762E-02 ANORM = 0.1020E-01
+ IMAX = 5 BNORM = 0.1364E-02 ANORM = 0.1020E-01
+ E= 9.4818 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.20322E-02
+ 0.000 1.000 0.38829E-02
+ 1.000 1.000 0.74625E-03
+ 0.000 2.000 0.93364E-03
+ 1.000 2.000 0.12598E-03
+ 2.000 2.000 0.43066E-03
+ 0.000 3.000 0.58647E-04
+ 1.000 3.000 0.28633E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1357E-02 ANORM = 0.1550E+00
+ IMAX = 4 BNORM = 0.1977E-02 ANORM = 0.1550E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1539E-02 ANORM = 0.1348E+00
+ IMAX = 10 BNORM = 0.1141E-02 ANORM = 0.1348E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1577E-02 ANORM = 0.1024E+00
+ IMAX = 6 BNORM = 0.1488E-02 ANORM = 0.1024E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.8978E-03 ANORM = 0.2940E-01
+ IMAX = 7 BNORM = 0.1490E-02 ANORM = 0.2940E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1626E-02 ANORM = 0.5468E-01
+ IMAX = 6 BNORM = 0.1709E-02 ANORM = 0.5469E-01
+ CALCULATING FOR E= 256.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 95.5256 DCUTO = 95.5256
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1635E-02 ANORM = 0.1215E-01
+ IMAX = 3 BNORM = 0.3539E-02 ANORM = 0.1215E-01
+ E= 9.6288 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.44130E-02
+ 0.000 1.000 0.32894E-02
+ 1.000 1.000 0.59465E-03
+ 0.000 2.000 0.84316E-03
+ 1.000 2.000 0.15218E-03
+ 2.000 2.000 0.61942E-03
+ 0.000 3.000 0.39737E-04
+ 1.000 3.000 0.29997E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1386E-02 ANORM = 0.1468E+00
+ IMAX = 5 BNORM = 0.1034E-02 ANORM = 0.1468E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1479E-02 ANORM = 0.1349E+00
+ IMAX = 10 BNORM = 0.1205E-02 ANORM = 0.1350E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1516E-02 ANORM = 0.9525E-01
+ IMAX = 6 BNORM = 0.1516E-02 ANORM = 0.9525E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.8275E-03 ANORM = 0.2618E-01
+ IMAX = 7 BNORM = 0.1353E-02 ANORM = 0.2618E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1508E-02 ANORM = 0.5422E-01
+ IMAX = 6 BNORM = 0.1545E-02 ANORM = 0.5423E-01
+ CALCULATING FOR E= 260.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 96.2521 DCUTO = 96.2521
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1902E-02 ANORM = 0.1672E-01
+ IMAX = 3 BNORM = 0.3063E-02 ANORM = 0.1672E-01
+ E= 9.7758 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.95035E-02
+ 0.000 1.000 0.34619E-02
+ 1.000 1.000 0.34716E-03
+ 0.000 2.000 0.74245E-03
+ 1.000 2.000 0.97206E-04
+ 2.000 2.000 0.72265E-03
+ 0.000 3.000 0.98919E-04
+ 1.000 3.000 0.21507E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1314E-02 ANORM = 0.1462E+00
+ IMAX = 5 BNORM = 0.1129E-02 ANORM = 0.1462E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1809E-02 ANORM = 0.1290E+00
+ IMAX = 9 BNORM = 0.1861E-02 ANORM = 0.1290E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1609E-02 ANORM = 0.8706E-01
+ IMAX = 6 BNORM = 0.1827E-02 ANORM = 0.8707E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.7693E-03 ANORM = 0.2446E-01
+ IMAX = 6 BNORM = 0.1797E-02 ANORM = 0.2446E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1354E-02 ANORM = 0.5297E-01
+ IMAX = 6 BNORM = 0.1984E-02 ANORM = 0.5298E-01
+ CALCULATING FOR E= 264.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 96.9731 DCUTO = 96.9731
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1357E-02 ANORM = 0.2079E-01
+ IMAX = 3 BNORM = 0.2307E-02 ANORM = 0.2079E-01
+ E= 9.9228 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.14930E-01
+ 0.000 1.000 0.32440E-02
+ 1.000 1.000 0.13650E-03
+ 0.000 2.000 0.86139E-03
+ 1.000 2.000 0.60896E-04
+ 2.000 2.000 0.56371E-03
+ 0.000 3.000 0.83776E-04
+ 1.000 3.000 0.89956E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1232E-02 ANORM = 0.1408E+00
+ IMAX = 5 BNORM = 0.1728E-02 ANORM = 0.1408E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1743E-02 ANORM = 0.1141E+00
+ IMAX = 9 BNORM = 0.1649E-02 ANORM = 0.1142E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1961E-02 ANORM = 0.8051E-01
+ IMAX = 5 BNORM = 0.1966E-02 ANORM = 0.8052E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1568E-02 ANORM = 0.2293E-01
+ IMAX = 6 BNORM = 0.1412E-02 ANORM = 0.2293E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1209E-02 ANORM = 0.5567E-01
+ IMAX = 7 BNORM = 0.7702E-03 ANORM = 0.5568E-01
+ CALCULATING FOR E= 268.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 97.6888 DCUTO = 97.6888
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1043E-02 ANORM = 0.1844E-01
+ IMAX = 3 BNORM = 0.1706E-02 ANORM = 0.1845E-01
+ E= 10.0698 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.13930E-01
+ 0.000 1.000 0.22180E-02
+ 1.000 1.000 0.26668E-04
+ 0.000 2.000 0.99569E-03
+ 1.000 2.000 0.20914E-03
+ 2.000 2.000 0.29690E-03
+ 0.000 3.000 0.28444E-04
+ 1.000 3.000 0.30922E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1189E-02 ANORM = 0.1278E+00
+ IMAX = 4 BNORM = 0.1652E-02 ANORM = 0.1278E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1500E-02 ANORM = 0.1087E+00
+ IMAX = 9 BNORM = 0.1458E-02 ANORM = 0.1087E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1019E-02 ANORM = 0.7395E-01
+ IMAX = 7 BNORM = 0.1185E-02 ANORM = 0.7396E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.9761E-03 ANORM = 0.2096E-01
+ IMAX = 3 BNORM = 0.1994E-02 ANORM = 0.2096E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1807E-02 ANORM = 0.5835E-01
+ IMAX = 5 BNORM = 0.1671E-02 ANORM = 0.5836E-01
+ CALCULATING FOR E= 272.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 98.3992 DCUTO = 98.3992
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1199E-02 ANORM = 0.1298E-01
+ IMAX = 3 BNORM = 0.1376E-02 ANORM = 0.1298E-01
+ E= 10.2168 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.86352E-02
+ 0.000 1.000 0.14117E-02
+ 1.000 1.000 0.48644E-05
+ 0.000 2.000 0.10282E-02
+ 1.000 2.000 0.54799E-03
+ 2.000 2.000 0.32272E-03
+ 0.000 3.000 0.94994E-05
+ 1.000 3.000 0.12490E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1148E-02 ANORM = 0.1163E+00
+ IMAX = 4 BNORM = 0.1967E-02 ANORM = 0.1163E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1262E-02 ANORM = 0.1193E+00
+ IMAX = 8 BNORM = 0.1987E-02 ANORM = 0.1193E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1318E-02 ANORM = 0.6586E-01
+ IMAX = 7 BNORM = 0.1184E-02 ANORM = 0.6587E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1363E-02 ANORM = 0.2271E-01
+ IMAX = 3 BNORM = 0.1427E-02 ANORM = 0.2271E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1670E-02 ANORM = 0.5553E-01
+ IMAX = 6 BNORM = 0.1541E-02 ANORM = 0.5554E-01
+ CALCULATING FOR E= 276.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 99.1046 DCUTO = 99.1046
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1850E-02 ANORM = 0.9777E-02
+ IMAX = 3 BNORM = 0.1157E-02 ANORM = 0.9778E-02
+ E= 10.3638 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.51446E-02
+ 0.000 1.000 0.12441E-02
+ 1.000 1.000 0.55788E-04
+ 0.000 2.000 0.77248E-03
+ 1.000 2.000 0.10548E-02
+ 2.000 2.000 0.43243E-03
+ 0.000 3.000 0.25296E-04
+ 1.000 3.000 0.28972E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1036E-02 ANORM = 0.1089E+00
+ IMAX = 6 BNORM = 0.8432E-03 ANORM = 0.1090E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1983E-02 ANORM = 0.1417E+00
+ IMAX = 8 BNORM = 0.1745E-02 ANORM = 0.1417E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1524E-02 ANORM = 0.6125E-01
+ IMAX = 7 BNORM = 0.1154E-02 ANORM = 0.6125E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1558E-02 ANORM = 0.2609E-01
+ IMAX = 3 BNORM = 0.8861E-03 ANORM = 0.2609E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1559E-02 ANORM = 0.4938E-01
+ IMAX = 6 BNORM = 0.1608E-02 ANORM = 0.4939E-01
+ CALCULATING FOR E= 280.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 99.8050 DCUTO = 99.8050
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1976E-02 ANORM = 0.1106E-01
+ IMAX = 3 BNORM = 0.9151E-03 ANORM = 0.1106E-01
+ E= 10.5108 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.63682E-02
+ 0.000 1.000 0.11755E-02
+ 1.000 1.000 0.25483E-03
+ 0.000 2.000 0.41919E-03
+ 1.000 2.000 0.14590E-02
+ 2.000 2.000 0.25550E-03
+ 0.000 3.000 0.36670E-04
+ 1.000 3.000 0.69648E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.9831E-03 ANORM = 0.1036E+00
+ IMAX = 6 BNORM = 0.6946E-03 ANORM = 0.1036E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1836E-02 ANORM = 0.1597E+00
+ IMAX = 8 BNORM = 0.1253E-02 ANORM = 0.1597E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1571E-02 ANORM = 0.6165E-01
+ IMAX = 7 BNORM = 0.1068E-02 ANORM = 0.6165E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1661E-02 ANORM = 0.2747E-01
+ IMAX = 3 BNORM = 0.3760E-03 ANORM = 0.2747E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1383E-02 ANORM = 0.4837E-01
+ IMAX = 6 BNORM = 0.1698E-02 ANORM = 0.4837E-01
+ CALCULATING FOR E= 284.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 100.5005 DCUTO = 100.5005
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1451E-02 ANORM = 0.1417E-01
+ IMAX = 3 BNORM = 0.6598E-03 ANORM = 0.1417E-01
+ E= 10.6578 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.92283E-02
+ 0.000 1.000 0.10402E-02
+ 1.000 1.000 0.10286E-02
+ 0.000 2.000 0.17435E-03
+ 1.000 2.000 0.13523E-02
+ 2.000 2.000 0.85723E-04
+ 0.000 3.000 0.39061E-04
+ 1.000 3.000 0.11713E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1755E-02 ANORM = 0.9808E-01
+ IMAX = 6 BNORM = 0.8540E-03 ANORM = 0.9808E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1828E-02 ANORM = 0.1490E+00
+ IMAX = 6 BNORM = 0.1609E-02 ANORM = 0.1491E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1462E-02 ANORM = 0.6961E-01
+ IMAX = 7 BNORM = 0.9966E-03 ANORM = 0.6961E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1512E-02 ANORM = 0.3030E-01
+ IMAX = 3 BNORM = 0.1229E-02 ANORM = 0.3031E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1085E-02 ANORM = 0.5016E-01
+ IMAX = 6 BNORM = 0.1794E-02 ANORM = 0.5017E-01
+ CALCULATING FOR E= 288.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 101.1912 DCUTO = 101.1912
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1690E-02 ANORM = 0.1384E-01
+ IMAX = 3 BNORM = 0.5178E-03 ANORM = 0.1384E-01
+ E= 10.8049 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.77362E-02
+ 0.000 1.000 0.10467E-02
+ 1.000 1.000 0.23677E-02
+ 0.000 2.000 0.76299E-04
+ 1.000 2.000 0.10944E-02
+ 2.000 2.000 0.46980E-04
+ 0.000 3.000 0.73563E-04
+ 1.000 3.000 0.18912E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1519E-02 ANORM = 0.9864E-01
+ IMAX = 6 BNORM = 0.1516E-02 ANORM = 0.9864E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1788E-02 ANORM = 0.1332E+00
+ IMAX = 6 BNORM = 0.1584E-02 ANORM = 0.1332E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1241E-02 ANORM = 0.8860E-01
+ IMAX = 6 BNORM = 0.1816E-02 ANORM = 0.8860E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1885E-02 ANORM = 0.3430E-01
+ IMAX = 4 BNORM = 0.1048E-02 ANORM = 0.3430E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1665E-02 ANORM = 0.4954E-01
+ IMAX = 7 BNORM = 0.1131E-02 ANORM = 0.4955E-01
+ CALCULATING FOR E= 292.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 101.8773 DCUTO = 101.8773
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1976E-02 ANORM = 0.1186E-01
+ IMAX = 3 BNORM = 0.5841E-03 ANORM = 0.1186E-01
+ E= 10.9519 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.42332E-02
+ 0.000 1.000 0.10371E-02
+ 1.000 1.000 0.37228E-02
+ 0.000 2.000 0.61770E-04
+ 1.000 2.000 0.10671E-02
+ 2.000 2.000 0.64587E-04
+ 0.000 3.000 0.79686E-04
+ 1.000 3.000 0.25313E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1266E-02 ANORM = 0.1037E+00
+ IMAX = 6 BNORM = 0.1931E-02 ANORM = 0.1037E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1628E-02 ANORM = 0.1315E+00
+ IMAX = 6 BNORM = 0.1685E-02 ANORM = 0.1315E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1622E-02 ANORM = 0.1084E+00
+ IMAX = 6 BNORM = 0.1585E-02 ANORM = 0.1084E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1995E-02 ANORM = 0.3752E-01
+ IMAX = 3 BNORM = 0.1506E-02 ANORM = 0.3752E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1327E-02 ANORM = 0.4873E-01
+ IMAX = 7 BNORM = 0.1452E-02 ANORM = 0.4874E-01
+ CALCULATING FOR E= 296.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 102.5587 DCUTO = 102.5587
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1590E-02 ANORM = 0.1152E-01
+ IMAX = 3 BNORM = 0.7389E-03 ANORM = 0.1152E-01
+ E= 11.0989 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.23888E-02
+ 0.000 1.000 0.86872E-03
+ 1.000 1.000 0.52229E-02
+ 0.000 2.000 0.98885E-04
+ 1.000 2.000 0.10590E-02
+ 2.000 2.000 0.11550E-03
+ 0.000 3.000 0.57115E-04
+ 1.000 3.000 0.29663E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1105E-02 ANORM = 0.1071E+00
+ IMAX = 7 BNORM = 0.1077E-02 ANORM = 0.1071E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1959E-02 ANORM = 0.1389E+00
+ IMAX = 6 BNORM = 0.1530E-02 ANORM = 0.1389E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1759E-02 ANORM = 0.1249E+00
+ IMAX = 5 BNORM = 0.1907E-02 ANORM = 0.1249E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1993E-02 ANORM = 0.3912E-01
+ IMAX = 3 BNORM = 0.8252E-03 ANORM = 0.3912E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1874E-02 ANORM = 0.4867E-01
+ IMAX = 7 BNORM = 0.1503E-02 ANORM = 0.4868E-01
+ CALCULATING FOR E= 300.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 103.2357 DCUTO = 103.2357
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1795E-02 ANORM = 0.1189E-01
+ IMAX = 3 BNORM = 0.8024E-03 ANORM = 0.1189E-01
+ E= 11.2459 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.13118E-02
+ 0.000 1.000 0.62093E-03
+ 1.000 1.000 0.65535E-02
+ 0.000 2.000 0.24895E-03
+ 1.000 2.000 0.86912E-03
+ 2.000 2.000 0.16174E-03
+ 0.000 3.000 0.35500E-04
+ 1.000 3.000 0.27453E-03
+ 2.000 3.000 0.27757E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1127E-02 ANORM = 0.1036E+00
+ IMAX = 6 BNORM = 0.1836E-02 ANORM = 0.1036E+00
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.1630E-02 ANORM = 0.1396E+00
+ IMAX = 5 BNORM = 0.1901E-02 ANORM = 0.1396E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1242E-02 ANORM = 0.1388E+00
+ IMAX = 5 BNORM = 0.1386E-02 ANORM = 0.1388E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1942E-02 ANORM = 0.4033E-01
+ IMAX = 3 BNORM = 0.4755E-03 ANORM = 0.4033E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1853E-02 ANORM = 0.4890E-01
+ IMAX = 7 BNORM = 0.1291E-02 ANORM = 0.4891E-01
+ CALCULATING FOR E= 304.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 103.9083 DCUTO = 103.9083
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1978E-02 ANORM = 0.1203E-01
+ IMAX = 3 BNORM = 0.7140E-03 ANORM = 0.1203E-01
+ E= 11.3929 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.57120E-03
+ 0.000 1.000 0.41546E-03
+ 1.000 1.000 0.68082E-02
+ 0.000 2.000 0.58731E-03
+ 1.000 2.000 0.61529E-03
+ 2.000 2.000 0.17340E-03
+ 0.000 3.000 0.37906E-04
+ 1.000 3.000 0.19534E-03
+ 2.000 3.000 0.18531E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1250E-02 ANORM = 0.9575E-01
+ IMAX = 6 BNORM = 0.1280E-02 ANORM = 0.9575E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.1873E-02 ANORM = 0.1334E+00
+ IMAX = 5 BNORM = 0.1322E-02 ANORM = 0.1334E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.9517E-03 ANORM = 0.1412E+00
+ IMAX = 4 BNORM = 0.1984E-02 ANORM = 0.1412E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1854E-02 ANORM = 0.4223E-01
+ IMAX = 3 BNORM = 0.3523E-03 ANORM = 0.4224E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1752E-02 ANORM = 0.5185E-01
+ IMAX = 6 BNORM = 0.1878E-02 ANORM = 0.5186E-01
+ CALCULATING FOR E= 308.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 104.5765 DCUTO = 104.5765
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1535E-02 ANORM = 0.1184E-01
+ IMAX = 3 BNORM = 0.5799E-03 ANORM = 0.1184E-01
+ E= 11.5399 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.24309E-03
+ 0.000 1.000 0.28853E-03
+ 1.000 1.000 0.59296E-02
+ 0.000 2.000 0.11054E-02
+ 1.000 2.000 0.46002E-03
+ 2.000 2.000 0.15824E-03
+ 0.000 3.000 0.62954E-04
+ 1.000 3.000 0.12290E-03
+ 2.000 3.000 0.40040E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1518E-02 ANORM = 0.8714E-01
+ IMAX = 5 BNORM = 0.1575E-02 ANORM = 0.8715E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2100E-02 ANORM = 0.1291E+00
+ IMAX = 4 BNORM = 0.1448E-02 ANORM = 0.1291E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 7 BNORM = 0.1841E-02 ANORM = 0.1309E+00
+ IMAX = 4 BNORM = 0.1550E-02 ANORM = 0.1309E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1750E-02 ANORM = 0.4275E-01
+ IMAX = 3 BNORM = 0.3751E-03 ANORM = 0.4275E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1659E-02 ANORM = 0.5894E-01
+ IMAX = 6 BNORM = 0.1492E-02 ANORM = 0.5895E-01
+ CALCULATING FOR E= 312.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 105.2405 DCUTO = 105.2405
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1622E-02 ANORM = 0.1161E-01
+ IMAX = 3 BNORM = 0.5406E-03 ANORM = 0.1161E-01
+ E= 11.6869 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.44966E-03
+ 0.000 1.000 0.26571E-03
+ 1.000 1.000 0.47257E-02
+ 0.000 2.000 0.18349E-02
+ 1.000 2.000 0.41635E-03
+ 2.000 2.000 0.15587E-03
+ 0.000 3.000 0.95798E-04
+ 1.000 3.000 0.77387E-04
+ 2.000 3.000 0.50428E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1899E-02 ANORM = 0.8173E-01
+ IMAX = 5 BNORM = 0.1610E-02 ANORM = 0.8173E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2277E-02 ANORM = 0.1287E+00
+ IMAX = 4 BNORM = 0.1360E-02 ANORM = 0.1287E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 7 BNORM = 0.1962E-02 ANORM = 0.1179E+00
+ IMAX = 4 BNORM = 0.1487E-02 ANORM = 0.1179E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1648E-02 ANORM = 0.4149E-01
+ IMAX = 3 BNORM = 0.4519E-03 ANORM = 0.4149E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1554E-02 ANORM = 0.6802E-01
+ IMAX = 6 BNORM = 0.1382E-02 ANORM = 0.6802E-01
+ CALCULATING FOR E= 316.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 105.9003 DCUTO = 105.9003
+0 9 SYMMETRIC BEAMS USED 9
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1675E-02 ANORM = 0.1182E-01
+ IMAX = 3 BNORM = 0.5185E-03 ANORM = 0.1182E-01
+ E= 11.8339 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.12404E-02
+ 0.000 1.000 0.39200E-03
+ 1.000 1.000 0.36598E-02
+ 0.000 2.000 0.27310E-02
+ 1.000 2.000 0.42859E-03
+ 2.000 2.000 0.15485E-03
+ 0.000 3.000 0.12731E-03
+ 1.000 3.000 0.56467E-04
+ 2.000 3.000 0.43609E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1469E-02 ANORM = 0.8019E-01
+ IMAX = 5 BNORM = 0.1986E-02 ANORM = 0.8019E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2379E-02 ANORM = 0.1279E+00
+ IMAX = 4 BNORM = 0.1521E-02 ANORM = 0.1279E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1206E-02 ANORM = 0.1097E+00
+ IMAX = 4 BNORM = 0.1712E-02 ANORM = 0.1097E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1564E-02 ANORM = 0.4214E-01
+ IMAX = 3 BNORM = 0.4412E-03 ANORM = 0.4214E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1392E-02 ANORM = 0.7387E-01
+ IMAX = 6 BNORM = 0.1396E-02 ANORM = 0.7387E-01
+ CALCULATING FOR E= 320.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 106.5560 DCUTO = 106.5560
+0 10 SYMMETRIC BEAMS USED 10
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1506E-02 ANORM = 0.1209E-01
+ IMAX = 3 BNORM = 0.5103E-03 ANORM = 0.1209E-01
+ E= 11.9809 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.22515E-02
+ 0.000 1.000 0.70221E-03
+ 1.000 1.000 0.27304E-02
+ 0.000 2.000 0.33717E-02
+ 1.000 2.000 0.43081E-03
+ 2.000 2.000 0.14466E-03
+ 0.000 3.000 0.13722E-03
+ 1.000 3.000 0.48700E-04
+ 2.000 3.000 0.27697E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1958E-02 ANORM = 0.7968E-01
+ IMAX = 6 BNORM = 0.1493E-02 ANORM = 0.7968E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2971E-02 ANORM = 0.1255E+00
+ IMAX = 5 BNORM = 0.1314E-02 ANORM = 0.1255E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1026E-02 ANORM = 0.1036E+00
+ IMAX = 4 BNORM = 0.1959E-02 ANORM = 0.1037E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1894E-02 ANORM = 0.4403E-01
+ IMAX = 3 BNORM = 0.4405E-03 ANORM = 0.4403E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1754E-02 ANORM = 0.7432E-01
+ IMAX = 6 BNORM = 0.1523E-02 ANORM = 0.7433E-01
+ CALCULATING FOR E= 324.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 107.2078 DCUTO = 107.2078
+0 10 SYMMETRIC BEAMS USED 10
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1494E-02 ANORM = 0.1208E-01
+ IMAX = 3 BNORM = 0.3294E-03 ANORM = 0.1208E-01
+ E= 12.1279 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.29735E-02
+ 0.000 1.000 0.11702E-02
+ 1.000 1.000 0.19365E-02
+ 0.000 2.000 0.36150E-02
+ 1.000 2.000 0.39182E-03
+ 2.000 2.000 0.13693E-03
+ 0.000 3.000 0.15728E-03
+ 1.000 3.000 0.42447E-04
+ 2.000 3.000 0.13656E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.9108E-03 ANORM = 0.8216E-01
+ IMAX = 5 BNORM = 0.1864E-02 ANORM = 0.8216E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2953E-02 ANORM = 0.1213E+00
+ IMAX = 4 BNORM = 0.1650E-02 ANORM = 0.1213E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1029E-02 ANORM = 0.9747E-01
+ IMAX = 4 BNORM = 0.1823E-02 ANORM = 0.9748E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1816E-02 ANORM = 0.4454E-01
+ IMAX = 3 BNORM = 0.5157E-03 ANORM = 0.4455E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1337E-02 ANORM = 0.7373E-01
+ IMAX = 6 BNORM = 0.1478E-02 ANORM = 0.7374E-01
+ CALCULATING FOR E= 328.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 107.8555 DCUTO = 107.8555
+0 10 SYMMETRIC BEAMS USED 10
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1431E-02 ANORM = 0.1201E-01
+ IMAX = 3 BNORM = 0.2134E-03 ANORM = 0.1201E-01
+ E= 12.2749 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.29114E-02
+ 0.000 1.000 0.15781E-02
+ 1.000 1.000 0.12254E-02
+ 0.000 2.000 0.39313E-02
+ 1.000 2.000 0.29199E-03
+ 2.000 2.000 0.12634E-03
+ 0.000 3.000 0.36664E-03
+ 1.000 3.000 0.37255E-04
+ 2.000 3.000 0.74921E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1020E-02 ANORM = 0.8711E-01
+ IMAX = 5 BNORM = 0.1390E-02 ANORM = 0.8711E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2789E-02 ANORM = 0.1184E+00
+ IMAX = 3 BNORM = 0.1711E-02 ANORM = 0.1184E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1515E-02 ANORM = 0.9035E-01
+ IMAX = 4 BNORM = 0.1499E-02 ANORM = 0.9035E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1706E-02 ANORM = 0.4348E-01
+ IMAX = 3 BNORM = 0.7555E-03 ANORM = 0.4348E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.9938E-03 ANORM = 0.7847E-01
+ IMAX = 5 BNORM = 0.1866E-02 ANORM = 0.7848E-01
+ CALCULATING FOR E= 332.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 108.4995 DCUTO = 108.4995
+0 10 SYMMETRIC BEAMS USED 10
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1921E-02 ANORM = 0.1151E-01
+ IMAX = 3 BNORM = 0.2258E-03 ANORM = 0.1151E-01
+ E= 12.4219 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.21820E-02
+ 0.000 1.000 0.18172E-02
+ 1.000 1.000 0.69751E-03
+ 0.000 2.000 0.39374E-02
+ 1.000 2.000 0.23314E-03
+ 2.000 2.000 0.11704E-03
+ 0.000 3.000 0.81302E-03
+ 1.000 3.000 0.31243E-04
+ 2.000 3.000 0.58391E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1133E-02 ANORM = 0.8834E-01
+ IMAX = 3 BNORM = 0.1917E-02 ANORM = 0.8835E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2542E-02 ANORM = 0.1197E+00
+ IMAX = 3 BNORM = 0.1730E-02 ANORM = 0.1197E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.7486E-03 ANORM = 0.8367E-01
+ IMAX = 4 BNORM = 0.1146E-02 ANORM = 0.8367E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1587E-02 ANORM = 0.4174E-01
+ IMAX = 3 BNORM = 0.1138E-02 ANORM = 0.4175E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.8195E-03 ANORM = 0.8469E-01
+ IMAX = 5 BNORM = 0.1371E-02 ANORM = 0.8470E-01
+ CALCULATING FOR E= 336.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 109.1396 DCUTO = 109.1396
+0 10 SYMMETRIC BEAMS USED 10
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1641E-02 ANORM = 0.1068E-01
+ IMAX = 3 BNORM = 0.3971E-03 ANORM = 0.1068E-01
+ E= 12.5689 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.19155E-02
+ 0.000 1.000 0.23836E-02
+ 1.000 1.000 0.46915E-03
+ 0.000 2.000 0.28785E-02
+ 1.000 2.000 0.21236E-03
+ 2.000 2.000 0.14821E-03
+ 0.000 3.000 0.10686E-02
+ 1.000 3.000 0.31992E-04
+ 2.000 3.000 0.53979E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1214E-02 ANORM = 0.8904E-01
+ IMAX = 3 BNORM = 0.1240E-02 ANORM = 0.8904E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2135E-02 ANORM = 0.1148E+00
+ IMAX = 4 BNORM = 0.1406E-02 ANORM = 0.1148E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1121E-02 ANORM = 0.7955E-01
+ IMAX = 3 BNORM = 0.1837E-02 ANORM = 0.7955E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1490E-02 ANORM = 0.4049E-01
+ IMAX = 3 BNORM = 0.1378E-02 ANORM = 0.4049E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1453E-02 ANORM = 0.8107E-01
+ IMAX = 4 BNORM = 0.1778E-02 ANORM = 0.8107E-01
+ CALCULATING FOR E= 340.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 109.7760 DCUTO = 109.7760
+0 10 SYMMETRIC BEAMS USED 10
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1350E-02 ANORM = 0.1018E-01
+ IMAX = 3 BNORM = 0.6011E-03 ANORM = 0.1018E-01
+ E= 12.7159 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.21510E-02
+ 0.000 1.000 0.31959E-02
+ 1.000 1.000 0.37135E-03
+ 0.000 2.000 0.14800E-02
+ 1.000 2.000 0.17746E-03
+ 2.000 2.000 0.24050E-03
+ 0.000 3.000 0.10714E-02
+ 1.000 3.000 0.39399E-04
+ 2.000 3.000 0.47460E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1255E-02 ANORM = 0.9046E-01
+ IMAX = 3 BNORM = 0.1428E-02 ANORM = 0.9047E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.1769E-02 ANORM = 0.1041E+00
+ IMAX = 3 BNORM = 0.2092E-02 ANORM = 0.1041E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1350E-02 ANORM = 0.7756E-01
+ IMAX = 3 BNORM = 0.1236E-02 ANORM = 0.7756E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1920E-02 ANORM = 0.3855E-01
+ IMAX = 3 BNORM = 0.1565E-02 ANORM = 0.3855E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1320E-02 ANORM = 0.6982E-01
+ IMAX = 4 BNORM = 0.1647E-02 ANORM = 0.6983E-01
+ CALCULATING FOR E= 344.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 110.4087 DCUTO = 110.4087
+0 11 SYMMETRIC BEAMS USED 11
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1970E-02 ANORM = 0.9629E-02
+ IMAX = 3 BNORM = 0.6821E-03 ANORM = 0.9629E-02
+ E= 12.8629 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.23974E-02
+ 0.000 1.000 0.37361E-02
+ 1.000 1.000 0.26781E-03
+ 0.000 2.000 0.46056E-03
+ 1.000 2.000 0.13383E-03
+ 2.000 2.000 0.38799E-03
+ 0.000 3.000 0.91922E-03
+ 1.000 3.000 0.46712E-04
+ 2.000 3.000 0.43357E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1139E-02 ANORM = 0.9080E-01
+ IMAX = 4 BNORM = 0.1567E-02 ANORM = 0.9080E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.3092E-02 ANORM = 0.9265E-01
+ IMAX = 4 BNORM = 0.1269E-02 ANORM = 0.9265E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1833E-02 ANORM = 0.7513E-01
+ IMAX = 3 BNORM = 0.1174E-02 ANORM = 0.7513E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1798E-02 ANORM = 0.3863E-01
+ IMAX = 4 BNORM = 0.6901E-03 ANORM = 0.3863E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1869E-02 ANORM = 0.5813E-01
+ IMAX = 4 BNORM = 0.1827E-02 ANORM = 0.5813E-01
+ CALCULATING FOR E= 348.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 111.0378 DCUTO = 111.0378
+0 11 SYMMETRIC BEAMS USED 11
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1895E-02 ANORM = 0.8844E-02
+ IMAX = 3 BNORM = 0.6228E-03 ANORM = 0.8844E-02
+ E= 13.0099 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.22024E-02
+ 0.000 1.000 0.36218E-02
+ 1.000 1.000 0.16888E-03
+ 0.000 2.000 0.65954E-04
+ 1.000 2.000 0.95834E-04
+ 2.000 2.000 0.57333E-03
+ 0.000 3.000 0.72854E-03
+ 1.000 3.000 0.65794E-04
+ 2.000 3.000 0.56907E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1991E-02 ANORM = 0.8947E-01
+ IMAX = 4 BNORM = 0.1632E-02 ANORM = 0.8947E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.3306E-02 ANORM = 0.8383E-01
+ IMAX = 4 BNORM = 0.1918E-02 ANORM = 0.8383E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1660E-02 ANORM = 0.7171E-01
+ IMAX = 3 BNORM = 0.1231E-02 ANORM = 0.7171E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1657E-02 ANORM = 0.4128E-01
+ IMAX = 4 BNORM = 0.4795E-03 ANORM = 0.4128E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1137E-02 ANORM = 0.5165E-01
+ IMAX = 4 BNORM = 0.1466E-02 ANORM = 0.5165E-01
+ CALCULATING FOR E= 352.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 111.6634 DCUTO = 111.6634
+0 11 SYMMETRIC BEAMS USED 11
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1981E-02 ANORM = 0.8011E-02
+ IMAX = 3 BNORM = 0.6288E-03 ANORM = 0.8011E-02
+ E= 13.1569 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.15949E-02
+ 0.000 1.000 0.30792E-02
+ 1.000 1.000 0.16257E-03
+ 0.000 2.000 0.10596E-03
+ 1.000 2.000 0.75615E-04
+ 2.000 2.000 0.74858E-03
+ 0.000 3.000 0.52107E-03
+ 1.000 3.000 0.93498E-04
+ 2.000 3.000 0.76630E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1700E-02 ANORM = 0.8669E-01
+ IMAX = 4 BNORM = 0.1595E-02 ANORM = 0.8669E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.3407E-02 ANORM = 0.8107E-01
+ IMAX = 6 BNORM = 0.1068E-02 ANORM = 0.8107E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1600E-02 ANORM = 0.6671E-01
+ IMAX = 3 BNORM = 0.1506E-02 ANORM = 0.6671E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1241E-02 ANORM = 0.4668E-01
+ IMAX = 4 BNORM = 0.5538E-03 ANORM = 0.4668E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1468E-02 ANORM = 0.5075E-01
+ IMAX = 4 BNORM = 0.1289E-02 ANORM = 0.5075E-01
+ CALCULATING FOR E= 356.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 112.2855 DCUTO = 112.2855
+0 11 SYMMETRIC BEAMS USED 11
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1444E-02 ANORM = 0.7806E-02
+ IMAX = 3 BNORM = 0.8518E-03 ANORM = 0.7807E-02
+ E= 13.3039 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.10138E-02
+ 0.000 1.000 0.25296E-02
+ 1.000 1.000 0.24225E-03
+ 0.000 2.000 0.23403E-03
+ 1.000 2.000 0.87846E-04
+ 2.000 2.000 0.10265E-02
+ 0.000 3.000 0.34688E-03
+ 1.000 3.000 0.12217E-03
+ 2.000 3.000 0.93887E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1976E-02 ANORM = 0.8397E-01
+ IMAX = 4 BNORM = 0.1360E-02 ANORM = 0.8397E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.3463E-02 ANORM = 0.8781E-01
+ IMAX = 6 BNORM = 0.8732E-03 ANORM = 0.8781E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1418E-02 ANORM = 0.6357E-01
+ IMAX = 3 BNORM = 0.1850E-02 ANORM = 0.6357E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 8 BNORM = 0.1948E-02 ANORM = 0.5418E-01
+ IMAX = 3 BNORM = 0.1208E-02 ANORM = 0.5419E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1609E-02 ANORM = 0.5316E-01
+ IMAX = 4 BNORM = 0.1291E-02 ANORM = 0.5316E-01
+ CALCULATING FOR E= 360.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 112.9041 DCUTO = 112.9041
+0 11 SYMMETRIC BEAMS USED 11
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1539E-02 ANORM = 0.8483E-02
+ IMAX = 3 BNORM = 0.1159E-02 ANORM = 0.8483E-02
+ E= 13.4509 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.67245E-03
+ 0.000 1.000 0.20965E-02
+ 1.000 1.000 0.40240E-03
+ 0.000 2.000 0.30609E-03
+ 1.000 2.000 0.13633E-03
+ 2.000 2.000 0.14598E-02
+ 0.000 3.000 0.20342E-03
+ 1.000 3.000 0.14093E-03
+ 2.000 3.000 0.10430E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1499E-02 ANORM = 0.8657E-01
+ IMAX = 4 BNORM = 0.1007E-02 ANORM = 0.8658E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.3534E-02 ANORM = 0.1024E+00
+ IMAX = 6 BNORM = 0.7961E-03 ANORM = 0.1024E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1895E-02 ANORM = 0.6762E-01
+ IMAX = 6 BNORM = 0.1203E-02 ANORM = 0.6762E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1155E-02 ANORM = 0.5864E-01
+ IMAX = 3 BNORM = 0.7737E-03 ANORM = 0.5864E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1813E-02 ANORM = 0.5810E-01
+ IMAX = 4 BNORM = 0.1241E-02 ANORM = 0.5811E-01
+ CALCULATING FOR E= 364.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 113.5194 DCUTO = 113.5194
+0 12 SYMMETRIC BEAMS USED 12
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1788E-02 ANORM = 0.9424E-02
+ IMAX = 3 BNORM = 0.1855E-02 ANORM = 0.9425E-02
+ E= 13.5979 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.44453E-03
+ 0.000 1.000 0.15030E-02
+ 1.000 1.000 0.58568E-03
+ 0.000 2.000 0.33191E-03
+ 1.000 2.000 0.20731E-03
+ 2.000 2.000 0.20860E-02
+ 0.000 3.000 0.96897E-04
+ 1.000 3.000 0.15618E-03
+ 2.000 3.000 0.12485E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1591E-02 ANORM = 0.9653E-01
+ IMAX = 4 BNORM = 0.1205E-02 ANORM = 0.9653E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.4287E-02 ANORM = 0.1132E+00
+ IMAX = 5 BNORM = 0.1838E-02 ANORM = 0.1132E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.9783E-03 ANORM = 0.7121E-01
+ IMAX = 6 BNORM = 0.1627E-02 ANORM = 0.7121E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1349E-02 ANORM = 0.5973E-01
+ IMAX = 3 BNORM = 0.1280E-02 ANORM = 0.5973E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1788E-02 ANORM = 0.6495E-01
+ IMAX = 5 BNORM = 0.9313E-03 ANORM = 0.6495E-01
+ CALCULATING FOR E= 368.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 114.1314 DCUTO = 114.1314
+0 12 SYMMETRIC BEAMS USED 12
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1816E-02 ANORM = 0.9734E-02
+ IMAX = 4 BNORM = 0.1088E-02 ANORM = 0.9734E-02
+ E= 13.7449 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.33474E-03
+ 0.000 1.000 0.88499E-03
+ 1.000 1.000 0.61218E-03
+ 0.000 2.000 0.32805E-03
+ 1.000 2.000 0.24048E-03
+ 2.000 2.000 0.31627E-02
+ 0.000 3.000 0.42758E-04
+ 1.000 3.000 0.15069E-03
+ 2.000 3.000 0.13641E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1617E-02 ANORM = 0.1055E+00
+ IMAX = 4 BNORM = 0.1620E-02 ANORM = 0.1055E+00
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.4349E-02 ANORM = 0.1118E+00
+ IMAX = 5 BNORM = 0.1931E-02 ANORM = 0.1118E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1194E-02 ANORM = 0.6479E-01
+ IMAX = 7 BNORM = 0.6711E-03 ANORM = 0.6479E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1257E-02 ANORM = 0.6626E-01
+ IMAX = 3 BNORM = 0.1537E-02 ANORM = 0.6626E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1410E-02 ANORM = 0.6745E-01
+ IMAX = 5 BNORM = 0.1154E-02 ANORM = 0.6746E-01
+ CALCULATING FOR E= 372.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 114.7401 DCUTO = 114.7401
+0 12 SYMMETRIC BEAMS USED 12
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1797E-02 ANORM = 0.1017E-01
+ IMAX = 4 BNORM = 0.1656E-02 ANORM = 0.1017E-01
+ E= 13.8920 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.45321E-03
+ 0.000 1.000 0.58731E-03
+ 1.000 1.000 0.43489E-03
+ 0.000 2.000 0.42075E-03
+ 1.000 2.000 0.21286E-03
+ 2.000 2.000 0.42688E-02
+ 0.000 3.000 0.42126E-04
+ 1.000 3.000 0.11439E-03
+ 2.000 3.000 0.11959E-03
+ 0.000 4.000 0.14108E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1743E-02 ANORM = 0.1062E+00
+ IMAX = 4 BNORM = 0.1839E-02 ANORM = 0.1062E+00
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.4220E-02 ANORM = 0.1074E+00
+ IMAX = 7 BNORM = 0.1672E-02 ANORM = 0.1074E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1518E-02 ANORM = 0.5882E-01
+ IMAX = 7 BNORM = 0.1020E-02 ANORM = 0.5883E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1194E-02 ANORM = 0.7878E-01
+ IMAX = 3 BNORM = 0.1852E-02 ANORM = 0.7878E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1859E-02 ANORM = 0.6683E-01
+ IMAX = 5 BNORM = 0.1552E-02 ANORM = 0.6684E-01
+ CALCULATING FOR E= 376.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 115.3456 DCUTO = 115.3456
+0 12 SYMMETRIC BEAMS USED 12
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1725E-02 ANORM = 0.1018E-01
+ IMAX = 5 BNORM = 0.8834E-03 ANORM = 0.1018E-01
+ E= 14.0390 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.67777E-03
+ 0.000 1.000 0.56340E-03
+ 1.000 1.000 0.19853E-03
+ 0.000 2.000 0.62975E-03
+ 1.000 2.000 0.24297E-03
+ 2.000 2.000 0.44066E-02
+ 0.000 3.000 0.11164E-03
+ 1.000 3.000 0.84755E-04
+ 2.000 3.000 0.79427E-04
+ 0.000 4.000 0.13670E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1905E-02 ANORM = 0.9716E-01
+ IMAX = 4 BNORM = 0.1726E-02 ANORM = 0.9717E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.3789E-02 ANORM = 0.1064E+00
+ IMAX = 8 BNORM = 0.1100E-02 ANORM = 0.1064E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1745E-02 ANORM = 0.5455E-01
+ IMAX = 7 BNORM = 0.1031E-02 ANORM = 0.5456E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1297E-02 ANORM = 0.8399E-01
+ IMAX = 4 BNORM = 0.1244E-02 ANORM = 0.8399E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1282E-02 ANORM = 0.6225E-01
+ IMAX = 5 BNORM = 0.1814E-02 ANORM = 0.6226E-01
+ CALCULATING FOR E= 380.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 115.9479 DCUTO = 115.9479
+0 12 SYMMETRIC BEAMS USED 12
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1680E-02 ANORM = 0.9240E-02
+ IMAX = 5 BNORM = 0.9073E-03 ANORM = 0.9241E-02
+ E= 14.1860 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.83657E-03
+ 0.000 1.000 0.51948E-03
+ 1.000 1.000 0.76618E-04
+ 0.000 2.000 0.81350E-03
+ 1.000 2.000 0.42256E-03
+ 2.000 2.000 0.37035E-02
+ 0.000 3.000 0.17956E-03
+ 1.000 3.000 0.96486E-04
+ 2.000 3.000 0.37116E-04
+ 0.000 4.000 0.12011E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1562E-02 ANORM = 0.8399E-01
+ IMAX = 4 BNORM = 0.1677E-02 ANORM = 0.8399E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.3324E-02 ANORM = 0.1102E+00
+ IMAX = 8 BNORM = 0.1467E-02 ANORM = 0.1102E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1985E-02 ANORM = 0.5436E-01
+ IMAX = 6 BNORM = 0.1503E-02 ANORM = 0.5436E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1254E-02 ANORM = 0.7614E-01
+ IMAX = 4 BNORM = 0.1098E-02 ANORM = 0.7615E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1900E-02 ANORM = 0.5527E-01
+ IMAX = 6 BNORM = 0.1011E-02 ANORM = 0.5528E-01
+ CALCULATING FOR E= 384.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 116.5471 DCUTO = 116.5471
+0 12 SYMMETRIC BEAMS USED 12
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1554E-02 ANORM = 0.7971E-02
+ IMAX = 4 BNORM = 0.1750E-02 ANORM = 0.7971E-02
+ E= 14.3330 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.82184E-03
+ 0.000 1.000 0.48318E-03
+ 1.000 1.000 0.54802E-04
+ 0.000 2.000 0.97717E-03
+ 1.000 2.000 0.71970E-03
+ 2.000 2.000 0.24767E-02
+ 0.000 3.000 0.20347E-03
+ 1.000 3.000 0.13333E-03
+ 2.000 3.000 0.20791E-04
+ 0.000 4.000 0.10965E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1562E-02 ANORM = 0.7591E-01
+ IMAX = 4 BNORM = 0.1220E-02 ANORM = 0.7591E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2823E-02 ANORM = 0.1135E+00
+ IMAX = 8 BNORM = 0.1049E-02 ANORM = 0.1135E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1345E-02 ANORM = 0.5991E-01
+ IMAX = 6 BNORM = 0.7718E-03 ANORM = 0.5991E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1149E-02 ANORM = 0.5898E-01
+ IMAX = 4 BNORM = 0.1062E-02 ANORM = 0.5899E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1990E-02 ANORM = 0.5273E-01
+ IMAX = 6 BNORM = 0.1018E-02 ANORM = 0.5274E-01
+ CALCULATING FOR E= 388.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 117.1433 DCUTO = 117.1433
+0 12 SYMMETRIC BEAMS USED 12
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1906E-02 ANORM = 0.6871E-02
+ IMAX = 4 BNORM = 0.1674E-02 ANORM = 0.6872E-02
+ E= 14.4800 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.77639E-03
+ 0.000 1.000 0.47174E-03
+ 1.000 1.000 0.42309E-04
+ 0.000 2.000 0.10789E-02
+ 1.000 2.000 0.10664E-02
+ 2.000 2.000 0.12718E-02
+ 0.000 3.000 0.20637E-03
+ 1.000 3.000 0.14930E-03
+ 2.000 3.000 0.43187E-04
+ 0.000 4.000 0.13256E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1572E-02 ANORM = 0.7644E-01
+ IMAX = 4 BNORM = 0.1480E-02 ANORM = 0.7644E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2446E-02 ANORM = 0.1222E+00
+ IMAX = 8 BNORM = 0.1505E-02 ANORM = 0.1222E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1531E-02 ANORM = 0.6722E-01
+ IMAX = 6 BNORM = 0.7786E-03 ANORM = 0.6722E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 9 BNORM = 0.1457E-02 ANORM = 0.4498E-01
+ IMAX = 3 BNORM = 0.1067E-02 ANORM = 0.4499E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1620E-02 ANORM = 0.5446E-01
+ IMAX = 6 BNORM = 0.1008E-02 ANORM = 0.5446E-01
+ CALCULATING FOR E= 392.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 117.7364 DCUTO = 117.7364
+0 12 SYMMETRIC BEAMS USED 12
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1703E-02 ANORM = 0.6132E-02
+ IMAX = 3 BNORM = 0.1800E-02 ANORM = 0.6133E-02
+ E= 14.6270 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.11155E-02
+ 0.000 1.000 0.50193E-03
+ 1.000 1.000 0.23631E-04
+ 0.000 2.000 0.95420E-03
+ 1.000 2.000 0.13049E-02
+ 2.000 2.000 0.49947E-03
+ 0.000 3.000 0.19480E-03
+ 1.000 3.000 0.80610E-04
+ 2.000 3.000 0.54599E-04
+ 0.000 4.000 0.13430E-03
+ 1.000 4.000 0.13449E-05
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1614E-02 ANORM = 0.7367E-01
+ IMAX = 4 BNORM = 0.1262E-02 ANORM = 0.7367E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2302E-02 ANORM = 0.1249E+00
+ IMAX = 8 BNORM = 0.1224E-02 ANORM = 0.1249E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1859E-02 ANORM = 0.6619E-01
+ IMAX = 5 BNORM = 0.1725E-02 ANORM = 0.6620E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1191E-02 ANORM = 0.3701E-01
+ IMAX = 3 BNORM = 0.1541E-02 ANORM = 0.3701E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1537E-02 ANORM = 0.5344E-01
+ IMAX = 6 BNORM = 0.1113E-02 ANORM = 0.5344E-01
+ CALCULATING FOR E= 396.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 118.3266 DCUTO = 118.3266
+0 12 SYMMETRIC BEAMS USED 12
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1431E-02 ANORM = 0.6395E-02
+ IMAX = 3 BNORM = 0.6693E-03 ANORM = 0.6396E-02
+ E= 14.7740 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.22597E-02
+ 0.000 1.000 0.53408E-03
+ 1.000 1.000 0.12251E-04
+ 0.000 2.000 0.69827E-03
+ 1.000 2.000 0.12889E-02
+ 2.000 2.000 0.14495E-03
+ 0.000 3.000 0.17314E-03
+ 1.000 3.000 0.36621E-04
+ 2.000 3.000 0.26970E-04
+ 0.000 4.000 0.13390E-03
+ 1.000 4.000 0.93615E-06
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1604E-02 ANORM = 0.6696E-01
+ IMAX = 4 BNORM = 0.9016E-03 ANORM = 0.6696E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2010E-02 ANORM = 0.1183E+00
+ IMAX = 7 BNORM = 0.1359E-02 ANORM = 0.1183E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1541E-02 ANORM = 0.5601E-01
+ IMAX = 5 BNORM = 0.1547E-02 ANORM = 0.5602E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1984E-02 ANORM = 0.3357E-01
+ IMAX = 5 BNORM = 0.7066E-03 ANORM = 0.3357E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1520E-02 ANORM = 0.4955E-01
+ IMAX = 6 BNORM = 0.1334E-02 ANORM = 0.4956E-01
+ CALCULATING FOR E= 400.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 118.9138 DCUTO = 118.9138
+0 12 SYMMETRIC BEAMS USED 12
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1818E-02 ANORM = 0.8437E-02
+ IMAX = 3 BNORM = 0.9740E-03 ANORM = 0.8439E-02
+ E= 14.9210 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.52132E-02
+ 0.000 1.000 0.55819E-03
+ 1.000 1.000 0.26137E-04
+ 0.000 2.000 0.47316E-03
+ 1.000 2.000 0.95368E-03
+ 2.000 2.000 0.32996E-04
+ 0.000 3.000 0.14174E-03
+ 1.000 3.000 0.11064E-03
+ 2.000 3.000 0.94329E-05
+ 0.000 4.000 0.10458E-03
+ 1.000 4.000 0.42725E-05
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1990E-02 ANORM = 0.5798E-01
+ IMAX = 4 BNORM = 0.1825E-02 ANORM = 0.5798E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.1731E-02 ANORM = 0.1014E+00
+ IMAX = 7 BNORM = 0.1027E-02 ANORM = 0.1014E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1950E-02 ANORM = 0.4613E-01
+ IMAX = 5 BNORM = 0.1811E-02 ANORM = 0.4613E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1832E-02 ANORM = 0.3330E-01
+ IMAX = 4 BNORM = 0.9584E-03 ANORM = 0.3330E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1684E-02 ANORM = 0.4644E-01
+ IMAX = 6 BNORM = 0.1375E-02 ANORM = 0.4644E-01
+ CALCULATING FOR E= 404.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 119.4982 DCUTO = 119.4982
+0 12 SYMMETRIC BEAMS USED 12
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1687E-02 ANORM = 0.1164E-01
+ IMAX = 3 BNORM = 0.9421E-03 ANORM = 0.1164E-01
+ E= 15.0680 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.88590E-02
+ 0.000 1.000 0.54668E-03
+ 1.000 1.000 0.16247E-03
+ 0.000 2.000 0.35459E-03
+ 1.000 2.000 0.72819E-03
+ 2.000 2.000 0.36731E-04
+ 0.000 3.000 0.87767E-04
+ 1.000 3.000 0.14701E-03
+ 2.000 3.000 0.49947E-05
+ 0.000 4.000 0.51652E-04
+ 1.000 4.000 0.30019E-05
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1784E-02 ANORM = 0.5487E-01
+ IMAX = 5 BNORM = 0.7236E-03 ANORM = 0.5487E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2109E-02 ANORM = 0.9418E-01
+ IMAX = 5 BNORM = 0.1975E-02 ANORM = 0.9418E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1660E-02 ANORM = 0.4325E-01
+ IMAX = 4 BNORM = 0.1328E-02 ANORM = 0.4325E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1657E-02 ANORM = 0.3627E-01
+ IMAX = 3 BNORM = 0.1100E-02 ANORM = 0.3628E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1740E-02 ANORM = 0.4796E-01
+ IMAX = 5 BNORM = 0.1848E-02 ANORM = 0.4796E-01
+ CALCULATING FOR E= 408.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 120.0797 DCUTO = 120.0797
+0 12 SYMMETRIC BEAMS USED 12
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1782E-02 ANORM = 0.1495E-01
+ IMAX = 3 BNORM = 0.5896E-03 ANORM = 0.1495E-01
+ E= 15.2150 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.11507E-01
+ 0.000 1.000 0.55967E-03
+ 1.000 1.000 0.60699E-03
+ 0.000 2.000 0.29607E-03
+ 1.000 2.000 0.70473E-03
+ 2.000 2.000 0.10282E-03
+ 0.000 3.000 0.40921E-04
+ 1.000 3.000 0.16802E-03
+ 2.000 3.000 0.12326E-05
+ 0.000 4.000 0.26039E-04
+ 1.000 4.000 0.43230E-05
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1948E-02 ANORM = 0.6657E-01
+ IMAX = 5 BNORM = 0.7209E-03 ANORM = 0.6657E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2760E-02 ANORM = 0.1004E+00
+ IMAX = 5 BNORM = 0.1362E-02 ANORM = 0.1004E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1585E-02 ANORM = 0.4709E-01
+ IMAX = 3 BNORM = 0.2735E-02 ANORM = 0.4709E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1300E-02 ANORM = 0.4240E-01
+ IMAX = 3 BNORM = 0.1176E-02 ANORM = 0.4241E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1258E-02 ANORM = 0.5306E-01
+ IMAX = 5 BNORM = 0.1962E-02 ANORM = 0.5306E-01
+ CALCULATING FOR E= 412.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 120.6584 DCUTO = 120.6584
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1403E-02 ANORM = 0.1609E-01
+ IMAX = 3 BNORM = 0.3592E-03 ANORM = 0.1610E-01
+ E= 15.3620 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.11730E-01
+ 0.000 1.000 0.52437E-03
+ 1.000 1.000 0.14543E-02
+ 0.000 2.000 0.24371E-03
+ 1.000 2.000 0.71462E-03
+ 2.000 2.000 0.21356E-03
+ 0.000 3.000 0.22190E-04
+ 1.000 3.000 0.18335E-03
+ 2.000 3.000 0.93233E-07
+ 0.000 4.000 0.24113E-04
+ 1.000 4.000 0.19532E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1443E-02 ANORM = 0.7128E-01
+ IMAX = 5 BNORM = 0.1432E-02 ANORM = 0.7128E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.3383E-02 ANORM = 0.1103E+00
+ IMAX = 4 BNORM = 0.1766E-02 ANORM = 0.1103E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1664E-02 ANORM = 0.5447E-01
+ IMAX = 5 BNORM = 0.1613E-02 ANORM = 0.5448E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1415E-02 ANORM = 0.4905E-01
+ IMAX = 3 BNORM = 0.1638E-02 ANORM = 0.4905E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1806E-02 ANORM = 0.5512E-01
+ IMAX = 7 BNORM = 0.1482E-02 ANORM = 0.5512E-01
+ CALCULATING FOR E= 416.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 121.2343 DCUTO = 121.2343
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1436E-02 ANORM = 0.1481E-01
+ IMAX = 3 BNORM = 0.3293E-03 ANORM = 0.1481E-01
+ E= 15.5090 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.95681E-02
+ 0.000 1.000 0.47513E-03
+ 1.000 1.000 0.26343E-02
+ 0.000 2.000 0.19023E-03
+ 1.000 2.000 0.65214E-03
+ 2.000 2.000 0.31652E-03
+ 0.000 3.000 0.16324E-04
+ 1.000 3.000 0.13844E-03
+ 2.000 3.000 0.20253E-06
+ 0.000 4.000 0.26234E-04
+ 1.000 4.000 0.35275E-04
+ 3.000 3.000 0.13125E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1604E-02 ANORM = 0.6702E-01
+ IMAX = 4 BNORM = 0.1427E-02 ANORM = 0.6702E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.3496E-02 ANORM = 0.1185E+00
+ IMAX = 4 BNORM = 0.1406E-02 ANORM = 0.1185E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1998E-02 ANORM = 0.6748E-01
+ IMAX = 3 BNORM = 0.1735E-02 ANORM = 0.6748E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1219E-02 ANORM = 0.5390E-01
+ IMAX = 3 BNORM = 0.1854E-02 ANORM = 0.5391E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1716E-02 ANORM = 0.5330E-01
+ IMAX = 7 BNORM = 0.1522E-02 ANORM = 0.5330E-01
+ CALCULATING FOR E= 420.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 121.8075 DCUTO = 121.8075
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1437E-02 ANORM = 0.1250E-01
+ IMAX = 3 BNORM = 0.4677E-03 ANORM = 0.1250E-01
+ E= 15.6560 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.62059E-02
+ 0.000 1.000 0.50602E-03
+ 1.000 1.000 0.40341E-02
+ 0.000 2.000 0.11702E-03
+ 1.000 2.000 0.44497E-03
+ 2.000 2.000 0.35735E-03
+ 0.000 3.000 0.26881E-04
+ 1.000 3.000 0.73405E-04
+ 2.000 3.000 0.12694E-05
+ 0.000 4.000 0.24385E-04
+ 1.000 4.000 0.38873E-04
+ 3.000 3.000 0.22833E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1652E-02 ANORM = 0.6304E-01
+ IMAX = 4 BNORM = 0.1429E-02 ANORM = 0.6304E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.3477E-02 ANORM = 0.1191E+00
+ IMAX = 4 BNORM = 0.1969E-02 ANORM = 0.1191E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1198E-02 ANORM = 0.8446E-01
+ IMAX = 3 BNORM = 0.1868E-02 ANORM = 0.8446E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1861E-02 ANORM = 0.5318E-01
+ IMAX = 3 BNORM = 0.1619E-02 ANORM = 0.5318E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1279E-02 ANORM = 0.4856E-01
+ IMAX = 4 BNORM = 0.1888E-02 ANORM = 0.4856E-01
+ CALCULATING FOR E= 424.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 122.3780 DCUTO = 122.3780
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1964E-02 ANORM = 0.1058E-01
+ IMAX = 3 BNORM = 0.6120E-03 ANORM = 0.1058E-01
+ E= 15.8030 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.30560E-02
+ 0.000 1.000 0.54828E-03
+ 1.000 1.000 0.52898E-02
+ 0.000 2.000 0.55612E-04
+ 1.000 2.000 0.18333E-03
+ 2.000 2.000 0.36407E-03
+ 0.000 3.000 0.11483E-03
+ 1.000 3.000 0.53143E-04
+ 2.000 3.000 0.34462E-05
+ 0.000 4.000 0.22948E-04
+ 1.000 4.000 0.30193E-04
+ 3.000 3.000 0.35968E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1633E-02 ANORM = 0.6214E-01
+ IMAX = 4 BNORM = 0.1674E-02 ANORM = 0.6214E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.3385E-02 ANORM = 0.1143E+00
+ IMAX = 5 BNORM = 0.1981E-02 ANORM = 0.1143E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1895E-02 ANORM = 0.1015E+00
+ IMAX = 5 BNORM = 0.1149E-02 ANORM = 0.1015E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 10 BNORM = 0.1994E-02 ANORM = 0.4757E-01
+ IMAX = 3 BNORM = 0.1247E-02 ANORM = 0.4757E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1423E-02 ANORM = 0.4313E-01
+ IMAX = 6 BNORM = 0.1365E-02 ANORM = 0.4314E-01
+ CALCULATING FOR E= 428.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 122.9459 DCUTO = 122.9459
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1951E-02 ANORM = 0.9694E-02
+ IMAX = 3 BNORM = 0.5867E-03 ANORM = 0.9696E-02
+ E= 15.9500 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.10183E-02
+ 0.000 1.000 0.49088E-03
+ 1.000 1.000 0.56020E-02
+ 0.000 2.000 0.14837E-03
+ 1.000 2.000 0.38919E-04
+ 2.000 2.000 0.37316E-03
+ 0.000 3.000 0.37299E-03
+ 1.000 3.000 0.10394E-03
+ 2.000 3.000 0.43135E-05
+ 0.000 4.000 0.26329E-04
+ 1.000 4.000 0.19616E-04
+ 3.000 3.000 0.12669E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1629E-02 ANORM = 0.6115E-01
+ IMAX = 4 BNORM = 0.1656E-02 ANORM = 0.6115E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.3208E-02 ANORM = 0.1075E+00
+ IMAX = 6 BNORM = 0.1818E-02 ANORM = 0.1075E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1593E-02 ANORM = 0.1095E+00
+ IMAX = 5 BNORM = 0.1533E-02 ANORM = 0.1095E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 11 BNORM = 0.1441E-02 ANORM = 0.4437E-01
+ IMAX = 3 BNORM = 0.1586E-02 ANORM = 0.4437E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1714E-02 ANORM = 0.3933E-01
+ IMAX = 7 BNORM = 0.9281E-03 ANORM = 0.3934E-01
+ CALCULATING FOR E= 432.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 123.5112 DCUTO = 123.5112
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1940E-02 ANORM = 0.1007E-01
+ IMAX = 3 BNORM = 0.4471E-03 ANORM = 0.1007E-01
+ E= 16.0970 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.17893E-03
+ 0.000 1.000 0.36832E-03
+ 1.000 1.000 0.47989E-02
+ 0.000 2.000 0.50395E-03
+ 1.000 2.000 0.64443E-04
+ 2.000 2.000 0.36223E-03
+ 0.000 3.000 0.86164E-03
+ 1.000 3.000 0.17063E-03
+ 2.000 3.000 0.13819E-05
+ 0.000 4.000 0.29228E-04
+ 1.000 4.000 0.12434E-04
+ 3.000 3.000 0.34716E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1665E-02 ANORM = 0.5858E-01
+ IMAX = 4 BNORM = 0.1480E-02 ANORM = 0.5858E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2940E-02 ANORM = 0.1033E+00
+ IMAX = 6 BNORM = 0.1615E-02 ANORM = 0.1033E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1618E-02 ANORM = 0.1030E+00
+ IMAX = 6 BNORM = 0.9455E-03 ANORM = 0.1030E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1214E-02 ANORM = 0.4068E-01
+ IMAX = 3 BNORM = 0.1906E-02 ANORM = 0.4068E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1162E-02 ANORM = 0.3837E-01
+ IMAX = 7 BNORM = 0.1179E-02 ANORM = 0.3837E-01
+ CALCULATING FOR E= 436.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 124.0739 DCUTO = 124.0739
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1952E-02 ANORM = 0.1066E-01
+ IMAX = 3 BNORM = 0.3709E-03 ANORM = 0.1066E-01
+ E= 16.2440 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.63545E-04
+ 0.000 1.000 0.25117E-03
+ 1.000 1.000 0.34456E-02
+ 0.000 2.000 0.10358E-02
+ 1.000 2.000 0.16363E-03
+ 2.000 2.000 0.33497E-03
+ 0.000 3.000 0.16398E-02
+ 1.000 3.000 0.20218E-03
+ 2.000 3.000 0.15592E-05
+ 0.000 4.000 0.30028E-04
+ 1.000 4.000 0.11524E-04
+ 3.000 3.000 0.48205E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1735E-02 ANORM = 0.5525E-01
+ IMAX = 4 BNORM = 0.1498E-02 ANORM = 0.5525E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2602E-02 ANORM = 0.1016E+00
+ IMAX = 4 BNORM = 0.1842E-02 ANORM = 0.1016E+00
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1826E-02 ANORM = 0.8638E-01
+ IMAX = 6 BNORM = 0.1010E-02 ANORM = 0.8639E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1856E-02 ANORM = 0.3638E-01
+ IMAX = 3 BNORM = 0.1773E-02 ANORM = 0.3638E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1157E-02 ANORM = 0.4091E-01
+ IMAX = 7 BNORM = 0.1378E-02 ANORM = 0.4091E-01
+ CALCULATING FOR E= 440.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 124.6340 DCUTO = 124.6340
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1442E-02 ANORM = 0.1044E-01
+ IMAX = 3 BNORM = 0.5395E-03 ANORM = 0.1044E-01
+ E= 16.3910 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.14321E-03
+ 0.000 1.000 0.15962E-03
+ 1.000 1.000 0.20910E-02
+ 0.000 2.000 0.16219E-02
+ 1.000 2.000 0.22738E-03
+ 2.000 2.000 0.32398E-03
+ 0.000 3.000 0.23072E-02
+ 1.000 3.000 0.16976E-03
+ 2.000 3.000 0.10004E-04
+ 0.000 4.000 0.29947E-04
+ 1.000 4.000 0.23698E-04
+ 3.000 3.000 0.44398E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1853E-02 ANORM = 0.5137E-01
+ IMAX = 4 BNORM = 0.1712E-02 ANORM = 0.5138E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2337E-02 ANORM = 0.9746E-01
+ IMAX = 4 BNORM = 0.6528E-03 ANORM = 0.9747E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1985E-02 ANORM = 0.6842E-01
+ IMAX = 6 BNORM = 0.9541E-03 ANORM = 0.6842E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1818E-02 ANORM = 0.3387E-01
+ IMAX = 3 BNORM = 0.1531E-02 ANORM = 0.3387E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1329E-02 ANORM = 0.4579E-01
+ IMAX = 7 BNORM = 0.1385E-02 ANORM = 0.4580E-01
+ CALCULATING FOR E= 444.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 125.1917 DCUTO = 125.1917
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1534E-02 ANORM = 0.8881E-02
+ IMAX = 3 BNORM = 0.8457E-03 ANORM = 0.8883E-02
+ E= 16.5380 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.15309E-03
+ 0.000 1.000 0.11004E-03
+ 1.000 1.000 0.95501E-03
+ 0.000 2.000 0.22349E-02
+ 1.000 2.000 0.22819E-03
+ 2.000 2.000 0.29096E-03
+ 0.000 3.000 0.22170E-02
+ 1.000 3.000 0.10128E-03
+ 2.000 3.000 0.20755E-04
+ 0.000 4.000 0.26260E-04
+ 1.000 4.000 0.31658E-04
+ 3.000 3.000 0.29533E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1833E-02 ANORM = 0.4479E-01
+ IMAX = 4 BNORM = 0.1852E-02 ANORM = 0.4479E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2454E-02 ANORM = 0.9057E-01
+ IMAX = 3 BNORM = 0.1343E-02 ANORM = 0.9058E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1177E-02 ANORM = 0.5258E-01
+ IMAX = 5 BNORM = 0.1754E-02 ANORM = 0.5258E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1832E-02 ANORM = 0.3283E-01
+ IMAX = 3 BNORM = 0.1222E-02 ANORM = 0.3283E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1681E-02 ANORM = 0.5129E-01
+ IMAX = 7 BNORM = 0.1539E-02 ANORM = 0.5129E-01
+ CALCULATING FOR E= 448.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 125.7469 DCUTO = 125.7469
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1586E-02 ANORM = 0.7203E-02
+ IMAX = 3 BNORM = 0.7389E-03 ANORM = 0.7205E-02
+ E= 16.6850 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.14341E-03
+ 0.000 1.000 0.15480E-03
+ 1.000 1.000 0.30613E-03
+ 0.000 2.000 0.27987E-02
+ 1.000 2.000 0.19538E-03
+ 2.000 2.000 0.23163E-03
+ 0.000 3.000 0.14690E-02
+ 1.000 3.000 0.47894E-04
+ 2.000 3.000 0.29118E-04
+ 0.000 4.000 0.22697E-04
+ 1.000 4.000 0.18362E-04
+ 3.000 3.000 0.18744E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1864E-02 ANORM = 0.3951E-01
+ IMAX = 4 BNORM = 0.1317E-02 ANORM = 0.3951E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2958E-02 ANORM = 0.8239E-01
+ IMAX = 3 BNORM = 0.1720E-02 ANORM = 0.8239E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1321E-02 ANORM = 0.4241E-01
+ IMAX = 4 BNORM = 0.1180E-02 ANORM = 0.4242E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1772E-02 ANORM = 0.3241E-01
+ IMAX = 3 BNORM = 0.9338E-03 ANORM = 0.3241E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1072E-02 ANORM = 0.5676E-01
+ IMAX = 7 BNORM = 0.1861E-02 ANORM = 0.5677E-01
+ CALCULATING FOR E= 452.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 126.2996 DCUTO = 126.2996
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1365E-02 ANORM = 0.6624E-02
+ IMAX = 3 BNORM = 0.5791E-03 ANORM = 0.6626E-02
+ E= 16.8320 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.29728E-03
+ 0.000 1.000 0.33331E-03
+ 1.000 1.000 0.98175E-04
+ 0.000 2.000 0.32027E-02
+ 1.000 2.000 0.15683E-03
+ 2.000 2.000 0.17266E-03
+ 0.000 3.000 0.83464E-03
+ 1.000 3.000 0.19236E-04
+ 2.000 3.000 0.34016E-04
+ 0.000 4.000 0.30232E-04
+ 1.000 4.000 0.27419E-04
+ 3.000 3.000 0.12657E-03
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1994E-02 ANORM = 0.4034E-01
+ IMAX = 3 BNORM = 0.1158E-02 ANORM = 0.4034E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.3085E-02 ANORM = 0.7613E-01
+ IMAX = 4 BNORM = 0.1527E-02 ANORM = 0.7613E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1238E-02 ANORM = 0.4105E-01
+ IMAX = 3 BNORM = 0.1647E-02 ANORM = 0.4106E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1996E-02 ANORM = 0.3196E-01
+ IMAX = 3 BNORM = 0.9290E-03 ANORM = 0.3196E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1718E-02 ANORM = 0.6152E-01
+ IMAX = 4 BNORM = 0.1726E-02 ANORM = 0.6152E-01
+ CALCULATING FOR E= 456.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 126.8499 DCUTO = 126.8499
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1515E-02 ANORM = 0.7001E-02
+ IMAX = 3 BNORM = 0.7090E-03 ANORM = 0.7002E-02
+ E= 16.9791 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.77237E-03
+ 0.000 1.000 0.75171E-03
+ 1.000 1.000 0.11126E-03
+ 0.000 2.000 0.35641E-02
+ 1.000 2.000 0.13719E-03
+ 2.000 2.000 0.13024E-03
+ 0.000 3.000 0.34487E-03
+ 1.000 3.000 0.70180E-05
+ 2.000 3.000 0.31253E-04
+ 0.000 4.000 0.32728E-04
+ 1.000 4.000 0.51413E-04
+ 3.000 3.000 0.55488E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1907E-02 ANORM = 0.4782E-01
+ IMAX = 3 BNORM = 0.8751E-03 ANORM = 0.4782E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2576E-02 ANORM = 0.7909E-01
+ IMAX = 7 BNORM = 0.1727E-02 ANORM = 0.7910E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1957E-02 ANORM = 0.4565E-01
+ IMAX = 3 BNORM = 0.1146E-02 ANORM = 0.4565E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1887E-02 ANORM = 0.3117E-01
+ IMAX = 3 BNORM = 0.1097E-02 ANORM = 0.3117E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1658E-02 ANORM = 0.6937E-01
+ IMAX = 3 BNORM = 0.1144E-02 ANORM = 0.6938E-01
+ CALCULATING FOR E= 460.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 127.3979 DCUTO = 127.3979
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1648E-02 ANORM = 0.8036E-02
+ IMAX = 3 BNORM = 0.6221E-03 ANORM = 0.8037E-02
+ E= 17.1261 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.17100E-02
+ 0.000 1.000 0.14656E-02
+ 1.000 1.000 0.27386E-03
+ 0.000 2.000 0.32878E-02
+ 1.000 2.000 0.12898E-03
+ 2.000 2.000 0.11426E-03
+ 0.000 3.000 0.94805E-04
+ 1.000 3.000 0.49905E-05
+ 2.000 3.000 0.20011E-04
+ 0.000 4.000 0.23038E-04
+ 1.000 4.000 0.72513E-04
+ 3.000 3.000 0.86028E-05
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1962E-02 ANORM = 0.5558E-01
+ IMAX = 3 BNORM = 0.1220E-02 ANORM = 0.5558E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.2054E-02 ANORM = 0.8646E-01
+ IMAX = 6 BNORM = 0.1882E-02 ANORM = 0.8647E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1894E-02 ANORM = 0.4950E-01
+ IMAX = 3 BNORM = 0.1581E-02 ANORM = 0.4951E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1980E-02 ANORM = 0.2801E-01
+ IMAX = 3 BNORM = 0.5188E-03 ANORM = 0.2801E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1987E-02 ANORM = 0.7075E-01
+ IMAX = 3 BNORM = 0.8947E-03 ANORM = 0.7075E-01
+ CALCULATING FOR E= 464.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 127.9435 DCUTO = 127.9435
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1288E-02 ANORM = 0.9093E-02
+ IMAX = 3 BNORM = 0.5139E-03 ANORM = 0.9094E-02
+ E= 17.2731 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.27453E-02
+ 0.000 1.000 0.22623E-02
+ 1.000 1.000 0.43861E-03
+ 0.000 2.000 0.24826E-02
+ 1.000 2.000 0.11790E-03
+ 2.000 2.000 0.11613E-03
+ 0.000 3.000 0.26413E-04
+ 1.000 3.000 0.67756E-05
+ 2.000 3.000 0.15828E-04
+ 0.000 4.000 0.12811E-04
+ 1.000 4.000 0.76277E-04
+ 3.000 3.000 0.69723E-05
+ 2.000 4.000 0.16718E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1978E-02 ANORM = 0.6416E-01
+ IMAX = 3 BNORM = 0.1776E-02 ANORM = 0.6416E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.1681E-02 ANORM = 0.9328E-01
+ IMAX = 5 BNORM = 0.1993E-02 ANORM = 0.9328E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1946E-02 ANORM = 0.5190E-01
+ IMAX = 3 BNORM = 0.1877E-02 ANORM = 0.5190E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1883E-02 ANORM = 0.2479E-01
+ IMAX = 3 BNORM = 0.3519E-03 ANORM = 0.2479E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1523E-02 ANORM = 0.6359E-01
+ IMAX = 3 BNORM = 0.9808E-03 ANORM = 0.6359E-01
+ CALCULATING FOR E= 468.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 128.4868 DCUTO = 128.4868
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1840E-02 ANORM = 0.9757E-02
+ IMAX = 3 BNORM = 0.4691E-03 ANORM = 0.9758E-02
+ E= 17.4201 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.35364E-02
+ 0.000 1.000 0.29460E-02
+ 1.000 1.000 0.47993E-03
+ 0.000 2.000 0.16027E-02
+ 1.000 2.000 0.10775E-03
+ 2.000 2.000 0.18420E-03
+ 0.000 3.000 0.40247E-04
+ 1.000 3.000 0.23500E-05
+ 2.000 3.000 0.37711E-04
+ 0.000 4.000 0.30516E-05
+ 1.000 4.000 0.66514E-04
+ 3.000 3.000 0.36973E-04
+ 2.000 4.000 0.17564E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1886E-02 ANORM = 0.7204E-01
+ IMAX = 3 BNORM = 0.1591E-02 ANORM = 0.7204E-01
+
+ RFS CONVERGENCE TEST
+0***THIS ORDER TOO DEEP
+ IMAX = 18 BNORM = 0.1420E-02 ANORM = 0.9418E-01
+ IMAX = 6 BNORM = 0.1976E-02 ANORM = 0.9418E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1116E-02 ANORM = 0.5234E-01
+ IMAX = 3 BNORM = 0.1937E-02 ANORM = 0.5234E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1715E-02 ANORM = 0.2499E-01
+ IMAX = 3 BNORM = 0.4624E-03 ANORM = 0.2500E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1657E-02 ANORM = 0.5524E-01
+ IMAX = 3 BNORM = 0.1234E-02 ANORM = 0.5524E-01
+ CALCULATING FOR E= 472.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 129.0278 DCUTO = 129.0278
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1796E-02 ANORM = 0.9208E-02
+ IMAX = 3 BNORM = 0.5628E-03 ANORM = 0.9209E-02
+ E= 17.5671 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.34278E-02
+ 0.000 1.000 0.29037E-02
+ 1.000 1.000 0.37328E-03
+ 0.000 2.000 0.83454E-03
+ 1.000 2.000 0.97852E-04
+ 2.000 2.000 0.36703E-03
+ 0.000 3.000 0.94613E-04
+ 1.000 3.000 0.69513E-06
+ 2.000 3.000 0.11463E-03
+ 0.000 4.000 0.76855E-06
+ 1.000 4.000 0.56218E-04
+ 3.000 3.000 0.85317E-04
+ 2.000 4.000 0.28504E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1930E-02 ANORM = 0.7105E-01
+ IMAX = 3 BNORM = 0.1220E-02 ANORM = 0.7105E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1886E-02 ANORM = 0.9137E-01
+ IMAX = 8 BNORM = 0.1419E-02 ANORM = 0.9138E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1207E-02 ANORM = 0.5173E-01
+ IMAX = 4 BNORM = 0.1593E-02 ANORM = 0.5174E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1615E-02 ANORM = 0.2652E-01
+ IMAX = 3 BNORM = 0.7833E-03 ANORM = 0.2652E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1697E-02 ANORM = 0.4843E-01
+ IMAX = 3 BNORM = 0.1558E-02 ANORM = 0.4844E-01
+ CALCULATING FOR E= 476.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 129.5665 DCUTO = 129.5665
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1725E-02 ANORM = 0.8275E-02
+ IMAX = 3 BNORM = 0.7005E-03 ANORM = 0.8276E-02
+ E= 17.7141 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.29643E-02
+ 0.000 1.000 0.25051E-02
+ 1.000 1.000 0.26540E-03
+ 0.000 2.000 0.35975E-03
+ 1.000 2.000 0.90454E-04
+ 2.000 2.000 0.59710E-03
+ 0.000 3.000 0.10989E-03
+ 1.000 3.000 0.76743E-05
+ 2.000 3.000 0.23642E-03
+ 0.000 4.000 0.14410E-04
+ 1.000 4.000 0.37798E-04
+ 3.000 3.000 0.13111E-03
+ 2.000 4.000 0.25244E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1533E-02 ANORM = 0.6530E-01
+ IMAX = 3 BNORM = 0.1156E-02 ANORM = 0.6530E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1711E-02 ANORM = 0.9020E-01
+ IMAX = 8 BNORM = 0.1670E-02 ANORM = 0.9020E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1272E-02 ANORM = 0.5109E-01
+ IMAX = 4 BNORM = 0.1699E-02 ANORM = 0.5110E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1559E-02 ANORM = 0.2754E-01
+ IMAX = 3 BNORM = 0.1186E-02 ANORM = 0.2754E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1643E-02 ANORM = 0.4505E-01
+ IMAX = 3 BNORM = 0.1845E-02 ANORM = 0.4505E-01
+ CALCULATING FOR E= 480.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 130.1030 DCUTO = 130.1030
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1604E-02 ANORM = 0.8011E-02
+ IMAX = 3 BNORM = 0.6891E-03 ANORM = 0.8012E-02
+ E= 17.8611 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.26509E-02
+ 0.000 1.000 0.20930E-02
+ 1.000 1.000 0.19750E-03
+ 0.000 2.000 0.14129E-03
+ 1.000 2.000 0.85121E-04
+ 2.000 2.000 0.92951E-03
+ 0.000 3.000 0.87794E-04
+ 1.000 3.000 0.19512E-04
+ 2.000 3.000 0.43369E-03
+ 0.000 4.000 0.41115E-04
+ 1.000 4.000 0.22330E-04
+ 3.000 3.000 0.15851E-03
+ 2.000 4.000 0.16801E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1540E-02 ANORM = 0.6008E-01
+ IMAX = 3 BNORM = 0.1086E-02 ANORM = 0.6008E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1583E-02 ANORM = 0.9180E-01
+ IMAX = 8 BNORM = 0.1384E-02 ANORM = 0.9180E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1289E-02 ANORM = 0.4838E-01
+ IMAX = 4 BNORM = 0.1689E-02 ANORM = 0.4838E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1529E-02 ANORM = 0.2959E-01
+ IMAX = 3 BNORM = 0.1468E-02 ANORM = 0.2959E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1537E-02 ANORM = 0.4473E-01
+ IMAX = 3 BNORM = 0.1811E-02 ANORM = 0.4473E-01
+ CALCULATING FOR E= 484.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 130.6373 DCUTO = 130.6373
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 13 BNORM = 0.1465E-02 ANORM = 0.7856E-02
+ IMAX = 3 BNORM = 0.6419E-03 ANORM = 0.7857E-02
+ E= 18.0081 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.22121E-02
+ 0.000 1.000 0.15124E-02
+ 1.000 1.000 0.20015E-03
+ 0.000 2.000 0.43817E-04
+ 1.000 2.000 0.82177E-04
+ 2.000 2.000 0.12806E-02
+ 0.000 3.000 0.44694E-04
+ 1.000 3.000 0.28015E-04
+ 2.000 3.000 0.70567E-03
+ 0.000 4.000 0.56206E-04
+ 1.000 4.000 0.14614E-04
+ 3.000 3.000 0.20565E-03
+ 2.000 4.000 0.22370E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1571E-02 ANORM = 0.5371E-01
+ IMAX = 3 BNORM = 0.1118E-02 ANORM = 0.5371E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1499E-02 ANORM = 0.9380E-01
+ IMAX = 6 BNORM = 0.1871E-02 ANORM = 0.9380E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1280E-02 ANORM = 0.4461E-01
+ IMAX = 4 BNORM = 0.1977E-02 ANORM = 0.4462E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1524E-02 ANORM = 0.3256E-01
+ IMAX = 3 BNORM = 0.1466E-02 ANORM = 0.3256E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1427E-02 ANORM = 0.4360E-01
+ IMAX = 3 BNORM = 0.1427E-02 ANORM = 0.4360E-01
+ CALCULATING FOR E= 488.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 131.1695 DCUTO = 131.1695
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1929E-02 ANORM = 0.7818E-02
+ IMAX = 3 BNORM = 0.6052E-03 ANORM = 0.7820E-02
+ E= 18.1551 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.17255E-02
+ 0.000 1.000 0.11356E-02
+ 1.000 1.000 0.24715E-03
+ 0.000 2.000 0.25368E-05
+ 1.000 2.000 0.84942E-04
+ 2.000 2.000 0.16292E-02
+ 0.000 3.000 0.15394E-04
+ 1.000 3.000 0.24720E-04
+ 2.000 3.000 0.92510E-03
+ 0.000 4.000 0.57744E-04
+ 1.000 4.000 0.13651E-04
+ 3.000 3.000 0.27403E-03
+ 2.000 4.000 0.40497E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1633E-02 ANORM = 0.4955E-01
+ IMAX = 3 BNORM = 0.1123E-02 ANORM = 0.4956E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1459E-02 ANORM = 0.9351E-01
+ IMAX = 5 BNORM = 0.1952E-02 ANORM = 0.9351E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1288E-02 ANORM = 0.4269E-01
+ IMAX = 5 BNORM = 0.1289E-02 ANORM = 0.4270E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1541E-02 ANORM = 0.3613E-01
+ IMAX = 3 BNORM = 0.1187E-02 ANORM = 0.3614E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1994E-02 ANORM = 0.4159E-01
+ IMAX = 3 BNORM = 0.9532E-03 ANORM = 0.4159E-01
+ CALCULATING FOR E= 492.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 131.6994 DCUTO = 131.6994
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1743E-02 ANORM = 0.8586E-02
+ IMAX = 3 BNORM = 0.6307E-03 ANORM = 0.8589E-02
+ E= 18.3021 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.12742E-02
+ 0.000 1.000 0.88389E-03
+ 1.000 1.000 0.28537E-03
+ 0.000 2.000 0.11441E-04
+ 1.000 2.000 0.80850E-04
+ 2.000 2.000 0.27357E-02
+ 0.000 3.000 0.66698E-04
+ 1.000 3.000 0.18456E-04
+ 2.000 3.000 0.86758E-03
+ 0.000 4.000 0.62544E-04
+ 1.000 4.000 0.15657E-04
+ 3.000 3.000 0.31874E-03
+ 2.000 4.000 0.58936E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1710E-02 ANORM = 0.4868E-01
+ IMAX = 3 BNORM = 0.1071E-02 ANORM = 0.4869E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1411E-02 ANORM = 0.9111E-01
+ IMAX = 5 BNORM = 0.1659E-02 ANORM = 0.9112E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1326E-02 ANORM = 0.4157E-01
+ IMAX = 5 BNORM = 0.1798E-02 ANORM = 0.4158E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1592E-02 ANORM = 0.4928E-01
+ IMAX = 3 BNORM = 0.9677E-03 ANORM = 0.4928E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1896E-02 ANORM = 0.4100E-01
+ IMAX = 3 BNORM = 0.8690E-03 ANORM = 0.4100E-01
+ CALCULATING FOR E= 496.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 132.2273 DCUTO = 132.2273
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1639E-02 ANORM = 0.9551E-02
+ IMAX = 3 BNORM = 0.8359E-03 ANORM = 0.9554E-02
+ E= 18.4491 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.82648E-03
+ 0.000 1.000 0.61963E-03
+ 1.000 1.000 0.28856E-03
+ 0.000 2.000 0.29227E-04
+ 1.000 2.000 0.89595E-04
+ 2.000 2.000 0.44125E-02
+ 0.000 3.000 0.18879E-03
+ 1.000 3.000 0.25240E-04
+ 2.000 3.000 0.50962E-03
+ 0.000 4.000 0.62531E-04
+ 1.000 4.000 0.15369E-04
+ 3.000 3.000 0.29963E-03
+ 2.000 4.000 0.61398E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1788E-02 ANORM = 0.4903E-01
+ IMAX = 3 BNORM = 0.1071E-02 ANORM = 0.4903E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1344E-02 ANORM = 0.8611E-01
+ IMAX = 5 BNORM = 0.1990E-02 ANORM = 0.8612E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1364E-02 ANORM = 0.3921E-01
+ IMAX = 6 BNORM = 0.1219E-02 ANORM = 0.3922E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1594E-02 ANORM = 0.6911E-01
+ IMAX = 3 BNORM = 0.1297E-02 ANORM = 0.6911E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1706E-02 ANORM = 0.3884E-01
+ IMAX = 3 BNORM = 0.1241E-02 ANORM = 0.3884E-01
+ CALCULATING FOR E= 500.000000
+
+====================================================
+
+ VPIS = -0.1838 VPIO = -0.1838 DCUTS = 132.7530 DCUTO = 132.7530
+0 13 SYMMETRIC BEAMS USED 13
+ 0.000 0.000 0.000 1.000 1.000 1.000 0.000 2.000 1.000 2.000 2.000 2.000 0.000 3.000 1.000 3.000 2.000 3.000
+ 0.000 4.000 1.000 4.000 3.000 3.000 2.000 4.000
+
+ RFS CONVERGENCE TEST
+ IMAX = 12 BNORM = 0.1599E-02 ANORM = 0.9877E-02
+ IMAX = 3 BNORM = 0.1185E-02 ANORM = 0.9881E-02
+ E= 18.5961 THETA= 0.0000 FI= 0.0000
+
+ PQ1 PQ2 REF INT
+ 0.000 0.000 0.54051E-03
+ 0.000 1.000 0.57222E-03
+ 1.000 1.000 0.22661E-03
+ 0.000 2.000 0.68028E-04
+ 1.000 2.000 0.14753E-03
+ 2.000 2.000 0.51876E-02
+ 0.000 3.000 0.31552E-03
+ 1.000 3.000 0.71627E-04
+ 2.000 3.000 0.17081E-03
+ 0.000 4.000 0.47426E-04
+ 1.000 4.000 0.84843E-05
+ 3.000 3.000 0.26559E-03
+ 2.000 4.000 0.66788E-04
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1846E-02 ANORM = 0.5105E-01
+ IMAX = 3 BNORM = 0.1051E-02 ANORM = 0.5106E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 17 BNORM = 0.1308E-02 ANORM = 0.8298E-01
+ IMAX = 6 BNORM = 0.1574E-02 ANORM = 0.8299E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 14 BNORM = 0.1409E-02 ANORM = 0.3678E-01
+ IMAX = 6 BNORM = 0.1327E-02 ANORM = 0.3679E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 15 BNORM = 0.1546E-02 ANORM = 0.7909E-01
+ IMAX = 3 BNORM = 0.1924E-02 ANORM = 0.7909E-01
+
+ RFS CONVERGENCE TEST
+ IMAX = 16 BNORM = 0.1506E-02 ANORM = 0.3582E-01
+ IMAX = 3 BNORM = 0.1629E-02 ANORM = 0.3583E-01
+ CORRECT TERMINATION
diff --git a/extra/leed/tests/mapper/base/tleed4.i b/extra/leed/tests/mapper/base/tleed4.i
new file mode 100644
index 00000000..de87c72a
--- /dev/null
+++ b/extra/leed/tests/mapper/base/tleed4.i
@@ -0,0 +1,25 @@
+ 1 0 0 IPR ISTART LRFLAG
+ 1 10 0.02 0.2 NSYM NSYMS ASTEP VSTEP
+ 5 1 2 2 NT0 NSET LSMAX LLCUT
+ 5 NINSET
+ 1.0000 0.0000 1 PQEX
+ 1.0000 2.0000 2 PQEX
+ 1.0000 1.0000 3 PQEX
+ 2.0000 2.0000 4 PQEX
+ 2.0000 0.0000 5 PQEX
+ 3 NDIM
+ opt000 0.0000 0.0000 0 DISP(1,j) j=1,3
+ 0.0000 opt001 0.0000 0 DISP(2,j) j=1,3
+ 0.0000 0.0000 0.0000 1 DISP(3,j) j=1,3
+ 0.0000 0.0000 0.0000 0 DISP(4,j) j=1,3
+ 0.0000 0 DVOPT LSFLAG
+ 3 0 0 MFLAG NGRID NIV
+100 ITMAX
+ 1.0000 0.5000 2.0000 ALPHA,BETA,GAMMA
+ 0.0005 0.0020 FTOL1,FTOL2
+300 .00100 NSTEP,STSZ
+1.000 0.000 0.000 0.000
+1.000 1.000 0.000 0.000
+1.000 1.000 1.000 0.000
+0.000 0.000 0.000 1.000
+
diff --git a/extra/leed/tests/mapper/base/tleed5.i b/extra/leed/tests/mapper/base/tleed5.i
new file mode 100644
index 00000000..39f3db5f
--- /dev/null
+++ b/extra/leed/tests/mapper/base/tleed5.i
@@ -0,0 +1,319 @@
+Cu(001)-p(1x1)clean
+ 4
+ 93
+ 0.5000 1.2000
+ 0.0020
+ 0.00 0.00
+ 6.00 -5.00
+ 9
+ 2
+ 1 1
+ 230.0000 63.5460 1.0000 1.0000 0.0000
+ 343.5000 63.5460 1.0000 1.0000 0.0000
+ 130.0000
+ 1.6538
+-1.0496-0.2554-0.2380 0.1060 0.0119 0.0012 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
+-1.0048-0.1940-0.1829 0.1412 0.0177 0.0019 0.0002 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
+ 1.8376
+-1.1234-0.2953-0.2265 0.1391 0.0171 0.0019 0.0002 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
+-1.0836-0.2400-0.1677 0.1822 0.0253 0.0031 0.0003 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
+ 2.0213
+-1.1930-0.3352-0.2148 0.1762 0.0235 0.0029 0.0003 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
+-1.1572-0.2855-0.1540 0.2265 0.0345 0.0047 0.0005 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
+ 2.2051
+-1.2588-0.3748-0.2035 0.2164 0.0312 0.0042 0.0005 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
+-1.2261-0.3301-0.1425 0.2728 0.0454 0.0067 0.0008 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000
+ 2.3888
+-1.3212-0.4138-0.1931 0.2590 0.0402 0.0059 0.0007 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000
+-1.2907-0.3734-0.1332 0.3198 0.0578 0.0093 0.0012 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000
+ 2.5726
+-1.3804-0.4521-0.1839 0.3031 0.0504 0.0080 0.0011 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000
+-1.3516-0.4153-0.1262 0.3666 0.0717 0.0125 0.0018 0.0002 0.0000 0.0000 0.0000 0.0000 0.0000
+ 2.7563
+-1.4367-0.4894-0.1759 0.3479 0.0618 0.0104 0.0015 0.0002 0.0000 0.0000 0.0000 0.0000 0.0000
+-1.4089-0.4556-0.1213 0.4123 0.0868 0.0163 0.0025 0.0003 0.0000 0.0000 0.0000 0.0000 0.0000
+ 2.9401
+-1.4903-0.5259-0.1695 0.3926 0.0743 0.0134 0.0020 0.0003 0.0000 0.0000 0.0000 0.0000 0.0000
+-1.4631-0.4944-0.1182 0.4562 0.1030 0.0207 0.0034 0.0004 0.0000 0.0000 0.0000 0.0000 0.0000
+ 3.1239
+-1.5414-0.5613-0.1644 0.4366 0.0879 0.0168 0.0027 0.0004 0.0000 0.0000 0.0000 0.0000 0.0000
+-1.5144-0.5316-0.1168 0.4982 0.1201 0.0258 0.0045 0.0006 0.0001 0.0000 0.0000 0.0000 0.0000
+ 3.3076
+-1.5902-0.5957-0.1607 0.4794 0.1023 0.0207 0.0036 0.0005 0.0001 0.0000 0.0000 0.0000 0.0000
+-1.5632-0.5672-0.1165 0.5379 0.1377 0.0315 0.0058 0.0009 0.0001 0.0000 0.0000 0.0000 0.0000
+ 3.4914
+-1.6369-0.6290-0.1582 0.5205 0.1175 0.0250 0.0046 0.0007 0.0001 0.0000 0.0000 0.0000 0.0000
+-1.6097-0.6014-0.1173 0.5755 0.1558 0.0379 0.0075 0.0012 0.0001 0.0000 0.0000 0.0000 0.0000
+ 3.6751
+-1.6817-0.6613-0.1568 0.5598 0.1333 0.0299 0.0057 0.0009 0.0001 0.0000 0.0000 0.0000 0.0000
+-1.6540-0.6342-0.1188 0.6110 0.1740 0.0448 0.0093 0.0015 0.0002 0.0000 0.0000 0.0000 0.0000
+ 3.8589
+-1.7246-0.6926-0.1564 0.5972 0.1496 0.0352 0.0071 0.0012 0.0002 0.0000 0.0000 0.0000 0.0000
+-1.6965-0.6656-0.1209 0.6447 0.1921 0.0523 0.0115 0.0020 0.0003 0.0000 0.0000 0.0000 0.0000
+ 4.0426
+-1.7658-0.7229-0.1568 0.6327 0.1662 0.0410 0.0087 0.0015 0.0002 0.0000 0.0000 0.0000 0.0000
+-1.7372-0.6959-0.1234 0.6767 0.2101 0.0603 0.0140 0.0026 0.0004 0.0001 0.0000 0.0000 0.0000
+ 4.2264
+-1.8054-0.7522-0.1580 0.6663 0.1830 0.0472 0.0105 0.0019 0.0003 0.0000 0.0000 0.0000 0.0000
+-1.7764-0.7250-0.1261 0.7073 0.2277 0.0687 0.0168 0.0033 0.0005 0.0001 0.0000 0.0000 0.0000
+ 4.4101
+-1.8435-0.7806-0.1597 0.6981 0.1999 0.0538 0.0125 0.0024 0.0004 0.0001 0.0000 0.0000 0.0000
+-1.8141-0.7530-0.1290 0.7367 0.2449 0.0774 0.0199 0.0041 0.0007 0.0001 0.0000 0.0000 0.0000
+ 4.5939
+-1.8803-0.8081-0.1620 0.7282 0.2168 0.0607 0.0147 0.0030 0.0005 0.0001 0.0000 0.0000 0.0000
+-1.8505-0.7801-0.1320 0.7650 0.2616 0.0864 0.0233 0.0050 0.0009 0.0001 0.0000 0.0000 0.0000
+ 4.7777
+-1.9158-0.8347-0.1646 0.7568 0.2336 0.0680 0.0171 0.0036 0.0006 0.0001 0.0000 0.0000 0.0000
+-1.8858-0.8064-0.1351 0.7922 0.2777 0.0957 0.0270 0.0061 0.0011 0.0002 0.0000 0.0000 0.0000
+ 4.9614
+-1.9501-0.8606-0.1675 0.7840 0.2501 0.0757 0.0198 0.0044 0.0008 0.0001 0.0000 0.0000 0.0000
+-1.9199-0.8318-0.1381 0.8186 0.2933 0.1050 0.0310 0.0073 0.0014 0.0002 0.0000 0.0000 0.0000
+ 5.1452
+-1.9833-0.8856-0.1706 0.8099 0.2664 0.0835 0.0227 0.0052 0.0010 0.0002 0.0000 0.0000 0.0000
+-1.9531-0.8565-0.1412 0.8442 0.3083 0.1145 0.0353 0.0087 0.0017 0.0003 0.0000 0.0000 0.0000
+ 5.3289
+-2.0154-0.9099-0.1739 0.8347 0.2823 0.0916 0.0257 0.0062 0.0012 0.0002 0.0000 0.0000 0.0000
+-1.9853-0.8805-0.1444 0.8690 0.3228 0.1239 0.0398 0.0102 0.0021 0.0003 0.0001 0.0000 0.0000
+ 5.5127
+-2.0466-0.9335-0.1774 0.8585 0.2978 0.0999 0.0291 0.0072 0.0015 0.0003 0.0000 0.0000 0.0000
+-2.0166-0.9039-0.1475 0.8930 0.3367 0.1333 0.0446 0.0119 0.0025 0.0004 0.0001 0.0000 0.0000
+ 5.6964
+-2.0768-0.9563-0.1809 0.8814 0.3130 0.1084 0.0326 0.0083 0.0018 0.0003 0.0001 0.0000 0.0000
+-2.0471-0.9267-0.1507 0.9163 0.3502 0.1426 0.0495 0.0138 0.0031 0.0006 0.0001 0.0000 0.0000
+ 5.8802
+-2.1061-0.9786-0.1845 0.9035 0.3277 0.1169 0.0363 0.0096 0.0022 0.0004 0.0001 0.0000 0.0000
+-2.0769-0.9489-0.1540 0.9387 0.3633 0.1518 0.0547 0.0158 0.0037 0.0007 0.0001 0.0000 0.0000
+ 6.0639
+-2.1346-1.0002-0.1882 0.9247 0.3420 0.1255 0.0401 0.0110 0.0025 0.0005 0.0001 0.0000 0.0000
+-2.1059-0.9707-0.1573 0.9605 0.3759 0.1608 0.0600 0.0180 0.0043 0.0008 0.0001 0.0000 0.0000
+ 6.2477
+-2.1624-1.0213-0.1918 0.9453 0.3558 0.1341 0.0442 0.0125 0.0030 0.0006 0.0001 0.0000 0.0000
+-2.1342-0.9920-0.1606 0.9814 0.3883 0.1697 0.0654 0.0204 0.0051 0.0010 0.0002 0.0000 0.0000
+ 6.4315
+-2.1894-1.0418-0.1954 0.9653 0.3692 0.1428 0.0484 0.0141 0.0035 0.0007 0.0001 0.0000 0.0000
+-2.1618-1.0129-0.1641 1.0016 0.4003 0.1783 0.0709 0.0229 0.0059 0.0012 0.0002 0.0000 0.0000
+ 6.6152
+-2.2158-1.0618-0.1990 0.9846 0.3822 0.1515 0.0528 0.0158 0.0040 0.0009 0.0002 0.0000 0.0000
+-2.1888-1.0333-0.1676 1.0210 0.4121 0.1867 0.0765 0.0256 0.0068 0.0015 0.0003 0.0000 0.0000
+ 6.7990
+-2.2415-1.0813-0.2026 1.0033 0.3948 0.1601 0.0573 0.0176 0.0046 0.0010 0.0002 0.0000 0.0000
+-2.2152-1.0533-0.1712 1.0396 0.4236 0.1949 0.0821 0.0284 0.0079 0.0018 0.0003 0.0001 0.0000
+ 6.9827
+-2.2666-1.1004-0.2061 1.0215 0.4070 0.1686 0.0619 0.0196 0.0053 0.0012 0.0002 0.0000 0.0000
+-2.2410-1.0729-0.1749 1.0576 0.4349 0.2028 0.0877 0.0313 0.0090 0.0021 0.0004 0.0001 0.0000
+ 7.1665
+-2.2911-1.1190-0.2096 1.0391 0.4188 0.1771 0.0666 0.0217 0.0060 0.0014 0.0003 0.0001 0.0000
+-2.2663-1.0921-0.1786 1.0748 0.4461 0.2106 0.0933 0.0344 0.0102 0.0024 0.0005 0.0001 0.0000
+ 7.3502
+-2.3151-1.1372-0.2130 1.0562 0.4302 0.1854 0.0714 0.0238 0.0068 0.0017 0.0003 0.0001 0.0000
+-2.2909-1.1110-0.1825 1.0914 0.4571 0.2181 0.0989 0.0376 0.0115 0.0028 0.0006 0.0001 0.0000
+ 7.5340
+-2.3385-1.1549-0.2165 1.0728 0.4413 0.1937 0.0763 0.0261 0.0077 0.0019 0.0004 0.0001 0.0000
+-2.3151-1.1294-0.1863 1.1072 0.4678 0.2255 0.1045 0.0409 0.0129 0.0033 0.0007 0.0001 0.0000
+ 7.7178
+-2.3615-1.1724-0.2199 1.0889 0.4521 0.2018 0.0813 0.0285 0.0086 0.0022 0.0005 0.0001 0.0000
+-2.3387-1.1475-0.1903 1.1225 0.4785 0.2326 0.1100 0.0443 0.0144 0.0038 0.0008 0.0001 0.0000
+ 7.9015
+-2.3840-1.1894-0.2232 1.1045 0.4627 0.2098 0.0863 0.0309 0.0096 0.0025 0.0006 0.0001 0.0000
+-2.3618-1.1653-0.1942 1.1372 0.4889 0.2397 0.1154 0.0477 0.0160 0.0043 0.0009 0.0002 0.0000
+ 8.0853
+-2.4061-1.2062-0.2266 1.1196 0.4729 0.2176 0.0913 0.0335 0.0106 0.0029 0.0007 0.0001 0.0000
+-2.3844-1.1826-0.1982 1.1514 0.4993 0.2465 0.1207 0.0513 0.0177 0.0049 0.0011 0.0002 0.0000
+ 8.2690
+-2.4277-1.2226-0.2299 1.1342 0.4829 0.2253 0.0964 0.0361 0.0117 0.0033 0.0008 0.0001 0.0000
+-2.4066-1.1997-0.2022 1.1650 0.5094 0.2533 0.1259 0.0548 0.0195 0.0056 0.0013 0.0003 0.0000
+ 8.4528
+-2.4490-1.2387-0.2331 1.1484 0.4927 0.2328 0.1015 0.0388 0.0129 0.0037 0.0009 0.0002 0.0000
+-2.4283-1.2164-0.2062 1.1782 0.5194 0.2599 0.1311 0.0585 0.0214 0.0063 0.0015 0.0003 0.0001
+ 8.6365
+-2.4698-1.2545-0.2364 1.1621 0.5022 0.2402 0.1066 0.0416 0.0141 0.0041 0.0010 0.0002 0.0000
+-2.4496-1.2328-0.2102 1.1910 0.5292 0.2664 0.1361 0.0621 0.0233 0.0071 0.0017 0.0003 0.0001
+ 8.8203
+-2.4903-1.2701-0.2397 1.1753 0.5116 0.2474 0.1118 0.0445 0.0154 0.0046 0.0012 0.0003 0.0001
+-2.4704-1.2489-0.2142 1.2033 0.5388 0.2728 0.1410 0.0657 0.0254 0.0079 0.0020 0.0004 0.0001
+ 9.0040
+-2.5104-1.2854-0.2430 1.1881 0.5207 0.2544 0.1169 0.0474 0.0168 0.0052 0.0014 0.0003 0.0001
+-2.4908-1.2647-0.2181 1.2153 0.5482 0.2792 0.1458 0.0694 0.0275 0.0088 0.0023 0.0005 0.0001
+ 9.1878
+-2.5302-1.3004-0.2462 1.2004 0.5297 0.2613 0.1220 0.0504 0.0182 0.0057 0.0015 0.0003 0.0001
+-2.5109-1.2801-0.2221 1.2269 0.5575 0.2854 0.1506 0.0731 0.0297 0.0098 0.0026 0.0006 0.0001
+ 9.3716
+-2.5497-1.3152-0.2495 1.2123 0.5386 0.2681 0.1270 0.0534 0.0197 0.0063 0.0017 0.0004 0.0001
+-2.5305-1.2953-0.2259 1.2381 0.5665 0.2916 0.1552 0.0767 0.0319 0.0108 0.0029 0.0007 0.0001
+ 9.5553
+-2.5689-1.3298-0.2528 1.2238 0.5473 0.2747 0.1321 0.0565 0.0213 0.0070 0.0020 0.0005 0.0001
+-2.5498-1.3102-0.2298 1.2490 0.5754 0.2978 0.1597 0.0803 0.0342 0.0118 0.0033 0.0008 0.0001
+ 9.7391
+-2.5877-1.3442-0.2561 1.2349 0.5558 0.2811 0.1371 0.0596 0.0229 0.0076 0.0022 0.0005 0.0001
+-2.5688-1.3248-0.2336 1.2597 0.5840 0.3039 0.1642 0.0839 0.0366 0.0130 0.0037 0.0009 0.0002
+ 9.9228
+-2.6063-1.3583-0.2594 1.2455 0.5643 0.2874 0.1420 0.0628 0.0245 0.0084 0.0025 0.0006 0.0001
+-2.5874-1.3392-0.2373 1.2700 0.5925 0.3099 0.1685 0.0874 0.0390 0.0142 0.0042 0.0010 0.0002
+10.1066
+-2.6246-1.3723-0.2627 1.2558 0.5726 0.2936 0.1469 0.0660 0.0262 0.0091 0.0027 0.0007 0.0001
+-2.6057-1.3533-0.2410 1.2800 0.6008 0.3159 0.1728 0.0909 0.0414 0.0155 0.0047 0.0012 0.0002
+10.2903
+-2.6426-1.3861-0.2661 1.2658 0.5808 0.2996 0.1518 0.0692 0.0280 0.0099 0.0031 0.0008 0.0002
+-2.6237-1.3671-0.2446 1.2898 0.6088 0.3218 0.1771 0.0943 0.0439 0.0168 0.0052 0.0013 0.0003
+10.4741
+-2.6603-1.3997-0.2694 1.2753 0.5889 0.3055 0.1566 0.0725 0.0298 0.0108 0.0034 0.0009 0.0002
+-2.6414-1.3807-0.2482 1.2993 0.6168 0.3276 0.1812 0.0977 0.0464 0.0181 0.0058 0.0015 0.0003
+10.6578
+-2.6778-1.4130-0.2728 1.2846 0.5969 0.3113 0.1613 0.0757 0.0316 0.0117 0.0037 0.0010 0.0002
+-2.6588-1.3942-0.2518 1.3085 0.6245 0.3334 0.1853 0.1011 0.0489 0.0196 0.0064 0.0017 0.0004
+10.8416
+-2.6950-1.4262-0.2762 1.2935 0.6048 0.3170 0.1660 0.0790 0.0335 0.0126 0.0041 0.0011 0.0003
+-2.6759-1.4073-0.2553 1.3174 0.6321 0.3392 0.1894 0.1043 0.0514 0.0210 0.0070 0.0019 0.0004
+11.0254
+-2.7120-1.4393-0.2796 1.3022 0.6126 0.3226 0.1706 0.0823 0.0354 0.0135 0.0045 0.0013 0.0003
+-2.6928-1.4203-0.2587 1.3261 0.6395 0.3448 0.1934 0.1076 0.0539 0.0226 0.0077 0.0022 0.0005
+11.2091
+-2.7287-1.4521-0.2830 1.3105 0.6202 0.3280 0.1751 0.0856 0.0374 0.0145 0.0049 0.0014 0.0003
+-2.7094-1.4331-0.2621 1.3345 0.6468 0.3505 0.1974 0.1107 0.0564 0.0241 0.0084 0.0024 0.0006
+11.3929
+-2.7452-1.4648-0.2864 1.3186 0.6278 0.3334 0.1796 0.0889 0.0394 0.0155 0.0054 0.0016 0.0004
+-2.7258-1.4457-0.2656 1.3427 0.6539 0.3560 0.2014 0.1139 0.0589 0.0257 0.0092 0.0027 0.0006
+11.5766
+-2.7614-1.4773-0.2898 1.3264 0.6353 0.3387 0.1840 0.0922 0.0414 0.0166 0.0058 0.0018 0.0004
+-2.7420-1.4581-0.2689 1.3507 0.6609 0.3614 0.2053 0.1169 0.0614 0.0274 0.0100 0.0030 0.0007
+11.7604
+-2.7775-1.4897-0.2932 1.3340 0.6427 0.3439 0.1883 0.0955 0.0435 0.0177 0.0063 0.0019 0.0005
+-2.7579-1.4704-0.2723 1.3583 0.6677 0.3668 0.2092 0.1199 0.0639 0.0291 0.0108 0.0033 0.0008
+11.9441
+-2.7933-1.5019-0.2966 1.3414 0.6499 0.3490 0.1925 0.0988 0.0456 0.0188 0.0069 0.0022 0.0006
+-2.7736-1.4825-0.2756 1.3658 0.6745 0.3721 0.2131 0.1229 0.0664 0.0308 0.0117 0.0037 0.0009
+12.1279
+-2.8089-1.5139-0.3000 1.3485 0.6571 0.3540 0.1967 0.1021 0.0477 0.0200 0.0074 0.0024 0.0006
+-2.7891-1.4944-0.2789 1.3730 0.6812 0.3774 0.2169 0.1258 0.0689 0.0325 0.0126 0.0040 0.0011
+12.3117
+-2.8242-1.5258-0.3034 1.3554 0.6641 0.3590 0.2008 0.1054 0.0498 0.0212 0.0080 0.0026 0.0007
+-2.8044-1.5062-0.2822 1.3800 0.6877 0.3825 0.2208 0.1287 0.0713 0.0343 0.0136 0.0044 0.0012
+12.4954
+-2.8394-1.5375-0.3068 1.3622 0.6711 0.3640 0.2049 0.1086 0.0520 0.0224 0.0086 0.0029 0.0008
+-2.8196-1.5178-0.2855 1.3867 0.6942 0.3875 0.2246 0.1316 0.0737 0.0361 0.0146 0.0049 0.0013
+12.6792
+-2.8543-1.5490-0.3101 1.3687 0.6779 0.3688 0.2088 0.1119 0.0542 0.0237 0.0092 0.0031 0.0009
+-2.8345-1.5293-0.2888 1.3933 0.7005 0.3925 0.2284 0.1344 0.0761 0.0379 0.0157 0.0053 0.0015
+12.8629
+-2.8691-1.5604-0.3135 1.3752 0.6846 0.3736 0.2127 0.1151 0.0564 0.0249 0.0099 0.0034 0.0010
+-2.8492-1.5407-0.2920 1.3996 0.7068 0.3974 0.2321 0.1371 0.0784 0.0397 0.0167 0.0058 0.0016
+13.0467
+-2.8836-1.5717-0.3168 1.3814 0.6912 0.3784 0.2166 0.1183 0.0586 0.0262 0.0105 0.0037 0.0011
+-2.8638-1.5519-0.2953 1.4058 0.7130 0.4022 0.2359 0.1399 0.0807 0.0415 0.0178 0.0063 0.0018
+13.2304
+-2.8979-1.5828-0.3201 1.3875 0.6977 0.3831 0.2203 0.1214 0.0608 0.0276 0.0112 0.0040 0.0012
+-2.8782-1.5630-0.2985 1.4117 0.7191 0.4069 0.2396 0.1426 0.0830 0.0433 0.0190 0.0068 0.0020
+13.4142
+-2.9121-1.5937-0.3234 1.3934 0.7040 0.3878 0.2240 0.1246 0.0630 0.0289 0.0120 0.0043 0.0014
+-2.8924-1.5740-0.3018 1.4175 0.7251 0.4115 0.2433 0.1454 0.0852 0.0451 0.0201 0.0074 0.0022
+13.5979
+-2.9260-1.6045-0.3266 1.3993 0.7103 0.3925 0.2277 0.1277 0.0653 0.0303 0.0127 0.0047 0.0015
+-2.9065-1.5848-0.3050 1.4230 0.7311 0.4161 0.2470 0.1480 0.0874 0.0470 0.0213 0.0080 0.0025
+13.7817
+-2.9398-1.6152-0.3298 1.4049 0.7164 0.3971 0.2312 0.1308 0.0675 0.0317 0.0135 0.0050 0.0016
+-2.9204-1.5955-0.3083 1.4285 0.7370 0.4206 0.2506 0.1507 0.0896 0.0488 0.0226 0.0086 0.0027
+13.9655
+-2.9534-1.6257-0.3330 1.4105 0.7224 0.4017 0.2348 0.1338 0.0698 0.0331 0.0143 0.0054 0.0018
+-2.9341-1.6061-0.3115 1.4337 0.7428 0.4250 0.2542 0.1534 0.0917 0.0506 0.0238 0.0092 0.0030
+14.1492
+-2.9668-1.6360-0.3361 1.4159 0.7283 0.4062 0.2382 0.1368 0.0721 0.0346 0.0151 0.0058 0.0019
+-2.9476-1.6166-0.3147 1.4388 0.7485 0.4294 0.2578 0.1560 0.0939 0.0524 0.0251 0.0099 0.0032
+14.3330
+-2.9800-1.6463-0.3392 1.4212 0.7341 0.4107 0.2417 0.1398 0.0744 0.0360 0.0159 0.0062 0.0021
+-2.9610-1.6270-0.3180 1.4438 0.7542 0.4336 0.2613 0.1587 0.0959 0.0542 0.0264 0.0106 0.0035
+14.5167
+-2.9931-1.6564-0.3423 1.4264 0.7398 0.4152 0.2450 0.1427 0.0766 0.0375 0.0167 0.0067 0.0023
+-2.9743-1.6372-0.3212 1.4487 0.7598 0.4379 0.2648 0.1613 0.0980 0.0560 0.0277 0.0114 0.0038
+14.7005
+-3.0060-1.6663-0.3453 1.4314 0.7453 0.4197 0.2483 0.1457 0.0789 0.0390 0.0176 0.0071 0.0025
+-2.9874-1.6473-0.3243 1.4534 0.7653 0.4420 0.2683 0.1639 0.1000 0.0577 0.0290 0.0121 0.0042
+14.8842
+-3.0187-1.6762-0.3483 1.4364 0.7508 0.4241 0.2516 0.1485 0.0812 0.0405 0.0185 0.0076 0.0027
+-3.0003-1.6574-0.3275 1.4580 0.7708 0.4461 0.2717 0.1666 0.1021 0.0595 0.0304 0.0129 0.0045
+15.0680
+-3.0313-1.6859-0.3513 1.4412 0.7561 0.4284 0.2549 0.1514 0.0835 0.0420 0.0194 0.0081 0.0029
+-3.0131-1.6673-0.3307 1.4625 0.7761 0.4502 0.2751 0.1692 0.1041 0.0612 0.0317 0.0137 0.0049
+15.2517
+-3.0437-1.6955-0.3542 1.4460 0.7614 0.4328 0.2581 0.1541 0.0857 0.0436 0.0203 0.0086 0.0032
+-3.0258-1.6771-0.3338 1.4668 0.7814 0.4542 0.2784 0.1718 0.1060 0.0629 0.0331 0.0146 0.0053
+15.4355
+-3.0560-1.7049-0.3570 1.4506 0.7665 0.4371 0.2612 0.1569 0.0880 0.0451 0.0213 0.0091 0.0034
+-3.0383-1.6868-0.3369 1.4711 0.7866 0.4582 0.2817 0.1744 0.1080 0.0646 0.0344 0.0154 0.0057
+15.6193
+-3.0681-1.7143-0.3599 1.4551 0.7716 0.4414 0.2644 0.1596 0.0903 0.0467 0.0222 0.0096 0.0037
+-3.0507-1.6963-0.3400 1.4753 0.7917 0.4622 0.2849 0.1770 0.1099 0.0663 0.0358 0.0163 0.0061
+15.8030
+-3.0801-1.7235-0.3627 1.4595 0.7766 0.4456 0.2675 0.1623 0.0925 0.0483 0.0232 0.0102 0.0039
+-3.0629-1.7058-0.3431 1.4793 0.7968 0.4661 0.2881 0.1795 0.1119 0.0679 0.0372 0.0172 0.0066
+15.9868
+-3.0919-1.7326-0.3655 1.4638 0.7814 0.4498 0.2706 0.1649 0.0947 0.0498 0.0242 0.0107 0.0042
+-3.0750-1.7152-0.3461 1.4833 0.8017 0.4699 0.2913 0.1821 0.1138 0.0695 0.0386 0.0181 0.0071
+16.1705
+-3.1037-1.7416-0.3682 1.4679 0.7862 0.4539 0.2736 0.1675 0.0970 0.0514 0.0252 0.0113 0.0045
+-3.0869-1.7244-0.3492 1.4872 0.8066 0.4738 0.2944 0.1847 0.1157 0.0712 0.0399 0.0191 0.0076
+16.3543
+-3.1152-1.7506-0.3710 1.4720 0.7910 0.4581 0.2767 0.1701 0.0992 0.0530 0.0262 0.0119 0.0048
+-3.0987-1.7336-0.3522 1.4910 0.8114 0.4775 0.2974 0.1872 0.1176 0.0727 0.0413 0.0200 0.0081
+16.5380
+-3.1267-1.7594-0.3737 1.4759 0.7956 0.4621 0.2797 0.1726 0.1014 0.0547 0.0273 0.0125 0.0051
+-3.1104-1.7426-0.3551 1.4948 0.8161 0.4813 0.3004 0.1898 0.1195 0.0743 0.0427 0.0210 0.0086
+16.7218
+-3.1381-1.7681-0.3763 1.4798 0.8002 0.4661 0.2827 0.1751 0.1036 0.0563 0.0283 0.0131 0.0054
+-3.1219-1.7516-0.3580 1.4985 0.8207 0.4851 0.3034 0.1923 0.1214 0.0759 0.0440 0.0220 0.0092
+16.9055
+-3.1493-1.7767-0.3790 1.4835 0.8047 0.4701 0.2857 0.1775 0.1058 0.0579 0.0294 0.0138 0.0058
+-3.1334-1.7604-0.3609 1.5020 0.8253 0.4888 0.3064 0.1948 0.1233 0.0774 0.0454 0.0230 0.0097
+17.0893
+-3.1604-1.7852-0.3816 1.4872 0.8092 0.4740 0.2887 0.1799 0.1079 0.0595 0.0304 0.0144 0.0061
+-3.1447-1.7691-0.3638 1.5055 0.8297 0.4925 0.3093 0.1973 0.1252 0.0789 0.0467 0.0240 0.0103
+17.2731
+-3.1714-1.7937-0.3842 1.4907 0.8135 0.4779 0.2916 0.1823 0.1100 0.0612 0.0315 0.0151 0.0065
+-3.1558-1.7778-0.3667 1.5090 0.8341 0.4962 0.3121 0.1997 0.1270 0.0804 0.0480 0.0251 0.0109
+17.4568
+-3.1823-1.8021-0.3869 1.4941 0.8179 0.4817 0.2945 0.1846 0.1122 0.0628 0.0326 0.0157 0.0069
+-3.1669-1.7863-0.3695 1.5123 0.8384 0.4998 0.3149 0.2022 0.1289 0.0819 0.0493 0.0261 0.0116
+17.6406
+-3.1931-1.8103-0.3895 1.4975 0.8222 0.4855 0.2975 0.1870 0.1143 0.0645 0.0337 0.0164 0.0072
+-3.1778-1.7948-0.3723 1.5156 0.8427 0.5034 0.3177 0.2046 0.1308 0.0833 0.0507 0.0272 0.0122
+17.8243
+-3.2038-1.8185-0.3920 1.5007 0.8264 0.4892 0.3004 0.1893 0.1163 0.0661 0.0348 0.0171 0.0076
+-3.1887-1.8031-0.3750 1.5188 0.8468 0.5070 0.3205 0.2070 0.1327 0.0848 0.0519 0.0282 0.0129
+18.0081
+-3.2144-1.8267-0.3946 1.5038 0.8306 0.4929 0.3033 0.1915 0.1184 0.0678 0.0360 0.0178 0.0080
+-3.1994-1.8114-0.3778 1.5219 0.8510 0.5106 0.3232 0.2094 0.1346 0.0862 0.0532 0.0293 0.0136
+18.1918
+-3.2249-1.8347-0.3972 1.5069 0.8347 0.4965 0.3062 0.1938 0.1204 0.0694 0.0371 0.0185 0.0085
+-3.2100-1.8196-0.3805 1.5249 0.8550 0.5141 0.3259 0.2117 0.1364 0.0877 0.0545 0.0303 0.0143
+18.3756
+-3.2354-1.8427-0.3997 1.5099 0.8388 0.5000 0.3091 0.1960 0.1224 0.0711 0.0382 0.0193 0.0089
+-3.2205-1.8277-0.3832 1.5279 0.8590 0.5176 0.3286 0.2140 0.1383 0.0891 0.0557 0.0314 0.0150
+18.5594
+-3.2457-1.8507-0.4023 1.5128 0.8429 0.5035 0.3120 0.1982 0.1244 0.0727 0.0394 0.0200 0.0093
+-3.2309-1.8357-0.3858 1.5308 0.8629 0.5211 0.3313 0.2163 0.1402 0.0905 0.0570 0.0325 0.0157
+ 2.5561 0.0000
+ 0.0000 2.5561
+ 2.5561 0.0000
+ 0.0000 2.5561
+ 1
+ 1.80745000 0.00000000 0.00000000
+ 3 1 3
+ 4 1 1
+ 0
+ 2 1 1
+ 1 2 2 2
+ 2
+ 2
+ 0.0100 0.0000 0.0000 1
+ 1.7775 1.2781 1.2781 2
+ 3.6050 0.0000 0.0000 3
+ 5.4125 1.2781 1.2781 4
+ 1.8175 0.0000 0.0000
+ 0.50 0.00 -5.00
+ 7.2300 0.000 0.0000 5
+ 1.8075 0.0000 0.0000
+ 0.50 0.00 -5.00
+ 9.0375 1.2781 1.2781 6
+ 1.8075 0.0000 0.0000
+ 0.50 0.00 -5.00
+ 100.00 500.00 4.00
+
diff --git a/extra/leed/tests/mapper/do.sh b/extra/leed/tests/mapper/do.sh
new file mode 100644
index 00000000..bb4f1417
--- /dev/null
+++ b/extra/leed/tests/mapper/do.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+#CMD=py2dmat-leed
+CMD="python3 ../../src/main.py"
+
+sh ./prepare.sh
+
+time mpiexec -np 4 $CMD input.toml
+
+
+result=output/ColorMap.txt
+reference=ref_ColorMap.txt
+
+echo diff $result $reference
+res=0
+diff $result $reference || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $result and $reference differ
+ false
+fi
+
diff --git a/extra/leed/tests/mapper/input.toml b/extra/leed/tests/mapper/input.toml
new file mode 100644
index 00000000..64681bb2
--- /dev/null
+++ b/extra/leed/tests/mapper/input.toml
@@ -0,0 +1,16 @@
+[base]
+dimension = 2
+output_dir = "output"
+
+[solver]
+name = "leed"
+[solver.config]
+path_to_solver = "../bin/satl2.exe"
+[solver.reference]
+path_to_base_dir = "./base"
+
+[algorithm]
+name = "mapper"
+label_list = ["z1", "z2"]
+[algorithm.param]
+mesh_path = "./MeshData.txt"
diff --git a/extra/leed/tests/mapper/prepare.sh b/extra/leed/tests/mapper/prepare.sh
new file mode 100644
index 00000000..5ac0b009
--- /dev/null
+++ b/extra/leed/tests/mapper/prepare.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+rm -rf ./output
diff --git a/extra/leed/tests/mapper/ref_ColorMap.txt b/extra/leed/tests/mapper/ref_ColorMap.txt
new file mode 100644
index 00000000..bd1ed79f
--- /dev/null
+++ b/extra/leed/tests/mapper/ref_ColorMap.txt
@@ -0,0 +1,10 @@
+-0.100000 0.000000 0.319700
+-0.050000 0.000000 0.212100
+0.000000 0.000000 0.189500
+0.050000 0.000000 0.502300
+0.100000 0.000000 0.941600
+-0.100000 0.050000 0.318600
+-0.050000 0.050000 0.206600
+0.000000 0.050000 0.190500
+0.050000 0.050000 0.506200
+0.100000 0.050000 0.933200
diff --git a/extra/sim-trhepd-rheed/src/main.py b/extra/sim-trhepd-rheed/src/main.py
new file mode 100644
index 00000000..039f1e55
--- /dev/null
+++ b/extra/sim-trhepd-rheed/src/main.py
@@ -0,0 +1,20 @@
+# 2DMAT -- Data-analysis software of quantum beam diffraction experiments for 2D material structure
+# Copyright (C) 2020- The University of Tokyo
+#
+# 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 3 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, see http://www.gnu.org/licenses/.
+
+if __name__ == "__main__":
+ # sys.path[0] is this directory (2DMAT/src)
+ from sim_trhepd_rheed._main import main
+ main()
diff --git a/extra/sim-trhepd-rheed/tests/.gitignore b/extra/sim-trhepd-rheed/tests/.gitignore
new file mode 100644
index 00000000..ba077a40
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/.gitignore
@@ -0,0 +1 @@
+bin
diff --git a/extra/sim-trhepd-rheed/tests/bin/.placeholder b/extra/sim-trhepd-rheed/tests/bin/.placeholder
new file mode 100644
index 00000000..e69de29b
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/MeshData.txt b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/MeshData.txt
new file mode 100644
index 00000000..71d1b50c
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/MeshData.txt
@@ -0,0 +1,10 @@
+0 0.5 1.0 1.5 1.5 5.4 4.8 3.8 2.1 2.0
+1 5.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0
+2 4.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0
+3 5.0 4.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0
+4 5.0 5.0 4.0 5.0 5.0 5.0 5.0 5.0 5.0
+5 5.0 5.0 5.0 4.0 5.0 5.0 5.0 5.0 5.0
+6 5.0 5.0 5.0 5.0 4.0 5.0 5.0 5.0 5.0
+7 5.0 5.0 5.0 5.0 5.0 4.0 5.0 5.0 5.0
+8 5.0 5.0 5.0 5.0 5.0 5.0 4.0 5.0 5.0
+9 5.0 5.0 5.0 5.0 5.0 5.0 5.0 4.0 5.0
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/bulk.txt b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/bulk.txt
new file mode 100644
index 00000000..a321798b
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/bulk.txt
@@ -0,0 +1,14 @@
+2,1,2 ,NH,NK,NDOM, -------- Ge(001) bulk
+7,15 ,(NB,I=1,NDOM)
+0,90 ,(RDOM,I=1,NDOM)
+0,0,0,1,0,-1,0,2,0,-2,0,3,0,-3 ,(IH(I),IK(I),I=1,NB)
+0,0,1,0,-1,0,2,0,-2,0,3,0,-3,0,4,0,-4,0,5,0,-5,0,6,0,-6,0,7,0,-7,0 ,(IH(I),IK(I),I=1,NB)
+10,0,0,0,0.3,6.3,0.1 ,BE,AZI,AZF,DAZ,GI,GF,DG
+0.1,100 ,DZ,ML
+1 ,NELM
+32,1.2,0.15 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+6,4.01319,4.01319,90,2.83770,0.5,0.5 ,NSG,AA,BB,GAM,CC,DX,DY
+2 ,NATM
+1,1.0,0.00000,0.50000, 2.12833 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1,1.0,0.00000,0.00000, 0.70948 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/do.sh b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/do.sh
new file mode 100644
index 00000000..e3668631
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/do.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+#CMD=py2dmat-sim-trhepd-rheed
+CMD="python3 ../../../src/main.py"
+
+sh prepare.sh
+
+../../bin/bulk.exe
+
+time $CMD input.toml
+
+result=output/ColorMap.txt
+reference=ref_ColorMap.txt
+
+echo diff $result $reference
+res=0
+diff $result $reference || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $result and $reference differ
+ false
+fi
+
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/experiment.txt b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/experiment.txt
new file mode 100644
index 00000000..d2075d33
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/experiment.txt
@@ -0,0 +1,61 @@
+3.00000e-01 8.20372e-03 2.54229e-06 2.54229e-06 9.88860e-15 9.88860e-15 6.88084e-33 6.88084e-33 4.60049e-54 4.60049e-54 4.51983e-87 4.51983e-87 3.53221e-125 3.53221e-125 2.28323e-173 2.28323e-173
+4.00000e-01 1.14751e-02 1.04244e-05 1.04244e-05 2.49203e-13 2.49203e-13 1.26542e-30 1.26542e-30 4.98289e-51 4.98289e-51 3.60151e-83 3.60151e-83 2.07188e-120 2.07188e-120 9.85900e-168 9.85900e-168
+5.00000e-01 1.46340e-02 3.58730e-05 3.58730e-05 5.04417e-12 5.04417e-12 1.86515e-28 1.86515e-28 4.32416e-48 4.32416e-48 2.29890e-79 2.29890e-79 9.73541e-116 9.73541e-116 3.41025e-162 3.41025e-162
+6.00000e-01 1.74036e-02 1.04606e-04 1.04606e-04 8.20593e-11 8.20593e-11 2.20358e-26 2.20358e-26 3.00666e-45 3.00666e-45 1.17553e-75 1.17553e-75 3.66450e-111 3.66450e-111 9.44952e-157 9.44952e-157
+7.00000e-01 1.96261e-02 2.61079e-04 2.61079e-04 1.07379e-09 1.07379e-09 2.08711e-24 2.08711e-24 1.67514e-42 1.67514e-42 4.81525e-72 4.81525e-72 1.10496e-106 1.10496e-106 2.09751e-151 2.09751e-151
+8.00000e-01 2.11810e-02 5.62998e-04 5.62998e-04 1.13137e-08 1.13137e-08 1.58509e-22 1.58509e-22 7.47877e-40 7.47877e-40 1.58009e-68 1.58009e-68 2.66901e-102 2.66901e-102 3.72967e-146 3.72967e-146
+9.00000e-01 2.19506e-02 1.05701e-03 1.05701e-03 9.61019e-08 9.61019e-08 9.65510e-21 9.65510e-21 2.67582e-37 2.67582e-37 4.15360e-65 4.15360e-65 5.16449e-98 5.16449e-98 5.31259e-141 5.31259e-141
+1.00000e+00 2.18837e-02 1.73666e-03 1.73666e-03 6.59148e-07 6.59148e-07 4.71837e-19 4.71837e-19 7.67314e-35 7.67314e-35 8.74678e-62 8.74678e-62 8.00527e-94 8.00527e-94 6.06197e-136 6.06197e-136
+1.10000e+00 2.11118e-02 2.50352e-03 2.50352e-03 3.65776e-06 3.65776e-06 1.85068e-17 1.85068e-17 1.76374e-32 1.76374e-32 1.47555e-58 1.47555e-58 9.94026e-90 9.94026e-90 5.54106e-131 5.54106e-131
+1.20000e+00 2.00197e-02 3.17036e-03 3.17036e-03 1.64630e-05 1.64630e-05 5.82895e-16 5.82895e-16 3.25019e-30 3.25019e-30 1.99411e-55 1.99411e-55 9.88767e-86 9.88767e-86 4.05736e-126 4.05736e-126
+1.30000e+00 1.91652e-02 3.53255e-03 3.53255e-03 6.02887e-05 6.02887e-05 1.47520e-14 1.47520e-14 4.80262e-28 4.80262e-28 2.15890e-52 2.15890e-52 7.87888e-82 7.87888e-82 2.37994e-121 2.37994e-121
+1.40000e+00 1.90127e-02 3.48189e-03 3.48189e-03 1.80376e-04 1.80376e-04 3.00236e-13 3.00236e-13 5.69175e-26 5.69175e-26 1.87246e-49 1.87246e-49 5.02934e-78 5.02934e-78 1.11831e-116 1.11831e-116
+1.50000e+00 1.95992e-02 3.08705e-03 3.08705e-03 4.43302e-04 4.43302e-04 4.91905e-12 4.91905e-12 5.41178e-24 5.41178e-24 1.30105e-46 1.30105e-46 2.57178e-74 2.57178e-74 4.20947e-112 4.20947e-112
+1.60000e+00 2.03890e-02 2.57618e-03 2.57618e-03 9.01644e-04 9.01644e-04 6.49662e-11 6.49662e-11 4.12970e-22 4.12970e-22 7.24244e-44 7.24244e-44 1.05351e-70 1.05351e-70 1.26931e-107 1.26931e-107
+1.70000e+00 2.05290e-02 2.22146e-03 2.22146e-03 1.53385e-03 1.53385e-03 6.92826e-10 6.92826e-10 2.53031e-20 2.53031e-20 3.22996e-41 3.22996e-41 3.45717e-67 3.45717e-67 3.06607e-103 3.06607e-103
+1.80000e+00 1.94096e-02 2.18932e-03 2.18932e-03 2.21633e-03 2.21633e-03 5.97919e-09 5.97919e-09 1.24551e-18 1.24551e-18 1.15409e-38 1.15409e-38 9.08840e-64 9.08840e-64 5.93296e-99 5.93296e-99
+1.90000e+00 1.71097e-02 2.45030e-03 2.45030e-03 2.78148e-03 2.78148e-03 4.18750e-08 4.18750e-08 4.92860e-17 4.92860e-17 3.30394e-36 3.30394e-36 1.91400e-60 1.91400e-60 9.19679e-95 9.19679e-95
+2.00000e+00 1.43591e-02 2.81912e-03 2.81912e-03 3.12490e-03 3.12490e-03 2.38836e-07 2.38836e-07 1.56913e-15 1.56913e-15 7.57864e-34 7.57864e-34 3.22913e-57 3.22913e-57 1.14203e-90 1.14203e-90
+2.10000e+00 1.20865e-02 3.10041e-03 3.10041e-03 3.25578e-03 3.25578e-03 1.11435e-06 1.11435e-06 4.02329e-14 4.02329e-14 1.39297e-31 1.39297e-31 4.36442e-54 4.36442e-54 1.13605e-86 1.13605e-86
+2.20000e+00 1.09633e-02 3.21399e-03 3.21399e-03 3.24916e-03 3.24916e-03 4.27726e-06 4.27726e-06 8.31769e-13 8.31769e-13 2.05172e-29 2.05172e-29 4.72574e-51 4.72574e-51 9.05318e-83 9.05318e-83
+2.30000e+00 1.12236e-02 3.19005e-03 3.19005e-03 3.17788e-03 3.17788e-03 1.36022e-05 1.36022e-05 1.38846e-11 1.38846e-11 2.42190e-27 2.42190e-27 4.09943e-48 4.09943e-48 5.77945e-79 5.77945e-79
+2.40000e+00 1.26847e-02 3.06482e-03 3.06482e-03 3.10461e-03 3.10461e-03 3.61631e-05 3.61631e-05 1.87457e-10 1.87457e-10 2.29143e-25 2.29143e-25 2.84903e-45 2.84903e-45 2.95569e-75 2.95569e-75
+2.50000e+00 1.47993e-02 2.81322e-03 2.81322e-03 3.10625e-03 3.10625e-03 8.13202e-05 8.13202e-05 2.05098e-09 2.05098e-09 1.73793e-23 1.73793e-23 1.58637e-42 1.58637e-42 1.21094e-71 1.21094e-71
+2.60000e+00 1.67805e-02 2.39686e-03 2.39686e-03 3.24955e-03 3.24955e-03 1.57036e-04 1.57036e-04 1.82269e-08 1.82269e-08 1.05686e-21 1.05686e-21 7.07715e-40 7.07715e-40 3.97449e-68 3.97449e-68
+2.70000e+00 1.79264e-02 1.85723e-03 1.85723e-03 3.51557e-03 3.51557e-03 2.65495e-04 2.65495e-04 1.31923e-07 1.31923e-07 5.15425e-20 5.15425e-20 2.52977e-37 2.52977e-37 1.04506e-64 1.04506e-64
+2.80000e+00 1.79907e-02 1.33093e-03 1.33093e-03 3.76876e-03 3.76876e-03 4.01966e-04 4.01966e-04 7.80115e-07 7.80115e-07 2.01655e-18 2.01655e-18 7.24591e-35 7.24591e-35 2.20148e-61 2.20148e-61
+2.90000e+00 1.72421e-02 9.65817e-04 9.65817e-04 3.83828e-03 3.83828e-03 5.57429e-04 5.57429e-04 3.78303e-06 3.78303e-06 6.33181e-17 6.33181e-17 1.66313e-32 1.66313e-32 3.71541e-58 3.71541e-58
+3.00000e+00 1.61322e-02 8.30083e-04 8.30083e-04 3.64961e-03 3.64961e-03 7.20742e-04 7.20742e-04 1.51116e-05 1.51116e-05 1.59643e-15 1.59643e-15 3.05929e-30 3.05929e-30 5.02379e-55 5.02379e-55
+3.10000e+00 1.49123e-02 8.92997e-04 8.92997e-04 3.27932e-03 3.27932e-03 8.78263e-04 8.78263e-04 5.00004e-05 5.00004e-05 3.23432e-14 3.23432e-14 4.51043e-28 4.51043e-28 5.44257e-52 5.44257e-52
+3.20000e+00 1.35465e-02 1.06737e-03 1.06737e-03 2.88348e-03 2.88348e-03 1.01433e-03 1.01433e-03 1.37994e-04 1.37994e-04 5.27039e-13 5.27039e-13 5.33063e-26 5.33063e-26 4.72436e-49 4.72436e-49
+3.30000e+00 1.19172e-02 1.26022e-03 1.26022e-03 2.57067e-03 2.57067e-03 1.11335e-03 1.11335e-03 3.20529e-04 3.20529e-04 6.91671e-12 6.91671e-12 5.05096e-24 5.05096e-24 3.28603e-46 3.28603e-46
+3.40000e+00 1.00537e-02 1.40135e-03 1.40135e-03 2.33714e-03 2.33714e-03 1.15940e-03 1.15940e-03 6.33766e-04 6.33766e-04 7.32418e-11 7.32418e-11 3.83791e-22 3.83791e-22 1.83156e-43 1.83156e-43
+3.50000e+00 8.17053e-03 1.45385e-03 1.45385e-03 2.12304e-03 2.12304e-03 1.13607e-03 1.13607e-03 1.08143e-03 1.08143e-03 6.27478e-10 6.27478e-10 2.33911e-20 2.33911e-20 8.18137e-41 8.18137e-41
+3.60000e+00 6.53572e-03 1.41927e-03 1.41927e-03 1.92999e-03 1.92999e-03 1.03519e-03 1.03519e-03 1.61626e-03 1.61626e-03 4.36723e-09 4.36723e-09 1.14389e-18 1.14389e-18 2.92909e-38 2.92909e-38
+3.70000e+00 5.35999e-03 1.33367e-03 1.33367e-03 1.86928e-03 1.86928e-03 8.70233e-04 8.70233e-04 2.14410e-03 2.14410e-03 2.48549e-08 2.48549e-08 4.49016e-17 4.49016e-17 8.40612e-36 8.40612e-36
+3.80000e+00 4.81712e-03 1.24066e-03 1.24066e-03 2.07870e-03 2.07870e-03 6.75861e-04 6.75861e-04 2.54646e-03 2.54646e-03 1.16900e-07 1.16900e-07 1.41547e-15 1.41547e-15 1.93413e-33 1.93413e-33
+3.90000e+00 5.09106e-03 1.15259e-03 1.15259e-03 2.58615e-03 2.58615e-03 4.89391e-04 4.89391e-04 2.71476e-03 2.71476e-03 4.62218e-07 4.62218e-07 3.58560e-14 3.58560e-14 3.56849e-31 3.56849e-31
+4.00000e+00 6.27917e-03 1.04113e-03 1.04113e-03 3.25723e-03 3.25723e-03 3.33325e-04 3.33325e-04 2.59542e-03 2.59542e-03 1.57650e-06 1.57650e-06 7.30420e-13 7.30420e-13 5.28077e-29 5.28077e-29
+4.10000e+00 8.18460e-03 8.74899e-04 8.74899e-04 3.88244e-03 3.88244e-03 2.14609e-04 2.14609e-04 2.22842e-03 2.22842e-03 4.79133e-06 4.79133e-06 1.19766e-11 1.19766e-11 6.26976e-27 6.26976e-27
+4.20000e+00 1.02521e-02 6.63215e-04 6.63215e-04 4.31701e-03 4.31701e-03 1.33479e-04 1.33479e-04 1.74106e-03 1.74106e-03 1.33460e-05 1.33460e-05 1.58248e-10 1.58248e-10 5.97443e-25 5.97443e-25
+4.30000e+00 1.18201e-02 4.56534e-04 4.56534e-04 4.53705e-03 4.53705e-03 8.83076e-05 8.83076e-05 1.28846e-03 1.28846e-03 3.43304e-05 3.43304e-05 1.68730e-09 1.68730e-09 4.57109e-23 4.57109e-23
+4.40000e+00 1.25166e-02 3.07901e-04 3.07901e-04 4.58438e-03 4.58438e-03 7.48076e-05 7.48076e-05 9.85554e-04 9.85554e-04 8.01387e-05 8.01387e-05 1.45425e-08 1.45425e-08 2.80956e-21 2.80956e-21
+4.50000e+00 1.24346e-02 2.39831e-04 2.39831e-04 4.49553e-03 4.49553e-03 8.47877e-05 8.47877e-05 8.78596e-04 8.78596e-04 1.64859e-04 1.64859e-04 1.01531e-07 1.01531e-07 1.38807e-19 1.38807e-19
+4.60000e+00 1.19322e-02 2.40983e-04 2.40983e-04 4.28955e-03 4.28955e-03 1.06907e-04 1.06907e-04 9.55939e-04 9.55939e-04 2.91399e-04 2.91399e-04 5.75738e-07 5.75738e-07 5.51622e-18 5.51622e-18
+4.70000e+00 1.12782e-02 2.80574e-04 2.80574e-04 3.99474e-03 3.99474e-03 1.30423e-04 1.30423e-04 1.16635e-03 1.16635e-03 4.36262e-04 4.36262e-04 2.66058e-06 2.66058e-06 1.76470e-16 1.76470e-16
+4.80000e+00 1.04800e-02 3.23137e-04 3.23137e-04 3.66468e-03 3.66468e-03 1.51930e-04 1.51930e-04 1.42843e-03 1.42843e-03 5.51828e-04 5.51828e-04 1.00645e-05 1.00645e-05 4.54869e-15 4.54869e-15
+4.90000e+00 9.40087e-03 3.40575e-04 3.40575e-04 3.35809e-03 3.35809e-03 1.78878e-04 1.78878e-04 1.64275e-03 1.64275e-03 5.95529e-04 5.95529e-04 3.13600e-05 3.13600e-05 9.45602e-14 9.45602e-14
+5.00000e+00 7.98100e-03 3.21858e-04 3.21858e-04 3.09388e-03 3.09388e-03 2.21316e-04 2.21316e-04 1.72244e-03 1.72244e-03 5.62367e-04 5.62367e-04 8.12272e-05 8.12272e-05 1.58702e-12 1.58702e-12
+5.10000e+00 6.33564e-03 2.75141e-04 2.75141e-04 2.83349e-03 2.83349e-03 2.75830e-04 2.75830e-04 1.63475e-03 1.63475e-03 4.86986e-04 4.86986e-04 1.77338e-04 1.77338e-04 2.15260e-11 2.15260e-11
+5.20000e+00 4.69185e-03 2.20277e-04 2.20277e-04 2.53384e-03 2.53384e-03 3.20101e-04 3.20101e-04 1.42421e-03 1.42421e-03 4.14585e-04 4.14585e-04 3.33162e-04 3.33162e-04 2.36204e-10 2.36204e-10
+5.30000e+00 3.27797e-03 1.79027e-04 1.79027e-04 2.23107e-03 2.23107e-03 3.29667e-04 3.29667e-04 1.19533e-03 1.19533e-03 3.71111e-04 3.71111e-04 5.53645e-04 5.53645e-04 2.09869e-09 2.09869e-09
+5.40000e+00 2.24753e-03 1.70825e-04 1.70825e-04 2.05873e-03 2.05873e-03 3.03413e-04 3.03413e-04 1.06400e-03 1.06400e-03 3.55457e-04 3.55457e-04 8.37552e-04 8.37552e-04 1.51103e-08 1.51103e-08
+5.50000e+00 1.64073e-03 2.12816e-04 2.12816e-04 2.15862e-03 2.15862e-03 2.71480e-04 2.71480e-04 1.10647e-03 1.10647e-03 3.52311e-04 3.52311e-04 1.17414e-03 1.17414e-03 8.82030e-08 8.82030e-08
+5.60000e+00 1.38305e-03 3.15679e-04 3.15679e-04 2.54923e-03 2.54923e-03 2.75242e-04 2.75242e-04 1.32726e-03 1.32726e-03 3.51425e-04 3.51425e-04 1.52290e-03 1.52290e-03 4.17530e-07 4.17530e-07
+5.70000e+00 1.33614e-03 4.70705e-04 4.70705e-04 3.06735e-03 3.06735e-03 3.34875e-04 3.34875e-04 1.65095e-03 1.65095e-03 3.56333e-04 3.56333e-04 1.80197e-03 1.80197e-03 1.60275e-06 1.60275e-06
+5.80000e+00 1.37924e-03 6.38137e-04 6.38137e-04 3.44882e-03 3.44882e-03 4.30290e-04 4.30290e-04 1.94223e-03 1.94223e-03 3.73991e-04 3.73991e-04 1.92617e-03 1.92617e-03 4.98731e-06 4.98731e-06
+5.90000e+00 1.45483e-03 7.55599e-04 7.55599e-04 3.49617e-03 3.49617e-03 5.11150e-04 5.11150e-04 2.06289e-03 2.06289e-03 3.97725e-04 3.97725e-04 1.87370e-03 1.87370e-03 1.25727e-05 1.25727e-05
+6.00000e+00 1.53948e-03 7.70601e-04 7.70601e-04 3.19202e-03 3.19202e-03 5.29865e-04 5.29865e-04 1.94599e-03 1.94599e-03 4.05916e-04 4.05916e-04 1.70002e-03 1.70002e-03 2.56570e-05 2.56570e-05
+6.10000e+00 1.58568e-03 6.73822e-04 6.73822e-04 2.66436e-03 2.66436e-03 4.72139e-04 4.72139e-04 1.62943e-03 1.62943e-03 3.79582e-04 3.79582e-04 1.47514e-03 1.47514e-03 4.23429e-05 4.23429e-05
+6.20000e+00 1.51599e-03 5.04199e-04 5.04199e-04 2.06232e-03 2.06232e-03 3.61528e-04 3.61528e-04 1.21767e-03 1.21767e-03 3.17962e-04 3.17962e-04 1.22482e-03 1.22482e-03 5.64558e-05 5.64558e-05
+6.30000e+00 1.28486e-03 3.22258e-04 3.22258e-04 1.47827e-03 1.47827e-03 2.38643e-04 2.38643e-04 8.14408e-04 8.14408e-04 2.36637e-04 2.36637e-04 9.44342e-04 9.44342e-04 6.07488e-05 6.07488e-05
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/input.toml b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/input.toml
new file mode 100644
index 00000000..14db987d
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/input.toml
@@ -0,0 +1,33 @@
+[base]
+dimension = 9
+output_dir = "output"
+
+[solver]
+name = "sim-trhepd-rheed"
+run_scheme = "subprocess"
+generate_rocking_curve = false
+
+[solver.config]
+cal_number = [1, 2, 4, 6, 8]
+surface_exec_file = "../../bin/surf.exe"
+
+[solver.post]
+normalization = "MANY_BEAM"
+weight_type = "calc"
+Rfactor_type = "A"
+omega = 0.5
+remove_work_dir = false
+
+[solver.param]
+string_list = ["value_01", "value_02","value_03", "value_04","value_05", "value_06", "value_07","value_08", "value_09"]
+
+[solver.reference]
+path = "experiment.txt"
+exp_number = [1, 2, 4, 6, 8]
+
+[algorithm]
+name = "mapper"
+label_list = ["X1", "X2", "X3", "Y3", "Z1", "Z2", "Z3", "Z4", "Z5"]
+
+[algorithm.param]
+mesh_path = "MeshData.txt"
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/prepare.sh b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/prepare.sh
new file mode 100644
index 00000000..f93e6b8e
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/prepare.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+rm -rf ./output
+rm -f bulkP.b
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/ref_ColorMap.txt b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/ref_ColorMap.txt
new file mode 100644
index 00000000..0ca78806
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/ref_ColorMap.txt
@@ -0,0 +1,10 @@
+0.500000 1.000000 1.500000 1.500000 5.400000 4.800000 3.800000 2.100000 2.000000 0.000000
+5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 0.044132
+4.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 0.042504
+5.000000 4.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 0.042504
+5.000000 5.000000 4.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 0.042519
+5.000000 5.000000 5.000000 4.000000 5.000000 5.000000 5.000000 5.000000 5.000000 0.044132
+5.000000 5.000000 5.000000 5.000000 4.000000 5.000000 5.000000 5.000000 5.000000 0.045994
+5.000000 5.000000 5.000000 5.000000 5.000000 4.000000 5.000000 5.000000 5.000000 0.045994
+5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 4.000000 5.000000 5.000000 0.045974
+5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 4.000000 5.000000 0.043892
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/template.txt b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/template.txt
new file mode 100644
index 00000000..8469cd87
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A/template.txt
@@ -0,0 +1,16 @@
+2 ,NELMS, -------- Ge(001)-c4x2
+32,1.2,0.15 ,Ge Z,da1,sap
+0.6,0.6,0.6 ,BH(I),BK(I),BZ(I)
+32,1.2,0.15 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+9,4,0,0,2,1.7,-0.5,0.5 ,NSGS,msa,msb,nsa,nsb,dthick,DXS,DYS
+8 ,NATM
+1, 1.0, value_01, 1.00000, value_05 ,IELM(I),ocr(I),X(I),Y(I),Z(I
+1, 1.0, value_02, 1.00000, value_06
+2, 1.0, value_03, value_04, value_07
+2, 1.0, 2.00000, 1.49751, value_08
+2, 1.0, 1.00000, 1.50000, value_09
+2, 1.0, 0.00000, 1.00000, 0.849425
+2, 1.0, 2.00000, 1.00000, 0.809425
+2, 1.0, 1.00997, 1.00000, 0.599425
+1,1 ,(WDOM,I=1,NDOM)
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/MeshData.txt b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/MeshData.txt
new file mode 100644
index 00000000..71d1b50c
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/MeshData.txt
@@ -0,0 +1,10 @@
+0 0.5 1.0 1.5 1.5 5.4 4.8 3.8 2.1 2.0
+1 5.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0
+2 4.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0
+3 5.0 4.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0
+4 5.0 5.0 4.0 5.0 5.0 5.0 5.0 5.0 5.0
+5 5.0 5.0 5.0 4.0 5.0 5.0 5.0 5.0 5.0
+6 5.0 5.0 5.0 5.0 4.0 5.0 5.0 5.0 5.0
+7 5.0 5.0 5.0 5.0 5.0 4.0 5.0 5.0 5.0
+8 5.0 5.0 5.0 5.0 5.0 5.0 4.0 5.0 5.0
+9 5.0 5.0 5.0 5.0 5.0 5.0 5.0 4.0 5.0
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/bulk.txt b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/bulk.txt
new file mode 100644
index 00000000..a321798b
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/bulk.txt
@@ -0,0 +1,14 @@
+2,1,2 ,NH,NK,NDOM, -------- Ge(001) bulk
+7,15 ,(NB,I=1,NDOM)
+0,90 ,(RDOM,I=1,NDOM)
+0,0,0,1,0,-1,0,2,0,-2,0,3,0,-3 ,(IH(I),IK(I),I=1,NB)
+0,0,1,0,-1,0,2,0,-2,0,3,0,-3,0,4,0,-4,0,5,0,-5,0,6,0,-6,0,7,0,-7,0 ,(IH(I),IK(I),I=1,NB)
+10,0,0,0,0.3,6.3,0.1 ,BE,AZI,AZF,DAZ,GI,GF,DG
+0.1,100 ,DZ,ML
+1 ,NELM
+32,1.2,0.15 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+6,4.01319,4.01319,90,2.83770,0.5,0.5 ,NSG,AA,BB,GAM,CC,DX,DY
+2 ,NATM
+1,1.0,0.00000,0.50000, 2.12833 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1,1.0,0.00000,0.00000, 0.70948 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/do.sh b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/do.sh
new file mode 100644
index 00000000..9f194c24
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/do.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+#CMD=py2dmat-sim-trhepd-rheed
+CMD="python3 ../../../src/main.py"
+
+sh prepare.sh
+
+../../bin/bulk.exe
+
+#time $CMD input.toml
+time mpiexec -np 4 $CMD input.toml
+
+result=output/ColorMap.txt
+reference=ref_ColorMap.txt
+
+echo diff $result $reference
+res=0
+diff $result $reference || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $result and $reference differ
+ false
+fi
+
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/experiment.txt b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/experiment.txt
new file mode 100644
index 00000000..d2075d33
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/experiment.txt
@@ -0,0 +1,61 @@
+3.00000e-01 8.20372e-03 2.54229e-06 2.54229e-06 9.88860e-15 9.88860e-15 6.88084e-33 6.88084e-33 4.60049e-54 4.60049e-54 4.51983e-87 4.51983e-87 3.53221e-125 3.53221e-125 2.28323e-173 2.28323e-173
+4.00000e-01 1.14751e-02 1.04244e-05 1.04244e-05 2.49203e-13 2.49203e-13 1.26542e-30 1.26542e-30 4.98289e-51 4.98289e-51 3.60151e-83 3.60151e-83 2.07188e-120 2.07188e-120 9.85900e-168 9.85900e-168
+5.00000e-01 1.46340e-02 3.58730e-05 3.58730e-05 5.04417e-12 5.04417e-12 1.86515e-28 1.86515e-28 4.32416e-48 4.32416e-48 2.29890e-79 2.29890e-79 9.73541e-116 9.73541e-116 3.41025e-162 3.41025e-162
+6.00000e-01 1.74036e-02 1.04606e-04 1.04606e-04 8.20593e-11 8.20593e-11 2.20358e-26 2.20358e-26 3.00666e-45 3.00666e-45 1.17553e-75 1.17553e-75 3.66450e-111 3.66450e-111 9.44952e-157 9.44952e-157
+7.00000e-01 1.96261e-02 2.61079e-04 2.61079e-04 1.07379e-09 1.07379e-09 2.08711e-24 2.08711e-24 1.67514e-42 1.67514e-42 4.81525e-72 4.81525e-72 1.10496e-106 1.10496e-106 2.09751e-151 2.09751e-151
+8.00000e-01 2.11810e-02 5.62998e-04 5.62998e-04 1.13137e-08 1.13137e-08 1.58509e-22 1.58509e-22 7.47877e-40 7.47877e-40 1.58009e-68 1.58009e-68 2.66901e-102 2.66901e-102 3.72967e-146 3.72967e-146
+9.00000e-01 2.19506e-02 1.05701e-03 1.05701e-03 9.61019e-08 9.61019e-08 9.65510e-21 9.65510e-21 2.67582e-37 2.67582e-37 4.15360e-65 4.15360e-65 5.16449e-98 5.16449e-98 5.31259e-141 5.31259e-141
+1.00000e+00 2.18837e-02 1.73666e-03 1.73666e-03 6.59148e-07 6.59148e-07 4.71837e-19 4.71837e-19 7.67314e-35 7.67314e-35 8.74678e-62 8.74678e-62 8.00527e-94 8.00527e-94 6.06197e-136 6.06197e-136
+1.10000e+00 2.11118e-02 2.50352e-03 2.50352e-03 3.65776e-06 3.65776e-06 1.85068e-17 1.85068e-17 1.76374e-32 1.76374e-32 1.47555e-58 1.47555e-58 9.94026e-90 9.94026e-90 5.54106e-131 5.54106e-131
+1.20000e+00 2.00197e-02 3.17036e-03 3.17036e-03 1.64630e-05 1.64630e-05 5.82895e-16 5.82895e-16 3.25019e-30 3.25019e-30 1.99411e-55 1.99411e-55 9.88767e-86 9.88767e-86 4.05736e-126 4.05736e-126
+1.30000e+00 1.91652e-02 3.53255e-03 3.53255e-03 6.02887e-05 6.02887e-05 1.47520e-14 1.47520e-14 4.80262e-28 4.80262e-28 2.15890e-52 2.15890e-52 7.87888e-82 7.87888e-82 2.37994e-121 2.37994e-121
+1.40000e+00 1.90127e-02 3.48189e-03 3.48189e-03 1.80376e-04 1.80376e-04 3.00236e-13 3.00236e-13 5.69175e-26 5.69175e-26 1.87246e-49 1.87246e-49 5.02934e-78 5.02934e-78 1.11831e-116 1.11831e-116
+1.50000e+00 1.95992e-02 3.08705e-03 3.08705e-03 4.43302e-04 4.43302e-04 4.91905e-12 4.91905e-12 5.41178e-24 5.41178e-24 1.30105e-46 1.30105e-46 2.57178e-74 2.57178e-74 4.20947e-112 4.20947e-112
+1.60000e+00 2.03890e-02 2.57618e-03 2.57618e-03 9.01644e-04 9.01644e-04 6.49662e-11 6.49662e-11 4.12970e-22 4.12970e-22 7.24244e-44 7.24244e-44 1.05351e-70 1.05351e-70 1.26931e-107 1.26931e-107
+1.70000e+00 2.05290e-02 2.22146e-03 2.22146e-03 1.53385e-03 1.53385e-03 6.92826e-10 6.92826e-10 2.53031e-20 2.53031e-20 3.22996e-41 3.22996e-41 3.45717e-67 3.45717e-67 3.06607e-103 3.06607e-103
+1.80000e+00 1.94096e-02 2.18932e-03 2.18932e-03 2.21633e-03 2.21633e-03 5.97919e-09 5.97919e-09 1.24551e-18 1.24551e-18 1.15409e-38 1.15409e-38 9.08840e-64 9.08840e-64 5.93296e-99 5.93296e-99
+1.90000e+00 1.71097e-02 2.45030e-03 2.45030e-03 2.78148e-03 2.78148e-03 4.18750e-08 4.18750e-08 4.92860e-17 4.92860e-17 3.30394e-36 3.30394e-36 1.91400e-60 1.91400e-60 9.19679e-95 9.19679e-95
+2.00000e+00 1.43591e-02 2.81912e-03 2.81912e-03 3.12490e-03 3.12490e-03 2.38836e-07 2.38836e-07 1.56913e-15 1.56913e-15 7.57864e-34 7.57864e-34 3.22913e-57 3.22913e-57 1.14203e-90 1.14203e-90
+2.10000e+00 1.20865e-02 3.10041e-03 3.10041e-03 3.25578e-03 3.25578e-03 1.11435e-06 1.11435e-06 4.02329e-14 4.02329e-14 1.39297e-31 1.39297e-31 4.36442e-54 4.36442e-54 1.13605e-86 1.13605e-86
+2.20000e+00 1.09633e-02 3.21399e-03 3.21399e-03 3.24916e-03 3.24916e-03 4.27726e-06 4.27726e-06 8.31769e-13 8.31769e-13 2.05172e-29 2.05172e-29 4.72574e-51 4.72574e-51 9.05318e-83 9.05318e-83
+2.30000e+00 1.12236e-02 3.19005e-03 3.19005e-03 3.17788e-03 3.17788e-03 1.36022e-05 1.36022e-05 1.38846e-11 1.38846e-11 2.42190e-27 2.42190e-27 4.09943e-48 4.09943e-48 5.77945e-79 5.77945e-79
+2.40000e+00 1.26847e-02 3.06482e-03 3.06482e-03 3.10461e-03 3.10461e-03 3.61631e-05 3.61631e-05 1.87457e-10 1.87457e-10 2.29143e-25 2.29143e-25 2.84903e-45 2.84903e-45 2.95569e-75 2.95569e-75
+2.50000e+00 1.47993e-02 2.81322e-03 2.81322e-03 3.10625e-03 3.10625e-03 8.13202e-05 8.13202e-05 2.05098e-09 2.05098e-09 1.73793e-23 1.73793e-23 1.58637e-42 1.58637e-42 1.21094e-71 1.21094e-71
+2.60000e+00 1.67805e-02 2.39686e-03 2.39686e-03 3.24955e-03 3.24955e-03 1.57036e-04 1.57036e-04 1.82269e-08 1.82269e-08 1.05686e-21 1.05686e-21 7.07715e-40 7.07715e-40 3.97449e-68 3.97449e-68
+2.70000e+00 1.79264e-02 1.85723e-03 1.85723e-03 3.51557e-03 3.51557e-03 2.65495e-04 2.65495e-04 1.31923e-07 1.31923e-07 5.15425e-20 5.15425e-20 2.52977e-37 2.52977e-37 1.04506e-64 1.04506e-64
+2.80000e+00 1.79907e-02 1.33093e-03 1.33093e-03 3.76876e-03 3.76876e-03 4.01966e-04 4.01966e-04 7.80115e-07 7.80115e-07 2.01655e-18 2.01655e-18 7.24591e-35 7.24591e-35 2.20148e-61 2.20148e-61
+2.90000e+00 1.72421e-02 9.65817e-04 9.65817e-04 3.83828e-03 3.83828e-03 5.57429e-04 5.57429e-04 3.78303e-06 3.78303e-06 6.33181e-17 6.33181e-17 1.66313e-32 1.66313e-32 3.71541e-58 3.71541e-58
+3.00000e+00 1.61322e-02 8.30083e-04 8.30083e-04 3.64961e-03 3.64961e-03 7.20742e-04 7.20742e-04 1.51116e-05 1.51116e-05 1.59643e-15 1.59643e-15 3.05929e-30 3.05929e-30 5.02379e-55 5.02379e-55
+3.10000e+00 1.49123e-02 8.92997e-04 8.92997e-04 3.27932e-03 3.27932e-03 8.78263e-04 8.78263e-04 5.00004e-05 5.00004e-05 3.23432e-14 3.23432e-14 4.51043e-28 4.51043e-28 5.44257e-52 5.44257e-52
+3.20000e+00 1.35465e-02 1.06737e-03 1.06737e-03 2.88348e-03 2.88348e-03 1.01433e-03 1.01433e-03 1.37994e-04 1.37994e-04 5.27039e-13 5.27039e-13 5.33063e-26 5.33063e-26 4.72436e-49 4.72436e-49
+3.30000e+00 1.19172e-02 1.26022e-03 1.26022e-03 2.57067e-03 2.57067e-03 1.11335e-03 1.11335e-03 3.20529e-04 3.20529e-04 6.91671e-12 6.91671e-12 5.05096e-24 5.05096e-24 3.28603e-46 3.28603e-46
+3.40000e+00 1.00537e-02 1.40135e-03 1.40135e-03 2.33714e-03 2.33714e-03 1.15940e-03 1.15940e-03 6.33766e-04 6.33766e-04 7.32418e-11 7.32418e-11 3.83791e-22 3.83791e-22 1.83156e-43 1.83156e-43
+3.50000e+00 8.17053e-03 1.45385e-03 1.45385e-03 2.12304e-03 2.12304e-03 1.13607e-03 1.13607e-03 1.08143e-03 1.08143e-03 6.27478e-10 6.27478e-10 2.33911e-20 2.33911e-20 8.18137e-41 8.18137e-41
+3.60000e+00 6.53572e-03 1.41927e-03 1.41927e-03 1.92999e-03 1.92999e-03 1.03519e-03 1.03519e-03 1.61626e-03 1.61626e-03 4.36723e-09 4.36723e-09 1.14389e-18 1.14389e-18 2.92909e-38 2.92909e-38
+3.70000e+00 5.35999e-03 1.33367e-03 1.33367e-03 1.86928e-03 1.86928e-03 8.70233e-04 8.70233e-04 2.14410e-03 2.14410e-03 2.48549e-08 2.48549e-08 4.49016e-17 4.49016e-17 8.40612e-36 8.40612e-36
+3.80000e+00 4.81712e-03 1.24066e-03 1.24066e-03 2.07870e-03 2.07870e-03 6.75861e-04 6.75861e-04 2.54646e-03 2.54646e-03 1.16900e-07 1.16900e-07 1.41547e-15 1.41547e-15 1.93413e-33 1.93413e-33
+3.90000e+00 5.09106e-03 1.15259e-03 1.15259e-03 2.58615e-03 2.58615e-03 4.89391e-04 4.89391e-04 2.71476e-03 2.71476e-03 4.62218e-07 4.62218e-07 3.58560e-14 3.58560e-14 3.56849e-31 3.56849e-31
+4.00000e+00 6.27917e-03 1.04113e-03 1.04113e-03 3.25723e-03 3.25723e-03 3.33325e-04 3.33325e-04 2.59542e-03 2.59542e-03 1.57650e-06 1.57650e-06 7.30420e-13 7.30420e-13 5.28077e-29 5.28077e-29
+4.10000e+00 8.18460e-03 8.74899e-04 8.74899e-04 3.88244e-03 3.88244e-03 2.14609e-04 2.14609e-04 2.22842e-03 2.22842e-03 4.79133e-06 4.79133e-06 1.19766e-11 1.19766e-11 6.26976e-27 6.26976e-27
+4.20000e+00 1.02521e-02 6.63215e-04 6.63215e-04 4.31701e-03 4.31701e-03 1.33479e-04 1.33479e-04 1.74106e-03 1.74106e-03 1.33460e-05 1.33460e-05 1.58248e-10 1.58248e-10 5.97443e-25 5.97443e-25
+4.30000e+00 1.18201e-02 4.56534e-04 4.56534e-04 4.53705e-03 4.53705e-03 8.83076e-05 8.83076e-05 1.28846e-03 1.28846e-03 3.43304e-05 3.43304e-05 1.68730e-09 1.68730e-09 4.57109e-23 4.57109e-23
+4.40000e+00 1.25166e-02 3.07901e-04 3.07901e-04 4.58438e-03 4.58438e-03 7.48076e-05 7.48076e-05 9.85554e-04 9.85554e-04 8.01387e-05 8.01387e-05 1.45425e-08 1.45425e-08 2.80956e-21 2.80956e-21
+4.50000e+00 1.24346e-02 2.39831e-04 2.39831e-04 4.49553e-03 4.49553e-03 8.47877e-05 8.47877e-05 8.78596e-04 8.78596e-04 1.64859e-04 1.64859e-04 1.01531e-07 1.01531e-07 1.38807e-19 1.38807e-19
+4.60000e+00 1.19322e-02 2.40983e-04 2.40983e-04 4.28955e-03 4.28955e-03 1.06907e-04 1.06907e-04 9.55939e-04 9.55939e-04 2.91399e-04 2.91399e-04 5.75738e-07 5.75738e-07 5.51622e-18 5.51622e-18
+4.70000e+00 1.12782e-02 2.80574e-04 2.80574e-04 3.99474e-03 3.99474e-03 1.30423e-04 1.30423e-04 1.16635e-03 1.16635e-03 4.36262e-04 4.36262e-04 2.66058e-06 2.66058e-06 1.76470e-16 1.76470e-16
+4.80000e+00 1.04800e-02 3.23137e-04 3.23137e-04 3.66468e-03 3.66468e-03 1.51930e-04 1.51930e-04 1.42843e-03 1.42843e-03 5.51828e-04 5.51828e-04 1.00645e-05 1.00645e-05 4.54869e-15 4.54869e-15
+4.90000e+00 9.40087e-03 3.40575e-04 3.40575e-04 3.35809e-03 3.35809e-03 1.78878e-04 1.78878e-04 1.64275e-03 1.64275e-03 5.95529e-04 5.95529e-04 3.13600e-05 3.13600e-05 9.45602e-14 9.45602e-14
+5.00000e+00 7.98100e-03 3.21858e-04 3.21858e-04 3.09388e-03 3.09388e-03 2.21316e-04 2.21316e-04 1.72244e-03 1.72244e-03 5.62367e-04 5.62367e-04 8.12272e-05 8.12272e-05 1.58702e-12 1.58702e-12
+5.10000e+00 6.33564e-03 2.75141e-04 2.75141e-04 2.83349e-03 2.83349e-03 2.75830e-04 2.75830e-04 1.63475e-03 1.63475e-03 4.86986e-04 4.86986e-04 1.77338e-04 1.77338e-04 2.15260e-11 2.15260e-11
+5.20000e+00 4.69185e-03 2.20277e-04 2.20277e-04 2.53384e-03 2.53384e-03 3.20101e-04 3.20101e-04 1.42421e-03 1.42421e-03 4.14585e-04 4.14585e-04 3.33162e-04 3.33162e-04 2.36204e-10 2.36204e-10
+5.30000e+00 3.27797e-03 1.79027e-04 1.79027e-04 2.23107e-03 2.23107e-03 3.29667e-04 3.29667e-04 1.19533e-03 1.19533e-03 3.71111e-04 3.71111e-04 5.53645e-04 5.53645e-04 2.09869e-09 2.09869e-09
+5.40000e+00 2.24753e-03 1.70825e-04 1.70825e-04 2.05873e-03 2.05873e-03 3.03413e-04 3.03413e-04 1.06400e-03 1.06400e-03 3.55457e-04 3.55457e-04 8.37552e-04 8.37552e-04 1.51103e-08 1.51103e-08
+5.50000e+00 1.64073e-03 2.12816e-04 2.12816e-04 2.15862e-03 2.15862e-03 2.71480e-04 2.71480e-04 1.10647e-03 1.10647e-03 3.52311e-04 3.52311e-04 1.17414e-03 1.17414e-03 8.82030e-08 8.82030e-08
+5.60000e+00 1.38305e-03 3.15679e-04 3.15679e-04 2.54923e-03 2.54923e-03 2.75242e-04 2.75242e-04 1.32726e-03 1.32726e-03 3.51425e-04 3.51425e-04 1.52290e-03 1.52290e-03 4.17530e-07 4.17530e-07
+5.70000e+00 1.33614e-03 4.70705e-04 4.70705e-04 3.06735e-03 3.06735e-03 3.34875e-04 3.34875e-04 1.65095e-03 1.65095e-03 3.56333e-04 3.56333e-04 1.80197e-03 1.80197e-03 1.60275e-06 1.60275e-06
+5.80000e+00 1.37924e-03 6.38137e-04 6.38137e-04 3.44882e-03 3.44882e-03 4.30290e-04 4.30290e-04 1.94223e-03 1.94223e-03 3.73991e-04 3.73991e-04 1.92617e-03 1.92617e-03 4.98731e-06 4.98731e-06
+5.90000e+00 1.45483e-03 7.55599e-04 7.55599e-04 3.49617e-03 3.49617e-03 5.11150e-04 5.11150e-04 2.06289e-03 2.06289e-03 3.97725e-04 3.97725e-04 1.87370e-03 1.87370e-03 1.25727e-05 1.25727e-05
+6.00000e+00 1.53948e-03 7.70601e-04 7.70601e-04 3.19202e-03 3.19202e-03 5.29865e-04 5.29865e-04 1.94599e-03 1.94599e-03 4.05916e-04 4.05916e-04 1.70002e-03 1.70002e-03 2.56570e-05 2.56570e-05
+6.10000e+00 1.58568e-03 6.73822e-04 6.73822e-04 2.66436e-03 2.66436e-03 4.72139e-04 4.72139e-04 1.62943e-03 1.62943e-03 3.79582e-04 3.79582e-04 1.47514e-03 1.47514e-03 4.23429e-05 4.23429e-05
+6.20000e+00 1.51599e-03 5.04199e-04 5.04199e-04 2.06232e-03 2.06232e-03 3.61528e-04 3.61528e-04 1.21767e-03 1.21767e-03 3.17962e-04 3.17962e-04 1.22482e-03 1.22482e-03 5.64558e-05 5.64558e-05
+6.30000e+00 1.28486e-03 3.22258e-04 3.22258e-04 1.47827e-03 1.47827e-03 2.38643e-04 2.38643e-04 8.14408e-04 8.14408e-04 2.36637e-04 2.36637e-04 9.44342e-04 9.44342e-04 6.07488e-05 6.07488e-05
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/input.toml b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/input.toml
new file mode 100644
index 00000000..086d37b0
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/input.toml
@@ -0,0 +1,33 @@
+[base]
+dimension = 9
+output_dir = "output"
+
+[solver]
+name = "sim-trhepd-rheed"
+run_scheme = "subprocess"
+generate_rocking_curve = false
+
+[solver.config]
+cal_number = [1, 2, 4, 6, 8]
+surface_exec_file = "../../bin/surf.exe"
+
+[solver.post]
+normalization = "MANY_BEAM"
+weight_type = "calc"
+Rfactor_type = "A2"
+omega = 0.5
+remove_work_dir = false
+
+[solver.param]
+string_list = ["value_01", "value_02","value_03", "value_04","value_05", "value_06", "value_07","value_08", "value_09"]
+
+[solver.reference]
+path = "experiment.txt"
+exp_number = [1, 2, 4, 6, 8]
+
+[algorithm]
+name = "mapper"
+label_list = ["X1", "X2", "X3", "Y3", "Z1", "Z2", "Z3", "Z4", "Z5"]
+
+[algorithm.param]
+mesh_path = "MeshData.txt"
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/prepare.sh b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/prepare.sh
new file mode 100644
index 00000000..f93e6b8e
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/prepare.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+rm -rf ./output
+rm -f bulkP.b
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/ref_ColorMap.txt b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/ref_ColorMap.txt
new file mode 100644
index 00000000..81dd323e
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/ref_ColorMap.txt
@@ -0,0 +1,10 @@
+0.500000 1.000000 1.500000 1.500000 5.400000 4.800000 3.800000 2.100000 2.000000 0.000000
+5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 0.001948
+4.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 0.001807
+5.000000 4.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 0.001807
+5.000000 5.000000 4.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 0.001808
+5.000000 5.000000 5.000000 4.000000 5.000000 5.000000 5.000000 5.000000 5.000000 0.001948
+5.000000 5.000000 5.000000 5.000000 4.000000 5.000000 5.000000 5.000000 5.000000 0.002115
+5.000000 5.000000 5.000000 5.000000 5.000000 4.000000 5.000000 5.000000 5.000000 0.002115
+5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 4.000000 5.000000 5.000000 0.002114
+5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 4.000000 5.000000 0.001927
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/template.txt b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/template.txt
new file mode 100644
index 00000000..8469cd87
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_calc_A2/template.txt
@@ -0,0 +1,16 @@
+2 ,NELMS, -------- Ge(001)-c4x2
+32,1.2,0.15 ,Ge Z,da1,sap
+0.6,0.6,0.6 ,BH(I),BK(I),BZ(I)
+32,1.2,0.15 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+9,4,0,0,2,1.7,-0.5,0.5 ,NSGS,msa,msb,nsa,nsb,dthick,DXS,DYS
+8 ,NATM
+1, 1.0, value_01, 1.00000, value_05 ,IELM(I),ocr(I),X(I),Y(I),Z(I
+1, 1.0, value_02, 1.00000, value_06
+2, 1.0, value_03, value_04, value_07
+2, 1.0, 2.00000, 1.49751, value_08
+2, 1.0, 1.00000, 1.50000, value_09
+2, 1.0, 0.00000, 1.00000, 0.849425
+2, 1.0, 2.00000, 1.00000, 0.809425
+2, 1.0, 1.00997, 1.00000, 0.599425
+1,1 ,(WDOM,I=1,NDOM)
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/MeshData.txt b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/MeshData.txt
new file mode 100644
index 00000000..71d1b50c
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/MeshData.txt
@@ -0,0 +1,10 @@
+0 0.5 1.0 1.5 1.5 5.4 4.8 3.8 2.1 2.0
+1 5.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0
+2 4.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0
+3 5.0 4.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0
+4 5.0 5.0 4.0 5.0 5.0 5.0 5.0 5.0 5.0
+5 5.0 5.0 5.0 4.0 5.0 5.0 5.0 5.0 5.0
+6 5.0 5.0 5.0 5.0 4.0 5.0 5.0 5.0 5.0
+7 5.0 5.0 5.0 5.0 5.0 4.0 5.0 5.0 5.0
+8 5.0 5.0 5.0 5.0 5.0 5.0 4.0 5.0 5.0
+9 5.0 5.0 5.0 5.0 5.0 5.0 5.0 4.0 5.0
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/bulk.txt b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/bulk.txt
new file mode 100644
index 00000000..a321798b
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/bulk.txt
@@ -0,0 +1,14 @@
+2,1,2 ,NH,NK,NDOM, -------- Ge(001) bulk
+7,15 ,(NB,I=1,NDOM)
+0,90 ,(RDOM,I=1,NDOM)
+0,0,0,1,0,-1,0,2,0,-2,0,3,0,-3 ,(IH(I),IK(I),I=1,NB)
+0,0,1,0,-1,0,2,0,-2,0,3,0,-3,0,4,0,-4,0,5,0,-5,0,6,0,-6,0,7,0,-7,0 ,(IH(I),IK(I),I=1,NB)
+10,0,0,0,0.3,6.3,0.1 ,BE,AZI,AZF,DAZ,GI,GF,DG
+0.1,100 ,DZ,ML
+1 ,NELM
+32,1.2,0.15 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+6,4.01319,4.01319,90,2.83770,0.5,0.5 ,NSG,AA,BB,GAM,CC,DX,DY
+2 ,NATM
+1,1.0,0.00000,0.50000, 2.12833 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1,1.0,0.00000,0.00000, 0.70948 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/do.sh b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/do.sh
new file mode 100644
index 00000000..9f194c24
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/do.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+#CMD=py2dmat-sim-trhepd-rheed
+CMD="python3 ../../../src/main.py"
+
+sh prepare.sh
+
+../../bin/bulk.exe
+
+#time $CMD input.toml
+time mpiexec -np 4 $CMD input.toml
+
+result=output/ColorMap.txt
+reference=ref_ColorMap.txt
+
+echo diff $result $reference
+res=0
+diff $result $reference || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $result and $reference differ
+ false
+fi
+
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/experiment.txt b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/experiment.txt
new file mode 100644
index 00000000..d2075d33
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/experiment.txt
@@ -0,0 +1,61 @@
+3.00000e-01 8.20372e-03 2.54229e-06 2.54229e-06 9.88860e-15 9.88860e-15 6.88084e-33 6.88084e-33 4.60049e-54 4.60049e-54 4.51983e-87 4.51983e-87 3.53221e-125 3.53221e-125 2.28323e-173 2.28323e-173
+4.00000e-01 1.14751e-02 1.04244e-05 1.04244e-05 2.49203e-13 2.49203e-13 1.26542e-30 1.26542e-30 4.98289e-51 4.98289e-51 3.60151e-83 3.60151e-83 2.07188e-120 2.07188e-120 9.85900e-168 9.85900e-168
+5.00000e-01 1.46340e-02 3.58730e-05 3.58730e-05 5.04417e-12 5.04417e-12 1.86515e-28 1.86515e-28 4.32416e-48 4.32416e-48 2.29890e-79 2.29890e-79 9.73541e-116 9.73541e-116 3.41025e-162 3.41025e-162
+6.00000e-01 1.74036e-02 1.04606e-04 1.04606e-04 8.20593e-11 8.20593e-11 2.20358e-26 2.20358e-26 3.00666e-45 3.00666e-45 1.17553e-75 1.17553e-75 3.66450e-111 3.66450e-111 9.44952e-157 9.44952e-157
+7.00000e-01 1.96261e-02 2.61079e-04 2.61079e-04 1.07379e-09 1.07379e-09 2.08711e-24 2.08711e-24 1.67514e-42 1.67514e-42 4.81525e-72 4.81525e-72 1.10496e-106 1.10496e-106 2.09751e-151 2.09751e-151
+8.00000e-01 2.11810e-02 5.62998e-04 5.62998e-04 1.13137e-08 1.13137e-08 1.58509e-22 1.58509e-22 7.47877e-40 7.47877e-40 1.58009e-68 1.58009e-68 2.66901e-102 2.66901e-102 3.72967e-146 3.72967e-146
+9.00000e-01 2.19506e-02 1.05701e-03 1.05701e-03 9.61019e-08 9.61019e-08 9.65510e-21 9.65510e-21 2.67582e-37 2.67582e-37 4.15360e-65 4.15360e-65 5.16449e-98 5.16449e-98 5.31259e-141 5.31259e-141
+1.00000e+00 2.18837e-02 1.73666e-03 1.73666e-03 6.59148e-07 6.59148e-07 4.71837e-19 4.71837e-19 7.67314e-35 7.67314e-35 8.74678e-62 8.74678e-62 8.00527e-94 8.00527e-94 6.06197e-136 6.06197e-136
+1.10000e+00 2.11118e-02 2.50352e-03 2.50352e-03 3.65776e-06 3.65776e-06 1.85068e-17 1.85068e-17 1.76374e-32 1.76374e-32 1.47555e-58 1.47555e-58 9.94026e-90 9.94026e-90 5.54106e-131 5.54106e-131
+1.20000e+00 2.00197e-02 3.17036e-03 3.17036e-03 1.64630e-05 1.64630e-05 5.82895e-16 5.82895e-16 3.25019e-30 3.25019e-30 1.99411e-55 1.99411e-55 9.88767e-86 9.88767e-86 4.05736e-126 4.05736e-126
+1.30000e+00 1.91652e-02 3.53255e-03 3.53255e-03 6.02887e-05 6.02887e-05 1.47520e-14 1.47520e-14 4.80262e-28 4.80262e-28 2.15890e-52 2.15890e-52 7.87888e-82 7.87888e-82 2.37994e-121 2.37994e-121
+1.40000e+00 1.90127e-02 3.48189e-03 3.48189e-03 1.80376e-04 1.80376e-04 3.00236e-13 3.00236e-13 5.69175e-26 5.69175e-26 1.87246e-49 1.87246e-49 5.02934e-78 5.02934e-78 1.11831e-116 1.11831e-116
+1.50000e+00 1.95992e-02 3.08705e-03 3.08705e-03 4.43302e-04 4.43302e-04 4.91905e-12 4.91905e-12 5.41178e-24 5.41178e-24 1.30105e-46 1.30105e-46 2.57178e-74 2.57178e-74 4.20947e-112 4.20947e-112
+1.60000e+00 2.03890e-02 2.57618e-03 2.57618e-03 9.01644e-04 9.01644e-04 6.49662e-11 6.49662e-11 4.12970e-22 4.12970e-22 7.24244e-44 7.24244e-44 1.05351e-70 1.05351e-70 1.26931e-107 1.26931e-107
+1.70000e+00 2.05290e-02 2.22146e-03 2.22146e-03 1.53385e-03 1.53385e-03 6.92826e-10 6.92826e-10 2.53031e-20 2.53031e-20 3.22996e-41 3.22996e-41 3.45717e-67 3.45717e-67 3.06607e-103 3.06607e-103
+1.80000e+00 1.94096e-02 2.18932e-03 2.18932e-03 2.21633e-03 2.21633e-03 5.97919e-09 5.97919e-09 1.24551e-18 1.24551e-18 1.15409e-38 1.15409e-38 9.08840e-64 9.08840e-64 5.93296e-99 5.93296e-99
+1.90000e+00 1.71097e-02 2.45030e-03 2.45030e-03 2.78148e-03 2.78148e-03 4.18750e-08 4.18750e-08 4.92860e-17 4.92860e-17 3.30394e-36 3.30394e-36 1.91400e-60 1.91400e-60 9.19679e-95 9.19679e-95
+2.00000e+00 1.43591e-02 2.81912e-03 2.81912e-03 3.12490e-03 3.12490e-03 2.38836e-07 2.38836e-07 1.56913e-15 1.56913e-15 7.57864e-34 7.57864e-34 3.22913e-57 3.22913e-57 1.14203e-90 1.14203e-90
+2.10000e+00 1.20865e-02 3.10041e-03 3.10041e-03 3.25578e-03 3.25578e-03 1.11435e-06 1.11435e-06 4.02329e-14 4.02329e-14 1.39297e-31 1.39297e-31 4.36442e-54 4.36442e-54 1.13605e-86 1.13605e-86
+2.20000e+00 1.09633e-02 3.21399e-03 3.21399e-03 3.24916e-03 3.24916e-03 4.27726e-06 4.27726e-06 8.31769e-13 8.31769e-13 2.05172e-29 2.05172e-29 4.72574e-51 4.72574e-51 9.05318e-83 9.05318e-83
+2.30000e+00 1.12236e-02 3.19005e-03 3.19005e-03 3.17788e-03 3.17788e-03 1.36022e-05 1.36022e-05 1.38846e-11 1.38846e-11 2.42190e-27 2.42190e-27 4.09943e-48 4.09943e-48 5.77945e-79 5.77945e-79
+2.40000e+00 1.26847e-02 3.06482e-03 3.06482e-03 3.10461e-03 3.10461e-03 3.61631e-05 3.61631e-05 1.87457e-10 1.87457e-10 2.29143e-25 2.29143e-25 2.84903e-45 2.84903e-45 2.95569e-75 2.95569e-75
+2.50000e+00 1.47993e-02 2.81322e-03 2.81322e-03 3.10625e-03 3.10625e-03 8.13202e-05 8.13202e-05 2.05098e-09 2.05098e-09 1.73793e-23 1.73793e-23 1.58637e-42 1.58637e-42 1.21094e-71 1.21094e-71
+2.60000e+00 1.67805e-02 2.39686e-03 2.39686e-03 3.24955e-03 3.24955e-03 1.57036e-04 1.57036e-04 1.82269e-08 1.82269e-08 1.05686e-21 1.05686e-21 7.07715e-40 7.07715e-40 3.97449e-68 3.97449e-68
+2.70000e+00 1.79264e-02 1.85723e-03 1.85723e-03 3.51557e-03 3.51557e-03 2.65495e-04 2.65495e-04 1.31923e-07 1.31923e-07 5.15425e-20 5.15425e-20 2.52977e-37 2.52977e-37 1.04506e-64 1.04506e-64
+2.80000e+00 1.79907e-02 1.33093e-03 1.33093e-03 3.76876e-03 3.76876e-03 4.01966e-04 4.01966e-04 7.80115e-07 7.80115e-07 2.01655e-18 2.01655e-18 7.24591e-35 7.24591e-35 2.20148e-61 2.20148e-61
+2.90000e+00 1.72421e-02 9.65817e-04 9.65817e-04 3.83828e-03 3.83828e-03 5.57429e-04 5.57429e-04 3.78303e-06 3.78303e-06 6.33181e-17 6.33181e-17 1.66313e-32 1.66313e-32 3.71541e-58 3.71541e-58
+3.00000e+00 1.61322e-02 8.30083e-04 8.30083e-04 3.64961e-03 3.64961e-03 7.20742e-04 7.20742e-04 1.51116e-05 1.51116e-05 1.59643e-15 1.59643e-15 3.05929e-30 3.05929e-30 5.02379e-55 5.02379e-55
+3.10000e+00 1.49123e-02 8.92997e-04 8.92997e-04 3.27932e-03 3.27932e-03 8.78263e-04 8.78263e-04 5.00004e-05 5.00004e-05 3.23432e-14 3.23432e-14 4.51043e-28 4.51043e-28 5.44257e-52 5.44257e-52
+3.20000e+00 1.35465e-02 1.06737e-03 1.06737e-03 2.88348e-03 2.88348e-03 1.01433e-03 1.01433e-03 1.37994e-04 1.37994e-04 5.27039e-13 5.27039e-13 5.33063e-26 5.33063e-26 4.72436e-49 4.72436e-49
+3.30000e+00 1.19172e-02 1.26022e-03 1.26022e-03 2.57067e-03 2.57067e-03 1.11335e-03 1.11335e-03 3.20529e-04 3.20529e-04 6.91671e-12 6.91671e-12 5.05096e-24 5.05096e-24 3.28603e-46 3.28603e-46
+3.40000e+00 1.00537e-02 1.40135e-03 1.40135e-03 2.33714e-03 2.33714e-03 1.15940e-03 1.15940e-03 6.33766e-04 6.33766e-04 7.32418e-11 7.32418e-11 3.83791e-22 3.83791e-22 1.83156e-43 1.83156e-43
+3.50000e+00 8.17053e-03 1.45385e-03 1.45385e-03 2.12304e-03 2.12304e-03 1.13607e-03 1.13607e-03 1.08143e-03 1.08143e-03 6.27478e-10 6.27478e-10 2.33911e-20 2.33911e-20 8.18137e-41 8.18137e-41
+3.60000e+00 6.53572e-03 1.41927e-03 1.41927e-03 1.92999e-03 1.92999e-03 1.03519e-03 1.03519e-03 1.61626e-03 1.61626e-03 4.36723e-09 4.36723e-09 1.14389e-18 1.14389e-18 2.92909e-38 2.92909e-38
+3.70000e+00 5.35999e-03 1.33367e-03 1.33367e-03 1.86928e-03 1.86928e-03 8.70233e-04 8.70233e-04 2.14410e-03 2.14410e-03 2.48549e-08 2.48549e-08 4.49016e-17 4.49016e-17 8.40612e-36 8.40612e-36
+3.80000e+00 4.81712e-03 1.24066e-03 1.24066e-03 2.07870e-03 2.07870e-03 6.75861e-04 6.75861e-04 2.54646e-03 2.54646e-03 1.16900e-07 1.16900e-07 1.41547e-15 1.41547e-15 1.93413e-33 1.93413e-33
+3.90000e+00 5.09106e-03 1.15259e-03 1.15259e-03 2.58615e-03 2.58615e-03 4.89391e-04 4.89391e-04 2.71476e-03 2.71476e-03 4.62218e-07 4.62218e-07 3.58560e-14 3.58560e-14 3.56849e-31 3.56849e-31
+4.00000e+00 6.27917e-03 1.04113e-03 1.04113e-03 3.25723e-03 3.25723e-03 3.33325e-04 3.33325e-04 2.59542e-03 2.59542e-03 1.57650e-06 1.57650e-06 7.30420e-13 7.30420e-13 5.28077e-29 5.28077e-29
+4.10000e+00 8.18460e-03 8.74899e-04 8.74899e-04 3.88244e-03 3.88244e-03 2.14609e-04 2.14609e-04 2.22842e-03 2.22842e-03 4.79133e-06 4.79133e-06 1.19766e-11 1.19766e-11 6.26976e-27 6.26976e-27
+4.20000e+00 1.02521e-02 6.63215e-04 6.63215e-04 4.31701e-03 4.31701e-03 1.33479e-04 1.33479e-04 1.74106e-03 1.74106e-03 1.33460e-05 1.33460e-05 1.58248e-10 1.58248e-10 5.97443e-25 5.97443e-25
+4.30000e+00 1.18201e-02 4.56534e-04 4.56534e-04 4.53705e-03 4.53705e-03 8.83076e-05 8.83076e-05 1.28846e-03 1.28846e-03 3.43304e-05 3.43304e-05 1.68730e-09 1.68730e-09 4.57109e-23 4.57109e-23
+4.40000e+00 1.25166e-02 3.07901e-04 3.07901e-04 4.58438e-03 4.58438e-03 7.48076e-05 7.48076e-05 9.85554e-04 9.85554e-04 8.01387e-05 8.01387e-05 1.45425e-08 1.45425e-08 2.80956e-21 2.80956e-21
+4.50000e+00 1.24346e-02 2.39831e-04 2.39831e-04 4.49553e-03 4.49553e-03 8.47877e-05 8.47877e-05 8.78596e-04 8.78596e-04 1.64859e-04 1.64859e-04 1.01531e-07 1.01531e-07 1.38807e-19 1.38807e-19
+4.60000e+00 1.19322e-02 2.40983e-04 2.40983e-04 4.28955e-03 4.28955e-03 1.06907e-04 1.06907e-04 9.55939e-04 9.55939e-04 2.91399e-04 2.91399e-04 5.75738e-07 5.75738e-07 5.51622e-18 5.51622e-18
+4.70000e+00 1.12782e-02 2.80574e-04 2.80574e-04 3.99474e-03 3.99474e-03 1.30423e-04 1.30423e-04 1.16635e-03 1.16635e-03 4.36262e-04 4.36262e-04 2.66058e-06 2.66058e-06 1.76470e-16 1.76470e-16
+4.80000e+00 1.04800e-02 3.23137e-04 3.23137e-04 3.66468e-03 3.66468e-03 1.51930e-04 1.51930e-04 1.42843e-03 1.42843e-03 5.51828e-04 5.51828e-04 1.00645e-05 1.00645e-05 4.54869e-15 4.54869e-15
+4.90000e+00 9.40087e-03 3.40575e-04 3.40575e-04 3.35809e-03 3.35809e-03 1.78878e-04 1.78878e-04 1.64275e-03 1.64275e-03 5.95529e-04 5.95529e-04 3.13600e-05 3.13600e-05 9.45602e-14 9.45602e-14
+5.00000e+00 7.98100e-03 3.21858e-04 3.21858e-04 3.09388e-03 3.09388e-03 2.21316e-04 2.21316e-04 1.72244e-03 1.72244e-03 5.62367e-04 5.62367e-04 8.12272e-05 8.12272e-05 1.58702e-12 1.58702e-12
+5.10000e+00 6.33564e-03 2.75141e-04 2.75141e-04 2.83349e-03 2.83349e-03 2.75830e-04 2.75830e-04 1.63475e-03 1.63475e-03 4.86986e-04 4.86986e-04 1.77338e-04 1.77338e-04 2.15260e-11 2.15260e-11
+5.20000e+00 4.69185e-03 2.20277e-04 2.20277e-04 2.53384e-03 2.53384e-03 3.20101e-04 3.20101e-04 1.42421e-03 1.42421e-03 4.14585e-04 4.14585e-04 3.33162e-04 3.33162e-04 2.36204e-10 2.36204e-10
+5.30000e+00 3.27797e-03 1.79027e-04 1.79027e-04 2.23107e-03 2.23107e-03 3.29667e-04 3.29667e-04 1.19533e-03 1.19533e-03 3.71111e-04 3.71111e-04 5.53645e-04 5.53645e-04 2.09869e-09 2.09869e-09
+5.40000e+00 2.24753e-03 1.70825e-04 1.70825e-04 2.05873e-03 2.05873e-03 3.03413e-04 3.03413e-04 1.06400e-03 1.06400e-03 3.55457e-04 3.55457e-04 8.37552e-04 8.37552e-04 1.51103e-08 1.51103e-08
+5.50000e+00 1.64073e-03 2.12816e-04 2.12816e-04 2.15862e-03 2.15862e-03 2.71480e-04 2.71480e-04 1.10647e-03 1.10647e-03 3.52311e-04 3.52311e-04 1.17414e-03 1.17414e-03 8.82030e-08 8.82030e-08
+5.60000e+00 1.38305e-03 3.15679e-04 3.15679e-04 2.54923e-03 2.54923e-03 2.75242e-04 2.75242e-04 1.32726e-03 1.32726e-03 3.51425e-04 3.51425e-04 1.52290e-03 1.52290e-03 4.17530e-07 4.17530e-07
+5.70000e+00 1.33614e-03 4.70705e-04 4.70705e-04 3.06735e-03 3.06735e-03 3.34875e-04 3.34875e-04 1.65095e-03 1.65095e-03 3.56333e-04 3.56333e-04 1.80197e-03 1.80197e-03 1.60275e-06 1.60275e-06
+5.80000e+00 1.37924e-03 6.38137e-04 6.38137e-04 3.44882e-03 3.44882e-03 4.30290e-04 4.30290e-04 1.94223e-03 1.94223e-03 3.73991e-04 3.73991e-04 1.92617e-03 1.92617e-03 4.98731e-06 4.98731e-06
+5.90000e+00 1.45483e-03 7.55599e-04 7.55599e-04 3.49617e-03 3.49617e-03 5.11150e-04 5.11150e-04 2.06289e-03 2.06289e-03 3.97725e-04 3.97725e-04 1.87370e-03 1.87370e-03 1.25727e-05 1.25727e-05
+6.00000e+00 1.53948e-03 7.70601e-04 7.70601e-04 3.19202e-03 3.19202e-03 5.29865e-04 5.29865e-04 1.94599e-03 1.94599e-03 4.05916e-04 4.05916e-04 1.70002e-03 1.70002e-03 2.56570e-05 2.56570e-05
+6.10000e+00 1.58568e-03 6.73822e-04 6.73822e-04 2.66436e-03 2.66436e-03 4.72139e-04 4.72139e-04 1.62943e-03 1.62943e-03 3.79582e-04 3.79582e-04 1.47514e-03 1.47514e-03 4.23429e-05 4.23429e-05
+6.20000e+00 1.51599e-03 5.04199e-04 5.04199e-04 2.06232e-03 2.06232e-03 3.61528e-04 3.61528e-04 1.21767e-03 1.21767e-03 3.17962e-04 3.17962e-04 1.22482e-03 1.22482e-03 5.64558e-05 5.64558e-05
+6.30000e+00 1.28486e-03 3.22258e-04 3.22258e-04 1.47827e-03 1.47827e-03 2.38643e-04 2.38643e-04 8.14408e-04 8.14408e-04 2.36637e-04 2.36637e-04 9.44342e-04 9.44342e-04 6.07488e-05 6.07488e-05
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/input.toml b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/input.toml
new file mode 100644
index 00000000..f1de777f
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/input.toml
@@ -0,0 +1,34 @@
+[base]
+dimension = 9
+output_dir = "output"
+
+[solver]
+name = "sim-trhepd-rheed"
+run_scheme = "subprocess"
+generate_rocking_curve = false
+
+[solver.config]
+cal_number = [1, 2, 4, 6, 8]
+surface_exec_file = "../../bin/surf.exe"
+
+[solver.post]
+normalization = "MANY_BEAM"
+weight_type = "manual"
+Rfactor_type = "A2"
+omega = 0.5
+spot_weight = [0.933, 0.026, 0.036, 0.003, 0.002]
+remove_work_dir = false
+
+[solver.param]
+string_list = ["value_01", "value_02","value_03", "value_04","value_05", "value_06", "value_07","value_08", "value_09"]
+
+[solver.reference]
+path = "experiment.txt"
+exp_number = [1, 2, 4, 6, 8]
+
+[algorithm]
+name = "mapper"
+label_list = ["X1", "X2", "X3", "Y3", "Z1", "Z2", "Z3", "Z4", "Z5"]
+
+[algorithm.param]
+mesh_path = "MeshData.txt"
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/prepare.sh b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/prepare.sh
new file mode 100644
index 00000000..f93e6b8e
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/prepare.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+rm -rf ./output
+rm -f bulkP.b
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/ref_ColorMap.txt b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/ref_ColorMap.txt
new file mode 100644
index 00000000..46550f5a
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/ref_ColorMap.txt
@@ -0,0 +1,10 @@
+0.500000 1.000000 1.500000 1.500000 5.400000 4.800000 3.800000 2.100000 2.000000 0.000000
+5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 0.003431
+4.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 0.003161
+5.000000 4.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 0.003161
+5.000000 5.000000 4.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 0.003163
+5.000000 5.000000 5.000000 4.000000 5.000000 5.000000 5.000000 5.000000 5.000000 0.003431
+5.000000 5.000000 5.000000 5.000000 4.000000 5.000000 5.000000 5.000000 5.000000 0.003575
+5.000000 5.000000 5.000000 5.000000 5.000000 4.000000 5.000000 5.000000 5.000000 0.003575
+5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 4.000000 5.000000 5.000000 0.003571
+5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 5.000000 4.000000 5.000000 0.004136
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/template.txt b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/template.txt
new file mode 100644
index 00000000..8469cd87
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/mapper_weight_manual/template.txt
@@ -0,0 +1,16 @@
+2 ,NELMS, -------- Ge(001)-c4x2
+32,1.2,0.15 ,Ge Z,da1,sap
+0.6,0.6,0.6 ,BH(I),BK(I),BZ(I)
+32,1.2,0.15 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+9,4,0,0,2,1.7,-0.5,0.5 ,NSGS,msa,msb,nsa,nsb,dthick,DXS,DYS
+8 ,NATM
+1, 1.0, value_01, 1.00000, value_05 ,IELM(I),ocr(I),X(I),Y(I),Z(I
+1, 1.0, value_02, 1.00000, value_06
+2, 1.0, value_03, value_04, value_07
+2, 1.0, 2.00000, 1.49751, value_08
+2, 1.0, 1.00000, 1.50000, value_09
+2, 1.0, 0.00000, 1.00000, 0.849425
+2, 1.0, 2.00000, 1.00000, 0.809425
+2, 1.0, 1.00997, 1.00000, 0.599425
+1,1 ,(WDOM,I=1,NDOM)
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/bulk.txt b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/bulk.txt
new file mode 100644
index 00000000..a321798b
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/bulk.txt
@@ -0,0 +1,14 @@
+2,1,2 ,NH,NK,NDOM, -------- Ge(001) bulk
+7,15 ,(NB,I=1,NDOM)
+0,90 ,(RDOM,I=1,NDOM)
+0,0,0,1,0,-1,0,2,0,-2,0,3,0,-3 ,(IH(I),IK(I),I=1,NB)
+0,0,1,0,-1,0,2,0,-2,0,3,0,-3,0,4,0,-4,0,5,0,-5,0,6,0,-6,0,7,0,-7,0 ,(IH(I),IK(I),I=1,NB)
+10,0,0,0,0.3,6.3,0.1 ,BE,AZI,AZF,DAZ,GI,GF,DG
+0.1,100 ,DZ,ML
+1 ,NELM
+32,1.2,0.15 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+6,4.01319,4.01319,90,2.83770,0.5,0.5 ,NSG,AA,BB,GAM,CC,DX,DY
+2 ,NATM
+1,1.0,0.00000,0.50000, 2.12833 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1,1.0,0.00000,0.00000, 0.70948 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/do.sh b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/do.sh
new file mode 100644
index 00000000..3551b228
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/do.sh
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+#CMD=py2dmat-sim-trhepd-rheed
+CMD="python3 ../../../src/main.py"
+
+export PYTHONUNBUFFERED=1
+
+sh prepare.sh
+
+../../bin/bulk.exe
+
+time $CMD input.toml
+
+result=output/res.txt
+reference=ref.txt
+
+echo diff $result $reference
+res=0
+diff $result $reference || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $result and $reference differ
+ false
+fi
+
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/experiment.txt b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/experiment.txt
new file mode 100644
index 00000000..d2075d33
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/experiment.txt
@@ -0,0 +1,61 @@
+3.00000e-01 8.20372e-03 2.54229e-06 2.54229e-06 9.88860e-15 9.88860e-15 6.88084e-33 6.88084e-33 4.60049e-54 4.60049e-54 4.51983e-87 4.51983e-87 3.53221e-125 3.53221e-125 2.28323e-173 2.28323e-173
+4.00000e-01 1.14751e-02 1.04244e-05 1.04244e-05 2.49203e-13 2.49203e-13 1.26542e-30 1.26542e-30 4.98289e-51 4.98289e-51 3.60151e-83 3.60151e-83 2.07188e-120 2.07188e-120 9.85900e-168 9.85900e-168
+5.00000e-01 1.46340e-02 3.58730e-05 3.58730e-05 5.04417e-12 5.04417e-12 1.86515e-28 1.86515e-28 4.32416e-48 4.32416e-48 2.29890e-79 2.29890e-79 9.73541e-116 9.73541e-116 3.41025e-162 3.41025e-162
+6.00000e-01 1.74036e-02 1.04606e-04 1.04606e-04 8.20593e-11 8.20593e-11 2.20358e-26 2.20358e-26 3.00666e-45 3.00666e-45 1.17553e-75 1.17553e-75 3.66450e-111 3.66450e-111 9.44952e-157 9.44952e-157
+7.00000e-01 1.96261e-02 2.61079e-04 2.61079e-04 1.07379e-09 1.07379e-09 2.08711e-24 2.08711e-24 1.67514e-42 1.67514e-42 4.81525e-72 4.81525e-72 1.10496e-106 1.10496e-106 2.09751e-151 2.09751e-151
+8.00000e-01 2.11810e-02 5.62998e-04 5.62998e-04 1.13137e-08 1.13137e-08 1.58509e-22 1.58509e-22 7.47877e-40 7.47877e-40 1.58009e-68 1.58009e-68 2.66901e-102 2.66901e-102 3.72967e-146 3.72967e-146
+9.00000e-01 2.19506e-02 1.05701e-03 1.05701e-03 9.61019e-08 9.61019e-08 9.65510e-21 9.65510e-21 2.67582e-37 2.67582e-37 4.15360e-65 4.15360e-65 5.16449e-98 5.16449e-98 5.31259e-141 5.31259e-141
+1.00000e+00 2.18837e-02 1.73666e-03 1.73666e-03 6.59148e-07 6.59148e-07 4.71837e-19 4.71837e-19 7.67314e-35 7.67314e-35 8.74678e-62 8.74678e-62 8.00527e-94 8.00527e-94 6.06197e-136 6.06197e-136
+1.10000e+00 2.11118e-02 2.50352e-03 2.50352e-03 3.65776e-06 3.65776e-06 1.85068e-17 1.85068e-17 1.76374e-32 1.76374e-32 1.47555e-58 1.47555e-58 9.94026e-90 9.94026e-90 5.54106e-131 5.54106e-131
+1.20000e+00 2.00197e-02 3.17036e-03 3.17036e-03 1.64630e-05 1.64630e-05 5.82895e-16 5.82895e-16 3.25019e-30 3.25019e-30 1.99411e-55 1.99411e-55 9.88767e-86 9.88767e-86 4.05736e-126 4.05736e-126
+1.30000e+00 1.91652e-02 3.53255e-03 3.53255e-03 6.02887e-05 6.02887e-05 1.47520e-14 1.47520e-14 4.80262e-28 4.80262e-28 2.15890e-52 2.15890e-52 7.87888e-82 7.87888e-82 2.37994e-121 2.37994e-121
+1.40000e+00 1.90127e-02 3.48189e-03 3.48189e-03 1.80376e-04 1.80376e-04 3.00236e-13 3.00236e-13 5.69175e-26 5.69175e-26 1.87246e-49 1.87246e-49 5.02934e-78 5.02934e-78 1.11831e-116 1.11831e-116
+1.50000e+00 1.95992e-02 3.08705e-03 3.08705e-03 4.43302e-04 4.43302e-04 4.91905e-12 4.91905e-12 5.41178e-24 5.41178e-24 1.30105e-46 1.30105e-46 2.57178e-74 2.57178e-74 4.20947e-112 4.20947e-112
+1.60000e+00 2.03890e-02 2.57618e-03 2.57618e-03 9.01644e-04 9.01644e-04 6.49662e-11 6.49662e-11 4.12970e-22 4.12970e-22 7.24244e-44 7.24244e-44 1.05351e-70 1.05351e-70 1.26931e-107 1.26931e-107
+1.70000e+00 2.05290e-02 2.22146e-03 2.22146e-03 1.53385e-03 1.53385e-03 6.92826e-10 6.92826e-10 2.53031e-20 2.53031e-20 3.22996e-41 3.22996e-41 3.45717e-67 3.45717e-67 3.06607e-103 3.06607e-103
+1.80000e+00 1.94096e-02 2.18932e-03 2.18932e-03 2.21633e-03 2.21633e-03 5.97919e-09 5.97919e-09 1.24551e-18 1.24551e-18 1.15409e-38 1.15409e-38 9.08840e-64 9.08840e-64 5.93296e-99 5.93296e-99
+1.90000e+00 1.71097e-02 2.45030e-03 2.45030e-03 2.78148e-03 2.78148e-03 4.18750e-08 4.18750e-08 4.92860e-17 4.92860e-17 3.30394e-36 3.30394e-36 1.91400e-60 1.91400e-60 9.19679e-95 9.19679e-95
+2.00000e+00 1.43591e-02 2.81912e-03 2.81912e-03 3.12490e-03 3.12490e-03 2.38836e-07 2.38836e-07 1.56913e-15 1.56913e-15 7.57864e-34 7.57864e-34 3.22913e-57 3.22913e-57 1.14203e-90 1.14203e-90
+2.10000e+00 1.20865e-02 3.10041e-03 3.10041e-03 3.25578e-03 3.25578e-03 1.11435e-06 1.11435e-06 4.02329e-14 4.02329e-14 1.39297e-31 1.39297e-31 4.36442e-54 4.36442e-54 1.13605e-86 1.13605e-86
+2.20000e+00 1.09633e-02 3.21399e-03 3.21399e-03 3.24916e-03 3.24916e-03 4.27726e-06 4.27726e-06 8.31769e-13 8.31769e-13 2.05172e-29 2.05172e-29 4.72574e-51 4.72574e-51 9.05318e-83 9.05318e-83
+2.30000e+00 1.12236e-02 3.19005e-03 3.19005e-03 3.17788e-03 3.17788e-03 1.36022e-05 1.36022e-05 1.38846e-11 1.38846e-11 2.42190e-27 2.42190e-27 4.09943e-48 4.09943e-48 5.77945e-79 5.77945e-79
+2.40000e+00 1.26847e-02 3.06482e-03 3.06482e-03 3.10461e-03 3.10461e-03 3.61631e-05 3.61631e-05 1.87457e-10 1.87457e-10 2.29143e-25 2.29143e-25 2.84903e-45 2.84903e-45 2.95569e-75 2.95569e-75
+2.50000e+00 1.47993e-02 2.81322e-03 2.81322e-03 3.10625e-03 3.10625e-03 8.13202e-05 8.13202e-05 2.05098e-09 2.05098e-09 1.73793e-23 1.73793e-23 1.58637e-42 1.58637e-42 1.21094e-71 1.21094e-71
+2.60000e+00 1.67805e-02 2.39686e-03 2.39686e-03 3.24955e-03 3.24955e-03 1.57036e-04 1.57036e-04 1.82269e-08 1.82269e-08 1.05686e-21 1.05686e-21 7.07715e-40 7.07715e-40 3.97449e-68 3.97449e-68
+2.70000e+00 1.79264e-02 1.85723e-03 1.85723e-03 3.51557e-03 3.51557e-03 2.65495e-04 2.65495e-04 1.31923e-07 1.31923e-07 5.15425e-20 5.15425e-20 2.52977e-37 2.52977e-37 1.04506e-64 1.04506e-64
+2.80000e+00 1.79907e-02 1.33093e-03 1.33093e-03 3.76876e-03 3.76876e-03 4.01966e-04 4.01966e-04 7.80115e-07 7.80115e-07 2.01655e-18 2.01655e-18 7.24591e-35 7.24591e-35 2.20148e-61 2.20148e-61
+2.90000e+00 1.72421e-02 9.65817e-04 9.65817e-04 3.83828e-03 3.83828e-03 5.57429e-04 5.57429e-04 3.78303e-06 3.78303e-06 6.33181e-17 6.33181e-17 1.66313e-32 1.66313e-32 3.71541e-58 3.71541e-58
+3.00000e+00 1.61322e-02 8.30083e-04 8.30083e-04 3.64961e-03 3.64961e-03 7.20742e-04 7.20742e-04 1.51116e-05 1.51116e-05 1.59643e-15 1.59643e-15 3.05929e-30 3.05929e-30 5.02379e-55 5.02379e-55
+3.10000e+00 1.49123e-02 8.92997e-04 8.92997e-04 3.27932e-03 3.27932e-03 8.78263e-04 8.78263e-04 5.00004e-05 5.00004e-05 3.23432e-14 3.23432e-14 4.51043e-28 4.51043e-28 5.44257e-52 5.44257e-52
+3.20000e+00 1.35465e-02 1.06737e-03 1.06737e-03 2.88348e-03 2.88348e-03 1.01433e-03 1.01433e-03 1.37994e-04 1.37994e-04 5.27039e-13 5.27039e-13 5.33063e-26 5.33063e-26 4.72436e-49 4.72436e-49
+3.30000e+00 1.19172e-02 1.26022e-03 1.26022e-03 2.57067e-03 2.57067e-03 1.11335e-03 1.11335e-03 3.20529e-04 3.20529e-04 6.91671e-12 6.91671e-12 5.05096e-24 5.05096e-24 3.28603e-46 3.28603e-46
+3.40000e+00 1.00537e-02 1.40135e-03 1.40135e-03 2.33714e-03 2.33714e-03 1.15940e-03 1.15940e-03 6.33766e-04 6.33766e-04 7.32418e-11 7.32418e-11 3.83791e-22 3.83791e-22 1.83156e-43 1.83156e-43
+3.50000e+00 8.17053e-03 1.45385e-03 1.45385e-03 2.12304e-03 2.12304e-03 1.13607e-03 1.13607e-03 1.08143e-03 1.08143e-03 6.27478e-10 6.27478e-10 2.33911e-20 2.33911e-20 8.18137e-41 8.18137e-41
+3.60000e+00 6.53572e-03 1.41927e-03 1.41927e-03 1.92999e-03 1.92999e-03 1.03519e-03 1.03519e-03 1.61626e-03 1.61626e-03 4.36723e-09 4.36723e-09 1.14389e-18 1.14389e-18 2.92909e-38 2.92909e-38
+3.70000e+00 5.35999e-03 1.33367e-03 1.33367e-03 1.86928e-03 1.86928e-03 8.70233e-04 8.70233e-04 2.14410e-03 2.14410e-03 2.48549e-08 2.48549e-08 4.49016e-17 4.49016e-17 8.40612e-36 8.40612e-36
+3.80000e+00 4.81712e-03 1.24066e-03 1.24066e-03 2.07870e-03 2.07870e-03 6.75861e-04 6.75861e-04 2.54646e-03 2.54646e-03 1.16900e-07 1.16900e-07 1.41547e-15 1.41547e-15 1.93413e-33 1.93413e-33
+3.90000e+00 5.09106e-03 1.15259e-03 1.15259e-03 2.58615e-03 2.58615e-03 4.89391e-04 4.89391e-04 2.71476e-03 2.71476e-03 4.62218e-07 4.62218e-07 3.58560e-14 3.58560e-14 3.56849e-31 3.56849e-31
+4.00000e+00 6.27917e-03 1.04113e-03 1.04113e-03 3.25723e-03 3.25723e-03 3.33325e-04 3.33325e-04 2.59542e-03 2.59542e-03 1.57650e-06 1.57650e-06 7.30420e-13 7.30420e-13 5.28077e-29 5.28077e-29
+4.10000e+00 8.18460e-03 8.74899e-04 8.74899e-04 3.88244e-03 3.88244e-03 2.14609e-04 2.14609e-04 2.22842e-03 2.22842e-03 4.79133e-06 4.79133e-06 1.19766e-11 1.19766e-11 6.26976e-27 6.26976e-27
+4.20000e+00 1.02521e-02 6.63215e-04 6.63215e-04 4.31701e-03 4.31701e-03 1.33479e-04 1.33479e-04 1.74106e-03 1.74106e-03 1.33460e-05 1.33460e-05 1.58248e-10 1.58248e-10 5.97443e-25 5.97443e-25
+4.30000e+00 1.18201e-02 4.56534e-04 4.56534e-04 4.53705e-03 4.53705e-03 8.83076e-05 8.83076e-05 1.28846e-03 1.28846e-03 3.43304e-05 3.43304e-05 1.68730e-09 1.68730e-09 4.57109e-23 4.57109e-23
+4.40000e+00 1.25166e-02 3.07901e-04 3.07901e-04 4.58438e-03 4.58438e-03 7.48076e-05 7.48076e-05 9.85554e-04 9.85554e-04 8.01387e-05 8.01387e-05 1.45425e-08 1.45425e-08 2.80956e-21 2.80956e-21
+4.50000e+00 1.24346e-02 2.39831e-04 2.39831e-04 4.49553e-03 4.49553e-03 8.47877e-05 8.47877e-05 8.78596e-04 8.78596e-04 1.64859e-04 1.64859e-04 1.01531e-07 1.01531e-07 1.38807e-19 1.38807e-19
+4.60000e+00 1.19322e-02 2.40983e-04 2.40983e-04 4.28955e-03 4.28955e-03 1.06907e-04 1.06907e-04 9.55939e-04 9.55939e-04 2.91399e-04 2.91399e-04 5.75738e-07 5.75738e-07 5.51622e-18 5.51622e-18
+4.70000e+00 1.12782e-02 2.80574e-04 2.80574e-04 3.99474e-03 3.99474e-03 1.30423e-04 1.30423e-04 1.16635e-03 1.16635e-03 4.36262e-04 4.36262e-04 2.66058e-06 2.66058e-06 1.76470e-16 1.76470e-16
+4.80000e+00 1.04800e-02 3.23137e-04 3.23137e-04 3.66468e-03 3.66468e-03 1.51930e-04 1.51930e-04 1.42843e-03 1.42843e-03 5.51828e-04 5.51828e-04 1.00645e-05 1.00645e-05 4.54869e-15 4.54869e-15
+4.90000e+00 9.40087e-03 3.40575e-04 3.40575e-04 3.35809e-03 3.35809e-03 1.78878e-04 1.78878e-04 1.64275e-03 1.64275e-03 5.95529e-04 5.95529e-04 3.13600e-05 3.13600e-05 9.45602e-14 9.45602e-14
+5.00000e+00 7.98100e-03 3.21858e-04 3.21858e-04 3.09388e-03 3.09388e-03 2.21316e-04 2.21316e-04 1.72244e-03 1.72244e-03 5.62367e-04 5.62367e-04 8.12272e-05 8.12272e-05 1.58702e-12 1.58702e-12
+5.10000e+00 6.33564e-03 2.75141e-04 2.75141e-04 2.83349e-03 2.83349e-03 2.75830e-04 2.75830e-04 1.63475e-03 1.63475e-03 4.86986e-04 4.86986e-04 1.77338e-04 1.77338e-04 2.15260e-11 2.15260e-11
+5.20000e+00 4.69185e-03 2.20277e-04 2.20277e-04 2.53384e-03 2.53384e-03 3.20101e-04 3.20101e-04 1.42421e-03 1.42421e-03 4.14585e-04 4.14585e-04 3.33162e-04 3.33162e-04 2.36204e-10 2.36204e-10
+5.30000e+00 3.27797e-03 1.79027e-04 1.79027e-04 2.23107e-03 2.23107e-03 3.29667e-04 3.29667e-04 1.19533e-03 1.19533e-03 3.71111e-04 3.71111e-04 5.53645e-04 5.53645e-04 2.09869e-09 2.09869e-09
+5.40000e+00 2.24753e-03 1.70825e-04 1.70825e-04 2.05873e-03 2.05873e-03 3.03413e-04 3.03413e-04 1.06400e-03 1.06400e-03 3.55457e-04 3.55457e-04 8.37552e-04 8.37552e-04 1.51103e-08 1.51103e-08
+5.50000e+00 1.64073e-03 2.12816e-04 2.12816e-04 2.15862e-03 2.15862e-03 2.71480e-04 2.71480e-04 1.10647e-03 1.10647e-03 3.52311e-04 3.52311e-04 1.17414e-03 1.17414e-03 8.82030e-08 8.82030e-08
+5.60000e+00 1.38305e-03 3.15679e-04 3.15679e-04 2.54923e-03 2.54923e-03 2.75242e-04 2.75242e-04 1.32726e-03 1.32726e-03 3.51425e-04 3.51425e-04 1.52290e-03 1.52290e-03 4.17530e-07 4.17530e-07
+5.70000e+00 1.33614e-03 4.70705e-04 4.70705e-04 3.06735e-03 3.06735e-03 3.34875e-04 3.34875e-04 1.65095e-03 1.65095e-03 3.56333e-04 3.56333e-04 1.80197e-03 1.80197e-03 1.60275e-06 1.60275e-06
+5.80000e+00 1.37924e-03 6.38137e-04 6.38137e-04 3.44882e-03 3.44882e-03 4.30290e-04 4.30290e-04 1.94223e-03 1.94223e-03 3.73991e-04 3.73991e-04 1.92617e-03 1.92617e-03 4.98731e-06 4.98731e-06
+5.90000e+00 1.45483e-03 7.55599e-04 7.55599e-04 3.49617e-03 3.49617e-03 5.11150e-04 5.11150e-04 2.06289e-03 2.06289e-03 3.97725e-04 3.97725e-04 1.87370e-03 1.87370e-03 1.25727e-05 1.25727e-05
+6.00000e+00 1.53948e-03 7.70601e-04 7.70601e-04 3.19202e-03 3.19202e-03 5.29865e-04 5.29865e-04 1.94599e-03 1.94599e-03 4.05916e-04 4.05916e-04 1.70002e-03 1.70002e-03 2.56570e-05 2.56570e-05
+6.10000e+00 1.58568e-03 6.73822e-04 6.73822e-04 2.66436e-03 2.66436e-03 4.72139e-04 4.72139e-04 1.62943e-03 1.62943e-03 3.79582e-04 3.79582e-04 1.47514e-03 1.47514e-03 4.23429e-05 4.23429e-05
+6.20000e+00 1.51599e-03 5.04199e-04 5.04199e-04 2.06232e-03 2.06232e-03 3.61528e-04 3.61528e-04 1.21767e-03 1.21767e-03 3.17962e-04 3.17962e-04 1.22482e-03 1.22482e-03 5.64558e-05 5.64558e-05
+6.30000e+00 1.28486e-03 3.22258e-04 3.22258e-04 1.47827e-03 1.47827e-03 2.38643e-04 2.38643e-04 8.14408e-04 8.14408e-04 2.36637e-04 2.36637e-04 9.44342e-04 9.44342e-04 6.07488e-05 6.07488e-05
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/input.toml b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/input.toml
new file mode 100644
index 00000000..4116bd95
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/input.toml
@@ -0,0 +1,42 @@
+[base]
+dimension = 9
+output_dir = "output"
+
+[solver]
+name = "sim-trhepd-rheed"
+run_scheme = "subprocess"
+
+[solver.config]
+cal_number = [1, 2, 4, 6, 8]
+surface_template_file = "template.txt"
+surface_exec_file = "../../bin/surf.exe"
+
+[solver.post]
+normalization = "MANY_BEAM"
+weight_type = "calc"
+Rfactor_type = "A2"
+omega = 0.5
+remove_work_dir = false
+
+[solver.param]
+string_list = ["value_01", "value_02", "value_03", "value_04", "value_05", "value_06", "value_07", "value_08", "value_09"]
+
+[solver.reference]
+path = "experiment.txt"
+exp_number = [1, 2, 4, 6, 8]
+
+[algorithm]
+name = "minsearch"
+label_list = ["X1", "X2", "X3", "Y3","Z1", "Z2", "Z3", "Z4", "Z5"]
+
+[algorithm.param]
+initial_list = [0.49800, 0.98000, 1.49800, 1.49800, 5.390000, 4.790000, 3.790000, 2.090000, 1.990000]
+min_list = [0.00000, 0.50000, 1.00000, 1.00000, 4.400000, 3.800000, 2.800000, 1.100000, 1.000000]
+max_list = [1.00000, 1.50000, 2.00000, 2.00000, 6.400000, 5.800000, 4.800000, 3.100000, 3.000000]
+
+[algorithm.minimize]
+fatol = 0.01
+xatol = 0.001
+initial_scale_list = [ 0.0025, 0.0025, 0.0025, 0.0025, 0.01, 0.01, 0.01, 0.01, 0.01 ]
+maxiter = 1000
+maxfev = 10000
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/prepare.sh b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/prepare.sh
new file mode 100644
index 00000000..f93e6b8e
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/prepare.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+rm -rf ./output
+rm -f bulkP.b
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/ref.txt b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/ref.txt
new file mode 100644
index 00000000..f09ca5b0
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/ref.txt
@@ -0,0 +1,10 @@
+fx = 6.393840542398249e-09
+X1 = 0.5004690263563492
+X2 = 0.9864825395902956
+X3 = 1.500736054255837
+Y3 = 1.49846022838361
+Z1 = 5.401681359233681
+Z2 = 4.801963397208427
+Z3 = 3.8008746121421977
+Z4 = 2.1004447161065523
+Z5 = 2.000919674433793
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/template.txt b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/template.txt
new file mode 100644
index 00000000..8469cd87
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_calc/template.txt
@@ -0,0 +1,16 @@
+2 ,NELMS, -------- Ge(001)-c4x2
+32,1.2,0.15 ,Ge Z,da1,sap
+0.6,0.6,0.6 ,BH(I),BK(I),BZ(I)
+32,1.2,0.15 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+9,4,0,0,2,1.7,-0.5,0.5 ,NSGS,msa,msb,nsa,nsb,dthick,DXS,DYS
+8 ,NATM
+1, 1.0, value_01, 1.00000, value_05 ,IELM(I),ocr(I),X(I),Y(I),Z(I
+1, 1.0, value_02, 1.00000, value_06
+2, 1.0, value_03, value_04, value_07
+2, 1.0, 2.00000, 1.49751, value_08
+2, 1.0, 1.00000, 1.50000, value_09
+2, 1.0, 0.00000, 1.00000, 0.849425
+2, 1.0, 2.00000, 1.00000, 0.809425
+2, 1.0, 1.00997, 1.00000, 0.599425
+1,1 ,(WDOM,I=1,NDOM)
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/bulk.txt b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/bulk.txt
new file mode 100644
index 00000000..a321798b
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/bulk.txt
@@ -0,0 +1,14 @@
+2,1,2 ,NH,NK,NDOM, -------- Ge(001) bulk
+7,15 ,(NB,I=1,NDOM)
+0,90 ,(RDOM,I=1,NDOM)
+0,0,0,1,0,-1,0,2,0,-2,0,3,0,-3 ,(IH(I),IK(I),I=1,NB)
+0,0,1,0,-1,0,2,0,-2,0,3,0,-3,0,4,0,-4,0,5,0,-5,0,6,0,-6,0,7,0,-7,0 ,(IH(I),IK(I),I=1,NB)
+10,0,0,0,0.3,6.3,0.1 ,BE,AZI,AZF,DAZ,GI,GF,DG
+0.1,100 ,DZ,ML
+1 ,NELM
+32,1.2,0.15 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+6,4.01319,4.01319,90,2.83770,0.5,0.5 ,NSG,AA,BB,GAM,CC,DX,DY
+2 ,NATM
+1,1.0,0.00000,0.50000, 2.12833 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1,1.0,0.00000,0.00000, 0.70948 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/do.sh b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/do.sh
new file mode 100644
index 00000000..3551b228
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/do.sh
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+#CMD=py2dmat-sim-trhepd-rheed
+CMD="python3 ../../../src/main.py"
+
+export PYTHONUNBUFFERED=1
+
+sh prepare.sh
+
+../../bin/bulk.exe
+
+time $CMD input.toml
+
+result=output/res.txt
+reference=ref.txt
+
+echo diff $result $reference
+res=0
+diff $result $reference || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $result and $reference differ
+ false
+fi
+
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/experiment.txt b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/experiment.txt
new file mode 100644
index 00000000..d2075d33
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/experiment.txt
@@ -0,0 +1,61 @@
+3.00000e-01 8.20372e-03 2.54229e-06 2.54229e-06 9.88860e-15 9.88860e-15 6.88084e-33 6.88084e-33 4.60049e-54 4.60049e-54 4.51983e-87 4.51983e-87 3.53221e-125 3.53221e-125 2.28323e-173 2.28323e-173
+4.00000e-01 1.14751e-02 1.04244e-05 1.04244e-05 2.49203e-13 2.49203e-13 1.26542e-30 1.26542e-30 4.98289e-51 4.98289e-51 3.60151e-83 3.60151e-83 2.07188e-120 2.07188e-120 9.85900e-168 9.85900e-168
+5.00000e-01 1.46340e-02 3.58730e-05 3.58730e-05 5.04417e-12 5.04417e-12 1.86515e-28 1.86515e-28 4.32416e-48 4.32416e-48 2.29890e-79 2.29890e-79 9.73541e-116 9.73541e-116 3.41025e-162 3.41025e-162
+6.00000e-01 1.74036e-02 1.04606e-04 1.04606e-04 8.20593e-11 8.20593e-11 2.20358e-26 2.20358e-26 3.00666e-45 3.00666e-45 1.17553e-75 1.17553e-75 3.66450e-111 3.66450e-111 9.44952e-157 9.44952e-157
+7.00000e-01 1.96261e-02 2.61079e-04 2.61079e-04 1.07379e-09 1.07379e-09 2.08711e-24 2.08711e-24 1.67514e-42 1.67514e-42 4.81525e-72 4.81525e-72 1.10496e-106 1.10496e-106 2.09751e-151 2.09751e-151
+8.00000e-01 2.11810e-02 5.62998e-04 5.62998e-04 1.13137e-08 1.13137e-08 1.58509e-22 1.58509e-22 7.47877e-40 7.47877e-40 1.58009e-68 1.58009e-68 2.66901e-102 2.66901e-102 3.72967e-146 3.72967e-146
+9.00000e-01 2.19506e-02 1.05701e-03 1.05701e-03 9.61019e-08 9.61019e-08 9.65510e-21 9.65510e-21 2.67582e-37 2.67582e-37 4.15360e-65 4.15360e-65 5.16449e-98 5.16449e-98 5.31259e-141 5.31259e-141
+1.00000e+00 2.18837e-02 1.73666e-03 1.73666e-03 6.59148e-07 6.59148e-07 4.71837e-19 4.71837e-19 7.67314e-35 7.67314e-35 8.74678e-62 8.74678e-62 8.00527e-94 8.00527e-94 6.06197e-136 6.06197e-136
+1.10000e+00 2.11118e-02 2.50352e-03 2.50352e-03 3.65776e-06 3.65776e-06 1.85068e-17 1.85068e-17 1.76374e-32 1.76374e-32 1.47555e-58 1.47555e-58 9.94026e-90 9.94026e-90 5.54106e-131 5.54106e-131
+1.20000e+00 2.00197e-02 3.17036e-03 3.17036e-03 1.64630e-05 1.64630e-05 5.82895e-16 5.82895e-16 3.25019e-30 3.25019e-30 1.99411e-55 1.99411e-55 9.88767e-86 9.88767e-86 4.05736e-126 4.05736e-126
+1.30000e+00 1.91652e-02 3.53255e-03 3.53255e-03 6.02887e-05 6.02887e-05 1.47520e-14 1.47520e-14 4.80262e-28 4.80262e-28 2.15890e-52 2.15890e-52 7.87888e-82 7.87888e-82 2.37994e-121 2.37994e-121
+1.40000e+00 1.90127e-02 3.48189e-03 3.48189e-03 1.80376e-04 1.80376e-04 3.00236e-13 3.00236e-13 5.69175e-26 5.69175e-26 1.87246e-49 1.87246e-49 5.02934e-78 5.02934e-78 1.11831e-116 1.11831e-116
+1.50000e+00 1.95992e-02 3.08705e-03 3.08705e-03 4.43302e-04 4.43302e-04 4.91905e-12 4.91905e-12 5.41178e-24 5.41178e-24 1.30105e-46 1.30105e-46 2.57178e-74 2.57178e-74 4.20947e-112 4.20947e-112
+1.60000e+00 2.03890e-02 2.57618e-03 2.57618e-03 9.01644e-04 9.01644e-04 6.49662e-11 6.49662e-11 4.12970e-22 4.12970e-22 7.24244e-44 7.24244e-44 1.05351e-70 1.05351e-70 1.26931e-107 1.26931e-107
+1.70000e+00 2.05290e-02 2.22146e-03 2.22146e-03 1.53385e-03 1.53385e-03 6.92826e-10 6.92826e-10 2.53031e-20 2.53031e-20 3.22996e-41 3.22996e-41 3.45717e-67 3.45717e-67 3.06607e-103 3.06607e-103
+1.80000e+00 1.94096e-02 2.18932e-03 2.18932e-03 2.21633e-03 2.21633e-03 5.97919e-09 5.97919e-09 1.24551e-18 1.24551e-18 1.15409e-38 1.15409e-38 9.08840e-64 9.08840e-64 5.93296e-99 5.93296e-99
+1.90000e+00 1.71097e-02 2.45030e-03 2.45030e-03 2.78148e-03 2.78148e-03 4.18750e-08 4.18750e-08 4.92860e-17 4.92860e-17 3.30394e-36 3.30394e-36 1.91400e-60 1.91400e-60 9.19679e-95 9.19679e-95
+2.00000e+00 1.43591e-02 2.81912e-03 2.81912e-03 3.12490e-03 3.12490e-03 2.38836e-07 2.38836e-07 1.56913e-15 1.56913e-15 7.57864e-34 7.57864e-34 3.22913e-57 3.22913e-57 1.14203e-90 1.14203e-90
+2.10000e+00 1.20865e-02 3.10041e-03 3.10041e-03 3.25578e-03 3.25578e-03 1.11435e-06 1.11435e-06 4.02329e-14 4.02329e-14 1.39297e-31 1.39297e-31 4.36442e-54 4.36442e-54 1.13605e-86 1.13605e-86
+2.20000e+00 1.09633e-02 3.21399e-03 3.21399e-03 3.24916e-03 3.24916e-03 4.27726e-06 4.27726e-06 8.31769e-13 8.31769e-13 2.05172e-29 2.05172e-29 4.72574e-51 4.72574e-51 9.05318e-83 9.05318e-83
+2.30000e+00 1.12236e-02 3.19005e-03 3.19005e-03 3.17788e-03 3.17788e-03 1.36022e-05 1.36022e-05 1.38846e-11 1.38846e-11 2.42190e-27 2.42190e-27 4.09943e-48 4.09943e-48 5.77945e-79 5.77945e-79
+2.40000e+00 1.26847e-02 3.06482e-03 3.06482e-03 3.10461e-03 3.10461e-03 3.61631e-05 3.61631e-05 1.87457e-10 1.87457e-10 2.29143e-25 2.29143e-25 2.84903e-45 2.84903e-45 2.95569e-75 2.95569e-75
+2.50000e+00 1.47993e-02 2.81322e-03 2.81322e-03 3.10625e-03 3.10625e-03 8.13202e-05 8.13202e-05 2.05098e-09 2.05098e-09 1.73793e-23 1.73793e-23 1.58637e-42 1.58637e-42 1.21094e-71 1.21094e-71
+2.60000e+00 1.67805e-02 2.39686e-03 2.39686e-03 3.24955e-03 3.24955e-03 1.57036e-04 1.57036e-04 1.82269e-08 1.82269e-08 1.05686e-21 1.05686e-21 7.07715e-40 7.07715e-40 3.97449e-68 3.97449e-68
+2.70000e+00 1.79264e-02 1.85723e-03 1.85723e-03 3.51557e-03 3.51557e-03 2.65495e-04 2.65495e-04 1.31923e-07 1.31923e-07 5.15425e-20 5.15425e-20 2.52977e-37 2.52977e-37 1.04506e-64 1.04506e-64
+2.80000e+00 1.79907e-02 1.33093e-03 1.33093e-03 3.76876e-03 3.76876e-03 4.01966e-04 4.01966e-04 7.80115e-07 7.80115e-07 2.01655e-18 2.01655e-18 7.24591e-35 7.24591e-35 2.20148e-61 2.20148e-61
+2.90000e+00 1.72421e-02 9.65817e-04 9.65817e-04 3.83828e-03 3.83828e-03 5.57429e-04 5.57429e-04 3.78303e-06 3.78303e-06 6.33181e-17 6.33181e-17 1.66313e-32 1.66313e-32 3.71541e-58 3.71541e-58
+3.00000e+00 1.61322e-02 8.30083e-04 8.30083e-04 3.64961e-03 3.64961e-03 7.20742e-04 7.20742e-04 1.51116e-05 1.51116e-05 1.59643e-15 1.59643e-15 3.05929e-30 3.05929e-30 5.02379e-55 5.02379e-55
+3.10000e+00 1.49123e-02 8.92997e-04 8.92997e-04 3.27932e-03 3.27932e-03 8.78263e-04 8.78263e-04 5.00004e-05 5.00004e-05 3.23432e-14 3.23432e-14 4.51043e-28 4.51043e-28 5.44257e-52 5.44257e-52
+3.20000e+00 1.35465e-02 1.06737e-03 1.06737e-03 2.88348e-03 2.88348e-03 1.01433e-03 1.01433e-03 1.37994e-04 1.37994e-04 5.27039e-13 5.27039e-13 5.33063e-26 5.33063e-26 4.72436e-49 4.72436e-49
+3.30000e+00 1.19172e-02 1.26022e-03 1.26022e-03 2.57067e-03 2.57067e-03 1.11335e-03 1.11335e-03 3.20529e-04 3.20529e-04 6.91671e-12 6.91671e-12 5.05096e-24 5.05096e-24 3.28603e-46 3.28603e-46
+3.40000e+00 1.00537e-02 1.40135e-03 1.40135e-03 2.33714e-03 2.33714e-03 1.15940e-03 1.15940e-03 6.33766e-04 6.33766e-04 7.32418e-11 7.32418e-11 3.83791e-22 3.83791e-22 1.83156e-43 1.83156e-43
+3.50000e+00 8.17053e-03 1.45385e-03 1.45385e-03 2.12304e-03 2.12304e-03 1.13607e-03 1.13607e-03 1.08143e-03 1.08143e-03 6.27478e-10 6.27478e-10 2.33911e-20 2.33911e-20 8.18137e-41 8.18137e-41
+3.60000e+00 6.53572e-03 1.41927e-03 1.41927e-03 1.92999e-03 1.92999e-03 1.03519e-03 1.03519e-03 1.61626e-03 1.61626e-03 4.36723e-09 4.36723e-09 1.14389e-18 1.14389e-18 2.92909e-38 2.92909e-38
+3.70000e+00 5.35999e-03 1.33367e-03 1.33367e-03 1.86928e-03 1.86928e-03 8.70233e-04 8.70233e-04 2.14410e-03 2.14410e-03 2.48549e-08 2.48549e-08 4.49016e-17 4.49016e-17 8.40612e-36 8.40612e-36
+3.80000e+00 4.81712e-03 1.24066e-03 1.24066e-03 2.07870e-03 2.07870e-03 6.75861e-04 6.75861e-04 2.54646e-03 2.54646e-03 1.16900e-07 1.16900e-07 1.41547e-15 1.41547e-15 1.93413e-33 1.93413e-33
+3.90000e+00 5.09106e-03 1.15259e-03 1.15259e-03 2.58615e-03 2.58615e-03 4.89391e-04 4.89391e-04 2.71476e-03 2.71476e-03 4.62218e-07 4.62218e-07 3.58560e-14 3.58560e-14 3.56849e-31 3.56849e-31
+4.00000e+00 6.27917e-03 1.04113e-03 1.04113e-03 3.25723e-03 3.25723e-03 3.33325e-04 3.33325e-04 2.59542e-03 2.59542e-03 1.57650e-06 1.57650e-06 7.30420e-13 7.30420e-13 5.28077e-29 5.28077e-29
+4.10000e+00 8.18460e-03 8.74899e-04 8.74899e-04 3.88244e-03 3.88244e-03 2.14609e-04 2.14609e-04 2.22842e-03 2.22842e-03 4.79133e-06 4.79133e-06 1.19766e-11 1.19766e-11 6.26976e-27 6.26976e-27
+4.20000e+00 1.02521e-02 6.63215e-04 6.63215e-04 4.31701e-03 4.31701e-03 1.33479e-04 1.33479e-04 1.74106e-03 1.74106e-03 1.33460e-05 1.33460e-05 1.58248e-10 1.58248e-10 5.97443e-25 5.97443e-25
+4.30000e+00 1.18201e-02 4.56534e-04 4.56534e-04 4.53705e-03 4.53705e-03 8.83076e-05 8.83076e-05 1.28846e-03 1.28846e-03 3.43304e-05 3.43304e-05 1.68730e-09 1.68730e-09 4.57109e-23 4.57109e-23
+4.40000e+00 1.25166e-02 3.07901e-04 3.07901e-04 4.58438e-03 4.58438e-03 7.48076e-05 7.48076e-05 9.85554e-04 9.85554e-04 8.01387e-05 8.01387e-05 1.45425e-08 1.45425e-08 2.80956e-21 2.80956e-21
+4.50000e+00 1.24346e-02 2.39831e-04 2.39831e-04 4.49553e-03 4.49553e-03 8.47877e-05 8.47877e-05 8.78596e-04 8.78596e-04 1.64859e-04 1.64859e-04 1.01531e-07 1.01531e-07 1.38807e-19 1.38807e-19
+4.60000e+00 1.19322e-02 2.40983e-04 2.40983e-04 4.28955e-03 4.28955e-03 1.06907e-04 1.06907e-04 9.55939e-04 9.55939e-04 2.91399e-04 2.91399e-04 5.75738e-07 5.75738e-07 5.51622e-18 5.51622e-18
+4.70000e+00 1.12782e-02 2.80574e-04 2.80574e-04 3.99474e-03 3.99474e-03 1.30423e-04 1.30423e-04 1.16635e-03 1.16635e-03 4.36262e-04 4.36262e-04 2.66058e-06 2.66058e-06 1.76470e-16 1.76470e-16
+4.80000e+00 1.04800e-02 3.23137e-04 3.23137e-04 3.66468e-03 3.66468e-03 1.51930e-04 1.51930e-04 1.42843e-03 1.42843e-03 5.51828e-04 5.51828e-04 1.00645e-05 1.00645e-05 4.54869e-15 4.54869e-15
+4.90000e+00 9.40087e-03 3.40575e-04 3.40575e-04 3.35809e-03 3.35809e-03 1.78878e-04 1.78878e-04 1.64275e-03 1.64275e-03 5.95529e-04 5.95529e-04 3.13600e-05 3.13600e-05 9.45602e-14 9.45602e-14
+5.00000e+00 7.98100e-03 3.21858e-04 3.21858e-04 3.09388e-03 3.09388e-03 2.21316e-04 2.21316e-04 1.72244e-03 1.72244e-03 5.62367e-04 5.62367e-04 8.12272e-05 8.12272e-05 1.58702e-12 1.58702e-12
+5.10000e+00 6.33564e-03 2.75141e-04 2.75141e-04 2.83349e-03 2.83349e-03 2.75830e-04 2.75830e-04 1.63475e-03 1.63475e-03 4.86986e-04 4.86986e-04 1.77338e-04 1.77338e-04 2.15260e-11 2.15260e-11
+5.20000e+00 4.69185e-03 2.20277e-04 2.20277e-04 2.53384e-03 2.53384e-03 3.20101e-04 3.20101e-04 1.42421e-03 1.42421e-03 4.14585e-04 4.14585e-04 3.33162e-04 3.33162e-04 2.36204e-10 2.36204e-10
+5.30000e+00 3.27797e-03 1.79027e-04 1.79027e-04 2.23107e-03 2.23107e-03 3.29667e-04 3.29667e-04 1.19533e-03 1.19533e-03 3.71111e-04 3.71111e-04 5.53645e-04 5.53645e-04 2.09869e-09 2.09869e-09
+5.40000e+00 2.24753e-03 1.70825e-04 1.70825e-04 2.05873e-03 2.05873e-03 3.03413e-04 3.03413e-04 1.06400e-03 1.06400e-03 3.55457e-04 3.55457e-04 8.37552e-04 8.37552e-04 1.51103e-08 1.51103e-08
+5.50000e+00 1.64073e-03 2.12816e-04 2.12816e-04 2.15862e-03 2.15862e-03 2.71480e-04 2.71480e-04 1.10647e-03 1.10647e-03 3.52311e-04 3.52311e-04 1.17414e-03 1.17414e-03 8.82030e-08 8.82030e-08
+5.60000e+00 1.38305e-03 3.15679e-04 3.15679e-04 2.54923e-03 2.54923e-03 2.75242e-04 2.75242e-04 1.32726e-03 1.32726e-03 3.51425e-04 3.51425e-04 1.52290e-03 1.52290e-03 4.17530e-07 4.17530e-07
+5.70000e+00 1.33614e-03 4.70705e-04 4.70705e-04 3.06735e-03 3.06735e-03 3.34875e-04 3.34875e-04 1.65095e-03 1.65095e-03 3.56333e-04 3.56333e-04 1.80197e-03 1.80197e-03 1.60275e-06 1.60275e-06
+5.80000e+00 1.37924e-03 6.38137e-04 6.38137e-04 3.44882e-03 3.44882e-03 4.30290e-04 4.30290e-04 1.94223e-03 1.94223e-03 3.73991e-04 3.73991e-04 1.92617e-03 1.92617e-03 4.98731e-06 4.98731e-06
+5.90000e+00 1.45483e-03 7.55599e-04 7.55599e-04 3.49617e-03 3.49617e-03 5.11150e-04 5.11150e-04 2.06289e-03 2.06289e-03 3.97725e-04 3.97725e-04 1.87370e-03 1.87370e-03 1.25727e-05 1.25727e-05
+6.00000e+00 1.53948e-03 7.70601e-04 7.70601e-04 3.19202e-03 3.19202e-03 5.29865e-04 5.29865e-04 1.94599e-03 1.94599e-03 4.05916e-04 4.05916e-04 1.70002e-03 1.70002e-03 2.56570e-05 2.56570e-05
+6.10000e+00 1.58568e-03 6.73822e-04 6.73822e-04 2.66436e-03 2.66436e-03 4.72139e-04 4.72139e-04 1.62943e-03 1.62943e-03 3.79582e-04 3.79582e-04 1.47514e-03 1.47514e-03 4.23429e-05 4.23429e-05
+6.20000e+00 1.51599e-03 5.04199e-04 5.04199e-04 2.06232e-03 2.06232e-03 3.61528e-04 3.61528e-04 1.21767e-03 1.21767e-03 3.17962e-04 3.17962e-04 1.22482e-03 1.22482e-03 5.64558e-05 5.64558e-05
+6.30000e+00 1.28486e-03 3.22258e-04 3.22258e-04 1.47827e-03 1.47827e-03 2.38643e-04 2.38643e-04 8.14408e-04 8.14408e-04 2.36637e-04 2.36637e-04 9.44342e-04 9.44342e-04 6.07488e-05 6.07488e-05
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/input.toml b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/input.toml
new file mode 100644
index 00000000..008e967a
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/input.toml
@@ -0,0 +1,42 @@
+[base]
+dimension = 9
+output_dir = "output"
+
+[solver]
+name = "sim-trhepd-rheed"
+run_scheme = "subprocess"
+
+[solver.config]
+cal_number = [1, 2, 4, 6, 8]
+surface_exec_file = "../../bin/surf.exe"
+
+[solver.post]
+normalization = "MANY_BEAM"
+weight_type = "manual"
+Rfactor_type = "A2"
+omega = 0.5
+spot_weight = [0.933, 0.026, 0.036, 0.003, 0.002]
+remove_work_dir = false
+
+[solver.param]
+string_list = ["value_01", "value_02", "value_03", "value_04", "value_05", "value_06", "value_07", "value_08", "value_09"]
+
+[solver.reference]
+path = "experiment.txt"
+exp_number = [1, 2, 4, 6, 8]
+
+[algorithm]
+name = "minsearch"
+label_list = ["X1", "X2", "X3", "Y3","Z1", "Z2", "Z3", "Z4", "Z5"]
+
+[algorithm.param]
+initial_list = [0.49800, 0.98000, 1.49800, 1.49800, 5.390000, 4.790000, 3.790000, 2.090000, 1.990000]
+min_list = [0.00000, 0.50000, 1.00000, 1.00000, 4.400000, 3.800000, 2.800000, 1.100000, 1.000000]
+max_list = [1.00000, 1.50000, 2.00000, 2.00000, 6.400000, 5.800000, 4.800000, 3.100000, 3.000000]
+
+[algorithm.minimize]
+fatol = 0.01
+xatol = 0.001
+initial_scale_list = [ 0.0025, 0.0025, 0.0025, 0.0025, 0.01, 0.01, 0.01, 0.01, 0.01 ]
+maxiter = 1000
+maxfev = 10000
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/prepare.sh b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/prepare.sh
new file mode 100644
index 00000000..f93e6b8e
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/prepare.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+rm -rf ./output
+rm -f bulkP.b
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/ref.txt b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/ref.txt
new file mode 100644
index 00000000..42dbedd6
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/ref.txt
@@ -0,0 +1,10 @@
+fx = 9.038778472300684e-09
+X1 = 0.5005020046725166
+X2 = 0.98869323286312
+X3 = 1.5004206807677547
+Y3 = 1.4982051821768732
+Z1 = 5.400768705712512
+Z2 = 4.800786853391697
+Z3 = 3.800378633792033
+Z4 = 2.1001028103351684
+Z5 = 2.0002811485701972
diff --git a/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/template.txt b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/template.txt
new file mode 100644
index 00000000..8469cd87
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/many_beam/minsearch_weight_manual/template.txt
@@ -0,0 +1,16 @@
+2 ,NELMS, -------- Ge(001)-c4x2
+32,1.2,0.15 ,Ge Z,da1,sap
+0.6,0.6,0.6 ,BH(I),BK(I),BZ(I)
+32,1.2,0.15 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+9,4,0,0,2,1.7,-0.5,0.5 ,NSGS,msa,msb,nsa,nsb,dthick,DXS,DYS
+8 ,NATM
+1, 1.0, value_01, 1.00000, value_05 ,IELM(I),ocr(I),X(I),Y(I),Z(I
+1, 1.0, value_02, 1.00000, value_06
+2, 1.0, value_03, value_04, value_07
+2, 1.0, 2.00000, 1.49751, value_08
+2, 1.0, 1.00000, 1.50000, value_09
+2, 1.0, 0.00000, 1.00000, 0.849425
+2, 1.0, 2.00000, 1.00000, 0.809425
+2, 1.0, 1.00997, 1.00000, 0.599425
+1,1 ,(WDOM,I=1,NDOM)
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/bayes/MeshData.txt b/extra/sim-trhepd-rheed/tests/single_beam/bayes/MeshData.txt
new file mode 100644
index 00000000..d82d25a2
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/bayes/MeshData.txt
@@ -0,0 +1,351 @@
+1 3.5 3.5
+2 3.6 3.5
+3 3.6 3.6
+4 3.7 3.5
+5 3.7 3.6
+6 3.7 3.7
+7 3.8 3.5
+8 3.8 3.6
+9 3.8 3.7
+10 3.8 3.8
+11 3.9 3.5
+12 3.9 3.6
+13 3.9 3.7
+14 3.9 3.8
+15 3.9 3.9
+16 4.0 3.5
+17 4.0 3.6
+18 4.0 3.7
+19 4.0 3.8
+20 4.0 3.9
+21 4.0 4.0
+22 4.1 3.5
+23 4.1 3.6
+24 4.1 3.7
+25 4.1 3.8
+26 4.1 3.9
+27 4.1 4.0
+28 4.1 4.1
+29 4.2 3.5
+30 4.2 3.6
+31 4.2 3.7
+32 4.2 3.8
+33 4.2 3.9
+34 4.2 4.0
+35 4.2 4.1
+36 4.2 4.2
+37 4.3 3.5
+38 4.3 3.6
+39 4.3 3.7
+40 4.3 3.8
+41 4.3 3.9
+42 4.3 4.0
+43 4.3 4.1
+44 4.3 4.2
+45 4.3 4.3
+46 4.4 3.5
+47 4.4 3.6
+48 4.4 3.7
+49 4.4 3.8
+50 4.4 3.9
+51 4.4 4.0
+52 4.4 4.1
+53 4.4 4.2
+54 4.4 4.3
+55 4.4 4.4
+56 4.5 3.5
+57 4.5 3.6
+58 4.5 3.7
+59 4.5 3.8
+60 4.5 3.9
+61 4.5 4.0
+62 4.5 4.1
+63 4.5 4.2
+64 4.5 4.3
+65 4.5 4.4
+66 4.5 4.5
+67 4.6 3.5
+68 4.6 3.6
+69 4.6 3.7
+70 4.6 3.8
+71 4.6 3.9
+72 4.6 4.0
+73 4.6 4.1
+74 4.6 4.2
+75 4.6 4.3
+76 4.6 4.4
+77 4.6 4.5
+78 4.6 4.6
+79 4.7 3.5
+80 4.7 3.6
+81 4.7 3.7
+82 4.7 3.8
+83 4.7 3.9
+84 4.7 4.0
+85 4.7 4.1
+86 4.7 4.2
+87 4.7 4.3
+88 4.7 4.4
+89 4.7 4.5
+90 4.7 4.6
+91 4.7 4.7
+92 4.8 3.5
+93 4.8 3.6
+94 4.8 3.7
+95 4.8 3.8
+96 4.8 3.9
+97 4.8 4.0
+98 4.8 4.1
+99 4.8 4.2
+100 4.8 4.3
+101 4.8 4.4
+102 4.8 4.5
+103 4.8 4.6
+104 4.8 4.7
+105 4.8 4.8
+106 4.9 3.5
+107 4.9 3.6
+108 4.9 3.7
+109 4.9 3.8
+110 4.9 3.9
+111 4.9 4.0
+112 4.9 4.1
+113 4.9 4.2
+114 4.9 4.3
+115 4.9 4.4
+116 4.9 4.5
+117 4.9 4.6
+118 4.9 4.7
+119 4.9 4.8
+120 4.9 4.9
+121 5.0 3.5
+122 5.0 3.6
+123 5.0 3.7
+124 5.0 3.8
+125 5.0 3.9
+126 5.0 4.0
+127 5.0 4.1
+128 5.0 4.2
+129 5.0 4.3
+130 5.0 4.4
+131 5.0 4.5
+132 5.0 4.6
+133 5.0 4.7
+134 5.0 4.8
+135 5.0 4.9
+136 5.0 5.0
+137 5.1 3.5
+138 5.1 3.6
+139 5.1 3.7
+140 5.1 3.8
+141 5.1 3.9
+142 5.1 4.0
+143 5.1 4.1
+144 5.1 4.2
+145 5.1 4.3
+146 5.1 4.4
+147 5.1 4.5
+148 5.1 4.6
+149 5.1 4.7
+150 5.1 4.8
+151 5.1 4.9
+152 5.1 5.0
+153 5.1 5.1
+154 5.2 3.5
+155 5.2 3.6
+156 5.2 3.7
+157 5.2 3.8
+158 5.2 3.9
+159 5.2 4.0
+160 5.2 4.1
+161 5.2 4.2
+162 5.2 4.3
+163 5.2 4.4
+164 5.2 4.5
+165 5.2 4.6
+166 5.2 4.7
+167 5.2 4.8
+168 5.2 4.9
+169 5.2 5.0
+170 5.2 5.1
+171 5.2 5.2
+172 5.3 3.5
+173 5.3 3.6
+174 5.3 3.7
+175 5.3 3.8
+176 5.3 3.9
+177 5.3 4.0
+178 5.3 4.1
+179 5.3 4.2
+180 5.3 4.3
+181 5.3 4.4
+182 5.3 4.5
+183 5.3 4.6
+184 5.3 4.7
+185 5.3 4.8
+186 5.3 4.9
+187 5.3 5.0
+188 5.3 5.1
+189 5.3 5.2
+190 5.3 5.3
+191 5.4 3.5
+192 5.4 3.6
+193 5.4 3.7
+194 5.4 3.8
+195 5.4 3.9
+196 5.4 4.0
+197 5.4 4.1
+198 5.4 4.2
+199 5.4 4.3
+200 5.4 4.4
+201 5.4 4.5
+202 5.4 4.6
+203 5.4 4.7
+204 5.4 4.8
+205 5.4 4.9
+206 5.4 5.0
+207 5.4 5.1
+208 5.4 5.2
+209 5.4 5.3
+210 5.4 5.4
+211 5.5 3.5
+212 5.5 3.6
+213 5.5 3.7
+214 5.5 3.8
+215 5.5 3.9
+216 5.5 4.0
+217 5.5 4.1
+218 5.5 4.2
+219 5.5 4.3
+220 5.5 4.4
+221 5.5 4.5
+222 5.5 4.6
+223 5.5 4.7
+224 5.5 4.8
+225 5.5 4.9
+226 5.5 5.0
+227 5.5 5.1
+228 5.5 5.2
+229 5.5 5.3
+230 5.5 5.4
+231 5.5 5.5
+232 5.6 3.5
+233 5.6 3.6
+234 5.6 3.7
+235 5.6 3.8
+236 5.6 3.9
+237 5.6 4.0
+238 5.6 4.1
+239 5.6 4.2
+240 5.6 4.3
+241 5.6 4.4
+242 5.6 4.5
+243 5.6 4.6
+244 5.6 4.7
+245 5.6 4.8
+246 5.6 4.9
+247 5.6 5.0
+248 5.6 5.1
+249 5.6 5.2
+250 5.6 5.3
+251 5.6 5.4
+252 5.6 5.5
+253 5.6 5.6
+254 5.7 3.5
+255 5.7 3.6
+256 5.7 3.7
+257 5.7 3.8
+258 5.7 3.9
+259 5.7 4.0
+260 5.7 4.1
+261 5.7 4.2
+262 5.7 4.3
+263 5.7 4.4
+264 5.7 4.5
+265 5.7 4.6
+266 5.7 4.7
+267 5.7 4.8
+268 5.7 4.9
+269 5.7 5.0
+270 5.7 5.1
+271 5.7 5.2
+272 5.7 5.3
+273 5.7 5.4
+274 5.7 5.5
+275 5.7 5.6
+276 5.7 5.7
+277 5.8 3.5
+278 5.8 3.6
+279 5.8 3.7
+280 5.8 3.8
+281 5.8 3.9
+282 5.8 4.0
+283 5.8 4.1
+284 5.8 4.2
+285 5.8 4.3
+286 5.8 4.4
+287 5.8 4.5
+288 5.8 4.6
+289 5.8 4.7
+290 5.8 4.8
+291 5.8 4.9
+292 5.8 5.0
+293 5.8 5.1
+294 5.8 5.2
+295 5.8 5.3
+296 5.8 5.4
+297 5.8 5.5
+298 5.8 5.6
+299 5.8 5.7
+300 5.8 5.8
+301 5.9 3.5
+302 5.9 3.6
+303 5.9 3.7
+304 5.9 3.8
+305 5.9 3.9
+306 5.9 4.0
+307 5.9 4.1
+308 5.9 4.2
+309 5.9 4.3
+310 5.9 4.4
+311 5.9 4.5
+312 5.9 4.6
+313 5.9 4.7
+314 5.9 4.8
+315 5.9 4.9
+316 5.9 5.0
+317 5.9 5.1
+318 5.9 5.2
+319 5.9 5.3
+320 5.9 5.4
+321 5.9 5.5
+322 5.9 5.6
+323 5.9 5.7
+324 5.9 5.8
+325 5.9 5.9
+326 6.0 3.5
+327 6.0 3.6
+328 6.0 3.7
+329 6.0 3.8
+330 6.0 3.9
+331 6.0 4.0
+332 6.0 4.1
+333 6.0 4.2
+334 6.0 4.3
+335 6.0 4.4
+336 6.0 4.5
+337 6.0 4.6
+338 6.0 4.7
+339 6.0 4.8
+340 6.0 4.9
+341 6.0 5.0
+342 6.0 5.1
+343 6.0 5.2
+344 6.0 5.3
+345 6.0 5.4
+346 6.0 5.5
+347 6.0 5.6
+348 6.0 5.7
+349 6.0 5.8
+350 6.0 5.9
+351 6.0 6.0
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/bayes/bulk.txt b/extra/sim-trhepd-rheed/tests/single_beam/bayes/bulk.txt
new file mode 100644
index 00000000..d2833576
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/bayes/bulk.txt
@@ -0,0 +1,16 @@
+2,1,1 ,NH,NK,NDOM, -------- Ge(001) bulk
+1,1 ,(NB,I=1,NDOM)
+0,90 ,(RDOM,I=1,NDOM)
+0,0 ,(IH(I),IK(I),I=1,NB)
+10,0,0,0,0.1,7.0,0.1 ,BE,AZI,AZF,DAZ,GI,GF,DG
+0.05,200 ,DZ,ML
+1 ,NELM
+32,1.0,0.1 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+6,4.000668747,4.000668747,90,2.8289,0.5,0.5 ,NSG,AA,BB,GAM,CC,DX,DY
+2 ,NATM
+1,1.0,0.00000,0.50000, 2.121675 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1,1.0,0.00000,0.00000, 0.707225 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+
+
+
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/bayes/do.sh b/extra/sim-trhepd-rheed/tests/single_beam/bayes/do.sh
new file mode 100644
index 00000000..27dc5349
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/bayes/do.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+#CMD=py2dmat-sim-trhepd-rheed
+CMD="python3 ../../../src/main.py"
+
+sh prepare.sh
+
+../../bin/bulk.exe
+
+time $CMD input.toml
+
+result=output/BayesData.txt
+reference=ref_BayesData.txt
+
+echo diff $result $reference
+res=0
+diff $result $reference || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $result and $reference differ
+ false
+fi
+
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/bayes/experiment.txt b/extra/sim-trhepd-rheed/tests/single_beam/bayes/experiment.txt
new file mode 100644
index 00000000..ea7b680c
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/bayes/experiment.txt
@@ -0,0 +1,70 @@
+0.100000 0.002374995
+0.200000 0.003614789
+0.300000 0.005023215
+0.400000 0.006504978
+0.500000 0.007990674
+0.600000 0.009441623
+0.700000 0.010839445
+0.800000 0.012174578
+0.900000 0.013439485
+1.000000 0.014625579
+1.100000 0.015721463
+1.200000 0.016710969
+1.300000 0.017570142
+1.400000 0.018262420
+1.500000 0.018731411
+1.600000 0.018892641
+1.700000 0.018630851
+1.800000 0.017816493
+1.900000 0.016354279
+2.000000 0.014256366
+2.100000 0.011700068
+2.200000 0.009019956
+2.300000 0.006622730
+2.400000 0.004872397
+2.500000 0.004013645
+2.600000 0.004160161
+2.700000 0.005307435
+2.800000 0.007299786
+2.900000 0.009740557
+3.000000 0.011955639
+3.100000 0.013159801
+3.200000 0.012817227
+3.300000 0.010957880
+3.400000 0.008183372
+3.500000 0.005337202
+3.600000 0.003084209
+3.700000 0.001682330
+3.800000 0.001032496
+3.900000 0.000877873
+4.000000 0.000977533
+4.100000 0.001178203
+4.200000 0.001407336
+4.300000 0.001636711
+4.400000 0.001848435
+4.500000 0.002018552
+4.600000 0.002124789
+4.700000 0.002175465
+4.800000 0.002243257
+4.900000 0.002471714
+5.000000 0.003012527
+5.100000 0.003881614
+5.200000 0.004823572
+5.300000 0.005364254
+5.400000 0.005117472
+5.500000 0.004107123
+5.600000 0.002763088
+5.700000 0.001583937
+5.800000 0.000819761
+5.900000 0.000437166
+6.000000 0.000281652
+6.100000 0.000222495
+6.200000 0.000194182
+6.300000 0.000176249
+6.400000 0.000166092
+6.500000 0.000163569
+6.600000 0.000165388
+6.700000 0.000164956
+6.800000 0.000155324
+6.900000 0.000133175
+7.000000 0.000101185
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/bayes/input.toml b/extra/sim-trhepd-rheed/tests/single_beam/bayes/input.toml
new file mode 100644
index 00000000..1fc0bf7f
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/bayes/input.toml
@@ -0,0 +1,33 @@
+[base]
+dimension = 2
+output_dir = "output"
+
+[solver]
+name = "sim-trhepd-rheed"
+run_scheme = "subprocess"
+
+[solver.config]
+cal_number = [1]
+surface_exec_file = "../../bin/surf.exe"
+
+[solver.param]
+string_list = ["value_01", "value_02" ]
+
+[solver.post]
+normalization = "TOTAL"
+
+[solver.reference]
+path = "experiment.txt"
+exp_number = [1]
+
+[algorithm]
+name = "bayes"
+label_list = ["z1", "z2"]
+seed = 1
+
+[algorithm.param]
+mesh_path = "./MeshData.txt"
+
+[algorithm.bayes]
+random_max_num_probes = 10
+bayes_max_num_probes = 20
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/bayes/prepare.sh b/extra/sim-trhepd-rheed/tests/single_beam/bayes/prepare.sh
new file mode 100644
index 00000000..f4abaa75
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/bayes/prepare.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+rm -rf ./output
+rm -f ./bulkP.b
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/bayes/ref_BayesData.txt b/extra/sim-trhepd-rheed/tests/single_beam/bayes/ref_BayesData.txt
new file mode 100644
index 00000000..01a4aba8
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/bayes/ref_BayesData.txt
@@ -0,0 +1,31 @@
+#step z1 z2 fx z1_action z2_action fx_action
+0 5.1 4.9 0.037235074743172454 5.1 4.9 0.037235074743172454
+1 5.1 4.9 0.037235074743172454 4.3 3.5 0.06050573551746842
+2 5.1 4.9 0.037235074743172454 5.3 3.9 0.062166147965171524
+3 5.1 4.9 0.037235074743172454 4.7 4.2 0.049214053630051165
+4 5.1 4.9 0.037235074743172454 5.7 3.7 0.08394928032443437
+5 5.1 4.9 0.037235074743172454 5.2 5.2 0.05555968530512952
+6 5.1 4.9 0.037235074743172454 5.7 4.0 0.07546814729086875
+7 5.1 4.9 0.037235074743172454 6.0 4.4 0.05475948027103236
+8 5.1 4.9 0.037235074743172454 6.0 4.2 0.06340246937861264
+9 5.1 4.9 0.037235074743172454 5.7 5.2 0.053481983788166224
+10 5.1 4.7 0.03002911266695604 5.1 4.7 0.03002911266695604
+11 5.1 4.7 0.03002911266695604 5.0 4.4 0.030197369985028977
+12 5.3 4.5 0.02887388382938813 5.3 4.5 0.02887388382938813
+13 5.1 4.5 0.025865942161583205 5.1 4.5 0.025865942161583205
+14 5.2 4.4 0.02030947496767003 5.2 4.4 0.02030947496767003
+15 5.2 4.4 0.02030947496767003 5.2 4.6 0.023292070309454356
+16 5.2 4.4 0.02030947496767003 5.2 4.5 0.02346140561647057
+17 5.2 4.4 0.02030947496767003 5.1 4.4 0.022562987243107263
+18 5.2 4.4 0.02030947496767003 5.3 4.4 0.025442804284880622
+19 5.2 4.4 0.02030947496767003 5.1 4.6 0.027786263593583452
+20 5.2 4.3 0.01257638416660778 5.2 4.3 0.01257638416660778
+21 5.1 4.2 0.01021525608348611 5.1 4.2 0.01021525608348611
+22 5.1 4.2 0.01021525608348611 5.2 4.2 0.013185160407763272
+23 5.1 4.2 0.01021525608348611 5.1 4.3 0.01603857086925361
+24 5.1 4.2 0.01021525608348611 5.1 4.1 0.019162277030800867
+25 5.1 4.2 0.01021525608348611 5.0 4.2 0.020730041825922894
+26 5.1 4.2 0.01021525608348611 5.2 4.1 0.02768347196467913
+27 5.1 4.2 0.01021525608348611 4.9 3.7 0.05389772132512104
+28 5.1 4.2 0.01021525608348611 5.0 4.1 0.02067681958885218
+29 5.1 4.2 0.01021525608348611 5.3 4.3 0.020245107903776354
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/bayes/template.txt b/extra/sim-trhepd-rheed/tests/single_beam/bayes/template.txt
new file mode 100644
index 00000000..2fac0616
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/bayes/template.txt
@@ -0,0 +1,16 @@
+2 ,NELMS, -------- Ge(001)-c4x2
+32,1.0,0.1 ,Ge Z,da1,sap
+0.6,0.6,0.6 ,BH(I),BK(I),BZ(I)
+32,1.0,0.1 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+9,4,0,0,2, 2.0,-0.5,0.5 ,NSGS,msa,msb,nsa,nsb,dthick,DXS,DYS
+8 ,NATM
+1, 1.0, 1.34502591 1 value_01 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1, 1.0, 0.752457792 1 value_02
+2, 1.0, 1.480003343 1.465005851 3.5
+2, 1.0, 2 1.497500418 2.281675
+2, 1.0, 1 1.5 1.991675
+2, 1.0, 0 1 0.847225
+2, 1.0, 2 1 0.807225
+2, 1.0, 1.009998328 1 0.597225
+1,1 ,(WDOM,I=1,NDOM)
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/exchange/bulk.txt b/extra/sim-trhepd-rheed/tests/single_beam/exchange/bulk.txt
new file mode 100644
index 00000000..d2833576
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/exchange/bulk.txt
@@ -0,0 +1,16 @@
+2,1,1 ,NH,NK,NDOM, -------- Ge(001) bulk
+1,1 ,(NB,I=1,NDOM)
+0,90 ,(RDOM,I=1,NDOM)
+0,0 ,(IH(I),IK(I),I=1,NB)
+10,0,0,0,0.1,7.0,0.1 ,BE,AZI,AZF,DAZ,GI,GF,DG
+0.05,200 ,DZ,ML
+1 ,NELM
+32,1.0,0.1 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+6,4.000668747,4.000668747,90,2.8289,0.5,0.5 ,NSG,AA,BB,GAM,CC,DX,DY
+2 ,NATM
+1,1.0,0.00000,0.50000, 2.121675 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1,1.0,0.00000,0.00000, 0.707225 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+
+
+
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/exchange/do.sh b/extra/sim-trhepd-rheed/tests/single_beam/exchange/do.sh
new file mode 100644
index 00000000..d9683d3e
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/exchange/do.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+#CMD=py2dmat-sim-trhepd-rheed
+CMD="python3 ../../../src/main.py"
+
+sh prepare.sh
+
+../../bin/bulk.exe
+
+time mpiexec -np 4 $CMD input.toml
+
+result=output/best_result.txt
+reference=ref.txt
+
+echo diff $result $reference
+res=0
+diff $result $reference || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $result and $reference differ
+ false
+fi
+
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/exchange/experiment.txt b/extra/sim-trhepd-rheed/tests/single_beam/exchange/experiment.txt
new file mode 100644
index 00000000..ea7b680c
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/exchange/experiment.txt
@@ -0,0 +1,70 @@
+0.100000 0.002374995
+0.200000 0.003614789
+0.300000 0.005023215
+0.400000 0.006504978
+0.500000 0.007990674
+0.600000 0.009441623
+0.700000 0.010839445
+0.800000 0.012174578
+0.900000 0.013439485
+1.000000 0.014625579
+1.100000 0.015721463
+1.200000 0.016710969
+1.300000 0.017570142
+1.400000 0.018262420
+1.500000 0.018731411
+1.600000 0.018892641
+1.700000 0.018630851
+1.800000 0.017816493
+1.900000 0.016354279
+2.000000 0.014256366
+2.100000 0.011700068
+2.200000 0.009019956
+2.300000 0.006622730
+2.400000 0.004872397
+2.500000 0.004013645
+2.600000 0.004160161
+2.700000 0.005307435
+2.800000 0.007299786
+2.900000 0.009740557
+3.000000 0.011955639
+3.100000 0.013159801
+3.200000 0.012817227
+3.300000 0.010957880
+3.400000 0.008183372
+3.500000 0.005337202
+3.600000 0.003084209
+3.700000 0.001682330
+3.800000 0.001032496
+3.900000 0.000877873
+4.000000 0.000977533
+4.100000 0.001178203
+4.200000 0.001407336
+4.300000 0.001636711
+4.400000 0.001848435
+4.500000 0.002018552
+4.600000 0.002124789
+4.700000 0.002175465
+4.800000 0.002243257
+4.900000 0.002471714
+5.000000 0.003012527
+5.100000 0.003881614
+5.200000 0.004823572
+5.300000 0.005364254
+5.400000 0.005117472
+5.500000 0.004107123
+5.600000 0.002763088
+5.700000 0.001583937
+5.800000 0.000819761
+5.900000 0.000437166
+6.000000 0.000281652
+6.100000 0.000222495
+6.200000 0.000194182
+6.300000 0.000176249
+6.400000 0.000166092
+6.500000 0.000163569
+6.600000 0.000165388
+6.700000 0.000164956
+6.800000 0.000155324
+6.900000 0.000133175
+7.000000 0.000101185
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/exchange/input.toml b/extra/sim-trhepd-rheed/tests/single_beam/exchange/input.toml
new file mode 100644
index 00000000..b01540b2
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/exchange/input.toml
@@ -0,0 +1,37 @@
+[base]
+dimension = 2
+output_dir = "output"
+
+[algorithm]
+name = "exchange"
+label_list = ["z1", "z2"]
+seed = 12345
+
+[algorithm.param]
+min_list = [3.0, 3.0]
+max_list = [6.0, 6.0]
+
+[algorithm.exchange]
+numsteps = 1000
+numsteps_exchange = 20
+Tmin = 0.005
+Tmax = 0.05
+Tlogspace = true
+
+[solver]
+name = "sim-trhepd-rheed"
+run_scheme = "subprocess"
+
+[solver.config]
+cal_number = [1]
+surface_exec_file = "../../bin/surf.exe"
+
+[solver.param]
+string_list = ["value_01", "value_02" ]
+
+[solver.reference]
+path = "experiment.txt"
+exp_number = [1]
+
+[solver.post]
+normalization = "TOTAL"
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/exchange/prepare.sh b/extra/sim-trhepd-rheed/tests/single_beam/exchange/prepare.sh
new file mode 100644
index 00000000..f4abaa75
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/exchange/prepare.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+rm -rf ./output
+rm -f ./bulkP.b
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/exchange/ref.txt b/extra/sim-trhepd-rheed/tests/single_beam/exchange/ref.txt
new file mode 100644
index 00000000..b6db089b
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/exchange/ref.txt
@@ -0,0 +1,7 @@
+nprocs = 4
+rank = 1
+step = 282
+walker = 0
+fx = 0.008415217647192712
+z1 = 5.164773671165013
+z2 = 4.226467514644945
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/exchange/template.txt b/extra/sim-trhepd-rheed/tests/single_beam/exchange/template.txt
new file mode 100644
index 00000000..2fac0616
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/exchange/template.txt
@@ -0,0 +1,16 @@
+2 ,NELMS, -------- Ge(001)-c4x2
+32,1.0,0.1 ,Ge Z,da1,sap
+0.6,0.6,0.6 ,BH(I),BK(I),BZ(I)
+32,1.0,0.1 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+9,4,0,0,2, 2.0,-0.5,0.5 ,NSGS,msa,msb,nsa,nsb,dthick,DXS,DYS
+8 ,NATM
+1, 1.0, 1.34502591 1 value_01 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1, 1.0, 0.752457792 1 value_02
+2, 1.0, 1.480003343 1.465005851 3.5
+2, 1.0, 2 1.497500418 2.281675
+2, 1.0, 1 1.5 1.991675
+2, 1.0, 0 1 0.847225
+2, 1.0, 2 1 0.807225
+2, 1.0, 1.009998328 1 0.597225
+1,1 ,(WDOM,I=1,NDOM)
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper/MeshData.txt b/extra/sim-trhepd-rheed/tests/single_beam/mapper/MeshData.txt
new file mode 100644
index 00000000..fcb034f2
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper/MeshData.txt
@@ -0,0 +1,66 @@
+1 6.000000 6.000000
+2 6.000000 5.750000
+3 6.000000 5.500000
+4 6.000000 5.250000
+5 6.000000 5.000000
+6 6.000000 4.750000
+7 6.000000 4.500000
+8 6.000000 4.250000
+9 6.000000 4.000000
+10 6.000000 3.750000
+11 6.000000 3.500000
+12 5.750000 5.750000
+13 5.750000 5.500000
+14 5.750000 5.250000
+15 5.750000 5.000000
+16 5.750000 4.750000
+17 5.750000 4.500000
+18 5.750000 4.250000
+19 5.750000 4.000000
+20 5.750000 3.750000
+21 5.750000 3.500000
+22 5.500000 5.500000
+23 5.500000 5.250000
+24 5.500000 5.000000
+25 5.500000 4.750000
+26 5.500000 4.500000
+27 5.500000 4.250000
+28 5.500000 4.000000
+29 5.500000 3.750000
+30 5.500000 3.500000
+31 5.250000 5.250000
+32 5.250000 5.000000
+33 5.250000 4.750000
+34 5.250000 4.500000
+35 5.250000 4.250000
+36 5.250000 4.000000
+37 5.250000 3.750000
+38 5.250000 3.500000
+39 5.000000 5.000000
+40 5.000000 4.750000
+41 5.000000 4.500000
+42 5.000000 4.250000
+43 5.000000 4.000000
+44 5.000000 3.750000
+45 5.000000 3.500000
+46 4.750000 4.750000
+47 4.750000 4.500000
+48 4.750000 4.250000
+49 4.750000 4.000000
+50 4.750000 3.750000
+51 4.750000 3.500000
+52 4.500000 4.500000
+53 4.500000 4.250000
+54 4.500000 4.000000
+55 4.500000 3.750000
+56 4.500000 3.500000
+57 4.250000 4.250000
+58 4.250000 4.000000
+59 4.250000 3.750000
+60 4.250000 3.500000
+61 4.000000 4.000000
+62 4.000000 3.750000
+63 4.000000 3.500000
+64 3.750000 3.750000
+65 3.750000 3.500000
+66 3.500000 3.500000
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper/bulk.txt b/extra/sim-trhepd-rheed/tests/single_beam/mapper/bulk.txt
new file mode 100644
index 00000000..d2833576
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper/bulk.txt
@@ -0,0 +1,16 @@
+2,1,1 ,NH,NK,NDOM, -------- Ge(001) bulk
+1,1 ,(NB,I=1,NDOM)
+0,90 ,(RDOM,I=1,NDOM)
+0,0 ,(IH(I),IK(I),I=1,NB)
+10,0,0,0,0.1,7.0,0.1 ,BE,AZI,AZF,DAZ,GI,GF,DG
+0.05,200 ,DZ,ML
+1 ,NELM
+32,1.0,0.1 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+6,4.000668747,4.000668747,90,2.8289,0.5,0.5 ,NSG,AA,BB,GAM,CC,DX,DY
+2 ,NATM
+1,1.0,0.00000,0.50000, 2.121675 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1,1.0,0.00000,0.00000, 0.707225 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+
+
+
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper/do.sh b/extra/sim-trhepd-rheed/tests/single_beam/mapper/do.sh
new file mode 100644
index 00000000..83bddafa
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper/do.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+#CMD=py2dmat-sim-trhepd-rheed
+CMD="python3 ../../../src/main.py"
+
+sh prepare.sh
+
+../../bin/bulk.exe
+
+time mpiexec -np 4 $CMD input.toml
+
+result=output/ColorMap.txt
+reference=ref_ColorMap.txt
+
+echo diff $result $reference
+res=0
+diff $result $reference || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $result and $reference differ
+ false
+fi
+
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper/experiment.txt b/extra/sim-trhepd-rheed/tests/single_beam/mapper/experiment.txt
new file mode 100644
index 00000000..ea7b680c
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper/experiment.txt
@@ -0,0 +1,70 @@
+0.100000 0.002374995
+0.200000 0.003614789
+0.300000 0.005023215
+0.400000 0.006504978
+0.500000 0.007990674
+0.600000 0.009441623
+0.700000 0.010839445
+0.800000 0.012174578
+0.900000 0.013439485
+1.000000 0.014625579
+1.100000 0.015721463
+1.200000 0.016710969
+1.300000 0.017570142
+1.400000 0.018262420
+1.500000 0.018731411
+1.600000 0.018892641
+1.700000 0.018630851
+1.800000 0.017816493
+1.900000 0.016354279
+2.000000 0.014256366
+2.100000 0.011700068
+2.200000 0.009019956
+2.300000 0.006622730
+2.400000 0.004872397
+2.500000 0.004013645
+2.600000 0.004160161
+2.700000 0.005307435
+2.800000 0.007299786
+2.900000 0.009740557
+3.000000 0.011955639
+3.100000 0.013159801
+3.200000 0.012817227
+3.300000 0.010957880
+3.400000 0.008183372
+3.500000 0.005337202
+3.600000 0.003084209
+3.700000 0.001682330
+3.800000 0.001032496
+3.900000 0.000877873
+4.000000 0.000977533
+4.100000 0.001178203
+4.200000 0.001407336
+4.300000 0.001636711
+4.400000 0.001848435
+4.500000 0.002018552
+4.600000 0.002124789
+4.700000 0.002175465
+4.800000 0.002243257
+4.900000 0.002471714
+5.000000 0.003012527
+5.100000 0.003881614
+5.200000 0.004823572
+5.300000 0.005364254
+5.400000 0.005117472
+5.500000 0.004107123
+5.600000 0.002763088
+5.700000 0.001583937
+5.800000 0.000819761
+5.900000 0.000437166
+6.000000 0.000281652
+6.100000 0.000222495
+6.200000 0.000194182
+6.300000 0.000176249
+6.400000 0.000166092
+6.500000 0.000163569
+6.600000 0.000165388
+6.700000 0.000164956
+6.800000 0.000155324
+6.900000 0.000133175
+7.000000 0.000101185
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper/input.toml b/extra/sim-trhepd-rheed/tests/single_beam/mapper/input.toml
new file mode 100644
index 00000000..cfc25253
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper/input.toml
@@ -0,0 +1,28 @@
+[base]
+dimension = 2
+output_dir = "output"
+
+[solver]
+name = "sim-trhepd-rheed"
+run_scheme = "subprocess"
+
+[solver.config]
+cal_number = [1]
+surface_exec_file = "../../bin/surf.exe"
+
+[solver.param]
+string_list = ["value_01", "value_02" ]
+
+[solver.post]
+normalization = "TOTAL"
+
+[solver.reference]
+path = "experiment.txt"
+exp_number = [1]
+
+[algorithm]
+name = "mapper"
+label_list = ["z1", "z2"]
+
+[algorithm.param]
+mesh_path = "./MeshData.txt"
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper/prepare.sh b/extra/sim-trhepd-rheed/tests/single_beam/mapper/prepare.sh
new file mode 100644
index 00000000..f93e6b8e
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper/prepare.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+rm -rf ./output
+rm -f bulkP.b
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper/ref_ColorMap.txt b/extra/sim-trhepd-rheed/tests/single_beam/mapper/ref_ColorMap.txt
new file mode 100644
index 00000000..a3cbc85e
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper/ref_ColorMap.txt
@@ -0,0 +1,66 @@
+6.000000 6.000000 0.047846
+6.000000 5.750000 0.055009
+6.000000 5.500000 0.053194
+6.000000 5.250000 0.038903
+6.000000 5.000000 0.047676
+6.000000 4.750000 0.065922
+6.000000 4.500000 0.053673
+6.000000 4.250000 0.061259
+6.000000 4.000000 0.069352
+6.000000 3.750000 0.071867
+6.000000 3.500000 0.072730
+5.750000 5.750000 0.065353
+5.750000 5.500000 0.066828
+5.750000 5.250000 0.054689
+5.750000 5.000000 0.038405
+5.750000 4.750000 0.060613
+5.750000 4.500000 0.056340
+5.750000 4.250000 0.059283
+5.750000 4.000000 0.075594
+5.750000 3.750000 0.082130
+5.750000 3.500000 0.084815
+5.500000 5.500000 0.070998
+5.500000 5.250000 0.063473
+5.500000 5.000000 0.042935
+5.500000 4.750000 0.036995
+5.500000 4.500000 0.046668
+5.500000 4.250000 0.043790
+5.500000 4.000000 0.069106
+5.500000 3.750000 0.081188
+5.500000 3.500000 0.088012
+5.250000 5.250000 0.059773
+5.250000 5.000000 0.044562
+5.250000 4.750000 0.025415
+5.250000 4.500000 0.025355
+5.250000 4.250000 0.015197
+5.250000 4.000000 0.047524
+5.250000 3.750000 0.067863
+5.250000 3.500000 0.078097
+5.000000 5.000000 0.039906
+5.000000 4.750000 0.037154
+5.000000 4.500000 0.033463
+5.000000 4.250000 0.023122
+5.000000 4.000000 0.029220
+5.000000 3.750000 0.052800
+5.000000 3.500000 0.063470
+4.750000 4.750000 0.049717
+4.750000 4.500000 0.051418
+4.750000 4.250000 0.046464
+4.750000 4.000000 0.040708
+4.750000 3.750000 0.050734
+4.750000 3.500000 0.061679
+4.500000 4.500000 0.058291
+4.500000 4.250000 0.059305
+4.500000 4.000000 0.059127
+4.500000 3.750000 0.053183
+4.500000 3.500000 0.060732
+4.250000 4.250000 0.065582
+4.250000 4.000000 0.069906
+4.250000 3.750000 0.065922
+4.250000 3.500000 0.062103
+4.000000 4.000000 0.074717
+4.000000 3.750000 0.076795
+4.000000 3.500000 0.075043
+3.750000 3.750000 0.082498
+3.750000 3.500000 0.084603
+3.500000 3.500000 0.088998
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper/template.txt b/extra/sim-trhepd-rheed/tests/single_beam/mapper/template.txt
new file mode 100644
index 00000000..2fac0616
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper/template.txt
@@ -0,0 +1,16 @@
+2 ,NELMS, -------- Ge(001)-c4x2
+32,1.0,0.1 ,Ge Z,da1,sap
+0.6,0.6,0.6 ,BH(I),BK(I),BZ(I)
+32,1.0,0.1 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+9,4,0,0,2, 2.0,-0.5,0.5 ,NSGS,msa,msb,nsa,nsb,dthick,DXS,DYS
+8 ,NATM
+1, 1.0, 1.34502591 1 value_01 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1, 1.0, 0.752457792 1 value_02
+2, 1.0, 1.480003343 1.465005851 3.5
+2, 1.0, 2 1.497500418 2.281675
+2, 1.0, 1 1.5 1.991675
+2, 1.0, 0 1 0.847225
+2, 1.0, 2 1 0.807225
+2, 1.0, 1.009998328 1 0.597225
+1,1 ,(WDOM,I=1,NDOM)
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/MeshData.txt b/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/MeshData.txt
new file mode 100644
index 00000000..fcb034f2
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/MeshData.txt
@@ -0,0 +1,66 @@
+1 6.000000 6.000000
+2 6.000000 5.750000
+3 6.000000 5.500000
+4 6.000000 5.250000
+5 6.000000 5.000000
+6 6.000000 4.750000
+7 6.000000 4.500000
+8 6.000000 4.250000
+9 6.000000 4.000000
+10 6.000000 3.750000
+11 6.000000 3.500000
+12 5.750000 5.750000
+13 5.750000 5.500000
+14 5.750000 5.250000
+15 5.750000 5.000000
+16 5.750000 4.750000
+17 5.750000 4.500000
+18 5.750000 4.250000
+19 5.750000 4.000000
+20 5.750000 3.750000
+21 5.750000 3.500000
+22 5.500000 5.500000
+23 5.500000 5.250000
+24 5.500000 5.000000
+25 5.500000 4.750000
+26 5.500000 4.500000
+27 5.500000 4.250000
+28 5.500000 4.000000
+29 5.500000 3.750000
+30 5.500000 3.500000
+31 5.250000 5.250000
+32 5.250000 5.000000
+33 5.250000 4.750000
+34 5.250000 4.500000
+35 5.250000 4.250000
+36 5.250000 4.000000
+37 5.250000 3.750000
+38 5.250000 3.500000
+39 5.000000 5.000000
+40 5.000000 4.750000
+41 5.000000 4.500000
+42 5.000000 4.250000
+43 5.000000 4.000000
+44 5.000000 3.750000
+45 5.000000 3.500000
+46 4.750000 4.750000
+47 4.750000 4.500000
+48 4.750000 4.250000
+49 4.750000 4.000000
+50 4.750000 3.750000
+51 4.750000 3.500000
+52 4.500000 4.500000
+53 4.500000 4.250000
+54 4.500000 4.000000
+55 4.500000 3.750000
+56 4.500000 3.500000
+57 4.250000 4.250000
+58 4.250000 4.000000
+59 4.250000 3.750000
+60 4.250000 3.500000
+61 4.000000 4.000000
+62 4.000000 3.750000
+63 4.000000 3.500000
+64 3.750000 3.750000
+65 3.750000 3.500000
+66 3.500000 3.500000
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/bulk.txt b/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/bulk.txt
new file mode 100644
index 00000000..d2833576
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/bulk.txt
@@ -0,0 +1,16 @@
+2,1,1 ,NH,NK,NDOM, -------- Ge(001) bulk
+1,1 ,(NB,I=1,NDOM)
+0,90 ,(RDOM,I=1,NDOM)
+0,0 ,(IH(I),IK(I),I=1,NB)
+10,0,0,0,0.1,7.0,0.1 ,BE,AZI,AZF,DAZ,GI,GF,DG
+0.05,200 ,DZ,ML
+1 ,NELM
+32,1.0,0.1 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+6,4.000668747,4.000668747,90,2.8289,0.5,0.5 ,NSG,AA,BB,GAM,CC,DX,DY
+2 ,NATM
+1,1.0,0.00000,0.50000, 2.121675 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1,1.0,0.00000,0.00000, 0.707225 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+
+
+
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/do.sh b/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/do.sh
new file mode 100644
index 00000000..e3668631
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/do.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+#CMD=py2dmat-sim-trhepd-rheed
+CMD="python3 ../../../src/main.py"
+
+sh prepare.sh
+
+../../bin/bulk.exe
+
+time $CMD input.toml
+
+result=output/ColorMap.txt
+reference=ref_ColorMap.txt
+
+echo diff $result $reference
+res=0
+diff $result $reference || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $result and $reference differ
+ false
+fi
+
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/experiment.txt b/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/experiment.txt
new file mode 100644
index 00000000..ea7b680c
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/experiment.txt
@@ -0,0 +1,70 @@
+0.100000 0.002374995
+0.200000 0.003614789
+0.300000 0.005023215
+0.400000 0.006504978
+0.500000 0.007990674
+0.600000 0.009441623
+0.700000 0.010839445
+0.800000 0.012174578
+0.900000 0.013439485
+1.000000 0.014625579
+1.100000 0.015721463
+1.200000 0.016710969
+1.300000 0.017570142
+1.400000 0.018262420
+1.500000 0.018731411
+1.600000 0.018892641
+1.700000 0.018630851
+1.800000 0.017816493
+1.900000 0.016354279
+2.000000 0.014256366
+2.100000 0.011700068
+2.200000 0.009019956
+2.300000 0.006622730
+2.400000 0.004872397
+2.500000 0.004013645
+2.600000 0.004160161
+2.700000 0.005307435
+2.800000 0.007299786
+2.900000 0.009740557
+3.000000 0.011955639
+3.100000 0.013159801
+3.200000 0.012817227
+3.300000 0.010957880
+3.400000 0.008183372
+3.500000 0.005337202
+3.600000 0.003084209
+3.700000 0.001682330
+3.800000 0.001032496
+3.900000 0.000877873
+4.000000 0.000977533
+4.100000 0.001178203
+4.200000 0.001407336
+4.300000 0.001636711
+4.400000 0.001848435
+4.500000 0.002018552
+4.600000 0.002124789
+4.700000 0.002175465
+4.800000 0.002243257
+4.900000 0.002471714
+5.000000 0.003012527
+5.100000 0.003881614
+5.200000 0.004823572
+5.300000 0.005364254
+5.400000 0.005117472
+5.500000 0.004107123
+5.600000 0.002763088
+5.700000 0.001583937
+5.800000 0.000819761
+5.900000 0.000437166
+6.000000 0.000281652
+6.100000 0.000222495
+6.200000 0.000194182
+6.300000 0.000176249
+6.400000 0.000166092
+6.500000 0.000163569
+6.600000 0.000165388
+6.700000 0.000164956
+6.800000 0.000155324
+6.900000 0.000133175
+7.000000 0.000101185
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/input.toml b/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/input.toml
new file mode 100644
index 00000000..9660cc73
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/input.toml
@@ -0,0 +1,29 @@
+[base]
+dimension = 2
+output_dir = "output"
+
+[solver]
+name = "sim-trhepd-rheed"
+run_scheme = "subprocess"
+
+[solver.config]
+cal_number = [1]
+surface_exec_file = "../../bin/surf.exe"
+
+[solver.param]
+string_list = ["value_01", "value_02" ]
+
+[solver.post]
+normalization = "TOTAL"
+Rfactor_type = "A2"
+
+[solver.reference]
+path = "experiment.txt"
+exp_number = [1]
+
+[algorithm]
+name = "mapper"
+label_list = ["z1", "z2"]
+
+[algorithm.param]
+mesh_path = "./MeshData.txt"
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/prepare.sh b/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/prepare.sh
new file mode 100644
index 00000000..f93e6b8e
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/prepare.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+rm -rf ./output
+rm -f bulkP.b
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/ref_ColorMap.txt b/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/ref_ColorMap.txt
new file mode 100644
index 00000000..1b1e486e
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/ref_ColorMap.txt
@@ -0,0 +1,66 @@
+6.000000 6.000000 0.002289
+6.000000 5.750000 0.003026
+6.000000 5.500000 0.002830
+6.000000 5.250000 0.001513
+6.000000 5.000000 0.002273
+6.000000 4.750000 0.004346
+6.000000 4.500000 0.002881
+6.000000 4.250000 0.003753
+6.000000 4.000000 0.004810
+6.000000 3.750000 0.005165
+6.000000 3.500000 0.005290
+5.750000 5.750000 0.004271
+5.750000 5.500000 0.004466
+5.750000 5.250000 0.002991
+5.750000 5.000000 0.001475
+5.750000 4.750000 0.003674
+5.750000 4.500000 0.003174
+5.750000 4.250000 0.003514
+5.750000 4.000000 0.005714
+5.750000 3.750000 0.006745
+5.750000 3.500000 0.007194
+5.500000 5.500000 0.005041
+5.500000 5.250000 0.004029
+5.500000 5.000000 0.001843
+5.500000 4.750000 0.001369
+5.500000 4.500000 0.002178
+5.500000 4.250000 0.001918
+5.500000 4.000000 0.004776
+5.500000 3.750000 0.006592
+5.500000 3.500000 0.007746
+5.250000 5.250000 0.003573
+5.250000 5.000000 0.001986
+5.250000 4.750000 0.000646
+5.250000 4.500000 0.000643
+5.250000 4.250000 0.000231
+5.250000 4.000000 0.002259
+5.250000 3.750000 0.004605
+5.250000 3.500000 0.006099
+5.000000 5.000000 0.001593
+5.000000 4.750000 0.001380
+5.000000 4.500000 0.001120
+5.000000 4.250000 0.000535
+5.000000 4.000000 0.000854
+5.000000 3.750000 0.002788
+5.000000 3.500000 0.004028
+4.750000 4.750000 0.002472
+4.750000 4.500000 0.002644
+4.750000 4.250000 0.002159
+4.750000 4.000000 0.001657
+4.750000 3.750000 0.002574
+4.750000 3.500000 0.003804
+4.500000 4.500000 0.003398
+4.500000 4.250000 0.003517
+4.500000 4.000000 0.003496
+4.500000 3.750000 0.002828
+4.500000 3.500000 0.003688
+4.250000 4.250000 0.004301
+4.250000 4.000000 0.004887
+4.250000 3.750000 0.004346
+4.250000 3.500000 0.003857
+4.000000 4.000000 0.005583
+4.000000 3.750000 0.005897
+4.000000 3.500000 0.005631
+3.750000 3.750000 0.006806
+3.750000 3.500000 0.007158
+3.500000 3.500000 0.007921
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/template.txt b/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/template.txt
new file mode 100644
index 00000000..2fac0616
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper_A2/template.txt
@@ -0,0 +1,16 @@
+2 ,NELMS, -------- Ge(001)-c4x2
+32,1.0,0.1 ,Ge Z,da1,sap
+0.6,0.6,0.6 ,BH(I),BK(I),BZ(I)
+32,1.0,0.1 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+9,4,0,0,2, 2.0,-0.5,0.5 ,NSGS,msa,msb,nsa,nsb,dthick,DXS,DYS
+8 ,NATM
+1, 1.0, 1.34502591 1 value_01 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1, 1.0, 0.752457792 1 value_02
+2, 1.0, 1.480003343 1.465005851 3.5
+2, 1.0, 2 1.497500418 2.281675
+2, 1.0, 1 1.5 1.991675
+2, 1.0, 0 1 0.847225
+2, 1.0, 2 1 0.807225
+2, 1.0, 1.009998328 1 0.597225
+1,1 ,(WDOM,I=1,NDOM)
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/MeshData.txt b/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/MeshData.txt
new file mode 100644
index 00000000..fcb034f2
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/MeshData.txt
@@ -0,0 +1,66 @@
+1 6.000000 6.000000
+2 6.000000 5.750000
+3 6.000000 5.500000
+4 6.000000 5.250000
+5 6.000000 5.000000
+6 6.000000 4.750000
+7 6.000000 4.500000
+8 6.000000 4.250000
+9 6.000000 4.000000
+10 6.000000 3.750000
+11 6.000000 3.500000
+12 5.750000 5.750000
+13 5.750000 5.500000
+14 5.750000 5.250000
+15 5.750000 5.000000
+16 5.750000 4.750000
+17 5.750000 4.500000
+18 5.750000 4.250000
+19 5.750000 4.000000
+20 5.750000 3.750000
+21 5.750000 3.500000
+22 5.500000 5.500000
+23 5.500000 5.250000
+24 5.500000 5.000000
+25 5.500000 4.750000
+26 5.500000 4.500000
+27 5.500000 4.250000
+28 5.500000 4.000000
+29 5.500000 3.750000
+30 5.500000 3.500000
+31 5.250000 5.250000
+32 5.250000 5.000000
+33 5.250000 4.750000
+34 5.250000 4.500000
+35 5.250000 4.250000
+36 5.250000 4.000000
+37 5.250000 3.750000
+38 5.250000 3.500000
+39 5.000000 5.000000
+40 5.000000 4.750000
+41 5.000000 4.500000
+42 5.000000 4.250000
+43 5.000000 4.000000
+44 5.000000 3.750000
+45 5.000000 3.500000
+46 4.750000 4.750000
+47 4.750000 4.500000
+48 4.750000 4.250000
+49 4.750000 4.000000
+50 4.750000 3.750000
+51 4.750000 3.500000
+52 4.500000 4.500000
+53 4.500000 4.250000
+54 4.500000 4.000000
+55 4.500000 3.750000
+56 4.500000 3.500000
+57 4.250000 4.250000
+58 4.250000 4.000000
+59 4.250000 3.750000
+60 4.250000 3.500000
+61 4.000000 4.000000
+62 4.000000 3.750000
+63 4.000000 3.500000
+64 3.750000 3.750000
+65 3.750000 3.500000
+66 3.500000 3.500000
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/bulk.txt b/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/bulk.txt
new file mode 100644
index 00000000..d2833576
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/bulk.txt
@@ -0,0 +1,16 @@
+2,1,1 ,NH,NK,NDOM, -------- Ge(001) bulk
+1,1 ,(NB,I=1,NDOM)
+0,90 ,(RDOM,I=1,NDOM)
+0,0 ,(IH(I),IK(I),I=1,NB)
+10,0,0,0,0.1,7.0,0.1 ,BE,AZI,AZF,DAZ,GI,GF,DG
+0.05,200 ,DZ,ML
+1 ,NELM
+32,1.0,0.1 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+6,4.000668747,4.000668747,90,2.8289,0.5,0.5 ,NSG,AA,BB,GAM,CC,DX,DY
+2 ,NATM
+1,1.0,0.00000,0.50000, 2.121675 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1,1.0,0.00000,0.00000, 0.707225 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+
+
+
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/do.sh b/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/do.sh
new file mode 100644
index 00000000..57403ec5
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/do.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+#CMD=py2dmat-sim-trhepd-rheed
+CMD="python3 ../../../src/main.py"
+
+sh prepare.sh
+
+../../bin/bulk.exe
+
+time mpiexec -np 2 $CMD input.toml
+
+result=output/ColorMap.txt
+reference=ref_ColorMap.txt
+
+echo diff $result $reference
+res=0
+diff $result $reference || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $result and $reference differ
+ false
+fi
+
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/experiment.txt b/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/experiment.txt
new file mode 100644
index 00000000..ea7b680c
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/experiment.txt
@@ -0,0 +1,70 @@
+0.100000 0.002374995
+0.200000 0.003614789
+0.300000 0.005023215
+0.400000 0.006504978
+0.500000 0.007990674
+0.600000 0.009441623
+0.700000 0.010839445
+0.800000 0.012174578
+0.900000 0.013439485
+1.000000 0.014625579
+1.100000 0.015721463
+1.200000 0.016710969
+1.300000 0.017570142
+1.400000 0.018262420
+1.500000 0.018731411
+1.600000 0.018892641
+1.700000 0.018630851
+1.800000 0.017816493
+1.900000 0.016354279
+2.000000 0.014256366
+2.100000 0.011700068
+2.200000 0.009019956
+2.300000 0.006622730
+2.400000 0.004872397
+2.500000 0.004013645
+2.600000 0.004160161
+2.700000 0.005307435
+2.800000 0.007299786
+2.900000 0.009740557
+3.000000 0.011955639
+3.100000 0.013159801
+3.200000 0.012817227
+3.300000 0.010957880
+3.400000 0.008183372
+3.500000 0.005337202
+3.600000 0.003084209
+3.700000 0.001682330
+3.800000 0.001032496
+3.900000 0.000877873
+4.000000 0.000977533
+4.100000 0.001178203
+4.200000 0.001407336
+4.300000 0.001636711
+4.400000 0.001848435
+4.500000 0.002018552
+4.600000 0.002124789
+4.700000 0.002175465
+4.800000 0.002243257
+4.900000 0.002471714
+5.000000 0.003012527
+5.100000 0.003881614
+5.200000 0.004823572
+5.300000 0.005364254
+5.400000 0.005117472
+5.500000 0.004107123
+5.600000 0.002763088
+5.700000 0.001583937
+5.800000 0.000819761
+5.900000 0.000437166
+6.000000 0.000281652
+6.100000 0.000222495
+6.200000 0.000194182
+6.300000 0.000176249
+6.400000 0.000166092
+6.500000 0.000163569
+6.600000 0.000165388
+6.700000 0.000164956
+6.800000 0.000155324
+6.900000 0.000133175
+7.000000 0.000101185
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/input.toml b/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/input.toml
new file mode 100644
index 00000000..269e433d
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/input.toml
@@ -0,0 +1,29 @@
+[base]
+dimension = 2
+output_dir = "output"
+
+[solver]
+name = "sim-trhepd-rheed"
+run_scheme = "subprocess"
+
+[solver.config]
+cal_number = [1]
+surface_exec_file = "../../bin/surf.exe"
+
+[solver.param]
+string_list = ["value_01", "value_02" ]
+
+[solver.post]
+normalization = "TOTAL"
+Rfactor_type = "B"
+
+[solver.reference]
+path = "experiment.txt"
+exp_number = [1]
+
+[algorithm]
+name = "mapper"
+label_list = ["z1", "z2"]
+
+[algorithm.param]
+mesh_path = "./MeshData.txt"
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/prepare.sh b/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/prepare.sh
new file mode 100644
index 00000000..f93e6b8e
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/prepare.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+rm -rf ./output
+rm -f bulkP.b
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/ref_ColorMap.txt b/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/ref_ColorMap.txt
new file mode 100644
index 00000000..6de21e37
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/ref_ColorMap.txt
@@ -0,0 +1,66 @@
+6.000000 6.000000 0.043602
+6.000000 5.750000 0.056692
+6.000000 5.500000 0.053222
+6.000000 5.250000 0.029395
+6.000000 5.000000 0.042527
+6.000000 4.750000 0.078972
+6.000000 4.500000 0.056501
+6.000000 4.250000 0.072859
+6.000000 4.000000 0.089421
+6.000000 3.750000 0.098674
+6.000000 3.500000 0.105137
+5.750000 5.750000 0.082346
+5.750000 5.500000 0.085609
+5.750000 5.250000 0.057396
+5.750000 5.000000 0.028287
+5.750000 4.750000 0.067691
+5.750000 4.500000 0.061419
+5.750000 4.250000 0.068981
+5.750000 4.000000 0.108029
+5.750000 3.750000 0.130551
+5.750000 3.500000 0.143084
+5.500000 5.500000 0.098892
+5.500000 5.250000 0.077831
+5.500000 5.000000 0.034807
+5.500000 4.750000 0.025833
+5.500000 4.500000 0.041589
+5.500000 4.250000 0.037448
+5.500000 4.000000 0.089941
+5.500000 3.750000 0.129006
+5.500000 3.500000 0.156400
+5.250000 5.250000 0.069573
+5.250000 5.000000 0.037297
+5.250000 4.750000 0.011899
+5.250000 4.500000 0.011973
+5.250000 4.250000 0.004370
+5.250000 4.000000 0.041899
+5.250000 3.750000 0.089042
+5.250000 3.500000 0.123796
+5.000000 5.000000 0.029952
+5.000000 4.750000 0.025381
+5.000000 4.500000 0.020344
+5.000000 4.250000 0.009757
+5.000000 4.000000 0.015623
+5.000000 3.750000 0.052996
+5.000000 3.500000 0.080230
+4.750000 4.750000 0.046814
+4.750000 4.500000 0.049881
+4.750000 4.250000 0.039709
+4.750000 4.000000 0.030597
+4.750000 3.750000 0.049682
+4.750000 3.500000 0.075542
+4.500000 4.500000 0.066076
+4.500000 4.250000 0.065760
+4.500000 4.000000 0.063094
+4.500000 3.750000 0.054719
+4.500000 3.500000 0.074344
+4.250000 4.250000 0.079749
+4.250000 4.000000 0.087346
+4.250000 3.750000 0.080592
+4.250000 3.500000 0.075993
+4.000000 4.000000 0.101746
+4.000000 3.750000 0.110196
+4.000000 3.500000 0.107872
+3.750000 3.750000 0.133591
+3.750000 3.500000 0.142635
+3.500000 3.500000 0.163221
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/template.txt b/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/template.txt
new file mode 100644
index 00000000..2fac0616
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/mapper_B/template.txt
@@ -0,0 +1,16 @@
+2 ,NELMS, -------- Ge(001)-c4x2
+32,1.0,0.1 ,Ge Z,da1,sap
+0.6,0.6,0.6 ,BH(I),BK(I),BZ(I)
+32,1.0,0.1 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+9,4,0,0,2, 2.0,-0.5,0.5 ,NSGS,msa,msb,nsa,nsb,dthick,DXS,DYS
+8 ,NATM
+1, 1.0, 1.34502591 1 value_01 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1, 1.0, 0.752457792 1 value_02
+2, 1.0, 1.480003343 1.465005851 3.5
+2, 1.0, 2 1.497500418 2.281675
+2, 1.0, 1 1.5 1.991675
+2, 1.0, 0 1 0.847225
+2, 1.0, 2 1 0.807225
+2, 1.0, 1.009998328 1 0.597225
+1,1 ,(WDOM,I=1,NDOM)
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/minsearch/bulk.txt b/extra/sim-trhepd-rheed/tests/single_beam/minsearch/bulk.txt
new file mode 100644
index 00000000..d2833576
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/minsearch/bulk.txt
@@ -0,0 +1,16 @@
+2,1,1 ,NH,NK,NDOM, -------- Ge(001) bulk
+1,1 ,(NB,I=1,NDOM)
+0,90 ,(RDOM,I=1,NDOM)
+0,0 ,(IH(I),IK(I),I=1,NB)
+10,0,0,0,0.1,7.0,0.1 ,BE,AZI,AZF,DAZ,GI,GF,DG
+0.05,200 ,DZ,ML
+1 ,NELM
+32,1.0,0.1 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+6,4.000668747,4.000668747,90,2.8289,0.5,0.5 ,NSG,AA,BB,GAM,CC,DX,DY
+2 ,NATM
+1,1.0,0.00000,0.50000, 2.121675 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1,1.0,0.00000,0.00000, 0.707225 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+
+
+
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/minsearch/do.sh b/extra/sim-trhepd-rheed/tests/single_beam/minsearch/do.sh
new file mode 100644
index 00000000..fa38f7ed
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/minsearch/do.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+#CMD=py2dmat-sim-trhepd-rheed
+CMD="python3 ../../../src/main.py"
+
+sh ./prepare.sh
+
+../../bin/bulk.exe
+
+time $CMD input.toml
+
+result=output/res.txt
+reference=ref.txt
+
+echo diff $result $reference
+res=0
+diff $result $reference || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $result and $reference differ
+ false
+fi
+
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/minsearch/experiment.txt b/extra/sim-trhepd-rheed/tests/single_beam/minsearch/experiment.txt
new file mode 100644
index 00000000..ea7b680c
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/minsearch/experiment.txt
@@ -0,0 +1,70 @@
+0.100000 0.002374995
+0.200000 0.003614789
+0.300000 0.005023215
+0.400000 0.006504978
+0.500000 0.007990674
+0.600000 0.009441623
+0.700000 0.010839445
+0.800000 0.012174578
+0.900000 0.013439485
+1.000000 0.014625579
+1.100000 0.015721463
+1.200000 0.016710969
+1.300000 0.017570142
+1.400000 0.018262420
+1.500000 0.018731411
+1.600000 0.018892641
+1.700000 0.018630851
+1.800000 0.017816493
+1.900000 0.016354279
+2.000000 0.014256366
+2.100000 0.011700068
+2.200000 0.009019956
+2.300000 0.006622730
+2.400000 0.004872397
+2.500000 0.004013645
+2.600000 0.004160161
+2.700000 0.005307435
+2.800000 0.007299786
+2.900000 0.009740557
+3.000000 0.011955639
+3.100000 0.013159801
+3.200000 0.012817227
+3.300000 0.010957880
+3.400000 0.008183372
+3.500000 0.005337202
+3.600000 0.003084209
+3.700000 0.001682330
+3.800000 0.001032496
+3.900000 0.000877873
+4.000000 0.000977533
+4.100000 0.001178203
+4.200000 0.001407336
+4.300000 0.001636711
+4.400000 0.001848435
+4.500000 0.002018552
+4.600000 0.002124789
+4.700000 0.002175465
+4.800000 0.002243257
+4.900000 0.002471714
+5.000000 0.003012527
+5.100000 0.003881614
+5.200000 0.004823572
+5.300000 0.005364254
+5.400000 0.005117472
+5.500000 0.004107123
+5.600000 0.002763088
+5.700000 0.001583937
+5.800000 0.000819761
+5.900000 0.000437166
+6.000000 0.000281652
+6.100000 0.000222495
+6.200000 0.000194182
+6.300000 0.000176249
+6.400000 0.000166092
+6.500000 0.000163569
+6.600000 0.000165388
+6.700000 0.000164956
+6.800000 0.000155324
+6.900000 0.000133175
+7.000000 0.000101185
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/minsearch/input.toml b/extra/sim-trhepd-rheed/tests/single_beam/minsearch/input.toml
new file mode 100644
index 00000000..509fbee6
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/minsearch/input.toml
@@ -0,0 +1,29 @@
+[base]
+dimension = 3
+output_dir = "output"
+
+[solver]
+name = "sim-trhepd-rheed"
+run_scheme = "subprocess"
+
+[solver.config]
+cal_number = [1]
+surface_exec_file = "../../bin/surf.exe"
+
+[solver.param]
+string_list = ["value_01", "value_02", "value_03" ]
+
+[solver.reference]
+path = "experiment.txt"
+exp_number = [1]
+
+[solver.post]
+normalization = "TOTAL"
+
+[algorithm]
+name = "minsearch"
+label_list = ["z1", "z2", "z3"]
+[algorithm.param]
+min_list = [0.0, 0.0, 0.0]
+max_list = [10.0, 10.0, 10.0]
+initial_list = [5.25, 4.25, 3.50]
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/minsearch/prepare.sh b/extra/sim-trhepd-rheed/tests/single_beam/minsearch/prepare.sh
new file mode 100644
index 00000000..f4abaa75
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/minsearch/prepare.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+rm -rf ./output
+rm -f ./bulkP.b
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/minsearch/ref.txt b/extra/sim-trhepd-rheed/tests/single_beam/minsearch/ref.txt
new file mode 100644
index 00000000..46964122
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/minsearch/ref.txt
@@ -0,0 +1,4 @@
+fx = 8.97501627575891e-06
+z1 = 5.230573154947887
+z2 = 4.3706085364407095
+z3 = 3.5961303342247577
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/minsearch/template.txt b/extra/sim-trhepd-rheed/tests/single_beam/minsearch/template.txt
new file mode 100644
index 00000000..6ac0038d
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/minsearch/template.txt
@@ -0,0 +1,16 @@
+2 ,NELMS, -------- Ge(001)-c4x2
+32,1.0,0.1 ,Ge Z,da1,sap
+0.6,0.6,0.6 ,BH(I),BK(I),BZ(I)
+32,1.0,0.1 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+9,4,0,0,2, 2.0,-0.5,0.5 ,NSGS,msa,msb,nsa,nsb,dthick,DXS,DYS
+8 ,NATM
+1, 1.0, 1.34502591 1 value_01 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1, 1.0, 0.752457792 1 value_02
+2, 1.0, 1.480003343 1.465005851 value_03
+2, 1.0, 2 1.497500418 2.281675
+2, 1.0, 1 1.5 1.991675
+2, 1.0, 0 1 0.847225
+2, 1.0, 2 1 0.807225
+2, 1.0, 1.009998328 1 0.597225
+1,1 ,(WDOM,I=1,NDOM)
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/pamc/bulk.txt b/extra/sim-trhepd-rheed/tests/single_beam/pamc/bulk.txt
new file mode 100644
index 00000000..d2833576
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/pamc/bulk.txt
@@ -0,0 +1,16 @@
+2,1,1 ,NH,NK,NDOM, -------- Ge(001) bulk
+1,1 ,(NB,I=1,NDOM)
+0,90 ,(RDOM,I=1,NDOM)
+0,0 ,(IH(I),IK(I),I=1,NB)
+10,0,0,0,0.1,7.0,0.1 ,BE,AZI,AZF,DAZ,GI,GF,DG
+0.05,200 ,DZ,ML
+1 ,NELM
+32,1.0,0.1 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+6,4.000668747,4.000668747,90,2.8289,0.5,0.5 ,NSG,AA,BB,GAM,CC,DX,DY
+2 ,NATM
+1,1.0,0.00000,0.50000, 2.121675 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1,1.0,0.00000,0.00000, 0.707225 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+
+
+
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/pamc/do.sh b/extra/sim-trhepd-rheed/tests/single_beam/pamc/do.sh
new file mode 100644
index 00000000..8a872c57
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/pamc/do.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+#CMD=py2dmat-sim-trhepd-rheed
+CMD="python3 ../../../src/main.py"
+
+sh prepare.sh
+
+../../bin/bulk.exe
+
+time mpiexec -np 4 $CMD input.toml
+
+result=output/fx.txt
+reference=ref.txt
+
+echo diff $result $reference
+res=0
+diff $result $reference || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $result and $reference differ
+ false
+fi
+
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/pamc/experiment.txt b/extra/sim-trhepd-rheed/tests/single_beam/pamc/experiment.txt
new file mode 100644
index 00000000..ea7b680c
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/pamc/experiment.txt
@@ -0,0 +1,70 @@
+0.100000 0.002374995
+0.200000 0.003614789
+0.300000 0.005023215
+0.400000 0.006504978
+0.500000 0.007990674
+0.600000 0.009441623
+0.700000 0.010839445
+0.800000 0.012174578
+0.900000 0.013439485
+1.000000 0.014625579
+1.100000 0.015721463
+1.200000 0.016710969
+1.300000 0.017570142
+1.400000 0.018262420
+1.500000 0.018731411
+1.600000 0.018892641
+1.700000 0.018630851
+1.800000 0.017816493
+1.900000 0.016354279
+2.000000 0.014256366
+2.100000 0.011700068
+2.200000 0.009019956
+2.300000 0.006622730
+2.400000 0.004872397
+2.500000 0.004013645
+2.600000 0.004160161
+2.700000 0.005307435
+2.800000 0.007299786
+2.900000 0.009740557
+3.000000 0.011955639
+3.100000 0.013159801
+3.200000 0.012817227
+3.300000 0.010957880
+3.400000 0.008183372
+3.500000 0.005337202
+3.600000 0.003084209
+3.700000 0.001682330
+3.800000 0.001032496
+3.900000 0.000877873
+4.000000 0.000977533
+4.100000 0.001178203
+4.200000 0.001407336
+4.300000 0.001636711
+4.400000 0.001848435
+4.500000 0.002018552
+4.600000 0.002124789
+4.700000 0.002175465
+4.800000 0.002243257
+4.900000 0.002471714
+5.000000 0.003012527
+5.100000 0.003881614
+5.200000 0.004823572
+5.300000 0.005364254
+5.400000 0.005117472
+5.500000 0.004107123
+5.600000 0.002763088
+5.700000 0.001583937
+5.800000 0.000819761
+5.900000 0.000437166
+6.000000 0.000281652
+6.100000 0.000222495
+6.200000 0.000194182
+6.300000 0.000176249
+6.400000 0.000166092
+6.500000 0.000163569
+6.600000 0.000165388
+6.700000 0.000164956
+6.800000 0.000155324
+6.900000 0.000133175
+7.000000 0.000101185
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/pamc/input.toml b/extra/sim-trhepd-rheed/tests/single_beam/pamc/input.toml
new file mode 100644
index 00000000..3eacc5d8
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/pamc/input.toml
@@ -0,0 +1,40 @@
+[base]
+dimension = 2
+output_dir = "output"
+
+[solver]
+name = "sim-trhepd-rheed"
+run_scheme = "subprocess"
+
+[solver.config]
+cal_number = [1]
+surface_exec_file = "../../bin/surf.exe"
+
+[solver.param]
+string_list = ["value_01", "value_02" ]
+
+[solver.post]
+normalization = "TOTAL"
+
+[solver.reference]
+path = "experiment.txt"
+exp_number = [1]
+
+[algorithm]
+name = "pamc"
+label_list = ["z1", "z2"]
+seed = 12345
+
+[algorithm.param]
+min_list = [3.0, 3.0]
+max_list = [6.0, 6.0]
+unit_list = [0.3, 0.3]
+
+[algorithm.pamc]
+numsteps_annealing = 5
+bmin = 0.0
+bmax = 200.0
+Tnum = 21
+Tlogspace = false
+nreplica_per_proc = 10
+
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/pamc/prepare.sh b/extra/sim-trhepd-rheed/tests/single_beam/pamc/prepare.sh
new file mode 100644
index 00000000..f4abaa75
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/pamc/prepare.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+rm -rf ./output
+rm -f ./bulkP.b
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/pamc/ref.txt b/extra/sim-trhepd-rheed/tests/single_beam/pamc/ref.txt
new file mode 100644
index 00000000..fd63f8cd
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/pamc/ref.txt
@@ -0,0 +1,27 @@
+# $1: 1/T
+# $2: mean of f(x)
+# $3: standard error of f(x)
+# $4: number of replicas
+# $5: log(Z/Z0)
+# $6: acceptance ratio
+0.0 0.06427959456998655 0.0027034650004592914 40 0.0 0.795
+10.0 0.061399024996706686 0.0026494325830859313 40 -0.6280770777860613 0.85
+20.0 0.05904270303275139 0.0031623440679957784 40 -1.2282982965860305 0.74
+30.0 0.04956920203307469 0.0028298334294021145 40 -1.7990971380214467 0.67
+40.0 0.04517117682063021 0.002971561055910097 40 -2.27935954920571 0.67
+50.0 0.04557330165280349 0.002663255501853 40 -2.714238505738728 0.585
+60.0 0.04169106892899466 0.0024143432975457643 40 -3.156247676174139 0.605
+70.0 0.03570581650334259 0.0018238873413932777 40 -3.56187453071531 0.59
+80.0 0.03715395848031844 0.0023427854739007234 40 -3.912435026606071 0.48
+90.0 0.033480179297140644 0.0020578648446761853 40 -4.273433293351014 0.435
+100.0 0.02927093316086471 0.002428722360438289 40 -4.600145685221869 0.41
+110.0 0.028038003505646003 0.002358926652188058 40 -4.881916427807947 0.32
+120.0 0.02545926098065321 0.002054283510857483 40 -5.152008537261002 0.255
+130.0 0.023755957697149332 0.0020394115387400063 40 -5.398713539910261 0.225
+140.0 0.023259570095007787 0.0020035797988618986 40 -5.628521718066179 0.305
+150.0 0.019910292914599226 0.001255622958977574 40 -5.853746316721769 0.175
+160.0 0.018548395706422305 0.001074639170486063 40 -6.049839309698577 0.16
+170.0 0.017589626237652922 0.0010009647330348605 40 -6.233083432360471 0.115
+180.0 0.017721248857765493 0.0011294616111162037 40 -6.407047940540563 0.145
+190.0 0.01651572518217781 0.0009311421253063132 40 -6.581818964816524 0.135
+200.0 0.017765963115187744 0.0013378827038506842 40 -6.745306049740788 0.145
diff --git a/extra/sim-trhepd-rheed/tests/single_beam/pamc/template.txt b/extra/sim-trhepd-rheed/tests/single_beam/pamc/template.txt
new file mode 100644
index 00000000..2fac0616
--- /dev/null
+++ b/extra/sim-trhepd-rheed/tests/single_beam/pamc/template.txt
@@ -0,0 +1,16 @@
+2 ,NELMS, -------- Ge(001)-c4x2
+32,1.0,0.1 ,Ge Z,da1,sap
+0.6,0.6,0.6 ,BH(I),BK(I),BZ(I)
+32,1.0,0.1 ,Ge Z,da1,sap
+0.4,0.4,0.4 ,BH(I),BK(I),BZ(I)
+9,4,0,0,2, 2.0,-0.5,0.5 ,NSGS,msa,msb,nsa,nsb,dthick,DXS,DYS
+8 ,NATM
+1, 1.0, 1.34502591 1 value_01 ,IELM(I),ocr(I),X(I),Y(I),Z(I)
+1, 1.0, 0.752457792 1 value_02
+2, 1.0, 1.480003343 1.465005851 3.5
+2, 1.0, 2 1.497500418 2.281675
+2, 1.0, 1 1.5 1.991675
+2, 1.0, 0 1 0.847225
+2, 1.0, 2 1 0.807225
+2, 1.0, 1.009998328 1 0.597225
+1,1 ,(WDOM,I=1,NDOM)
diff --git a/extra/sxrd/src/main.py b/extra/sxrd/src/main.py
new file mode 100644
index 00000000..15b3fe4a
--- /dev/null
+++ b/extra/sxrd/src/main.py
@@ -0,0 +1,20 @@
+# 2DMAT -- Data-analysis software of quantum beam diffraction experiments for 2D material structure
+# Copyright (C) 2020- The University of Tokyo
+#
+# 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 3 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, see http://www.gnu.org/licenses/.
+
+if __name__ == "__main__":
+ # sys.path[0] is this directory (2DMAT/src)
+ from sxrd._main import main
+ main()
diff --git a/extra/sxrd/tests/.gitignore b/extra/sxrd/tests/.gitignore
new file mode 100644
index 00000000..6209f87b
--- /dev/null
+++ b/extra/sxrd/tests/.gitignore
@@ -0,0 +1,2 @@
+bin
+lsfit.in
diff --git a/extra/sxrd/tests/bin/.placeholder b/extra/sxrd/tests/bin/.placeholder
new file mode 100644
index 00000000..e69de29b
diff --git a/extra/sxrd/tests/mapper/MeshData.txt b/extra/sxrd/tests/mapper/MeshData.txt
new file mode 100644
index 00000000..fec4a96e
--- /dev/null
+++ b/extra/sxrd/tests/mapper/MeshData.txt
@@ -0,0 +1,441 @@
+0 -0.2 -0.2
+1 -0.2 -0.18000000000000002
+2 -0.2 -0.16
+3 -0.2 -0.14
+4 -0.2 -0.12000000000000001
+5 -0.2 -0.1
+6 -0.2 -0.08000000000000002
+7 -0.2 -0.06
+8 -0.2 -0.04000000000000001
+9 -0.2 -0.020000000000000018
+10 -0.2 0.0
+11 -0.2 0.01999999999999999
+12 -0.2 0.03999999999999998
+13 -0.2 0.06
+14 -0.2 0.08000000000000002
+15 -0.2 0.09999999999999998
+16 -0.2 0.12
+17 -0.2 0.14
+18 -0.2 0.15999999999999998
+19 -0.2 0.18
+20 -0.2 0.2
+10 -0.18000000000000002 -0.2
+11 -0.18000000000000002 -0.18000000000000002
+12 -0.18000000000000002 -0.16
+13 -0.18000000000000002 -0.14
+14 -0.18000000000000002 -0.12000000000000001
+15 -0.18000000000000002 -0.1
+16 -0.18000000000000002 -0.08000000000000002
+17 -0.18000000000000002 -0.06
+18 -0.18000000000000002 -0.04000000000000001
+19 -0.18000000000000002 -0.020000000000000018
+20 -0.18000000000000002 0.0
+21 -0.18000000000000002 0.01999999999999999
+22 -0.18000000000000002 0.03999999999999998
+23 -0.18000000000000002 0.06
+24 -0.18000000000000002 0.08000000000000002
+25 -0.18000000000000002 0.09999999999999998
+26 -0.18000000000000002 0.12
+27 -0.18000000000000002 0.14
+28 -0.18000000000000002 0.15999999999999998
+29 -0.18000000000000002 0.18
+30 -0.18000000000000002 0.2
+20 -0.16 -0.2
+21 -0.16 -0.18000000000000002
+22 -0.16 -0.16
+23 -0.16 -0.14
+24 -0.16 -0.12000000000000001
+25 -0.16 -0.1
+26 -0.16 -0.08000000000000002
+27 -0.16 -0.06
+28 -0.16 -0.04000000000000001
+29 -0.16 -0.020000000000000018
+30 -0.16 0.0
+31 -0.16 0.01999999999999999
+32 -0.16 0.03999999999999998
+33 -0.16 0.06
+34 -0.16 0.08000000000000002
+35 -0.16 0.09999999999999998
+36 -0.16 0.12
+37 -0.16 0.14
+38 -0.16 0.15999999999999998
+39 -0.16 0.18
+40 -0.16 0.2
+30 -0.14 -0.2
+31 -0.14 -0.18000000000000002
+32 -0.14 -0.16
+33 -0.14 -0.14
+34 -0.14 -0.12000000000000001
+35 -0.14 -0.1
+36 -0.14 -0.08000000000000002
+37 -0.14 -0.06
+38 -0.14 -0.04000000000000001
+39 -0.14 -0.020000000000000018
+40 -0.14 0.0
+41 -0.14 0.01999999999999999
+42 -0.14 0.03999999999999998
+43 -0.14 0.06
+44 -0.14 0.08000000000000002
+45 -0.14 0.09999999999999998
+46 -0.14 0.12
+47 -0.14 0.14
+48 -0.14 0.15999999999999998
+49 -0.14 0.18
+50 -0.14 0.2
+40 -0.12000000000000001 -0.2
+41 -0.12000000000000001 -0.18000000000000002
+42 -0.12000000000000001 -0.16
+43 -0.12000000000000001 -0.14
+44 -0.12000000000000001 -0.12000000000000001
+45 -0.12000000000000001 -0.1
+46 -0.12000000000000001 -0.08000000000000002
+47 -0.12000000000000001 -0.06
+48 -0.12000000000000001 -0.04000000000000001
+49 -0.12000000000000001 -0.020000000000000018
+50 -0.12000000000000001 0.0
+51 -0.12000000000000001 0.01999999999999999
+52 -0.12000000000000001 0.03999999999999998
+53 -0.12000000000000001 0.06
+54 -0.12000000000000001 0.08000000000000002
+55 -0.12000000000000001 0.09999999999999998
+56 -0.12000000000000001 0.12
+57 -0.12000000000000001 0.14
+58 -0.12000000000000001 0.15999999999999998
+59 -0.12000000000000001 0.18
+60 -0.12000000000000001 0.2
+50 -0.1 -0.2
+51 -0.1 -0.18000000000000002
+52 -0.1 -0.16
+53 -0.1 -0.14
+54 -0.1 -0.12000000000000001
+55 -0.1 -0.1
+56 -0.1 -0.08000000000000002
+57 -0.1 -0.06
+58 -0.1 -0.04000000000000001
+59 -0.1 -0.020000000000000018
+60 -0.1 0.0
+61 -0.1 0.01999999999999999
+62 -0.1 0.03999999999999998
+63 -0.1 0.06
+64 -0.1 0.08000000000000002
+65 -0.1 0.09999999999999998
+66 -0.1 0.12
+67 -0.1 0.14
+68 -0.1 0.15999999999999998
+69 -0.1 0.18
+70 -0.1 0.2
+60 -0.08000000000000002 -0.2
+61 -0.08000000000000002 -0.18000000000000002
+62 -0.08000000000000002 -0.16
+63 -0.08000000000000002 -0.14
+64 -0.08000000000000002 -0.12000000000000001
+65 -0.08000000000000002 -0.1
+66 -0.08000000000000002 -0.08000000000000002
+67 -0.08000000000000002 -0.06
+68 -0.08000000000000002 -0.04000000000000001
+69 -0.08000000000000002 -0.020000000000000018
+70 -0.08000000000000002 0.0
+71 -0.08000000000000002 0.01999999999999999
+72 -0.08000000000000002 0.03999999999999998
+73 -0.08000000000000002 0.06
+74 -0.08000000000000002 0.08000000000000002
+75 -0.08000000000000002 0.09999999999999998
+76 -0.08000000000000002 0.12
+77 -0.08000000000000002 0.14
+78 -0.08000000000000002 0.15999999999999998
+79 -0.08000000000000002 0.18
+80 -0.08000000000000002 0.2
+70 -0.06 -0.2
+71 -0.06 -0.18000000000000002
+72 -0.06 -0.16
+73 -0.06 -0.14
+74 -0.06 -0.12000000000000001
+75 -0.06 -0.1
+76 -0.06 -0.08000000000000002
+77 -0.06 -0.06
+78 -0.06 -0.04000000000000001
+79 -0.06 -0.020000000000000018
+80 -0.06 0.0
+81 -0.06 0.01999999999999999
+82 -0.06 0.03999999999999998
+83 -0.06 0.06
+84 -0.06 0.08000000000000002
+85 -0.06 0.09999999999999998
+86 -0.06 0.12
+87 -0.06 0.14
+88 -0.06 0.15999999999999998
+89 -0.06 0.18
+90 -0.06 0.2
+80 -0.04000000000000001 -0.2
+81 -0.04000000000000001 -0.18000000000000002
+82 -0.04000000000000001 -0.16
+83 -0.04000000000000001 -0.14
+84 -0.04000000000000001 -0.12000000000000001
+85 -0.04000000000000001 -0.1
+86 -0.04000000000000001 -0.08000000000000002
+87 -0.04000000000000001 -0.06
+88 -0.04000000000000001 -0.04000000000000001
+89 -0.04000000000000001 -0.020000000000000018
+90 -0.04000000000000001 0.0
+91 -0.04000000000000001 0.01999999999999999
+92 -0.04000000000000001 0.03999999999999998
+93 -0.04000000000000001 0.06
+94 -0.04000000000000001 0.08000000000000002
+95 -0.04000000000000001 0.09999999999999998
+96 -0.04000000000000001 0.12
+97 -0.04000000000000001 0.14
+98 -0.04000000000000001 0.15999999999999998
+99 -0.04000000000000001 0.18
+100 -0.04000000000000001 0.2
+90 -0.020000000000000018 -0.2
+91 -0.020000000000000018 -0.18000000000000002
+92 -0.020000000000000018 -0.16
+93 -0.020000000000000018 -0.14
+94 -0.020000000000000018 -0.12000000000000001
+95 -0.020000000000000018 -0.1
+96 -0.020000000000000018 -0.08000000000000002
+97 -0.020000000000000018 -0.06
+98 -0.020000000000000018 -0.04000000000000001
+99 -0.020000000000000018 -0.020000000000000018
+100 -0.020000000000000018 0.0
+101 -0.020000000000000018 0.01999999999999999
+102 -0.020000000000000018 0.03999999999999998
+103 -0.020000000000000018 0.06
+104 -0.020000000000000018 0.08000000000000002
+105 -0.020000000000000018 0.09999999999999998
+106 -0.020000000000000018 0.12
+107 -0.020000000000000018 0.14
+108 -0.020000000000000018 0.15999999999999998
+109 -0.020000000000000018 0.18
+110 -0.020000000000000018 0.2
+100 0.0 -0.2
+101 0.0 -0.18000000000000002
+102 0.0 -0.16
+103 0.0 -0.14
+104 0.0 -0.12000000000000001
+105 0.0 -0.1
+106 0.0 -0.08000000000000002
+107 0.0 -0.06
+108 0.0 -0.04000000000000001
+109 0.0 -0.020000000000000018
+110 0.0 0.0
+111 0.0 0.01999999999999999
+112 0.0 0.03999999999999998
+113 0.0 0.06
+114 0.0 0.08000000000000002
+115 0.0 0.09999999999999998
+116 0.0 0.12
+117 0.0 0.14
+118 0.0 0.15999999999999998
+119 0.0 0.18
+120 0.0 0.2
+110 0.01999999999999999 -0.2
+111 0.01999999999999999 -0.18000000000000002
+112 0.01999999999999999 -0.16
+113 0.01999999999999999 -0.14
+114 0.01999999999999999 -0.12000000000000001
+115 0.01999999999999999 -0.1
+116 0.01999999999999999 -0.08000000000000002
+117 0.01999999999999999 -0.06
+118 0.01999999999999999 -0.04000000000000001
+119 0.01999999999999999 -0.020000000000000018
+120 0.01999999999999999 0.0
+121 0.01999999999999999 0.01999999999999999
+122 0.01999999999999999 0.03999999999999998
+123 0.01999999999999999 0.06
+124 0.01999999999999999 0.08000000000000002
+125 0.01999999999999999 0.09999999999999998
+126 0.01999999999999999 0.12
+127 0.01999999999999999 0.14
+128 0.01999999999999999 0.15999999999999998
+129 0.01999999999999999 0.18
+130 0.01999999999999999 0.2
+120 0.03999999999999998 -0.2
+121 0.03999999999999998 -0.18000000000000002
+122 0.03999999999999998 -0.16
+123 0.03999999999999998 -0.14
+124 0.03999999999999998 -0.12000000000000001
+125 0.03999999999999998 -0.1
+126 0.03999999999999998 -0.08000000000000002
+127 0.03999999999999998 -0.06
+128 0.03999999999999998 -0.04000000000000001
+129 0.03999999999999998 -0.020000000000000018
+130 0.03999999999999998 0.0
+131 0.03999999999999998 0.01999999999999999
+132 0.03999999999999998 0.03999999999999998
+133 0.03999999999999998 0.06
+134 0.03999999999999998 0.08000000000000002
+135 0.03999999999999998 0.09999999999999998
+136 0.03999999999999998 0.12
+137 0.03999999999999998 0.14
+138 0.03999999999999998 0.15999999999999998
+139 0.03999999999999998 0.18
+140 0.03999999999999998 0.2
+130 0.06 -0.2
+131 0.06 -0.18000000000000002
+132 0.06 -0.16
+133 0.06 -0.14
+134 0.06 -0.12000000000000001
+135 0.06 -0.1
+136 0.06 -0.08000000000000002
+137 0.06 -0.06
+138 0.06 -0.04000000000000001
+139 0.06 -0.020000000000000018
+140 0.06 0.0
+141 0.06 0.01999999999999999
+142 0.06 0.03999999999999998
+143 0.06 0.06
+144 0.06 0.08000000000000002
+145 0.06 0.09999999999999998
+146 0.06 0.12
+147 0.06 0.14
+148 0.06 0.15999999999999998
+149 0.06 0.18
+150 0.06 0.2
+140 0.08000000000000002 -0.2
+141 0.08000000000000002 -0.18000000000000002
+142 0.08000000000000002 -0.16
+143 0.08000000000000002 -0.14
+144 0.08000000000000002 -0.12000000000000001
+145 0.08000000000000002 -0.1
+146 0.08000000000000002 -0.08000000000000002
+147 0.08000000000000002 -0.06
+148 0.08000000000000002 -0.04000000000000001
+149 0.08000000000000002 -0.020000000000000018
+150 0.08000000000000002 0.0
+151 0.08000000000000002 0.01999999999999999
+152 0.08000000000000002 0.03999999999999998
+153 0.08000000000000002 0.06
+154 0.08000000000000002 0.08000000000000002
+155 0.08000000000000002 0.09999999999999998
+156 0.08000000000000002 0.12
+157 0.08000000000000002 0.14
+158 0.08000000000000002 0.15999999999999998
+159 0.08000000000000002 0.18
+160 0.08000000000000002 0.2
+150 0.09999999999999998 -0.2
+151 0.09999999999999998 -0.18000000000000002
+152 0.09999999999999998 -0.16
+153 0.09999999999999998 -0.14
+154 0.09999999999999998 -0.12000000000000001
+155 0.09999999999999998 -0.1
+156 0.09999999999999998 -0.08000000000000002
+157 0.09999999999999998 -0.06
+158 0.09999999999999998 -0.04000000000000001
+159 0.09999999999999998 -0.020000000000000018
+160 0.09999999999999998 0.0
+161 0.09999999999999998 0.01999999999999999
+162 0.09999999999999998 0.03999999999999998
+163 0.09999999999999998 0.06
+164 0.09999999999999998 0.08000000000000002
+165 0.09999999999999998 0.09999999999999998
+166 0.09999999999999998 0.12
+167 0.09999999999999998 0.14
+168 0.09999999999999998 0.15999999999999998
+169 0.09999999999999998 0.18
+170 0.09999999999999998 0.2
+160 0.12 -0.2
+161 0.12 -0.18000000000000002
+162 0.12 -0.16
+163 0.12 -0.14
+164 0.12 -0.12000000000000001
+165 0.12 -0.1
+166 0.12 -0.08000000000000002
+167 0.12 -0.06
+168 0.12 -0.04000000000000001
+169 0.12 -0.020000000000000018
+170 0.12 0.0
+171 0.12 0.01999999999999999
+172 0.12 0.03999999999999998
+173 0.12 0.06
+174 0.12 0.08000000000000002
+175 0.12 0.09999999999999998
+176 0.12 0.12
+177 0.12 0.14
+178 0.12 0.15999999999999998
+179 0.12 0.18
+180 0.12 0.2
+170 0.14 -0.2
+171 0.14 -0.18000000000000002
+172 0.14 -0.16
+173 0.14 -0.14
+174 0.14 -0.12000000000000001
+175 0.14 -0.1
+176 0.14 -0.08000000000000002
+177 0.14 -0.06
+178 0.14 -0.04000000000000001
+179 0.14 -0.020000000000000018
+180 0.14 0.0
+181 0.14 0.01999999999999999
+182 0.14 0.03999999999999998
+183 0.14 0.06
+184 0.14 0.08000000000000002
+185 0.14 0.09999999999999998
+186 0.14 0.12
+187 0.14 0.14
+188 0.14 0.15999999999999998
+189 0.14 0.18
+190 0.14 0.2
+180 0.15999999999999998 -0.2
+181 0.15999999999999998 -0.18000000000000002
+182 0.15999999999999998 -0.16
+183 0.15999999999999998 -0.14
+184 0.15999999999999998 -0.12000000000000001
+185 0.15999999999999998 -0.1
+186 0.15999999999999998 -0.08000000000000002
+187 0.15999999999999998 -0.06
+188 0.15999999999999998 -0.04000000000000001
+189 0.15999999999999998 -0.020000000000000018
+190 0.15999999999999998 0.0
+191 0.15999999999999998 0.01999999999999999
+192 0.15999999999999998 0.03999999999999998
+193 0.15999999999999998 0.06
+194 0.15999999999999998 0.08000000000000002
+195 0.15999999999999998 0.09999999999999998
+196 0.15999999999999998 0.12
+197 0.15999999999999998 0.14
+198 0.15999999999999998 0.15999999999999998
+199 0.15999999999999998 0.18
+200 0.15999999999999998 0.2
+190 0.18 -0.2
+191 0.18 -0.18000000000000002
+192 0.18 -0.16
+193 0.18 -0.14
+194 0.18 -0.12000000000000001
+195 0.18 -0.1
+196 0.18 -0.08000000000000002
+197 0.18 -0.06
+198 0.18 -0.04000000000000001
+199 0.18 -0.020000000000000018
+200 0.18 0.0
+201 0.18 0.01999999999999999
+202 0.18 0.03999999999999998
+203 0.18 0.06
+204 0.18 0.08000000000000002
+205 0.18 0.09999999999999998
+206 0.18 0.12
+207 0.18 0.14
+208 0.18 0.15999999999999998
+209 0.18 0.18
+210 0.18 0.2
+200 0.2 -0.2
+201 0.2 -0.18000000000000002
+202 0.2 -0.16
+203 0.2 -0.14
+204 0.2 -0.12000000000000001
+205 0.2 -0.1
+206 0.2 -0.08000000000000002
+207 0.2 -0.06
+208 0.2 -0.04000000000000001
+209 0.2 -0.020000000000000018
+210 0.2 0.0
+211 0.2 0.01999999999999999
+212 0.2 0.03999999999999998
+213 0.2 0.06
+214 0.2 0.08000000000000002
+215 0.2 0.09999999999999998
+216 0.2 0.12
+217 0.2 0.14
+218 0.2 0.15999999999999998
+219 0.2 0.18
+220 0.2 0.2
diff --git a/extra/sxrd/tests/mapper/do.sh b/extra/sxrd/tests/mapper/do.sh
new file mode 100644
index 00000000..83197faa
--- /dev/null
+++ b/extra/sxrd/tests/mapper/do.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+#CMD=py2dmat-sxrd
+CMD="python3 ../../src/main.py"
+
+sh prepare.sh
+
+time mpiexec -np 4 $CMD input.toml
+
+result=output/ColorMap.txt
+reference=ref_ColorMap.txt
+
+echo diff $result $reference
+res=0
+diff $result $reference || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $result and $reference differ
+ false
+fi
+
diff --git a/extra/sxrd/tests/mapper/input.toml b/extra/sxrd/tests/mapper/input.toml
new file mode 100644
index 00000000..ae7d2e89
--- /dev/null
+++ b/extra/sxrd/tests/mapper/input.toml
@@ -0,0 +1,44 @@
+[base]
+dimension = 2
+output_dir = "output"
+[solver]
+name = "sxrd"
+[solver.config]
+sxrd_exec_file = "../bin/sxrdcalc"
+bulk_struc_in_file = "sic111-r3xr3.blk"
+[solver.param]
+scale_factor = 1.0
+type_vector = [1, 2]
+[[solver.param.domain]]
+domain_occupancy = 1.0
+ [[solver.param.domain.atom]]
+ name = "Si"
+ pos_center = [0.00000000, 0.00000000, 1.00000000]
+ DWfactor = 0.0
+ occupancy = 1.0
+ displace_vector = [[1, 0.0, 0.0, 1.0]]
+ [[solver.param.domain.atom]]
+ name = "Si"
+ pos_center = [0.33333333, 0.66666667, 1.00000000]
+ DWfactor = 0.0
+ occupancy = 1.0
+ displace_vector = [[1, 0.0, 0.0, 1.0]]
+ [[solver.param.domain.atom]]
+ name = "Si"
+ pos_center = [0.66666667, 0.33333333, 1.00000000]
+ DWfactor = 0.0
+ occupancy = 1.0
+ displace_vector = [[1, 0.0, 0.0, 1.0]]
+ [[solver.param.domain.atom]]
+ name = "Si"
+ pos_center = [0.33333333, 0.33333333, 1.20000000]
+ DWfactor = 0.0
+ occupancy = 1.0
+ displace_vector = [[2, 0.0, 0.0, 1.0]]
+[solver.reference]
+f_in_file = "sic111-r3xr3_f.dat"
+[algorithm]
+name = "mapper"
+label_list = ["z1", "z2"]
+[algorithm.param]
+mesh_path = "./MeshData.txt"
diff --git a/extra/sxrd/tests/mapper/prepare.sh b/extra/sxrd/tests/mapper/prepare.sh
new file mode 100644
index 00000000..16b4a95e
--- /dev/null
+++ b/extra/sxrd/tests/mapper/prepare.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+rm -rf ./output
+rm -f ./lsfit.in
diff --git a/extra/sxrd/tests/mapper/ref_ColorMap.txt b/extra/sxrd/tests/mapper/ref_ColorMap.txt
new file mode 100644
index 00000000..ca398ccd
--- /dev/null
+++ b/extra/sxrd/tests/mapper/ref_ColorMap.txt
@@ -0,0 +1,441 @@
+-0.200000 -0.200000 0.225705
+-0.200000 -0.180000 0.214978
+-0.200000 -0.160000 0.208975
+-0.200000 -0.140000 0.205867
+-0.200000 -0.120000 0.206768
+-0.200000 -0.100000 0.212166
+-0.200000 -0.080000 0.220515
+-0.200000 -0.060000 0.226590
+-0.200000 -0.040000 0.228623
+-0.200000 -0.020000 0.227939
+-0.200000 0.000000 0.225835
+-0.200000 0.020000 0.226825
+-0.200000 0.040000 0.229083
+-0.200000 0.060000 0.230567
+-0.200000 0.080000 0.233067
+-0.200000 0.100000 0.235334
+-0.200000 0.120000 0.236920
+-0.200000 0.140000 0.238582
+-0.200000 0.160000 0.237422
+-0.200000 0.180000 0.235506
+-0.200000 0.200000 0.231947
+-0.180000 -0.200000 0.182038
+-0.180000 -0.180000 0.179187
+-0.180000 -0.160000 0.186054
+-0.180000 -0.140000 0.193727
+-0.180000 -0.120000 0.198359
+-0.180000 -0.100000 0.198534
+-0.180000 -0.080000 0.199244
+-0.180000 -0.060000 0.202483
+-0.180000 -0.040000 0.203987
+-0.180000 -0.020000 0.200942
+-0.180000 0.000000 0.195834
+-0.180000 0.020000 0.197014
+-0.180000 0.040000 0.201671
+-0.180000 0.060000 0.206414
+-0.180000 0.080000 0.211721
+-0.180000 0.100000 0.216155
+-0.180000 0.120000 0.218834
+-0.180000 0.140000 0.220164
+-0.180000 0.160000 0.218139
+-0.180000 0.180000 0.210873
+-0.180000 0.200000 0.204249
+-0.160000 -0.200000 0.204780
+-0.160000 -0.180000 0.202995
+-0.160000 -0.160000 0.206103
+-0.160000 -0.140000 0.210804
+-0.160000 -0.120000 0.217632
+-0.160000 -0.100000 0.223534
+-0.160000 -0.080000 0.224305
+-0.160000 -0.060000 0.220110
+-0.160000 -0.040000 0.213877
+-0.160000 -0.020000 0.211028
+-0.160000 0.000000 0.211839
+-0.160000 0.020000 0.217025
+-0.160000 0.040000 0.225248
+-0.160000 0.060000 0.233616
+-0.160000 0.080000 0.240293
+-0.160000 0.100000 0.245469
+-0.160000 0.120000 0.248232
+-0.160000 0.140000 0.246700
+-0.160000 0.160000 0.243378
+-0.160000 0.180000 0.238449
+-0.160000 0.200000 0.234312
+-0.140000 -0.200000 0.249812
+-0.140000 -0.180000 0.243337
+-0.140000 -0.160000 0.245411
+-0.140000 -0.140000 0.250277
+-0.140000 -0.120000 0.253934
+-0.140000 -0.100000 0.254405
+-0.140000 -0.080000 0.252927
+-0.140000 -0.060000 0.250985
+-0.140000 -0.040000 0.246804
+-0.140000 -0.020000 0.242542
+-0.140000 0.000000 0.240753
+-0.140000 0.020000 0.243147
+-0.140000 0.040000 0.250064
+-0.140000 0.060000 0.259377
+-0.140000 0.080000 0.268807
+-0.140000 0.100000 0.276313
+-0.140000 0.120000 0.280525
+-0.140000 0.140000 0.282454
+-0.140000 0.160000 0.282161
+-0.140000 0.180000 0.278931
+-0.140000 0.200000 0.276294
+-0.120000 -0.200000 0.280957
+-0.120000 -0.180000 0.269749
+-0.120000 -0.160000 0.268670
+-0.120000 -0.140000 0.274373
+-0.120000 -0.120000 0.280717
+-0.120000 -0.100000 0.284719
+-0.120000 -0.080000 0.283637
+-0.120000 -0.060000 0.278349
+-0.120000 -0.040000 0.271420
+-0.120000 -0.020000 0.264488
+-0.120000 0.000000 0.258758
+-0.120000 0.020000 0.257400
+-0.120000 0.040000 0.260877
+-0.120000 0.060000 0.267988
+-0.120000 0.080000 0.276905
+-0.120000 0.100000 0.286505
+-0.120000 0.120000 0.294538
+-0.120000 0.140000 0.299380
+-0.120000 0.160000 0.300329
+-0.120000 0.180000 0.298676
+-0.120000 0.200000 0.298349
+-0.100000 -0.200000 0.284063
+-0.100000 -0.180000 0.266369
+-0.100000 -0.160000 0.262852
+-0.100000 -0.140000 0.270753
+-0.100000 -0.120000 0.283411
+-0.100000 -0.100000 0.293855
+-0.100000 -0.080000 0.299049
+-0.100000 -0.060000 0.297209
+-0.100000 -0.040000 0.288463
+-0.100000 -0.020000 0.275955
+-0.100000 0.000000 0.264922
+-0.100000 0.020000 0.257221
+-0.100000 0.040000 0.255246
+-0.100000 0.060000 0.258092
+-0.100000 0.080000 0.264308
+-0.100000 0.100000 0.271992
+-0.100000 0.120000 0.279263
+-0.100000 0.140000 0.284952
+-0.100000 0.160000 0.288756
+-0.100000 0.180000 0.290314
+-0.100000 0.200000 0.292034
+-0.080000 -0.200000 0.262568
+-0.080000 -0.180000 0.237003
+-0.080000 -0.160000 0.225902
+-0.080000 -0.140000 0.229890
+-0.080000 -0.120000 0.244123
+-0.080000 -0.100000 0.262318
+-0.080000 -0.080000 0.278903
+-0.080000 -0.060000 0.288967
+-0.080000 -0.040000 0.287931
+-0.080000 -0.020000 0.276917
+-0.080000 0.000000 0.258887
+-0.080000 0.020000 0.241786
+-0.080000 0.040000 0.229870
+-0.080000 0.060000 0.223233
+-0.080000 0.080000 0.222149
+-0.080000 0.100000 0.226041
+-0.080000 0.120000 0.232384
+-0.080000 0.140000 0.239738
+-0.080000 0.160000 0.246845
+-0.080000 0.180000 0.253609
+-0.080000 0.200000 0.258255
+-0.060000 -0.200000 0.225300
+-0.060000 -0.180000 0.192552
+-0.060000 -0.160000 0.171877
+-0.060000 -0.140000 0.167825
+-0.060000 -0.120000 0.177750
+-0.060000 -0.100000 0.195866
+-0.060000 -0.080000 0.216211
+-0.060000 -0.060000 0.233791
+-0.060000 -0.040000 0.244590
+-0.060000 -0.020000 0.245003
+-0.060000 0.000000 0.232680
+-0.060000 0.020000 0.209739
+-0.060000 0.040000 0.182456
+-0.060000 0.060000 0.164839
+-0.060000 0.080000 0.156237
+-0.060000 0.100000 0.154964
+-0.060000 0.120000 0.160744
+-0.060000 0.140000 0.171431
+-0.060000 0.160000 0.183671
+-0.060000 0.180000 0.194821
+-0.060000 0.200000 0.203312
+-0.040000 -0.200000 0.182587
+-0.040000 -0.180000 0.151587
+-0.040000 -0.160000 0.130215
+-0.040000 -0.140000 0.111248
+-0.040000 -0.120000 0.104645
+-0.040000 -0.100000 0.115557
+-0.040000 -0.080000 0.131768
+-0.040000 -0.060000 0.150495
+-0.040000 -0.040000 0.165957
+-0.040000 -0.020000 0.174228
+-0.040000 0.000000 0.171950
+-0.040000 0.020000 0.159170
+-0.040000 0.040000 0.139673
+-0.040000 0.060000 0.112675
+-0.040000 0.080000 0.082007
+-0.040000 0.100000 0.073287
+-0.040000 0.120000 0.077679
+-0.040000 0.140000 0.090224
+-0.040000 0.160000 0.106630
+-0.040000 0.180000 0.124942
+-0.040000 0.200000 0.140539
+-0.020000 -0.200000 0.151384
+-0.020000 -0.180000 0.144335
+-0.020000 -0.160000 0.165137
+-0.020000 -0.140000 0.176629
+-0.020000 -0.120000 0.163708
+-0.020000 -0.100000 0.128560
+-0.020000 -0.080000 0.083448
+-0.020000 -0.060000 0.071862
+-0.020000 -0.040000 0.076226
+-0.020000 -0.020000 0.083581
+-0.020000 0.000000 0.087505
+-0.020000 0.020000 0.087348
+-0.020000 0.040000 0.084493
+-0.020000 0.060000 0.079752
+-0.020000 0.080000 0.070447
+-0.020000 0.100000 0.056401
+-0.020000 0.120000 0.054959
+-0.020000 0.140000 0.066375
+-0.020000 0.160000 0.084625
+-0.020000 0.180000 0.102121
+-0.020000 0.200000 0.114847
+0.000000 -0.200000 0.171402
+0.000000 -0.180000 0.189603
+0.000000 -0.160000 0.208947
+0.000000 -0.140000 0.226213
+0.000000 -0.120000 0.236720
+0.000000 -0.100000 0.231438
+0.000000 -0.080000 0.195599
+0.000000 -0.060000 0.147752
+0.000000 -0.040000 0.100448
+0.000000 -0.020000 0.058369
+0.000000 0.000000 0.025287
+0.000000 0.020000 0.004761
+0.000000 0.040000 0.014866
+0.000000 0.060000 0.039572
+0.000000 0.080000 0.072106
+0.000000 0.100000 0.111196
+0.000000 0.120000 0.149206
+0.000000 0.140000 0.167872
+0.000000 0.160000 0.170753
+0.000000 0.180000 0.165796
+0.000000 0.200000 0.158494
+0.020000 -0.200000 0.219889
+0.020000 -0.180000 0.235430
+0.020000 -0.160000 0.247361
+0.020000 -0.140000 0.252423
+0.020000 -0.120000 0.250842
+0.020000 -0.100000 0.246555
+0.020000 -0.080000 0.240740
+0.020000 -0.060000 0.227473
+0.020000 -0.040000 0.195318
+0.020000 -0.020000 0.151465
+0.020000 0.000000 0.115124
+0.020000 0.020000 0.094301
+0.020000 0.040000 0.086791
+0.020000 0.060000 0.090799
+0.020000 0.080000 0.105275
+0.020000 0.100000 0.125077
+0.020000 0.120000 0.162912
+0.020000 0.140000 0.202039
+0.020000 0.160000 0.234153
+0.020000 0.180000 0.248676
+0.020000 0.200000 0.244408
+0.040000 -0.200000 0.254747
+0.040000 -0.180000 0.270655
+0.040000 -0.160000 0.282916
+0.040000 -0.140000 0.284537
+0.040000 -0.120000 0.275432
+0.040000 -0.100000 0.257313
+0.040000 -0.080000 0.233386
+0.040000 -0.060000 0.214453
+0.040000 -0.040000 0.207464
+0.040000 -0.020000 0.197309
+0.040000 0.000000 0.184317
+0.040000 0.020000 0.171796
+0.040000 0.040000 0.164438
+0.040000 0.060000 0.163785
+0.040000 0.080000 0.169108
+0.040000 0.100000 0.179010
+0.040000 0.120000 0.190367
+0.040000 0.140000 0.198370
+0.040000 0.160000 0.207285
+0.040000 0.180000 0.231693
+0.040000 0.200000 0.250915
+0.060000 -0.200000 0.256855
+0.060000 -0.180000 0.276710
+0.060000 -0.160000 0.293412
+0.060000 -0.140000 0.302516
+0.060000 -0.120000 0.301984
+0.060000 -0.100000 0.290723
+0.060000 -0.080000 0.269811
+0.060000 -0.060000 0.242348
+0.060000 -0.040000 0.213899
+0.060000 -0.020000 0.197506
+0.060000 0.000000 0.194649
+0.060000 0.020000 0.196919
+0.060000 0.040000 0.201484
+0.060000 0.060000 0.207841
+0.060000 0.080000 0.215193
+0.060000 0.100000 0.222306
+0.060000 0.120000 0.228491
+0.060000 0.140000 0.232925
+0.060000 0.160000 0.234814
+0.060000 0.180000 0.234990
+0.060000 0.200000 0.236110
+0.080000 -0.200000 0.239283
+0.080000 -0.180000 0.266236
+0.080000 -0.160000 0.291979
+0.080000 -0.140000 0.311736
+0.080000 -0.120000 0.322596
+0.080000 -0.100000 0.321746
+0.080000 -0.080000 0.310274
+0.080000 -0.060000 0.288831
+0.080000 -0.040000 0.260154
+0.080000 -0.020000 0.230122
+0.080000 0.000000 0.208099
+0.080000 0.020000 0.203377
+0.080000 0.040000 0.211029
+0.080000 0.060000 0.223133
+0.080000 0.080000 0.235873
+0.080000 0.100000 0.246929
+0.080000 0.120000 0.255469
+0.080000 0.140000 0.260256
+0.080000 0.160000 0.262551
+0.080000 0.180000 0.262930
+0.080000 0.200000 0.263538
+0.100000 -0.200000 0.224032
+0.100000 -0.180000 0.251813
+0.100000 -0.160000 0.283150
+0.100000 -0.140000 0.311447
+0.100000 -0.120000 0.331887
+0.100000 -0.100000 0.342609
+0.100000 -0.080000 0.341107
+0.100000 -0.060000 0.328309
+0.100000 -0.040000 0.306186
+0.100000 -0.020000 0.277596
+0.100000 0.000000 0.248784
+0.100000 0.020000 0.227634
+0.100000 0.040000 0.220348
+0.100000 0.060000 0.227936
+0.100000 0.080000 0.242469
+0.100000 0.100000 0.258341
+0.100000 0.120000 0.270793
+0.100000 0.140000 0.279508
+0.100000 0.160000 0.282801
+0.100000 0.180000 0.283595
+0.100000 0.200000 0.283243
+0.120000 -0.200000 0.214329
+0.120000 -0.180000 0.235960
+0.120000 -0.160000 0.267241
+0.120000 -0.140000 0.300364
+0.120000 -0.120000 0.328925
+0.120000 -0.100000 0.348828
+0.120000 -0.080000 0.357524
+0.120000 -0.060000 0.356614
+0.120000 -0.040000 0.343680
+0.120000 -0.020000 0.320760
+0.120000 0.000000 0.292483
+0.120000 0.020000 0.265802
+0.120000 0.040000 0.247185
+0.120000 0.060000 0.239374
+0.120000 0.080000 0.244584
+0.120000 0.100000 0.258869
+0.120000 0.120000 0.274080
+0.120000 0.140000 0.286864
+0.120000 0.160000 0.293643
+0.120000 0.180000 0.296538
+0.120000 0.200000 0.295224
+0.140000 -0.200000 0.208937
+0.140000 -0.180000 0.219329
+0.140000 -0.160000 0.244230
+0.140000 -0.140000 0.277994
+0.140000 -0.120000 0.313460
+0.140000 -0.100000 0.343620
+0.140000 -0.080000 0.363394
+0.140000 -0.060000 0.371371
+0.140000 -0.040000 0.368014
+0.140000 -0.020000 0.352790
+0.140000 0.000000 0.328529
+0.140000 0.020000 0.300610
+0.140000 0.040000 0.276293
+0.140000 0.060000 0.261040
+0.140000 0.080000 0.256352
+0.140000 0.100000 0.260043
+0.140000 0.120000 0.270921
+0.140000 0.140000 0.282609
+0.140000 0.160000 0.292651
+0.140000 0.180000 0.298683
+0.140000 0.200000 0.299351
+0.160000 -0.200000 0.208930
+0.160000 -0.180000 0.209474
+0.160000 -0.160000 0.225692
+0.160000 -0.140000 0.252326
+0.160000 -0.120000 0.287786
+0.160000 -0.100000 0.323612
+0.160000 -0.080000 0.351790
+0.160000 -0.060000 0.368862
+0.160000 -0.040000 0.373324
+0.160000 -0.020000 0.366647
+0.160000 0.000000 0.349063
+0.160000 0.020000 0.325489
+0.160000 0.040000 0.302697
+0.160000 0.060000 0.279890
+0.160000 0.080000 0.266263
+0.160000 0.100000 0.263140
+0.160000 0.120000 0.267236
+0.160000 0.140000 0.275563
+0.160000 0.160000 0.286028
+0.160000 0.180000 0.293808
+0.160000 0.200000 0.296959
+0.180000 -0.200000 0.209738
+0.180000 -0.180000 0.204589
+0.180000 -0.160000 0.216623
+0.180000 -0.140000 0.237377
+0.180000 -0.120000 0.262045
+0.180000 -0.100000 0.291504
+0.180000 -0.080000 0.322174
+0.180000 -0.060000 0.347220
+0.180000 -0.040000 0.362163
+0.180000 -0.020000 0.365730
+0.180000 0.000000 0.358602
+0.180000 0.020000 0.345226
+0.180000 0.040000 0.330405
+0.180000 0.060000 0.313120
+0.180000 0.080000 0.290451
+0.180000 0.100000 0.270103
+0.180000 0.120000 0.263280
+0.180000 0.140000 0.266297
+0.180000 0.160000 0.272171
+0.180000 0.180000 0.278595
+0.180000 0.200000 0.283868
+0.200000 -0.200000 0.210386
+0.200000 -0.180000 0.199916
+0.200000 -0.160000 0.209473
+0.200000 -0.140000 0.230364
+0.200000 -0.120000 0.254769
+0.200000 -0.100000 0.279778
+0.200000 -0.080000 0.303115
+0.200000 -0.060000 0.325309
+0.200000 -0.040000 0.344418
+0.200000 -0.020000 0.356004
+0.200000 0.000000 0.358282
+0.200000 0.020000 0.351850
+0.200000 0.040000 0.341056
+0.200000 0.060000 0.331006
+0.200000 0.080000 0.321410
+0.200000 0.100000 0.305513
+0.200000 0.120000 0.281952
+0.200000 0.140000 0.266550
+0.200000 0.160000 0.263071
+0.200000 0.180000 0.265807
+0.200000 0.200000 0.270385
diff --git a/extra/sxrd/tests/mapper/sic111-r3xr3.blk b/extra/sxrd/tests/mapper/sic111-r3xr3.blk
new file mode 100644
index 00000000..cf9eee11
--- /dev/null
+++ b/extra/sxrd/tests/mapper/sic111-r3xr3.blk
@@ -0,0 +1,20 @@
+# SiC(111) bulk
+5.33940 5.33940 7.5510487 90.000000 90.000000 120.000000
+Si 0.00000000 0.00000000 0.00000000 0.0 1.0
+Si 0.33333333 0.66666667 0.00000000 0.0 1.0
+Si 0.66666667 0.33333333 0.00000000 0.0 1.0
+C 0.00000000 0.00000000 0.25000000 0.0 1.0
+C 0.33333333 0.66666667 0.25000000 0.0 1.0
+C 0.66666667 0.33333333 0.25000000 0.0 1.0
+Si 0.33333333 0.00000000 0.33333333 0.0 1.0
+Si 0.00000000 0.33333333 0.33333333 0.0 1.0
+Si 0.66666666 0.66666666 0.33333333 0.0 1.0
+C 0.33333333 0.00000000 0.58333333 0.0 1.0
+C 0.00000000 0.33333333 0.58333333 0.0 1.0
+C 0.66666666 0.66666666 0.58333333 0.0 1.0
+Si 0.33333333 0.33333333 0.66666667 0.0 1.0
+Si 0.66666666 0.00000000 0.66666667 0.0 1.0
+Si 0.00000000 0.66666666 0.66666667 0.0 1.0
+C 0.33333333 0.33333333 0.91666666 0.0 1.0
+C 0.66666666 0.00000000 0.91666666 0.0 1.0
+C 0.00000000 0.66666666 0.91666666 0.0 1.0
diff --git a/extra/sxrd/tests/mapper/sic111-r3xr3_f.dat b/extra/sxrd/tests/mapper/sic111-r3xr3_f.dat
new file mode 100644
index 00000000..2a27176c
--- /dev/null
+++ b/extra/sxrd/tests/mapper/sic111-r3xr3_f.dat
@@ -0,0 +1,50 @@
+0.000000 0.000000 0.050000 572.805262 0.1
+0.000000 0.000000 0.150000 190.712559 0.1
+0.000000 0.000000 0.250000 114.163340 0.1
+0.000000 0.000000 0.350000 81.267319 0.1
+0.000000 0.000000 0.450000 62.927325 0.1
+0.000000 0.000000 0.550000 51.209358 0.1
+0.000000 0.000000 0.650000 43.063424 0.1
+0.000000 0.000000 0.750000 37.067788 0.1
+0.000000 0.000000 0.850000 32.471491 0.1
+0.000000 0.000000 0.950000 28.841720 0.1
+0.000000 0.000000 1.050000 25.912834 0.1
+0.000000 0.000000 1.150000 23.514369 0.1
+0.000000 0.000000 1.250000 21.533857 0.1
+0.000000 0.000000 1.350000 19.896524 0.1
+0.000000 0.000000 1.450000 18.553831 0.1
+0.000000 0.000000 1.550000 17.477037 0.1
+0.000000 0.000000 1.650000 16.653845 0.1
+0.000000 0.000000 1.750000 16.087160 0.1
+0.000000 0.000000 1.850000 15.795546 0.1
+0.000000 0.000000 1.950000 15.815396 0.1
+0.000000 0.000000 2.050000 16.205508 0.1
+0.000000 0.000000 2.150000 17.055856 0.1
+0.000000 0.000000 2.250000 18.505014 0.1
+0.000000 0.000000 2.350000 20.775759 0.1
+0.000000 0.000000 2.450000 24.252284 0.1
+0.000000 0.000000 2.550000 29.662586 0.1
+0.000000 0.000000 2.650000 38.574319 0.1
+0.000000 0.000000 2.750000 55.079247 0.1
+0.000000 0.000000 2.850000 94.211182 0.1
+0.000000 0.000000 2.950000 291.366841 0.1
+0.000000 0.000000 3.050000 301.315362 0.1
+0.000000 0.000000 3.150000 104.090382 0.1
+0.000000 0.000000 3.250000 64.817320 0.1
+0.000000 0.000000 3.350000 48.094751 0.1
+0.000000 0.000000 3.450000 38.882507 0.1
+0.000000 0.000000 3.550000 33.081716 0.1
+0.000000 0.000000 3.650000 29.118046 0.1
+0.000000 0.000000 3.750000 26.258489 0.1
+0.000000 0.000000 3.850000 24.116399 0.1
+0.000000 0.000000 3.950000 22.469230 0.1
+0.000000 0.000000 4.050000 21.180549 0.1
+0.000000 0.000000 4.150000 20.162695 0.1
+0.000000 0.000000 4.250000 19.357688 0.1
+0.000000 0.000000 4.350000 18.726538 0.1
+0.000000 0.000000 4.450000 18.243250 0.1
+0.000000 0.000000 4.550000 17.891342 0.1
+0.000000 0.000000 4.650000 17.661943 0.1
+0.000000 0.000000 4.750000 17.553000 0.1
+0.000000 0.000000 4.850000 17.569432 0.1
+0.000000 0.000000 4.950000 17.724338 0.1
diff --git a/extra/sxrd/tests/minsearch/do.sh b/extra/sxrd/tests/minsearch/do.sh
new file mode 100644
index 00000000..8ffb325b
--- /dev/null
+++ b/extra/sxrd/tests/minsearch/do.sh
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+set -e
+
+#CMD=py2dmat-sxrd
+CMD="python3 ../../src/main.py"
+
+sh prepare.sh
+
+time $CMD input.toml
+
+result=output/res.txt
+reference=ref.txt
+
+echo diff $result $reference
+res=0
+diff $result $reference || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $result and $reference differ
+ false
+fi
+
+result=output/SimplexData.txt
+reference=ref_SimplexData.txt
+
+echo diff $result $reference
+res=0
+diff $result $reference || res=$?
+if [ $res -eq 0 ]; then
+ echo TEST PASS
+ true
+else
+ echo TEST FAILED: $result and $reference differ
+ false
+fi
+
diff --git a/extra/sxrd/tests/minsearch/input.toml b/extra/sxrd/tests/minsearch/input.toml
new file mode 100644
index 00000000..cfe87de3
--- /dev/null
+++ b/extra/sxrd/tests/minsearch/input.toml
@@ -0,0 +1,48 @@
+[base]
+dimension = 2
+output_dir = "output"
+
+[solver]
+name = "sxrd"
+
+[solver.config]
+sxrd_exec_file = "../bin/sxrdcalc"
+bulk_struc_in_file = "sic111-r3xr3.blk"
+[solver.param]
+scale_factor = 1.0
+type_vector = [1, 2]
+[[solver.param.domain]]
+domain_occupancy = 1.0
+ [[solver.param.domain.atom]]
+ name = "Si"
+ pos_center = [0.00000000, 0.00000000, 1.00000000]
+ DWfactor = 0.0
+ occupancy = 1.0
+ displace_vector = [[1, 0.0, 0.0, 1.0]]
+ [[solver.param.domain.atom]]
+ name = "Si"
+ pos_center = [0.33333333, 0.66666667, 1.00000000]
+ DWfactor = 0.0
+ occupancy = 1.0
+ displace_vector = [[1, 0.0, 0.0, 1.0]]
+ [[solver.param.domain.atom]]
+ name = "Si"
+ pos_center = [0.66666667, 0.33333333, 1.00000000]
+ DWfactor = 0.0
+ occupancy = 1.0
+ displace_vector = [[1, 0.0, 0.0, 1.0]]
+ [[solver.param.domain.atom]]
+ name = "Si"
+ pos_center = [0.33333333, 0.33333333, 1.20000000]
+ DWfactor = 0.0
+ occupancy = 1.0
+ displace_vector = [[2, 0.0, 0.0, 1.0]]
+[solver.reference]
+f_in_file = "sic111-r3xr3_f.dat"
+[algorithm]
+name = "minsearch"
+label_list = ["z1", "z2"]
+[algorithm.param]
+min_list = [-0.2, -0.2]
+max_list = [0.2, 0.2]
+initial_list = [0.0, 0.0]
diff --git a/extra/sxrd/tests/minsearch/prepare.sh b/extra/sxrd/tests/minsearch/prepare.sh
new file mode 100644
index 00000000..e3273d63
--- /dev/null
+++ b/extra/sxrd/tests/minsearch/prepare.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+rm -rf ./output
+rm -f lsfit.in
diff --git a/extra/sxrd/tests/minsearch/ref.txt b/extra/sxrd/tests/minsearch/ref.txt
new file mode 100644
index 00000000..b1d3c219
--- /dev/null
+++ b/extra/sxrd/tests/minsearch/ref.txt
@@ -0,0 +1,3 @@
+fx = 0.000106
+z1 = -2.351035891479114e-05
+z2 = 0.025129315870799473
diff --git a/extra/sxrd/tests/minsearch/ref_SimplexData.txt b/extra/sxrd/tests/minsearch/ref_SimplexData.txt
new file mode 100644
index 00000000..6f7416b4
--- /dev/null
+++ b/extra/sxrd/tests/minsearch/ref_SimplexData.txt
@@ -0,0 +1,27 @@
+#step z1 z2 R-factor
+0 0.0 0.0 0.025287
+1 0.0 0.0 0.025287
+2 0.0 0.0 0.025287
+3 0.0 0.0 0.025287
+4 0.0 0.0 0.025287
+5 0.0 0.0 0.025287
+6 0.0 0.0 0.025287
+7 0.0 0.0 0.025287
+8 -0.0020751953125 0.028076171875 0.010644
+9 -0.0020751953125 0.028076171875 0.010644
+10 0.00080108642578125 0.0332794189453125 0.008643
+11 0.0012531280517578125 0.023487091064453125 0.006526
+12 -0.0005240440368652344 0.028229713439941406 0.004406
+13 -0.0005240440368652344 0.028229713439941406 0.004406
+14 0.0004775524139404297 0.023410320281982422 0.00326
+15 -4.762411117553711e-05 0.022128701210021973 0.00278
+16 -0.00015453994274139404 0.025499612092971802 0.000897
+17 -0.00015453994274139404 0.025499612092971802 0.000897
+18 -0.00015453994274139404 0.025499612092971802 0.000897
+19 7.58124515414238e-05 0.02492680959403515 0.000462
+20 7.58124515414238e-05 0.02492680959403515 0.000462
+21 -8.324318332597613e-05 0.025063568842597306 0.000367
+22 4.427960084285587e-05 0.025328663032269105 0.000251
+23 2.8165330149931833e-05 0.025061462765734177 0.000168
+24 -2.351035891479114e-05 0.025129315870799473 0.000106
+25 -2.351035891479114e-05 0.025129315870799473 0.000106
diff --git a/extra/sxrd/tests/minsearch/sic111-r3xr3.blk b/extra/sxrd/tests/minsearch/sic111-r3xr3.blk
new file mode 100644
index 00000000..c8507e2d
--- /dev/null
+++ b/extra/sxrd/tests/minsearch/sic111-r3xr3.blk
@@ -0,0 +1,20 @@
+# SiC(111) bulk
+5.33940 5.33940 7.5510487 90.000000 90.000000 120.000000
+Si 0.00000000 0.00000000 0.00000000 0.0 1.0
+Si 0.33333333 0.66666667 0.00000000 0.0 1.0
+Si 0.66666667 0.33333333 0.00000000 0.0 1.0
+C 0.00000000 0.00000000 0.25000000 0.0 1.0
+C 0.33333333 0.66666667 0.25000000 0.0 1.0
+C 0.66666667 0.33333333 0.25000000 0.0 1.0
+Si 0.33333333 0.00000000 0.33333333 0.0 1.0
+Si 0.00000000 0.33333333 0.33333333 0.0 1.0
+Si 0.66666666 0.66666666 0.33333333 0.0 1.0
+C 0.33333333 0.00000000 0.58333333 0.0 1.0
+C 0.00000000 0.33333333 0.58333333 0.0 1.0
+C 0.66666666 0.66666666 0.58333333 0.0 1.0
+Si 0.33333333 0.33333333 0.66666667 0.0 1.0
+Si 0.66666666 0.00000000 0.66666667 0.0 1.0
+Si 0.00000000 0.66666666 0.66666667 0.0 1.0
+C 0.33333333 0.33333333 0.91666666 0.0 1.0
+C 0.66666666 0.00000000 0.91666666 0.0 1.0
+C 0.00000000 0.66666666 0.91666666 0.0 1.0
diff --git a/extra/sxrd/tests/minsearch/sic111-r3xr3_f.dat b/extra/sxrd/tests/minsearch/sic111-r3xr3_f.dat
new file mode 100644
index 00000000..c81d0eaf
--- /dev/null
+++ b/extra/sxrd/tests/minsearch/sic111-r3xr3_f.dat
@@ -0,0 +1,50 @@
+0.000000 0.000000 0.050000 572.805262 0.1
+0.000000 0.000000 0.150000 190.712559 0.1
+0.000000 0.000000 0.250000 114.163340 0.1
+0.000000 0.000000 0.350000 81.267319 0.1
+0.000000 0.000000 0.450000 62.927325 0.1
+0.000000 0.000000 0.550000 51.209358 0.1
+0.000000 0.000000 0.650000 43.063424 0.1
+0.000000 0.000000 0.750000 37.067788 0.1
+0.000000 0.000000 0.850000 32.471491 0.1
+0.000000 0.000000 0.950000 28.841720 0.1
+0.000000 0.000000 1.050000 25.912834 0.1
+0.000000 0.000000 1.150000 23.514369 0.1
+0.000000 0.000000 1.250000 21.533857 0.1
+0.000000 0.000000 1.350000 19.896524 0.1
+0.000000 0.000000 1.450000 18.553831 0.1
+0.000000 0.000000 1.550000 17.477037 0.1
+0.000000 0.000000 1.650000 16.653845 0.1
+0.000000 0.000000 1.750000 16.087160 0.1
+0.000000 0.000000 1.850000 15.795546 0.1
+0.000000 0.000000 1.950000 15.815396 0.1
+0.000000 0.000000 2.050000 16.205508 0.1
+0.000000 0.000000 2.150000 17.055856 0.1
+0.000000 0.000000 2.250000 18.505014 0.1
+0.000000 0.000000 2.350000 20.775759 0.1
+0.000000 0.000000 2.450000 24.252284 0.1
+0.000000 0.000000 2.550000 29.662586 0.1
+0.000000 0.000000 2.650000 38.574319 0.1
+0.000000 0.000000 2.750000 55.079247 0.1
+0.000000 0.000000 2.850000 94.211182 0.1
+0.000000 0.000000 2.950000 291.366841 0.1
+0.000000 0.000000 3.050000 301.315362 0.1
+0.000000 0.000000 3.150000 104.090382 0.1
+0.000000 0.000000 3.250000 64.817320 0.1
+0.000000 0.000000 3.350000 48.094751 0.1
+0.000000 0.000000 3.450000 38.882507 0.1
+0.000000 0.000000 3.550000 33.081716 0.1
+0.000000 0.000000 3.650000 29.118046 0.1
+0.000000 0.000000 3.750000 26.258489 0.1
+0.000000 0.000000 3.850000 24.116399 0.1
+0.000000 0.000000 3.950000 22.469230 0.1
+0.000000 0.000000 4.050000 21.180549 0.1
+0.000000 0.000000 4.150000 20.162695 0.1
+0.000000 0.000000 4.250000 19.357688 0.1
+0.000000 0.000000 4.350000 18.726538 0.1
+0.000000 0.000000 4.450000 18.243250 0.1
+0.000000 0.000000 4.550000 17.891342 0.1
+0.000000 0.000000 4.650000 17.661943 0.1
+0.000000 0.000000 4.750000 17.553000 0.1
+0.000000 0.000000 4.850000 17.569432 0.1
+0.000000 0.000000 4.950000 17.724338 0.1