7.2. Finite Elements

7.2.1. Base Classes

daeFiniteElementModel
daeFiniteElementEquation
daeFiniteElementVariableInfo
daeFiniteElementObjectInfo
daeFiniteElementObject_t
class daeFiniteElementModel

Bases: pyCore.daeModel

__init__((object)self, (str)name, (daeModel)parentModel, (str)description, (daeFiniteElementObject_t)feObject) → None :

Constructor...

class daeFiniteElementModel

Bases: pyCore.daeModel

DeclareEquations((daeFiniteElementModel)self) → None :

User-defined function where all model equations ans state transition networks are declared. Must be always implemented in derived classes.

UpdateEquations((daeFiniteElementModel)self, (daeExecutionContext)executionContext) → None
class daeFiniteElementEquation

Bases: pyCore.daeEquation

class daeFiniteElementVariableInfo

Bases: Boost.Python.instance

Multiplicity
VariableDescription
VariableName
m_nNumberOfDOFs
class daeFiniteElementObjectInfo

Bases: Boost.Python.instance

NumberOfDOFsPerVariable
TotalNumberDOFs
VariableInfos
class daeFiniteElementObject_t

Bases: Boost.Python.instance

AssembleSystem((daeFiniteElementObject_t)self) → None

AssembleSystem( (daeFiniteElementObject_t)arg1) -> None

Asystem((daeFiniteElementObject_t)self) → daeMatrix_adouble

Asystem( (daeFiniteElementObject_t)arg1) -> None

Fload((daeFiniteElementObject_t)self) → daeArray_adouble

Fload( (daeFiniteElementObject_t)arg1) -> None

GetObjectInfo((daeFiniteElementObject_t)self) → daeFiniteElementObjectInfo

GetObjectInfo( (daeFiniteElementObject_t)arg1) -> None

Msystem((daeFiniteElementObject_t)self) → daeMatrix_adouble

Msystem( (daeFiniteElementObject_t)arg1) -> None

NeedsReAssembling((daeFiniteElementObject_t)self) → bool

NeedsReAssembling( (daeFiniteElementObject_t)arg1) -> None

ReAssembleSystem((daeFiniteElementObject_t)self) → None

ReAssembleSystem( (daeFiniteElementObject_t)arg1) -> None

RowIndices((daeFiniteElementObject_t)arg1, (int)self, (vector_uint)row) → None

RowIndices( (daeFiniteElementObject_t)arg1, (int)arg2, (vector_uint)arg3) -> None

7.2.2. deal.II Main FE Classes

These classes are instantiated by the users and used to specify:

  • Information about Degrees of Freedom (DOFs) including the Finite Element space for each DOF (dealiiFiniteElementDOF_nD class)
  • Weak form expressions for cells and faces (including boundaries) (dealiiFiniteElementWeakForm_nD class)
  • Information about the mesh, quadrature rules, DOFs and weak forms (dealiiFiniteElementSystem_1D class)
  • Data reporter that stores the results in .vtk format in the specified directory (dealIIDataReporter class)

Since it is not possible to use deal.II template classes in Python, separate classes are provided for three spatial dimensions.

dealiiFiniteElementDOF_1D
dealiiFiniteElementDOF_2D
dealiiFiniteElementDOF_3D
dealiiFiniteElementWeakForm_1D
dealiiFiniteElementWeakForm_2D
dealiiFiniteElementWeakForm_3D
dealiiFiniteElementSystem_1D
dealiiFiniteElementSystem_2D
dealiiFiniteElementSystem_3D
dealIIDataReporter
class dealiiFiniteElementDOF_1D

Bases: Boost.Python.instance

__init__((object)arg1, (str)name, (str)description, (FiniteElement_1D)fe, (int)multiplicity) → None
Description
Multiplicity
Name
class dealiiFiniteElementDOF_2D

Bases: Boost.Python.instance

__init__((object)arg1, (str)name, (str)description, (FiniteElement_2D)fe, (int)multiplicity) → None
Description
Multiplicity
Name
class dealiiFiniteElementDOF_3D

Bases: Boost.Python.instance

__init__((object)arg1, (str)name, (str)description, (FiniteElement_3D)fe, (int)multiplicity) → None
Description
Multiplicity
Name
class dealiiFiniteElementWeakForm_1D

Bases: Boost.Python.instance

__init__((object)self, (feExpression_1D)Aij, (feExpression_1D)Mij, (feExpression_1D)Fi[, (feExpression_1D)innerCellFaceAij=<pyDealII.feExpression_1D object at 0x7fbedf3a8a28>[, (feExpression_1D)innerCellFaceFi=<pyDealII.feExpression_1D object at 0x7fbedf3a89d0>[, (dict)boundaryFaceAij={}[, (dict)boundaryFaceFi={}[, (dict)functionsDirichletBC={}[, (dict)surfaceIntegrals={}[, (list)volumeIntegrals=[]]]]]]]]) → None
Aij
Fi
Mij
boundaryFaceAij
boundaryFaceFi
functionsDirichletBC
innerCellFaceAij
innerCellFaceFi
surfaceIntegrals
volumeIntegrals
class dealiiFiniteElementWeakForm_2D

Bases: Boost.Python.instance

__init__((object)self, (feExpression_2D)Aij, (feExpression_2D)Mij, (feExpression_2D)Fi[, (feExpression_2D)innerCellFaceAij=<pyDealII.feExpression_2D object at 0x7fbedf3a8ad8>[, (feExpression_2D)innerCellFaceFi=<pyDealII.feExpression_2D object at 0x7fbedf3a8a80>[, (dict)boundaryFaceAij={}[, (dict)boundaryFaceFi={}[, (dict)functionsDirichletBC={}[, (dict)surfaceIntegrals={}[, (list)volumeIntegrals=[]]]]]]]]) → None
Aij
Fi
Mij
boundaryFaceAij
boundaryFaceFi
functionsDirichletBC
innerCellFaceAij
innerCellFaceFi
surfaceIntegrals
volumeIntegrals
class dealiiFiniteElementWeakForm_3D

