BEM++  2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
Bempp::Vector< ValueType > Class Template Reference

Encapsulation of a vector. More...

#include </home/wojtek/Projects/BEM/bempp-sven/bempp/lib/assembly/vector.hpp>

Inheritance diagram for Bempp::Vector< ValueType >:

Public Member Functions

 Vector (const arma::Col< ValueType > &vec)
 Construct a Vector from an Armadillo vector.
 
 Vector (size_t n)
 Construct an uninitialized vector of length n.
 
size_t size () const
 Vector length.
 
void dump () const
 Write a textual representation of the vector to standard output.
 
arma::Col< ValueType > asArmadilloVector () const
 Convert the Vector object into an Armadillo vector.
 

Detailed Description

template<typename ValueType>
class Bempp::Vector< ValueType >

Encapsulation of a vector.

If BEM++ is compiled with Trilinos, Vector is implemented by means of Thyra::DefaultSpmdVector; otherwise an Armadillo-based fallback implementation is used.


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