ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
asl::BCConstantSource Class Reference

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

#include <aslBasicBC.h>

Inheritance diagram for asl::BCConstantSource:
Collaboration diagram for asl::BCConstantSource:

Public Types

typedef SPDataWithGhostNodesACLData Data
typedef SPDataWithGhostNodesACLData Data

Public Member Functions

 BCConstantSource (Data d, cl_double v)
virtual void execute ()
 Executes the numerical procedure.
virtual void init ()
 Builds the necesery internal data and kernels.
void setValue (cl_double value)
 BCConstantSource (Data d, cl_double v)
virtual void execute ()
 Executes the numerical procedure.
virtual void init ()
 Builds the necesery internal data and kernels.
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 ()
 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 ~NumMethod ()
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 ()
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 [1/2]

◆ Data [2/2]

Constructor & Destructor Documentation

◆ BCConstantSource() [1/2]

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

◆ BCConstantSource() [2/2]

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

Member Function Documentation

◆ execute() [1/2]

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

Executes the numerical procedure.

Implements asl::NumMethod.

◆ execute() [2/2]

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

Executes the numerical procedure.

Implements asl::NumMethod.

◆ init() [1/2]

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

Builds the necesery internal data and kernels.

Implements asl::NumMethod.

◆ init() [2/2]

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

Builds the necesery internal data and kernels.

Implements asl::NumMethod.

◆ setValue() [1/2]

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

◆ setValue() [2/2]

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