Bases: Boost.Python.instance

__init__((object)self, (feExpression_3D)Aij, (feExpression_3D)Mij, (feExpression_3D)Fi[, (feExpression_3D)innerCellFaceAij=<pyDealII.feExpression_3D object at 0x7fbedf3a8b88>[, (feExpression_3D)innerCellFaceFi=<pyDealII.feExpression_3D object at 0x7fbedf3a8b30>[, (dict)boundaryFaceAij={}[, (dict)boundaryFaceFi={}[, (dict)functionsDirichletBC={}[, (dict)surfaceIntegrals={}[, (list)volumeIntegrals=[]]]]]]]]) → None
Aij
Fi
FunctionsDirichletBC
Mij
boundaryFaceAij
boundaryFaceFi
innerCellFaceAij
innerCellFaceFi
surfaceIntegrals
volumeIntegrals
class dealiiFiniteElementSystem_1D

Bases: pyCore.daeFiniteElementObject_t

__init__((object)arg1, (str)meshFilename, (Quadrature_1D)quadrature, (Quadrature_0D)faceQuadrature, (list)dofs) → None
class dealiiFiniteElementSystem_2D

Bases: pyCore.daeFiniteElementObject_t

__init__((object)arg1, (str)meshFilename, (Quadrature_2D)quadrature, (Quadrature_1D)faceQuadrature, (list)dofs) → None
class dealiiFiniteElementSystem_3D

Bases: pyCore.daeFiniteElementObject_t

__init__((object)arg1, (str)meshFilename, (Quadrature_3D)quadrature, (Quadrature_2D)faceQuadrature, (list)dofs) → None
class dealIIDataReporter

Bases: pyDataReporting.daeDataReporter_t

7.2.3. deal.II Finite Elements

FiniteElement_1D
FiniteElement_2D
FiniteElement_3D
FE_Q_1D
FE_Q_2D
FE_Q_3D
FE_Bernstein_1D
FE_Bernstein_2D
FE_Bernstein_3D
FE_RaviartThomas_1D
FE_RaviartThomas_2D
FE_RaviartThomas_3D
FE_DGRaviartThomas_1D
FE_DGRaviartThomas_2D
FE_DGRaviartThomas_3D
FE_Nedelec_1D
FE_Nedelec_2D
FE_Nedelec_3D
FE_DGNedelec_1D
FE_DGNedelec_2D
FE_DGNedelec_3D
FE_BDM_1D
FE_BDM_2D
FE_BDM_3D
FE_DGBDM_1D
FE_DGBDM_2D
FE_DGBDM_3D
FE_ABF_1D
FE_ABF_2D
FE_ABF_3D
FE_DGQ_1D
FE_DGQ_2D
FE_DGQ_3D
FE_DGP_1D
FE_DGP_2D
FE_DGP_3D
class FiniteElement_1D

Bases: Boost.Python.instance

class FiniteElement_2D

Bases: Boost.Python.instance

class FiniteElement_3D

Bases: Boost.Python.instance

class FE_Q_1D

Bases: pyDealII.FiniteElement_1D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_Q_2D

Bases: pyDealII.FiniteElement_2D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_Q_3D

Bases: pyDealII.FiniteElement_3D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_Bernstein_1D

Bases: pyDealII.FiniteElement_1D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_Bernstein_2D

Bases: pyDealII.FiniteElement_2D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_Bernstein_3D

Bases: pyDealII.FiniteElement_3D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_RaviartThomas_1D

Bases: pyDealII.FiniteElement_1D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_RaviartThomas_2D

Bases: pyDealII.FiniteElement_2D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_RaviartThomas_3D

Bases: pyDealII.FiniteElement_3D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_DGRaviartThomas_1D

Bases: pyDealII.FiniteElement_1D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_DGRaviartThomas_2D

Bases: pyDealII.FiniteElement_2D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_DGRaviartThomas_3D

Bases: pyDealII.FiniteElement_3D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_Nedelec_1D

Bases: pyDealII.FiniteElement_1D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_Nedelec_2D

Bases: pyDealII.FiniteElement_2D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_Nedelec_3D

Bases: pyDealII.FiniteElement_3D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_DGNedelec_1D

Bases: pyDealII.FiniteElement_1D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_DGNedelec_2D

Bases: pyDealII.FiniteElement_2D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_DGNedelec_3D

Bases: pyDealII.FiniteElement_3D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_BDM_1D

Bases: pyDealII.FiniteElement_1D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_BDM_2D

Bases: pyDealII.FiniteElement_2D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_BDM_3D

Bases: pyDealII.FiniteElement_3D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_DGBDM_1D

Bases: pyDealII.FiniteElement_1D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_DGBDM_2D

Bases: pyDealII.FiniteElement_2D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_DGBDM_3D

Bases: pyDealII.FiniteElement_3D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_ABF_1D

Bases: pyDealII.FiniteElement_1D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_ABF_2D

Bases: pyDealII.FiniteElement_2D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_ABF_3D

Bases: pyDealII.FiniteElement_3D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_DGQ_1D

Bases: pyDealII.FiniteElement_1D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_DGQ_2D

Bases: pyDealII.FiniteElement_2D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_DGQ_3D

Bases: pyDealII.FiniteElement_3D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_DGP_1D

Bases: pyDealII.FiniteElement_1D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_DGP_2D

Bases: pyDealII.FiniteElement_2D

__init__((object)arg1, (int)polynomialOrder) → None
class FE_DGP_3D

Bases: pyDealII.FiniteElement_3D

__init__((object)arg1, (int)polynomialOrder) → None

