BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
fn_create_database_mesh.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, through
4 * 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_CREATE_DATABASE_MESH_HPP
13#define BELFEM_FN_CREATE_DATABASE_MESH_HPP
14
15#include "constants.hpp"
16#include "cl_Mesh.hpp"
17
18namespace belfem
19{
20 inline Mesh * create_database_mesh( const uint aOrder=2 )
21 {
22 return new Mesh( aOrder, { 95, 35, 37 },
23 { 4.0, 0.1, 5 * constant::deg }, { 0.0, -2, 0.0 } );
24 }
25}
26#endif //BELFEM_FN_CREATE_DATABASE_MESH_HPP
Top-level container for all mesh entities.
Definition cl_Mesh.hpp:60
Mesh(const uint aNumberOfDimensions, const proc_t aMasterProc=0, const bool aComputeConnectivities=true)
creates an empty mesh container but specifies number of dimension
Definition cl_Mesh.cpp:87
const real deg
degree
Definition constants.hpp:55
USER GUIDES:
Definition cl_Capacitor.cpp:16
unsigned int uint
Definition typedefs.hpp:30
Mesh * create_database_mesh(const uint aOrder=2)
Definition fn_create_database_mesh.hpp:20