deal.II version GIT relicensing-6842-g793a97d2aa 2026-10-02 14:00:01+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: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
4// Copyright (C) 2001 - 2026 by the deal.II authors
5//
6// This file is part of the deal.II library.
7//
8// Detailed license information governing the source code and contributions
9// can be found in LICENSE.md and CONTRIBUTING.md at the top level directory.
10//
11// -----------------------------------------------------------------------------
12
13#include <deal.II/base/config.h>
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:212
std::string name
Definition matrix_out.h:217
virtual std::vector< std::string > get_dataset_names() const override
Definition matrix_out.cc:45
#define DEAL_II_NAMESPACE_OPEN
Definition config.h:38
#define DEAL_II_NAMESPACE_CLOSE
Definition config.h:39
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