7.2.4. deal.II Quadrature Rules

Quadrature_0D
Quadrature_1D
Quadrature_2D
Quadrature_3D
QGauss_1D
QGauss_2D
QGauss_3D
QGaussLobatto_1D
QGaussLobatto_2D
QGaussLobatto_3D
QMidpoint_1D
QMidpoint_2D
QMidpoint_3D
QSimpson_1D
QSimpson_2D
QSimpson_3D
QTrapez_1D
QTrapez_2D
QTrapez_3D
QMilne_1D
QMilne_2D
QMilne_3D
QWeddle_1D
QWeddle_2D
QWeddle_3D
QGaussLog_1D
QGaussLogR_1D
QGaussOneOverR_2D
QGaussChebyshev_1D
QGaussChebyshev_2D
QGaussChebyshev_3D
QGaussLobattoChebyshev_1D
QGaussLobattoChebyshev_2D
QGaussLobattoChebyshev_3D
class Quadrature_0D

Bases: Boost.Python.instance

class Quadrature_1D

Bases: Boost.Python.instance

class Quadrature_2D

Bases: Boost.Python.instance

class Quadrature_3D

Bases: Boost.Python.instance

class QGauss_1D

Bases: pyDealII.Quadrature_1D

__init__((object)self, (int)n_quadrature_points) → None
class QGauss_2D

Bases: pyDealII.Quadrature_2D

__init__((object)self, (int)n_quadrature_points) → None
class QGauss_3D

Bases: pyDealII.Quadrature_3D

__init__((object)self, (int)n_quadrature_points) → None
class QGaussLobatto_1D

Bases: pyDealII.Quadrature_1D

__init__((object)self, (int)n_quadrature_points) → None
class QGaussLobatto_2D

Bases: pyDealII.Quadrature_2D

__init__((object)self, (int)n_quadrature_points) → None
class QGaussLobatto_3D

Bases: pyDealII.Quadrature_3D

__init__((object)self, (int)n_quadrature_points) → None
class QMidpoint_1D

Bases: pyDealII.Quadrature_1D

__init__((object)self) → None
class QMidpoint_2D

Bases: pyDealII.Quadrature_2D

__init__((object)self) → None
class QMidpoint_3D

Bases: pyDealII.Quadrature_3D

__init__((object)self) → None
class QSimpson_1D

Bases: pyDealII.Quadrature_1D

__init__((object)self) → None
class QSimpson_2D

Bases: pyDealII.Quadrature_2D

__init__((object)self) → None
class QSimpson_3D

Bases: pyDealII.Quadrature_3D

__init__((object)self) → None
class QTrapez_1D

Bases: pyDealII.Quadrature_1D

__init__((object)self) → None
class QTrapez_2D

Bases: pyDealII.Quadrature_2D

__init__((object)self) → None
class QTrapez_3D

Bases: pyDealII.Quadrature_3D

__init__((object)self) → None
class QMilne_1D

Bases: pyDealII.Quadrature_1D

__init__((object)self) → None
class QMilne_2D

Bases: pyDealII.Quadrature_2D

__init__((object)self) → None
class QMilne_3D

Bases: pyDealII.Quadrature_3D

__init__((object)self) → None
class QWeddle_1D

Bases: pyDealII.Quadrature_1D

__init__((object)self) → None
class QWeddle_2D

Bases: pyDealII.Quadrature_2D

__init__((object)self) → None
class QWeddle_3D

Bases: pyDealII.Quadrature_3D

__init__((object)self) → None
class QGaussLog_1D

Bases: pyDealII.Quadrature_1D

__init__((object)self, (int)n_quadrature_points[, (bool)revert=False]) → None
class QGaussLogR_1D

Bases: pyDealII.Quadrature_1D

__init__((object)self, (int)n_quadrature_points[, (Point_1D)x0=Point<2, double>(x=0, y=0)[, (float)alpha=1.0[, (bool)factor_out_singular_weight=False]]]) → None
class QGaussOneOverR_2D

Bases: pyDealII.Quadrature_2D

__init__((object)self, (int)n_quadrature_points, (Point_2D)singularity[, (bool)factor_out_singular_weight=False]) → None
class QGaussChebyshev_1D

Bases: pyDealII.Quadrature_1D

__init__((object)self, (int)n_quadrature_points) → None
class QGaussChebyshev_2D

Bases: pyDealII.Quadrature_2D

__init__((object)self, (int)n_quadrature_points) → None
class QGaussChebyshev_3D

Bases: pyDealII.Quadrature_3D

__init__((object)self, (int)n_quadrature_points) → None
class QGaussLobattoChebyshev_1D

Bases: pyDealII.Quadrature_1D

__init__((object)self, (int)n_quadrature_points) → None
class QGaussLobattoChebyshev_2D

Bases: pyDealII.Quadrature_2D

__init__((object)self, (int)n_quadrature_points) → None
class QGaussLobattoChebyshev_3D

Bases: pyDealII.Quadrature_3D

__init__((object)self, (int)n_quadrature_points) → None

7.2.5. Functions for Specification of Weak Forms

