ASL  0.1.7
Advanced Simulation Library
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
asl Namespace Reference

Advanced Simulation Library. More...

Namespaces

 elasticity
 

Classes

class  ABDFileIn
 ABD (ASL Binary Dump) file, input. More...
 
class  ABDFileOut
 ABD (ASL Binary Dump) file, output. More...
 
class  AbstractData
 
class  AbstractDataWithGhostNodes
 
class  AMatr
 
class  ApplicationParametersManager
 
class  AVec
 
class  Barycentric
 realize Barycentric algoritms for trianles generated within Kernel More...
 
class  BCAccelerationSource2
 Bondary condition local force(acceleration) More...
 
class  BCConstantFluxMap
 Bondary condition that makes constant flux for pure diffusion. More...
 
class  BCConstantGradient
 Bondary condition that makes fixed gradient. More...
 
class  BCConstantGradientMap
 Bondary condition that makes fixed gradient. More...
 
class  BCConstantGradientMap2
 Bondary condition that puts fixed value in each point. More...
 
class  BCConstantPressure
 Bondary condition corresponding an in- or outflow boundary conditions with a given pressure. More...
 
class  BCConstantPressureVelocity
 Bondary condition corresponding wall with given velocity for uncompressible. More...
 
class  BCConstantPressureVelocityMap
 
class  BCConstantSource
 Bondary condition that adds fixed value to one in each point. More...
 
class  BCConstantValue
 Bondary condition that puts fixed value in each point. More...
 
class  BCConstantValueMap
 Bondary condition that puts fixed value in each point. More...
 
class  BCConstantValueMiddlePointMap
 Bondary condition that puts fixed value in each boundary point. More...
 
class  BCConstantVelocity
 Bondary condition corresponding wall with given velocity for uncompressible. More...
 
class  BCDirectCopier
 Bondary condition that copies directly the values from one data to another. More...
 
class  BCFreeSurface
 Bondary condition corresponding to a free surface ( \(\partial_{\vec n}u=0\) and \(\partial_{\vec n}\dot u=0\)) More...
 
class  BCFreeSurface2
 Bondary condition corresponding to a free surface ( \(\partial_{\vec n}u=0\)) More...
 
class  BCImposedDisplacementVelocityValue
 Bondary condition set given values to displacement/velocity. More...
 
class  BCKineticsLimitedDepositionMap
 Set outflux corresponding to kinetics and transport limitations of the deposition rate. More...
 
class  BCLBGKCommon
 
class  BCLinearGrowthMap
 
class  BCLinearGrowthMap1
 Boundary condition that makes gradient proportional to a surface concentration. More...
 
class  BCLinearGrowthMap2
 
class  BCNoSlip
 Bondary condition corresponding to a rigid wall ( \( \vec u=0\)) More...
 
class  BCNoSlipMap
 Bondary condition corresponding to a rigid wall ( \( \vec u=0\)) More...
 
class  BCond
 Virtual class describes general interface for boundary conditions. More...
 
class  BCondConnector
 Virtual class describes general interface for boundary conditions which connect two datas. More...
 
class  BCondConnectorSlice
 Virtual class describes general interface for boundary conditions which connect two datas. More...
 
class  BCondDynamic
 Virtual class describes general interface for boundary conditions. More...
 
class  BCondSlice
 Virtual class describes general interface for boundary conditions. More...
 
class  BCondWithMap
 Virtual class describes general interface for boundary conditions. More...
 
class  BCRigidWall
 Bondary condition corresponding to a rigid wall ( \(\vec u=0\) and \(\nabla p=0\)) More...
 
class  BCRigidWallDF
 Bondary condition corresponding to a rigid wall ( \(\vec u=0\) and \(\nabla p=0\)) More...
 
class  BCRigidWallPoroElasticity
 Bondary condition corresponding to a rigid wall ( \(\vec u=0\) and \(\nabla p=0\)) More...
 
class  BCRigidWallRelaxation
 Bondary condition corresponding to a rigid wall ( \(\vec u=0\) and \(\nabla p=0\)) More...
 
class  BCSConstantValue
 Bondary condition that puts fixed value in each point uses Slices. More...
 
class  BCTransportLimitedDepositionMap
 Set outflux corresponding to transport limitation of the deposition rate. More...
 
class  BCValuePFMap
 Bondary condition that puts fixed value in each point. More...
 
class  BCVelocityMap
 
class  BCZeroStressMap
 Bondary condition corresponding to a free surface. More...
 
class  Block
 
class  Box
 The block without discretization (size and position are float) More...
 
class  comparatorIndeces
 
class  ComputeSurfaceFluxMap
 
class  ComputeSurfaceForceMap
 
class  CrystallographicParameters
 describes crystalographyly specific date More...
 
class  DataClipper
 Algorithm for generation of coarsed dataset. More...
 
class  DataCoarser
 Algorithm for generation of coarsed dataset. More...
 
class  DataInterpolation
 
class  DataWithGhostNodes
 
class  DataWrapper
 Class defines a folding rule into a 1D/2D/3D bulk. More...
 
class  DFOptimizer
 Numerical method which makes changes in the input map and produces map suitbale and optimal for use in BC. More...
 
class  DistanceFunction
 
class  DistFBinaryOperation
 
class  DistFCone
 
class  DistFCylinder
 
class  DistFNormalization
 
class  DistFOperationAnd
 
class  DistFOperationInversion
 
class  DistFOperationOr
 
class  DistFPlane
 
class  DistFSphere
 
class  DistFUnaryOperation
 
class  ElasticityCommonA
 abstract class for elasticity solver More...
 
class  FDAdvectionDiffusion
 Numerical method which computes multicomponent transport processes. More...
 
class  FDAdvectionDiffusion2
 Numerical method which computes multicomponent transport processes; \(O^2(dt)\). More...
 
class  FDAdvectionDiffusionExtended
 Numerical method which computes multicomponent transport processes. More...
 
class  FDAdvectionDiffusionInhomogeneous
 Numerical method which computes multicomponent transport processes. More...
 
class  FDBVKinetics
 Numerical method which computes electrode reactions. More...
 
class  FDElasticity2
 Numerical method which computes homogenious isotropic elasticity equation. More...
 
class  FDElasticityIncompressibleStatic
 Numerical method which computes homogenious isotropic elasticity equation. More...
 
class  FDElasticityRelaxation
 Numerical method which computes homogenious isotropic elasticity equation. More...
 
class  FDMultiPhase
 Numerical method which computes multiphase transport processes. More...
 
class  FDPoroElasticity
 Numerical method which computes homogenious isotropic poro-elasticity equation. More...
 
class  FDStefanMaxwell
 Numerical method which computes multicomponent transport processes. More...
 
class  FDStefanMaxwellElectricField
 
class  GlobalSpace
 
class  I2T
 This class is used in order to overload function according to an integer parameter. More...
 
class  Index2PositionACL
 
class  Index2PositionDiscreteACL
 
class  InterfaceTrackingAlg1
 Numerical method which computes evolution of an interface. More...
 
class  LBGK
 Numerical method for fluid flow. More...
 
class  LBGKTurbulence
 
class  LBGKUtilities
 contains different kernels for preprocessing and posprocessing of data used by LBGK More...
 
class  LevelSet
 Numerical method which computes evolution of an interface. More...
 
class  LevelSetLinear
 Numerical method which computes evolution of an interface. More...
 
class  LinearSpline
 Linear spline function. More...
 
class  LSFacetedGrowth
 Numerical method which computes evolution of an interface with a crystalographic kinetics. More...
 
class  LSNormalGrowth
 Numerical method which computes evolution of an interface. More...
 
class  MemElementBase
 
class  MemVector
 
class  NumMethod
 
class  NumMethodsMerger
 
class  Parameter
 
class  ParametersManager
 
class  PFBinaryOperation
 
class  PFConstant
 
class  PFLinear
 
class  PFOperationInversion
 
class  PFOperationMinus
 
class  PFOperationPlus
 
class  PFOperationProduct
 
class  PFRotationField
 creates function corresponding to a velocity field More...
 
class  PFSign
 
class  PFUnaryOperation
 
class  PositionFunction
 
class  Probe
 Collects point values from the input data. More...
 
class  ProbeLI
 Collects point values from the input data with linear interpolation. More...
 
class  ProbeTemplate
 
class  QuadraticSpline
 Quadratic spline function. More...
 
class  QubicSpline
 Qubic spline function. More...
 
class  QubicSpline1
 Qubic spline function. More...
 
class  SingleKernelMapNM
 
class  SingleKernelNM
 
class  TemplateVE
 This class contains VectorOfElements which corresponds to values of a field in littice nodes. More...
 
class  TimeContinPLagrange
 Numerical method that generates temporal extrapolation of the data with Lagrangian polynoms. More...
 
class  TimeContinPLagrangeFraction
 Numerical method that generates temporal extrapolation of the data with Lagrangian polynoms of fractional argument. More...
 
class  TimeContinuations
 Numerical method that generates temporal extrapolation of the data, Abstract class. More...
 
class  Timer
 
class  TimeStamp
 
class  UniversalFunction
 
class  UValue
 Updatable value. This class stores value and its TimeStamp. More...
 
class  VectorTemplate
 Defines set of vectros with several properties. More...
 
class  VTObjects
 Defines andditionl features related to a VectorTemplate. More...
 
class  Writer
 
class  WriterVTKXML
 

Typedefs

typedef DataWithGhostNodes< acl::VectorOfElementsDataDataWithGhostNodesACLData
 
typedef std::shared_ptr< DataWithGhostNodesACLDataSPDataWithGhostNodesACLData
 
typedef DataWithGhostNodes< acl::VectorOfElementsDataWithGhostNodesACL
 
typedef std::shared_ptr< DataWithGhostNodesACLSPDataWithGhostNodesACL
 
typedef std::shared_ptr< AbstractDataWithGhostNodesSPAbstractDataWithGhostNodes
 
typedef DataWrapper< acl::VectorOfElementsDataDataWrapperACLData
 
typedef std::shared_ptr< DataWrapperACLDataSPDataWrapperACLData
 
typedef DataWrapper< acl::VectorOfElementsDataWrapperACL
 
typedef std::shared_ptr< DataWrapperACLSPDataWrapperACL
 
typedef std::shared_ptr< DistanceFunctionSPDistanceFunction
 
typedef shared_ptr< AbstractDataSPAbstractData
 
typedef std::shared_ptr< MemElementBaseMemElement
 
typedef std::shared_ptr< ElementBase > Element
 
typedef std::shared_ptr< PositionFunctionSPPositionFunction
 
typedef std::shared_ptr< BCondSPBCond
 
typedef std::shared_ptr< DataCoarserSPDataCoarser
 
typedef std::shared_ptr< DataClipperSPDataClipper
 
typedef std::shared_ptr< DFOptimizerSPDFOptimizer
 
typedef std::shared_ptr< FDAdvectionDiffusionSPFDAdvectionDiffusion
 
typedef std::shared_ptr< FDAdvectionDiffusion2SPFDAdvectionDiffusion2
 
typedef std::shared_ptr< FDAdvectionDiffusionInhomogeneousSPFDAdvectionDiffusionInhomogeneous
 
typedef std::shared_ptr< FDElasticityIncompressibleStaticSPFDElasticityIncompressibleStatic
 
