Acoustic Research Tool (ART)
v0.10
|
Represents a termination element.
Use this prototype for terminations that can be open or closed.
Classes | |
class | RadiationImpedanceFunc |
Public Member Functions | |
TerminationModel (const string name="TerminationModel", const string sds="a tone hole at the side of the instrument", const string lds="", const string htm="") | |
The constructor for the termination prototype. | |
TerminationModel (const TerminationModel &orig) | |
A copy constructor. | |
virtual ARTmodelInterface * | CloneModel () |
Returns a copy of the object by calling the copy constructor. | |
virtual void | RadiationImpedance (WaveObjectInterface *&out) |
Prepares the calculation of the radiation impedance in the waveobject passed as argument. | |
virtual void | InputImpedance (WaveObjectInterface *waveFront, WaveObjectInterface *&oSignal) |
This function must be implemented because it is declared as pure virtual in the ARTmodelInterface. | |
virtual void | Pressure (WaveObjectInterface *, WaveObjectInterface *&) |
This function must be implemented because it is declared as pure virtual in the ARTmodelInterface. | |
void | PrepareCalculation (int modes) |
This prepares the calculation in the attached TerminationElement object, by setting all parameters. | |
int | GetRadiationType () |
TerminationElement * | GetModel () |
Public Member Functions inherited from ARTmodelInterface | |
ARTmodelInterface (const string name, const string sds, const string lds, const string htm) | |
Use this constructor to fill the fields of super classes and initialize other fields. | |
ARTmodelInterface (const ARTmodelInterface &orig) | |
The copy constructor. | |
virtual void | InputImpedance (vector< WaveObjectInterface * > &in, WaveObjectInterface *&oSignal) |
virtual void | Pressure (vector< WaveObjectInterface * > &in, WaveObjectInterface *&oSignal) |
void | SetSimulator (ARTsimulator *sim) |
Sets the simulator of the model to sim. | |
void | SetCircuit (ARTcircuit *cir) |
Sets the circuit of the model to cir. | |
Public Member Functions inherited from ARTobject | |
ARTobject (const string name, const string sds="", const string lds="", const string htm="") | |
objects must have a name, the rest is optional | |
ARTobject (const ARTobject &orig) | |
copy constructor | |
virtual ARTcell * | clone () |
ARTproperty * | GetProperties (ARTproperty *pos) |
iterate through property list (pass NULL to restart iteration, receive NULL after last element) | |
ARTproperty * | FindProperty (const string nam) |
find and return named property (or return NULL if no match) | |
ARTproperty * | AppendProperty (const string name, const string sds="", const string lds="", const string htm="") |
Append new property with given name to ARTobject. | |
ARTdataProp * | AppendDataProp (const string name, ARTvariant *val, const string sds="", const string lds="", const string htm="") |
append new data property with given name to ARTobject | |
ARTdataProp * | AppendDataProp (const string name, const double val, const string sds="", const string lds="", const string htm="") |
ARTdataProp * | AppendDataProp (const string name, const float val, const string sds="", const string lds="", const string htm="") |
ARTdataProp * | AppendDataProp (const string name, const string val, const string sds="", const string lds="", const string htm="") |
ARTdataProp * | AppendDataProp (const string name, const int val, const string sds="", const string lds="", const string htm="") |
ARTdataProp * | AppendDataProp (const string name, const string *val, const string sds="", const string lds="", const string htm="") |
ARTdataProp * | AppendDataProp (ARTdataProp *dataProp) |
ARTlistProp * | AppendListProp (const string name, const string sds="", const string lds="", const string htm="") |
append new listableProperty with given name | |
bool | DeleteProperty (ARTproperty *prp) |
delete current property (which was recently accessed by GetProperties, FindProperty or AppendProperty) | |
ARTmethod * | GetMethods (ARTmethod *pos) |
iterate through method list (pass NULL to restart iteration, receive NULL after last element) | |
ARTmethod * | FindMethod (const string nam) |
find and return named method (or return NULL if no match) | |
ARTmethod * | AppendMethod (const string name, const string sds="", const string lds="", const string htm="") |
append new method with given name | |
bool | DeleteMethod (ARTmethod *mtd) |
delete current method (which was recently accessed by GetProperties, FindProperty or AppendProperty) | |
void | SetPropertyList (list< ARTproperty * > &l) |
void | CopyPropertyListEntries (ARTobject *obj) |
copies properties from other objects (also copying the objects of all list-entries). OVERWRITES list own list! | |
void | CopyMethodListEntries (ARTobject *obj) |
copies methods from other objects (also copying the objects of all list-entries). OVERWRITES list own list! | |
list< ARTproperty * > | GetPropertyList () |
list< ARTmethod * > | GetMethodList () |
Public Member Functions inherited from ARTcell | |
ARTcell (const string name="", const string sds="", const string lds="", const string htm="") | |
ARTcell (const ARTcell &orig) | |
const string & | GetName () const |
const string & | GetShortDescription () const |
const string & | GetLongDescription () const |
const string & | GetHelpFilename () const |
void | SetName (const string name) |
Additional Inherited Members | |
Protected Attributes inherited from ARTmodelInterface | |
ARTcircuit * | circuit |
This field must contain a pointer to the circuit which is being evaluated when. | |
ARTfreqSimulator * | simulator |
This field must contain a pointer to the simulator the element was created in. |
|
inline |
The constructor for the termination prototype.
All properties, data properties and methods are appended in this constructor.
|
inline |
A copy constructor.
Used to copy the model when elements are created that use this model.
|
inlinevirtual |
Returns a copy of the object by calling the copy constructor.
Used to copy the model when elements are created that use this model.
Implements ARTmodelInterface.
|
inlinevirtual |
This function must be implemented because it is declared as pure virtual in the ARTmodelInterface.
A termination can not be in the middle of a circuit, so this method will throw an exception of type ARTerror.
Implements ARTmodelInterface.
|
inline |
This prepares the calculation in the attached TerminationElement object, by setting all parameters.
The function is called by the functionoid of this object.
modes | The number of modes. |
|
inlinevirtual |
This function must be implemented because it is declared as pure virtual in the ARTmodelInterface.
So far it is not implemented nor used and will just throw an exception of type ARTerror.
Implements ARTmodelInterface.
|
inlinevirtual |
Prepares the calculation of the radiation impedance in the waveobject passed as argument.
Uses the functionoids of this object for calculation.
out | The waveobject the radiation impedance should be written to. If the pointer is null, a new waveobject will be created and the address written to out. |
Implements ARTmodelInterface.