xref: /libCEED/examples/rust-qfunctions/ex1-volume.h (revision 5a526491291e2ef13670ec99232a2cb0069702e5)
1 // Copyright (c) 2017-2025, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
3 //
4 // SPDX-License-Identifier: BSD-2-Clause
5 //
6 // This file is part of CEED:  http://github.com/ceed
7 
8 #include <ceed/types.h>
9 
10 /// A structure used to pass additional data to f_build_mass
11 struct BuildContext {
12   CeedInt dim, space_dim;
13 };
14 
15 // References the rust file for the qfunction named build_mass_rs
16 CEED_QFUNCTION_RUST(build_mass)
17 
18 // References the rust file for the qfunction named apply_mass_rs
19 CEED_QFUNCTION_RUST(apply_mass)
20