ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
asl Namespace Reference

Advanced Simulation Library. More...

Namespaces

namespace  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
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::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 , 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
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
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
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
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
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
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
SPAbstractDataWithGhostNodes generateDCFullSafe (SPAbstractDataWithGhostNodes d, double outVal)
 generates data container without ghost nodes and safe outOfboundary element acces
SPDistanceFunction generateDFSphere (double r, const AVec< double > &c)
 generates sphere
SPDistanceFunction generateDFCylinderInf (double r, const AVec< double > &l, const AVec< double > &c)
 generates infinite cylinder
SPDistanceFunction generateDFCylinder (double r, const AVec< double > &l, const AVec< double > &c)
 generates cylinder
SPDistanceFunction generateDFCone (double r, const AVec< double > &l, const AVec< double > &a)
 generates cone
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
SPDistanceFunction generateDFConvexPolygonPyramid (std::vector< AVec< double > > points, AVec< double > a)
 generates pyramid with convex polygon at its base and apex a
SPDistanceFunction generateDFInBlock (const Block &b, unsigned int nG)
 generates map corresponding to external (ghost) part of the block
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.
void initData (SPAbstractDataWithGhostNodes d, SPDistanceFunction f, const acl::KernelConfiguration &k)
 Initialize d by f.
template<typename T>
std::string numToStr (T i)
 Converts numbers or another type to string.
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.
template<typename T>
strToNum (std::string s)
 Converts string to number, exits if not able to convert.
template<int I>
const double P (const double &a)
 Realization of \( a^I \).
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] \).
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) \).
const double deg (double a)
 Translation radians to degrees.
const float deg (float a)
const double rad (double a)
 Translation degrees to radians.
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_.
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.
void errorMessage (cl_int status, const std::string &errorMessage)
 Prints errorMessage and exits depending on the status.
void errorMessage (bool status)
 Prints " Ok" or " ERROR" depending on status.
void errorMessage (const char *errorMessage)
 Prints errorMessage and exits.
void errorMessage (const std::string &errorMessage)
 Prints errorMessage and exits.
void warningMessage (const char *warningMessage)
 Prints warningMessage.
void warningMessage (const std::string &warningMessage)
 Prints warningMessage.
std::string warningString (const char *warningMessage)
 Returns warningMessage.
template<typename T>
std::ostream & operator<< (std::ostream &output, const std::vector< T > &vector)
 Prints elements of the vector separated by space.
template<typename T>
bool operator== (const std::vector< T > &vector1, const std::vector< T > &vector2)
 Compares two vectors.
template<class T, int N>
void output1OfN (const std::string &s)
 Makes output 1 of n times.
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
template<class T>
void reorderVector (std::vector< unsigned int > &ind, std::vector< T > &v)
 reorders vector according to indeces
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
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
acl::VectorOfElements isComputationNode (TemplateVE &distanceTVE, unsigned int i)
 returns expression corresponding to check if the node in i^th direction is computation one
acl::VectorOfElements nGhostNodesInCell (TemplateVE &distanceTVE, unsigned int i)
 returns expression corresponding to number of ghost nodes in a cell i
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
acl::VectorOfElements exBoundaryX (TemplateVE &distanceTVE, unsigned int i)
 returns expression corresponding to the relative boundary position in direction i
acl::VectorOfElements exBoundaryCenter (TemplateVE &distanceTVE, unsigned int iEl)
 generates expresion for center of a boundary element
vector< acl::ElementgcBoundaryArea (TemplateVE &distanceTVE, unsigned int iEl, acl::VectorOfElements &center, acl::VectorOfElements &area)
 generates expresion for area of a boundary element
vector< acl::ElementgcBoundaryAreaPerGhostPoint (TemplateVE &distanceTVE, unsigned int iEl, acl::VectorOfElements &center, acl::VectorOfElements &area)
 generates expresion for area of a boundary element
vector< acl::ElementgcBoundaryArea (TemplateVE &distanceTVE, acl::VectorOfElements &area)
 generates expresion for area of a boundary element
vector< acl::ElementgcBoundaryAreaPerGhostPoint (TemplateVE &distanceTVE, acl::VectorOfElements &area)
 generates expresion for area of a boundary element
