asl Namespace Reference

Advanced Simulation Library. More...

## Namespaces

| elasticity

## Classes

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

## Typedefs

typedef DataWithGhostNodes< acl::VectorOfElementsData > | DataWithGhostNodesACLData
typedef std::shared_ptr< DataWithGhostNodesACLData > | SPDataWithGhostNodesACLData
typedef DataWithGhostNodes< acl::VectorOfElements > | DataWithGhostNodesACL
typedef std::shared_ptr< DataWithGhostNodesACL > | SPDataWithGhostNodesACL
typedef std::shared_ptr< AbstractDataWithGhostNodes > | SPAbstractDataWithGhostNodes
typedef DataWrapper< acl::VectorOfElementsData > | DataWrapperACLData
typedef std::shared_ptr< DataWrapperACLData > | SPDataWrapperACLData
typedef DataWrapper< acl::VectorOfElements > | DataWrapperACL
typedef std::shared_ptr< DataWrapperACL > | SPDataWrapperACL
typedef std::shared_ptr< DistanceFunction > | SPDistanceFunction
typedef shared_ptr< AbstractData > | SPAbstractData
typedef std::shared_ptr< MemElementBase > | MemElement
typedef std::shared_ptr< ElementBase > | Element
typedef std::shared_ptr< PositionFunction > | SPPositionFunction
typedef std::shared_ptr< BCond > | SPBCond
typedef std::shared_ptr< DataCoarser > | SPDataCoarser
typedef std::shared_ptr< DataClipper > | SPDataClipper
typedef std::shared_ptr< DFOptimizer > | SPDFOptimizer
typedef std::shared_ptr< FDAdvectionDiffusion > | SPFDAdvectionDiffusion
typedef std::shared_ptr< FDAdvectionDiffusion2 > | SPFDAdvectionDiffusion2
typedef std::shared_ptr< FDAdvectionDiffusionInhomogeneous > | SPFDAdvectionDiffusionInhomogeneous
typedef std::shared_ptr< FDElasticityIncompressibleStatic > | SPFDElasticityIncompressibleStatic
typedef std::shared_ptr< FDElasticityRelaxation > | SPFDElasticityRelaxation
typedef std::shared_ptr< FDElasticity2 > | SPFDElasticity2
typedef std::shared_ptr< ElasticityCommonA > | SPElasticityCommonA
typedef std::shared_ptr< FDBVKinetics > | SPFDBVKinetics
typedef std::shared_ptr< FDMultiPhase > | SPFDMultiPhase
typedef std::shared_ptr< FDPoroElasticity > | SPFDPoroElasticity
typedef std::shared_ptr< FDStefanMaxwell > | SPFDStefanMaxwell
typedef std::shared_ptr< FDStefanMaxwellElectricField > | SPFDStefanMaxwellElectricField
typedef std::shared_ptr< InterfaceTrackingAlg1 > | SPInterfaceTrackingAlg1
typedef std::shared_ptr< LBGK > | SPLBGK
typedef std::shared_ptr< LBGKUtilities > | SPLBGKUtilities
typedef std::shared_ptr< LBGKTurbulence > | SPLBGKTurbulence
typedef std::shared_ptr< LevelSet > | SPLevelSet
typedef std::shared_ptr< LevelSetLinear > | SPLevelSetLinear
typedef std::shared_ptr< LSFacetedGrowth > | SPLSFacetedGrowth
typedef std::shared_ptr< LSNormalGrowth > | SPLSNormalGrowth
typedef std::shared_ptr< NumMethod > | SPNumMethod
typedef std::shared_ptr< SingleKernelNM > | SPSingleKernelNM
typedef std::shared_ptr< TimeContinPLagrange > | SPTimeContinPLagrange
typedef std::shared_ptr< TimeContinPLagrangeFraction > | SPTimeContinPLagrangeFraction
typedef std::shared_ptr< FDAdvectionDiffusionExtended > | SPFDAdvectionDiffusionExtended

