asl::BCConstantSource Class Reference
Numerics » Boundary Conditions » Generic Boundary Conditions

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

`#include <aslBasicBC.h>`

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

## Public Types

typedef SPDataWithGhostNodesACLData | Data
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)
| 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 Block & | getBlock ()
const VectorTemplate * | getVT ()
| BCond (const Block &b)
| BCond (const Block &b, const VectorTemplate *const t)
void | addPoint (AVec< int > a, int d=0, double fr=0)
const Block & | getBlock ()
const VectorTemplate * | getVT ()
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]

typedef SPDataWithGhostNodesACLData asl::BCConstantSource::Data

Definition at line 282 of file aslBasicBC.h.

## Data [2/2]

typedef SPDataWithGhostNodesACLData asl::BCConstantSource::Data

Definition at line 282 of file aslBasicBC.h.

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

- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/num/aslBasicBC.h