40 #include "rheolef/geo.h"
44 static std::string zero_full_name() {
46 if (
file_exists (full_name +
".geo"))
return full_name;
49 if (
file_exists (full_name +
".geo"))
return full_name;
53 #define _RHEOLEF_zero_dimension(M) \
55 geo_basic<T,M>::geo_basic ( \
56 details::zero_dimension, \
57 const communicator& comm) \
60 bool prev_verbose = iorheo::getverbose(std::clog); \
61 std::clog << noverbose; \
62 base::operator= (geo_load<T,M>(zero_full_name())); \
63 if (prev_verbose) std::clog << verbose; \
66 #ifdef _RHEOLEF_HAVE_MPI
69 #undef _RHEOLEF_zero_dimension
73 #define _RHEOLEF_instanciation(T,M) \
75 geo_basic<T,M>::geo_basic ( \
76 details::zero_dimension, \
77 const communicator& comm);
80 #ifdef _RHEOLEF_HAVE_MPI
83 #undef _RHEOLEF_instanciation
see the Float page for the full documentation
#define _RHEOLEF_PKGDATADIR
#define _RHEOLEF_ABS_TOP_SRCDIR
#define fatal_macro(message)
This file is part of Rheolef.
_RHEOLEF_zero_dimension(sequential) _RHEOLEF_zero_dimension(distributed) _RHEOLEF_instanciation(Float
_RHEOLEF_instanciation(Float, sequential, std::allocator< Float >) _RHEOLEF_instanciation(Float
bool file_exists(const std::string &filename)
file_exists: see the rheostream page for the full documentation