template<typename T>
AVec< T > solveSystem (const AMatr< T > &a, const AVec< T > &b)
 returns solution of a system of linear equations
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.
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.
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.
void initData (SPAbstractDataWithGhostNodes d, SPPositionFunction f, const acl::KernelConfiguration &k)
 Initialize d by f.
const ProbeTemplateallMinimalProbeTemplate (unsigned int dimNumber)
 returns template corresponding to minimal probes
const ProbeTemplateminimalProbeTemplate (unsigned int dimNumber)
unsigned int nD (const VectorTemplate &vt)
const VectorTemplated1q2ec ()
 An elementary cell in 1D space.
const VectorTemplated2q4ec ()
 An elementary cell in 2D space.
const VectorTemplated3q8ec ()
 An elementary cell in 3D space.
const VectorTemplated1q3 ()
 Vector template.
const VectorTemplated2q5 ()
 Vector template.
const VectorTemplated2q9 ()
 Vector template.
const VectorTemplated3q7 ()
 Vector template.
const VectorTemplated3q15 ()
 Vector template.
const VectorTemplated3q19 ()
 Vector template.
const VectorTemplated3q27 ()
 Vector template.
const VectorTemplated1q1uv ()
 An unit vector in 1D space.
const VectorTemplated2q2uv ()
 An elementary cell in 2D space.
const VectorTemplated3q3uv ()
 An elementary cell in 3D space.
const VectorTemplated1q2 ()
 Vector template.
const VectorTemplated2q4 ()
 Vector template.
const VectorTemplated3q6 ()
 Vector template.
const VectorTemplated2q8 ()
 Vector template.
const VectorTemplated3q14 ()
 Vector template.
const VectorTemplated3q18 ()
 Vector template.
const VectorTemplatenearestNeigboursVT (unsigned int dimNumber)
 returns template corresponding to nearest neighbours
const VectorTemplatenearestNeigboursVT0 (unsigned int dimNumber)
 returns template corresponding to nearest neighbours without central point
const VectorTemplatenearestNeigboursPVT (unsigned int dimNumber)
 returns template corresponding to nearest neighbours plus
const VectorTemplateallNeigboursVT (unsigned int dimNumber)
 returns template corresponding to all neighbours
const VectorTemplateelementaryCellVT (unsigned int dimNumber)
 returns template corresponding to an elementary cell
unsigned int nD (const VTObjects vto)
const VTObjectsvtObject (const VectorTemplate *)
 Returns vtObjecs corresponding to the given VectorTemplate.
const VTObjectsd2q5Objs ()
 Vector template.
const VTObjectsd3q7Objs ()
 Vector template.
const VTObjectsd2q9Objs ()
 Vector template.
const VTObjectsd3q15Objs ()
 Vector template.
const VTObjectsd3q19Objs ()
 Vector template.
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 \)
acl::VectorOfElements gradient (const TemplateVE &a)
 differential operator \( \vec\nabla a \)
acl::VectorOfElements dx (const TemplateVE &a)
 differential operator \( \partial_x a \)
acl::VectorOfElements dy (const TemplateVE &a)
 differential operator \( \partial_y a \)
acl::VectorOfElements dz (const TemplateVE &a)
 differential operator \( \partial_z a \)
acl::VectorOfElements dxi (const TemplateVE &a, unsigned int i)
 differential operator \( \partial_{i} a \)
acl::VectorOfElements divAgradB (const TemplateVE &a, const TemplateVE &b)
 differential operator \( \nabla(a \nabla b) \)
acl::VectorOfElements div (const vector< TemplateVE > &a)
 differential operator \( \nabla \cdot \vec a \)
acl::VectorOfElements divProduct (const vector< TemplateVE > &a, const TemplateVE &c)
 differential operator \( \nabla \cdot (\vec a c) \)
acl::VectorOfElements div (const TemplateVE &ax, const TemplateVE &ay)
 differential operator \( \nabla \cdot \vec a \)
acl::VectorOfElements div (const TemplateVE &ax, const TemplateVE &ay, const TemplateVE &az)
 differential operator \( \nabla \cdot \vec a \)
acl::VectorOfElements dIdJ (unsigned int i, unsigned int j, const TemplateVE &a)
 differential operator \( \nabla_i \nabla_j a \)
