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.5.1
DOLFINx C++ interface
xdmf_function.h
1 // Copyright (C) 2012-2018 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 <hdf5.h>
11 #include <mpi.h>
12 
13 namespace pugi
14 {
15 class xml_node;
16 } // namespace pugi
17 
18 namespace dolfinx
19 {
20 namespace fem
21 {
22 template <typename T>
23 class Function;
24 }
25 
26 namespace io
27 {
29 namespace xdmf_function
30 {
31 
33 void add_function(MPI_Comm comm, const fem::Function<double>& u, const double t,
34  pugi::xml_node& xml_node, const hid_t h5_id);
35 
37 void add_function(MPI_Comm comm, const fem::Function<std::complex<double>>& u,
38  const double t, pugi::xml_node& xml_node, const hid_t h5_id);
39 
40 } // namespace xdmf_function
41 } // namespace io
42 } // namespace dolfinx
This class represents a function in a finite element function space , given by.
Definition: Function.h:45
void add_function(MPI_Comm comm, const fem::Function< double > &u, const double t, pugi::xml_node &xml_node, const hid_t h5_id)
TODO.
Definition: xdmf_function.cpp:183