v0.15.5
Loading...
Searching...
No Matches
Projection10NodeCoordsOnField.hpp
Go to the documentation of this file.
1/** \file Projection10NodeCoordsOnField.hpp
2
3FIXME: Move code to cpp file.
4
5Project displacements/coordinates from 10 node tetrahedra on hierarchical
6approximation base.
7
8This is example how to use MoFEM::DofMethod when some operator for each node
9need to be applied.
10
11*/
12
13
14
15#ifndef __PROJECTION10NODECOORDSONFIELD_HPP__
16#define __PROJECTION10NODECOORDSONFIELD_HPP__
17
18using namespace boost::numeric;
19
20namespace MoFEM {
21
22/** \brief Projection of edge entities with one mid-node on hierarchical basis
23 */
48
49/** \brief Project edge mid-nodes onto a fine surface mesh using closest points
50 */
52
54 moab::Interface &fine_moab,
55 const Range &fine_tris,
56 std::string field_name,
57 double planar_angle_deg = 5.0,
58 double max_disp_factor = 0.5,
59 bool debug_surfaces = false,
60 int verb = 0);
61
63
65
67
68protected:
72 moab::Interface &fineMoab;
74 std::string fieldName;
76
77 AdaptiveKDTree fineTree;
79 AdaptiveKDTree fineFeatureTree;
87
93};
94
96
97
98 ProjectionFieldOn10NodeTet(Interface &m_field, std::string _fieldName,
99 bool set_nodes, bool on_coords,
100 std::string on_tag = "NoNE");
101
103
105
106
109 std::string onTag;
110
112
114
115protected:
116
117 Field_multiIndex::index<FieldName_mi_tag>::type::iterator field_it;
120
121};
122
123} // namespace MoFEM
124
125#endif // __PROJECTION10NODECOORDSONFIELD_HPP__
FTensor::Index< 'i', SPACE_DIM > i
FTensor::Index< 'j', 3 > j
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
VectorBoundedArray< double, 3 > VectorDouble3
Definition Types.hpp:92
implementation of Data Operators for Forces and Sources
Definition Common.hpp:10
constexpr auto field_name
Deprecated interface functions.
Data structure for user loop methods on degrees of freedom (DOFs)
Data structure for user loop methods on entities.
Project edge mid-nodes onto a fine surface mesh using closest points.
MoFEMErrorCode postProcess()
Post-processing function executed at loop completion.
MoFEMErrorCode operator()()
Main operator function executed for each loop iteration.
MoFEMErrorCode preProcess()
Pre-processing function executed at loop initialization.
Projection of edge entities with one mid-node on hierarchical basis.
MoFEMErrorCode postProcess()
Post-processing function executed at loop completion.
MoFEMErrorCode operator()()
Main operator function executed for each loop iteration.
MoFEMErrorCode preProcess()
Pre-processing function executed at loop initialization.
MoFEMErrorCode preProcess()
Pre-processing function executed at loop initialization.
MoFEMErrorCode operator()()
Main operator function executed for each loop iteration.
Field_multiIndex::index< FieldName_mi_tag >::type::iterator field_it