acl::VectorOfElements interpolate (const TemplateVE &a, acl::VectorOfElements e)
 generates expresion for bilinear interpolation the template should be an elementary cell
acl::VectorOfElements cellValues (const TemplateVE &a, unsigned int iEl)
 returns VectorOfElements containing values in cell corners
acl::VectorOfElements gradient (const TemplateVE &a, unsigned int iEl)
 differential operator \( \vec\nabla a \) within a cell
vector< acl::ElementgcGradientAllCells (const TemplateVE &a, vector< acl::VectorOfElements > &values)
 differential operator \( \vec\nabla a \) within all cells
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.
SPBCond generateBCConstantValue (SPAbstractDataWithGhostNodes d, UValue< double > &v, const std::vector< SlicesNames > &sl)
 Bondary condition that puts fixed value in each point.
SPBCond generateBCConstantValue (SPAbstractDataWithGhostNodes d, UValue< AVec< float > > &v, const std::vector< SlicesNames > &sl)
 Bondary condition that puts fixed value in each point.
SPBCond generateBCConstantValue (SPAbstractDataWithGhostNodes d, AVec<> v, const std::vector< SlicesNames > &sl)
 Bondary condition that puts fixed value in each point.
SPNumMethod generateBCConstantValue (SPAbstractDataWithGhostNodes d, double v, SPAbstractDataWithGhostNodes map)
 Bondary condition that puts fixed value in each point.
SPNumMethod generateBCConstantValue (SPAbstractDataWithGhostNodes d, AVec<> v, SPAbstractDataWithGhostNodes map)
 Bondary condition that puts fixed value in each point.
SPNumMethod generateBCConstantValue (SPAbstractDataWithGhostNodes d, SPPositionFunction v, SPAbstractDataWithGhostNodes map)
 Bondary condition that puts fixed value in each point.
SPNumMethod generateBCConstantValueMiddlePoint (SPAbstractDataWithGhostNodes d, double v, SPAbstractDataWithGhostNodes map, const VectorTemplate *const t)
 Bondary condition that puts fixed value in each point.
SPNumMethod generateBCConstantValueMiddlePoint (SPAbstractDataWithGhostNodes d, AVec<> v, SPAbstractDataWithGhostNodes map, const VectorTemplate *const t)
 Bondary condition that puts fixed value in each point.
SPBCond generateBCConstantGradient (SPAbstractDataWithGhostNodes d, double v, const VectorTemplate *const t, const std::vector< SlicesNames > &sl)
 Bondary condition that makes fixed gradient.
SPNumMethod generateBCConstantGradient (SPAbstractDataWithGhostNodes d, double v, SPAbstractDataWithGhostNodes map, const VectorTemplate *const t)
 Bondary condition that makes fixed gradient.
SPNumMethod generateBCConstantGradient (SPAbstractDataWithGhostNodes d, double v, SPAbstractDataWithGhostNodes map, SPAbstractDataWithGhostNodes computatinalDomain, const VectorTemplate *const t)
 Bondary condition that makes fixed gradient.
SPNumMethod generateBCConstantGradient (SPAbstractDataWithGhostNodes d, AVec<> v, SPAbstractDataWithGhostNodes map, const VectorTemplate *const t)
 Bondary condition that makes fixed gradient.
SPNumMethod generateBCConstantGradient2 (SPAbstractDataWithGhostNodes d, double v, SPAbstractDataWithGhostNodes map, const VectorTemplate *const t)
 Bondary condition that makes fixed gradient, second order accuracy.
SPNumMethod generateBCConstantGradient2 (SPAbstractDataWithGhostNodes d, double v, SPAbstractDataWithGhostNodes map, SPAbstractDataWithGhostNodes computatinalDomain, const VectorTemplate *const t)
 Bondary condition that makes fixed gradient, second order accuracy.
SPNumMethod generateBCConstantGradient2 (SPAbstractDataWithGhostNodes d, AVec<> v, SPAbstractDataWithGhostNodes map, const VectorTemplate *const t)
 Bondary condition that makes fixed gradient, second order accuracy.
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\)).
SPBCond generateBCRigidWall (SPFDElasticityRelaxation nm, const std::vector< SlicesNames > &sl)
 Bondary condition corresponding to a rigid wall ( \(\vec u=0\) and \(\nabla p=0\)).
