Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
PolyhedronInclusionEdgeIO.h
Go to the documentation of this file.
1/* This file is part of MoDELib, the Mechanics Of Defects Evolution Library.
2 *
3 *
4 * MoDELib is distributed without any warranty under the
5 * GNU General Public License (GPL) v2 <http://www.gnu.org/licenses/>.
6 */
7
8#ifndef model_PolyhedronInclusionEdgeIO_H_
9#define model_PolyhedronInclusionEdgeIO_H_
10
11#include <tuple>
12
13#include <Eigen/Dense>
14#include <sstream>
15#include <iomanip>
16
17namespace model
18{
19
21 {
22
23 // typedef Eigen::Matrix<double,dim,1> VectorDim;
24
25 size_t inclusionID; // sID
26 size_t faceID; // sID
27 size_t sourceID; // sID
28 size_t sinkID; // sID
29
30 /**********************************************************************/
31 PolyhedronInclusionEdgeIO(const size_t &inclusionID_in, const size_t &faceID_in, const size_t &sourceID_in,
32 const size_t &sinkID_in);
33
34 /**********************************************************************/
36
37 /**********************************************************************/
38 PolyhedronInclusionEdgeIO(std::stringstream &ss);
39
40 /**********************************************************************/
41 void write(std::ostream &os) const;
42
43 template <class T> friend T &operator<<(T &os, const PolyhedronInclusionEdgeIO &ds)
44 {
45 ds.write(os);
46 return os;
47 }
48 };
49
50} // namespace model
51#endif
friend T & operator<<(T &os, const PolyhedronInclusionEdgeIO &ds)
PolyhedronInclusionEdgeIO(const size_t &inclusionID_in, const size_t &faceID_in, const size_t &sourceID_in, const size_t &sinkID_in)
newsubseg ss[0]