• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

step/stepcore

solver.cc

Go to the documentation of this file.
00001 /* This file is part of StepCore library.
00002    Copyright (C) 2007 Vladimir Kuznetsov <ks.vladimir@gmail.com>
00003 
00004    StepCore library is free software; you can redistribute it and/or modify
00005    it under the terms of the GNU General Public License as published by
00006    the Free Software Foundation; either version 2 of the License, or
00007    (at your option) any later version.
00008 
00009    StepCore library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012    GNU General Public License for more details.
00013 
00014    You should have received a copy of the GNU General Public License
00015    along with StepCore; if not, write to the Free Software
00016    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00017 */
00018 
00019 #include "solver.h"
00020 
00021 namespace StepCore {
00022 
00023 // XXX: units for toleranceAbs, localError
00024 STEPCORE_META_OBJECT(Solver, "Solver", MetaObject::ABSTRACT, STEPCORE_SUPER_CLASS(Object),
00025     STEPCORE_PROPERTY_R(QString, solverType, STEPCORE_UNITS_NULL, "Solver type", solverType)
00026     STEPCORE_PROPERTY_RW_D(double, stepSize, "s", "Step size", stepSize, setStepSize)
00027     STEPCORE_PROPERTY_RW(double, toleranceAbs, STEPCORE_UNITS_1, "Allowed absolute tolerance", toleranceAbs, setToleranceAbs)
00028     STEPCORE_PROPERTY_RW(double, toleranceRel, STEPCORE_UNITS_1, "Allowed relative tolerance", toleranceRel, setToleranceRel)
00029     STEPCORE_PROPERTY_R(int, dimension, STEPCORE_UNITS_1, "Count of dynamic variables", dimension)
00030     STEPCORE_PROPERTY_R_D(double, localError, STEPCORE_UNITS_1, "Maximal local error during last step", localError)
00031     STEPCORE_PROPERTY_R_D(double, localErrorRatio, STEPCORE_UNITS_1, "Maximal local error ratio during last step", localErrorRatio))
00032 
00033 } // namespace StepCore

step/stepcore

Skip menu "step/stepcore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal