Version: SMASH-3.1
threevector.cc
Go to the documentation of this file.
1
/*
2
*
3
* Copyright (c) 2014-2015,2017-2018
4
* SMASH Team
5
*
6
* GNU General Public License (GPLv3 or later)
7
*
8
*/
9
10
#include "
smash/threevector.h
"
11
12
#include "
smash/iomanipulators.h
"
13
14
namespace
smash
{
15
16
std::ostream &
operator<<
(std::ostream &out,
const
ThreeVector
&v) {
17
out.put(
'('
);
18
out.fill(
' '
);
19
for
(
auto
x : v) {
20
out << field<8> << x;
21
}
22
return
out <<
')'
;
23
}
24
25
}
// namespace smash
smash::ThreeVector
The ThreeVector class represents a physical three-vector with the components .
Definition:
threevector.h:31
smash::operator<<
std::ostream & operator<<(std::ostream &out, const ActionPtr &action)
Convenience: dereferences the ActionPtr to Action.
Definition:
action.h:547
iomanipulators.h
smash
Definition:
action.h:24
threevector.h
src
threevector.cc
Impressum
Data privacy protection
Generated on Mon Feb 26 2024 14:05:12 for SMASH Development Documentation by
Doxygen
1.9.1