archive-edu.com » EDU » R » RPI.EDU

Total: 920

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • SCOREC core: apfConvert.h Source File
    directory 00006 00007 00008 ifndef APF CONVERT H 00009 define APF CONVERT H 00010 00014 include map 00015 00016 namespace apf 00017 00018 class Mesh 00019 class Mesh2 00020 class ModelEntity 00021 class MeshEntity 00022 00028 void convert Mesh in Mesh2 out 00029 00031 typedef std map int MeshEntity GlobalToVert 00032 00047 void construct Mesh2 m const int conn int nelem int etype 00048 GlobalToVert globalToVert 00049 00058 void setCoords

    Original URL path: http://www.scorec.rpi.edu/~dibanez/core/apfConvert_8h_source.html (2015-07-15)
    Open archived version from archive


  • SCOREC core: apfDynamicArray.h File Reference
    should be More Go to the source code of this file Classes class apf DynamicArray T a dynamically allocated array with size knowledge More Namespaces namespace apf All APF symbols are contained in this namespace Detailed Description what most std

    Original URL path: http://www.scorec.rpi.edu/~dibanez/core/apfDynamicArray_8h.html (2015-07-15)
    Open archived version from archive

  • SCOREC core: apfDynamicArray.h Source File
    apf 00017 00025 template class T 00026 class DynamicArray 00027 00028 public 00030 DynamicArray size 0 00032 DynamicArray std size t n newArray n size n 00034 DynamicArray DynamicArray T const other copy other 00036 T operator std size t i return newArray i 00038 T const operator std size t i const return newArray i 00040 DynamicArray T operator DynamicArray T const other 00041 00042 if other this return this 00043 copy other 00044 return this 00045 00049 std size t getSize const return size 00051 void setSize std size t newSize 00052 00053 if size newSize return 00054 NewArray T newArray2 newSize 00055 std size t commonSize std min size newSize 00056 for std size t i 0 i commonSize i 00057 newArray2 i this i 00058 newArray swap newArray2 00059 size newSize 00060 00065 void append T const v 00066 00067 setSize size 1 00068 this size 1 v 00069 00073 void append DynamicArray T const other 00074 00075 std size t oldSize size 00076 setSize oldSize other size 00077 for std size t i 0 i other size i 00078 this oldSize i other i 00079 00081 typedef T iterator 00083 iterator begin return this 0

    Original URL path: http://www.scorec.rpi.edu/~dibanez/core/apfDynamicArray_8h_source.html (2015-07-15)
    Open archived version from archive

  • SCOREC core: apfDynamicMatrix.h File Reference
    DynamicMatrix const a DynamicVector const b DynamicVector r multiply a DynamicMatrix by a DynamicVector void apf multiply DynamicVector const b DynamicMatrix const a DynamicVector r multiply a DynamicVector by a DynamicMatrix void apf multiply DynamicMatrix const a DynamicMatrix const b DynamicMatrix r multiply two DynamicMatrix objects void apf transpose DynamicMatrix const a DynamicMatrix r get the transpose of a DynamicMatrix template std size t N std size t M DynamicMatrix

    Original URL path: http://www.scorec.rpi.edu/~dibanez/core/apfDynamicMatrix_8h.html (2015-07-15)
    Open archived version from archive

  • SCOREC core: apfDynamicMatrix.h Source File
    getSize i 00081 this values i s 00082 return this 00083 00085 void getRow std size t i DynamicVector r const 00086 00087 r setSize columns 00088 for std size t j 0 j columns j 00089 r j this i j 00090 00092 void getColumn std size t j DynamicVector r const 00093 00094 std size t rows getRows 00095 r setSize rows 00096 for std size t i 0 i rows i 00097 r i this i j 00098 00100 void setRow std size t i DynamicVector const r 00101 00102 for std size t j 0 j columns j 00103 this i j r j 00104 00106 void setColumn std size t j DynamicVector const r 00107 00108 std size t rows getRows 00109 for std size t i 0 i rows i 00110 this i j r i 00111 00112 void zero 00113 00114 std size t rows getRows 00115 std size t columns getColumns 00116 for std size t ii 0 ii rows ii 00117 for std size t jj 0 jj columns jj 00118 this ii jj 0 0 00119 00120 protected 00121 std size t columns 00122 DynamicArray double values 00123 00124 00126 inline void multiply DynamicMatrix const a 00127 DynamicVector const b 00128 DynamicVector r 00129 00130 std size t rows a getRows 00131 std size t columns a getColumns 00132 r setSize rows 00133 for std size t i 0 i rows i 00134 00135 r i a i 0 b 0 00136 for std size t j 1 j columns j 00137 r i a i j b j 00138 00139 00140 00142 inline void multiply DynamicVector const b 00143 DynamicMatrix const a 00144 DynamicVector r 00145 00146 std size t rows a getRows 00147 std size t columns a

    Original URL path: http://www.scorec.rpi.edu/~dibanez/core/apfDynamicMatrix_8h_source.html (2015-07-15)
    Open archived version from archive

  • SCOREC core: apfDynamicVector.h File Reference
    this file Classes class apf DynamicVector A runtime sized linear algebra vector of doubles More Namespaces namespace apf All APF symbols are contained in this namespace Functions template std size t N DynamicVector apf fromVector Vector N other convert an

    Original URL path: http://www.scorec.rpi.edu/~dibanez/core/apfDynamicVector_8h.html (2015-07-15)
    Open archived version from archive

  • SCOREC core: apfDynamicVector.h Source File
    00020 00021 class DynamicVector 00022 00033 class DynamicVector public DynamicArray double 00034 00035 public 00037 DynamicVector 00039 DynamicVector std size t n DynamicArray double n 00044 double operator std size t i const 00045 00046 return this i 00047 00049 double operator std size t i 00050 00051 return this i 00052 00054 DynamicVector operator DynamicVector const b 00055 00056 for std size t i 0 i size i 00057 this i b i 00058 return this 00059 00061 DynamicVector operator DynamicVector const b 00062 00063 for std size t i 0 i size i 00064 this i b i 00065 return this 00066 00068 DynamicVector operator double s 00069 00070 for std size t i 0 i size i 00071 this i s 00072 return this 00073 00075 DynamicVector operator double s 00076 00077 for std size t i 0 i size i 00078 this i s 00079 return this 00080 00082 double operator DynamicVector const b const 00083 00084 double r 0 00085 for std size t i 0 i size i 00086 r this i b i 00087 return r 00088 00090 double getLength return sqrt this this 00092 void zero 00093 00094 for std size t

    Original URL path: http://www.scorec.rpi.edu/~dibanez/core/apfDynamicVector_8h_source.html (2015-07-15)
    Open archived version from archive

  • SCOREC core: apfMatrix.h File Reference
    t i std size t j get the minor matrix associated with entry i j of matrix A template std size t M std size t N double apf getCofactor Matrix M N const A std size t i std size t j get the cofactor associated with entry i j of matrix A template std size t M std size t N double apf getDeterminant Matrix M N const A get the determinant of a matrix A Matrix 3 3 apf cofactor Matrix 3 3 const m get the matrix of cofactors for a given matrix Matrix 2 2 apf invert Matrix 2 2 const m invert a 2 by 2 matrix Matrix 3 3 apf invert Matrix 3 3 const m invert a 3 by 3 matrix template std size t M std size t N double apf getInnerProduct Matrix M N const a Matrix M N const b get the component wise inner product of two matrices Matrix3x3 apf cross Vector3 const u get the skew symmetric cross product matrix of a vector Matrix3x3 apf rotate Vector3 const u double a get the rotation matrix around an axis Matrix3x3 apf getFrame Vector3 const v derive an orthogonal

    Original URL path: http://www.scorec.rpi.edu/~dibanez/core/apfMatrix_8h.html (2015-07-15)
    Open archived version from archive



  •