## 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 , 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 , X0 , XE , Y0 , YE , Z0 , ZE }
| defines names of walls of a box More...

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 , 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 , 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 >
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::Element > | gcBoundaryArea (TemplateVE &distanceTVE, unsigned int iEl, acl::VectorOfElements &center, acl::VectorOfElements &area)
| generates expresion for area of a boundary element More...
vector< acl::Element > | gcBoundaryAreaPerGhostPoint (TemplateVE &distanceTVE, unsigned int iEl, acl::VectorOfElements &center, acl::VectorOfElements &area)
| generates expresion for area of a boundary element More...
vector< acl::Element > | gcBoundaryArea (TemplateVE &distanceTVE, acl::VectorOfElements &area)
| generates expresion for area of a boundary element More...
vector< acl::Element > | gcBoundaryAreaPerGhostPoint (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 ProbeTemplate * | allMinimalProbeTemplate (unsigned int dimNumber)
| returns template corresponding to minimal probes More...
const ProbeTemplate * | minimalProbeTemplate (unsigned int dimNumber)
unsigned int | nD (const VectorTemplate &vt)
const VectorTemplate & | d1q2ec ()
| An elementary cell in 1D space. More...
const VectorTemplate & | d2q4ec ()
| An elementary cell in 2D space. More...
const VectorTemplate & | d3q8ec ()
| An elementary cell in 3D space. More...
const VectorTemplate & | d1q3 ()
| Vector template. More...
const VectorTemplate & | d2q5 ()
| Vector template. More...
const VectorTemplate & | d2q9 ()
| Vector template. More...
const VectorTemplate & | d3q7 ()
| Vector template. More...
const VectorTemplate & | d3q15 ()
| Vector template. More...
const VectorTemplate & | d3q19 ()
| Vector template. More...
const VectorTemplate & | d3q27 ()
| Vector template. More...
const VectorTemplate & | d1q1uv ()
| An unit vector in 1D space. More...
const VectorTemplate & | d2q2uv ()
| An elementary cell in 2D space. More...
const VectorTemplate & | d3q3uv ()
| An elementary cell in 3D space. More...
const VectorTemplate & | d1q2 ()
| Vector template. More...
const VectorTemplate & | d2q4 ()
| Vector template. More...
const VectorTemplate & | d3q6 ()
| Vector template. More...
const VectorTemplate & | d2q8 ()
| Vector template. More...
const VectorTemplate & | d3q14 ()
| Vector template. More...
const VectorTemplate & | d3q18 ()
| Vector template. More...
const VectorTemplate * | nearestNeigboursVT (unsigned int dimNumber)
| returns template corresponding to nearest neighbours More...
const VectorTemplate * | nearestNeigboursVT0 (unsigned int dimNumber)
| returns template corresponding to nearest neighbours without central point More...
const VectorTemplate * | nearestNeigboursPVT (unsigned int dimNumber)
| returns template corresponding to nearest neighbours plus More...
const VectorTemplate * | allNeigboursVT (unsigned int dimNumber)
| returns template corresponding to all neighbours More...
const VectorTemplate * | elementaryCellVT (unsigned int dimNumber)
| returns template corresponding to an elementary cell More...
unsigned int | nD (const VTObjects vto)
const VTObjects * | vtObject (const VectorTemplate *)
| Returns vtObjecs corresponding to the given VectorTemplate. More...
const VTObjects & | d2q5Objs ()
| Vector template. More...
const VTObjects & | d3q7Objs ()
| Vector template. More...
const VTObjects & | d2q9Objs ()
| Vector template. More...
const VTObjects & | d3q15Objs ()
| Vector template. More...
const VTObjects & | d3q19Objs ()
| 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::Element > | gcGradientAllCells (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 >
T | sumOfElements (const AVec< T > &a)
template<typename T >
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)
SPBCond | generateBCConstantVelocity (SPLBGK nm, AVec<> v, const std::vector< SlicesNames > &sl)
SPBCond | generateBCConstantPressure (SPLBGK nm, double p, const std::vector< SlicesNames > &sl)
SPBCond | generateBCConstantPressureVelocity (SPLBGK nm, double p, AVec<> v, const std::vector< SlicesNames > &sl)
SPNumMethod | generateBCConstantPressure (SPLBGK nm, double p, SPAbstractDataWithGhostNodes map)
SPNumMethod | generateBCConstantPressureVelocity (SPLBGK nm, double p, AVec<> v, SPAbstractDataWithGhostNodes map)
SPNumMethod | generateBCNoSlip (SPLBGK nm, SPAbstractDataWithGhostNodes map)
SPNumMethod | generateBCNoSlipVel (SPLBGK nmU, SPAbstractDataWithGhostNodes map)
SPNumMethod | generateBCNoSlipRho (SPLBGK nmU, SPAbstractDataWithGhostNodes map)
SPNumMethod | generateBCVelocity (SPLBGK nm, SPPositionFunction v, SPAbstractDataWithGhostNodes map)
SPNumMethod | generateBCVelocity (SPLBGK nm, SPPositionFunction v, SPAbstractDataWithGhostNodes map, SPAbstractDataWithGhostNodes computationalDomain)
SPNumMethod | generateBCVelocityVel (SPLBGK nm, SPPositionFunction v, SPAbstractDataWithGhostNodes map)
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< Block > | makeBlock (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...
ABDFileOut & | operator<< (ABDFileOut &f, const int a)
ABDFileIn & | operator>> (ABDFileIn &f, int &a)
ABDFileOut & | operator<< (ABDFileOut &f, const unsigned int a)
ABDFileIn & | operator>> (ABDFileIn &f, unsigned int &a)
ABDFileOut & | operator<< (ABDFileOut &f, const float a)
ABDFileIn & | operator>> (ABDFileIn &f, float &a)
ABDFileOut & | operator<< (ABDFileOut &f, const double a)
ABDFileIn & | operator>> (ABDFileIn &f, double &a)
template<typename T >
ABDFileOut & | operator<< (ABDFileOut &f, pair< T *, unsigned int > a)
template<typename T >
ABDFileIn & | operator>> (ABDFileIn &f, pair< T *, unsigned int > a)
ABDFileOut & | operator<< (ABDFileOut &f, const string &a)
ABDFileIn & | operator>> (ABDFileIn &f, string &a)
template<typename T >
ABDFileOut & | operator<< (ABDFileOut &f, const AVec< T > &a)
template<typename T >
ABDFileIn & | operator>> (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::Var > | SPMatVar
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

typedef DataWithGhostNodes< acl::VectorOfElements > asl::DataWithGhostNodesACL

Definition at line 48 of file aslGenerators.h.

## DataWithGhostNodesACLData

typedef DataWithGhostNodes< acl::VectorOfElementsData > asl::DataWithGhostNodesACLData

Definition at line 46 of file aslGenerators.h.

## DataWrapperACL

typedef DataWrapper< acl::VectorOfElements > asl::DataWrapperACL

Definition at line 55 of file aslGenerators.h.

## DataWrapperACLData

typedef DataWrapper< acl::VectorOfElementsData > asl::DataWrapperACLData

Definition at line 53 of file aslGenerators.h.

## Element

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

Definition at line 37 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

typedef std::shared_ptr< AbstractDataWithGhostNodes > asl::SPAbstractDataWithGhostNodes

Definition at line 51 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

typedef std::shared_ptr< DataWithGhostNodesACL > asl::SPDataWithGhostNodesACL

Definition at line 49 of file aslGenerators.h.

## SPDataWithGhostNodesACLData

typedef std::shared_ptr< DataWithGhostNodesACLData > asl::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

typedef shared_ptr< DataWrapperACLData > asl::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 38 of file aslFDElasticityBC.h.

## SPFDAdvectionDiffusion

typedef std::shared_ptr< FDAdvectionDiffusion > asl::SPFDAdvectionDiffusion

Definition at line 113 of file aslFDAdvectionDiffusion.h.

## SPFDAdvectionDiffusion2

typedef std::shared_ptr< FDAdvectionDiffusion2 > asl::SPFDAdvectionDiffusion2

Definition at line 94 of file aslFDAdvectionDiffusion2.h.

## SPFDAdvectionDiffusionExtended

typedef std::shared_ptr< FDAdvectionDiffusionExtended > asl::SPFDAdvectionDiffusionExtended

Definition at line 96 of file aslFDAdvectionDiffusionExtended.h.

## SPFDAdvectionDiffusionInhomogeneous

typedef std::shared_ptr< FDAdvectionDiffusionInhomogeneous > asl::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

typedef std::shared_ptr< FDElasticityIncompressibleStatic > asl::SPFDElasticityIncompressibleStatic

Definition at line 120 of file aslFDElasticity.h.

## SPFDElasticityRelaxation

typedef std::shared_ptr< FDElasticityRelaxation > asl::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

typedef std::shared_ptr< FDStefanMaxwellElectricField > asl::SPFDStefanMaxwellElectricField

Definition at line 181 of file aslFDStefanMaxwell.h.

## SPInterfaceTrackingAlg1

typedef std::shared_ptr< InterfaceTrackingAlg1 > asl::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 39 of file aslNumMethodsMerger.h.

## SPTimeContinPLagrange

typedef std::shared_ptr< TimeContinPLagrange > asl::SPTimeContinPLagrange

Definition at line 95 of file aslTimeContinuations.h.

## SPTimeContinPLagrangeFraction

typedef std::shared_ptr< TimeContinPLagrangeFraction > asl::SPTimeContinPLagrangeFraction

Definition at line 134 of file aslTimeContinuations.h.

## Enumeration Type Documentation

## VTName [1/2]

enum asl::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 |
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.

## VTName [2/2]

enum asl::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 |
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
| ) |  |

Examples
  cubePoroelasticGravity.cc, and poroelastic.cc.

## 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

  iEl | the 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< std::shared_ptr< T > > & | v | ) |

inline

Definition at line 61 of file aslNumMethod.h.

## executeAll() [2/2]

template<class T >

void asl::executeAll | ( | std::vector< T * > & | v | ) |

inline

Examples
  acousticWaves.cc, bus_wind.cc, compressor.cc, cubeIncompressibleGravity.cc, cubePoroelasticGravity.cc, flow.cc, flowKDPGrowth.cc, flowRotatingCylinders.cc, locomotive.cc, locomotive_laminar.cc, locomotive_stability.cc, multicomponent_flow.cc, multiphase_flow.cc, pitot_tube_ice.cc, poroelastic.cc, surfaceFlux.cc, testSMDiff.cc, testSMDiff3C.cc, testSMPhi.cc, and testSMPhiBV.cc.

Definition at line 55 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,
|  | acl::VectorOfElements & | area
| ) |  |