feExpression_1D
feExpression_2D
feExpression_3D
constant_1D
constant_2D
constant_3D
phi_1D
phi_2D
phi_3D
dphi_1D
dphi_2D
dphi_3D
d2phi_1D
d2phi_2D
d2phi_3D
JxW_1D
JxW_2D
JxW_3D
xyz_1D
xyz_2D
xyz_3D
normal_1D
normal_2D
normal_3D
function_value_1D
function_value_2D
function_value_3D
function_gradient_1D
function_gradient_2D
function_gradient_3D
function_adouble_value_1D
function_adouble_value_1D
function_adouble_value_1D
function_adouble_gradient_1D
function_adouble_gradient_1D
function_adouble_gradient_1D
tensor1_function_value_1D
tensor1_function_value_1D
tensor1_function_value_1D
tensor2_function_value_1D
tensor2_function_value_1D
tensor2_function_value_1D
tensor1_function_gradient_1D
tensor1_function_gradient_1D
tensor1_function_gradient_1D
tensor2_function_gradient_1D
tensor2_function_gradient_1D
tensor2_function_gradient_1D
phi_vector_1D
phi_vector_2D
phi_vector_3D
dphi_vector_1D
dphi_vector_2D
dphi_vector_3D
d2phi_vector_1D
d2phi_vector_2D
d2phi_vector_3D
div_phi_1D
div_phi_2D
div_phi_3D
dof_1D
dof_2D
dof_3D
dof_approximation_1D
dof_approximation_2D
dof_approximation_3D
dof_gradient_approximation_1D
dof_gradient_approximation_2D
dof_gradient_approximation_3D
dof_hessian_approximation_1D
dof_hessian_approximation_2D
dof_hessian_approximation_3D
vector_dof_approximation_1D
vector_dof_approximation_2D
vector_dof_approximation_3D
vector_dof_gradient_approximation_1D
vector_dof_gradient_approximation_2D
vector_dof_gradient_approximation_3D
adouble_1D
adouble_2D
adouble_3D
tensor1_1D
tensor1_2D
tensor1_3D
tensor2_1D
tensor2_2D
tensor2_3D
tensor3_1D
tensor3_2D
tensor3_3D
adouble_tensor1_1D
adouble_tensor1_2D
adouble_tensor1_3D
adouble_tensor2_1D
adouble_tensor2_2D
adouble_tensor2_3D
adouble_tensor3_1D
adouble_tensor3_2D
adouble_tensor3_3D
class feExpression_1D

Bases: Boost.Python.instance

static abs((feExpression_1D)arg1) → feExpression_1D
static acos((feExpression_1D)arg1) → feExpression_1D
static acosh((feExpression_1D)arg1) → feExpression_1D
static asin((feExpression_1D)arg1) → feExpression_1D
static asinh((feExpression_1D)arg1) → feExpression_1D
static atan((feExpression_1D)arg1) → feExpression_1D
static atanh((feExpression_1D)arg1) → feExpression_1D
static cos((feExpression_1D)arg1) → feExpression_1D
static cosh((feExpression_1D)arg1) → feExpression_1D
static erf((feExpression_1D)arg1) → feExpression_1D
static exp((feExpression_1D)arg1) → feExpression_1D
static log((feExpression_1D)arg1) → feExpression_1D
static log10((feExpression_1D)arg1) → feExpression_1D
static sin((feExpression_1D)arg1) → feExpression_1D
static sinh((feExpression_1D)arg1) → feExpression_1D
static sqrt((feExpression_1D)arg1) → feExpression_1D
static tan((feExpression_1D)arg1) → feExpression_1D
static tanh((feExpression_1D)arg1) → feExpression_1D
class feExpression_2D

Bases: Boost.Python.instance

static abs((feExpression_2D)arg1) → feExpression_2D
static acos((feExpression_2D)arg1) → feExpression_2D
static acosh((feExpression_2D)arg1) → feExpression_2D
static asin((feExpression_2D)arg1) → feExpression_2D
static asinh((feExpression_2D)arg1) → feExpression_2D
static atan((feExpression_2D)arg1) → feExpression_2D
static atanh((feExpression_2D)arg1) → feExpression_2D
static cos((feExpression_2D)arg1) → feExpression_2D
static cosh((feExpression_2D)arg1) → feExpression_2D
static erf((feExpression_2D)arg1) → feExpression_2D
static exp((feExpression_2D)arg1) → feExpression_2D
static log((feExpression_2D)arg1) → feExpression_2D
static log10((feExpression_2D)arg1) → feExpression_2D
static sin((feExpression_2D)arg1) → feExpression_2D
static sinh((feExpression_2D)arg1) → feExpression_2D
static sqrt((feExpression_2D)arg1) → feExpression_2D
static tan((feExpression_2D)arg1) → feExpression_2D
static tanh((feExpression_2D)arg1) → feExpression_2D
class feExpression_3D

Bases: Boost.Python.instance

