Rheolef
7.2
an efficient C++ finite element environment
Loading...
Searching...
No Matches
geo_domain_indirect.cc
Go to the documentation of this file.
1
21
22
#include "rheolef/geo_domain_indirect.h"
23
24
namespace
rheolef
{
25
26
// ========================================================================
27
// cstors
28
// ========================================================================
29
// duplicate cases for seq & dis classes:
30
#define _RHEOLEF_geo_domain_cstor(M) \
31
template <class T> \
32
geo_domain_indirect_rep<T,M>::geo_domain_indirect_rep() \
33
: base() \
34
{ \
35
} \
36
template <class T> \
37
geo_domain_indirect_rep<T,M>::geo_domain_indirect_rep ( \
38
const geo_domain_indirect_rep<T,M>& x) \
39
: base(x) \
40
{ \
41
trace_macro ("*** PHYSICAL COPY OF GEO_DOMAIN_INDIRECT \""<<base::name()<<"\" ***"); \
42
} \
43
template <class T> \
44
geo_abstract_rep<T,M>* \
45
geo_domain_indirect_rep<T,M>::clone() const \
46
{ \
47
trace_macro ("*** CLONE GEO_DOMAIN_INDIRECT \""<<base::name()<<"\"***"); \
48
typedef geo_domain_indirect_rep<T,M> rep; \
49
return new_macro(rep(*this)); \
50
} \
51
template <class T> \
52
geo_domain_indirect_rep<T,M>::geo_domain_indirect_rep ( \
53
const domain_indirect_basic<M>& indirect, \
54
const geo_basic<T,M>& omega) \
55
: base(indirect,omega) \
56
{ \
57
}
58
59
_RHEOLEF_geo_domain_cstor
(
sequential
)
60
#ifdef _RHEOLEF_HAVE_MPI
61
_RHEOLEF_geo_domain_cstor
(
distributed
)
62
#endif
// _RHEOLEF_HAVE_MPI
63
#undef _RHEOLEF_geo_domain_cstor
64
65
// ----------------------------------------------------------------------------
66
// instanciation in library
67
// ----------------------------------------------------------------------------
68
#define _RHEOLEF_instanciation(T,M) \
69
template class geo_domain_indirect_rep<T,M>;
70
71
_RHEOLEF_instanciation
(
Float
,
sequential
)
72
#ifdef _RHEOLEF_HAVE_MPI
73
_RHEOLEF_instanciation
(
Float
,
distributed
)
74
#endif
// _RHEOLEF_HAVE_MPI
75
76
}
// namespace rheolef
_RHEOLEF_instanciation
#define _RHEOLEF_instanciation(T, M, A)
Definition
asr.cc:223
Float
see the Float page for the full documentation
_RHEOLEF_geo_domain_cstor
#define _RHEOLEF_geo_domain_cstor(M)
Definition
geo_domain_indirect.cc:30
rheolef
This file is part of Rheolef.
Definition
compiler_eigen.h:39
rheolef::distributed
Definition
communicator.h:128
rheolef::sequential
Definition
communicator.h:62