SPBCond generateBCRigidWall (SPFDElasticity2 nm, const std::vector< SlicesNames > &sl)
 Bondary condition corresponding to a rigid wall ( \( u=0\) and \(\dot u=0\)).
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\)).
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\)).
SPNumMethod generateBCZeroStress (SPElasticityCommonA nm, SPAbstractDataWithGhostNodes map)
 Bondary condition set given values to displacement/velocity.
SPNumMethod generateBCZeroStressP (SPFDElasticityIncompressibleStatic nm, SPAbstractDataWithGhostNodes map)
 Bondary condition set given values to displacement/velocity.
SPNumMethod generateBCZeroStressP (SPFDElasticityRelaxation nm, SPAbstractDataWithGhostNodes map)
 Bondary condition set given values to displacement/velocity.
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.
void addBCZeroStress (std::vector< SPNumMethod > &bcList, SPFDPoroElasticity nm, SPPositionFunction p, SPAbstractDataWithGhostNodes map)
 Bondary condition set given values to pressure.
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
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).
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
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
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
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
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
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
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
void writeMAT (const string &fileName, vector< pair< SPAbstractData, string > > data)
 writes data in a MatLab file
void writeMAT (const string &fileName, vector< pair< acl::Element, string > > data)
 writes data in a MatLab file
void writeMAT (const string &fileName, Probe &probe, unsigned int component, const string &name)
 writes probe values in a MatLab file
void writeVTKXML (const std::string &fileName, const AbstractData &data, const std::string &name)
template<typename T>
std::ostream & operator<< (std::ostream &f, const AMatr< T > &a)
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 > &a, const AMatr< T > &b)
template<typename T>
const AVec< T > operator* (const AMatr< T > &a, const AVec< T > &b)
template<typename T>
const AVec< T > operator* (const AVec< T > &a, const AMatr< T > &b)
template<typename T>
const AMatr< T > operator* (const AMatr< T > &a, const T &b)
template<typename T>
const AMatr< T > operator* (const T &a, const AMatr< T > &b)
template<typename T>
const T trace (const AMatr< T > &a)
 Trace of a matrix \(Tr(A)\equiv A_{ii}\).
template<typename T>
const T trace (const AMatr< T > &a, const AMatr< T > &b)
 Trace of a matrix product \(Tr(A B)\equiv A_{ij}B_{ji}\).
template<typename T>
const AMatr< T > operator/ (const AMatr< T > &b, const T &a)
template<typename T>
AMatr< T > elementProduct (const AVec< T > &a, const AVec< T > &b)
 element product of two vectors
template<typename T>
AMatr< T > makeAMatr (const AVec< T > &a)
 generates a matrix with a row
template<typename T>
AMatr< T > makeAMatr (const AVec< T > &a, const AVec< T > &b)
 generates a matrix with two rows
template<typename T>
AMatr< T > makeAMatr (const AVec< T > &a, const AVec< T > &b, const AVec< T > &c)
 generates a matrix with three rows
template<typename T>
AMatr< T > makeAMatr (AVec< T > *a, unsigned int n)
 generates a matrix with n rows
template<typename T = int>
AMatr< T > makeAMatrUnit (unsigned int n)
template<typename T>
AVec< T > getDiagonal (const AMatr< T > &a)
 returns AVec containing the diagonal elements
template<typename T>
AVec< T > getOffDiagonalUp (const AMatr< T > &a)
 returns AVec<T> containing the uper off diagonal elements
template<typename T>
det (const AMatr< T > &m)
 computes determinant expression fo cases 2x2 and 3x3 only
template<typename T>
AMatr< T > replaceRow (const AMatr< T > &a, const AVec< T > &b, unsigned int r)
 generate matrix with content of the matrix a but with replaced row r by vector b<T>
template<typename T>
AMatr< T > replaceColumn (const AMatr< T > &a, const AVec< T > &b, unsigned int c)
 generate matrix with content of the matrix a but with replaced column c by vector b<T>
template<typename T>
AMatr< T > inverseMatrix (const AMatr< T > &a)
 returns inverse matrix for cases 2x2 and 3x3<T>
double edgeWeight (const VTObjects &vto, unsigned int iEl, unsigned int i, unsigned int j)
 returns coefficient of the laplace operator corresponding to the direction of a cell edge
