Loading TODO +7 −1 Original line number Diff line number Diff line TODO: Mesh * vsechny traits zkusit presunout do jednotneho MeshTraits, tj. temer MeshConfigTraits ale pojmenovat jako MeshTraits * omezit tnlDimesnionsTag - asi to ale nepujde - ale pozor na konstrukce jako BaseType::superentityIdsArray< SuperDimensionTag >( DimensionsTag ); ( v tnlMesh.h) * prejmenovat Tagy v topologies na Topology zrejme * zrusit tnlStorageTraits TODO: v tnlMeshResolver se provadi preklad pro vsechny mozne sablonove parametry => prorezat TODO: napsat FunctionDiscretizer pro jednotne rozhrani RightHandSide TODO: doplnit mesh travelsals pro jine mesh entity nez cell TODO: implementace maticovych resicu * Gaussova eliminace * SOR metoda Loading examples/heat-equation/tnl-heat-equation-eoc.h +3 −3 Original line number Diff line number Diff line Loading @@ -28,10 +28,10 @@ #include <problems/tnlHeatEquationEocRhs.h> #include <problems/tnlHeatEquationEocProblem.h> //typedef tnlDefaultBuildConfigTag BuildConfig; //typedef tnlDefaultBuildMeshConfig BuildConfig; typedef tnlFastBuildConfig BuildConfig; template< typename ConfigTag > template< typename MeshConfig > class heatEquationEocConfig { public: Loading @@ -47,7 +47,7 @@ template< typename Real, typename Device, typename Index, typename MeshType, typename ConfigTag, typename MeshConfig, typename SolverStarter > class heatEquationSetter { Loading examples/heat-equation/tnl-heat-equation.h +3 −3 Original line number Diff line number Diff line Loading @@ -29,10 +29,10 @@ #include <functors/tnlConstantFunction.h> #include <problems/tnlHeatEquationProblem.h> //typedef tnlDefaultBuildConfigTag BuildConfig; //typedef tnlDefaultBuildMeshConfig BuildConfig; typedef tnlFastBuildConfig BuildConfig; template< typename ConfigTag > template< typename MeshConfig > class heatEquationConfig { public: Loading @@ -54,7 +54,7 @@ template< typename Real, typename Device, typename Index, typename MeshType, typename ConfigTag, typename MeshConfig, typename SolverStarter > class heatEquationSetter { Loading src/core/CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ ADD_SUBDIRECTORY( arrays ) ADD_SUBDIRECTORY( containers ) ADD_SUBDIRECTORY( cuda ) ADD_SUBDIRECTORY( vectors ) ADD_SUBDIRECTORY( multimaps ) set (headers tnlAssert.h tnlConstants.h Loading src/core/arrays/tnlSharedArray_impl.h +3 −2 Original line number Diff line number Diff line Loading @@ -120,8 +120,9 @@ void tnlSharedArray< Element, Device, Index > :: bind( Array& array, IndexType index, IndexType size ) { tnlStaticAssert( Array::DeviceType::DeviceType == DeviceType::DeviceType, "Attempt to bind arrays between different devices." ); //tnlStaticAssert( Array::DeviceType::DeviceType == DeviceType::DeviceType, // "Attempt to bind arrays between different devices." ); // TODO: fix this - it does nto work with tnlStaticArray this->data = &( array. getData()[ index ] ); if( ! size ) this->size = array. getSize(); Loading Loading
TODO +7 −1 Original line number Diff line number Diff line TODO: Mesh * vsechny traits zkusit presunout do jednotneho MeshTraits, tj. temer MeshConfigTraits ale pojmenovat jako MeshTraits * omezit tnlDimesnionsTag - asi to ale nepujde - ale pozor na konstrukce jako BaseType::superentityIdsArray< SuperDimensionTag >( DimensionsTag ); ( v tnlMesh.h) * prejmenovat Tagy v topologies na Topology zrejme * zrusit tnlStorageTraits TODO: v tnlMeshResolver se provadi preklad pro vsechny mozne sablonove parametry => prorezat TODO: napsat FunctionDiscretizer pro jednotne rozhrani RightHandSide TODO: doplnit mesh travelsals pro jine mesh entity nez cell TODO: implementace maticovych resicu * Gaussova eliminace * SOR metoda Loading
examples/heat-equation/tnl-heat-equation-eoc.h +3 −3 Original line number Diff line number Diff line Loading @@ -28,10 +28,10 @@ #include <problems/tnlHeatEquationEocRhs.h> #include <problems/tnlHeatEquationEocProblem.h> //typedef tnlDefaultBuildConfigTag BuildConfig; //typedef tnlDefaultBuildMeshConfig BuildConfig; typedef tnlFastBuildConfig BuildConfig; template< typename ConfigTag > template< typename MeshConfig > class heatEquationEocConfig { public: Loading @@ -47,7 +47,7 @@ template< typename Real, typename Device, typename Index, typename MeshType, typename ConfigTag, typename MeshConfig, typename SolverStarter > class heatEquationSetter { Loading
examples/heat-equation/tnl-heat-equation.h +3 −3 Original line number Diff line number Diff line Loading @@ -29,10 +29,10 @@ #include <functors/tnlConstantFunction.h> #include <problems/tnlHeatEquationProblem.h> //typedef tnlDefaultBuildConfigTag BuildConfig; //typedef tnlDefaultBuildMeshConfig BuildConfig; typedef tnlFastBuildConfig BuildConfig; template< typename ConfigTag > template< typename MeshConfig > class heatEquationConfig { public: Loading @@ -54,7 +54,7 @@ template< typename Real, typename Device, typename Index, typename MeshType, typename ConfigTag, typename MeshConfig, typename SolverStarter > class heatEquationSetter { Loading
src/core/CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ ADD_SUBDIRECTORY( arrays ) ADD_SUBDIRECTORY( containers ) ADD_SUBDIRECTORY( cuda ) ADD_SUBDIRECTORY( vectors ) ADD_SUBDIRECTORY( multimaps ) set (headers tnlAssert.h tnlConstants.h Loading
src/core/arrays/tnlSharedArray_impl.h +3 −2 Original line number Diff line number Diff line Loading @@ -120,8 +120,9 @@ void tnlSharedArray< Element, Device, Index > :: bind( Array& array, IndexType index, IndexType size ) { tnlStaticAssert( Array::DeviceType::DeviceType == DeviceType::DeviceType, "Attempt to bind arrays between different devices." ); //tnlStaticAssert( Array::DeviceType::DeviceType == DeviceType::DeviceType, // "Attempt to bind arrays between different devices." ); // TODO: fix this - it does nto work with tnlStaticArray this->data = &( array. getData()[ index ] ); if( ! size ) this->size = array. getSize(); Loading