Reference documentation for deal.II version 9.2.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
matrix_out.cc
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2001 - 2018 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.md at
12 // the top level directory of deal.II.
13 //
14 // ---------------------------------------------------------------------
15 
16 #include <deal.II/lac/matrix_out.h>
17 
19 
20 
21 MatrixOut::Options::Options(const bool show_absolute_values,
22  const unsigned int block_size,
23  const bool discontinuous)
24  : show_absolute_values(show_absolute_values)
25  , block_size(block_size)
26  , discontinuous(discontinuous)
27 {}
28 
29 
30 
31 const std::vector<MatrixOut::Patch> &
33 {
34  return patches;
35 }
36 
37 
38 
39 std::vector<std::string>
41 {
42  return std::vector<std::string>(1, name);
43 }
44 
virtual std::vector< std::string > get_dataset_names() const override
Definition: matrix_out.cc:40
std::vector< Patch > patches
Definition: matrix_out.h:157
constexpr int block_size
Definition: cuda_size.h:29
std::string name
Definition: matrix_out.h:162
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
Options(const bool show_absolute_values=false, const unsigned int block_size=1, const bool discontinuous=false)
Definition: matrix_out.cc:21
virtual const std::vector< Patch > & get_patches() const override
Definition: matrix_out.cc:32