typedef std::shared_ptr< FDElasticityRelaxationSPFDElasticityRelaxation
 
typedef std::shared_ptr< FDElasticity2SPFDElasticity2
 
typedef std::shared_ptr< ElasticityCommonASPElasticityCommonA
 
typedef std::shared_ptr< FDBVKineticsSPFDBVKinetics
 
typedef std::shared_ptr< FDMultiPhaseSPFDMultiPhase
 
typedef std::shared_ptr< FDPoroElasticitySPFDPoroElasticity
 
typedef std::shared_ptr< FDStefanMaxwellSPFDStefanMaxwell
 
typedef std::shared_ptr< FDStefanMaxwellElectricFieldSPFDStefanMaxwellElectricField
 
typedef std::shared_ptr< InterfaceTrackingAlg1SPInterfaceTrackingAlg1
 
typedef std::shared_ptr< LBGKSPLBGK
 
typedef std::shared_ptr< LBGKUtilitiesSPLBGKUtilities
 
typedef std::shared_ptr< LBGKTurbulenceSPLBGKTurbulence
 
typedef std::shared_ptr< LevelSetSPLevelSet
 
typedef std::shared_ptr< LevelSetLinearSPLevelSetLinear
 
typedef std::shared_ptr< LSFacetedGrowthSPLSFacetedGrowth
 
typedef std::shared_ptr< LSNormalGrowthSPLSNormalGrowth
 
typedef std::shared_ptr< NumMethodSPNumMethod
 
typedef std::shared_ptr< SingleKernelNMSPSingleKernelNM
 
typedef std::shared_ptr< TimeContinPLagrangeSPTimeContinPLagrange
 
typedef std::shared_ptr< TimeContinPLagrangeFractionSPTimeContinPLagrangeFraction
 
typedef std::shared_ptr< FDAdvectionDiffusionExtendedSPFDAdvectionDiffusionExtended
 

Enumerations

enum  VTName {
  VTN_D1Q2EC, VTN_D2Q4EC, VTN_D3Q8EC, VTN_D1Q3,
  VTN_D2Q5, VTN_D2Q9, VTN_D3Q7, VTN_D3Q15,
  VTN_D3Q19, VTN_D3Q27, VTN_D1Q1UV, VTN_D2Q2UV,
  VTN_D3Q3UV, VTN_D1Q2, VTN_D2Q4, VTN_D3Q6,
  VTN_D2Q8, VTN_D3Q14, VTN_D3Q18
}
 list of implemented names of VectorTemplate More...
 
enum  SlicesNames {
  X0, XE, Y0, YE,
  Z0, ZE
}
 defines names of walls of a box More...
 

Functions

void initData (SPAbstractData d, double a)
 
void initData (SPAbstractData d, const AVec< double > &a)
 
template<typename T >
SPDataWrapperACLData generateDataContainerACL_SP (const Block &b, unsigned int n=1)
 generates pointer to ACL Data field with n components More...
 
template<typename T >
SPDataWithGhostNodesACLData generateDataContainerACL_SP (const Block &b, unsigned int n, unsigned int gN)
 generates pointer to ACL Data field with n components and gN ghost nodes More...
 
template<typename T >
SPDataWithGhostNodesACLData generateDataContainerACL_SP (const Block &b, unsigned int n, unsigned int gN, acl::CommandQueue queue)
 generates pointer to ACL Data field with n components and gN ghost nodes More...
 
SPDataWithGhostNodesACLData generateDataContainerACL_SP (const Block &b, acl::TypeID t, unsigned int n, unsigned int gN, acl::CommandQueue queue)
 generates pointer to ACL Data field with n components of type t and gN ghost nodes More...
 
SPDataWithGhostNodesACLData generateDataContainerACL_SP (const Block &b, acl::TypeID t, unsigned int n, unsigned int gN)
 generates pointer to ACL Data field with n components of type t and gN ghost nodes More...
 
SPDataWrapperACL generateDataContainer_SP (const Block &b, const acl::VectorOfElements &a)
 
SPDataWithGhostNodesACL generateDataContainer_SP (const Block &b, const acl::VectorOfElements &a, unsigned int gN)
 generates pointer to ACL Data field with container a and gN ghost nodes More...
 
template<typename T >
SPDataWithGhostNodesACL generateDataContainerConst_SP (const Block &b, T a, unsigned int gN)
 
SPAbstractDataWithGhostNodes generateDCFullSafe (SPAbstractDataWithGhostNodes d)
 generates data container without ghost nodes and safe outOfboundary element acces More...
 
SPAbstractDataWithGhostNodes generateDCFullSafe (SPAbstractDataWithGhostNodes d, double outVal)
 generates data container without ghost nodes and safe outOfboundary element acces More...
 
SPDistanceFunction generateDFSphere (double r, const AVec< double > &c)
 generates sphere More...
 
SPDistanceFunction generateDFCylinderInf (double r, const AVec< double > &l, const AVec< double > &c)
 generates infinite cylinder More...
 
SPDistanceFunction generateDFCylinder (double r, const AVec< double > &l, const AVec< double > &c)
 generates cylinder More...
 
SPDistanceFunction generateDFCone (double r, const AVec< double > &l, const AVec< double > &a)
 generates cone More...
 
SPDistanceFunction generateDFPlane (const AVec< double > &n, const AVec< double > &p0)
 
SPDistanceFunction generateDFConvexPolygonPrism (std::vector< AVec< double >> points)
 generates infinite prism with convex polygon at its base More...
 
SPDistanceFunction generateDFConvexPolygonPyramid (std::vector< AVec< double >> points, AVec< double > a)
 generates pyramid with convex polygon at its base and apex a More...
 
SPDistanceFunction generateDFInBlock (const Block &b, unsigned int nG)
 generates map corresponding to external (ghost) part of the block More...
 
SPDistanceFunction operator& (SPDistanceFunction a, SPDistanceFunction b)
 
SPDistanceFunction operator| (SPDistanceFunction a, SPDistanceFunction b)
 
SPDistanceFunction operator- (SPDistanceFunction a)
 
SPDistanceFunction normalize (SPDistanceFunction a, double dx)
 
SPAbstractDataWithGhostNodes generateDataContainer_SP (const Block &b, SPDistanceFunction df, unsigned int gN, acl::TypeID t)
 
void initData (SPAbstractDataWithGhostNodes d, SPDistanceFunction f)
 Initialize d by f. More...
 
void initData (SPAbstractDataWithGhostNodes d, SPDistanceFunction f, const acl::KernelConfiguration &k)
 Initialize d by f. More...
 
template<typename T >
std::string numToStr (T i)
 Converts numbers or another type to string. More...
 
template<typename T >
std::string numToStr (T i, int numberOf0)
 Converts numbers or another type to string with given value of positions with 0 before. More...
 
template<typename T >
strToNum (std::string s)
 Converts string to number, exits if not able to convert. More...
 
template<int I>
const double P (const double &a)
 Realization of \( a^I \). More...
 
template<int I>
const float P (const float &a)
 
template<int I>
const int P (const int &a)
 
template<typename T >
bool in (const T &xx, const T &x1, const T &x2)
 Checks the belonging to a closed interval [x1,x2], \( xx \in [x1,x2] \). More...
 
template<typename T >
bool inO (const T &xx, const T &x1, const T &x2)
 Checks the belonging to an open interval (x1,x2), \( xx \in (x1,x2) \). More...
 
const double deg (double a)
 Translation radians to degrees. More...
 
const float deg (float a)
 
const double rad (double a)
 Translation degrees to radians. More...
 
const float rad (float a)
 
const bool approxEqual (const double &a, const double &b, const double p_=1e-6)
 Approximately equal; the precision is defined as p_. More...
 
const bool approxEqual (const float &a, const float &b, const float p_=1e-6)
 
void errorMessage (cl_int status, const char *errorMessage)
 Prints errorMessage and exits depending on the status. More...
 
void errorMessage (cl_int status, const std::string &errorMessage)
 Prints errorMessage and exits depending on the status. More...
 
void errorMessage (bool status)
 Prints " Ok" or " ERROR" depending on status. More...
 
void errorMessage (const char *errorMessage)
 Prints errorMessage and exits. More...
 
void errorMessage (const std::string &errorMessage)
 Prints errorMessage and exits. More...
 
void warningMessage (const char *warningMessage)
 Prints warningMessage. More...
 
void warningMessage (const std::string &warningMessage)
 Prints warningMessage. More...
 
std::string warningString (const char *warningMessage)
 Returns warningMessage. More...
 
template<typename T >
std::ostream & operator<< (std::ostream &output, const std::vector< T > &vector)
 Prints elements of the vector separated by space. More...
 
template<typename T >
bool operator== (const std::vector< T > &vector1, const std::vector< T > &vector2)
 Compares two vectors. More...
 
template<class T , int N>
void output1OfN (const std::string &s)
 Makes output 1 of n times. More...
 
template<class T >
void setupAll (std::vector< std::shared_ptr< T > > &v)
 
template<class T >
void computeAll (std::vector< std::shared_ptr< T > > &v)
 
template<class T1 , class T2 >
void sortTwoVectors (std::vector< T1 > &v1, std::vector< T2 > &v2)
 sorts two vectors with respect of the fist one More...
 
template<class T >
void reorderVector (std::vector< unsigned int > &ind, std::vector< T > &v)
 reorders vector according to indeces More...
 
const Block offset (const Block &bl, int a=1)
 
const unsigned int nD (const Block &b)
 
const bool in (const Block &b, AVec<> a)
 
const bool in (const Block &b, AVec< int > a)
 
const AVec< int > continiousToDiscret (const Block &b, AVec<> a)
 
AVec< int > castTransformVector (AVec< int > s)
 
acl::VectorOfElements uploadToLocalMem (AbstractData &source, const AVec< int > &size, unsigned int groupSize, acl::Kernel &kernel)
 
SPDataWrapperACL generateSubData (SPDataWrapperACL d, AVec< int > a, AVec< int > b)
 generates DataWraper with points placed inside a widow More...
 
SPDataWithGhostNodesACLData clone (SPDataWithGhostNodesACLData d)
 
SPDataWithGhostNodesACLData clone (SPDataWithGhostNodesACLData d, unsigned int n)
 
template<typename V >
std::shared_ptr< DataWithGhostNodes< V > > resizeGhostNodes (std::shared_ptr< DataWithGhostNodes< V >> d, unsigned int newGN)
 
acl::VectorOfElements isGhostNode (TemplateVE &distanceTVE, unsigned int i)
 returns expression corresponding to check if the node in i^th direction is ghost one More...
 
acl::VectorOfElements isComputationNode (TemplateVE &distanceTVE, unsigned int i)
 returns expression corresponding to check if the node in i^th direction is computation one More...
 
acl::VectorOfElements nGhostNodesInCell (TemplateVE &distanceTVE, unsigned int i)
 returns expression corresponding to number of ghost nodes in a cell i More...
 
acl::VectorOfElements isBoundaryBetween (TemplateVE &distanceTVE, unsigned int iE, unsigned int i, unsigned int j)
 returns expression corresponding to check if there is a boundary between nodes i^th and j^th within cell iE More...
 
acl::VectorOfElements exBoundaryX (TemplateVE &distanceTVE, unsigned int i)
 returns expression corresponding to the relative boundary position in direction i More...
 
