|
Last change
on this file since 7b991d was 418117a, checked in by Frederik Heber <heber@…>, 16 years ago |
|
Verbosity corrected for ERROR and WARNING
- present ERROR and WARNING prefixes removed and placed by eLog() and respective Verbosity().
- -v... is scanned for number of 'v's and verbosity is set accordingly
- standard verbosity is now 0.
Signed-off-by: Frederik Heber <heber@…>
|
-
Property mode
set to
100644
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * atom_graphnode.cpp
|
|---|
| 3 | *
|
|---|
| 4 | * Created on: Oct 19, 2009
|
|---|
| 5 | * Author: heber
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #include "atom_graphnode.hpp"
|
|---|
| 9 | #include "log.hpp"
|
|---|
| 10 | #include "verbose.hpp"
|
|---|
| 11 |
|
|---|
| 12 | /** Constructor of class GraphNode.
|
|---|
| 13 | */
|
|---|
| 14 | GraphNode::GraphNode()
|
|---|
| 15 | {
|
|---|
| 16 | };
|
|---|
| 17 |
|
|---|
| 18 | /** Destructor of class GraphNode.
|
|---|
| 19 | */
|
|---|
| 20 | GraphNode::~GraphNode()
|
|---|
| 21 | {
|
|---|
| 22 | };
|
|---|
| 23 |
|
|---|
| 24 | /** Output graph info of this atom.
|
|---|
| 25 | * \param *out output stream
|
|---|
| 26 | */
|
|---|
| 27 | void GraphNode::OutputGraphInfo() const
|
|---|
| 28 | {
|
|---|
| 29 | Log() << Verbose(2) << "Atom " << Name << " is " << ((SeparationVertex) ? "a" : "not a") << " separation vertex, components are ";
|
|---|
| 30 | OutputComponentNumber();
|
|---|
| 31 | Log() << Verbose(3) << " with Lowpoint " << LowpointNr << " and Graph Nr. " << GraphNr << "." << endl;
|
|---|
| 32 | };
|
|---|
| 33 |
|
|---|
| 34 | /** Output a list of flags, stating whether the bond was visited or not.
|
|---|
| 35 | * Note, we make use of the last entry of the ComponentNr always being -1 if allocated.
|
|---|
| 36 | * \param *out output stream for debugging
|
|---|
| 37 | */
|
|---|
| 38 | void GraphNode::OutputComponentNumber() const
|
|---|
| 39 | {
|
|---|
| 40 | if (ComponentNr != NULL) {
|
|---|
| 41 | for (int i=0; ComponentNr[i] != -1; i++)
|
|---|
| 42 | Log() << Verbose(2) << ComponentNr[i] << " ";
|
|---|
| 43 | }
|
|---|
| 44 | };
|
|---|
| 45 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.