template<typename T>
const unsigned int nD (const AVec< T > a)
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 T1, typename T2>
bool compatibleSizes (AVec< T1 > a, AVec< T2 > b)
 The function checks whether the sizes are equal.
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 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 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)
 returns minimal component
template<typename T>
const T maxComponent (const AVec< T > &a)
 returns maximal component
template<typename T>
sumOfElements (const AVec< T > &a)
 returns summ of all components
template<typename T>
productOfElements (const AVec< T > &a)
 returns product of all components
template<typename T>
const AVec< T > productOfElements (const AVec< T > &a, const AVec< T > &b)
 returns vector which elements are product of corresponding elements of a and b
template<typename T>
const AVec< T > divisionOfElements (const AVec< T > &a, const AVec< T > &b)
 returns vector which elements are division of corresponding elements of a and b
template<typename T>
const bool positive (const AVec< T > &a)
 returns true in case when all components of a more or then 0
template<typename T>
const bool nonNegative (const AVec< T > &a)
 returns true in case when all components of a more or equal 0
const AVec< int > floor (const AVec<> &a)
 returns true in case when all components of a more then 0
const AVec< int > round (const AVec<> &a)
 returns true in case when all components of a more then 0
double computePolynom (double x, AVec<> &coefs)
 computes polynom for x with coefs
template<typename T>
std::ostream & operator<< (std::ostream &output, const AVec< T > &a)
const AVec swapXZ (const AVec<> &a)
 returns true in case when all components of a more then 0
const AVec swapXZ (const AVec<> &a)
 returns true in case when all components of a more then 0
acl::VectorOfElements computeRho (acl::VectorOfElements f, const VectorTemplate *vt)
 returns VectorOfElements with values of rho
acl::VectorOfElements computeMomentum (acl::VectorOfElements f, const VectorTemplate *vt)
 returns VectorOfElements with values of velocity
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)
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)
ABDFileOutoperator<< (ABDFileOut &f, const Block &a)
ABDFileInoperator>> (ABDFileIn &f, Block &a)
ABDFileOutoperator<< (ABDFileOut &f, const AbstractData &a)
 writes data. It is assumed that the Block is written separately
ABDFileInoperator>> (ABDFileIn &f, AbstractData &a)
 reads data. It is assumed that the class has the propper size
ABDFileInget (ABDFileIn &f, AbstractData &a, std::shared_ptr< double > d)
 reads data. It is assumed that the class has the propper size
template<typename T>
std::ostream & operator<< (std::ostream &f, const AMatr< T > &a)
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 > &a, const AMatr< T > &b)
template<typename T>
const AVec< T > operator* (const AMatr< T > &a, const AVec< T > &b)
template<typename T>
const AVec< T > operator* (const AVec< T > &a, const AMatr< T > &b)
template<typename T>
const AMatr< T > operator* (const AMatr< T > &a, const T &b)
template<typename T>
const AMatr< T > operator* (const T &a, const AMatr< T > &b)
template<typename T>
const T trace (const AMatr< T > &a)
 Trace of a matrix \(Tr(A)\equiv A_{ii}\).
template<typename T>
const T trace (const AMatr< T > &a, const AMatr< T > &b)
 Trace of a matrix product \(Tr(A B)\equiv A_{ij}B_{ji}\).
template<typename T>
const AMatr< T > operator/ (const AMatr< T > &b, const T &a)
template<typename T>
AMatr< T > elementProduct (const AVec< T > &a, const AVec< T > &b)
 element product of two vectors
template<typename T>
AMatr< T > makeAMatr (const AVec< T > &a)
 generates a matrix with a row
template<typename T>
AMatr< T > makeAMatr (const AVec< T > &a, const AVec< T > &b)
 generates a matrix with two rows
template<typename T>
AMatr< T > makeAMatr (const AVec< T > &a, const AVec< T > &b, const AVec< T > &c)
 generates a matrix with three rows
template<typename T>
AMatr< T > makeAMatr (AVec< T > *a, unsigned int n)
 generates a matrix with n rows
template<typename T = int>
AMatr< T > makeAMatrUnit (unsigned int n)
template<typename T>
AVec< T > getDiagonal (const AMatr< T > &a)
 returns AVec containing the diagonal elements
