Muscat.FE.Integration module

CheckIntegrity(GUI: bool = False)[source]
CheckIntegrityConstantRectilinearIntegration(GUI: bool = False)[source]
CheckIntegrityConstantRectilinearIntegrationII(GUI: bool = False)[source]
CheckIntegrityIntegrationWithIntegrationPointField(GUI: bool = False)[source]
CheckIntegrityKF(edim, sdim, testCase)[source]
CheckIntegrityNormalFlux(GUI: bool = False)[source]
CheckIntegritySpeedUp(GUI: bool = False)[source]
CheckIntegritySpeedUpCore(s=20, toTests=[True, True, True])[source]
CheckIntegrityTangentAndRHS(GUI: bool = False)[source]
GetCheckIntegrityMesh(dimensions, spacing, origin)[source]
GetIntegrator()[source]
IntegrateGeneral(mesh, wform, constants, fields, unknownFields=None, testFields=None, integrationRuleName=None, onlyEvaluation=False, elementFilter=None, userIntegrator=None, integrationRule=None, nbThreads=None)[source]

Integration of a weak formulation

For more information about the argument please refer to IntegrationClass

Returns:

  • K (coo_matrix) – the assembled matrix

  • rhs (ndarray) – Array with the values of the right hand side term

IntegrateGeneralMonoThread(mesh, wform, constants, fields, unknownFields=None, testFields=None, integrationRuleName=None, onlyEvaluation=False, elementFilter=None, userIntegrator=None, integrationRule=None)[source]

Integration of a weak formulation using only one thread

For more information about the argument please refer to IntegrationClass

Returns:

  • K (coo_matrix) – the assembled matrix

  • rhs (ndarray) – Array with the values of the right hand side term

RunHeavySpeedUpCheck()[source]