|
Geophysical Inversion and Modelling Library v1.5.4
|
#include <datamap.h>
Collaboration diagram for GIMLI::DataMap:Public Member Functions | |
| DataMap () | |
| DataMap (const std::string &filename) | |
| DataMap (const DataMap &map) | |
| DataMap & | operator= (const DataMap &map) |
| bool | isComplex () const |
| int | save (const std::string &filename) |
| int | load (const std::string &filename) |
| void | collect (const std::vector< ElectrodeShape * > &electrodes, const RMatrix &sol, bool isCEM=false) |
| RVector | data (const DataContainerERT &dat, bool reciprocity=false, bool imag=false) |
| void | setElectrodes (const std::vector< RVector3 > &elecs) |
| const std::vector< RVector3 > & | electrodes () const |
| const RMatrix & | map () const |
Protected Member Functions | |
| void | copy_ (const DataMap &map) |
Protected Attributes | |
| std::vector< RVector3 > | elecs_ |
| RMatrix | map_ |
| bool | complex_ |
Potential matrix for BERT. Stores the potential values for every current injection at every electrode positions. Filtering a specific data configuration is done by the data call. In generall, the map size is equal to the amount of electrodes. There are exceptions: Dipol-Pattern sources, Dipol-Sources against a reference Electrode.
| GIMLI::DataMap::DataMap | ( | ) |
Default contructor, builds an empty map
Referenced by copy_(), DataMap(), and operator=().
| GIMLI::DataMap::DataMap | ( | const std::string & | filename | ) |
Contructs a map and load content from a file
References load().
| GIMLI::DataMap::DataMap | ( | const DataMap & | map | ) |
| void GIMLI::DataMap::collect | ( | const std::vector< ElectrodeShape * > & | electrodes, |
| const RMatrix & | sol, | ||
| bool | isCEM = false ) |
Fill the map. Collect potential values from complete mesh related solution matrix and a vector of assiciated electrodes.
References GIMLI::Matrix< ValueType >::cols(), elecs_, electrodes(), map_, and GIMLI::Matrix< ValueType >::rows().
Referenced by GIMLI::DCMultiElectrodeModelling::calculate().
|
protected |
| RVector GIMLI::DataMap::data | ( | const DataContainerERT & | dat, |
| bool | reciprocity = false, | ||
| bool | imag = false ) |
Returns RVector of power values corresponding to the DataConatiner, Return reciprocity values if reciprocity set to True. In the case of reciprocity, a <-> m and b <-> n are swapped.
** probably measured agains last electrode as current and power reference
References data(), elecs_, and map_.
Referenced by data(), and GIMLI::DCMultiElectrodeModelling::response().
|
inline |
|
inline |
Complex valued entries.
| int GIMLI::DataMap::load | ( | const std::string & | filename | ) |
|
inline |
Return a reference to the potential matrix
References map_.
Referenced by copy_(), DataMap(), and operator=().
| int GIMLI::DataMap::save | ( | const std::string & | filename | ) |
|
inline |
Set the electrode positions
References elecs_.
|
protected |
Hold electrode positions
Referenced by collect(), copy_(), data(), electrodes(), load(), save(), and setElectrodes().