Geophysical Inversion and Modelling Library  v1.5.1
GIMLI::ElectrodeShapeNodesWithBypass Class Reference

Electrode that is represented by a list of nodes short circuited by a bypass. More...

+ Inheritance diagram for GIMLI::ElectrodeShapeNodesWithBypass:
+ Collaboration diagram for GIMLI::ElectrodeShapeNodesWithBypass:

Public Member Functions

 ElectrodeShapeNodesWithBypass (std::vector< Node * > &nodes)
- Public Member Functions inherited from GIMLI::ElectrodeShapeNode
 ElectrodeShapeNode (Node &node)
void setNode (Node &node)
const Nodenode () const
virtual std::vector< MeshEntity * > entities () const
virtual double geomMeanCellAttributes () const
virtual double pot (const RVector &sol) const
virtual void assembleRHS (RVector &rhs, double value, uint matrixSize) const
virtual void setSingValue (RVector &sol, double scale=1.0, double k=0.0) const
- Public Member Functions inherited from GIMLI::ElectrodeShape
 ElectrodeShape (const RVector3 &pos)
virtual double domainSize () const
void setMID (uint id)
virtual int mID () const
- Public Member Functions inherited from GIMLI::Electrode
 Electrode ()
 Electrode (const RVector3 &pos, int id=-1)
 Electrode (double x, double y, double z)
 Electrode (const Electrode &el)
Electrodeoperator= (const Electrode &el)
bool operator== (const Electrode &e) const
void setPos (const RVector3 &pos)
const RVector3pos () const
- Public Member Functions inherited from GIMLI::BaseEntity
 BaseEntity (const BaseEntity &ent)
BaseEntityoperator= (const BaseEntity &ent)
virtual uint rtti () const
virtual bool valid () const
virtual void setValid (bool valid)
int id () const
void setId (int id)
void setMarker (int marker)
int marker () const
void setTagged (bool tagged)
void untag ()
void tag ()
bool tagged () const

Protected Attributes

std::vector< Node * > nodes_
- Protected Attributes inherited from GIMLI::ElectrodeShapeNode
- Protected Attributes inherited from GIMLI::ElectrodeShape
double size_
 size of the domain
int mID_
- Protected Attributes inherited from GIMLI::Electrode
RVector3 pos_
- Protected Attributes inherited from GIMLI::BaseEntity
int id_
bool valid_
int marker_
bool tagged_

Detailed Description

Electrode that is represented by a list of nodes short circuited by a bypass.

Constructor & Destructor Documentation

◆ ElectrodeShapeNodesWithBypass()

GIMLI::ElectrodeShapeNodesWithBypass::ElectrodeShapeNodesWithBypass ( std::vector< Node * > &  nodes)

The corresponding reference Node is the first of a given vector of nodes.