optimism.test package
Submodules
optimism.test.ConvexityPlot module
optimism.test.MeshFixture module
optimism.test.TestFixture module
optimism.test.test_AxisymmPatchTest module
- class optimism.test.test_AxisymmPatchTest.AxisymmPatchTest(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_DofManager module
- class optimism.test.test_DofManager.DofManagerTest(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_EquationSolver module
- class optimism.test.test_EquationSolver.EquationSolverFixture(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_FunctionSpace module
- class optimism.test.test_FunctionSpace.ParameterizationTestSuite(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []
- class optimism.test.test_FunctionSpace.TestFunctionSpaceFixture(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
- class optimism.test.test_FunctionSpace.TestFunctionSpaceMultiQuadPointFixture(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []
- class optimism.test.test_FunctionSpace.TestFunctionSpaceSingleQuadPointFixture(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_Interpolants module
- class optimism.test.test_Interpolants.TestBubbleInterpolants(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
- class optimism.test.test_Interpolants.TestInterpolants(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_JaxConfig module
optimism.test.test_LinAlg module
- class optimism.test.test_LinAlg.TestLinAlg(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_Math module
- class optimism.test.test_Math.TestMathInnerProduct(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
- class optimism.test.test_Math.TestMathSum(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_Mechanics module
- class optimism.test.test_Mechanics.MechanicsFunctionsFixture(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_Mesh module
- class optimism.test.test_Mesh.TestSingleMeshFixture(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_MinimizeScalar module
- class optimism.test.test_MinimizeScalar.TestMinimizeScalarFixture(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
- optimism.test.test_MinimizeScalar.df(x)
Jacobian of f with respect to positional argument(s) 0. Takes the same arguments as f but returns the jacobian of the output with respect to the arguments at positions 0.
optimism.test.test_Newmark module
- class optimism.test.test_Newmark.DynamicPatchTest(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []
- class optimism.test.test_Newmark.DynamicsFixture(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_Objective module
- class optimism.test.test_Objective.TestObjective(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_PatchTest module
- class optimism.test.test_PatchTest.LinearPatchTestLinearElements(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []
- class optimism.test.test_PatchTest.LinearPatchTestQuadraticElements(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []
- class optimism.test.test_PatchTest.QuadraticPatchTestQuadraticElements(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_PatchTestPou module
- class optimism.test.test_PatchTestPou.PatchTestQuadraticElements(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []
- optimism.test.test_PatchTestPou.construct_basis_on_poly(elems, conns, fs: FunctionSpace)[source]
optimism.test.test_QuadratureRule module
optimism.test.test_ReadExodusMesh module
- class optimism.test.test_ReadExodusMesh.TestMeshReadData(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
- class optimism.test.test_ReadExodusMesh.TestMeshReadPatchTest(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
- class optimism.test.test_ReadExodusMesh.TestMeshReadPropertiesTest(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_ReadMesh module
- class optimism.test.test_ReadMesh.TestMeshReadData(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
- class optimism.test.test_ReadMesh.TestMeshReadPatchTest(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
- optimism.test.test_ReadMesh.compute_traction_potential_energy(mesh, U, quadRule, edges, load)[source]
optimism.test.test_ScalarRootFinder module
- class optimism.test.test_ScalarRootFinder.ScalarRootFindTestFixture(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_SmoothFunctions module
optimism.test.test_SparseMatrix module
- class optimism.test.test_SparseMatrix.SparsePatchFixture(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_SparsePreconditioner module
- class optimism.test.test_SparsePreconditioner.SparseCholeskyFixture(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_Surface module
- class optimism.test.test_Surface.TestSingleMeshFixture(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_TensorMath module
- class optimism.test.test_TensorMath.TensorMathFixture(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_Traction module
optimism.test.test_TrustRegionSPG module
- class optimism.test.test_TrustRegionSPG.TRSPGCauchyPointFixture(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
- class optimism.test.test_TrustRegionSPG.TestProjectionOnBoundary(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
- class optimism.test.test_TrustRegionSPG.TestSubproblemSolveFixture(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
- class optimism.test.test_TrustRegionSPG.TestTrustRegionSPGFixture(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
- class optimism.test.test_TrustRegionSPG.TestTrustRegionSPGRosenbrock(methodName='runTest')[source]
Bases:
TestFixture
- _classSetupFailed = False
- _class_cleanups = []
optimism.test.test_VTKWriter module
- class optimism.test.test_VTKWriter.TestVTKWriter(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []
- baseFileName = 'output'
optimism.test.test_VolumeAverageJ module
- class optimism.test.test_VolumeAverageJ.TestVolumeAverage(methodName='runTest')[source]
Bases:
MeshFixture
- _classSetupFailed = False
- _class_cleanups = []