Reference documentation for deal.II version 8.4.2
Public Member Functions | Related Functions | List of all members
Algorithms::OutputOperator< VectorType > Class Template Reference

#include <deal.II/algorithms/operator.h>

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

Public Member Functions

virtual ~OutputOperator ()
 
void initialize_stream (std::ostream &stream)
 
void set_step (const unsigned int step)
 
virtual OutputOperator< VectorType > & operator<< (const AnyData &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."<< "\"<< "(Additional information: "<< arg3<< ")\"<< "See the entry in the Frequently Asked Questions of "<< "deal.II (linked to from http://www.dealii.org/) for "<< "a lot more information on what this error means and "<< "how to fix programs in which it happens.")
 
 DeclException2 (ExcNoSubscriber, char *, char *,<< "No subscriber with identifier <"<< arg2<< "> subscribes to this object of class "<< arg1<< ". Consequently, it cannot be unsubscribed.")
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Related Functions

(Note that these are not member functions.)

template<typename VectorType >
OutputOperator< VectorType > & operator<< (OutputOperator< VectorType > &out, unsigned int step)
 

Detailed Description

template<typename VectorType>
class Algorithms::OutputOperator< VectorType >

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

Author
Guido Kanschat, 2010

Definition at line 107 of file operator.h.

Constructor & Destructor Documentation

§ ~OutputOperator()

template<typename VectorType>
virtual Algorithms::OutputOperator< VectorType >::~OutputOperator ( )
virtual

Empty virtual destructor.

Member Function Documentation

§ initialize_stream()

template<typename VectorType>
void Algorithms::OutputOperator< VectorType >::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.

§ set_step()

template<typename VectorType >
void Algorithms::OutputOperator< VectorType >::set_step ( const unsigned int  step)
inline

Set the current step.

Definition at line 140 of file operator.h.

§ operator<<()

template<typename VectorType>
virtual OutputOperator<VectorType>& Algorithms::OutputOperator< VectorType >::operator<< ( const AnyData vectors)
virtual

Output all the vectors in AnyData.

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

Friends And Related Function Documentation

§ operator<<()

template<typename VectorType >
OutputOperator< VectorType > & operator<< ( OutputOperator< VectorType > &  out,
unsigned int  step 
)
related

Set the step number in OutputOperator by shifting an integer value.

Definition at line 154 of file operator.h.


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