static abs((feExpression_3D)arg1) → feExpression_3D
static acos((feExpression_3D)arg1) → feExpression_3D
static acosh((feExpression_3D)arg1) → feExpression_3D
static asin((feExpression_3D)arg1) → feExpression_3D
static asinh((feExpression_3D)arg1) → feExpression_3D
static atan((feExpression_3D)arg1) → feExpression_3D
static atanh((feExpression_3D)arg1) → feExpression_3D
static cos((feExpression_3D)arg1) → feExpression_3D
static cosh((feExpression_3D)arg1) → feExpression_3D
static erf((feExpression_3D)arg1) → feExpression_3D
static exp((feExpression_3D)arg1) → feExpression_3D
static log((feExpression_3D)arg1) → feExpression_3D
static log10((feExpression_3D)arg1) → feExpression_3D
static sin((feExpression_3D)arg1) → feExpression_3D
static sinh((feExpression_3D)arg1) → feExpression_3D
static sqrt((feExpression_3D)arg1) → feExpression_3D
static tan((feExpression_3D)arg1) → feExpression_3D
static tanh((feExpression_3D)arg1) → feExpression_3D
constant_1D((float)value) → feExpression_1D
constant_2D((float)value) → feExpression_2D
constant_3D((float)value) → feExpression_3D
phi_1D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_1D
phi_2D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_2D
phi_3D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_3D
dphi_1D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_1D
dphi_2D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_2D
dphi_3D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_3D
d2phi_1D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_1D
d2phi_2D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_2D
d2phi_3D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_3D
JxW_1D((int)quadraturePoint) → feExpression_1D
JxW_2D((int)quadraturePoint) → feExpression_2D
JxW_3D((int)quadraturePoint) → feExpression_3D
xyz_1D((int)quadraturePoint) → feExpression_1D
xyz_2D((int)quadraturePoint) → feExpression_2D
xyz_3D((int)quadraturePoint) → feExpression_3D
normal_1D((int)quadraturePoint) → feExpression_1D
normal_2D((int)quadraturePoint) → feExpression_2D
normal_3D((int)quadraturePoint) → feExpression_3D
function_value_1D((str)functionName, (Function_1D)fun, (feExpression_1D)point[, (int)component=0]) → feExpression_1D
function_value_2D((str)functionName, (Function_2D)fun, (feExpression_2D)point[, (int)component=0]) → feExpression_2D
function_value_3D((str)functionName, (Function_3D)fun, (feExpression_3D)point[, (int)component=0]) → feExpression_3D
function_gradient_1D((str)functionName, (Function_1D)fun, (feExpression_1D)point[, (int)component=0]) → feExpression_1D
function_gradient_2D((str)functionName, (Function_2D)fun, (feExpression_2D)point[, (int)component=0]) → feExpression_2D
function_gradient_3D((str)functionName, (Function_3D)fun, (feExpression_3D)point[, (int)component=0]) → feExpression_3D
function_adouble_value_1D((str)functionName, (adoubleFunction_1D)fun, (feExpression_1D)point[, (int)component=0]) → feExpression_1D
function_adouble_value_1D((str)functionName, (adoubleFunction_1D)fun, (feExpression_1D)point[, (int)component=0]) → feExpression_1D
function_adouble_value_1D((str)functionName, (adoubleFunction_1D)fun, (feExpression_1D)point[, (int)component=0]) → feExpression_1D
function_adouble_gradient_1D((str)functionName, (adoubleFunction_1D)fun, (feExpression_1D)point[, (int)component=0]) → feExpression_1D
function_adouble_gradient_1D((str)functionName, (adoubleFunction_1D)fun, (feExpression_1D)point[, (int)component=0]) → feExpression_1D
function_adouble_gradient_1D((str)functionName, (adoubleFunction_1D)fun, (feExpression_1D)point[, (int)component=0]) → feExpression_1D
tensor1_function_value_1D((str)functionName, (TensorFunction_1_1D)tensorFunction, (feExpression_1D)point) → feExpression_1D
tensor1_function_value_1D((str)functionName, (TensorFunction_1_1D)tensorFunction, (feExpression_1D)point) → feExpression_1D
tensor1_function_value_1D((str)functionName, (TensorFunction_1_1D)tensorFunction, (feExpression_1D)point) → feExpression_1D
tensor2_function_value_1D((str)functionName, (TensorFunction_2_1D)tensorFunction, (feExpression_1D)point) → feExpression_1D
tensor2_function_value_1D((str)functionName, (TensorFunction_2_1D)tensorFunction, (feExpression_1D)point) → feExpression_1D
tensor2_function_value_1D((str)functionName, (TensorFunction_2_1D)tensorFunction, (feExpression_1D)point) → feExpression_1D
tensor1_function_gradient_1D((str)functionName, (TensorFunction_1_1D)tensorFunction, (feExpression_1D)point) → feExpression_1D
tensor1_function_gradient_1D((str)functionName, (TensorFunction_1_1D)tensorFunction, (feExpression_1D)point) → feExpression_1D
tensor1_function_gradient_1D((str)functionName, (TensorFunction_1_1D)tensorFunction, (feExpression_1D)point) → feExpression_1D
tensor2_function_gradient_1D((str)functionName, (TensorFunction_2_1D)tensorFunction, (feExpression_1D)point) → feExpression_1D
tensor2_function_gradient_1D((str)functionName, (TensorFunction_2_1D)tensorFunction, (feExpression_1D)point) → feExpression_1D
tensor2_function_gradient_1D((str)functionName, (TensorFunction_2_1D)tensorFunction, (feExpression_1D)point) → feExpression_1D
phi_vector_1D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_1D
phi_vector_2D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_2D
phi_vector_3D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_3D
dphi_vector_1D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_1D
dphi_vector_2D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_2D
dphi_vector_3D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_3D
d2phi_vector_1D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_1D
d2phi_vector_2D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_2D
d2phi_vector_3D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_3D
div_phi_1D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_1D
div_phi_2D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_2D
div_phi_3D((str)variableName, (int)shapeFunction, (int)quadraturePoint) → feExpression_3D
dof_1D((str)variableName, (int)shapeFunction) → feExpression_1D
dof_2D((str)variableName, (int)shapeFunction) → feExpression_2D
dof_3D((str)variableName, (int)shapeFunction) → feExpression_3D
dof_approximation_1D((str)variableName, (int)quadraturePoint) → feExpression_1D
dof_approximation_2D((str)variableName, (int)quadraturePoint) → feExpression_2D
dof_approximation_3D((str)variableName, (int)quadraturePoint) → feExpression_3D
dof_gradient_approximation_1D((str)variableName, (int)quadraturePoint) → feExpression_1D
dof_gradient_approximation_2D((str)variableName, (int)quadraturePoint) → feExpression_2D
dof_gradient_approximation_3D((str)variableName, (int)quadraturePoint) → feExpression_3D
dof_hessian_approximation_1D((str)variableName, (int)quadraturePoint) → feExpression_1D
dof_hessian_approximation_2D((str)variableName, (int)quadraturePoint) → feExpression_2D
dof_hessian_approximation_3D((str)variableName, (int)quadraturePoint) → feExpression_3D
vector_dof_approximation_1D((str)variableName, (int)quadraturePoint) → feExpression_1D
vector_dof_approximation_2D((str)variableName, (int)quadraturePoint) → feExpression_2D
vector_dof_approximation_3D((str)variableName, (int)quadraturePoint) → feExpression_3D
vector_dof_gradient_approximation_1D((str)variableName, (int)quadraturePoint) → feExpression_1D
vector_dof_gradient_approximation_2D((str)variableName, (int)quadraturePoint) → feExpression_2D
vector_dof_gradient_approximation_3D((str)variableName, (int)quadraturePoint) → feExpression_3D
adouble_1D((adouble)ad) → feExpression_1D
adouble_2D((adouble)ad) → feExpression_2D
adouble_3D((adouble)ad) → feExpression_3D
tensor1_1D((Tensor_1_1D)tensor) → feExpression_1D
tensor1_2D((Tensor_1_2D)tensor) → feExpression_2D
tensor1_3D((Tensor_1_3D)tensor) → feExpression_3D
tensor2_1D((Tensor_2_1D)tensor) → feExpression_1D
tensor2_2D((Tensor_2_2D)tensor) → feExpression_2D
tensor2_3D((Tensor_2_3D)tensor) → feExpression_3D
tensor3_1D((object)tensor) → feExpression_1D
tensor3_2D((object)tensor) → feExpression_2D
tensor3_3D((object)tensor) → feExpression_3D
adouble_tensor1_1D((adoubleTensor_1_1D)tensor) → feExpression_1D
adouble_tensor1_2D((adoubleTensor_1_2D)tensor) → feExpression_2D
adouble_tensor1_3D((adoubleTensor_1_3D)tensor) → feExpression_3D
adouble_tensor2_1D((adoubleTensor_2_1D)tensor) → feExpression_1D
adouble_tensor2_2D((adoubleTensor_2_2D)tensor) → feExpression_2D
adouble_tensor2_3D((adoubleTensor_2_3D)tensor) → feExpression_3D
adouble_tensor3_1D((object)tensor) → feExpression_1D
adouble_tensor3_2D((object)tensor) → feExpression_2D
adouble_tensor3_3D((object)tensor) → feExpression_3D

