mufem.CffVectorComponent
- class mufem.CffVectorComponent(cff_x, cff_y, cff_z)
Bases:
CffVectorVariableInputTrait
Creates a vector coefficient from scalar component coefficients.
- Parameters:
cff_x (CffScalarVariableInputTrait) – Scalar coefficient for the X component.
cff_y (CffScalarVariableInputTrait) – Scalar coefficient for the Y component.
cff_z (CffScalarVariableInputTrait) – Scalar coefficient for the Z component.
Examples
>>> x = CffConstantScalar(1.0) >>> y = CffConstantScalar(0.0) >>> z = CffConstantScalar(-1.0) >>> CffVectorComponent(x, y, z)
- __init__(self: mufem.CffVectorComponent, cff_x: mufem.CffScalarVariableInputTrait, cff_y: mufem.CffScalarVariableInputTrait, cff_z: mufem.CffScalarVariableInputTrait) None
Methods
__init__
(self, cff_x, cff_y, cff_z)