Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Atom.cc
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 //////////////////////////////////////////////////////////////////////
10 /// @begin Atom
11 ///
12 /// @brief
13 /// A class for defining atom parameters, known as atom_types
14 ///
15 /// @details
16 /// This class contains the "chemical" information for atoms. This does not contain the actual
17 /// xyz coordinates of the class (xyz found in core/conformation/Atom.hh. The atom_type properties
18 /// are assigned by the class AtomSet which is initiated from the ChemicalManager. Atom type properties
19 /// are currently are read in from the file located chemical/atom_type_sets/fa_standard/atom_properties.txt.
20 /// These properties contain the the properties of LJ_RADIUS, LJ_WDEPTH, LK_DGRFREE, LK_LAMBDA, LK_VOLUME.
21 /// These properties are used in the scoring function fa_atr, fa_rep, fa_sol, which is located in the Etable (core/scoring/etable/Etable.hh)
22 /// Additional parameters are acceptor/donor, hybridzation, and orbital paramaters.
23 ///
24 ///
25 ///
26 /// @author
27 /// Phil Bradley
28 /// Steven Combs - comments
29 ///
30 ///
31 /// @last_modified December 6 2010
32 /////////////////////////////////////////////////////////////////////////
33 
34 // Rosetta headers
35 #include <core/chemical/Atom.hh>
36 
37 // Utility headers
38 #include <utility/exit.hh>
39 #include <basic/Tracer.hh>
40 
41 // C++ headers
42 #include <algorithm>
43 
44 namespace core {
45 namespace chemical {
46 
47 void
49  std::ostream & out
50 ) const {
51  out << "Name: " << name() << std::endl;
52 // out << "Type: " << type() << std::endl;
53  out << "MM Name: " << mm_name() << std::endl;
54  out << "atom_type_index: " << atom_type_index() << std::endl;
55  out << "mm_atom_type_index: " << mm_atom_type_index() << std::endl;
56  out << "charge: " << charge() << std::endl;
57  //out << "xyz: " << xyz() << std::endl;
58  //out << "icoor: " << icoor() << std::endl;
59  out << std::endl;
60 }
61 
62 std::ostream &
63 operator<< (std::ostream & out, const Atom & atom_type ){
64  atom_type.print( out );
65  return out;
66 }
67 
68 ///////////////////////////////////////////////////////////////////////////////
69 ///////////////////////////////////////////////////////////////////////////////
70 ///////////////////////////////////////////////////////////////////////////////
71 
72 
73 } // pose
74 } // core