acl::VectorOfElements exBoundaryCenter (TemplateVE &distanceTVE, unsigned int iEl)
 generates expresion for center of a boundary element More...
 
vector< acl::ElementgcBoundaryArea (TemplateVE &distanceTVE, unsigned int iEl, acl::VectorOfElements &center, acl::VectorOfElements &area)
 generates expresion for area of a boundary element More...
 
vector< acl::ElementgcBoundaryAreaPerGhostPoint (TemplateVE &distanceTVE, unsigned int iEl, acl::VectorOfElements &center, acl::VectorOfElements &area)
 generates expresion for area of a boundary element More...
 
vector< acl::ElementgcBoundaryArea (TemplateVE &distanceTVE, acl::VectorOfElements &area)
 generates expresion for area of a boundary element More...
 
vector< acl::ElementgcBoundaryAreaPerGhostPoint (TemplateVE &distanceTVE, acl::VectorOfElements &area)
 generates expresion for area of a boundary element More...
 
template<typename T >
AVec< T > solveSystem (const AMatr< T > &a, const AVec< T > &b)
 returns solution of a system of linear equations More...
 
template<typename T >
const AMatr< T > & operator+= (AMatr< T > &a, const AMatr< T > &b)
 
template<typename T >
const AMatr< T > operator+ (const AMatr< T > &a, const AMatr< T > &b)
 
template<typename T >
const AMatr< T > operator- (const AMatr< T > &a, const AMatr< T > &b)
 
template<typename T >
const AMatr< T > operator/ (const AMatr< T > &b, const T &a)
 
void getEValEVecMatSym2x2 (double a, double b, double c, double &l1, double &l2, double &v1x, double &v1y, double &v2x, double &v2y)
 Eigenvalues and eigenvectors calcutaion for symetric matrix 2x2. More...
 
void getEValEVecMatSym3x3 (double a, double b, double c, double e, double f, double g, double &l1, double &l2, double &l3, double &v1x, double &v1y, double &v1z, double &v2x, double &v2y, double &v2z, double &v3x, double &v3y, double &v3z)
 Eigenvalues and eigenvectors calcutaion for symetric matrix 2x2. More...
 
SPPositionFunction generatePFLinear (const AVec< double > &g, double p0)
 
template<typename T >
SPPositionFunction generatePFLinear (const AVec< double > &g, UValue< T > p0)
 
SPPositionFunction generatePFConstant (const AVec< double > &a)
 
SPPositionFunction generatePFConstant (double a)
 
SPPositionFunction generatePFRotationField (const AVec< double > &axis, const AVec< double > &c)
 
SPPositionFunction operator+ (SPPositionFunction a, SPPositionFunction b)
 
SPPositionFunction operator- (SPPositionFunction a, SPPositionFunction b)
 
SPPositionFunction operator- (SPPositionFunction a)
 
SPPositionFunction operator* (SPPositionFunction a, SPPositionFunction b)
 
SPPositionFunction sign (SPPositionFunction a)
 
SPAbstractDataWithGhostNodes generateDataContainer_SP (const Block &b, SPPositionFunction df, unsigned int gN, acl::TypeID t)
 
void initData (SPAbstractDataWithGhostNodes d, SPPositionFunction f)
 Initialize d by f. More...
 
void initData (SPAbstractDataWithGhostNodes d, SPPositionFunction f, const acl::KernelConfiguration &k)
 Initialize d by f. More...
 
const ProbeTemplateallMinimalProbeTemplate (unsigned int dimNumber)
 returns template corresponding to minimal probes More...
 
const ProbeTemplateminimalProbeTemplate (unsigned int dimNumber)
 
unsigned int nD (const VectorTemplate &vt)
 
const VectorTemplated1q2ec ()
 An elementary cell in 1D space. More...
 
const VectorTemplated2q4ec ()
 An elementary cell in 2D space. More...
 
const VectorTemplated3q8ec ()
 An elementary cell in 3D space. More...
 
const VectorTemplated1q3 ()
 Vector template. More...
 
const VectorTemplated2q5 ()
 Vector template. More...
 
const VectorTemplated2q9 ()
 Vector template. More...
 
const VectorTemplated3q7 ()
 Vector template. More...
 
const VectorTemplated3q15 ()
 Vector template. More...
 
const VectorTemplated3q19 ()
 Vector template. More...
 
const VectorTemplated3q27 ()
 Vector template. More...
 
const VectorTemplated1q1uv ()
 An unit vector in 1D space. More...
 
const VectorTemplated2q2uv ()
 An elementary cell in 2D space. More...
 
const VectorTemplated3q3uv ()
 An elementary cell in 3D space. More...
 
const VectorTemplated1q2 ()
 Vector template. More...
 
const VectorTemplated2q4 ()
 Vector template. More...
 
const VectorTemplated3q6 ()
 Vector template. More...
 
const VectorTemplated2q8 ()
 Vector template. More...
 
const VectorTemplated3q14 ()
 Vector template. More...
 
const VectorTemplated3q18 ()
 Vector template. More...
 
const VectorTemplatenearestNeigboursVT (unsigned int dimNumber)
 returns template corresponding to nearest neighbours More...
 
const VectorTemplatenearestNeigboursVT0 (unsigned int dimNumber)
 returns template corresponding to nearest neighbours without central point More...
 
const VectorTemplatenearestNeigboursPVT (unsigned int dimNumber)
 returns template corresponding to nearest neighbours plus More...
 
const VectorTemplateallNeigboursVT (unsigned int dimNumber)
 returns template corresponding to all neighbours More...
 
const VectorTemplateelementaryCellVT (unsigned int dimNumber)
 returns template corresponding to an elementary cell More...
 
unsigned int nD (const VTObjects vto)
 
const VTObjectsvtObject (const VectorTemplate *)
 Returns vtObjecs corresponding to the given VectorTemplate. More...
 
const VTObjectsd2q5Objs ()
 Vector template. More...
 
const VTObjectsd3q7Objs ()
 Vector template. More...
 
const VTObjectsd2q9Objs ()
 Vector template. More...
 
const VTObjectsd3q15Objs ()
 Vector template. More...
 
const VTObjectsd3q19Objs ()
 Vector template. More...
 
unsigned int nD (const VTObjects &vto)
 
TemplateVE operator+ (const TemplateVE &a, const TemplateVE &b)
 
TemplateVE operator- (const TemplateVE &a, const TemplateVE &b)
 
TemplateVE operator* (const TemplateVE &a, const TemplateVE &b)
 
TemplateVE operator/ (const TemplateVE &a, const TemplateVE &b)
 
acl::VectorOfElements laplas (const TemplateVE &a)
 differential operator \( \Delta a \) More...
 
acl::VectorOfElements gradient (const TemplateVE &a)
 differential operator \( \vec\nabla a \) More...
 
acl::VectorOfElements dx (const TemplateVE &a)
 differential operator \( \partial_x a \) More...
 
acl::VectorOfElements dy (const TemplateVE &a)
 differential operator \( \partial_y a \) More...
 
acl::VectorOfElements dz (const TemplateVE &a)
 differential operator \( \partial_z a \) More...
 
acl::VectorOfElements dxi (const TemplateVE &a, unsigned int i)
 differential operator \( \partial_{i} a \) More...
 
acl::VectorOfElements divAgradB (const TemplateVE &a, const TemplateVE &b)
 differential operator \( \nabla(a \nabla b) \) More...
 
acl::VectorOfElements div (const vector< TemplateVE > &a)
 differential operator \( \nabla \cdot \vec a \) More...
 
acl::VectorOfElements divProduct (const vector< TemplateVE > &a, const TemplateVE &c)
 differential operator \( \nabla \cdot (\vec a c) \) More...
 
acl::VectorOfElements div (const TemplateVE &ax, const TemplateVE &ay)
 differential operator \( \nabla \cdot \vec a \) More...
 
acl::VectorOfElements div (const TemplateVE &ax, const TemplateVE &ay, const TemplateVE &az)
 differential operator \( \nabla \cdot \vec a \) More...
 
acl::VectorOfElements dIdJ (unsigned int i, unsigned int j, const TemplateVE &a)
 differential operator \( \nabla_i \nabla_j a \) More...
 
acl::VectorOfElements interpolate (const TemplateVE &a, acl::VectorOfElements e)
 generates expresion for bilinear interpolation the template should be an elementary cell More...
 
acl::VectorOfElements cellValues (const TemplateVE &a, unsigned int iEl)
 returns VectorOfElements containing values in cell corners More...
 
acl::VectorOfElements gradient (const TemplateVE &a, unsigned int iEl)
 differential operator \( \vec\nabla a \) within a cell More...
 
vector< acl::ElementgcGradientAllCells (const TemplateVE &a, vector< acl::VectorOfElements > &values)
 differential operator \( \vec\nabla a \) within all cells More...
 
template<typename T >
AVec< T > makeAVec (T a1)
 
template<typename T >
AVec< T > makeAVec (T a1, T a2)
 
template<typename T >
AVec< T > makeAVec (T a1, T a2, T a3)
 
template<typename T >
AVec< T > makeAVec (T a1, T a2, T a3, T a4)
 
template<typename T >
std::ostream & operator<< (std::ostream &output, const AVec< T > &a)
 
template<typename T >
const unsigned int nD (const AVec< T > a)
 
template<typename T1 , typename T2 >
bool compatibleSizes (AVec< T1 > a, AVec< T2 > b)
 
template<typename T >
const T l2 (const AVec< T > &a)
 
template<typename T >
const AVec normalize (const AVec< T > &a)
 
template<typename T >
const AVec< T > operator+ (const AVec< T > &a, const AVec< T > &b)
 
template<typename T >
const AVec< T > operator- (const AVec< T > &a, const AVec< T > &b)
 
template<typename T >
const AVec< T > operator- (const AVec< T > &a)
 
template<typename T >
const T operator* (const AVec< T > &a, const AVec< T > &b)
 
template<typename T >
const AVec< T > operator* (const AVec< T > &a, const T &b)
 
template<typename T >
const AVec< T > operator* (const T &a, const AVec< T > &b)
 
template<typename T >
const AVec< T > operator/ (const AVec< T > &a, const T &b)
 
template<typename T >
const AVec< T > & operator+= (AVec< T > &a, const AVec< T > &b)
 
template<typename T >
const AVec< T > & operator-= (AVec< T > &a, const AVec< T > &b)
 
template<typename T >
const AVec< T > & operator*= (AVec< T > &a, const T &b)
 
template<typename T >
const bool operator== (const AVec< T > &a, const AVec< T > &b)
 
template<typename T >
const bool operator!= (const AVec< T > &a, const AVec< T > &b)
 
template<typename T >
const AVec< T > crossProduct (const AVec< T > &a, const AVec< T > &b)
 
template<typename T >
const T minComponent (const AVec< T > &a)
 
template<typename T >
const T maxComponent (const AVec< T > &a)
 
template<typename T >
AVec< T > subAVec (const AVec< T > &source, unsigned int start, unsigned int end)
 
template<typename T >
sumOfElements (const AVec< T > &a)
 
template<typename T >
productOfElements (const AVec< T > &a)
 
template<typename T >
const AVec< T > productOfElements (const AVec< T > &a, const AVec< T > &b)
 
template<typename T >
const AVec< T > divisionOfElements (const AVec< T > &a, const AVec< T > &b)
 
template<typename T >
const bool positive (const AVec< T > &a)
 
