Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

InitializationModule.h

Go to the documentation of this file.
00001 /*
00002  * File:        InitializationModule.h
00003  * Copyright:   (c) 2005-2007 Princeton University
00004  * Author(s):   Kevin T. Chu
00005  * Revision:    $Revision: 318 $
00006  * Modified:    $Date: 2007-07-19 14:13:46 -0400 (Thu, 19 Jul 2007) $
00007  * Description: Header file for the InitializationModule class
00008  */
00009 
00012 #ifndef included_InitializationModule_h
00013 #define included_InitializationModule_h
00014 
00025 // SAMRAI Headers
00026 #include "SAMRAI_config.h"
00027 #include "Patch.h"
00028 #include "CartesianGridGeometry.h"
00029 #include "tbox/Pointer.h"
00030 
00031 // LSMDD Headers
00032 #include "LSMDD_config.h"
00033 
00034 // namespaces
00035 using namespace SAMRAI;
00036 using namespace geom;
00037 using namespace hier;
00038 using namespace tbox;
00039 
00040 
00041 /******************************************************************
00042  *
00043  * InitializationModule Class Definition
00044  *
00045  ******************************************************************/
00046 
00047 namespace LSMDD {
00048 
00049 class InitializationModule
00050 {
00051 public:
00052 
00079   static void initializeCircularDislocationLoopOnPatch(
00080     Patch<3> &patch,
00081     Pointer< CartesianGridGeometry<3> > geometry,
00082     int phi_handle, 
00083     int psi_handle, 
00084     int line_num,
00085     double *normal, double *center, double radius);
00086 
00125   static void initializeStraightDislocationLineOnPatch(
00126     Patch<3> &patch,
00127     Pointer< CartesianGridGeometry<3> > geometry,
00128     int phi_handle,
00129     int psi_handle, 
00130     int line_num,
00131     double *xi, double *pt);
00132 
00198   static void initializeDislocationArrayOnPatch(
00199     Patch<3> &patch,
00200     Pointer< CartesianGridGeometry<3> > geometry,
00201     int phi_handle, 
00202     int psi_handle,
00203     int line_num,
00204     double *xi, double *pt1, double *pt2);
00205 
00206 
00207 private:
00208 
00209   /*
00210    * Private default constructor to prevent use.
00211    *
00212    * Arguments:  none
00213    *
00214    */
00215   InitializationModule(){}
00216 
00217   /*
00218    * Private copy constructor to prevent use.
00219    *
00220    * Arguments:
00221    *  - rhs (in):  InitializationModule object to copy
00222    *
00223    */
00224   InitializationModule(const InitializationModule& rhs){}
00225 
00226   /*
00227    * Private assignment operator to prevent use.
00228    *
00229    * Arguments:
00230    *  - rhs (in):   InitializationModule object to copy
00231    *
00232    * Return value:  *this
00233    *
00234    */
00235   const InitializationModule& operator=(
00236     const InitializationModule& rhs){ return *this; }
00237 
00238 };
00239 
00240 } // end LSMDD namespace
00241 
00242 
00243 #endif

Generated on Tue Aug 7 15:43:41 2007 for LSMDD by doxygen 1.3.4