Reference documentation for deal.II version GIT relicensing-12-g89ba5bf9db 2024-02-24 00:00:03+00:00
\(\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\}}\)
Loading...
Searching...
No Matches
matrix_out.cc
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4// Copyright (C) 2001 - 2018 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Part of the source code is dual licensed under Apache-2.0 WITH
9// LLVM-exception OR LGPL-2.1-or-later. Detailed license information
10// governing the source code and code contributions can be found in
11// LICENSE.md and CONTRIBUTING.md at the top level directory of deal.II.
12//
13// ------------------------------------------------------------------------
14
16
18
19
20MatrixOut::Options::Options(const bool show_absolute_values,
21 const unsigned int block_size,
22 const bool discontinuous)
23 : show_absolute_values(show_absolute_values)
24 , block_size(block_size)
25 , discontinuous(discontinuous)
26{}
27
28
29
30const std::vector<MatrixOut::Patch> &
32{
33 return patches;
34}
35
36
37
38std::vector<std::string>
40{
41 return std::vector<std::string>(1, name);
42}
43
virtual const std::vector< Patch > & get_patches() const override
Definition matrix_out.cc:31
std::vector< Patch > patches
Definition matrix_out.h:155
std::string name
Definition matrix_out.h:160
virtual std::vector< std::string > get_dataset_names() const override
Definition matrix_out.cc:39
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:502
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:503
Options(const bool show_absolute_values=false, const unsigned int block_size=1, const bool discontinuous=false)
Definition matrix_out.cc:20