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 
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 
72 #ifdef _RHEOLEF_HAVE_MPI
73 _RHEOLEF_instanciation(Float,distributed)
74 #endif // _RHEOLEF_HAVE_MPI
75 
76 } // namespace rheolef
see the Float page for the full documentation
This file is part of Rheolef.
_RHEOLEF_instanciation(Float) _RHEOLEF_instanciation_evaluate(Float
_RHEOLEF_geo_domain_cstor(sequential) _RHEOLEF_instanciation(Float