include/dolfinx_access/minmax_p2.h

Sun, 04 Oct 2026 16:30:24 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 04 Oct 2026 16:30:24 -0500
changeset 13
2cb7f20654e6
parent 12
a0d61ac3719e
permissions
-rw-r--r--

Add perturbation statistics experiment generation and processing scripts

#pragma once
#include "nanobind_helpers.h"

namespace dolfinx_access {
    struct CoordValuePair;

    extern CoordValuePair min_Function_f64_p2(Function_f64 const* f);
    extern CoordValuePair max_Function_f64_p2(Function_f64 const* f);
    extern CoordValuePair minmax_Function_f64_p2(Function_f64 const* f, bool max);

    void cell_dofs_Function_f64_p2(Function<double> const* f, int32_t cell,
                                   std::array<double, 18>& x, std::array<double, 6>& vals);

} // namespace dolfinx_access

// extern "C" PyObject* PyInit_dolfinx_access();

mercurial