ASL  0.1.7
Advanced Simulation Library
Public Member Functions | Public Attributes | List of all members
asl::TemplateVE Class Reference

This class contains VectorOfElements which corresponds to values of a field in littice nodes. More...

#include <aslTemplateVE.h>

Collaboration diagram for asl::TemplateVE:
Collaboration graph
[legend]

Public Member Functions

 TemplateVE (AbstractDataWithGhostNodes &data, const VectorTemplate &vectorT, unsigned int i=0, bool bIni=true)
 
 TemplateVE (DistanceFunction &data, acl::VectorOfElements &position, const VectorTemplate &vectorT, unsigned int i=0)
 
 TemplateVE (const acl::VectorOfElements &val, const VectorTemplate &vectorT)
 this is used for matematical operations with TemplateVE More...
 
 TemplateVE ()
 
acl::VectorOfElements getValue (unsigned int i)
 
void init (AbstractDataWithGhostNodes &data, const VectorTemplate &vectorT, unsigned int i=0, bool bIni=true)
 
void init (DistanceFunction &data, acl::VectorOfElements &position, const VectorTemplate &vectorT, unsigned int i=0)
 

Public Attributes

const VectorTemplatevectorTemplate
 
const VTObjectsvto
 
acl::VectorOfElements values
 
acl::VectorOfElements initValues
 

Detailed Description

This class contains VectorOfElements which corresponds to values of a field in littice nodes.

This class contains VectorOfElements (VE) with PrivateVariables. This list should be added to the kernel before use as follows:

Kernel kernel;
kernel<<a.initValues;

Definition at line 51 of file aslTemplateVE.h.

Constructor & Destructor Documentation

◆ TemplateVE() [1/4]

asl::TemplateVE::TemplateVE ( AbstractDataWithGhostNodes data,
const VectorTemplate vectorT,
unsigned int  i = 0,
bool  bIni = true 
)
Parameters
datais a data field
vectorTis a tempate vector
iis the number of component (for a case with multicomponent data)
bIniincase of true it generates private variable for storage otherwise it uses direct acces

◆ TemplateVE() [2/4]

asl::TemplateVE::TemplateVE ( DistanceFunction data,
acl::VectorOfElements position,
const VectorTemplate vectorT,
unsigned int  i = 0 
)
Parameters
datais a data field
positioncontains current position (not index)
vectorTis a tempate vector
iis the number of component (for a case with multicomponent data)

◆ TemplateVE() [3/4]

asl::TemplateVE::TemplateVE ( const acl::VectorOfElements val,
const VectorTemplate vectorT 
)

this is used for matematical operations with TemplateVE

◆ TemplateVE() [4/4]

asl::TemplateVE::TemplateVE ( )

Member Function Documentation

◆ getValue()

acl::VectorOfElements asl::TemplateVE::getValue ( unsigned int  i)

◆ init() [1/2]

void asl::TemplateVE::init ( AbstractDataWithGhostNodes data,
const VectorTemplate vectorT,
unsigned int  i = 0,
bool  bIni = true 
)

Note: the init function does not make initialization of values in case whete its length remains the same. this is usefull for reuse of private variables

Parameters
datais a data field
vectorTis a tempate vector
iis the number of component (for a case with multicomponent data)
bIniincase of true it generates private variable for storage otherwise it uses direct acces

◆ init() [2/2]

void asl::TemplateVE::init ( DistanceFunction data,
acl::VectorOfElements position,
const VectorTemplate vectorT,
unsigned int  i = 0 
)

Note: the init function does not make initialization of values in case whete its length remains the same. this is usefull for reuse of private variables

Todo:
Fnish!!! not distance functino but Position function

Member Data Documentation

◆ initValues

acl::VectorOfElements asl::TemplateVE::initValues

Definition at line 57 of file aslTemplateVE.h.

◆ values

acl::VectorOfElements asl::TemplateVE::values

Definition at line 56 of file aslTemplateVE.h.

◆ vectorTemplate

const VectorTemplate* asl::TemplateVE::vectorTemplate

Definition at line 54 of file aslTemplateVE.h.

◆ vto

const VTObjects* asl::TemplateVE::vto

Definition at line 55 of file aslTemplateVE.h.


The documentation for this class was generated from the following file: