Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
EntireDomain.h
Go to the documentation of this file.
1/* This file is part of MoDELib, the Mechanics Of Defects Evolution Library.
2 *
3 *
4 * MoDELib is distributed without any warranty under the
5 * GNU General Public License (GPL) v2 <http://www.gnu.org/licenses/>.
6 */
7
8#ifndef model_EntireDomain_H_
9#define model_EntireDomain_H_
10
11//#include <deque>
12//#include <utility> // std::pair, std::make_pair
13//#include <Eigen/Dense>
14//#include <Simplex.h>
15#include <IntegrationDomain.h>
16
17namespace model
18{
19
20
21 /**************************************************************************/
22 /**************************************************************************/
24 {
25
26 template <typename FiniteElementType, int qOrder, template <short unsigned int, size_t> class QuadratureRule>
28 {
30
31 for (const auto& ele : fe.elements())
32 {
33 temp.emplace_back(&ele.second);
34 }
35
36 temp.bind(fe);
37 return temp;
38 }
39
40 };
41
42} // close namespace
43#endif
static IntegrationDomain< FiniteElementType, 0, qOrder, QuadratureRule > domain(const FiniteElementType &fe)
vertex temp