template<typename T >
const bool nonNegative (const AVec< T > &a)
 
const AVec< int > floor (const AVec<> &a)
 
const AVec< int > round (const AVec<> &a)
 
double computePolynom (double x, AVec<> &coefs)
 
SPBCond generateBCConstantValue (SPAbstractDataWithGhostNodes d, double v, const std::vector< SlicesNames > &sl)
 Bondary condition that puts fixed value in each point. More...
 
SPBCond generateBCConstantValue (SPAbstractDataWithGhostNodes d, UValue< double > &v, const std::vector< SlicesNames > &sl)
 Bondary condition that puts fixed value in each point. More...
 
SPBCond generateBCConstantValue (SPAbstractDataWithGhostNodes d, UValue< AVec< float >> &v, const std::vector< SlicesNames > &sl)
 Bondary condition that puts fixed value in each point. More...
 
SPBCond generateBCConstantValue (SPAbstractDataWithGhostNodes d, AVec<> v, const std::vector< SlicesNames > &sl)
 Bondary condition that puts fixed value in each point. More...
 
SPNumMethod generateBCConstantValue (SPAbstractDataWithGhostNodes d, double v, SPAbstractDataWithGhostNodes map)
 Bondary condition that puts fixed value in each point. More...
 
SPNumMethod generateBCConstantValue (SPAbstractDataWithGhostNodes d, AVec<> v, SPAbstractDataWithGhostNodes map)
 Bondary condition that puts fixed value in each point. More...
 
SPNumMethod generateBCConstantValue (SPAbstractDataWithGhostNodes d, SPPositionFunction v, SPAbstractDataWithGhostNodes map)
 Bondary condition that puts fixed value in each point. More...
 
SPNumMethod generateBCConstantValueMiddlePoint (SPAbstractDataWithGhostNodes d, double v, SPAbstractDataWithGhostNodes map, const VectorTemplate *const t)
 Bondary condition that puts fixed value in each point. More...
 
SPNumMethod generateBCConstantValueMiddlePoint (SPAbstractDataWithGhostNodes d, AVec<> v, SPAbstractDataWithGhostNodes map, const VectorTemplate *const t)
 Bondary condition that puts fixed value in each point. More...
 
SPBCond generateBCConstantGradient (SPAbstractDataWithGhostNodes d, double v, const VectorTemplate *const t, const std::vector< SlicesNames > &sl)
 Bondary condition that makes fixed gradient. More...
 
SPNumMethod generateBCConstantGradient (SPAbstractDataWithGhostNodes d, double v, SPAbstractDataWithGhostNodes map, const VectorTemplate *const t)
 Bondary condition that makes fixed gradient. More...
 
SPNumMethod generateBCConstantGradient (SPAbstractDataWithGhostNodes d, double v, SPAbstractDataWithGhostNodes map, SPAbstractDataWithGhostNodes computatinalDomain, const VectorTemplate *const t)
 Bondary condition that makes fixed gradient. More...
 
SPNumMethod generateBCConstantGradient (SPAbstractDataWithGhostNodes d, AVec<> v, SPAbstractDataWithGhostNodes map, const VectorTemplate *const t)
 Bondary condition that makes fixed gradient. More...
 
SPNumMethod generateBCConstantGradient2 (SPAbstractDataWithGhostNodes d, double v, SPAbstractDataWithGhostNodes map, const VectorTemplate *const t)
 Bondary condition that makes fixed gradient, second order accuracy. More...
 
SPNumMethod generateBCConstantGradient2 (SPAbstractDataWithGhostNodes d, double v, SPAbstractDataWithGhostNodes map, SPAbstractDataWithGhostNodes computatinalDomain, const VectorTemplate *const t)
 Bondary condition that makes fixed gradient, second order accuracy. More...
 
SPNumMethod generateBCConstantGradient2 (SPAbstractDataWithGhostNodes d, AVec<> v, SPAbstractDataWithGhostNodes map, const VectorTemplate *const t)
 Bondary condition that makes fixed gradient, second order accuracy. More...
 
void addSlices (BCond &, const vector< SlicesNames > &)
 
SPNumMethod generateBCLinearGrowth (SPAbstractDataWithGhostNodes d, double cEq, double beta, SPAbstractDataWithGhostNodes map, const VectorTemplate *const t)
 
SPNumMethod generateBCLinearGrowth (SPAbstractDataWithGhostNodes d, double cEq, double beta, SPAbstractDataWithGhostNodes map, SPAbstractDataWithGhostNodes computationalDomain, const VectorTemplate *const t)
 
SPNumMethod generateBCLinearGrowth2 (SPAbstractDataWithGhostNodes d, double cEq, double beta, SPAbstractDataWithGhostNodes map, const VectorTemplate *const t)
 
SPNumMethod generateBCLinearGrowth2 (SPAbstractDataWithGhostNodes d, double cEq, double beta, SPAbstractDataWithGhostNodes map, SPAbstractDataWithGhostNodes computationalDomain, const VectorTemplate *const t)
 
SPDataWithGhostNodesACLData coarseData (SPDataWithGhostNodesACLData d)
 
SPDataWithGhostNodesACLData clipData (SPDataWithGhostNodesACLData d, AVec< int > a0, AVec< int > aE)
 
void optimizeMap (SPDataWithGhostNodesACLData c, const VectorTemplate *vt)
 
SPFDAdvectionDiffusion generateFDAdvectionDiffusion (SPDataWithGhostNodesACLData c, double diffustionCoeff, SPAbstractDataWithGhostNodes v, const VectorTemplate *vt, bool compressibilityCorrection=false)
 
SPFDAdvectionDiffusion generateFDAdvectionDiffusion (SPDataWithGhostNodesACLData c, double diffustionCoeff, const VectorTemplate *vt)
 
SPNumMethod generateBCConstantFlux (SPFDAdvectionDiffusion nm, double flux, SPAbstractDataWithGhostNodes map)
 
SPFDElasticity2 generateFDElasticity (SPDataWithGhostNodesACLData d, double bM, double sM, double dt, const VectorTemplate *vT)
 
SPFDElasticityIncompressibleStatic generateFDElasticityStatic (SPDataWithGhostNodesACLData d, double bM, double sM, const VectorTemplate *vT)
 
SPFDElasticityRelaxation generateFDElasticityRelax (SPDataWithGhostNodesACLData d, double bM, double sM, double dt, const VectorTemplate *vT)
 
SPBCond generateBCRigidWall (SPFDElasticityIncompressibleStatic nm, const std::vector< SlicesNames > &sl)
 Bondary condition corresponding to a rigid wall ( \(\vec u=0\) and \(\nabla p=0\)) More...
 
SPBCond generateBCRigidWall (SPFDElasticityRelaxation nm, const std::vector< SlicesNames > &sl)
 Bondary condition corresponding to a rigid wall ( \(\vec u=0\) and \(\nabla p=0\)) More...
 
SPBCond generateBCRigidWall (SPFDElasticity2 nm, const std::vector< SlicesNames > &sl)
 Bondary condition corresponding to a rigid wall ( \( u=0\) and \(\dot u=0\)) More...
 
SPBCond generateBCRigidWall (SPFDElasticity2 nm, const AVec<> &u0, const std::vector< SlicesNames > &sl)
 Bondary condition corresponding to a rigid wall ( \( u=u_0\) and \(\dot u=0\)) More...
 
SPBCond generateBCRigidWall (SPFDElasticityRelaxation nm, const AVec<> &u0, const std::vector< SlicesNames > &sl)
 Bondary condition corresponding to a rigid wall ( \( u=u_0\) and \(\dot u=0\)) More...
 
SPNumMethod generateBCZeroStress (SPElasticityCommonA nm, SPAbstractDataWithGhostNodes map)
 Bondary condition set given values to displacement/velocity. More...
 
SPNumMethod generateBCZeroStressP (SPFDElasticityIncompressibleStatic nm, SPAbstractDataWithGhostNodes map)
 Bondary condition set given values to displacement/velocity. More...
 
SPNumMethod generateBCZeroStressP (SPFDElasticityRelaxation nm, SPAbstractDataWithGhostNodes map)
 Bondary condition set given values to displacement/velocity. More...
 
SPFDBVKinetics generateFDBVKinetics (SPDataWithGhostNodesACLData a0, double n0, SPDataWithGhostNodesACLData aI, double nI, SPDataWithGhostNodesACLData phiS, SPAbstractDataWithGhostNodes phi, double j0, double beta, double n)
 
SPFDMultiPhase generateFDMultiPhase (SPDataWithGhostNodesACLData c, SPAbstractDataWithGhostNodes v, const VectorTemplate *vt, bool compressibilityCorrection=false)
 
SPFDPoroElasticity generateFDPoroElasticity (SPDataWithGhostNodesACLData d, SPDataWithGhostNodesACLData pl, double bM, double sM, double k, const VectorTemplate *vT)
 
template<typename T >
SPFDPoroElasticity generateFDPoroElasticity (SPDataWithGhostNodesACLData d, SPDataWithGhostNodesACLData pl, UValue< T > bM, UValue< T > sM, UValue< T > k, const VectorTemplate *vT)
 
void addBCRigidWall (std::vector< SPNumMethod > &bcList, SPFDPoroElasticity nm, const std::vector< SlicesNames > &sl)
 
void addBCZeroStress (std::vector< SPNumMethod > &bcList, SPFDPoroElasticity nm, SPAbstractDataWithGhostNodes map)
 Bondary condition set given values to pressure. More...
 
void addBCZeroStress (std::vector< SPNumMethod > &bcList, SPFDPoroElasticity nm, SPPositionFunction p, SPAbstractDataWithGhostNodes map)
 Bondary condition set given values to pressure. More...
 
void addBCRigidWallDF (std::vector< SPNumMethod > &bcList, SPFDPoroElasticity nm, SPDistanceFunction rw, SPAbstractDataWithGhostNodes map)
 
void addBCRigidWallDF (std::vector< SPNumMethod > &bcList, SPFDPoroElasticity nm, SPAbstractDataWithGhostNodes rw, SPAbstractDataWithGhostNodes map)
 
SPFDStefanMaxwell generateFDStefanMaxwell (SPDataWithGhostNodesACLData c1, SPDataWithGhostNodesACLData c2, double diffustionCoeff, SPAbstractDataWithGhostNodes v, const VectorTemplate *vt)
 
SPFDStefanMaxwell generateFDStefanMaxwell (SPDataWithGhostNodesACLData c1, SPDataWithGhostNodesACLData c2, double diffustionCoeff, const VectorTemplate *vt)
 
acl::VectorOfElements generateInverceVector (acl::VectorOfElements f, const VectorTemplate *vt)
 generates Vector Of Elements with inverce components according to vt More...
 
acl::MatrixOfElements generateLBGKMatrix (acl::VectorOfElements nu)
 
acl::MatrixOfElements generateMRTMatrix (acl::VectorOfElements nu)
 
acl::MatrixOfElements generateDifKinMatrix (acl::VectorOfElements nu)
 
SPBCond generateBCNoSlip (SPLBGK nm, const std::vector< SlicesNames > &sl)
 

\[ \vec v =0,\; \nabla P = 0 \]

More...
 
SPBCond generateBCConstantVelocity (SPLBGK nm, AVec<> v, const std::vector< SlicesNames > &sl)
 

\[ \vec v =\vec v_0,\; \nabla P = 0 \]

