20#ifndef OPM_PARSER_NNC_HPP
21#define OPM_PARSER_NNC_HPP
43 template<
class Serializer>
70 void addNNC(
const size_t cell1,
const size_t cell2,
const double trans);
71 const std::vector<NNCdata>&
data()
const {
return m_nnc; }
77 template<
class Serializer>
80 serializer.vector(m_nnc);
85 std::vector<NNCdata> m_nnc;
void addNNC(const size_t cell1, const size_t cell2, const double trans)
NNC(const Deck &deck)
Construct from input deck.
const std::vector< NNCdata > & data() const
Definition: NNC.hpp:71
static NNC serializeObject()
void serializeOp(Serializer &serializer)
Definition: NNC.hpp:78
bool operator==(const NNC &data) const
Definition: Serializer.hpp:38
x y t t *t x y t t t x y t t t x *y t *t t x *y t *t t x y t t t x y t t t t(t+t)") define_sfop3(16
size_t cell2
Definition: NNC.hpp:52
double trans
Definition: NNC.hpp:53
size_t cell1
Definition: NNC.hpp:51
NNCdata(size_t c1, size_t c2, double t)
Definition: NNC.hpp:31
bool operator==(const NNCdata &data) const
Definition: NNC.hpp:36
void serializeOp(Serializer &serializer)
Definition: NNC.hpp:44