Implements a digital waveguide module for cylinder junctions.
The module has two input and two output ports:
-
p1p
Input port for the forwards traveling wave.
-
p2p
Output port for the forwards traveling wave.
-
p1m
Input port for the backwards traveling wave.
-
p2m
Input port for the backwards traveling wave.
To provide more flexibility, the module allows the user to specify all parameters in two ways: The traditional way is providing the radius of the wave spheres of the left and right end of the cone. The "boreprofile" mode is more flexible and lets the user define all measurements based on bore profiles, i.e., the radius at the left and the right end of the cone. The following local parameters can be specified:
-
r1
Radius of the cylinder on the left side of the junction in m. Defaults to 0.01, i.e., 10 mm.
-
r2
Radius of the cylinder on the right side of the junction in m. Defaults to 0.015, i.e., 15 mm.
Public Member Functions |
| DWGcylinderJunctionModule (const string &name="DWGCylinderJunctionModule", const string &sds="", const string &lds="", const string &htm="") |
| Constructor of the DWGCylinderJunctionModule class.
|
virtual ARTItimeModule * | Create (const string &name, const string &sds="", const string &lds="", const string &htm="") |
| Factory function which creates a new DWG cylinder junction module object with the given input parameters.
|
virtual void | addIPort (const string &name, const ARTdataProp *refPort) |
| Adds a new input port to the current time module.
|
virtual ARTdataProp * | getPort (const string &name) |
| Returns a pointer to the port object with the given name.
|
virtual void | setCurrentIndex (int idx) |
| Sets the current time module and all output ports to the given time index.
|
virtual void | simulateCurrentIndex (int idx) |
| Triggers the evaluation of all output ports of the time module for the given time index.
|
virtual | ~DWGcylinderJunctionModule () |
| Destructor of the DWGcylinderJunctionModule class.
|
| ARTItimeModule (const string &name, const string &sds="", const string &lds="", const string &htm="") |
| Constructor of the ARTItimeModule class.
|
| ARTItimeModule (const ARTItimeModule &orig) |
| Copy constructor which creates a new time module based on the given time module.
|
virtual void | setLocalParameter (const string &name, const string &expr) |
| Sets the definition of the local parameter with the given name.
|
virtual void | setLocalParameter (const string &name, const std::complex< double > &val) |
| Sets the definition of the local parameter with the given name.
|
virtual void | setLocalParameter (const string &name, const double val) |
| Sets the definition of the local parameter with the given name.
|
virtual void | addGlobalParameter (const ARTdataProp *parameter) |
| Adds a global parameter to the current time module by registering it to all output ports and local parameters.
|
virtual void | removeGlobalParameter (const string &name) |
| Removes the definition of the given global parameter from all output ports and local parameters.
|
virtual void | setSimulator (ARTsimulator *sim) |
| Sets the simulator of the current time module and all its output ports.
|
virtual | ~ARTItimeModule () |
| Destructor of the ARTItimeModule class.
|
| 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 () |
| 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) |