diff --git a/.buildinfo b/.buildinfo index 453a8788..ff8eaee3 100644 --- a/.buildinfo +++ b/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 -# This file records the configuration used when building these files. When it is not found, a full rebuild will be done. -config: bd59fd941387a83e9ca6b1b57e0d3ce7 +# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. +config: f13c020c2ae2af9bc5aaffac8229bba5 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/_modules/index.html b/_modules/index.html index 4e0dbff0..8441afe3 100644 --- a/_modules/index.html +++ b/_modules/index.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/AlSolver.html b/_modules/optimism/AlSolver.html index 79c6cf38..6f11a62c 100644 --- a/_modules/optimism/AlSolver.html +++ b/_modules/optimism/AlSolver.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/BoundConstrainedObjective.html b/_modules/optimism/BoundConstrainedObjective.html index e1ace445..e956a3d5 100644 --- a/_modules/optimism/BoundConstrainedObjective.html +++ b/_modules/optimism/BoundConstrainedObjective.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/BoundConstrainedSolver.html b/_modules/optimism/BoundConstrainedSolver.html index b9205222..ab1556c5 100644 --- a/_modules/optimism/BoundConstrainedSolver.html +++ b/_modules/optimism/BoundConstrainedSolver.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/ConstrainedObjective.html b/_modules/optimism/ConstrainedObjective.html index e4c684e8..215d309f 100644 --- a/_modules/optimism/ConstrainedObjective.html +++ b/_modules/optimism/ConstrainedObjective.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/EquationSolver.html b/_modules/optimism/EquationSolver.html index a639e1c5..f1ddb3d5 100644 --- a/_modules/optimism/EquationSolver.html +++ b/_modules/optimism/EquationSolver.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/EquationSolverSubspace.html b/_modules/optimism/EquationSolverSubspace.html index 88d141e1..9b9008bd 100644 --- a/_modules/optimism/EquationSolverSubspace.html +++ b/_modules/optimism/EquationSolverSubspace.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/FunctionSpace.html b/_modules/optimism/FunctionSpace.html index 1ab1aeb1..25040f63 100644 --- a/_modules/optimism/FunctionSpace.html +++ b/_modules/optimism/FunctionSpace.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/Interpolants.html b/_modules/optimism/Interpolants.html index b0e2154f..cf941a3f 100644 --- a/_modules/optimism/Interpolants.html +++ b/_modules/optimism/Interpolants.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/J2PlasticPhaseField.html b/_modules/optimism/J2PlasticPhaseField.html index 3c20189e..e8632dc4 100644 --- a/_modules/optimism/J2PlasticPhaseField.html +++ b/_modules/optimism/J2PlasticPhaseField.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/JaxConfig.html b/_modules/optimism/JaxConfig.html index 1cbe72b4..564d421c 100644 --- a/_modules/optimism/JaxConfig.html +++ b/_modules/optimism/JaxConfig.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/LU.html b/_modules/optimism/LU.html index 92bef80f..dee0171d 100644 --- a/_modules/optimism/LU.html +++ b/_modules/optimism/LU.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/LinAlg.html b/_modules/optimism/LinAlg.html index e3a4a2d0..f893510b 100644 --- a/_modules/optimism/LinAlg.html +++ b/_modules/optimism/LinAlg.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/Math.html b/_modules/optimism/Math.html index 3a4a07d6..f37c712c 100644 --- a/_modules/optimism/Math.html +++ b/_modules/optimism/Math.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/Mechanics.html b/_modules/optimism/Mechanics.html index d8228c63..2abea320 100644 --- a/_modules/optimism/Mechanics.html +++ b/_modules/optimism/Mechanics.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/Mesh.html b/_modules/optimism/Mesh.html index 2b3a51ba..06211869 100644 --- a/_modules/optimism/Mesh.html +++ b/_modules/optimism/Mesh.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/MeshPlot.html b/_modules/optimism/MeshPlot.html index d67d35d4..a08cbb52 100644 --- a/_modules/optimism/MeshPlot.html +++ b/_modules/optimism/MeshPlot.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/MinimizeScalar.html b/_modules/optimism/MinimizeScalar.html index fd35a277..5e78a86f 100644 --- a/_modules/optimism/MinimizeScalar.html +++ b/_modules/optimism/MinimizeScalar.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/NewtonSolver.html b/_modules/optimism/NewtonSolver.html index 2d9b3ee3..8467ad26 100644 --- a/_modules/optimism/NewtonSolver.html +++ b/_modules/optimism/NewtonSolver.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/Objective.html b/_modules/optimism/Objective.html index f011b9bd..ba0b1d77 100644 --- a/_modules/optimism/Objective.html +++ b/_modules/optimism/Objective.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/QuadratureRule.html b/_modules/optimism/QuadratureRule.html index 50a2f949..9868da6a 100644 --- a/_modules/optimism/QuadratureRule.html +++ b/_modules/optimism/QuadratureRule.html @@ -14,7 +14,7 @@ - + diff --git a/_modules/optimism/ReadExodusMesh.html b/_modules/optimism/ReadExodusMesh.html index 1c43a8e6..51d650e2 100644 --- a/_modules/optimism/ReadExodusMesh.html +++ b/_modules/optimism/ReadExodusMesh.html @@ -14,7 +14,7 @@ - + @@ -184,11 +184,18 @@
[docs]
def _read_block_maps(exodusDataset, blocks):
block_maps = {}
- elementMap = exodusDataset.variables['elem_num_map']
+ if 'elem_num_map' in exodusDataset.variables:
+ elementMap = exodusDataset.variables['elem_num_map']
+ else:
+ nEle = 0
+ for blockName, blockElems in blocks.items():
+ nEle = nEle + len(blockElems)
+ elementMap = onp.arange(0, nEle)
+
firstElemInBlock = 0
for blockName, blockElems in blocks.items():
nElemsInBlock = len(blockElems)
- block_maps[blockName] = elementMap[firstElemInBlock:firstElemInBlock+nElemsInBlock]
+ block_maps[blockName] = onp.array(elementMap[firstElemInBlock:firstElemInBlock + nElemsInBlock])
firstElemInBlock += nElemsInBlock
return block_maps
TestContactFrictionData
TestContactFrictionData._classSetupFailed
TestContactFrictionData._class_cleanups
TestContactFrictionData.setUp()
TestContactFrictionData.test_friction_search_after_motion()
TestContactFrictionData.test_friction_search_static()
TestEdgeIntersection
TestEdgeIntersection._classSetupFailed
TestEdgeIntersection._class_cleanups
TestEdgeIntersection.plot_grid()
TestEdgeIntersection.setUp()
TestEdgeIntersection.test_cpp_dist_corner1()
TestEdgeIntersection
TestEdgeIntersection._classSetupFailed
TestEdgeIntersection._class_cleanups
TestEdgeIntersection.compute_ray_trace()
TestEdgeIntersection.get_edge()
TestEdgeIntersection.get_ray()
TestLevelsetContactConstraint
TestLevelsetContactConstraint._classSetupFailed
TestLevelsetContactConstraint._class_cleanups
TestLevelsetContactConstraint.setUp()
TestLevelsetContactConstraint.test_compute_all_positive_constraints_for_far_away_levelset()
TestLevelsetContactConstraint.test_friction()
TestMortarGeom
TestMortarGeom._classSetupFailed
TestMortarGeom._class_cleanups
TestMortarGeom.setUp()
TestMortarGeom.testAreaIntegrals()
TestMortarGeom.testEdgesWithCommonPoint()
TestGMRESSolver
TestGMRESSolver._classSetupFailed
TestGMRESSolver._class_cleanups
TestGMRESSolver.setUp()
TestGMRESSolver.test_al_solver()
TestGMRESSolver.test_globalized_newton_step_nonconvex()
TestQuadraticSolver
TestQuadraticSolver._classSetupFailed
TestQuadraticSolver._class_cleanups
TestQuadraticSolver.check_quadratic()
TestQuadraticSolver.setUp()
TestQuadraticSolver.test_constant()
TestDoubleMeshFixture
TestDoubleMeshFixture._classSetupFailed
TestDoubleMeshFixture._class_cleanups
TestDoubleMeshFixture.is_contact_edge()
TestDoubleMeshFixture.is_integration_edge()
TestDoubleMeshFixture.setUp()
TwoBodyContactFixture
TwoBodyContactFixture._classSetupFailed
TwoBodyContactFixture._class_cleanups
TwoBodyContactFixture.plot_solution()
TwoBodyContactFixture.setUp()
TwoBodyContactFixture.test_combining_nodesets()
TwoBodyContactFixture
TwoBodyContactFixture._classSetupFailed
TwoBodyContactFixture._class_cleanups
TwoBodyContactFixture.plot_solution()
TwoBodyContactFixture.setUp()
TwoBodyContactFixture.test_contact_constraints()
Bases: MeshFixture
Bases: TestFixture
Bases: TestFixture
Bases: MeshFixture
Bases: TestFixture
Bases: TestFixture
Bases: TestFixture
Bases: MeshFixture
Bases: MeshFixture
Bases: MeshFixture
MeshFixture
MeshFixture._classSetupFailed
MeshFixture._class_cleanups
MeshFixture.create_arch_mesh_disp_and_edges()
MeshFixture.create_cos_mesh_disp_and_edges()
MeshFixture.create_mesh_and_disp()
TestFixture
TestFixture._classSetupFailed
TestFixture._class_cleanups
TestFixture.assertArrayEqual()
TestFixture.assertArrayNear()
TestFixture.assertArrayNotEqual()
AxisymmPatchTest
AxisymmPatchTest._classSetupFailed
AxisymmPatchTest._class_cleanups
AxisymmPatchTest.setUp()
AxisymmPatchTest.test_axisymmetric_gradient()
AxisymmPatchTest.test_dirichlet_patch_test()
DofManagerTest
DofManagerTest._classSetupFailed
DofManagerTest._class_cleanups
DofManagerTest.setUp()
DofManagerTest.test_get_bc_size()
DofManagerTest.test_get_unknown_size()
EquationSolverFixture
EquationSolverFixture._classSetupFailed
EquationSolverFixture._class_cleanups
EquationSolverFixture.setUp()
EquationSolverFixture.test_trust_region_equation_solver()
EquationSolverFixture.test_trust_region_incremental_optimizer()
ParameterizationTestSuite
TestFunctionSpaceFixture
TestFunctionSpaceMultiQuadPointFixture
TestFunctionSpaceMultiQuadPointFixture._classSetupFailed
TestFunctionSpaceMultiQuadPointFixture._class_cleanups
TestFunctionSpaceMultiQuadPointFixture.setUp()
TestFunctionSpaceMultiQuadPointFixture.test_element_volume_multi_point_quadrature()
TestFunctionSpaceMultiQuadPointFixture.test_integrate_constant_field_multi_point_quadrature()
TestFunctionSpaceSingleQuadPointFixture
TestFunctionSpaceSingleQuadPointFixture._classSetupFailed
TestFunctionSpaceSingleQuadPointFixture._class_cleanups
TestFunctionSpaceSingleQuadPointFixture.setUp()
TestFunctionSpaceSingleQuadPointFixture.test_element_volume_single_point_quadrature()
TestFunctionSpaceSingleQuadPointFixture.test_integrate_constant_field_single_point_quadrature()
TestBubbleInterpolants
TestBubbleInterpolants._classSetupFailed
TestBubbleInterpolants._class_cleanups
TestBubbleInterpolants.no_test_plot_shape_functions()
TestBubbleInterpolants.setUp()
TestBubbleInterpolants.test_bubble_grad_interpolation()
TestInterpolants
TestInterpolants._classSetupFailed
TestInterpolants._class_cleanups
TestInterpolants.no_test_plot_high_order_nodes()
TestInterpolants.setUp()
TestInterpolants.test_1D_element_element_topological_nodesets()
TestJaxConfiguration
TestJaxConfiguration._classSetupFailed
TestJaxConfiguration._class_cleanups
TestJaxConfiguration.test_debug_infs_is_off()
TestJaxConfiguration.test_debug_nans_is_off()
TestJaxConfiguration.test_double_precision_mode_is_on()
TestLinAlg
TestLinAlg._classSetupFailed
TestLinAlg._class_cleanups
TestLinAlg.setUp()
TestLinAlg.test_logm_iss_derivatives_on_double_degenerate_eigenvalues()
TestLinAlg.test_logm_iss_derivatives_on_triple_degenerate_eigenvalues()
TestMathInnerProduct
TestMathInnerProduct._classSetupFailed
TestMathInnerProduct._class_cleanups
TestMathInnerProduct.setUp()
TestMathInnerProduct.test_dot2_on_ill_conditioned_inner_product()
TestMathInnerProduct.test_grad_on_dot2_works()
TestMathSum
TestMathSum._classSetupFailed
TestMathSum._class_cleanups
TestMathSum.setUp()
TestMathSum.test_grad_on_sum2_works()
TestMathSum.test_numpy_sum_fails_badly_on_ill_conditioned_sum()
MechanicsFunctionsFixture
MechanicsFunctionsFixture._classSetupFailed
MechanicsFunctionsFixture._class_cleanups
MechanicsFunctionsFixture.setUp()
MechanicsFunctionsFixture.test_internal_variables_initialization_on_multi_block()
MechanicsFunctionsFixture.test_internal_variables_update_on_multi_block()
TestSingleMeshFixture
TestSingleMeshFixture._classSetupFailed
TestSingleMeshFixture._class_cleanups
TestSingleMeshFixture.setUp()
TestSingleMeshFixture.test_conversion_to_quadratic_mesh_is_valid()
TestSingleMeshFixture.test_create_nodesets_from_sidesets()
TestMinimizeScalarFixture
TestMinimizeScalarFixture._classSetupFailed
TestMinimizeScalarFixture._class_cleanups
TestMinimizeScalarFixture.notest_grad()
TestMinimizeScalarFixture.notest_jit()
TestMinimizeScalarFixture.notest_stiff_problem()
DynamicPatchTest
DynamicsFixture
DynamicsFixture._classSetupFailed
DynamicsFixture._class_cleanups
DynamicsFixture.constant_body_force_potential()
DynamicsFixture.create_field()
DynamicsFixture.get_ubcs()
TestObjective
TestObjective._classSetupFailed
TestObjective._class_cleanups
TestObjective.test_param_change()
TestObjective.test_param_change_first_out_of_two()
TestObjective.test_param_change_four_out_of_four()
LinearPatchTestLinearElements
LinearPatchTestQuadraticElements
LinearPatchTestQuadraticElements._classSetupFailed
LinearPatchTestQuadraticElements._class_cleanups
LinearPatchTestQuadraticElements.setUp()
LinearPatchTestQuadraticElements.test_dirichlet_patch_test_with_quadratic_elements()
LinearPatchTestQuadraticElements.test_dirichlet_patch_test_with_quadratic_elements_and_constant_jac_projection()
QuadraticPatchTestQuadraticElements
QuadraticPatchTestQuadraticElements._classSetupFailed
QuadraticPatchTestQuadraticElements._class_cleanups
QuadraticPatchTestQuadraticElements.setUp()
QuadraticPatchTestQuadraticElements.test_dirichlet_patch_test_with_quadratic_elements()
PatchTestQuadraticElements
PatchTestQuadraticElements._classSetupFailed
PatchTestQuadraticElements._class_cleanups
PatchTestQuadraticElements.create_polys()
PatchTestQuadraticElements.setUp()
PatchTestQuadraticElements.test_dirichlet_patch_test_with_quadratic_elements()
TestQuadratureRules
TestQuadratureRules._classSetupFailed
TestQuadratureRules._class_cleanups
TestQuadratureRules.endpoints
TestQuadratureRules.max_degree_1D
TestQuadratureRules.max_degree_2D
TestMeshReadData
TestMeshReadPropertiesTest
TestMeshReadPropertiesTest._classSetupFailed
TestMeshReadPropertiesTest._class_cleanups
TestMeshReadPropertiesTest.setUp()
TestMeshReadPropertiesTest.test_bad_property_names()
TestMeshReadPropertiesTest.test_property_mins_and_maxs()
TestMeshReadData
TestMeshReadPatchTest
TestMeshReadPatchTest._classSetupFailed
TestMeshReadPatchTest._class_cleanups
TestMeshReadPatchTest.setUp()
TestMeshReadPatchTest.test_dirichlet_patch_test()
TestMeshReadPatchTest.test_neumann_patch_test()
ScalarRootFindTestFixture
ScalarRootFindTestFixture._classSetupFailed
ScalarRootFindTestFixture._class_cleanups
ScalarRootFindTestFixture.setUp()
ScalarRootFindTestFixture.test_find_root()
ScalarRootFindTestFixture.test_find_root_converges_on_hard_function()
TestSmoothFunctions
TestSmoothFunctions._classSetupFailed
TestSmoothFunctions._class_cleanups
TestSmoothFunctions.test_inf_grad_min()
TestSmoothFunctions.test_inf_min()
TestSmoothFunctions.test_min()
SparsePatchFixture
SparsePatchFixture._classSetupFailed
SparsePatchFixture._class_cleanups
SparsePatchFixture.setUp()
SparsePatchFixture.test_sparse_matrix_patch_test_dirichlet_BC()
SparsePatchFixture.test_sparse_matrix_patch_test_noBC()
SparseCholeskyFixture
SparseCholeskyFixture._classSetupFailed
SparseCholeskyFixture._class_cleanups
SparseCholeskyFixture.precond_update_func()
SparseCholeskyFixture.setUp()
SparseCholeskyFixture.test_diagonal_backup_preconditioner()
TestSingleMeshFixture
TestSingleMeshFixture._classSetupFailed
TestSingleMeshFixture._class_cleanups
TestSingleMeshFixture.disable_test_edge_conn()
TestSingleMeshFixture.setUp()
TestSingleMeshFixture.test_integrate_function_on_surface_that_uses_coords_and_normal()
TensorMathFixture
TensorMathFixture._classSetupFailed
TensorMathFixture._class_cleanups
TensorMathFixture.setUp()
TensorMathFixture.test_determinant()
TensorMathFixture.test_determinant_precision()
TractionPatch
TractionPatch._classSetupFailed
TractionPatch._class_cleanups
TractionPatch.setUp()
TractionPatch.test_neumann_patch_test_with_quadratic_elements()
TRSPGCauchyPointFixture
TRSPGCauchyPointFixture._classSetupFailed
TRSPGCauchyPointFixture._class_cleanups
TRSPGCauchyPointFixture.no_test_trust_region_equation_solver()
TRSPGCauchyPointFixture.setUp()
TRSPGCauchyPointFixture.test_cauchy_point_obeys_constraints()
TestProjectionOnBoundary
TestSubproblemSolveFixture
TestTrustRegionSPGFixture
TestTrustRegionSPGRosenbrock
TestTrustRegionSPGRosenbrock._classSetupFailed
TestTrustRegionSPGRosenbrock._class_cleanups
TestTrustRegionSPGRosenbrock.no_test_hessian()
TestTrustRegionSPGRosenbrock.no_test_steihaug_on_rosenbrock()
TestTrustRegionSPGRosenbrock.setUp()
TestVTKWriter
TestVTKWriter._classSetupFailed
TestVTKWriter._class_cleanups
TestVTKWriter.baseFileName
TestVTKWriter.setUp()
TestVTKWriter.tearDown()
TestVTKWriterHigherOrder
TestVTKWriterHigherOrder._classSetupFailed
TestVTKWriterHigherOrder._class_cleanups
TestVTKWriterHigherOrder.baseFileName
TestVTKWriterHigherOrder.make_high_order_writer_with_fields()
TestVTKWriterHigherOrder.setUp()
TestVolumeAverage
TestVolumeAverage._classSetupFailed
TestVolumeAverage._class_cleanups
TestVolumeAverage.setUp()
TestVolumeAverage.test_constant_J_projection_exact_for_constant_J_field()
TestVolumeAverage.test_constant_J_projection_inexact_for_linear_J_field()
TestGentMaterial
TestGentMaterial._classSetupFailed
TestGentMaterial._class_cleanups
TestGentMaterial.setUp()
TestGentMaterial.test_correspondence_with_linear_elasticity()
TestGentMaterial.test_finite_extensibility()
PowerLawHardeningTestFixture
PowerLawHardeningTestFixture._classSetupFailed
PowerLawHardeningTestFixture._class_cleanups
PowerLawHardeningTestFixture.setUp()
PowerLawHardeningTestFixture.test_power_law_hardening_slope_is_finite_at_origin()
PowerLawHardeningTestFixture.test_power_law_hardening_yield_strength()
VoceHardeningTestFixture
VoceHardeningTestFixture._classSetupFailed
VoceHardeningTestFixture._class_cleanups
VoceHardeningTestFixture.setUp()
VoceHardeningTestFixture.test_voce_hardening_saturates_to_correct_value()
VoceHardeningTestFixture.test_voce_hardening_yield_strength()
HyperViscoModelFixture
HyperViscoUniaxialStrain
GradOfPlasticityModelFixture
J2UpdateFixture
PlasticityOnMesh
TestLinearElasticMaterial
TestLinearElasticMaterial._classSetupFailed
TestLinearElasticMaterial._class_cleanups
TestLinearElasticMaterial.setUp()
TestLinearElasticMaterial.test_finite_deformation_frame_indifference()
TestLinearElasticMaterial.test_internal_state_update()
MaterialUniaxialSimulatorFixture
HyperViscoModelFixture
HyperViscoUniaxialStrain
RateSensitivityFixture
RateSentivityInsideJ2
Bases: TestFixture
Bases: TestFixture
Bases: TestFixture
Bases: TestFixture
Bases: HyperViscoModelFixture
Bases: TestFixture
Bases: TestFixture
Bases: TestFixture
Bases: MeshFixture
Bases: TestFixture
Bases: TestFixture