Jive reference manual
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions
jive::fem::FEMatrixBuilder Class Reference

#include <jive/fem/FEMatrixBuilder.h>

Inheritance diagram for jive::fem::FEMatrixBuilder:
Inheritance graph

Public Types

typedef algebra::MatrixBuilder MBuilder
 

Public Member Functions

 FEMatrixBuilder (const String &name, const ElementSet &elems, const Ref< DofSpace > &dofs, Ref< SparseMatrixObj > matrix=NIL)
 
virtual void clear ()
 
virtual void setToZero ()
 
virtual void updateStructure ()
 
virtual void setStructure (const SparseStruct &st)
 
- Public Member Functions inherited from jive::algebra::SparseMatrixBuilder
 SparseMatrixBuilder (const String &name="", Ref< SparseMatrixObj > mat=NIL)
 
virtual void scale (double factor)
 
virtual void updateMatrix ()
 
virtual void setMultiplier (double x)
 
virtual double getMultiplier () const
 
virtual void setData (const idx_t *irows, idx_t icount, const idx_t *jcols, idx_t jcount, const double *values)
 
virtual void addData (const idx_t *irows, idx_t icount, const idx_t *jcols, idx_t jcount, const double *values)
 
virtual idx_t eraseData (const idx_t *irows, idx_t icount, const idx_t *jcols, idx_t jcount)
 
virtual void getData (double *buf, const idx_t *irows, idx_t icount, const idx_t *jcols, idx_t jcount) const
 
virtual AbstractMatrixgetMatrix () const
 
SparseMatrixObjgetSparseMatrix () const
 
- Public Member Functions inherited from jive::algebra::MatrixBuilder
 MatrixBuilder (const String &name="")
 
virtual String getContext () const
 
virtual void configure (const Properties &props)
 
virtual void getConfig (const Properties &conf) const
 
virtual void reserve (idx_t nzCount)
 
virtual void shapeHint (idx_t rowCount, idx_t colCount)
 
virtual void trimToSize ()
 
void setValue (idx_t irow, idx_t jcol, double value)
 
void addValue (idx_t irow, idx_t jcol, double value)
 
double getValue (idx_t irow, idx_t jcol) const
 
bool eraseValue (idx_t irow, idx_t jcol)
 
void setBlock (const IdxVector &irows, const IdxVector &jcols, const Matrix &block)
 
void addBlock (const IdxVector &irows, const IdxVector &jcols, const Matrix &block)
 
void getBlock (const Matrix &block, const IdxVector &irows, const IdxVector &jcols) const
 
idx_t eraseBlock (const IdxVector &irows, const IdxVector &jcols)
 
void setRowValues (idx_t irow, const IdxVector &jcols, const Vector &rvals)
 
void addRowValues (idx_t irow, const IdxVector &jcols, const Vector &rvals)
 
idx_t eraseRowValues (idx_t irow, const IdxVector &jcols)
 
void getRowValues (const Vector &rvals, idx_t irow, const IdxVector &jcols) const
 
void setColValues (const IdxVector &irows, idx_t jcol, const Vector &cvals)
 
void addColValues (const IdxVector &irows, idx_t jcol, const Vector &cvals)
 
idx_t eraseColValues (const IdxVector &irows, idx_t jcol)
 
void getColValues (const Vector &cvals, const IdxVector &irows, idx_t jcol) const
 
- Public Member Functions inherited from jem::NamedObject
 NamedObject (const String &name="")
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
String getName () const
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Static Public Member Functions

static Ref< MBuildermakeNew (const String &name, const Properties &conf, const Properties &props, const Properties &params, const Properties &globdat)
 
static void declare ()
 
- Static Public Member Functions inherited from jem::NamedObject
static String makeContext (const String &kind, const String &name)
 
- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Static Public Attributes

static const char * TYPE_NAME
 

Protected Member Functions

virtual ~FEMatrixBuilder ()
 
- Protected Member Functions inherited from jive::algebra::SparseMatrixBuilder
virtual ~SparseMatrixBuilder ()
 
- Protected Member Functions inherited from jive::algebra::MatrixBuilder
virtual ~MatrixBuilder ()
 
- Protected Member Functions inherited from jem::NamedObject
virtual ~NamedObject ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Additional Inherited Members

- Protected Attributes inherited from jem::NamedObject
String myName_
 

Member Typedef Documentation

Constructor & Destructor Documentation

jive::fem::FEMatrixBuilder::FEMatrixBuilder ( const String name,
const ElementSet elems,
const Ref< DofSpace > &  dofs,
Ref< SparseMatrixObj >  matrix = NIL 
)
virtual jive::fem::FEMatrixBuilder::~FEMatrixBuilder ( )
protectedvirtual

Member Function Documentation

virtual void jive::fem::FEMatrixBuilder::clear ( )
virtual
virtual void jive::fem::FEMatrixBuilder::setToZero ( )
virtual
virtual void jive::fem::FEMatrixBuilder::updateStructure ( )
virtual
virtual void jive::fem::FEMatrixBuilder::setStructure ( const SparseStruct &  st)
virtual
static Ref<MBuilder> jive::fem::FEMatrixBuilder::makeNew ( const String name,
const Properties conf,
const Properties props,
const Properties params,
const Properties globdat 
)
static
static void jive::fem::FEMatrixBuilder::declare ( )
static

Member Data Documentation

const char* jive::fem::FEMatrixBuilder::TYPE_NAME
static