Rheolef
7.1
an efficient C++ finite element environment
geo_domain_indirect.cc
Go to the documentation of this file.
1
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::_RHEOLEF_geo_domain_cstor
_RHEOLEF_geo_domain_cstor(sequential) _RHEOLEF_geo_domain_cstor(distributed) _RHEOLEF_instanciation(Float
rheolef::_RHEOLEF_instanciation
_RHEOLEF_instanciation(Float, sequential, std::allocator< Float >) _RHEOLEF_instanciation(Float
rheolef
This file is part of Rheolef.
Definition:
compiler_eigen.h:37
Float
see the Float page for the full documentation
rheolef::distributed
distributed
Definition:
asr.cc:228