7.2.6. deal.II Function<dim> classes

Function_1D
Function_2D
Function_3D
adoubleFunction_1D
adoubleFunction_2D
adoubleFunction_3D
ConstantFunction_1D
ConstantFunction_2D
ConstantFunction_3D
adoubleConstantFunction_1D
adoubleConstantFunction_2D
adoubleConstantFunction_3D
TensorFunction_1_1D
TensorFunction_1_2D
TensorFunction_1_3D
TensorFunction_2_1D
TensorFunction_2_2D
TensorFunction_2_3D
adoubleTensorFunction_1_1D
adoubleTensorFunction_1_2D
adoubleTensorFunction_1_3D
adoubleTensorFunction_2_1D
adoubleTensorFunction_2_2D
adoubleTensorFunction_2_3D
class Function_1D

Bases: Boost.Python.instance

gradient((Function_1D)self, (Point_1D)point[, (int)component=0]) → Tensor_1_1D

gradient( (Function_1D)arg1, (Point_1D)arg2, (int)arg3) -> None

value((Function_1D)self, (Point_1D)point[, (int)component=0]) → float

value( (Function_1D)arg1, (Point_1D)arg2, (int)arg3) -> None

vector_gradient((Function_1D)arg1, (Point_1D)self, (object)point) → None

vector_gradient( (Function_1D)arg1, (Point_1D)arg2, (object)arg3) -> None

vector_value((Function_1D)arg1, (Point_1D)self, (Vector)point) → None

vector_value( (Function_1D)arg1, (Point_1D)arg2, (Vector)arg3) -> None

class Function_2D

Bases: Boost.Python.instance

gradient((Function_2D)self, (Point_2D)point[, (int)component=0]) → Tensor_1_2D

gradient( (Function_2D)arg1, (Point_2D)arg2, (int)arg3) -> None

value((Function_2D)self, (Point_2D)point[, (int)component=0]) → float

value( (Function_2D)arg1, (Point_2D)arg2, (int)arg3) -> None

vector_gradient((Function_2D)arg1, (Point_2D)self, (object)point) → None

vector_gradient( (Function_2D)arg1, (Point_2D)arg2, (object)arg3) -> None

vector_value((Function_2D)arg1, (Point_2D)self, (Vector)point) → None

vector_value( (Function_2D)arg1, (Point_2D)arg2, (Vector)arg3) -> None

class Function_3D

Bases: Boost.Python.instance

gradient((Function_3D)self, (Point_3D)point[, (int)component=0]) → Tensor_1_3D

gradient( (Function_3D)arg1, (Point_3D)arg2, (int)arg3) -> None

value((Function_3D)self, (Point_3D)point[, (int)component=0]) → float

value( (Function_3D)arg1, (Point_3D)arg2, (int)arg3) -> None

vector_gradient((Function_3D)arg1, (Point_3D)self, (object)point) → None

vector_gradient( (Function_3D)arg1, (Point_3D)arg2, (object)arg3) -> None

vector_value((Function_3D)arg1, (Point_3D)self, (Vector)point) → None

vector_value( (Function_3D)arg1, (Point_3D)arg2, (Vector)arg3) -> None

class adoubleFunction_1D

Bases: Boost.Python.instance

gradient((adoubleFunction_1D)self, (Point_1D)point[, (int)component=0]) → adoubleTensor_1_1D

gradient( (adoubleFunction_1D)arg1, (Point_1D)arg2, (int)arg3) -> None

value((adoubleFunction_1D)self, (Point_1D)point[, (int)component=0]) → adouble

value( (adoubleFunction_1D)arg1, (Point_1D)arg2, (int)arg3) -> None

vector_gradient((adoubleFunction_1D)arg1, (Point_1D)self, (object)point) → None

vector_gradient( (adoubleFunction_1D)arg1, (Point_1D)arg2, (object)arg3) -> None

