Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: joelib/math/symmetry/PointGroup.java


1   ///////////////////////////////////////////////////////////////////////////////
2   //  Filename: $RCSfile: PointGroup.java,v $
3   //  Purpose:  Brute force symmetry analyzer.
4   //  Language: Java
5   //  Compiler: JDK 1.4
6   //  Authors:  Joerg K. Wegner
7   //  Original author: (C) 1996, 2003 S. Patchkovskii, Serguei.Patchkovskii@sympatico.ca
8   //  Version:  $Revision: 1.2 $
9   //            $Date: 2003/08/19 13:11:27 $
10  //            $Author: wegner $
11  //
12  //  Copyright (c) Dept. Computer Architecture, University of Tuebingen, Germany
13  //
14  //  This program is free software; you can redistribute it and/or modify
15  //  it under the terms of the GNU General Public License as published by
16  //  the Free Software Foundation; either version 2 of the License, or
17  //  (at your option) any later version.
18  //
19  //  This program is distributed in the hope that it will be useful,
20  //  but WITHOUT ANY WARRANTY; without even the implied warranty of
21  //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22  //  GNU General Public License for more details.
23  //
24  //  You should have received a copy of the GNU General Public License
25  //  along with this program; if not, write to the Free Software
26  //  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27  ///////////////////////////////////////////////////////////////////////////////
28  package joelib.math.symmetry;
29  
30  
31  /*==========================================================================*
32   * IMPORTS
33   *========================================================================== */
34  import joelib.molecule.*;
35  
36  
37  /*==========================================================================*
38   * CLASS DECLARATION
39   *========================================================================== */
40  
41  /**
42   * PointGroup.
43   *
44   * @author     Serguei Patchkovskii
45   * @author     wegnerj
46   * @license GPL
47   * @cvsversion    $Revision: 1.2 $, $Date: 2003/08/19 13:11:27 $
48   */
49  public class PointGroup
50  {
51      //~ Instance fields ////////////////////////////////////////////////////////
52  
53      /*-------------------------------------------------------------------------*
54       * public member variables
55       *------------------------------------------------------------------------- */
56  
57      /**
58       * Canonical group name.
59       */
60      private String groupName;
61  
62      /**
63       * Group symmetry code.
64       */
65      private String symmetryCode;
66  
67      /**
68       *Additional verification routine, not used.
69       */
70      private boolean check;
71  
72      //~ Constructors ///////////////////////////////////////////////////////////
73  
74      /*-------------------------------------------------------------------------*
75       * constructor
76       *------------------------------------------------------------------------- */
77  
78      /**
79       *  Constructor for the PointGroup object
80       *
81       */
82      public PointGroup(String _groupName, String _symmetryCode, boolean _check)
83      {
84          groupName = _groupName;
85          symmetryCode = _symmetryCode;
86          check = _check;
87      }
88  
89      //~ Methods ////////////////////////////////////////////////////////////////
90  
91      public boolean getCheck()
92      {
93          return check;
94      }
95  
96      public String getGroupName()
97      {
98          return groupName;
99      }
100 
101     public String getSymmetryCode()
102     {
103         return symmetryCode;
104     }
105 }
106 ///////////////////////////////////////////////////////////////////////////////
107 //  END OF FILE.
108 ///////////////////////////////////////////////////////////////////////////////