xref: /libCEED/examples/rust-qfunctions/ex1-volume.h (revision d4cc18453651bd0f94c1a2e078b2646a92dafdcc)
1*9ba83ac0SJeremy L Thompson // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
22027fb9dSSirAlienTheGreat // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
32027fb9dSSirAlienTheGreat //
42027fb9dSSirAlienTheGreat // SPDX-License-Identifier: BSD-2-Clause
52027fb9dSSirAlienTheGreat //
62027fb9dSSirAlienTheGreat // This file is part of CEED:  http://github.com/ceed
72027fb9dSSirAlienTheGreat 
82027fb9dSSirAlienTheGreat #include <ceed/types.h>
92027fb9dSSirAlienTheGreat 
102027fb9dSSirAlienTheGreat /// A structure used to pass additional data to f_build_mass
112027fb9dSSirAlienTheGreat struct BuildContext {
122027fb9dSSirAlienTheGreat   CeedInt dim, space_dim;
132027fb9dSSirAlienTheGreat };
142027fb9dSSirAlienTheGreat 
152027fb9dSSirAlienTheGreat // References the rust file for the qfunction named build_mass_rs
162027fb9dSSirAlienTheGreat CEED_QFUNCTION_RUST(build_mass)
172027fb9dSSirAlienTheGreat 
182027fb9dSSirAlienTheGreat // References the rust file for the qfunction named apply_mass_rs
192027fb9dSSirAlienTheGreat CEED_QFUNCTION_RUST(apply_mass)
20