vector_value((adoubleFunction_1D)arg1, (Point_1D)self, (object)point) → None

vector_value( (adoubleFunction_1D)arg1, (Point_1D)arg2, (object)arg3) -> None

class adoubleFunction_2D

Bases: Boost.Python.instance

gradient((adoubleFunction_2D)self, (Point_2D)point[, (int)component=0]) → adoubleTensor_1_2D

gradient( (adoubleFunction_2D)arg1, (Point_2D)arg2, (int)arg3) -> None

value((adoubleFunction_2D)self, (Point_2D)point[, (int)component=0]) → adouble

value( (adoubleFunction_2D)arg1, (Point_2D)arg2, (int)arg3) -> None

vector_gradient((adoubleFunction_2D)arg1, (Point_2D)self, (object)point) → None

vector_gradient( (adoubleFunction_2D)arg1, (Point_2D)arg2, (object)arg3) -> None

vector_value((adoubleFunction_2D)arg1, (Point_2D)self, (object)point) → None

vector_value( (adoubleFunction_2D)arg1, (Point_2D)arg2, (object)arg3) -> None

class adoubleFunction_3D

Bases: Boost.Python.instance

gradient((adoubleFunction_3D)self, (Point_3D)point[, (int)component=0]) → adoubleTensor_1_3D

gradient( (adoubleFunction_3D)arg1, (Point_3D)arg2, (int)arg3) -> None

value((adoubleFunction_3D)self, (Point_3D)point[, (int)component=0]) → adouble

value( (adoubleFunction_3D)arg1, (Point_3D)arg2, (int)arg3) -> None

vector_gradient((adoubleFunction_3D)arg1, (Point_3D)self, (object)point) → None

vector_gradient( (adoubleFunction_3D)arg1, (Point_3D)arg2, (object)arg3) -> None

vector_value((adoubleFunction_3D)arg1, (Point_3D)self, (object)point) → None

vector_value( (adoubleFunction_3D)arg1, (Point_3D)arg2, (object)arg3) -> None

class ConstantFunction_1D

Bases: pyDealII.Function_1D

class ConstantFunction_2D

Bases: pyDealII.Function_2D

class ConstantFunction_3D

Bases: pyDealII.Function_3D

class adoubleConstantFunction_1D

Bases: pyDealII.adoubleFunction_1D

class adoubleConstantFunction_2D

Bases: pyDealII.adoubleFunction_2D

class adoubleConstantFunction_3D

Bases: pyDealII.adoubleFunction_3D

class TensorFunction_1_1D

Bases: Boost.Python.instance

gradient((TensorFunction_1_1D)self, (Point_1D)point) → Tensor_2_1D

gradient( (TensorFunction_1_1D)arg1, (Point_1D)arg2) -> None

value((TensorFunction_1_1D)self, (Point_1D)point) → Tensor_1_1D

value( (TensorFunction_1_1D)arg1, (Point_1D)arg2) -> None

class TensorFunction_1_2D

Bases: Boost.Python.instance

gradient((TensorFunction_1_2D)self, (Point_2D)point) → Tensor_2_2D

gradient( (TensorFunction_1_2D)arg1, (Point_2D)arg2) -> None

value((TensorFunction_1_2D)self, (Point_2D)point) → Tensor_1_2D

value( (TensorFunction_1_2D)arg1, (Point_2D)arg2) -> None

class TensorFunction_1_3D

Bases: Boost.Python.instance

gradient((TensorFunction_1_3D)self, (Point_3D)point) → Tensor_2_3D

gradient( (TensorFunction_1_3D)arg1, (Point_3D)arg2) -> None

value((TensorFunction_1_3D)self, (Point_3D)point) → Tensor_1_3D

value( (TensorFunction_1_3D)arg1, (Point_3D)arg2) -> None

class TensorFunction_2_1D

Bases: Boost.Python.instance

gradient((TensorFunction_2_1D)self, (Point_1D)point) → object

gradient( (TensorFunction_2_1D)arg1, (Point_1D)arg2) -> None

value((TensorFunction_2_1D)self, (Point_1D)point) → Tensor_2_1D

value( (TensorFunction_2_1D)arg1, (Point_1D)arg2) -> None

class TensorFunction_2_2D

Bases: Boost.Python.instance

gradient((TensorFunction_2_2D)self, (Point_2D)point) → object

gradient( (TensorFunction_2_2D)arg1, (Point_2D)arg2) -> None

value((TensorFunction_2_2D)self, (Point_2D)point) → Tensor_2_2D

value( (TensorFunction_2_2D)arg1, (Point_2D)arg2) -> None

class TensorFunction_2_3D

Bases: Boost.Python.instance

gradient((TensorFunction_2_3D)self, (Point_3D)point) → object

gradient( (TensorFunction_2_3D)arg1, (Point_3D)arg2) -> None

value((TensorFunction_2_3D)self, (Point_3D)point) → Tensor_2_3D

value( (TensorFunction_2_3D)arg1, (Point_3D)arg2) -> None

class adoubleTensorFunction_1_1D

Bases: Boost.Python.instance

gradient((adoubleTensorFunction_1_1D)self, (Point_1D)point) → adoubleTensor_2_1D

gradient( (adoubleTensorFunction_1_1D)arg1, (Point_1D)arg2) -> None

value((adoubleTensorFunction_1_1D)self, (Point_1D)point) → adoubleTensor_1_1D

value( (adoubleTensorFunction_1_1D)arg1, (Point_1D)arg2) -> None

class adoubleTensorFunction_1_2D

Bases: Boost.Python.instance

gradient((adoubleTensorFunction_1_2D)self, (Point_2D)point) → adoubleTensor_2_2D

gradient( (adoubleTensorFunction_1_2D)arg1, (Point_2D)arg2) -> None