More...
 
SPBCond generateBCConstantPressure (SPLBGK nm, double p, const std::vector< SlicesNames > &sl)
 

\[ \vec v =0,\; P = Const \]

More...
 
SPBCond generateBCConstantPressureVelocity (SPLBGK nm, double p, AVec<> v, const std::vector< SlicesNames > &sl)
 

\[ \vec v =\vec v_0,\; P = P_0 \]

More...
 
SPNumMethod generateBCConstantPressure (SPLBGK nm, double p, SPAbstractDataWithGhostNodes map)
 

\[ \vec v = 0,\; P = Const \]

More...
 
SPNumMethod generateBCConstantPressureVelocity (SPLBGK nm, double p, AVec<> v, SPAbstractDataWithGhostNodes map)
 

\[ \vec v =\vec v_0,\; P = P_0 \]

More...
 
SPNumMethod generateBCNoSlip (SPLBGK nm, SPAbstractDataWithGhostNodes map)
 

\[ \vec v =0,\; \nabla P = 0 \]

More...
 
SPNumMethod generateBCNoSlipVel (SPLBGK nmU, SPAbstractDataWithGhostNodes map)
 

\[ \vec v =0 \]

for velocity field More...

 
SPNumMethod generateBCNoSlipRho (SPLBGK nmU, SPAbstractDataWithGhostNodes map)
 

\[ \nabla P = 0 \]

More...
 
SPNumMethod generateBCVelocity (SPLBGK nm, SPPositionFunction v, SPAbstractDataWithGhostNodes map)
 

\[ \vec v =\vec v_0,\; \nabla P = 0 \]

More...
 
SPNumMethod generateBCVelocity (SPLBGK nm, SPPositionFunction v, SPAbstractDataWithGhostNodes map, SPAbstractDataWithGhostNodes computationalDomain)
 

\[ \vec v =\vec v_0,\; \nabla P = 0 \]

More...
 
SPNumMethod generateBCVelocityVel (SPLBGK nm, SPPositionFunction v, SPAbstractDataWithGhostNodes map)
 

\[ \vec v =\vec v_0,\; \nabla P = 0 \]

More...
 
SPNumMethod generateBCTransportLimitedDeposition (SPLBGK nm, double p0, double limitingFactor, SPAbstractDataWithGhostNodes map)
 
SPNumMethod generateBCKineticsLimitedDeposition (SPLBGK nm, double beta, double p0, double limitingFactor, SPAbstractDataWithGhostNodes map)
 
SPNumMethod generateComputeSurfaceFlux (SPLBGK nm, SPDataWithGhostNodesACLData fF, SPAbstractDataWithGhostNodes map)
 
SPNumMethod generateComputeSurfaceForce (SPLBGK nm, SPDataWithGhostNodesACLData fF, SPAbstractDataWithGhostNodes map)
 
template<class T >
void initAll (std::vector< T * > &v)
 
template<class T >
void initAll (std::vector< std::shared_ptr< T > > &v)
 
template<class T >
void executeAll (std::vector< T * > &v)
 
template<class T >
void executeAll (std::vector< std::shared_ptr< T > > &v)
 
SPDataWithGhostNodesACLData read (const string &fileName, unsigned int arrayNum, acl::CommandQueue queue=acl::hardware.defaultQueue)
 
SPDataWithGhostNodesACLData readSurface (const string &fileName, double dx, acl::CommandQueue queue=acl::hardware.defaultQueue)
 
SPDataWithGhostNodesACLData readSurface (const string &fileName, Block &b, acl::CommandQueue queue=acl::hardware.defaultQueue)
 
SPDataWithGhostNodesACLData readSurface (const string &fileName, double dx, double offset_X0, double offset_XE, double offset_Y0, double offset_YE, double offset_Z0, double offset_ZE, acl::CommandQueue queue=acl::hardware.defaultQueue)
 
void sleep (unsigned int span)
 Blocks execution of the calling thread for the time span (in milliseconds) More...
 
template<typename T >
bool operator== (const asl::UValue< T > &a, const T &v)
 
template<typename T >
bool operator!= (const asl::UValue< T > &a, const T &v)
 
template<typename T >
vtkSmartPointer< vtkDataArray > castVTKDataArray (T *d, unsigned int np, unsigned int save=0, const std::string &name="")
 creates VTKDataArray with 1 component d and length np and name More...
 
template<typename T >
vtkSmartPointer< vtkDataArray > castVTKDataArray (T *d1, T *d2, unsigned int np, const std::string &name="")
 creates VTKDataArray with 2 component d1 and d2 and length np and name More...
 
template<typename T >
vtkSmartPointer< vtkDataArray > castVTKDataArray (T *d1, T *d2, T *d3, unsigned int np, const std::string &name="")
 creates VTKDataArray with 3 component d1, d2 and d3 and length np and name More...
 
template<typename T >
vtkSmartPointer< vtkDataArray > castVTKDataArray2in3 (T *d1, T *d2, unsigned int np, const std::string &name)
 creates VTKDataArray with 3 component d2, d1 and 0 and length np and name More...
 
vtkSmartPointer< vtkIdTypeArray > castVTKIdTypeArray (unsigned int *d0, unsigned int *d1, unsigned int *d2, unsigned int *d3, unsigned int np, const std::string &name="")
 creates VTKDataArray with 3 component d1, d2 and d3 and length np and name More...
 
vtkSmartPointer< vtkDataArray > castVTKDataArray (acl::Element source, const std::string &name="")
 
void updateVTKDataArray (acl::Element source, vtkSmartPointer< vtkDataArray > vtkData)
 
void updateVTKDataArray (acl::Element source, const std::string &name, vtkSmartPointer< vtkImageData > vtkData)
 
vtkSmartPointer< vtkImageData > castVTKData (const Block &b)
 
vtkSmartPointer< vtkImageData > castVTKData (double *d, const Block &b, unsigned int save=0, const std::string &name="")
 
vtkSmartPointer< vtkImageData > castVTKData (double *d1, double *d2, const Block &b, const std::string &name="")
 
vtkSmartPointer< vtkImageData > castVTKData (double *d1, double *d2, double *d3, const Block &b, const std::string &name="")
 
void putToVTKData (double *d, vtkSmartPointer< vtkImageData > target)
 
void putToVTKData (double *d1, double *d2, vtkSmartPointer< vtkImageData > target)
 
void putToVTKData (double *d1, double *d2, double *d3, vtkSmartPointer< vtkImageData > target)
 
vtkSmartPointer< vtkImageData > castVTKData (const AbstractData &d, const std::vector< std::string > &names=std::vector< std::string >(0))
 
SPDataWithGhostNodesACLData makeData (vtkSmartPointer< vtkImageData > image, unsigned int arrayNum=0, acl::CommandQueue queue=acl::hardware.defaultQueue)
 
std::shared_ptr< BlockmakeBlock (vtkSmartPointer< vtkImageData > image)
 
template<typename T >
vtkSmartPointer< vtkDataArray > castVTKDataArray (std::shared_ptr< T > d, unsigned int np, const std::string &name="")
 
vtkSmartPointer< vtkImageData > castVTKData (std::shared_ptr< double > d, const Block &b, const std::string &name="")
 
template<typename T >
vtkSmartPointer< vtkDataArray > castVTKDataArray (std::vector< T > &d, unsigned int np, const std::string &name="")
 
vtkSmartPointer< vtkImageData > castVTKData (std::vector< double > &d, const Block &b, const std::string &name="")
 
template<typename T >
AVec< T > castVTKVector (AVec< T > a, T fill=0)
 
void writeABD (const string &fileName, const AbstractData &data, const string &name)
 writes data in a file with ABD (ASL Binary Dump) format More...
 
ABDFileOutoperator<< (ABDFileOut &f, const int a)
 
ABDFileInoperator>> (ABDFileIn &f, int &a)
 
ABDFileOutoperator<< (ABDFileOut &f, const unsigned int a)
 
ABDFileInoperator>> (ABDFileIn &f, unsigned int &a)
 
ABDFileOutoperator<< (ABDFileOut &f, const float a)
 
ABDFileInoperator>> (ABDFileIn &f, float &a)
 
ABDFileOutoperator<< (ABDFileOut &f, const double a)
 
ABDFileInoperator>> (ABDFileIn &f, double &a)
 
template<typename T >
ABDFileOutoperator<< (ABDFileOut &f, pair< T *, unsigned int > a)
 
template<typename T >
ABDFileInoperator>> (ABDFileIn &f, pair< T *, unsigned int > a)
 
ABDFileOutoperator<< (ABDFileOut &f, const string &a)
 
ABDFileInoperator>> (ABDFileIn &f, string &a)
 
template<typename T >
ABDFileOutoperator<< (ABDFileOut &f, const AVec< T > &a)
 
template<typename T >
ABDFileInoperator>> (ABDFileIn &f, AVec< T > &a)
 
void writeMAT (const string &fileName, const AbstractData &data, const string &name)
 writes data in a MatLab file More...
 
void writeMAT (const string &fileName, vector< pair< SPAbstractData, string >> data)
 writes data in a MatLab file More...
 
void writeMAT (const string &fileName, vector< pair< acl::Element, string >> data)
 writes data in a MatLab file More...
 
void writeMAT (const string &fileName, Probe &probe, unsigned int component, const string &name)
 writes probe values in a MatLab file More...
 
void writeVTKXML (const std::string &fileName, const AbstractData &data, const std::string &name)
 
void addSliceX0 (BCond &)
 
void addSliceXE (BCond &)
 
void addSliceY0 (BCond &)
 
void addSliceYE (BCond &)
 
void addSliceZ0 (BCond &)
 
void addSliceZE (BCond &)
 
void addSliceX (BCond &, int x)
 
void addSliceY (BCond &, int y)
 
void addSliceZ (BCond &, int z)
 
void addSliceX0 (BCondSlice &)
 
void addSliceXE (BCondSlice &)
 
void addSliceY0 (BCondSlice &)
 
void addSliceYE (BCondSlice &)
 
void addSliceZ0 (BCondSlice &)
 
void addSliceZE (BCondSlice &)
 

Variables

ProbeTemplate probeD1q2
 A triangular probe 1D space. More...
 
ProbeTemplate probeD2q3
 A triangular probe 2D space. More...
 
ProbeTemplate probeD3q4
 A triangular probe 3D space. More...
 
typedef std::shared_ptr< matiocpp::VarSPMatVar
 
SPMatVar castMATLABCellArray (acl::Element source, const std::string &name="")
 
SPMatVar castMATLABCellArray (acl::Element source, const AVec< int > &size, const std::string &name="")
 
SPMatVar castMATLABCellArray (const AbstractData &d, const std::vector< std::string > &names=std::vector< std::string >(0))
 
SPMatVar castMATLABCellArray (Probe &p, unsigned int component, const std::string &name="")
 

Detailed Description

Advanced Simulation Library.

Typedef Documentation

◆ DataWithGhostNodesACL

Definition at line 48 of file aslGenerators.h.

◆ DataWithGhostNodesACLData

Definition at line 45 of file aslGenerators.h.

◆ DataWrapperACL

Definition at line 55 of file aslGenerators.h.

◆ DataWrapperACLData

Definition at line 52 of file aslGenerators.h.

◆ Element

typedef std::shared_ptr<ElementBase> asl::Element

