This book is a guide to writing code for COMSOL® models and applications using the Method Editor. The Method Editor is an important part of the Application Builder and is available in the COMSOL Desktop
® environment in the Windows
® version of COMSOL Multiphysics. For an introduction to using the Application Builder and its Form Editor and Method Editor, see the book
Introduction to the Application Builder.
In the COMSOL Multiphysics environment, you use the Java® programming language to write methods, which means that you can utilize the extensive collection of Java
® libraries. In addition to the Java
® libraries, the Application Builder includes a built-in library for building applications and modifying the model object. A number of tools and resources are available to help you automatically create code for methods. For more information on autogeneration of code, see the book
Introduction to the Application Builder.
This book assumes no prior knowledge of the Java® programming language. However, some familiarity with a programming language is helpful.