deal.II version GIT relicensing-3689-g8ed7910be7 2025-07-08 08:50:00+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 - 2025 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
17#include <string>
18#include <vector>
19
20
22
23
24MatrixOut::Options::Options(const bool show_absolute_values,
25 const unsigned int block_size,
26 const bool discontinuous,
27 const bool create_sparse_plot)
28 : show_absolute_values(show_absolute_values)
29 , block_size(block_size)
30 , discontinuous(discontinuous)
31 , create_sparse_plot(create_sparse_plot)
32{}
33
34
35
36const std::vector<MatrixOut::Patch> &
38{
39 return patches;
40}
41
42
43
44std::vector<std::string>
46{
47 return std::vector<std::string>(1, name);
48}
49
virtual const std::vector< Patch > & get_patches() const override
Definition matrix_out.cc:37
std::vector< Patch > patches
Definition matrix_out.h:198
std::string name
Definition matrix_out.h:203
virtual std::vector< std::string > get_dataset_names() const override
Definition matrix_out.cc:45
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:35
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:36
Options(const bool show_absolute_values=false, const unsigned int block_size=1, const bool discontinuous=false, const bool create_sparse_plot=true)
Definition matrix_out.cc:24