generates expresion for area of a boundary element

computes area of the corresponding boundary within all cells

## gcBoundaryArea() [2/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

  iEl | the element number computes area of the corresponding boundary within bulk element `iEl`

## gcBoundaryAreaPerGhostPoint() [1/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

## gcBoundaryAreaPerGhostPoint() [2/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

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

## 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
| ) |  |

Examples
  cubeIncompressibleGravity.cc.

## generateFDPoroElasticity() [1/2]

SPFDPoroElasticity asl::generateFDPoroElasticity | ( | SPDataWithGhostNodesACLData | d,
|  | SPDataWithGhostNodesACLData | pl,
|  | double | bM,
|  | double | sM,
|  | double | k,
|  | const VectorTemplate * | vT
| ) |  |

Parameters

  d | is a displacement field
  pl | is a pressure of liquid field
  bM | is the bulk modulus
  sM | is the shear modulus
  k | is hydraulic conductivity
  vT | is 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

  d | is a displacement field
  pl | is a pressure of liquid field
  bM | is the bulk modulus
  sM | is the shear modulus
  k | is hydraulic conductivity
  vT | is 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

  a | matrix element
  b | matrix element
  c | matrix element
  l1 | first eigenvalue
  l2 | second eigenvalue
  v1x | x component of first eigenvector
  v1y | y component of first eigenvector
  v2x | x component of second eigenvector
  v2y | y 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

  a | matrix element
  b | matrix element
  c | matrix element
  d | matrix element
  e | matrix element
  f | matrix element
  l1 | first eigenvalue
  l2 | second eigenvalue
  l3 | second eigenvalue
  v1x | x component of first eigenvector
  v1y | y component of first eigenvector
  v1z | z component of first eigenvector
  v2x | x component of second eigenvector
  v2y | y component of second eigenvector
  v2z | z component of second eigenvector
  v3x | x component of second eigenvector
  v3y | y component of second eigenvector
  v3z | z 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< std::shared_ptr< T > > & | v | ) |

