OBJECT-ORIENTED PARADIGM: AN EFFICIENT TOOL FOR TEACHING AND RESEARCH IN STRUCTURAL GEOLOGY
The UML class and sequence diagrams would help students to more clearly visualize the relationship between the objects (e.g., a Fault object contains many FaultSegment objects). Polymorphism, a fundamental OO feature which works due to the inheritance structure of the class hierarchy, enables students and researchers to perceive and model the differences among the related objects. For example, the slip () method defined in the Fault superclass, and overridden in the NormalFault, ReverseFault, and StrikeSlipFault subclasses with a same interface, would polymorphically move the hanging-wall up in an instance of a ReverseFault, and move it down in an instance of a NormalFault. Instances of the three subclasses have access to more general methods such as getSlipVector (), defined in their superclass (Fault). The OO paradigm can be applied to teach and study tectonic features in a more productive way compared to the traditional techniques of education and research. The OO modeling and programming languages such as UML, Java, C++, or C#, and a query language such as the SQL in a database environment, would enable scientists and educators to develop libraries (packages) of geological classes and tables which will enhance the quality of their data processing in the classroom, field, lab, and on the web.