SW4  Git Revision 67ab458ccdb97763a04025b4bf840d7814d6d27f
SW4
 All Classes Pages
Public Member Functions | Public Attributes | Friends | List of all members
Source Class Reference

Public Member Functions

 Source (EW *a_ew, double frequency, double t0, double x0, double y0, double z0, double Mxx, double Mxy, double Mxz, double Myy, double Myz, double Mzz, timeDep tDep, const char *name, bool topodepth, int ncyc=1, double *pars=NULL, int npars=0, int *ipars=NULL, int nipars=0, bool correctForMu=false)
 
 Source (EW *a_ew, double frequency, double t0, double x0, double y0, double z0, double Fx, double Fy, double Fz, timeDep tDep, const char *name, bool topodepth, int ncyc=1, double *pars=NULL, int npars=0, int *ipars=NULL, int nipars=0, bool correctForMu=false)
 
void prepareTimeFunc (bool doFilter, double sw4TimeStep, int sw4TimeSamples, Filter *sw4_filter)
 
double getX0 () const
 
double getY0 () const
 
double getZ0 () const
 
double getDepth () const
 
bool ignore () const
 
bool myPoint ()
 
double getAmplitude () const
 
double getOffset () const
 
double getFrequency () const
 
timeDep getTfunc () const
 
void setMaxFrequency (double max_freq)
 
bool isMomentSource () const
 
double dt_to_resolve (int ppw) const
 
int ppw_to_resolve (double dt) const
 
const std::string & getName () const
 
void limit_frequency (int ppw, double minvsoh)
 
double compute_t0_increase (double t0_min) const
 
void adjust_t0 (double dt0)
 
void set_grid_point_sources4 (EW *a_EW, std::vector< GridPointSource * > &point_sources)
 
void exact_testmoments (int kx[3], int ky[3], int kz[3], double momexact[3])
 
void getForces (double &fx, double &fy, double &fz) const
 
void getMoments (double &mxx, double &mxy, double &mxz, double &myy, double &myz, double &mzz) const
 
void setMoments (double mxx, double mxy, double mxz, double myy, double myz, double mzz)
 
void printPointer ()
 
void perturb (double h, int comp)
 
void set_derivative (int der)
 
void set_noderivative ()
 
void set_dirderivative (double dir[11])
 
Sourcecopy (std::string a_name)
 
void set_parameters (double x[11])
 
void setFrequency (double freq)
 
void get_parameters (double x[11]) const
 
void filter_timefunc (Filter *fi, double tstart, double dt, int nsteps)
 
bool get_CorrectForMu ()
 
void set_CorrectForMu (bool smf)
 

Public Attributes

int m_i0
 
int m_j0
 
int m_k0
 
int m_grid
 
bool m_timeFuncIsReady
 

Friends

std::ostream & operator<< (std::ostream &output, const Source &s)
 

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