<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_bsym_8cpp">
<title>/Users/bernard/b20/bsoft/src/bsym.cpp File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/src/bsym.cpp</primary></indexterm>
<para>

<para>Program to generate symmetry axes for point group symmetries. </para>
 
</para>
<programlisting>#include &quot;rwimg.h&quot;
#include &quot;rwsymop.h&quot;
#include &quot;symmetry.h&quot;
#include &quot;linked_list.h&quot;
#include &quot;utilities.h&quot;
#include &quot;options.h&quot;
#include &quot;timer.h&quot;
</programlisting><simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_bsym_8cpp_1a9441fb450282f3417a40c2193bfda5cb">img_write_symmetry_views</link> (<link linkend="_class_bimage">Bimage</link> *p, <link linkend="_struct_bsymmetry">Bsymmetry</link> *sym, <link linkend="_class_view">View</link> ref_view, <link linkend="_class_bstring">Bstring</link> &amp;filename, <link linkend="_utilities_8h_1ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</link> datatype, double avg, double std)</para>

<para>Rotates an image to all symmetry-related views and writes out the resultant images. </para>
</listitem>
            <listitem><para>int <link linkend="_bsym_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627">main</link> (int argc, char **argv)</para>
</listitem>
        </itemizedlist>
</simplesect>
<simplesect>
    <title>Variables    </title>
        <itemizedlist>
            <listitem><para>int <link linkend="_bsym_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453">verbose</link></para>
</listitem>
            <listitem><para>const char * <link linkend="_bsym_8cpp_1a4de0ad4c7190962494815c0fa7f948df">use</link> []</para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>Program to generate symmetry axes for point group symmetries. </para>

<para><formalpara><title>Author: </title>

<para>Bernard Heymann </para>
</formalpara>
<formalpara><title>Date: </title>

<para>Created: 20001119 </para>

<para>Modified: 20191104 </para>
</formalpara>
</para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_bsym_8cpp_1a9441fb450282f3417a40c2193bfda5cb"/>    <section>
    <title>img_write_symmetry_views()</title>
<indexterm><primary>img_write_symmetry_views</primary><secondary>bsym.cpp</secondary></indexterm>
<indexterm><primary>bsym.cpp</primary><secondary>img_write_symmetry_views</secondary></indexterm>
<para><computeroutput>int img_write_symmetry_views (<link linkend="_class_bimage">Bimage</link> * p, <link linkend="_struct_bsymmetry">Bsymmetry</link> * sym, <link linkend="_class_view">View</link> ref_view, <link linkend="_class_bstring">Bstring</link> &amp; filename, <link linkend="_utilities_8h_1ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</link> datatype, double avg, double std)</computeroutput></para><para>

<para>Rotates an image to all symmetry-related views and writes out the resultant images. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>*p</entry>
                                <entry>
<para>image to be rotated and saved. </para>
</entry>
                            </row>
                            <row>
                                <entry>*sym</entry>
                                <entry>
<para>point group symmetry. </para>
</entry>
                            </row>
                            <row>
                                <entry>ref_view</entry>
                                <entry>
<para>reference view (default 0,0,1,0). </para>
</entry>
                            </row>
                            <row>
                                <entry>&amp;filename</entry>
                                <entry>
<para>output filename (converted to name_??.img) </para>
</entry>
                            </row>
                            <row>
                                <entry>datatype</entry>
                                <entry>
<para>new data type. </para>
</entry>
                            </row>
                            <row>
                                <entry>avg</entry>
                                <entry>
<para>new average. </para>
</entry>
                            </row>
                            <row>
                                <entry>std</entry>
                                <entry>
<para>new standard deviation. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                <formalpara><title>Returns: </title>

<para>int 0. <literallayout><computeroutput>The resultant image is rescaled to the desired average and standard
deviation, and converted to the desired data type. If the standard
deviation is zero, no rescaling is applied. The output filenames
are numbered with an underscore and two digits, starting at 1.
</computeroutput></literallayout> </para>
</formalpara>
</para>
<para>
Definition at line 303 of file bsym.cpp.</para>
    </section><anchor xml:id="_bsym_8cpp_1a3c04138a5bfe5d72780bb7e82a18e627"/>    <section>
    <title>main()</title>
<indexterm><primary>main</primary><secondary>bsym.cpp</secondary></indexterm>
<indexterm><primary>bsym.cpp</primary><secondary>main</secondary></indexterm>
<para><computeroutput>int main (int argc, char ** argv)</computeroutput></para><para>
Definition at line 71 of file bsym.cpp.</para>
</section>
</section>
<section>
<title>Variable Documentation</title>
<anchor xml:id="_bsym_8cpp_1a4de0ad4c7190962494815c0fa7f948df"/>    <section>
    <title>use</title>
<indexterm><primary>use</primary><secondary>bsym.cpp</secondary></indexterm>
<indexterm><primary>bsym.cpp</primary><secondary>use</secondary></indexterm>
<para><computeroutput>const char* use[]</computeroutput></para><para>
Definition at line 24 of file bsym.cpp.</para>
    </section><anchor xml:id="_bsym_8cpp_1a0b2caeb4b6f130be43e5a2f0267dd453"/>    <section>
    <title>verbose</title>
<indexterm><primary>verbose</primary><secondary>bsym.cpp</secondary></indexterm>
<indexterm><primary>bsym.cpp</primary><secondary>verbose</secondary></indexterm>
<para><computeroutput>int verbose</computeroutput></para></section>
</section>
</section>
