Loading [MathJax]/extensions/TeX/newcommand.js
 deal.II version GIT relicensing-2995-gf925de1750 2025-04-02 00:10: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\}}
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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
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 : show_absolute_values(show_absolute_values)
28 , block_size(block_size)
29 , discontinuous(discontinuous)
30{}
31
32
33
34const std::vector<MatrixOut::Patch> &
36{
37 return patches;
38}
39
40
41
42std::vector<std::string>
44{
45 return std::vector<std::string>(1, name);
46}
47
virtual const std::vector< Patch > & get_patches() const override
Definition matrix_out.cc:35
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:43
#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)
Definition matrix_out.cc:24