7.3. Finite Elements¶
7.3.1. Base Classes¶
- class daeFiniteElementModel¶
- __init__((object)self, (str)name, (daeModel)parentModel, (str)description, (daeFiniteElementObject_t)feObject) None : ¶
Constructor…
- class daeFiniteElementModel¶
- 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) None ¶
- class daeFiniteElementEquation¶
- class daeFiniteElementVariableInfo¶
- property Multiplicity¶
- property VariableDescription¶
- property VariableName¶
- property m_nNumberOfDOFs¶
- class daeFiniteElementObjectInfo¶
- property NumberOfDOFsPerVariable¶
- property TotalNumberDOFs¶
- property VariableInfos¶
- class daeFiniteElementObject_t¶
- 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, (object)row) None ¶
RowIndices( (daeFiniteElementObject_t)arg1, (int)arg2, (object)arg3) -> None
7.3.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.
- class dealiiFiniteElementDOF_1D¶
- __init__((object)arg1, (str)name, (str)description, (FiniteElement_1D)fe, (int)multiplicity[, (daeVariableType)variableType=daeVariableType(name="no_t", units=, lowerBound=-1e+20, upperBound=1e+20, initialGuess=0, absoluteTolerance=1e-05, valueConstraint=0)]) None ¶
- property Description¶
- property Multiplicity¶
- property Name¶
- class dealiiFiniteElementDOF_2D¶
- __init__((object)arg1, (str)name, (str)description, (FiniteElement_2D)fe, (int)multiplicity[, (daeVariableType)variableType=daeVariableType(name="no_t", units=, lowerBound=-1e+20, upperBound=1e+20, initialGuess=0, absoluteTolerance=1e-05, valueConstraint=0)]) None ¶
- property Description¶
- property Multiplicity¶
- property Name¶
- class dealiiFiniteElementDOF_3D¶
- __init__((object)arg1, (str)name, (str)description, (FiniteElement_3D)fe, (int)multiplicity[, (daeVariableType)variableType=daeVariableType(name="no_t", units=, lowerBound=-1e+20, upperBound=1e+20, initialGuess=0, absoluteTolerance=1e-05, valueConstraint=0)]) None ¶
- property Description¶
- property Multiplicity¶
- property Name¶
- class dealiiFiniteElementWeakForm_1D¶
- __init__((object)self, (object)Aij, (object)Mij, (object)Fi[, (feExpression_1D)innerCellFaceAij=<pyDealII.feExpression_1D object at 0x7fee6b113220>[, (feExpression_1D)innerCellFaceFi=<pyDealII.feExpression_1D object at 0x7fee6b113290>[, (dict)boundaryFaceAij={}[, (dict)boundaryFaceFi={}[, (dict)functionsDirichletBC={}[, (dict)surfaceIntegrals={}[, (list)volumeIntegrals=[]]]]]]]]) None ¶
- property Aij¶
- property Fi¶
- property Mij¶
- property boundaryFaceAij¶
- property boundaryFaceFi¶
- property functionsDirichletBC¶
- property innerCellFaceAij¶
- property innerCellFaceFi¶
- property surfaceIntegrals¶
- property volumeIntegrals¶
- class dealiiFiniteElementWeakForm_2D¶
- __init__((object)self, (object)Aij, (object)Mij, (object)Fi[, (feExpression_2D)innerCellFaceAij=<pyDealII.feExpression_2D object at 0x7fee6b113300>[, (feExpression_2D)innerCellFaceFi=<pyDealII.feExpression_2D object at 0x7fee6b113370>[, (dict)boundaryFaceAij={}[, (dict)boundaryFaceFi={}[, (dict)functionsDirichletBC={}[, (dict)surfaceIntegrals={}[, (list)volumeIntegrals=[]]]]]]]]) None ¶
- property Aij¶
- property Fi¶
- property Mij¶
- property boundaryFaceAij¶
- property boundaryFaceFi¶
- property functionsDirichletBC¶
- property innerCellFaceAij¶
- property innerCellFaceFi¶
- property surfaceIntegrals¶
- property volumeIntegrals¶
- class dealiiFiniteElementWeakForm_3D¶
- __init__((object)self, (object)Aij, (object)Mij, (object)Fi[, (feExpression_3D)innerCellFaceAij=<pyDealII.feExpression_3D object at 0x7fee6b1133e0>[, (feExpression_3D)innerCellFaceFi=<pyDealII.feExpression_3D object at 0x7fee6b113450>[, (dict)boundaryFaceAij={}[, (dict)boundaryFaceFi={}[, (dict)functionsDirichletBC={}[, (dict)surfaceIntegrals={}[, (list)volumeIntegrals=[]]]]]]]]) None ¶
- property Aij¶
- property Fi¶
- property FunctionsDirichletBC¶
- property Mij¶
- property boundaryFaceAij¶
- property boundaryFaceFi¶
- property innerCellFaceAij¶
- property innerCellFaceFi¶
- property surfaceIntegrals¶
- property volumeIntegrals¶
- class dealiiFiniteElementSystem_1D¶
- __init__((object)arg1, (str)meshFilename, (Quadrature_1D)quadrature, (Quadrature_0D)faceQuadrature, (list)dofs) None ¶
- class dealiiFiniteElementSystem_2D¶
- __init__((object)arg1, (str)meshFilename, (Quadrature_2D)quadrature, (Quadrature_1D)faceQuadrature, (list)dofs) None ¶
- class dealiiFiniteElementSystem_3D¶
- __init__((object)arg1, (str)meshFilename, (Quadrature_3D)quadrature, (Quadrature_2D)faceQuadrature, (list)dofs) None ¶
- class dealIIDataReporter¶
7.3.3. deal.II Finite Elements¶
- class FiniteElement_1D¶
- class FiniteElement_2D¶
- class FiniteElement_3D¶
7.3.4. deal.II Quadrature Rules¶
- class Quadrature_0D¶
- class Quadrature_1D¶
- class Quadrature_2D¶
- class Quadrature_3D¶
- class QGaussLogR_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 ¶
7.3.5. Functions for Specification of Weak Forms¶
- class feExpression_1D¶
- class feExpression_2D¶
- class 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.3.6. deal.II Function<dim> classes¶
- class Function_1D¶
- class Function_2D¶
- class Function_3D¶
- class adoubleFunction_1D¶
- class adoubleFunction_2D¶
- class adoubleFunction_3D¶
- class ConstantFunction_1D¶
- class ConstantFunction_2D¶
- class ConstantFunction_3D¶
- class adoubleConstantFunction_1D¶
- class adoubleConstantFunction_2D¶
- class adoubleConstantFunction_3D¶
- class TensorFunction_1_1D¶
- class TensorFunction_1_2D¶
- class TensorFunction_1_3D¶
- class TensorFunction_2_1D¶
- class TensorFunction_2_2D¶
- class TensorFunction_2_3D¶
- class adoubleTensorFunction_1_1D¶
- class adoubleTensorFunction_1_2D¶
- class adoubleTensorFunction_1_3D¶
- class adoubleTensorFunction_2_1D¶
- class adoubleTensorFunction_2_2D¶
- class adoubleTensorFunction_2_3D¶
7.3.7. Enumerations and Constants¶
int([x]) -> integer int(x, base=10) -> integer |
|
int([x]) -> integer int(x, base=10) -> integer |
|
int([x]) -> integer int(x, base=10) -> integer |
- pyDealII.fe_i¶
- pyDealII.fe_j¶
- pyDealII.fe_q¶
7.3.8. Auxiliary Classes¶
- class Tensor_1_1D¶
- class Tensor_1_2D¶
- class Tensor_1_3D¶
- class Tensor_2_1D¶
- class Tensor_2_2D¶
- class Tensor_2_3D¶
- class adoubleTensor_1_1D¶
- class adoubleTensor_1_2D¶
- class adoubleTensor_1_3D¶
- class adoubleTensor_2_1D¶
- class adoubleTensor_2_2D¶
- class adoubleTensor_2_3D¶
- class Point_1D¶
- class Point_2D¶
- class Point_3D¶
- class Vector¶
- class FullMatrix¶
- class SparseMatrix¶