33 #ifndef MADNESS_WORLD_PRINT_SEQ_H__INCLUDED
34 #define MADNESS_WORLD_PRINT_SEQ_H__INCLUDED
41 template <
typename A,
typename B,
typename C,
typename D>
43 if (world.
rank() == 0) {
46 for (
int p=1; p<world.
size(); ++p) {
54 print(aa, bb, cc, dd);
65 template <
typename A,
typename B,
typename C>
67 if (world.
rank() == 0) {
70 for (
int p=1; p<world.
size(); ++p) {
88 template <
typename A,
typename B>
90 if (world.
rank() == 0) {
93 for (
int p=1; p<world.
size(); ++p) {
110 template <
typename A>
112 if (world.
rank() == 0) {
115 for (
int p=1; p<world.
size(); ++p) {
131 #endif // MADNESS_WORLD_PRINT_SEQ_H__INCLUDED
Tensor< double > B
Definition: tdse1d.cc:167
void print_seq(World &world, const A &a, const B &b, const C &c, const D &d)
Sequentially ordered printing of (serializable) data from every process ... collective no fence...
Definition: print_seq.h:42
ProcessID size() const
Returns the number of processes in this world (same as MPI_Comm_size())
Definition: worldfwd.h:533
JLOOP2 NK jnz KLOOP2 mov C
Definition: mtxm_gen.h:10
FLOAT a(int j, FLOAT z)
Definition: y1.cc:86
const double cc
Definition: navstokes_cosines.cc:108
A parallel world with full functionality wrapping an MPI communicator.
Definition: worldfwd.h:416
ProcessID rank() const
Returns the process rank in this world (same as MPI_Comm_rank()))
Definition: worldfwd.h:526
void print(const A &a)
Print a single item to std::cout terminating with new line.
Definition: print.h:122
Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces.
Definition: chem/atomutil.cc:45
const double c
Definition: gfit.cc:200
FLOAT b(int j, FLOAT z)
Definition: y1.cc:79