Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
Algorithms::OutputOperator< VECTOR > Class Template Reference

#include <operator.h>

Inheritance diagram for Algorithms::OutputOperator< VECTOR >:
[legend]

Public Member Functions

virtual ~OutputOperator ()
 
void initialize_stream (std::ostream &stream)
 
OutputOperator< VECTOR > & operator<< (unsigned int step)
 
virtual OutputOperator< VECTOR > & operator<< (const NamedData< VECTOR * > &vectors)
 
- Public Member Functions inherited from Subscriptor
 Subscriptor ()
 
 Subscriptor (const Subscriptor &)
 
virtual ~Subscriptor ()
 
Subscriptoroperator= (const Subscriptor &)
 
void subscribe (const char *identifier=0) const
 
void unsubscribe (const char *identifier=0) const
 
unsigned int n_subscriptions () const
 
void list_subscribers () const
 
 DeclException3 (ExcInUse, int, char *, std::string &,<< "Object of class "<< arg2<< " is still used by "<< arg1<< " other objects.\n"<< "(Additional information: "<< arg3<< ")\n"<< "Note the entry in the Frequently Asked Questions of "<< "deal.II (linked to from http://www.dealii.org/) for "<< "more information on what this error means.")
 
 DeclException2 (ExcNoSubscriber, char *, char *,<< "No subscriber with identifier \""<< arg2<< "\" did subscribe to this object of class "<< arg1)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Protected Attributes

unsigned int step
 

Private Member Functions

 OutputOperator (const OutputOperator< VECTOR > &)
 

Private Attributes

std::ostream * os
 

Detailed Description

template<class VECTOR>
class Algorithms::OutputOperator< VECTOR >

An unary operator base class, intended to output the vectors in NamedData in each step of an iteration.

Author
Guido Kanschat, 2010

Definition at line 113 of file operator.h.

Constructor & Destructor Documentation

template<class VECTOR >
Algorithms::OutputOperator< VECTOR >::~OutputOperator ( )
virtual

Empty virtual destructor.

Definition at line 46 of file operator.templates.h.

Member Function Documentation

template<class VECTOR >
void Algorithms::OutputOperator< VECTOR >::initialize_stream ( std::ostream &  stream)

Set the stream os to which data is written. If no stream is selected with this function, data goes to deallog.

Definition at line 56 of file operator.templates.h.

template<class VECTOR >
OutputOperator< VECTOR > & Algorithms::OutputOperator< VECTOR >::operator<< ( unsigned int  step)

Set the current step.

Definition at line 148 of file operator.h.

template<class VECTOR >
OutputOperator< VECTOR > & Algorithms::OutputOperator< VECTOR >::operator<< ( const NamedData< VECTOR * > &  vectors)
virtual

Output all the vectors in NamedData.

Reimplemented in Algorithms::DoFOutputOperator< VECTOR, dim, spacedim >.

Definition at line 63 of file operator.templates.h.


The documentation for this class was generated from the following files: