BELFEM 0.9.3
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
fn_Mesh_compute_volume.hpp
Go to the documentation of this file.
1/*
2 * BELFEM -- The Berkeley Lab Finite Element Framework
3 * Copyright (c) 2026, The Regents of the University of California,
4 * through Lawrence Berkeley National Laboratory (subject to receipt of any required
5 * approvals from the U.S. Dept. of Energy). All rights reserved.
6 *
7 * Developers: Christian Messe, Gregory Giard
8 *
9 * See the top-level LICENSE file for the complete license and disclaimer.
10 */
11
12#ifndef BELFEM_FN_MESH_COMPUTE_VOLUME_HPP
13#define BELFEM_FN_MESH_COMPUTE_VOLUME_HPP
14#include "typedefs.hpp"
15#include "cl_Vector.hpp"
16#include "cl_Mesh.hpp"
17namespace belfem
18{
19 namespace mesh
20 {
21//------------------------------------------------------------------------------
22
26 real
27 compute_volume( Mesh * aMesh, const id_t aBlockIDs );
28
29//------------------------------------------------------------------------------
30
31 real
32 compute_volume( Mesh * aMesh, const Vector< id_t > & aBlockIDs );
33
34//------------------------------------------------------------------------------
35 }
36}
37#endif //BELFEM_FN_MESH_COMPUTE_VOLUME_HPP
Definition cl_EF_EdgeFunction.hpp:24
real compute_volume(Mesh *aMesh, const id_t aBlockID)
Collective: every rank contributes its owned elements and every rank returns the total.
Definition fn_Mesh_compute_volume.cpp:30
USER GUIDES:
Definition cl_Capacitor.cpp:16
unsigned int id_t
Definition typedefs.hpp:41
double real
Definition typedefs.hpp:36