template<typename T>
AVec< T > getOffDiagonalUp (const AMatr< T > &a)
 returns AVec<T> containing the uper off diagonal elements
template<typename T>
det (const AMatr< T > &m)
 computes determinant expression fo cases 2x2 and 3x3 only
template<typename T>
AMatr< T > replaceRow (const AMatr< T > &a, const AVec< T > &b, unsigned int r)
 generate matrix with content of the matrix a but with replaced row r by vector b<T>
template<typename T>
AMatr< T > replaceColumn (const AMatr< T > &a, const AVec< T > &b, unsigned int c)
 generate matrix with content of the matrix a but with replaced column c by vector b<T>
template<typename T>
AMatr< T > inverseMatrix (const AMatr< T > &a)
 returns inverse matrix for cases 2x2 and 3x3<T>
double edgeWeight (const VTObjects &vto, unsigned int iEl, unsigned int i, unsigned int j)
 returns coefficient of the laplace operator corresponding to the direction of a cell edge
template<typename T>
const unsigned int nD (const AVec< T > a)
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 T1, typename T2>
bool compatibleSizes (AVec< T1 > a, AVec< T2 > b)
 The function checks whether the sizes are equal.
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 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 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)
 returns minimal component
template<typename T>
const T maxComponent (const AVec< T > &a)
 returns maximal component
template<typename T>
sumOfElements (const AVec< T > &a)
 returns summ of all components
template<typename T>
productOfElements (const AVec< T > &a)
 returns product of all components
template<typename T>
const AVec< T > productOfElements (const AVec< T > &a, const AVec< T > &b)
 returns vector which elements are product of corresponding elements of a and b
template<typename T>
const AVec< T > divisionOfElements (const AVec< T > &a, const AVec< T > &b)
 returns vector which elements are division of corresponding elements of a and b
template<typename T>
const bool positive (const AVec< T > &a)
 returns true in case when all components of a more or then 0
template<typename T>
const bool nonNegative (const AVec< T > &a)
 returns true in case when all components of a more or equal 0
const AVec< int > floor (const AVec<> &a)
 returns true in case when all components of a more then 0
const AVec< int > round (const AVec<> &a)
 returns true in case when all components of a more then 0
double computePolynom (double x, AVec<> &coefs)
 computes polynom for x with coefs
template<typename T>
std::ostream & operator<< (std::ostream &output, const AVec< T > &a)
const AVec swapXZ (const AVec<> &a)
 returns true in case when all components of a more then 0
const AVec swapXZ (const AVec<> &a)
 returns true in case when all components of a more then 0
acl::VectorOfElements computeRho (acl::VectorOfElements f, const VectorTemplate *vt)
 returns VectorOfElements with values of rho
acl::VectorOfElements computeMomentum (acl::VectorOfElements f, const VectorTemplate *vt)
 returns VectorOfElements with values of velocity
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)
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)
ABDFileOutoperator<< (ABDFileOut &f, const Block &a)
ABDFileInoperator>> (ABDFileIn &f, Block &a)
ABDFileOutoperator<< (ABDFileOut &f, const AbstractData &a)
 writes data. It is assumed that the Block is written separately
ABDFileInoperator>> (ABDFileIn &f, AbstractData &a)
 reads data. It is assumed that the class has the propper size
ABDFileInget (ABDFileIn &f, AbstractData &a, std::shared_ptr< double > d)
 reads data. It is assumed that the class has the propper size
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.
ProbeTemplate probeD2q3
 A triangular probe 2D space.
ProbeTemplate probeD3q4
 A triangular probe 3D space.
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

◆ DataWithGhostNodesACLData

◆ DataWrapperACL

◆ DataWrapperACLData

◆ 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

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

Definition at line 49 of file aslGenerators.h.

◆ SPDataWithGhostNodesACLData

Examples
poroelastic.cc.

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 38 of file aslFDElasticityBC.h.

◆ SPFDAdvectionDiffusion

Definition at line 113 of file aslFDAdvectionDiffusion.h.

◆ SPFDAdvectionDiffusion2

Definition at line 94 of file aslFDAdvectionDiffusion2.h.

◆ SPFDAdvectionDiffusionExtended

◆ SPFDAdvectionDiffusionInhomogeneous