Definition at line 36 of file aslInterpolation.h.

◆ MemElement

typedef std::shared_ptr<MemElementBase> asl::MemElement

Definition at line 48 of file aslMemElement.h.

◆ SPAbstractData

typedef shared_ptr< AbstractData > asl::SPAbstractData

Definition at line 65 of file aslDataWrapper.h.

◆ SPAbstractDataWithGhostNodes

Definition at line 50 of file aslGenerators.h.

◆ SPBCond

typedef std::shared_ptr<BCond> asl::SPBCond

Definition at line 88 of file aslBCond.h.

◆ SPDataClipper

typedef std::shared_ptr<DataClipper> asl::SPDataClipper

Definition at line 100 of file aslDataResampling.h.

◆ SPDataCoarser

typedef std::shared_ptr<DataCoarser> asl::SPDataCoarser

Definition at line 71 of file aslDataResampling.h.

◆ SPDataWithGhostNodesACL

Definition at line 49 of file aslGenerators.h.

◆ SPDataWithGhostNodesACLData

Definition at line 47 of file aslGenerators.h.

◆ SPDataWrapperACL

typedef shared_ptr< DataWrapperACL > asl::SPDataWrapperACL

Definition at line 56 of file aslGenerators.h.

◆ SPDataWrapperACLData

Definition at line 54 of file aslGenerators.h.

◆ SPDFOptimizer

typedef std::shared_ptr<DFOptimizer> asl::SPDFOptimizer

Definition at line 69 of file aslDFOptimizer.h.

◆ SPElasticityCommonA

typedef std::shared_ptr<ElasticityCommonA> asl::SPElasticityCommonA

Definition at line 37 of file aslFDElasticityBC.h.

◆ SPFDAdvectionDiffusion

Definition at line 113 of file aslFDAdvectionDiffusion.h.

◆ SPFDAdvectionDiffusion2

Definition at line 94 of file aslFDAdvectionDiffusion2.h.

◆ SPFDAdvectionDiffusionExtended

Definition at line 96 of file aslFDAdvectionDiffusionExtended.h.

◆ SPFDAdvectionDiffusionInhomogeneous

Definition at line 75 of file aslFDAdvectionDiffusionInhomogeneous.h.

◆ SPFDBVKinetics

typedef std::shared_ptr<FDBVKinetics> asl::SPFDBVKinetics

Definition at line 124 of file aslFDElChemKinetics.h.

◆ SPFDElasticity2

typedef std::shared_ptr< FDElasticity2 > asl::SPFDElasticity2

Definition at line 193 of file aslFDElasticity.h.

◆ SPFDElasticityIncompressibleStatic

Definition at line 120 of file aslFDElasticity.h.

◆ SPFDElasticityRelaxation

Definition at line 154 of file aslFDElasticity.h.

◆ SPFDMultiPhase

typedef std::shared_ptr<FDMultiPhase> asl::SPFDMultiPhase

Definition at line 97 of file aslFDMultiPhase.h.

◆ SPFDPoroElasticity

typedef std::shared_ptr< FDPoroElasticity > asl::SPFDPoroElasticity

Definition at line 119 of file aslFDPoroElasticity.h.

◆ SPFDStefanMaxwell

typedef std::shared_ptr<FDStefanMaxwell> asl::SPFDStefanMaxwell

Definition at line 115 of file aslFDStefanMaxwell.h.

◆ SPFDStefanMaxwellElectricField

Definition at line 181 of file aslFDStefanMaxwell.h.

◆ SPInterfaceTrackingAlg1

Definition at line 58 of file aslInterfaceTrackingAlg1.h.

◆ SPLBGK

typedef std::shared_ptr< LBGK > asl::SPLBGK

Definition at line 133 of file aslLBGK.h.

◆ SPLBGKTurbulence

typedef std::shared_ptr<LBGKTurbulence> asl::SPLBGKTurbulence

Definition at line 173 of file aslLBGK.h.

◆ SPLBGKUtilities

typedef std::shared_ptr<LBGKUtilities> asl::SPLBGKUtilities

Definition at line 161 of file aslLBGK.h.

◆ SPLevelSet

typedef std::shared_ptr<LevelSet> asl::SPLevelSet

Definition at line 142 of file aslLevelSet.h.

◆ SPLevelSetLinear

typedef std::shared_ptr<LevelSetLinear> asl::SPLevelSetLinear

Definition at line 58 of file aslLevelSetLinear.h.

◆ SPLSFacetedGrowth

typedef std::shared_ptr<LSFacetedGrowth> asl::SPLSFacetedGrowth

Definition at line 113 of file aslLSFacetedGrowth.h.

◆ SPLSNormalGrowth

typedef std::shared_ptr<LSNormalGrowth> asl::SPLSNormalGrowth

Definition at line 58 of file aslLSNormalGrowth.h.

◆ SPNumMethod

typedef std::shared_ptr<NumMethod> asl::SPNumMethod

Definition at line 44 of file aslNumMethod.h.

◆ SPSingleKernelNM

typedef std::shared_ptr<SingleKernelNM> asl::SPSingleKernelNM

Definition at line 38 of file aslNumMethodsMerger.h.

◆ SPTimeContinPLagrange

Definition at line 95 of file aslTimeContinuations.h.

◆ SPTimeContinPLagrangeFraction

Definition at line 134 of file aslTimeContinuations.h.

Enumeration Type Documentation

◆ VTName

list of implemented names of VectorTemplate

Enumerator
VTN_D1Q2EC 
VTN_D2Q4EC 
VTN_D3Q8EC 
VTN_D1Q3 
VTN_D2Q5 
VTN_D2Q9 
VTN_D3Q7 
VTN_D3Q15 
VTN_D3Q19 
VTN_D3Q27 
VTN_D1Q1UV 
VTN_D2Q2UV 
VTN_D3Q3UV 
VTN_D1Q2 
VTN_D2Q4 
VTN_D3Q6 
VTN_D2Q8 
VTN_D3Q14 
VTN_D3Q18 

Definition at line 62 of file aslTemplates.h.

Function Documentation

◆ addBCRigidWall()

void asl::addBCRigidWall ( std::vector< SPNumMethod > &  bcList,
SPFDPoroElasticity  nm,
const std::vector< SlicesNames > &  sl 
)

◆ addSlices()

void asl::addSlices ( BCond ,
const vector< SlicesNames > &   
)

◆ approxEqual() [1/2]

const bool asl::approxEqual ( const double &  a,
const double &  b,
const double  p_ = 1e-6 
)
inline

Approximately equal; the precision is defined as p_.

Examples
testReductionFunction.cc.

Definition at line 105 of file aslUtilities.h.

◆ approxEqual() [2/2]

const bool asl::approxEqual ( const float &  a,
const float &  b,
const float  p_ = 1e-6 
)
inline

Definition at line 110 of file aslUtilities.h.

◆ castTransformVector()

AVec<int> asl::castTransformVector ( AVec< int >  s)
inline

Definition at line 118 of file aslBlocks.h.

◆ compatibleSizes()

template<typename T1 , typename T2 >
bool asl::compatibleSizes ( AVec< T1 >  a,
AVec< T2 >  b 
)
related

Definition at line 141 of file aslVectorsDynamicLengthOperations.h.

◆ computeAll()

template<class T >
void asl::computeAll ( std::vector< std::shared_ptr< T > > &  v)
inline

Definition at line 218 of file aslUtilities.h.

◆ computePolynom()

double asl::computePolynom ( double  x,
AVec<> &  coefs 
)
related

Definition at line 386 of file aslVectorsDynamicLengthOperations.h.

◆ continiousToDiscret()

const AVec<int> asl::continiousToDiscret ( const Block b,
AVec<>  a 
)
inline

◆ crossProduct()

template<typename T >
const AVec<T> asl::crossProduct ( const AVec< T > &  a,
const AVec< T > &  b 
)
related

Definition at line 253 of file aslVectorsDynamicLengthOperations.h.

◆ deg() [1/2]

const double asl::deg ( double  a)
inline

Translation radians to degrees.

Definition at line 98 of file aslUtilities.h.

◆ deg() [2/2]

const float asl::deg ( float  a)
inline

Definition at line 99 of file aslUtilities.h.

◆ divisionOfElements()

template<typename T >
const AVec<T> asl::divisionOfElements ( const AVec< T > &  a,
const AVec< T > &  b 
)
related

Definition at line 333 of file aslVectorsDynamicLengthOperations.h.

◆ exBoundaryCenter()

acl::VectorOfElements asl::exBoundaryCenter ( TemplateVE distanceTVE,
unsigned int  iEl 
)

generates expresion for center of a boundary element

Parameters
iElthe element number computes avarage point of corners of the boundary poligon within the element

◆ exBoundaryX()

acl::VectorOfElements asl::exBoundaryX ( TemplateVE distanceTVE,
unsigned int  i 
)

returns expression corresponding to the relative boundary position in direction i

\[ x= v_0/(v_0-v_i) \]

◆ executeAll() [1/2]

template<class T >
void asl::executeAll ( std::vector< T * > &  v)
inline

◆ executeAll() [2/2]

template<class T >
void asl::executeAll ( std::vector< std::shared_ptr< T > > &  v)
inline

Definition at line 61 of file aslNumMethod.h.

◆ floor()

const AVec<int> asl::floor ( const AVec<> &  a)
related

Definition at line 365 of file aslVectorsDynamicLengthOperations.h.

◆ gcBoundaryArea() [1/2]

vector<acl::Element> asl::gcBoundaryArea ( TemplateVE distanceTVE,
unsigned int  iEl,
acl::VectorOfElements center,
acl::VectorOfElements area 
)

generates expresion for area of a boundary element

Parameters
iElthe element number computes area of the corresponding boundary within bulk element iEl

◆ gcBoundaryArea() [2/2]

vector<acl::Element> asl::gcBoundaryArea ( TemplateVE distanceTVE,
acl::VectorOfElements area 
)

generates expresion for area of a boundary element

computes area of the corresponding boundary within all cells

◆ gcBoundaryAreaPerGhostPoint() [1/2]

vector<acl::Element> asl::gcBoundaryAreaPerGhostPoint ( TemplateVE distanceTVE,
unsigned int  iEl,
acl::VectorOfElements center,
acl::VectorOfElements area 
)

generates expresion for area of a boundary element

Parameters
iElthe element number computes area of the corresponding boundary within cell iEl and divide on number of ghost points within the cell

◆ gcBoundaryAreaPerGhostPoint() [2/2]

vector<acl::Element> asl::gcBoundaryAreaPerGhostPoint ( TemplateVE distanceTVE,
acl::VectorOfElements area 
)

generates expresion for area of a boundary element

computes area of the corresponding boundary per ghost point within all cells

◆ generateBCConstantFlux()

SPNumMethod asl::generateBCConstantFlux ( SPFDAdvectionDiffusion  nm,
double  flux,
SPAbstractDataWithGhostNodes  map 
)

◆ generateBCLinearGrowth() [1/2]

SPNumMethod asl::generateBCLinearGrowth ( SPAbstractDataWithGhostNodes  d,
double  cEq,
double  beta,
SPAbstractDataWithGhostNodes  map,
const VectorTemplate *const  t 
)

◆ generateBCLinearGrowth() [2/2]