inline

Definition at line 73 of file aslNumMethod.h.

## initAll() [2/2]

template<class T >

void asl::initAll | ( | std::vector< T * > & | v | ) |

inline

Examples
  acousticWaves.cc, bus_wind.cc, compressor.cc, cubeIncompressibleGravity.cc, cubePoroelasticGravity.cc, flow.cc, flowKDPGrowth.cc, flowRotatingCylinders.cc, locomotive.cc, locomotive_laminar.cc, locomotive_stability.cc, multicomponent_flow.cc, multiphase_flow.cc, pitot_tube_ice.cc, poroelastic.cc, surfaceFlux.cc, testSMDiff.cc, testSMDiff3C.cc, testSMPhi.cc, and testSMPhiBV.cc.

Definition at line 67 of file aslNumMethod.h.

## initData() [1/4]

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

## initData() [2/4]

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

Examples
  acousticWaves.cc, bus_wind.cc, compressor.cc, cubePoroelasticGravity.cc, flow.cc, flow2.cc, flow3.cc, flowKDPGrowth.cc, flowRotatingCylinders.cc, levelSetBasic.cc, levelSetFacetedGrowth.cc, levelSetNormalGrowth.cc, locomotive.cc, locomotive_laminar.cc, locomotive_stability.cc, multicomponent_flow.cc, multiphase_flow.cc, pitot_tube_ice.cc, surfaceFlux.cc, testDistanceFunction.cc, testSMDiff.cc, testSMDiff3C.cc, testSMPhi.cc, and testSMPhiBV.cc.

