v0.14.0
Loading...
Searching...
No Matches
VertexElementForcesAndSourcesCore.hpp
Go to the documentation of this file.
1/** \file ForcesAndSourcesCore.hpp
2
3 \brief Implementation of elements on entities.
4
5 Those element are inherited by user to implement specific implementation of
6 particular problem.
7
8*/
9
10
11
12#ifndef __VERTEXELEMENTFORCESANDSOURCESCORE_HPP__
13#define __VERTEXELEMENTFORCESANDSOURCESCORE_HPP__
14
15using namespace boost::numeric;
16
17namespace MoFEM {
18
19/** \brief Vertex finite element
20 * \ingroup mofem_forces_and_sources_vertex_element
21
22 User is implementing own operator at Gauss points level, by own object
23 derived from VertexElementForcesAndSourcesCoreL::UserDataOperator. Arbitrary
24 number of operator added pushing objects to rowOpPtrVector and
25 rowColOpPtrVector.
26
27 */
29
31
33
34 /** \brief default operator for VERTEX element
35 \ingroup mofem_forces_and_sources_vertex_element
36 */
38
39 using ForcesAndSourcesCore::UserDataOperator::UserDataOperator;
40
41
42 inline VectorDouble3 &getCoords();
43
44 protected:
46
47 };
48
50
51protected:
53 friend class UserDataOperator;
54};
55
57VertexElementForcesAndSourcesCore::UserDataOperator::getCoords() {
58 return static_cast<VertexElementForcesAndSourcesCore *>(ptrFE)->coords;
59}
60
61} // namespace MoFEM
62
63#endif //__VERTEXELEMENTFORCESANDSOURCESCORE_HPP__
64
65/**
66 * \defgroup mofem_forces_and_sources_vertex_element Vertex Element
67 * \brief Finite element and operators for vertex entity
68 *
69 * \ingroup mofem_forces_and_sources
70 **/
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: Common.hpp:10
Deprecated interface functions.
structure to get information form mofem into EntitiesFieldData
MoFEMErrorCode operator()()
function is run for every finite element