asl::FDAdvectionDiffusion Class Reference
Physics » Transport Processes | Numerics » Numerical Methods

Numerical method which computes multicomponent transport processes. More...

`#include <aslFDAdvectionDiffusion.h>`

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

## Public Types

typedef SPDataWithGhostNodesACLData | Data
typedef SPAbstractDataWithGhostNodes | Field
typedef SPDataWithGhostNodesACLData | Data
typedef SPAbstractDataWithGhostNodes | Field

## Public Member Functions

| FDAdvectionDiffusion ()
| FDAdvectionDiffusion (Data c, const acl::VectorOfElements &dC, const VectorTemplate *vT)
void | setDiffusionCoefficient (acl::VectorOfElements d, unsigned int i=0)
const acl::VectorOfElements & | getDiffusionCoefficient (unsigned int i=0) const
void | setVectorTemplate (VectorTemplate *vT)
const VectorTemplate * | getVectorTemplate () const
void | setElectricFieldParameters (Field phi, Field f1, Field f2, Field qAnd)
void | setVelocity (Field v, bool compressibilityCorrection=false)
void | setDistributionFunction (Field f)
Field | getVelocity ()
Field | getDistributionFunction ()
std::vector< Data > & | getData ()
void | addComponent (Data c, acl::VectorOfElements &dC)
void | addComponent (Data c, acl::VectorOfElements &dC, Field qAnd)
| FDAdvectionDiffusion ()
| FDAdvectionDiffusion (Data c, const acl::VectorOfElements &dC, const VectorTemplate *vT)
void | setDiffusionCoefficient (acl::VectorOfElements d, unsigned int i=0)
const acl::VectorOfElements & | getDiffusionCoefficient (unsigned int i=0) const
void | setVectorTemplate (VectorTemplate *vT)
const VectorTemplate * | getVectorTemplate () const
void | setElectricFieldParameters (Field phi, Field f1, Field f2, Field qAnd)
void | setVelocity (Field v, bool compressibilityCorrection=false)
void | setDistributionFunction (Field f)
Field | getVelocity ()
Field | getDistributionFunction ()
std::vector< Data > & | getData ()
void | addComponent (Data c, acl::VectorOfElements &dC)
void | addComponent (Data c, acl::VectorOfElements &dC, Field qAnd)
Public Member Functions inherited from asl::SingleKernelNM
virtual void | execute ()
| Executes the numerical procedure. More...
virtual void | init ()
| Builds the necesery internal data and kernels. More...
virtual | ~SingleKernelNM ()
virtual void | execute ()
| Executes the numerical procedure. More...
virtual void | init ()
| Builds the necesery internal data and kernels. More...
virtual | ~SingleKernelNM ()
Public Member Functions inherited from asl::NumMethod
virtual | ~NumMethod ()
virtual | ~NumMethod ()

## Additional Inherited Members

Protected Member Functions inherited from asl::SingleKernelNM
virtual void | preProcessing ()
| the function executed before kernel->compute() More...
| SingleKernelNM (const acl::KernelConfiguration &kernelCongig)
virtual void | preProcessing ()
| the function executed before kernel->compute() More...
| SingleKernelNM (const acl::KernelConfiguration &kernelCongig)
Protected Attributes inherited from asl::SingleKernelNM
acl::SPKernel | kernel

## Detailed Description

Numerical method which computes multicomponent transport processes.

\[ \partial_t c_i= D_i \Delta c_i - \nabla (\vec v c_i) -\nabla\left(\frac{c_i q}{k} \nabla(\phi+f_2) \right)\]

where

Parameters

  cData | corresponds to \(c_i\)
  diffusionCoefficient | corresponds to \(D_i\)
  efFactor1 | corresponds to \(k\)
  efFactor2 | corresponds to \(f_2\)
  efPhi | corresponds to \(\phi\)
  efChargeAnd | corresponds to \(q\)
  velocity | corresponds to \(\vec v\)

Definition at line 60 of file aslFDAdvectionDiffusion.h.

## Member Typedef Documentation

## Data [1/2]

typedef SPDataWithGhostNodesACLData asl::FDAdvectionDiffusion::Data

Definition at line 63 of file aslFDAdvectionDiffusion.h.

## Data [2/2]

typedef SPDataWithGhostNodesACLData asl::FDAdvectionDiffusion::Data

Definition at line 63 of file aslFDAdvectionDiffusion.h.

## Field [1/2]

typedef SPAbstractDataWithGhostNodes asl::FDAdvectionDiffusion::Field

Definition at line 64 of file aslFDAdvectionDiffusion.h.

## Field [2/2]

typedef SPAbstractDataWithGhostNodes asl::FDAdvectionDiffusion::Field

Definition at line 64 of file aslFDAdvectionDiffusion.h.

## Constructor & Destructor Documentation

## FDAdvectionDiffusion() [1/4]

asl::FDAdvectionDiffusion::FDAdvectionDiffusion | ( |  | ) |

## FDAdvectionDiffusion() [2/4]

