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

BasicDislocationPhysicsModule.h

Go to the documentation of this file.
00001 /*
00002  * File:        BasicDislocationPhysicsModule.h
00003  * Copyright:   (c) 2005-2007 Princeton University
00004  * Author(s):   Kevin T. Chu
00005  * Revision:    $Revision: 317 $
00006  * Modified:    $Date: 2007-07-06 23:22:25 -0400 (Fri, 06 Jul 2007) $
00007  * Description: Header file for the BasicDislocationPhysicsModule class
00008  */
00009 
00010 #ifndef included_BasicDislocationPhysicsModule_h
00011 #define included_BasicDislocationPhysicsModule_h
00012 
00023 // SAMRAI Headers
00024 #include "SAMRAI_config.h"
00025 #include "Patch.h"
00026 
00027 // LSMDD Headers
00028 #include "LSMDD_config.h"
00029 
00030 
00031 /******************************************************************
00032  *
00033  * BasicDislocationPhysicsModule Class Definition
00034  *
00035  ******************************************************************/
00036 
00037 namespace LSMDD {
00038 
00039 class BasicDislocationPhysicsModule
00040 {
00041 public:
00042 
00064   static void computePKForce(
00065     double &force_x,
00066     double &force_y,
00067     double &force_z,
00068     double b_x,
00069     double b_y,
00070     double b_z,
00071     double tangent_vector_x,
00072     double tangent_vector_y,
00073     double tangent_vector_z,
00074     double sigma11,
00075     double sigma22,
00076     double sigma33,
00077     double sigma23,
00078     double sigma31,
00079     double sigma12,
00080     const double *X,
00081     bool verbose_mode = false);
00082 
00113   static void computeVelocityUsingBasicFormula(
00114     double &velocity_x,
00115     double &velocity_y,
00116     double &velocity_z,
00117     double force_x, double force_y, double force_z,
00118     double b_x, double b_y, double b_z,
00119     double tangent_vector_x,
00120     double tangent_vector_y,
00121     double tangent_vector_z,
00122     double glide_mobility,
00123     double climb_mobility,
00124     double max_angle_for_pure_screw,
00125     const double *X,
00126     bool verbose_mode = false);
00127 
00128 
00129 private:
00130 
00131   /*
00132    * Private default constructor to prevent use.
00133    *
00134    * Arguments:  none
00135    *
00136    */
00137   BasicDislocationPhysicsModule(){}
00138 
00139   /*
00140    * Private copy constructor to prevent use.
00141    *
00142    * Arguments:
00143    *  - rhs (in):  BasicDislocationPhysicsModule object to copy
00144    *
00145    */
00146   BasicDislocationPhysicsModule(const BasicDislocationPhysicsModule& rhs){}
00147 
00148   /*
00149    * Private assignment operator to prevent use.
00150    *
00151    * Arguments:
00152    *  - rhs (in):   BasicDislocationPhysicsModule object to copy
00153    *
00154    * Return value:  *this
00155    *
00156    */
00157   const BasicDislocationPhysicsModule& operator=(
00158     const BasicDislocationPhysicsModule& rhs){ return *this; }
00159 
00160 };
00161 
00162 } // end LSMDD namespace
00163 
00164 #endif

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