BaseCoordinates.h
Go to the documentation of this file.
1 // This file is part of the MercuryDPM project (https://www.mercurydpm.org).
2 // Copyright (c), The MercuryDPM Developers Team. All rights reserved.
3 // License: BSD 3-Clause License; see the LICENSE file in the root directory.
4 
5 #ifndef BaseCoordinates_h
6 #define BaseCoordinates_h
7 
8 #include "Math/Vector.h"
9 #ifdef MERCURYDPM_OVERLAP
10 #include "overlap.hpp"
11 #endif
12 
13 namespace CGCoordinates
14 {
15 
22 {
23 public:
24 
25  static Mdouble getDomainVolume(const Vec3D& min, const Vec3D& max);
26 
31  virtual Mdouble getWeight();
32 
33  #ifdef MERCURYDPM_OVERLAP
34  overlap::Hexahedron getMeshElement() const
35  {
36  logger(ERROR, "function getMeshElement not implemented");
37  return overlap::Hexahedron();
38  }
39  #endif
40 
41 };
42 
43 }
44 #endif
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
LL< Log::ERROR > ERROR
Error log level.
Definition: Logger.cc:32
Contains common member functions of the X, Y, and Z classes.
Definition: BaseCoordinates.h:22
virtual Mdouble getWeight()
Definition: BaseCoordinates.cc:14
static Mdouble getDomainVolume(const Vec3D &min, const Vec3D &max)
Definition: BaseCoordinates.cc:9
Definition: Kernel/Math/Vector.h:30
#define min(a, b)
Definition: datatypes.h:22
#define max(a, b)
Definition: datatypes.h:23
The class in this namespace contain the position of a CGPoint, in the non-averaged directions,...
Definition: Base_X_Y_Z.h:21