FreePOOMA  2.4.1
Classes
PrintField.h File Reference

Extract the elements of a Field and print out the contents to a stream with some nice formatting. More...

#include "Pooma/Pooma.h"
#include "Utilities/PAssert.h"
#include <iomanip>
Include dependency graph for PrintField.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  PerformPrintField< Dim >
 PerformPrintField struct: a simple wrapper around the templated 'print' method of PrintField. More...
struct  PerformPrintField< 1 >
class  PrintField
 PrintField is a utility program for ConstField and Field object, used to print (nicely) the contents of an field to a provided stream. More...

Detailed Description

Extract the elements of a Field and print out the contents to a stream with some nice formatting.

The user can select how many elements to print per line, the precision, format, etc. This is done by constructing an PrintField, and calling the 'print' method with the stream to print to and the field to print.