BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
fn_Mesh_compute_surface_normals.hpp
Go to the documentation of this file.
1//
2// Created by Christian Messe on 14.06.20.
3//
4#include "typedefs.hpp"
5#include "cl_Cell.hpp"
6#include "cl_Vector.hpp"
7#include "cl_Mesh.hpp"
8#include "Mesh_Enums.hpp"
9
10#ifndef BELFEM_FN_MESH_COMPUTE_SURFACE_NORMALS_HPP
11#define BELFEM_FN_MESH_COMPUTE_SURFACE_NORMALS_HPP
12
13namespace belfem
14{
15 namespace mesh
16 {
17//------------------------------------------------------------------------------
18
19 void
21 Mesh * aMesh,
22 const Vector< id_t > & aGroupIDs,
23 const GroupType aGroupType=GroupType::SIDESET,
24 const bool aComputeInParallel=true
25 );
26
27//------------------------------------------------------------------------------
28
29 namespace normals
30 {
31//------------------------------------------------------------------------------
32
33 void
35 Mesh * aMesh,
36 const Vector< id_t > & aGroupIDs,
37 const GroupType aGroupType
38 );
39
40//------------------------------------------------------------------------------
41 void
43 Mesh * aMesh,
44 const Vector< id_t > & aGroupIDs,
45 const GroupType aGroupType
46 );
47
48//------------------------------------------------------------------------------
49
50 void
51 create_normal_fields( Mesh * aMesh );
52
53//------------------------------------------------------------------------------
54
55 void
57 Mesh * aMesh,
58 const id_t aGroupID,
59 const GroupType aGroupType,
60 Cell< Element * > & aElements );
61
62//------------------------------------------------------------------------------
63
64 void
65 send_surface_normals_2d( Mesh * aMesh ) ;
66
67//------------------------------------------------------------------------------
68
69 void
70 send_surface_normals_3d( Mesh * aMesh ) ;
71
72//------------------------------------------------------------------------------
73
74 void
75 receive_surface_normals_2d( Mesh * aMesh,
76 const Vector< id_t > & aGroupIDs,
77 const GroupType aGroupType ) ;
78
79//------------------------------------------------------------------------------
80
81 void
82 receive_surface_normals_3d( Mesh * aMesh,
83 const Vector< id_t > & aGroupIDs,
84 const GroupType aGroupType ) ;
85
86//------------------------------------------------------------------------------
87
88 void
89 get_node_ids( Mesh * aMesh,
90 const Vector< id_t > & aGroupIDs,
91 const GroupType aGroupType,
92 Vector< id_t > & aNodeIDs);
93
94//------------------------------------------------------------------------------
95 }
96
97//------------------------------------------------------------------------------
98 }
99}
100#endif //BELFEM_FN_MESH_COMPUTE_SURFACE_NORMALS_HPP
Definition fn_Mesh_compute_surface_normals.cpp:106
void get_node_ids(Mesh *aMesh, const Vector< id_t > &aGroupIDs, const GroupType aGroupType, Vector< id_t > &aNodeIDs)
Definition fn_Mesh_compute_surface_normals.cpp:820
void compute_surface_normals_3d(Mesh *aMesh, const Vector< id_t > &aGroupIDs, const GroupType aGroupType)
Definition fn_Mesh_compute_surface_normals.cpp:337
void receive_surface_normals_2d(Mesh *aMesh, const Vector< id_t > &aGroupIDs, const GroupType aGroupType)
Definition fn_Mesh_compute_surface_normals.cpp:711
void send_surface_normals_2d(Mesh *aMesh)
Definition fn_Mesh_compute_surface_normals.cpp:579
void receive_surface_normals_3d(Mesh *aMesh, const Vector< id_t > &aGroupIDs, const GroupType aGroupType)
Definition fn_Mesh_compute_surface_normals.cpp:762
void collect_elements(Mesh *aMesh, const id_t aGroupID, const GroupType aGroupType, Cell< Element * > &aElements)
Definition fn_Mesh_compute_surface_normals.cpp:503
void compute_surface_normals_2d(Mesh *aMesh, const Vector< id_t > &aGroupIDs, const GroupType aGroupType)
Definition fn_Mesh_compute_surface_normals.cpp:110
void create_normal_fields(Mesh *aMesh)
Definition fn_Mesh_compute_surface_normals.cpp:483
void send_surface_normals_3d(Mesh *aMesh)
Definition fn_Mesh_compute_surface_normals.cpp:636
Definition cl_EF_EdgeFunction.hpp:17
void compute_surface_normals(Mesh *aMesh, const Vector< id_t > &aGroupIDs, const GroupType aGroupType, const bool aComputeInParallel)
Definition fn_Mesh_compute_surface_normals.cpp:32
USER GUIDES:
Definition cl_Capacitor.cpp:16
unsigned int id_t
Definition typedefs.hpp:41
GroupType
Definition Mesh_Enums.hpp:130
@ SIDESET
Definition Mesh_Enums.hpp:132