carputils
Doxygen code documentation for the python framework controlling openCARP
Public Member Functions | Public Attributes | List of all members
carputils.mesh.base.ElementMixinBase Class Reference

Base class for element mixins, to be subclassed with element storage code. More...

Inheritance diagram for carputils.mesh.base.ElementMixinBase:
carputils.mesh.base.ElementCompressedRowMixin carputils.mesh.base.ElementMaskedArrayMixin carputils.mesh.base.Mesh

Public Member Functions

def __init__ (self, args, kwargs)
 
def elements (self)
 Iterate over the elements of the mesh. More...
 

Public Attributes

 num_elems
 

Detailed Description

Base class for element mixins, to be subclassed with element storage code.

Constructor & Destructor Documentation

◆ __init__()

def carputils.mesh.base.ElementMixinBase.__init__ (   self,
  args,
  kwargs 
)

Member Function Documentation

◆ elements()

def carputils.mesh.base.ElementMixinBase.elements (   self)

Iterate over the elements of the mesh.

Yields

Element The mesh elements

Member Data Documentation

◆ num_elems

carputils.mesh.base.ElementMixinBase.num_elems

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