45 typedef std::vector<Cell *> v_cell;
46 typedef v_cell::reference reference;
47 typedef v_cell::const_reference const_reference;
48 typedef v_cell::iterator iterator;
49 typedef v_cell::const_iterator const_iterator;
52 void libera(
const size_t i);
53 void alloc(
const size_t i,
const Cell &c);
54 inline reference operator[](
const size_t i)
55 {
return v_cell::operator[](i); }
63 inline size_t size(
void)
const 64 {
return v_cell::size(); }
66 void resize(
const size_t sz);
68 void put(
const size_t i,
const Cell &c);
69 inline const_reference operator[](
const size_t i)
const 70 {
return v_cell::operator[](i); }
72 void Print(std::ostream &s)
const;
~VectorCells(void)
Destructor.
Definition: VectorCells.cc:87
Cells vector.
Definition: VectorCells.h:42
VectorCells(const size_t &sz=0)
Constructor.
Definition: VectorCells.cc:56
Base class for cells (cross-section discretization).
Definition: Cell.h:74
VectorCells & operator=(const VectorCells &otro)
Assignment operator.
Definition: VectorCells.cc:73
================================================================================
Definition: ContinuaReprComponent.h:34
void resize(const size_t sz)
Destructor.
Definition: VectorCells.cc:92