next up previous contents index
Next: Design and Implementation Up: Programming with Grape Previous: GRAPE Math Functions

Creating a New Class

Now that the basics of object-oriented programming and their implementation in GRAPE have been explained, we will describe what a class looks like in GRAPE and how new classes can be added to GRAPE. Defining the class Rot2d will be the first step in creating our demo program. Methods will be explained in the next section.





SFB 256 Universität Bonn and IAM Universität Freiburg

Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik, Universität Bonn.