Loading...
Searching...
No Matches
geo_domain_indirect.cc
Go to the documentation of this file.
#include "rheolef/geo_domain_indirect.h"
namespace rheolef {
// ========================================================================
// cstors
// ========================================================================
// duplicate cases for seq & dis classes:
#define _RHEOLEF_geo_domain_cstor(M) \
template <class T> \
geo_domain_indirect_rep<T,M>::geo_domain_indirect_rep() \
: base() \
{ \
} \
template <class T> \
geo_domain_indirect_rep<T,M>::geo_domain_indirect_rep ( \
const geo_domain_indirect_rep<T,M>& x) \
: base(x) \
{ \
trace_macro ("*** PHYSICAL COPY OF GEO_DOMAIN_INDIRECT \""<<base::name()<<"\" ***"); \
} \
template <class T> \
geo_abstract_rep<T,M>* \
geo_domain_indirect_rep<T,M>::clone() const \
{ \
trace_macro ("*** CLONE GEO_DOMAIN_INDIRECT \""<<base::name()<<"\"***"); \
typedef geo_domain_indirect_rep<T,M> rep; \
return new_macro(rep(*this)); \
} \
template <class T> \
geo_domain_indirect_rep<T,M>::geo_domain_indirect_rep ( \
const domain_indirect_basic<M>& indirect, \
const geo_basic<T,M>& omega) \
: base(indirect,omega) \
{ \
}
_RHEOLEF_geo_domain_cstor(sequential)
#ifdef _RHEOLEF_HAVE_MPI
_RHEOLEF_geo_domain_cstor(distributed)
#endif // _RHEOLEF_HAVE_MPI
#undef _RHEOLEF_geo_domain_cstor
// ----------------------------------------------------------------------------
// instanciation in library
// ----------------------------------------------------------------------------
#define _RHEOLEF_instanciation(T,M) \
template class geo_domain_indirect_rep<T,M>;
_RHEOLEF_instanciation(Float,sequential)
#ifdef _RHEOLEF_HAVE_MPI
_RHEOLEF_instanciation(Float,distributed)
#endif // _RHEOLEF_HAVE_MPI
} // 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