SPNumMethod asl::generateBCLinearGrowth ( SPAbstractDataWithGhostNodes  d,
double  cEq,
double  beta,
SPAbstractDataWithGhostNodes  map,
SPAbstractDataWithGhostNodes  computationalDomain,
const VectorTemplate *const  t 
)

◆ generateBCLinearGrowth2() [1/2]

SPNumMethod asl::generateBCLinearGrowth2 ( SPAbstractDataWithGhostNodes  d,
double  cEq,
double  beta,
SPAbstractDataWithGhostNodes  map,
const VectorTemplate *const  t 
)
Examples
flowKDPGrowth.cc.

◆ generateBCLinearGrowth2() [2/2]

SPNumMethod asl::generateBCLinearGrowth2 ( SPAbstractDataWithGhostNodes  d,
double  cEq,
double  beta,
SPAbstractDataWithGhostNodes  map,
SPAbstractDataWithGhostNodes  computationalDomain,
const VectorTemplate *const  t 
)

◆ generateBCRigidWall() [1/2]

SPBCond asl::generateBCRigidWall ( SPFDElasticityIncompressibleStatic  nm,
const std::vector< SlicesNames > &  sl 
)

Bondary condition corresponding to a rigid wall ( \(\vec u=0\) and \(\nabla p=0\))

Examples
cubeGravity.cc, cubeIncompressibleGravity.cc, and jumpingBox.cc.

◆ generateBCRigidWall() [2/2]

SPBCond asl::generateBCRigidWall ( SPFDElasticityRelaxation  nm,
const std::vector< SlicesNames > &  sl 
)

Bondary condition corresponding to a rigid wall ( \(\vec u=0\) and \(\nabla p=0\))

◆ generateDifKinMatrix()

acl::MatrixOfElements asl::generateDifKinMatrix ( acl::VectorOfElements  nu)

◆ generateFDBVKinetics()

SPFDBVKinetics asl::generateFDBVKinetics ( SPDataWithGhostNodesACLData  a0,
double  n0,
SPDataWithGhostNodesACLData  aI,
double  nI,
SPDataWithGhostNodesACLData  phiS,
SPAbstractDataWithGhostNodes  phi,
double  j0,
double  beta,
double  n 
)
Examples
testSMPhiBV.cc.

◆ generateFDElasticity()

SPFDElasticity2 asl::generateFDElasticity ( SPDataWithGhostNodesACLData  d,
double  bM,
double  sM,
double  dt,
const VectorTemplate vT 
)

◆ generateFDElasticityRelax()

SPFDElasticityRelaxation asl::generateFDElasticityRelax ( SPDataWithGhostNodesACLData  d,
double  bM,
double  sM,
double  dt,
const VectorTemplate vT 
)
Examples
acousticWaves.cc.

◆ generateFDElasticityStatic()

SPFDElasticityIncompressibleStatic asl::generateFDElasticityStatic ( SPDataWithGhostNodesACLData  d,
double  bM,
double  sM,
const VectorTemplate vT 
)

◆ generateFDPoroElasticity() [1/2]

SPFDPoroElasticity asl::generateFDPoroElasticity ( SPDataWithGhostNodesACLData  d,
SPDataWithGhostNodesACLData  pl,
double  bM,
double  sM,
double  k,
const VectorTemplate vT 
)
Parameters
dis a displacement field
plis a pressure of liquid field
bMis the bulk modulus
sMis the shear modulus
kis hydraulic conductivity
vTis a vector template
Examples
cubePoroelasticGravity.cc.

◆ generateFDPoroElasticity() [2/2]

template<typename T >
SPFDPoroElasticity asl::generateFDPoroElasticity ( SPDataWithGhostNodesACLData  d,
SPDataWithGhostNodesACLData  pl,
UValue< T >  bM,
UValue< T >  sM,
UValue< T >  k,
const VectorTemplate vT 
)
Parameters
dis a displacement field
plis a pressure of liquid field
bMis the bulk modulus
sMis the shear modulus
kis hydraulic conductivity
vTis a vector template

◆ generateInverceVector()

acl::VectorOfElements asl::generateInverceVector ( acl::VectorOfElements  f,
const VectorTemplate vt 
)

generates Vector Of Elements with inverce components according to vt

◆ generateLBGKMatrix()

acl::MatrixOfElements asl::generateLBGKMatrix ( acl::VectorOfElements  nu)

◆ generateMRTMatrix()

acl::MatrixOfElements asl::generateMRTMatrix ( acl::VectorOfElements  nu)

◆ getEValEVecMatSym2x2()

void asl::getEValEVecMatSym2x2 ( double  a,
double  b,
double  c,
double &  l1,
double &  l2,
double &  v1x,
double &  v1y,
double &  v2x,
double &  v2y 
)

Eigenvalues and eigenvectors calcutaion for symetric matrix 2x2.

Parameters
amatrix element
bmatrix element
cmatrix element
l1first eigenvalue
l2second eigenvalue
v1xx component of first eigenvector
v1yy component of first eigenvector
v2xx component of second eigenvector
v2yy component of second eigenvector

\[ A= \left| \begin{array}{cc} a & c \\ c & b \end{array}\right| \]

◆ getEValEVecMatSym3x3()

void asl::getEValEVecMatSym3x3 ( double  a,
double  b,
double  c,
double  e,
double  f,
double  g,
double &  l1,
double &  l2,
double &  l3,
double &  v1x,
double &  v1y,
double &  v1z,
double &  v2x,
double &  v2y,
double &  v2z,
double &  v3x,
double &  v3y,
double &  v3z 
)

Eigenvalues and eigenvectors calcutaion for symetric matrix 2x2.

Parameters
amatrix element
bmatrix element
cmatrix element
dmatrix element
ematrix element
fmatrix element
l1first eigenvalue
l2second eigenvalue
l3second eigenvalue
v1xx component of first eigenvector
v1yy component of first eigenvector
v1zz component of first eigenvector
v2xx component of second eigenvector
v2yy component of second eigenvector
v2zz component of second eigenvector
v3xx component of second eigenvector
v3yy component of second eigenvector
v3zz component of second eigenvector

\[ A= \left| \begin{array}{ccc} a & d & e\\ d & b & f \\ e & f & c \\ \end{array}\right| \]

◆ in()

template<typename T >
bool asl::in ( const T &  xx,
const T &  x1,
const T &  x2 
)
inline

Checks the belonging to a closed interval [x1,x2], \( xx \in [x1,x2] \).

Definition at line 84 of file aslUtilities.h.

◆ initAll() [1/2]

template<class T >
void asl::initAll ( std::vector< T * > &  v)
inline

◆ initAll() [2/2]

template<class T >
void asl::initAll ( std::vector< std::shared_ptr< T > > &  v)
inline

Definition at line 73 of file aslNumMethod.h.

◆ initData() [1/4]

void asl::initData ( SPAbstractData  d,
double  a 
)

◆ initData() [2/4]

void asl::initData ( SPAbstractData  d,
const AVec< double > &  a 
)

◆ initData() [3/4]

void asl::initData ( SPAbstractDataWithGhostNodes  d,
SPDistanceFunction  f 
)

Initialize d by f.

◆ initData() [4/4]

void asl::initData ( SPAbstractDataWithGhostNodes  d,
SPDistanceFunction  f,
const acl::KernelConfiguration k 
)

Initialize d by f.

◆ inO()

template<typename T >
bool asl::inO ( const T &  xx,
const T &  x1,
const T &  x2 
)
inline

Checks the belonging to an open interval (x1,x2), \( xx \in (x1,x2) \).

Definition at line 90 of file aslUtilities.h.

◆ interpolate()

acl::VectorOfElements asl::interpolate ( const TemplateVE a,
acl::VectorOfElements  e 
)

generates expresion for bilinear interpolation the template should be an elementary cell

◆ isBoundaryBetween()

acl::VectorOfElements asl::isBoundaryBetween ( TemplateVE distanceTVE,
unsigned int  iE,
unsigned int  i,
unsigned int  j 
)

returns expression corresponding to check if there is a boundary between nodes i^th and j^th within cell iE

◆ isComputationNode()

acl::VectorOfElements asl::isComputationNode ( TemplateVE distanceTVE,
unsigned int  i 
)

returns expression corresponding to check if the node in i^th direction is computation one

◆ isGhostNode()

acl::VectorOfElements asl::isGhostNode ( TemplateVE distanceTVE,
unsigned int  i 
)

returns expression corresponding to check if the node in i^th direction is ghost one

◆ l2()

template<typename T >
const T asl::l2 ( const AVec< T > &  a)
related

Definition at line 147 of file aslVectorsDynamicLengthOperations.h.

◆ makeAVec() [1/4]

template<typename T >
AVec<T> asl::makeAVec ( a1)
related

◆ makeAVec() [2/4]

template<typename T >
AVec<T> asl::makeAVec ( a1,
a2 
)
related

Definition at line 181 of file aslVectorsDynamicLength.h.

◆ makeAVec() [3/4]

template<typename T >
AVec<T> asl::makeAVec ( a1,
a2,
a3 
)
related

Definition at line 189 of file aslVectorsDynamicLength.h.

◆ makeAVec() [4/4]

template<typename T >
AVec<T> asl::makeAVec ( a1,
a2,
a3,
a4 
)
related

Definition at line 198 of file aslVectorsDynamicLength.h.

◆ maxComponent()

template<typename T >
const T asl::maxComponent ( const AVec< T > &  a)
related

Definition at line 285 of file aslVectorsDynamicLengthOperations.h.

◆ minComponent()

template<typename T >
const T asl::minComponent ( const AVec< T > &  a)
related

Definition at line 277 of file aslVectorsDynamicLengthOperations.h.

◆ minimalProbeTemplate()

const ProbeTemplate* asl::minimalProbeTemplate ( unsigned int  dimNumber)
inline

Definition at line 80 of file aslProbeTemplates.h.

◆ nD() [1/4]

unsigned int asl::nD ( const VTObjects  vto)
inline

◆ nD() [2/4]

unsigned int asl::nD ( const VectorTemplate vt)
inline

Definition at line 296 of file aslTemplates.h.

◆ nD() [3/4]

unsigned int asl::nD ( const VTObjects vto)
inline

Definition at line 120 of file aslTemplatesExtras.h.

◆ nD() [4/4]

template<typename T >
const unsigned int asl::nD ( const AVec< T >  a)
related

Definition at line 217 of file aslVectorsDynamicLength.h.

◆ nGhostNodesInCell()

acl::VectorOfElements asl::nGhostNodesInCell ( TemplateVE distanceTVE,
unsigned int  i 
)

returns expression corresponding to number of ghost nodes in a cell i

◆ nonNegative()

template<typename T >
const bool asl::nonNegative ( const AVec< T > &  a)
related

Definition at line 355 of file aslVectorsDynamicLengthOperations.h.

◆ normalize()

template<typename T >
const AVec asl::normalize ( const AVec< T > &  a)
related

Definition at line 152 of file aslVectorsDynamicLengthOperations.h.

◆ operator!=() [1/2]

template<typename T >
bool asl::operator!= ( const asl::UValue< T > &  a,
const T &  v 
)
related

Definition at line 60 of file aslUValue.h.

◆ operator!=() [2/2]

template<typename T >
const bool asl::operator!= ( const AVec< T > &  a,
const AVec< T > &  b 
)
related

Definition at line 246 of file aslVectorsDynamicLengthOperations.h.

◆ operator*() [1/4]

