adjustment for coupling#1
This commit is contained in:
parent
5287af96eb
commit
371c491d2b
|
@ -57,6 +57,12 @@ protected:
|
||||||
uniquePtr<interaction> interaction_ = nullptr;
|
uniquePtr<interaction> interaction_ = nullptr;
|
||||||
|
|
||||||
|
|
||||||
|
int32 numDomains_;
|
||||||
|
|
||||||
|
VectorDual<box> domains_;
|
||||||
|
|
||||||
|
Vector<int32Vector_H> parIndexInDomain_;
|
||||||
|
|
||||||
|
|
||||||
auto& Control()
|
auto& Control()
|
||||||
{
|
{
|
||||||
|
@ -102,6 +108,11 @@ public:
|
||||||
Control_->g().z()};
|
Control_->g().z()};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool inline usingDoulle()const
|
||||||
|
{
|
||||||
|
return pFlow::usingDouble__;
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -31,9 +31,11 @@ namespace pFlow
|
||||||
#ifdef pFlow_Build_Double
|
#ifdef pFlow_Build_Double
|
||||||
#define useDouble 1
|
#define useDouble 1
|
||||||
inline const char* floatingPointType__ = "double";
|
inline const char* floatingPointType__ = "double";
|
||||||
|
inline const bool usingDouble__ = true;
|
||||||
#else
|
#else
|
||||||
#define useDouble 0
|
#define useDouble 0
|
||||||
inline const char* floatingPointType__ = "float";
|
inline const char* floatingPointType__ = "float";
|
||||||
|
inline const bool usingDouble__ = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue