00001 /*============================================================================== 00002 Copyright 2006 Thad Harroun, Kevin Yager 00003 00004 This file is part of "yanera 2.0". 00005 00006 "yanera 2.0" is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. 00007 00008 "yanera 2.0" 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. See the GNU General Public License for more details. 00009 00010 You should have received a copy of the GNU General Public License along with "yanera 2.0"; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 00011 ==============================================================================*/ 00012 /*============================================================================*/ 00018 /*============================================================================*/ 00027 void yanera_write_reflectivity(yanera_container *yanera); 00028 /*============================================================================*/ 00053 double calcReflectivity(double q, yanera_resolution *resolution, \ 00054 yanera_model *model, yanera_container *yanera); 00055 /*============================================================================*/ 00069 double calcParrattFromSlabs(double q, \ 00070 yanera_model *model, \ 00071 yanera_container *yanera); 00072 /*============================================================================*/ 00086 double calcParrattFromModel(double q, \ 00087 yanera_model *model, \ 00088 yanera_container *yanera); 00089 /*============================================================================*/ 00098 double lookupResolution(double q, yanera_resolution *resolution); 00099