v0.13.1
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 */
25
27 int verb = 0);
28
30
32
34
35protected:
36
38 std::string fieldName;
40
46
47};
48
50
51
52 ProjectionFieldOn10NodeTet(Interface &m_field, std::string _fieldName,
53 bool set_nodes, bool on_coords,
54 std::string on_tag = "NoNE");
55
57
59
60
63 std::string onTag;
64
66
67 Tag th;
68
69protected:
70
71 Field_multiIndex::index<FieldName_mi_tag>::type::iterator field_it;
74
75};
76
77} // namespace MoFEM
78
79#endif // __PROJECTION10NODECOORDSONFIELD_HPP__
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
Definition: Exceptions.hpp:56
VectorBoundedArray< double, 3 > VectorDouble3
Definition: Types.hpp:92
implementation of Data Operators for Forces and Sources
Definition: MoFEM.hpp:24
constexpr auto field_name
Deprecated interface functions.
Data structure to exchange data between mofem and User Loop Methods on entities.
Projection of edge entities with one mid-node on hierarchical basis.
MoFEMErrorCode postProcess()
function is run at the end of loop
MoFEMErrorCode operator()()
function is run for every finite element
Projection10NodeCoordsOnField(Interface &m_field, std::string field_name, int verb=0)
MoFEMErrorCode preProcess()
function is run at the beginning of loop
MoFEMErrorCode preProcess()
function is run at the beginning of loop
ProjectionFieldOn10NodeTet(Interface &m_field, std::string _fieldName, bool set_nodes, bool on_coords, std::string on_tag="NoNE")
MoFEMErrorCode operator()()
function is run for every finite element
Field_multiIndex::index< FieldName_mi_tag >::type::iterator field_it