◆ SPFDBVKinetics

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

Definition at line 124 of file aslFDElChemKinetics.h.

◆ SPFDElasticity2

typedef std::shared_ptr< FDElasticity2 > asl::SPFDElasticity2
Examples
cubeGravity.cc, and jumpingBox.cc.

Definition at line 193 of file aslFDElasticity.h.

◆ SPFDElasticityIncompressibleStatic

◆ 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

◆ SPLBGKTurbulence

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

Definition at line 173 of file aslLBGK.h.

◆ SPLBGKUtilities

◆ 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

Definition at line 134 of file aslTimeContinuations.h.

Enumeration Type Documentation

◆ VTName [1/2]

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]

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 )

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

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

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

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

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

Definition at line 55 of file aslNumMethod.h.

◆ floor() [1/3]

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

◆ 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, and cubeIncompressibleGravity.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 )

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

◆ 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

◆ 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| \]

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< 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
cubeIncompressibleGravity.cc, and cubePoroelasticGravity.cc.

Definition at line 67 of file aslNumMethod.h.

◆ initData() [1/4]

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

◆ initData() [2/4]

◆ initData() [3/4]

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

Initialize d by f.

◆ initData() [4/4]

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

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

Definition at line 147 of file aslVectorsDynamicLengthOperations.h.

◆ makeAVec() [1/12]

◆ makeAVec() [2/12]

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

Definition at line 181 of file aslVectorsDynamicLength.h.

◆ makeAVec() [3/12]

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

Definition at line 189 of file aslVectorsDynamicLength.h.

◆ makeAVec() [4/12]

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

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

Definition at line 285 of file aslVectorsDynamicLengthOperations.h.

◆ minComponent() [1/3]

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/6]

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

Definition at line 217 of file aslVectorsDynamicLength.h.

◆ nD() [2/6]

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

Definition at line 296 of file aslTemplates.h.

◆ nD() [3/6]

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

Definition at line 120 of file aslTemplatesExtras.h.

◆ nD() [4/6]

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

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

Definition at line 355 of file aslVectorsDynamicLengthOperations.h.

◆ normalize() [1/3]

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

Definition at line 152 of file aslVectorsDynamicLengthOperations.h.

◆ operator!=() [1/6]

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/6]

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/20]

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/20]

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/20]

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/20]

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

◆ operator*=() [1/3]

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

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

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

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

◆ operator+=() [1/6]

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/6]

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/10]

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/10]

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

Definition at line 177 of file aslVectorsDynamicLengthOperations.h.

◆ operator-() [3/10]

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/10]

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

◆ operator-=() [1/3]

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

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

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

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

◆ operator<<() [1/33]

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

Definition at line 227 of file aslABDFormat.h.

◆ operator<<() [2/33]

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

Definition at line 190 of file aslABDFormat.h.

◆ operator<<() [3/33]

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

Definition at line 178 of file aslABDFormat.h.

◆ operator<<() [4/33]

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

Definition at line 154 of file aslABDFormat.h.

◆ operator<<() [5/33]

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

Definition at line 214 of file aslABDFormat.h.

◆ operator<<() [6/33]

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

Definition at line 166 of file aslABDFormat.h.

◆ operator<<() [7/33]

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

Definition at line 203 of file aslABDFormat.h.

◆ operator<<() [8/33]

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/33]

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

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

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

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/25]

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

Definition at line 234 of file aslABDFormat.h.

◆ operator>>() [2/25]

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

Definition at line 196 of file aslABDFormat.h.

◆ operator>>() [3/25]

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

Definition at line 184 of file aslABDFormat.h.

◆ operator>>() [4/25]

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

Definition at line 160 of file aslABDFormat.h.

◆ operator>>() [5/25]

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

Definition at line 208 of file aslABDFormat.h.

◆ operator>>() [6/25]

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

Definition at line 220 of file aslABDFormat.h.

◆ operator>>() [7/25]

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 )

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

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

Definition at line 345 of file aslVectorsDynamicLengthOperations.h.

◆ productOfElements() [1/6]

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

Definition at line 314 of file aslVectorsDynamicLengthOperations.h.

◆ productOfElements() [2/6]

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

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

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

Definition at line 306 of file aslVectorsDynamicLengthOperations.h.