TemplateVE asl::operator* ( const TemplateVE a,
const TemplateVE b 
)

◆ operator*() [2/4]

template<typename T >
const T asl::operator* ( const AVec< T > &  a,
const AVec< T > &  b 
)
related

Definition at line 185 of file aslVectorsDynamicLengthOperations.h.

◆ operator*() [3/4]

template<typename T >
const AVec<T> asl::operator* ( const AVec< T > &  a,
const T &  b 
)
related

Definition at line 194 of file aslVectorsDynamicLengthOperations.h.

◆ operator*() [4/4]

template<typename T >
const AVec<T> asl::operator* ( const T &  a,
const AVec< T > &  b 
)
related

Definition at line 201 of file aslVectorsDynamicLengthOperations.h.

◆ operator*=()

template<typename T >
const AVec<T>& asl::operator*= ( AVec< T > &  a,
const T &  b 
)
related

Definition at line 228 of file aslVectorsDynamicLengthOperations.h.

◆ operator+() [1/3]

TemplateVE asl::operator+ ( const TemplateVE a,
const TemplateVE b 
)

◆ operator+() [2/3]

template<typename T >
const AVec<T> asl::operator+ ( const AVec< T > &  a,
const AVec< T > &  b 
)
related

Definition at line 157 of file aslVectorsDynamicLengthOperations.h.

◆ operator+() [3/3]

template<typename T >
const AMatr<T> asl::operator+ ( const AMatr< T > &  a,
const AMatr< T > &  b 
)
related

Definition at line 252 of file aslMatrices.h.

◆ operator+=() [1/2]

template<typename T >
const AVec<T>& asl::operator+= ( AVec< T > &  a,
const AVec< T > &  b 
)
related

Definition at line 212 of file aslVectorsDynamicLengthOperations.h.

◆ operator+=() [2/2]

template<typename T >
const AMatr<T>& asl::operator+= ( AMatr< T > &  a,
const AMatr< T > &  b 
)
related

Definition at line 245 of file aslMatrices.h.

◆ operator-() [1/4]

TemplateVE asl::operator- ( const TemplateVE a,
const TemplateVE b 
)

◆ operator-() [2/4]

template<typename T >
const AVec<T> asl::operator- ( const AVec< T > &  a,
const AVec< T > &  b 
)
related

Definition at line 167 of file aslVectorsDynamicLengthOperations.h.

◆ operator-() [3/4]

template<typename T >
const AVec<T> asl::operator- ( const AVec< T > &  a)
related

Definition at line 177 of file aslVectorsDynamicLengthOperations.h.

◆ operator-() [4/4]

template<typename T >
const AMatr<T> asl::operator- ( const AMatr< T > &  a,
const AMatr< T > &  b 
)
related

Definition at line 258 of file aslMatrices.h.

◆ operator-=()

template<typename T >
const AVec<T>& asl::operator-= ( AVec< T > &  a,
const AVec< T > &  b 
)
related

Definition at line 220 of file aslVectorsDynamicLengthOperations.h.

◆ operator/() [1/3]

TemplateVE asl::operator/ ( const TemplateVE a,
const TemplateVE b 
)

◆ operator/() [2/3]

template<typename T >
const AVec<T> asl::operator/ ( const AVec< T > &  a,
const T &  b 
)
related

Definition at line 205 of file aslVectorsDynamicLengthOperations.h.

◆ operator/() [3/3]

template<typename T >
const AMatr<T> asl::operator/ ( const AMatr< T > &  b,
const T &  a 
)
related

Definition at line 264 of file aslMatrices.h.

◆ operator<<() [1/9]

template<typename T >
std::ostream & asl::operator<< ( std::ostream &  output,
const std::vector< T > &  vector 
)

Prints elements of the vector separated by space.

Definition at line 173 of file aslUtilities.h.

◆ operator<<() [2/9]

ABDFileOut& asl::operator<< ( ABDFileOut f,
const int  a 
)
related

Definition at line 154 of file aslABDFormat.h.

◆ operator<<() [3/9]

ABDFileOut& asl::operator<< ( ABDFileOut f,
const unsigned int  a 
)
related

Definition at line 166 of file aslABDFormat.h.

◆ operator<<() [4/9]

ABDFileOut& asl::operator<< ( ABDFileOut f,
const float  a 
)
related

Definition at line 178 of file aslABDFormat.h.

◆ operator<<() [5/9]

ABDFileOut& asl::operator<< ( ABDFileOut f,
const double  a 
)
related

Definition at line 190 of file aslABDFormat.h.

◆ operator<<() [6/9]

template<typename T >
ABDFileOut& asl::operator<< ( ABDFileOut f,
pair< T *, unsigned int >  a 
)
related

Definition at line 203 of file aslABDFormat.h.

◆ operator<<() [7/9]

template<typename T >
std::ostream& asl::operator<< ( std::ostream &  output,
const AVec< T > &  a 
)
related

Definition at line 208 of file aslVectorsDynamicLength.h.

◆ operator<<() [8/9]

ABDFileOut& asl::operator<< ( ABDFileOut f,
const string &  a 
)
inline

Definition at line 214 of file aslABDFormat.h.

◆ operator<<() [9/9]

template<typename T >
ABDFileOut& asl::operator<< ( ABDFileOut f,
const AVec< T > &  a 
)
related

Definition at line 227 of file aslABDFormat.h.

◆ operator==() [1/3]

template<typename T >
bool asl::operator== ( const asl::UValue< T > &  a,
const T &  v 
)
related

Definition at line 55 of file aslUValue.h.

◆ operator==() [2/3]

template<typename T >
bool asl::operator== ( const std::vector< T > &  vector1,
const std::vector< T > &  vector2 
)

Compares two vectors.

compares two vectors

Definition at line 185 of file aslUtilities.h.

◆ operator==() [3/3]

template<typename T >
const bool asl::operator== ( const AVec< T > &  a,
const AVec< T > &  b 
)
related

Definition at line 234 of file aslVectorsDynamicLengthOperations.h.

◆ operator>>() [1/7]

ABDFileIn& asl::operator>> ( ABDFileIn f,
int &  a 
)
related

Definition at line 160 of file aslABDFormat.h.

◆ operator>>() [2/7]

ABDFileIn& asl::operator>> ( ABDFileIn f,
unsigned int &  a 
)
related

Definition at line 172 of file aslABDFormat.h.

◆ operator>>() [3/7]

ABDFileIn& asl::operator>> ( ABDFileIn f,
float &  a 
)
related

Definition at line 184 of file aslABDFormat.h.

◆ operator>>() [4/7]

ABDFileIn& asl::operator>> ( ABDFileIn f,
double &  a 
)
related

Definition at line 196 of file aslABDFormat.h.

◆ operator>>() [5/7]

template<typename T >
ABDFileIn& asl::operator>> ( ABDFileIn f,
pair< T *, unsigned int >  a 
)
related

Definition at line 208 of file aslABDFormat.h.

◆ operator>>() [6/7]

ABDFileIn& asl::operator>> ( ABDFileIn f,
string &  a 
)
inline

Definition at line 220 of file aslABDFormat.h.

◆ operator>>() [7/7]

template<typename T >
ABDFileIn& asl::operator>> ( ABDFileIn f,
AVec< T > &  a 
)
related

Definition at line 234 of file aslABDFormat.h.

◆ optimizeMap()

void asl::optimizeMap ( SPDataWithGhostNodesACLData  c,
const VectorTemplate vt 
)

◆ output1OfN()

template<class T , int N>
void asl::output1OfN ( const std::string &  s)
inline

Makes output 1 of n times.

Definition at line 204 of file aslUtilities.h.

◆ P() [1/3]

template<int I>
const double asl::P ( const double &  a)
inline

Realization of \( a^I \).

Definition at line 72 of file aslUtilities.h.

◆ P() [2/3]

template<int I>
const float asl::P ( const float &  a)
inline

Definition at line 73 of file aslUtilities.h.

◆ P() [3/3]

template<int I>
const int asl::P ( const int &  a)
inline

Definition at line 74 of file aslUtilities.h.

◆ positive()

template<typename T >
const bool asl::positive ( const AVec< T > &  a)
related

Definition at line 345 of file aslVectorsDynamicLengthOperations.h.

◆ productOfElements() [1/2]

template<typename T >
T asl::productOfElements ( const AVec< T > &  a)
related
Examples
testASLData.cc.

Definition at line 314 of file aslVectorsDynamicLengthOperations.h.

◆ productOfElements() [2/2]

template<typename T >
const AVec<T> asl::productOfElements ( const AVec< T > &  a,
const AVec< T > &  b 
)
related

Definition at line 322 of file aslVectorsDynamicLengthOperations.h.

◆ rad() [1/2]

const double asl::rad ( double  a)
inline

Translation degrees to radians.

Definition at line 101 of file aslUtilities.h.

◆ rad() [2/2]

const float asl::rad ( float  a)
inline

Definition at line 102 of file aslUtilities.h.

◆ readSurface() [1/2]

SPDataWithGhostNodesACLData asl::readSurface ( const string &  fileName,
Block b,
acl::CommandQueue  queue = acl::hardware.defaultQueue 
)

◆ readSurface() [2/2]

SPDataWithGhostNodesACLData asl::readSurface ( const string &  fileName,
double  dx,
double  offset_X0,
double  offset_XE,
double  offset_Y0,
double  offset_YE,
double  offset_Z0,
double  offset_ZE,
acl::CommandQueue  queue = acl::hardware.defaultQueue 
)

◆ reorderVector()

template<class T >
void asl::reorderVector ( std::vector< unsigned int > &  ind,
std::vector< T > &  v 
)
inline

reorders vector according to indeces

Definition at line 247 of file aslUtilities.h.

◆ resizeGhostNodes()

template<typename V >
std::shared_ptr< DataWithGhostNodes< V > > asl::resizeGhostNodes ( std::shared_ptr< DataWithGhostNodes< V >>  d,
unsigned int  newGN 
)
inline

Definition at line 158 of file aslDataWithGhostNodes.h.

◆ round()

const AVec<int> asl::round ( const AVec<> &  a)
related

Definition at line 375 of file aslVectorsDynamicLengthOperations.h.

◆ setupAll()

template<class T >
void asl::setupAll ( std::vector< std::shared_ptr< T > > &  v)
inline

Definition at line 212 of file aslUtilities.h.

◆ sleep()

void asl::sleep ( unsigned int  span)
inline

Blocks execution of the calling thread for the time span (in milliseconds)

Definition at line 56 of file aslTimer.h.

◆ sortTwoVectors()

template<class T1 , class T2 >
void asl::sortTwoVectors ( std::vector< T1 > &  v1,
std::vector< T2 > &  v2 
)
inline

sorts two vectors with respect of the fist one

Definition at line 232 of file aslUtilities.h.

◆ strToNum()

template<typename T >
T asl::strToNum ( std::string  s)

Converts string to number, exits if not able to convert.

◆ subAVec()

template<typename T >
AVec<T> asl::subAVec ( const AVec< T > &  source,
unsigned int  start,
unsigned int  end 
)
inline

Definition at line 294 of file aslVectorsDynamicLengthOperations.h.

◆ sumOfElements()

template<typename T >
T asl::sumOfElements ( const AVec< T > &  a)
related

Definition at line 306 of file aslVectorsDynamicLengthOperations.h.