BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
fn_Mesh_ratio.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_RATIO_HPP
13#define BELFEM_FN_MESH_RATIO_HPP
14
15#include "typedefs.hpp"
16#include "cl_Vector.hpp"
17namespace belfem
18{
19//------------------------------------------------------------------------------
20
21 void
23 const real & aDeltaX0,
24 const real & aLength,
25 const index_t & aNumCells,
26 Vector< real > & aX );
27
28//------------------------------------------------------------------------------
29
30 void
31 ratio_adx2( const real & aRatio,
32 const real & aLength,
33 const index_t & aNumCells,
34 Vector< real > & aX );
35
36//------------------------------------------------------------------------------
37
38 // test function for ratio_ar2
39 real
40 _check_ratio( const real & aDeltaX0,
41 const real & aLength,
42 const index_t & aNumCells,
43 const real & aRatio );
44
45//------------------------------------------------------------------------------
46
47}
48
49#endif //BELFEM_FN_MESH_RATIO_HPP
USER GUIDES:
Definition cl_Capacitor.cpp:16
real _check_ratio(const real &aDeltaX0, const real &aLength, const index_t &aNumCells, const real &aRatio)
Definition fn_Mesh_ratio.cpp:113
void ratio_adx2(const real &aRatio, const real &aLength, const index_t &aNumCells, Vector< real > &aX)
Definition fn_Mesh_ratio.cpp:76
uint32_t index_t
Definition typedefs.hpp:52
double real
Definition typedefs.hpp:36
void ratio_ar2(const real &aDeltaX0, const real &aLength, const index_t &aNumCells, Vector< real > &aX)
Definition fn_Mesh_ratio.cpp:19