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

Bondary condition that adds fixed value to one in each point. More...

#include <aslBasicBC.h>

Inheritance diagram for asl::BCConstantSource:
Inheritance graph
[legend]
Collaboration diagram for asl::BCConstantSource:
Collaboration graph
[legend]

Public Types

typedef SPDataWithGhostNodesACLData Data
 

Public Member Functions

 BCConstantSource (Data d, cl_double v)
 
virtual void execute ()
 Executes the numerical procedure. More...
 
virtual void init ()
 Builds the necesery internal data and kernels. More...
 
void setValue (cl_double value)
 
- Public Member Functions inherited from asl::BCond
 BCond (const Block &b)
 
 BCond (const Block &b, const VectorTemplate *const t)
 
void addPoint (AVec< int > a, int d=0, double fr=0)
 
const BlockgetBlock ()
 
const VectorTemplategetVT ()
 
- Public Member Functions inherited from asl::NumMethod
virtual void execute ()=0
 Executes the numerical procedure. More...
 
virtual void init ()=0
 Builds the necesery internal data and kernels. More...
 
virtual ~NumMethod ()
 

Public Attributes

acl::SPKernel kernel
 

Protected Attributes

Data data
 
cl_double value
 
- Protected Attributes inherited from asl::BCond
Block block
 
const VectorTemplate *const templ
 
std::vector< int > indices
 
std::vector< int > directions
 
std::vector< double > fractions
 
std::vector< int > neighbourIndices
 
acl::SPVectorOfElementsData indicesACL
 
acl::SPVectorOfElementsData neighbourIndicesACL
 
acl::SPVectorOfElementsData directionsACL
 
acl::SPVectorOfElementsData fractionsACL
 

Additional Inherited Members

- Protected Member Functions inherited from asl::BCond
void loadIndicesToACL ()
 
void loadNeighbourIndicesToACL ()
 
void loadDirectionsToACL ()
 
void loadfractionsACL ()
 

Detailed Description

Bondary condition that adds fixed value to one in each point.

<>

Definition at line 279 of file aslBasicBC.h.

Member Typedef Documentation

◆ Data

Definition at line 282 of file aslBasicBC.h.

Constructor & Destructor Documentation

◆ BCConstantSource()

asl::BCConstantSource::BCConstantSource ( Data  d,
cl_double  v 
)

Member Function Documentation

◆ execute()

virtual void asl::BCConstantSource::execute ( )
virtual

Executes the numerical procedure.

Implements asl::NumMethod.

◆ init()

virtual void asl::BCConstantSource::init ( )
virtual

Builds the necesery internal data and kernels.

Implements asl::NumMethod.

◆ setValue()

void asl::BCConstantSource::setValue ( cl_double  value)

Member Data Documentation

◆ data

Data asl::BCConstantSource::data
protected

Definition at line 285 of file aslBasicBC.h.

◆ kernel

acl::SPKernel asl::BCConstantSource::kernel

Definition at line 283 of file aslBasicBC.h.

◆ value

cl_double asl::BCConstantSource::value
protected

Definition at line 286 of file aslBasicBC.h.


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