24#ifndef ASLFDADVECTIONDIFFUSION_H
25#define ASLFDADVECTIONDIFFUSION_H
31 class VectorOfElementsData;
32 class VectorOfElements;
38 template <
typename V>
class DataWithGhostNodes;
41 class AbstractDataWithGhostNodes;
60 class FDAdvectionDiffusion:
public SingleKernelNM
67 std::vector<Data> cData;
68 std::vector<Data> cInternalData;
74 std::vector<Field> efChargeAnd;
78 Field distributionFunction;
79 bool compressibilityCorrectionFlag;
84 std::vector<acl::VectorOfElements> diffusionCoefficient;
87 virtual void postProcessing();
153 return distributionFunction;
163 return vectorTemplate;
169 return diffusionCoefficient[i];
The class represents several Element.
void setVectorTemplate(VectorTemplate *vT)
Field getDistributionFunction()
void addComponent(Data c, acl::VectorOfElements &dC)
FDAdvectionDiffusion(Data c, const acl::VectorOfElements &dC, const VectorTemplate *vT)
void setDistributionFunction(Field f)
SPAbstractDataWithGhostNodes Field
const VectorTemplate * getVectorTemplate() const
void addComponent(Data c, acl::VectorOfElements &dC, Field qAnd)
void setVelocity(Field v, bool compressibilityCorrection=false)
std::vector< Data > & getData()
std::vector< Data > & getData()
SPDataWithGhostNodesACLData Data
void setDiffusionCoefficient(acl::VectorOfElements d, unsigned int i=0)
Field getDistributionFunction()
void setElectricFieldParameters(Field phi, Field f1, Field f2, Field qAnd)
const acl::VectorOfElements & getDiffusionCoefficient(unsigned int i=0) const
Defines set of vectros with several properties.
SPDataWrapperACLData generateDataContainerACL_SP(const Block &b, unsigned int n=1)
generates pointer to ACL Data field with n components
SPFDAdvectionDiffusion generateFDAdvectionDiffusion(SPDataWithGhostNodesACLData c, double diffustionCoeff, SPAbstractDataWithGhostNodes v, const VectorTemplate *vt, bool compressibilityCorrection=false)
Advanced Computational Language.
Advanced Simulation Library.
DataWithGhostNodes< acl::VectorOfElementsData > DataWithGhostNodesACLData
std::shared_ptr< AbstractDataWithGhostNodes > SPAbstractDataWithGhostNodes
std::shared_ptr< DataWithGhostNodesACLData > SPDataWithGhostNodesACLData
std::shared_ptr< FDAdvectionDiffusion > SPFDAdvectionDiffusion