Reference documentation for deal.II version 8.5.1
matrix_out.cc
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2001 - 2014 by the deal.II authors
4 //
5 // This file is part of the deal.II library.
6 //
7 // The deal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 2.1 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE at
12 // the top level of the deal.II distribution.
13 //
14 // ---------------------------------------------------------------------
15 
16 #include <deal.II/lac/matrix_out.h>
17 
18 DEAL_II_NAMESPACE_OPEN
19 
20 
21 MatrixOut::Options::Options (const bool show_absolute_values,
22  const unsigned int block_size,
23  const bool discontinuous)
24  :
25  show_absolute_values (show_absolute_values),
26  block_size (block_size),
27  discontinuous (discontinuous)
28 {}
29 
30 
31 
33 {}
34 
35 
36 
37 const std::vector<MatrixOut::Patch> &
39 {
40  return patches;
41 }
42 
43 
44 
45 std::vector<std::string>
47 {
48  return std::vector<std::string>(1,name);
49 }
50 
51 DEAL_II_NAMESPACE_CLOSE
std::vector< Patch > patches
Definition: matrix_out.h:154
virtual const std::vector< Patch > & get_patches() const
Definition: matrix_out.cc:38
std::string name
Definition: matrix_out.h:159
virtual ~MatrixOut()
Definition: matrix_out.cc:32
virtual std::vector< std::string > get_dataset_names() const
Definition: matrix_out.cc:46
Options(const bool show_absolute_values=false, const unsigned int block_size=1, const bool discontinuous=false)
Definition: matrix_out.cc:21