DisCostiC v2.0.0
Distributed Cost in Cluster: a cross-architecture simulator for massively parallel MPI programs
Loading...
Searching...
No Matches
DataType.hpp File Reference
#include <set>
#include <vector>
#include "enum.hpp"
+ Include dependency graph for DataType.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DataType::vector3T< Tx, Ty, Tz >
 a class to represent fixed-size three-dimensional vector data-type of arbitrary types with coefficients type, addr, size More...
 
struct  DisCosTiC::std_iter< scalarT >
 a time stepping loop More...
 
struct  DisCosTiC::iteratorRange< scalarT >
 iterator ranges for each entityTypes to support iteration with range-based for loops. Iterating over sets of entityTypes is one of the most common operation. Our infrastructure implements this custom range-based for loops in the C++ ways by providing iterators and matching begin(), end() and stepSize(scalarT stepSize) methods. More...
 
struct  DisCosTiC::iteratorRange< scalarT >::iteratorRangeStep
 wrapper class of range-based for loop with certain step size More...
 
struct  DisCosTiC::iteratorRange< scalarT >::iteratorRangeStep::iter
 
struct  DisCosTiC::iteratorRange< scalarT >::iter
 

Namespaces

namespace  DataType
 < enumerated types
 
namespace  DisCosTiC
 < benchmark test cases
 

Typedefs

using real_t = double
 
using size_t = std::size_t
 
using DisCosTiC_Timetype = double
 
using DisCosTiC_Datatype = std::size_t
 
using DisCosTiC_Indextype = std::size_t
 
using idSetT = std::set<DisCosTiC_Indextype>
 
using vec1T = std::vector<DisCosTiC_Indextype>
 
using Time = std::vector<DisCosTiC_Timetype>
 
using Real = std::vector<real_t>
 
using Timevec2T = std::vector<std::vector<DisCosTiC_Timetype>>
 
using vec3T = DataType::vector3T<size_t, size_t, DisCosTiC_Timetype>
 
using locop_t = std::vector<std::pair<DisCosTiC_Indextype, DisCosTiC::Mode_t> >
 identify local operations for dependencies
 
using locopPair_t = std::pair<locop_t, locop_t>
 

Functions

template<typename scalarT >
iteratorRange< scalarT > DisCosTiC::getRange (scalarT begin, scalarT end)
 
template<typename scalarT >
iteratorRange< scalarT > DisCosTiC::getRange (scalarT end)
 

Detailed Description

DATATYPE_HPP

\author : Ayesha Afzal ayesh.nosp@m.a.af.nosp@m.zal@f.nosp@m.au.d.nosp@m.e \copyright © 2024 HPC, FAU Erlangen-Nuremberg. All rights reserved.

Definition in file DataType.hpp.

Typedef Documentation

◆ DisCosTiC_Datatype

Definition at line 52 of file DataType.hpp.

◆ DisCosTiC_Indextype

Definition at line 53 of file DataType.hpp.

◆ DisCosTiC_Timetype

using DisCosTiC_Timetype = double

Definition at line 51 of file DataType.hpp.

◆ idSetT

using idSetT = std::set<DisCosTiC_Indextype>

Definition at line 54 of file DataType.hpp.

◆ locop_t

using locop_t = std::vector<std::pair<DisCosTiC_Indextype, DisCosTiC::Mode_t> >

identify local operations for dependencies

Definition at line 63 of file DataType.hpp.

◆ locopPair_t

using locopPair_t = std::pair<locop_t, locop_t>

Definition at line 64 of file DataType.hpp.

◆ Real

using Real = std::vector<real_t>

Definition at line 60 of file DataType.hpp.

◆ real_t

using real_t = double

Definition at line 48 of file DataType.hpp.

◆ size_t

using size_t = std::size_t

Definition at line 49 of file DataType.hpp.

◆ Time

using Time = std::vector<DisCosTiC_Timetype>

Definition at line 59 of file DataType.hpp.

◆ Timevec2T

using Timevec2T = std::vector<std::vector<DisCosTiC_Timetype>>

Definition at line 61 of file DataType.hpp.

◆ vec1T

using vec1T = std::vector<DisCosTiC_Indextype>

Definition at line 58 of file DataType.hpp.

◆ vec3T

Definition at line 62 of file DataType.hpp.