DOLFIN-X
DOLFIN-X 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 <hdf5.h>
10 #include <mpi.h>
11 #include <petscsys.h>
12 
13 namespace pugi
14 {
15 class xml_node;
16 } // namespace pugi
17 
18 namespace dolfinx
19 {
20 namespace function
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 function::Function<PetscScalar>& u,
34  const double t, pugi::xml_node& xml_node, const hid_t h5_id);
35 
36 } // namespace xdmf_function
37 } // namespace io
38 } // namespace dolfinx
dolfinx::io::xdmf_function::add_function
void add_function(MPI_Comm comm, const function::Function< PetscScalar > &u, const double t, pugi::xml_node &xml_node, const hid_t h5_id)
TODO.
Definition: xdmf_function.cpp:79
dolfinx::function::Function
This class represents a function in a finite element function space , given by.
Definition: Function.h:42