v0.13.2
Loading...
Searching...
No Matches
Natural.hpp
Go to the documentation of this file.
1/**
2 * @file Natural.hpp
3 * @brief Setting natural boundary conditions
4 * @version 0.13.1
5 * @date 2022-08-12
6 *
7 * @copyright Copyright (c) 2022a
8 *
9 */
10
11#ifndef _NATURAL_BC_
12#define _NATURAL_BC_
13
14namespace MoFEM {
15
16/**
17 * @brief Vector of time scaling methods
18 *
19 */
20using VecOfTimeScalingMethods = std::vector<boost::shared_ptr<ScalingMethod>>;
21
22/**
23 * @brief Wrapper to generate natural b.c. specialisation based on operator type
24 *
25 * @tparam OP
26 */
27template <typename OP> struct FluxOpType {};
28
29template <typename T, int BASE_DIM, int FIELD_DIM, AssemblyType A,
30 IntegrationType I, typename OpBase>
32
33template <typename T, int BASE_DIM, int FIELD_DIM, AssemblyType A,
34 IntegrationType I, typename OpBase>
36
37template <typename T, AssemblyType A, IntegrationType I, typename OpBase>
39
40template <typename T, AssemblyType A, IntegrationType I, typename OpBase>
42
43/**
44 * @brief Natural boundary conditions
45 * @ingroup mofem_forms
46 *
47 * @tparam EleOp
48 */
49template <typename EleOp> struct NaturalBC {
50
51 /**
52 * @brief Assembly methods
53 * @ingroup mofem_forms
54 *
55 * @tparam A
56 */
57 template <AssemblyType A> struct Assembly {
58
59 template <IntegrationType I> struct LinearForm {
60 template <typename T, int BASE_DIM, int FIELD_DIM>
62 template <typename T>
64 };
65
66 template <IntegrationType I> struct BiLinearForm {
67
68 template <typename T, int BASE_DIM, int FIELD_DIM>
70 template <typename T>
72 };
73
74 }; // Assembly
75};
76
77} // namespace MoFEM
78
79#endif //_NATURAL_BC_
constexpr int FIELD_DIM
IntegrationType
Form integrator integration types.
AssemblyType
[Storage and set boundary conditions]
constexpr int BASE_DIM
const double T
implementation of Data Operators for Forces and Sources
Definition: Common.hpp:10
std::vector< boost::shared_ptr< ScalingMethod > > VecOfTimeScalingMethods
Vector of time scaling methods.
Definition: Natural.hpp:20
constexpr IntegrationType I
constexpr AssemblyType A
Wrapper to generate natural b.c. specialisation based on operator type.
Definition: Natural.hpp:27
Assembly methods.
Definition: Natural.hpp:57
Natural boundary conditions.
Definition: Natural.hpp:49