MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.Dipoles Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, int size)
 
None __init__ (self, int size, Dipole val)
 
None __init__ (self, std_vector_Dipole vec)
 
None __init__ (self, Dipoles arg0)
 
typing.Iterator __iter__ (self)
 
Dipole autoResizeAt (self, NodeId i)
 
None autoResizeSet (self, NodeId pos, int len, Dipole val)
 
None autoResizeSet (self, NodeId i, Dipole val)
 
Dipole back (self)
 
Dipole back (self)
 
NodeId backId (self)
 
NodeId beginId (self)
 
int capacity (self)
 
None clear (self)
 
Dipole data (self)
 
Dipole data (self)
 
bool empty (self)
 
NodeId endId (self)
 
Dipole front (self)
 
Dipole front (self)
 
int heapBytes (self)
 
None pop_back (self)
 
None push_back (self, Dipole t)
 
None push_back (self, Dipole t)
 
None reserve (self, int capacity)
 
None resize (self, int newSize)
 
None resize (self, int newSize, Dipole t)
 
None resizeWithReserve (self, int newSize)
 
None resizeWithReserve (self, int newSize, Dipole value)
 
int size (self)
 
None swap (self, Dipoles b)
 
std_vector_Dipole vec_ (self)
 
None vec_ (self, std_vector_Dipole arg1)
 

Protected Member Functions

Dipole _Subscript (self, NodeId i)
 
Dipole _Subscript (self, NodeId i)
 

Detailed Description

Generated from:  MR::Dipoles
Aliases:  Vector_Dipole_NodeId


 \\brief std::vector<T>-like container that requires specific indexing type,
 \\tparam T type of stored elements
 \\tparam I type of index (shall be convertible to size_t)
 \\ingroup BasicGroup

Constructor & Destructor Documentation

◆ __init__() [1/5]

None meshlib.mrmeshpy.Dipoles.__init__ ( self)

◆ __init__() [2/5]

None meshlib.mrmeshpy.Dipoles.__init__ ( self,
int size )

◆ __init__() [3/5]

None meshlib.mrmeshpy.Dipoles.__init__ ( self,
int size,
Dipole val )

◆ __init__() [4/5]

None meshlib.mrmeshpy.Dipoles.__init__ ( self,
std_vector_Dipole vec )

◆ __init__() [5/5]

None meshlib.mrmeshpy.Dipoles.__init__ ( self,
Dipoles arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __iter__()

typing.Iterator meshlib.mrmeshpy.Dipoles.__iter__ ( self)

◆ _Subscript() [1/2]

Dipole meshlib.mrmeshpy.Dipoles._Subscript ( self,
NodeId i )
protected

◆ _Subscript() [2/2]

Dipole meshlib.mrmeshpy.Dipoles._Subscript ( self,
NodeId i )
protected

◆ autoResizeAt()

Dipole meshlib.mrmeshpy.Dipoles.autoResizeAt ( self,
NodeId i )
this accessor automatically adjusts the size of the vector

◆ autoResizeSet() [1/2]

None meshlib.mrmeshpy.Dipoles.autoResizeSet ( self,
NodeId i,
Dipole val )

◆ autoResizeSet() [2/2]

None meshlib.mrmeshpy.Dipoles.autoResizeSet ( self,
NodeId pos,
int len,
Dipole val )
sets elements [pos, pos+len) to given value, adjusting the size of the vector to include new elements

◆ back() [1/2]

Dipole meshlib.mrmeshpy.Dipoles.back ( self)

◆ back() [2/2]

Dipole meshlib.mrmeshpy.Dipoles.back ( self)

◆ backId()

NodeId meshlib.mrmeshpy.Dipoles.backId ( self)
returns the identifier of the back() element

◆ beginId()

NodeId meshlib.mrmeshpy.Dipoles.beginId ( self)
returns the identifier of the first element

◆ capacity()

int meshlib.mrmeshpy.Dipoles.capacity ( self)

◆ clear()

None meshlib.mrmeshpy.Dipoles.clear ( self)

◆ data() [1/2]

Dipole meshlib.mrmeshpy.Dipoles.data ( self)

◆ data() [2/2]

Dipole meshlib.mrmeshpy.Dipoles.data ( self)

◆ empty()

bool meshlib.mrmeshpy.Dipoles.empty ( self)

◆ endId()

NodeId meshlib.mrmeshpy.Dipoles.endId ( self)
returns backId() + 1

◆ front() [1/2]

Dipole meshlib.mrmeshpy.Dipoles.front ( self)

◆ front() [2/2]

Dipole meshlib.mrmeshpy.Dipoles.front ( self)

◆ heapBytes()

int meshlib.mrmeshpy.Dipoles.heapBytes ( self)
returns the amount of memory this object occupies on heap

◆ pop_back()

None meshlib.mrmeshpy.Dipoles.pop_back ( self)

◆ push_back() [1/2]

None meshlib.mrmeshpy.Dipoles.push_back ( self,
Dipole t )

◆ push_back() [2/2]

None meshlib.mrmeshpy.Dipoles.push_back ( self,
Dipole t )

◆ reserve()

None meshlib.mrmeshpy.Dipoles.reserve ( self,
int capacity )

◆ resize() [1/2]

None meshlib.mrmeshpy.Dipoles.resize ( self,
int newSize )

◆ resize() [2/2]

None meshlib.mrmeshpy.Dipoles.resize ( self,
int newSize,
Dipole t )

◆ resizeWithReserve() [1/2]

None meshlib.mrmeshpy.Dipoles.resizeWithReserve ( self,
int newSize )
doubles reserved memory until resize(newSize) can be done without reallocation

◆ resizeWithReserve() [2/2]

None meshlib.mrmeshpy.Dipoles.resizeWithReserve ( self,
int newSize,
Dipole value )
doubles reserved memory until resize(newSize) can be done without reallocation

◆ size()

int meshlib.mrmeshpy.Dipoles.size ( self)

◆ swap()

None meshlib.mrmeshpy.Dipoles.swap ( self,
Dipoles b )

◆ vec_() [1/2]

std_vector_Dipole meshlib.mrmeshpy.Dipoles.vec_ ( self)
the user can directly manipulate the vector, anyway she cannot break anything

◆ vec_() [2/2]

None meshlib.mrmeshpy.Dipoles.vec_ ( self,
std_vector_Dipole arg1 )

The documentation for this class was generated from the following file: