Dear all,
I have updated the ExcitationFunction module on the cvs server, which now
includes an insert() method.
This allows to insert a Segment into an ExcitationFunction at a specified
position, thereby updating all information in _Imax. While this method
checks that the types of the dependent and the independent variable are idential
to those required for the excitation function, it does not check additional
constraints such as implemented by Alain in his GUI editor, for example that
CV LinearSegments need to be alternating in the sign of the potential variation
with time. Such checks have to be done outside of the ExcitationFunction library.
Please not also, that this new cvs version relies on the up-to-date Quantities
code. This has also been updated on the cvs server. Please download and install
this first. Unfortunately, there had to be some changes to the user interface of
Quantities since the last release (see also the html documentation generated
with doxygen when doing `make install' during the installation!). In particular
two changes have to be considered:
(1) if you should happen to use the version() compile-time function, please do
change this into Version() (capital V). The lower-case method version() is now
for run-time questioning the version only, i.e. you write
Time::Version (); // get info at compile-time
or
Time t();
t.version (); // get info at run-time
(2) There has been a change in the namespace use in Quantities. If you do not
define your own quantities, but rather use those predefined in the
PhysicalQuantities directory, you should only have to change scope qualifiers
for units. For example, previously you wrote
TimeUnits::Minute
Now you should write
_Time::Minute (note the underscore!!)
In general, exchange xxxUnits:: as qualifier into _xxx:: at all instances.
Sorry about trouble with these changes, but this makes some things more
consistent within Quantities.
Best regards
Bernd
--
===================================================================
Bernd Speiser
Institut f"ur Organische Chemie
Auf der Morgenstelle 18
D-72076 T"ubingen
Germany
phone: +49-7071-2976205 (office) +49-7071-2976242 (laboratory)
fax: +49-7071-295518
e-mail: ber...@un...
Internet: http://www.uni-tuebingen.de/speiser
===================================================================
|