6#ifndef OutputTecplot_hh
7#define OutputTecplot_hh
33 void header(std::ostream&
os, std::string name,
uint cnt = 0);
36 std::ostream&
info(std::ostream&
os)
const {
58 void header(std::ostream&
os, std::string name,
uint cnt = 0);
61 std::ostream&
info(std::ostream&
os)
const {
66 const std::complex<F>& val_;
71 (std::ostream&
os, std::string name,
uint cnt) {
72 os << name << cnt <<
"r, " << name << cnt <<
"i";
85 void header(std::ostream&
os, std::string name,
uint cnt = 0);
88 std::ostream&
info(std::ostream&
os)
const {
89 for(
uint i = 0; i < val_.size(); ++i)
99 (std::ostream&
os, std::string name,
uint cnt) {
101 for(
uint i = 0; i < val_.size(); ) {
102 o.header(
os, name, cnt+i);
103 if (++i < val_.size())
os <<
", ";
110 template<
typename F,
int dim>
118 void header(std::ostream&
os, std::string name,
uint cnt = 0);
121 std::ostream&
info(std::ostream&
os)
const {
122 for(
uint i = 0; i < dim; ++i)
130 template<
typename F,
int dim>
132 (std::ostream&
os, std::string name,
uint cnt) {
137 for(
uint i = 0; i < dim; ) {
138 o.header(
os, name, cnt+i);
139 if (++i < dim)
os <<
", ";
std::ostream & info(std::ostream &os) const
Returns information in an output stream.
std::ostream & info(std::ostream &os) const
Returns information in an output stream.
std::ostream & info(std::ostream &os) const
Returns information in an output stream.
void header(std::ostream &os, std::string name, uint cnt=0)
std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Set< F > makeSet(uint n, const F &first,...)