Reference documentation for deal.II version 8.1.0
dof_output_operator.h
1 // ---------------------------------------------------------------------
2 // @f$Id: dof_output_operator.h 30036 2013-07-18 16:55:32Z maier @f$
3 //
4 // Copyright (C) 2010 - 2013 by the deal.II authors
5 //
6 // This file is part of the deal.II library.
7 //
8 // The deal.II library is free software; you can use it, redistribute
9 // it, and/or modify it under the terms of the GNU Lesser General
10 // Public License as published by the Free Software Foundation; either
11 // version 2.1 of the License, or (at your option) any later version.
12 // The full text of the license can be found in the file LICENSE at
13 // the top level of the deal.II distribution.
14 //
15 // ---------------------------------------------------------------------
16 
17 
18 #ifndef __deal2__dof_output_operator_h
19 #define __deal2__dof_output_operator_h
20 
21 #include <deal.II/base/config.h>
22 #include <deal.II/base/named_data.h>
23 #include <deal.II/base/event.h>
24 #include <deal.II/algorithms/operator.h>
25 #include <deal.II/dofs/dof_handler.h>
26 
27 #include <fstream>
28 
30 
31 namespace Algorithms
32 {
33  template <class VECTOR, int dim, int spacedim=dim>
34  class DoFOutputOperator : public OutputOperator<VECTOR>
35  {
36  public:
37  void initialize (DoFHandler<dim, spacedim> &dof_handler);
38 
39  virtual OutputOperator<VECTOR> &
40  operator<<(const NamedData<VECTOR *> &vectors);
41 
42  private:
45  };
46 
47  template <class VECTOR, int dim, int spacedim>
49  DoFHandler<dim, spacedim> &dof_handler)
50  {
51  dof = &dof_handler;
52  }
53 }
54 
55 
56 DEAL_II_NAMESPACE_CLOSE
57 
58 #endif