CASM
1.1.0
A Clusters Approach to Statistical Mechanics
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
Typedefs
_
a
b
c
d
e
f
g
i
l
m
o
p
r
s
t
u
v
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
Enumerations
Enumerator
a
b
c
d
e
f
h
i
n
o
p
q
r
s
v
Related Functions
Files
File List
File Members
All
a
b
c
d
e
h
i
j
l
m
o
p
q
r
s
t
v
Functions
c
m
o
q
Variables
Typedefs
Macros
a
c
e
h
i
t
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Configuration_stream_io.cc
Go to the documentation of this file.
1
#include "
casm/clex/io/stream/Configuration_stream_io.hh
"
2
3
#include "
casm/clex/Configuration.hh
"
4
#include "
casm/clex/SimpleStructureTools.hh
"
5
#include "
casm/crystallography/io/VaspIO.hh
"
6
7
namespace
CASM
{
8
9
void
print_poscar
(
Configuration
const
&configuration, std::ostream &sout) {
10
VaspIO::PrintPOSCAR
p{
make_simple_structure
(configuration),
11
configuration.name()};
12
p.sort();
13
p.print(sout);
14
}
15
16
}
// namespace CASM
Configuration.hh
Configuration_stream_io.hh
VaspIO.hh
CASM::Configuration
Definition:
Configuration.hh:74
CASM::VaspIO::PrintPOSCAR
Print POSCAR with formating options.
Definition:
VaspIO.hh:40
SimpleStructureTools.hh
CASM
Main CASM namespace.
Definition:
APICommand.hh:8
CASM::make_simple_structure
xtal::SimpleStructure make_simple_structure(Supercell const &_scel, ConfigDoF const &_dof, std::vector< DoFKey > const &_which_dofs={})
Construct from ConfigDoF _dof belonging to provided Supercell _scel.
Definition:
SimpleStructureTools.cc:26
CASM::print_poscar
void print_poscar(Configuration const &configuration, std::ostream &sout)
Definition:
Configuration_stream_io.cc:9
src
casm
clex
io
stream
Configuration_stream_io.cc
Generated on Tue Mar 23 2021 14:16:45 for CASM by
1.9.1