## 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 | ( | T | a1 | ) |

related

Examples
  acousticWaves.cc, bus_wind.cc, compressor.cc, cubePoroelasticGravity.cc, flow.cc, flow2.cc, flow3.cc, flowKDPGrowth.cc, flowRotatingCylinders.cc, locomotive.cc, locomotive_laminar.cc, locomotive_stability.cc, multicomponent_flow.cc, multiphase_flow.cc, pitot_tube_ice.cc, surfaceFlux.cc, testABDFormat.cc, testASLData.cc, testDistanceFunction.cc, testMatrixOfElements.cc, testSMDiff.cc, testSMDiff3C.cc, testSMPhi.cc, and testSMPhiBV.cc.

Definition at line 176 of file aslVectorsDynamicLength.h.

## makeAVec() [2/4]

template<typename T >

AVec< T > asl::makeAVec | ( | T | a1,
|  | T | a2
| ) |  |

related

Definition at line 181 of file aslVectorsDynamicLength.h.

## makeAVec() [3/4]

template<typename T >

AVec< T > asl::makeAVec | ( | T | a1,
|  | T | a2,
|  | T | a3
| ) |  |

related

Definition at line 189 of file aslVectorsDynamicLength.h.

## makeAVec() [4/4]

template<typename T >

AVec< T > asl::makeAVec | ( | T | a1,
|  | T | a2,
|  | T | a3,
|  | T | 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]

template<typename T >

const unsigned int asl::nD | ( | const AVec< T > | a | ) |

related

Definition at line 217 of file aslVectorsDynamicLength.h.

## 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]

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

inline

## 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]

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*() [2/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*() [3/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*() [4/4]

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

## 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]

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+() [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]

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

## operator+=() [1/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+=() [2/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-() [1/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-() [2/4]

template<typename T >

const AVec< T > asl::operator- | ( | const AVec< T > & | a | ) |

related

Definition at line 177 of file aslVectorsDynamicLengthOperations.h.

## operator-() [3/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-() [4/4]

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

## 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]

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/() [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]

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

## operator<<() [1/9]

template<typename T >

ABDFileOut & asl::operator<< | ( | ABDFileOut & | f,
|  | const AVec< T > & | a
| ) |  |

related

Definition at line 227 of file aslABDFormat.h.

## operator<<() [2/9]

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

related

Definition at line 190 of file aslABDFormat.h.

## operator<<() [3/9]

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

related

Definition at line 178 of file aslABDFormat.h.

## operator<<() [4/9]

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

related

Definition at line 154 of file aslABDFormat.h.

## operator<<() [5/9]

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

inline

Definition at line 214 of file aslABDFormat.h.

## operator<<() [6/9]

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

related

Definition at line 166 of file aslABDFormat.h.

## operator<<() [7/9]

template<typename T >

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

related

Definition at line 203 of file aslABDFormat.h.

## operator<<() [8/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<<() [9/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==() [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 >

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

related

Definition at line 234 of file aslVectorsDynamicLengthOperations.h.

## operator==() [3/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>>() [1/7]

template<typename T >

ABDFileIn & asl::operator>> | ( | ABDFileIn & | f,
|  | AVec< T > & | a
| ) |  |

related

Definition at line 234 of file aslABDFormat.h.

## operator>>() [2/7]

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

related

Definition at line 196 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,
|  | int & | a
| ) |  |

related

Definition at line 160 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]

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

related

Definition at line 172 of file aslABDFormat.h.

## optimizeMap()

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

Examples
  testDistanceFunction.cc.

## 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.