Note: this is documentation for an old release. View the latest documentation at
docs.fenicsproject.org/dolfinx/v0.9.0/cpp/doxygen/d2/d4f/xdmf__function_8h_source.html
DOLFINx
0.8.0
DOLFINx C++ interface
Loading...
Searching...
No Matches
dolfinx
io
xdmf_function.h
1
// Copyright (C) 2012-2023 Chris N. Richardson and Garth N. Wells
2
//
3
// This file is part of DOLFINx (https://www.fenicsproject.org)
4
//
5
// SPDX-License-Identifier: LGPL-3.0-or-later
6
7
#pragma once
8
9
#include <complex>
10
#include <concepts>
11
#include <dolfinx/common/types.h>
12
#include <hdf5.h>
13
#include <mpi.h>
14
15
namespace
pugi
16
{
17
class
xml_node;
18
}
// namespace pugi
19
20
namespace
dolfinx
21
{
22
namespace
fem
23
{
24
template
<dolfinx::scalar T, std::
float
ing_po
int
U>
25
class
Function;
26
}
27
29
namespace
io::xdmf_function
30
{
31
33
template
<dolfinx::scalar T, std::
float
ing_po
int
U>
34
void
add_function
(MPI_Comm comm,
const
fem::Function<T, U>
& u,
double
t,
35
pugi::xml_node& xml_node,
const
hid_t h5_id);
36
}
// namespace io::xdmf_function
37
}
// namespace dolfinx
dolfinx::fem::Function
Definition
Function.h:45
dolfinx::io::xdmf_function::add_function
void add_function(MPI_Comm comm, const fem::Function< T, U > &u, double t, pugi::xml_node &xml_node, const hid_t h5_id)
Write a fem::Function to XDMF.
Definition
xdmf_function.cpp:46
dolfinx
Top-level namespace.
Definition
defines.h:12
Generated by
1.10.0