asl::FDAdvectionDiffusion::FDAdvectionDiffusion | ( | Data | c,
|  | const acl::VectorOfElements & | dC,
|  | const VectorTemplate * | vT
| ) |  |

## FDAdvectionDiffusion() [3/4]

asl::FDAdvectionDiffusion::FDAdvectionDiffusion | ( |  | ) |

## FDAdvectionDiffusion() [4/4]

asl::FDAdvectionDiffusion::FDAdvectionDiffusion | ( | Data | c,
|  | const acl::VectorOfElements & | dC,
|  | const VectorTemplate * | vT
| ) |  |

## Member Function Documentation

## addComponent() [1/4]

void asl::FDAdvectionDiffusion::addComponent | ( | Data | c,
|  | acl::VectorOfElements & | dC
| ) |  |

## addComponent() [2/4]

void asl::FDAdvectionDiffusion::addComponent | ( | Data | c,
|  | acl::VectorOfElements & | dC
| ) |  |

## addComponent() [3/4]

void asl::FDAdvectionDiffusion::addComponent | ( | Data | c,
|  | acl::VectorOfElements & | dC,
|  | Field | qAnd
| ) |  |

## addComponent() [4/4]

void asl::FDAdvectionDiffusion::addComponent | ( | Data | c,
|  | acl::VectorOfElements & | dC,
|  | Field | qAnd
| ) |  |

## getData() [1/2]

std::vector< FDAdvectionDiffusion::Data > & asl::FDAdvectionDiffusion::getData | ( |  | ) |

inline

Definition at line 156 of file aslFDAdvectionDiffusion.h.

## getData() [2/2]

std::vector<Data>& asl::FDAdvectionDiffusion::getData | ( |  | ) |

inline

## getDiffusionCoefficient() [1/2]

const acl::VectorOfElements & asl::FDAdvectionDiffusion::getDiffusionCoefficient | ( | unsigned int | i = `0` | ) | const

inline

Definition at line 167 of file aslFDAdvectionDiffusion.h.

## getDiffusionCoefficient() [2/2]

const acl::VectorOfElements& asl::FDAdvectionDiffusion::getDiffusionCoefficient | ( | unsigned int | i = `0` | ) | const

inline

## getDistributionFunction() [1/2]

FDAdvectionDiffusion::Field asl::FDAdvectionDiffusion::getDistributionFunction | ( |  | ) |

inline

Definition at line 151 of file aslFDAdvectionDiffusion.h.

## getDistributionFunction() [2/2]

Field asl::FDAdvectionDiffusion::getDistributionFunction | ( |  | ) |

inline

## getVectorTemplate() [1/2]

const VectorTemplate * asl::FDAdvectionDiffusion::getVectorTemplate | ( |  | ) | const

inline

Definition at line 161 of file aslFDAdvectionDiffusion.h.

## getVectorTemplate() [2/2]

const VectorTemplate* asl::FDAdvectionDiffusion::getVectorTemplate | ( |  | ) | const

inline

## getVelocity() [1/2]

FDAdvectionDiffusion::Field asl::FDAdvectionDiffusion::getVelocity | ( |  | ) |

inline

Definition at line 146 of file aslFDAdvectionDiffusion.h.

## getVelocity() [2/2]

Field asl::FDAdvectionDiffusion::getVelocity | ( |  | ) |

inline

## setDiffusionCoefficient() [1/2]

void asl::FDAdvectionDiffusion::setDiffusionCoefficient | ( | acl::VectorOfElements | d,
|  | unsigned int | i = `0`
| ) |  |

## setDiffusionCoefficient() [2/2]

void asl::FDAdvectionDiffusion::setDiffusionCoefficient | ( | acl::VectorOfElements | d,
|  | unsigned int | i = `0`
| ) |  |

## setDistributionFunction() [1/2]

void asl::FDAdvectionDiffusion::setDistributionFunction | ( | Field | f | ) |

## setDistributionFunction() [2/2]

void asl::FDAdvectionDiffusion::setDistributionFunction | ( | Field | f | ) |

## setElectricFieldParameters() [1/2]

void asl::FDAdvectionDiffusion::setElectricFieldParameters | ( | Field | phi,
|  | Field | f1,
|  | Field | f2,
|  | Field | qAnd
| ) |  |

## setElectricFieldParameters() [2/2]

void asl::FDAdvectionDiffusion::setElectricFieldParameters | ( | Field | phi,
|  | Field | f1,
|  | Field | f2,
|  | Field | qAnd
| ) |  |

## setVectorTemplate() [1/2]

void asl::FDAdvectionDiffusion::setVectorTemplate | ( | VectorTemplate * | vT | ) |

## setVectorTemplate() [2/2]

void asl::FDAdvectionDiffusion::setVectorTemplate | ( | VectorTemplate * | vT | ) |

## setVelocity() [1/2]

void asl::FDAdvectionDiffusion::setVelocity | ( | Field | v,
|  | bool | compressibilityCorrection = `false`
| ) |  |

## setVelocity() [2/2]

void asl::FDAdvectionDiffusion::setVelocity | ( | Field | v,
|  | bool | compressibilityCorrection = `false`
| ) |  |

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

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