CASM
1.1.0
A Clusters Approach to Statistical Mechanics
IntegralCluster_stream_io.cc
Go to the documentation of this file.
1
#include "
casm/clusterography/io/stream/IntegralCluster_stream_io.hh
"
2
3
#include "
casm/clusterography/IntegralCluster.hh
"
4
#include "
casm/clusterography/io/OrbitPrinter_impl.hh
"
5
6
namespace
CASM
{
7
10
std::ostream &
operator<<
(std::ostream &sout,
const
IntegralCluster
&clust) {
11
OrbitPrinterOptions
opt;
12
opt.
coord_type
=
INTEGRAL
;
13
SitesPrinter
printer{opt};
14
Log
log
(sout);
15
printer.print(clust,
log
);
16
return
sout;
17
}
18
19
}
// namespace CASM
IntegralCluster.hh
IntegralCluster_stream_io.hh
OrbitPrinter_impl.hh
CASM::IntegralCluster
Definition:
IntegralCluster.hh:38
CASM::Log
Definition:
Log.hh:48
CASM
Main CASM namespace.
Definition:
APICommand.hh:8
CASM::operator<<
std::ostream & operator<<(std::ostream &_stream, const FormattedPrintable &_formatted)
Definition:
DataFormatter.hh:747
CASM::log
Log & log()
Definition:
Log.hh:424
CASM::INTEGRAL
const COORD_TYPE INTEGRAL
Definition:
enum.hh:10
CASM::OrbitPrinterOptions
Definition:
OrbitPrinter.hh:24
CASM::OrbitPrinterOptions::coord_type
COORD_TYPE coord_type
Definition:
OrbitPrinter.hh:28
CASM::Printer< IntegralCluster >
Definition:
OrbitPrinter.hh:96
src
casm
clusterography
io
stream
IntegralCluster_stream_io.cc
Generated on Tue Mar 23 2021 14:16:46 for CASM by
1.9.1