Loading...
Searching...
No Matches
xdmf_function.h
// Copyright (C) 2012-2023 Chris N. Richardson and Garth N. Wells
//
// This file is part of DOLFINx (https://www.fenicsproject.org)
//
// SPDX-License-Identifier: LGPL-3.0-or-later
#pragma once
#include <complex>
#include <concepts>
#include <dolfinx/common/types.h>
#include <hdf5.h>
#include <mpi.h>
namespace pugi
{
class xml_node;
} // namespace pugi
namespace dolfinx
{
namespace fem
{
template <dolfinx::scalar T, std::floating_point U>
class Function;
}
namespace io::xdmf_function
{
template <dolfinx::scalar T, std::floating_point U>
void add_function(MPI_Comm comm, const fem::Function<T, U>& u, double t,
pugi::xml_node& xml_node, const hid_t h5_id);
} // namespace io::xdmf_function
} // namespace dolfinx
dolfinx::fem::Function
Definition Function.h:47
dolfinx::fem
Finite element method functionality.
Definition assemble_expression_impl.h:23
dolfinx::io::xdmf_function
Low-level methods for reading/writing XDMF files.
Definition xdmf_function.h:30
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:48
dolfinx
Top-level namespace.
Definition defines.h:12