Changeset dfed1c for src/base/defs.hpp
- Timestamp:
- Nov 22, 2011, 9:22:10 PM (14 years ago)
- Children:
- facba0
- Parents:
- 66f24d
- File:
-
- 1 edited
-
src/base/defs.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/base/defs.hpp
r66f24d rdfed1c 36 36 Periodic, 37 37 Dirichlet, 38 Quasiperiodic 38 Open 39 }; 40 41 class Boundary 42 { 43 public: 44 Boundary(const BC& boundary_x, const BC& boundary_y, const BC& boundary_z) 45 { 46 bc[0] = boundary_x; 47 bc[1] = boundary_y; 48 bc[2] = boundary_z; 49 } 50 51 const BC& operator[](const int& index) const {return bc[index];} 52 53 const BC& X() const {return bc[0];} 54 const BC& Y() const {return bc[1];} 55 const BC& Z() const {return bc[2];} 56 57 private: 58 BC bc[3]; 39 59 }; 40 60
Note:
See TracChangeset
for help on using the changeset viewer.
