Mass Balance Modelling of Magmatic Processes in GCDkit
The freeware Geochemical Data Toolkit 3.0 (www.gcdkit.org) or, in short, GCDkit, offers a flexible environment for handling, recalculation and plotting of whole-rock geochemical data from igneous and metamorphic rocks. The current contribution demonstrates that the system can be easily expanded by the plugin modules, short yet powerful chunks of user-defined code, which can be easily and freely re-distributed. It describes their internal architecture, as well as the way how they may communicate with the core of the system and can be integrated into its Graphical User Interface (GUI). The plugins in GCDkit provide an appropriate platform for development of modules for numerical modelling of igneous processes. The presented simple plugins for direct and reverse modelling of the major-element mass balance in course of the fractional crystallization provide a sound, and potentially useful, proof of this concept.
KeywordsIgneous rocks Geochemistry Fractional crystallization Partial melting Magma mixing Graphics Software R language MS Windows
The authors are indebted to a number of people without whose work or feedback the GCDkit system would not be working, in particular Colin M. Farrow (Glasgow), Vojtěch Erban (Prague) and Jakub Trubač (Prague) as well as the whole R development team which have designed such a powerful and flexible environment. Moreover, we are thankful to Vojtěch Erban, who has provided a stimulating and insightful review of this paper. Lastly, we are grateful to a number of users, who provided invaluable feedback and motivation to our work. In particular we are thankful to organizers of GCDkit/R workshops at National Geophysical Research Institute (NGRI) in Hyderabad, India (Vysetti Balaram 2013), University of Stellenbosch, South Africa (Gary Stevens 2012) and University of Helsinki, Finland (Tapani Ramö 2011). Special thanks go to Santosh Kumar (Kumaun University, Nainital) for being the mastermind behind the Indian workshop, for having invited us to this volume and for companionship during our trip to India. This contribution has been financed by the French-Czech Program Mobility 7AMB13FR026 and Czech Science Foundation (GAČR) project P210/11/2358.
- Carr M (1995) IgPet for Windows. Terra Softa, SomersetGoogle Scholar
- Clarke D, Mengel F, Coish RA, Kosinowski MHF (1994) NewPet for DOS, version 94.01.07. Department of Earth Sciences, Memorial University of Newfoundland, CanadaGoogle Scholar
- Janoušek V, Farrow CM, Erban V (2003) GCDkit: new PC software for interpretation of whole-rock geochemical data from igneous rocks. Geochim Cosmochim Acta 67:186Google Scholar
- Janoušek V, Farrow CM, Erban V, Trubač J (2011) Brand new Geochemical Data Toolkit (GCDkit 3.0): is it worth upgrading and browsing documentation? (Yes!). Geol výzk Mor Slez 18:26–30Google Scholar
- Petrelli M, Poli G, Perugini D, Peccerillo A (2005) PetroGraph: a new software to visualize, model, and present geochemical data in igneous petrology. Geochem Geophys Geosyst 6. doi: 10.1029/2005GC000932
- Richard LR (1995) MinPet: mineralogical and petrological data processing system, version 2.02. MinPet Geological Software, QuébecGoogle Scholar
- Ripley B, Lapsley M (2013) RODBC, an ODBC database interface, version 1.3-2. http://cran.r-project.org/. Accessed 25 Feb 2013
- Venables WN, Smith DM, R Development Core Team (2012) An Introduction to R. Notes on R: a programming environment for data analysis and graphics. Version 2.15.2 (2012–10–26). http://cran.r-project.org/doc/manuals/R-intro.pdf. Accessed 9 Dec 2012