19#ifndef _BERT_BERT_MISC__H
20#define _BERT_BERT_MISC__H
29DLLEXPORT
double exactDCSolution(
const RVector3 & pot,
const RVector3 & src,
30 double k,
double surfaceZ,
double fallback);
32DLLEXPORT
double exactDCSolution(
const RVector3 & pot,
const RVector3 & src);
34DLLEXPORT RVector exactDCSolution(
const Mesh & mesh,
const RVector3 & src,
35 double k,
double surfaceZ=0.0);
36DLLEXPORT RVector exactDCSolution(
const Mesh & mesh,
38 double k,
double surfaceZ=0.0);
42DLLEXPORT RVector exactDCSolution(
const Mesh & mesh,
44 double k,
double surfaceZ=0.0,
45 bool setSingValue=
true);
47DLLEXPORT RVector exactDCSolution(
const Mesh & mesh,
int aID,
int bID,
double k,
49DLLEXPORT RVector exactDCSolution(
const Mesh & mesh,
int aID,
double k=0.0,
56 bool forceFlatEarth=
false);
60 bool forceFlatEarth=
false){
61 __MS(
"Deprecated please use 'geometricFactors'")
65DLLEXPORT
void initKWaveList(
double rMin,
double rMax,
66 int nGauLegendre,
int nGauLaguerre,
67 RVector & kValues, RVector & weights);
69DLLEXPORT
void initKWaveList(
const Mesh & mesh,
70 RVector & kValues, RVector & weights,
71 const R3Vector & sources,
74DLLEXPORT
void initKWaveList(
const Mesh & mesh,
75 RVector & kValues, RVector & weights,
78DLLEXPORT
int countKWave(
const Mesh & mesh);
80DLLEXPORT
void DCErrorEstimation(DataContainerERT & data,
81 double errPerc=3.0,
double errVolt=100e-6,
82 double defaultCurrent=100e-3,
85DLLEXPORT
double DCParaDepth(
const DataContainerERT & data);
Definition bertDataContainer.h:32
Abstract class for an electrode with a shape, which is required for modelling.
Definition electrode.h:58
3D Node
Definition node.h:39
GIMLi main namespace for the Geophyiscal Inversion and Modelling Library.
Definition baseentity.h:24
RVector geometricFactor(const DataContainerERT &data, int dim=3, bool forceFlatEarth=false)
Definition bertMisc.h:59
void setAllNeumannBoundaryConditions(Mesh &mesh)
Definition bertMisc.cpp:341
void setDefaultBERTBoundaryConditions(Mesh &mesh)
Definition bertMisc.cpp:323
RVector prepExportPotentialData(const RVector &data, double logdrop)
Definition bertMisc.cpp:356
RVector geometricFactors(const DataContainerERT &data, int dim, bool forceFlatEarth)
Definition bertMisc.cpp:131