| /* |
| * HydroBC.hh |
| * |
| * Created on: Jan 13, 2012 |
| * Author: cferenba |
| * |
| * Copyright (c) 2012, Los Alamos National Security, LLC. |
| * All rights reserved. |
| * Use of this source code is governed by a BSD-style open-source |
| * license; see top-level LICENSE file for full license text. |
| */ |
| |
| #ifndef HYDROBC_HH_ |
| #define HYDROBC_HH_ |
| |
| #include <vector> |
| |
| #include "Vec2.hh" |
| |
| // forward declarations |
| class Mesh; |
| |
| |
| class HydroBC { |
| public: |
| |
| // associated mesh object |
| Mesh* mesh; |
| |
| int numb; // number of bdy points |
| double2 vfix; // vector perp. to fixed plane |
| int* mapbp; // map: bdy point -> point |
| std::vector<int> pchbfirst; // start/stop index for bdy pt chunks |
| std::vector<int> pchblast; |
| |
| HydroBC( |
| Mesh* msh, |
| const double2 v, |
| const std::vector<int>& mbp); |
| |
| ~HydroBC(); |
| |
| }; // class HydroBC |
| |
| |
| #endif /* HYDROBC_HH_ */ |