This code is part of the OOML project (C++ Object Oriented Mechanics Library) Authors: Juan Gonzalez-Gomez, Alberto Valero-Gomez, Rafael Trevi–o, Mario Almagro, Nieves Cubo. Copyright 2012. OOML is licenced under the Common Creative License, Attribution-ShareAlike 3.0 To view a copy of this license, visit: http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA. You are free: - to Share - to copy, distribute and transmit the work - to Remix - to adapt the work Under the following conditions: - Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). - Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one. Any of the above conditions can be waived if you get permission from the copyright holder. Nothing in this license impairs or restricts the author's moral rights. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.