value((adoubleTensorFunction_1_2D)self, (Point_2D)point) → adoubleTensor_1_2D

value( (adoubleTensorFunction_1_2D)arg1, (Point_2D)arg2) -> None

class adoubleTensorFunction_1_3D

Bases: Boost.Python.instance

gradient((adoubleTensorFunction_1_3D)self, (Point_3D)point) → adoubleTensor_2_3D

gradient( (adoubleTensorFunction_1_3D)arg1, (Point_3D)arg2) -> None

value((adoubleTensorFunction_1_3D)self, (Point_3D)point) → adoubleTensor_1_3D

value( (adoubleTensorFunction_1_3D)arg1, (Point_3D)arg2) -> None

class adoubleTensorFunction_2_1D

Bases: Boost.Python.instance

gradient((adoubleTensorFunction_2_1D)self, (Point_1D)point) → object

gradient( (adoubleTensorFunction_2_1D)arg1, (Point_1D)arg2) -> None

value((adoubleTensorFunction_2_1D)self, (Point_1D)point) → adoubleTensor_2_1D

value( (adoubleTensorFunction_2_1D)arg1, (Point_1D)arg2) -> None

class adoubleTensorFunction_2_2D

Bases: Boost.Python.instance

gradient((adoubleTensorFunction_2_2D)self, (Point_2D)point) → object

gradient( (adoubleTensorFunction_2_2D)arg1, (Point_2D)arg2) -> None

value((adoubleTensorFunction_2_2D)self, (Point_2D)point) → adoubleTensor_2_2D

value( (adoubleTensorFunction_2_2D)arg1, (Point_2D)arg2) -> None

class adoubleTensorFunction_2_3D

Bases: Boost.Python.instance

gradient((adoubleTensorFunction_2_3D)self, (Point_3D)point) → object

gradient( (adoubleTensorFunction_2_3D)arg1, (Point_3D)arg2) -> None

value((adoubleTensorFunction_2_3D)self, (Point_3D)point) → adoubleTensor_2_3D

value( (adoubleTensorFunction_2_3D)arg1, (Point_3D)arg2) -> None

7.2.7. Enumerations and Constants

fe_i int(x=0) -> integer
fe_j int(x=0) -> integer
fe_q int(x=0) -> integer
pyDealII.fe_i
pyDealII.fe_j
pyDealII.fe_q

7.2.8. Auxiliary Classes

Tensor_1_1D
Tensor_1_2D
Tensor_1_3D
Tensor_2_1D
Tensor_2_2D
Tensor_2_3D
adoubleTensor_1_1D
adoubleTensor_1_2D
adoubleTensor_1_3D
adoubleTensor_2_1D
adoubleTensor_2_2D
adoubleTensor_2_3D
Point_1D
Point_2D
Point_3D
Vector
FullMatrix
SparseMatrix
class Tensor_1_1D

Bases: Boost.Python.instance

clear((Tensor_1_1D)arg1) → None
memory_consumption() → int
class Tensor_1_2D

Bases: Boost.Python.instance

clear((Tensor_1_2D)arg1) → None
memory_consumption() → int
class Tensor_1_3D

Bases: Boost.Python.instance

clear((Tensor_1_3D)arg1) → None
memory_consumption() → int
class Tensor_2_1D

Bases: Boost.Python.instance

clear((Tensor_2_1D)arg1) → None
memory_consumption() → int
class Tensor_2_2D

Bases: Boost.Python.instance

clear((Tensor_2_2D)arg1) → None
memory_consumption() → int
class Tensor_2_3D

Bases: Boost.Python.instance

clear((Tensor_2_3D)arg1) → None
memory_consumption() → int
class adoubleTensor_1_1D

Bases: Boost.Python.instance

clear((adoubleTensor_1_1D)arg1) → None
memory_consumption() → int
class adoubleTensor_1_2D

Bases: Boost.Python.instance

clear((adoubleTensor_1_2D)arg1) → None
memory_consumption() → int
class adoubleTensor_1_3D

Bases: Boost.Python.instance

clear((adoubleTensor_1_3D)arg1) → None
memory_consumption() → int
class adoubleTensor_2_1D

Bases: Boost.Python.instance

clear((adoubleTensor_2_1D)arg1) → None
memory_consumption() → int
class adoubleTensor_2_2D

Bases: Boost.Python.instance

clear((adoubleTensor_2_2D)arg1) → None
memory_consumption() → int
class adoubleTensor_2_3D

Bases: Boost.Python.instance

clear((adoubleTensor_2_3D)arg1) → None
memory_consumption() → int
class Point_1D

Bases: pyDealII.Tensor_1_1D

distance((Point_1D)arg1, (Point_1D)arg2) → float
square((Point_1D)arg1) → float
x
class Point_2D

Bases: pyDealII.Tensor_1_2D

distance((Point_2D)arg1, (Point_2D)arg2) → float
square((Point_2D)arg1) → float
x
y
class Point_3D

Bases: pyDealII.Tensor_1_3D

distance((Point_3D)arg1, (Point_3D)arg2) → float
square((Point_3D)arg1) → float
x
y
z
class Vector

Bases: Boost.Python.instance

add((Vector)arg1, (int)arg2, (float)arg3) → None
class FullMatrix

Bases: Boost.Python.instance

add((FullMatrix)arg1, (int)arg2, (int)arg3, (float)arg4) → None
set((FullMatrix)arg1, (int)arg2, (int)arg3, (float)arg4) → None
class SparseMatrix

Bases: Boost.Python.instance

add((SparseMatrix)arg1, (int)arg2, (int)arg3, (float)arg4) → None
el((SparseMatrix)arg1, (int)arg2, (int)arg3) → float
m
n
n_nonzero_elements
set((SparseMatrix)arg1, (int)arg2, (int)arg3, (float)arg4) → None