Reference documentation for deal.II version 9.0.0
matrix_out.cc
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2001 - 2017 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 
32 const std::vector<MatrixOut::Patch> &
34 {
35  return patches;
36 }
37 
38 
39 
40 std::vector<std::string>
42 {
43  return std::vector<std::string>(1,name);
44 }
45 
46 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:33
std::string name
Definition: matrix_out.h:159
virtual std::vector< std::string > get_dataset_names() const
Definition: matrix_out.cc:41
Options(const bool show_absolute_values=false, const unsigned int block_size=1, const bool discontinuous=false)
Definition: matrix_out.cc:21