Public Member Functions |
| WindInstrument (const char filename[], const bool setDefault) |
| WindInstrument (const WindInstrument &a) |
| WindInstrument (HornElement *c) |
| WindInstrument (const bool supressedLists, const char filename[]) |
| GADefineIdentity ("WindInstrument", 223) |
WindInstrument & | operator= (const GAGenome &orig) |
virtual GAGenome * | clone (CloneMethod) const |
virtual void | copy (const GAGenome &orig) |
void | elementInitialise (const double previousRout) |
int | mutate (const float pmut, const float mu, const double previousRout) |
HornElement * | clone () |
void | elementCrossover (const HornElement &m, HornElement *s, HornElement *b, const float pcross) |
double | rIn () const |
double | rOut () const |
double | gradientIn () const |
double | gradientOut () const |
string | Name () const |
double | findRadius (const double x) const |
string | getSaveString () const |
void | print () const |
dcomp | zt (const double w) const |
int | RadiationType () const |
string | filename () const |
int | type () const |
int | TlaAccumulate (const double w, int IndFreq, SimpleMatrix *a, const int Ind, vector< int > &mem, dcomp *zt, list< Matrix > *ImpedanceList, vector< int > &IndHole) |
int | MultimodeAccumulate (const double w, int IndFreq, const bool bends, Matrix *a, const int Ind, vector< int > &mem, Matrix *zt, list< Matrix > *ImpedanceList, vector< int > &IndHole) |
void | multimodeInputImpedance (const double w, const bool bends, Matrix *Zout) |
dcomp | radiationImpedance (const double w) const |
dcomp | ZorumskiPlaneRadiation (const double w) const |
void | multimodeRadiationImpedance (const double w, const bool bends, const int IndFreq, Matrix *result) const |
void | multimodeRadiationImpedanceClosedEnd (const double w, const bool bends, Matrix *result) const |
void | multimodeRadiationImpedanceOpenEnd (const double w, const bool bends, Matrix *result) const |
void | multimodeRadiationImpedanceTerminated (const double w, const bool bends, Matrix *result, const dcomp z_trm) const |
dcomp | PlaneWaveRadiationImpedance_TermElt (const double w) const |
void | radiationImpedanceLevine (const double w, double *InputRadius, dcomp *z_t) const |
Matrix | GetTerminationImpedance (const double w, int IndFreq, Matrix *zt, int test, int NextPos, vector< int > &mem, HornElement *iter, list< Matrix > *ImpedanceList) |
dcomp | GetTerminationImpedance (const double w, int IndFreq, dcomp *zt, int test, int NextPos, vector< int > &mem, HornElement *iter, list< Matrix > *ImpedanceList) |
void | BranchImpedanceList (list< Matrix > *ImpListe) |
void | PutRoutParam (const double rOut) |
void | PutHoleParam (const double length_Hole, const double radius_Hole) |
Matrix | GetParallelImpedance (const double w, const int IndFreq) |
Matrix | GetImpedance (const double w, const int IndFreq) |
void | ImpLengthCorrection () |
void | ImpEltsAcoustic () |
vector< dcomp > | getInputImpedance (const double f, const int t, int IndFreq, const int Contrib, const double gain, const int val, list< Matrix > *ImpedanceList, const int var, vector< int > &IndHole, const int accumulate) |
dcomp | getInputImpedance (const double f, const int t, const bool accum) |
vector< dcomp > | getParam (const double Freq, const double IndFreq, const int Contrib, const int Ind, list< Matrix > *ImpedanceList, const int var, vector< int > &IndHole) |
vector< dcomp > | getRadiationImpedance (const double Freq, const double IndFreq, const int Contrib, const int Ind, list< Matrix > *ImpedanceList, const int var, vector< int > &IndHole) |
double | inputImpedanceMagnitude (const double f, const int term, const bool accumulate) |
void | cleanElements () |
void | copyLists (list< HornElement * > *orig) |
void | printList (bool indent) |
int | getSize () |
void | setToDefault () |
list< HornElement * >::iterator | begin () |
int | write (std::ostream &os) const |
double | length () const |
void | setLength (double length) |
void | ListSplit (bool modifyDefault) |
bool | check () |
void | rosen (double *params) |
list< HornElement * > | getList () const |
HornElement * | getElement (int i) |
void | append (HornElement *a, bool addJumps) |
void | erase () |
void | erase (int i) |
void | chgtempC (const float tempC) |
void | chglossF (const float lossF) |
void | insert (HornElement *a) |
void | setIterToBegin () |
void | setIterToEnd () |
void | setVerboseMode (const bool isVerbose) |
void | setSupressedLists (const bool isSupressed) |
void | setOutputMode (const bool isMaple) |
bool | getOutputMode () const |
int | getSize () const |
ImpedanceCurve | getImpedanceCurve () |
void | printImpedanceCurve (const bool carriageReturn) const |
void | printDescription () const |
void | printList (const bool indent) const |
void | compareBore (const char instrumentFile[], const char outputFile[]) const |
void | roughPlot (const int nModes, const double fmin, const double fmax, const int nPoints, const bool accumulate) |
void | roughPlot (const int nModes, const double fmin, const double fmax, const int nPoints, const bool accumulate, const int termination) |
void | refinePeaks (const double epsilon, const int t, const bool accumulate) |
void | refinePeaks (const double epsilon) |
void | recursiveQuadraticFindPeak (const double xLeft, const double rLeft, const double xCentre, const double rCentre, const double xRight, const double rRight, const double epsilon, const int counter, const int t, const bool accum) |
void | recursiveCombinedFindPeak (const double xLeft, const double rLeft, const double xCentre, const double rCentre, const double xRight, const double rRight, const double epsilon, const int counter, const int t, const bool accum) |
void | toLowerCase (char a[]) const |
bool | stringEquality (char a[], char b[]) const |
int | parseInt (const char input[], int *ptr) const |
char * | parseString (const char input[], int *ptr) const |
double | parseDouble (const char input[], int *ptr) const |
dcomp | parseDcomp (const char input[], int *ptr) const |
bool | parseBool (const char input[], int *ptr) const |
void | runScript (const char filename[]) |
void | saveImpedancePlot (const char filename[]) |
void | saveInstrumentPlot (const char filename[]) |
void | loadPointwise (const char filename[]) |
void | savePointwise (const char filename[]) |
int | savePointwise (std::ofstream *file, double *x, const bool asMaple) |
bool | loadElemental (const char filename[]) |
void | saveElemental (const char filename[]) |
bool | load (const char filename[]) |
void | save (const char filename[]) |
| HornElement (const float tempC=21.0, const float lossF=1.0, const float humidity=80, const float xc=382, const string name=" ", int type=-1, Matrix MA=NULL, Matrix MB=NULL, double rr=0.0, double length=0.0, const bool canSplit=false, const bool canModify=false) |
virtual void | setnModes (const int nModes) |
virtual void | FirstElement (const int val) |
virtual int | FirstElement () const |
void | settempC (float tempC) |
float | gettempC () const |
void | setlossF (float lossF) |
float | getlossF () const |
void | sethumidity (float humidity) |
float | gethumidity () const |
void | setxc (float xc) |
float | getxc () const |
void | setName (string name) |
string | getName () const |
virtual void | length (const double length) |
virtual int | NbHole () const |
virtual bool | split (list< HornElement * > &l, list< HornElement * >::iterator &iter) |
virtual ARTvariant * | getPropertyPointer (const char *name) |