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
24namespace rheolef {
25
26// ========================================================================
27// cstors
28// ========================================================================
29// duplicate cases for seq & dis classes:
30#define _RHEOLEF_geo_domain_cstor(M) \
31template <class T> \
32geo_domain_indirect_rep<T,M>::geo_domain_indirect_rep() \
33 : base() \
34{ \
35} \
36template <class T> \
37geo_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} \
43template <class T> \
44geo_abstract_rep<T,M>* \
45geo_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} \
51template <class T> \
52geo_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
60#ifdef _RHEOLEF_HAVE_MPI
62#endif // _RHEOLEF_HAVE_MPI
63#undef _RHEOLEF_geo_domain_cstor
64
65// ----------------------------------------------------------------------------
66// instanciation in library
67// ----------------------------------------------------------------------------
68#define _RHEOLEF_instanciation(T,M) \
69template class geo_domain_indirect_rep<T,M>;
70
72#ifdef _RHEOLEF_HAVE_MPI
74#endif // _RHEOLEF_HAVE_MPI
75
76} // namespace rheolef
#define _RHEOLEF_instanciation(T, M, A)
Definition asr.cc:223
see the Float page for the full documentation
#define _RHEOLEF_geo_domain_cstor(M)
This file is part of Rheolef.