Davout 0.1.1.dev111__tar.gz → 0.1.1.dev113__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. {davout-0.1.1.dev111/source/Davout.egg-info → davout-0.1.1.dev113}/PKG-INFO +1 -1
  2. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/pyproject.toml +1 -1
  3. davout-0.1.1.dev113/source/Davout/GraphUtilities/aa_tests/cauchy_tetrahedron.py +38 -0
  4. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/paraview_tools.py +3 -2
  5. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/plotting_tools.py +3 -2
  6. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/tool_box/arrows_lines_tools.py +17 -0
  7. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/tool_box/box_tools.py +4 -2
  8. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/tool_box/curves_setter.py +45 -3
  9. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/tool_box/paraview_scripts.py +104 -66
  10. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/LaTeXUtilities/LaTeXUtilities.sty +202 -4
  11. {davout-0.1.1.dev111 → davout-0.1.1.dev113/source/Davout.egg-info}/PKG-INFO +1 -1
  12. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout.egg-info/SOURCES.txt +1 -0
  13. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/LICENSE +0 -0
  14. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/README.md +0 -0
  15. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/setup.cfg +0 -0
  16. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/setup.py +0 -0
  17. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/__init__.py +0 -0
  18. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/RVEs/__init__.py +0 -0
  19. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/RVEs/non_transfinite/RVE_artery.py +0 -0
  20. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/RVEs/non_transfinite/RVE_matrix_with_fiber.py +0 -0
  21. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/RVEs/non_transfinite/__init__.py +0 -0
  22. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/RVEs/non_transfinite/elastin_fiber_creator.py +0 -0
  23. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/RVEs/transfinite/RVE_artery_transfinite.py +0 -0
  24. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/RVEs/transfinite/RVE_matrix_with_fiber_transfinite.py +0 -0
  25. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/RVEs/transfinite/__init__.py +0 -0
  26. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/RVEs/transfinite/elastin_fiber_creator.py +0 -0
  27. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/__init__.py +0 -0
  28. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/artery/artery_macroscale.py +0 -0
  29. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/artery/artery_macroscale_ellipsoid.py +0 -0
  30. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/micropolar_meshes/__init__.py +0 -0
  31. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/micropolar_meshes/beam_micropolar_case_1.py +0 -0
  32. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/periodic_meshes/__init__.py +0 -0
  33. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/periodic_meshes/artery_parameters.py +0 -0
  34. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/periodic_meshes/fiber_matrix_parameters.py +0 -0
  35. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/periodic_meshes/periodic_structure.py +0 -0
  36. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/solids/__init__.py +0 -0
  37. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/solids/intervertebral_disc.py +0 -0
  38. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/aa_tests/solids/whole_ensemble_of_geometries.py +0 -0
  39. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/solids/__init__.py +0 -0
  40. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/solids/cuboid_cylinders.py +0 -0
  41. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/solids/cuboid_ellipsoids.py +0 -0
  42. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/solids/cuboid_generator.py +0 -0
  43. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/solids/cuboid_helicoids.py +0 -0
  44. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/solids/cuboid_prisms.py +0 -0
  45. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/tool_box/__init__.py +0 -0
  46. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/tool_box/geometric_tools.py +0 -0
  47. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/tool_box/mesh_data_retriever.py +0 -0
  48. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/tool_box/meshing_tools.py +0 -0
  49. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/tool_box/region_finder.py +0 -0
  50. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/CuboidGmsh/tool_box/verification_tools.py +0 -0
  51. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/PINNs/Physics/__init__.py +0 -0
  52. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/PINNs/Physics/elasticity_equation.py +0 -0
  53. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/PINNs/__init__.py +0 -0
  54. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/__init__.py +0 -0
  55. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/aa_tests/heat_equation.py +0 -0
  56. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/aa_tests/tests_tool_box/test_ANN_optimization.py +0 -0
  57. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/aa_tests/tests_tool_box/test_ANN_tools.py +0 -0
  58. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/aa_tests/tests_tool_box/test_convex_and_partially_convex_input_NNs.py +0 -0
  59. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/aa_tests/tests_tool_box/test_math_tools.py +0 -0
  60. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/aa_tests/tests_tool_box/test_tensor_tools.py +0 -0
  61. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/custom_architectures/__init__.py +0 -0
  62. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/custom_architectures/convexity_concerned_NNs.py +0 -0
  63. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/custom_architectures/generic_feed_forward.py +0 -0
  64. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/tool_box/ANN_tools.py +0 -0
  65. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/tool_box/__init__.py +0 -0
  66. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/tool_box/activation_function_utilities.py +0 -0
  67. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/tool_box/custom_activation_functions.py +0 -0
  68. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/tool_box/differentiation_tools.py +0 -0
  69. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/tool_box/loss_assembler_classes.py +0 -0
  70. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/tool_box/loss_tools.py +0 -0
  71. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/tool_box/math_tools.py +0 -0
  72. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/tool_box/numerical_tools.py +0 -0
  73. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/tool_box/parameters_tools.py +0 -0
  74. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/tool_box/tensor_tools.py +0 -0
  75. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/DeepMech/tool_box/training_tools.py +0 -0
  76. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/__init__.py +0 -0
  77. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/aa_tests/REPL_experiments.py +0 -0
  78. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/aa_tests/__init__.py +0 -0
  79. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/aa_tests/optimization/__init__.py +0 -0
  80. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/aa_tests/optimization/tests_optimization_methods.py +0 -0
  81. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/aa_tests/tests_batching.py +0 -0
  82. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/aa_tests/tests_finite_elements.py +0 -0
  83. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/aa_tests/tests_loss_function.py +0 -0
  84. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/aa_tests/tests_physics.py +0 -0
  85. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/aa_tests/unidimensional/__init__.py +0 -0
  86. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/aa_tests/unidimensional/bar_fea.py +0 -0
  87. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/aa_tests/unidimensional/hyperelastic_1D_energies.py +0 -0
  88. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/aa_tests/unidimensional/variational_tools.py +0 -0
  89. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/assembly/__init__.py +0 -0
  90. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/assembly/body_forces_work.py +0 -0
  91. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/assembly/dirichlet_boundary_conditions_enforcer.py +0 -0
  92. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/assembly/hyperelastic_internal_work.py +0 -0
  93. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/assembly/surface_forces_work.py +0 -0
  94. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/constitutive_models/__init__.py +0 -0
  95. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/constitutive_models/hyperelastic_isotropic_models.py +0 -0
  96. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/finite_elements/__init__.py +0 -0
  97. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/finite_elements/elements_manager.py +0 -0
  98. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/finite_elements/finite_element_dispatcher.py +0 -0
  99. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/finite_elements/surface_elements/__init__.py +0 -0
  100. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/finite_elements/surface_elements/triangles.py +0 -0
  101. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/finite_elements/volume_elements/__init__.py +0 -0
  102. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/finite_elements/volume_elements/tetrahedrons.py +0 -0
  103. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/optimization/__init__.py +0 -0
  104. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/optimization/conditioning_matrices.py +0 -0
  105. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/optimization/loss_functions.py +0 -0
  106. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/optimization/neural_network_assembler.py +0 -0
  107. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/optimization/objective_function.py +0 -0
  108. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/physics/compressible_cauchy_hyperelasticy.py +0 -0
  109. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/tool_box/__init__.py +0 -0
  110. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/tool_box/constitutive_tools.py +0 -0
  111. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/tool_box/dirichlet_loading_tools.py +0 -0
  112. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/tool_box/math_tools.py +0 -0
  113. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/tool_box/mesh_info_tools.py +0 -0
  114. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/tool_box/mesh_tools.py +0 -0
  115. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/tool_box/neumann_loading_tools.py +0 -0
  116. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/tool_box/node_ordering.py +0 -0
  117. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/tool_box/optimization_tools.py +0 -0
  118. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/tool_box/parametric_curves_tools.py +0 -0
  119. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/tool_box/sensitivity_tools.py +0 -0
  120. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/FENN/tool_box/tensorflow_utilities.py +0 -0
  121. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/__init__.py +0 -0
  122. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/aa_tests/__init__.py +0 -0
  123. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/aa_tests/continuum_mechanics_potato_collage.py +0 -0
  124. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/aa_tests/tests_collage_tools.py +0 -0
  125. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/aa_tests/tests_paraview_tools.py +0 -0
  126. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/aa_tests/tests_plotting_tools.py +0 -0
  127. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/collage_tools.py +0 -0
  128. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/tool_box/__init__.py +0 -0
  129. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/tool_box/box_and_markers_classes.py +0 -0
  130. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/tool_box/collage_classes.py +0 -0
  131. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/tool_box/image_tools.py +0 -0
  132. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/tool_box/interactivity_tools.py +0 -0
  133. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/tool_box/perspective_tools.py +0 -0
  134. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/GraphUtilities/tool_box/text_excerpt_tools.py +0 -0
  135. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/LaTeXUtilities/__init__.py +0 -0
  136. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/__init__.py +0 -0
  137. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/heat_transfer/heat_box.py +0 -0
  138. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/beam_with_fibers.py +0 -0
  139. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/box_with_young_modulus_field.py +0 -0
  140. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/disc_HGO.py +0 -0
  141. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/disc_neo_hookean.py +0 -0
  142. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/disc_neo_hookean_incompressible.py +0 -0
  143. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/hyperelastic_box.py +0 -0
  144. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/incompressible_hyperelastic_box.py +0 -0
  145. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/intervertebral_disc/cylindrical_coordinates_material_property.py +0 -0
  146. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/intervertebral_disc/disc_HGO.py +0 -0
  147. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/intervertebral_disc/local_coordinate_system_generation.py +0 -0
  148. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/parallel_hyperelastic_box.py +0 -0
  149. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/parallel_incompressible_box.py +0 -0
  150. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/read_dofs_in_volume.py +0 -0
  151. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/young_modulus_field.py +0 -0
  152. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/bending_case/beam_with_fibers_macroscale.py +0 -0
  153. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/bending_case/beam_with_fibers_microscale.py +0 -0
  154. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/deformation_laboratory/microscale_deformation_lab.py +0 -0
  155. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/disc_micropolar_neo_hookean.py +0 -0
  156. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/old_tests/Bauer_et_al/beam.py +0 -0
  157. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/old_tests/Bauer_et_al/beam_neo_hookean.py +0 -0
  158. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/old_tests/Bauer_et_al/beam_neo_hookean_pure_dolfin.py +0 -0
  159. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/old_tests/Bauer_et_al/beam_neo_hookean_pure_dolfin_old.py +0 -0
  160. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/old_tests/Suh_et_al/suh_implementation.py +0 -0
  161. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/old_tests/micropolar_with_homogenization.py +0 -0
  162. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/old_tests/micropolar_with_homogenization_original.py +0 -0
  163. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/old_tests/tools_homogenization.py +0 -0
  164. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/old_tests/tools_io.py +0 -0
  165. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/stress_plots.py +0 -0
  166. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/tangent_operators/numerical_differentiation.py +0 -0
  167. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/tangent_operators/numerical_differentiation_second_elasticity_tensor.py +0 -0
  168. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/tangent_operators/tangent_operator_plotter.py +0 -0
  169. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/torsion_case/beam_with_fibers_macroscale.py +0 -0
  170. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/torsion_case/beam_with_fibers_microscale.py +0 -0
  171. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/traction_case/beam_with_fibers_macroscale.py +0 -0
  172. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/traction_case/beam_with_fibers_microscale.py +0 -0
  173. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/curve_fitting.py +0 -0
  174. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/cylindrical_coordinates_field.py +0 -0
  175. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/cylindrical_coordinates_material_property.py +0 -0
  176. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/elasticity_tensor.py +0 -0
  177. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/incompressible.py +0 -0
  178. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/linear_expression_test.py +0 -0
  179. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/petsc_2D.py +0 -0
  180. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/test_periodic.py +0 -0
  181. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/test_periodic_class.py +0 -0
  182. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/test_shifted_field.py +0 -0
  183. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/teste_afim.py +0 -0
  184. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/working_example_dictionaries.py +0 -0
  185. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/multiscale/hyperelasticity/beam_with_fibers_microscale.py +0 -0
  186. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/physics_prototypes/compressible_hyperelasticity.py +0 -0
  187. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/physics_prototypes/incompressible_hyperelasticity.py +0 -0
  188. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/test_meshes/beam_gmsh.py +0 -0
  189. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/test_meshes_paths.py +0 -0
  190. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/aa_tests_and_examples/various_physics_tests.py +0 -0
  191. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/constitutive_models/__init__.py +0 -0
  192. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/constitutive_models/heat_transfer/isotropic_heat_conduction.py +0 -0
  193. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/constitutive_models/hyperelasticity/__init__.py +0 -0
  194. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/constitutive_models/hyperelasticity/anisotropic_hyperelasticity.py +0 -0
  195. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/constitutive_models/hyperelasticity/isotropic_hyperelasticity.py +0 -0
  196. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/constitutive_models/hyperelasticity/micropolar_hyperelasticity.py +0 -0
  197. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/multiscale/__init__.py +0 -0
  198. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/multiscale/multiscale_boundary_conditions/__init__.py +0 -0
  199. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/multiscale/multiscale_boundary_conditions/multiscale_classes.py +0 -0
  200. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/multiscale/multiscale_boundary_conditions/multiscale_expressions.py +0 -0
  201. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/multiscale/multiscale_hyperelasticity.py +0 -0
  202. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/multiscale/multiscale_micropolar.py +0 -0
  203. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/physics/__init__.py +0 -0
  204. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/physics/hyperelastic_cauchy_continuum.py +0 -0
  205. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/physics/hyperelastic_incompressible_cauchy_continuum.py +0 -0
  206. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/physics/hyperelastic_micropolar_continuum.py +0 -0
  207. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/physics/steady_state_heat_transfer.py +0 -0
  208. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/post_processes/__init__.py +0 -0
  209. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/post_processes/post_processes_classes.py +0 -0
  210. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/post_processes/post_processes_functions.py +0 -0
  211. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/__init__.py +0 -0
  212. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/body_forces_loading_tools.py +0 -0
  213. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/boundary_conditions_tools.py +0 -0
  214. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/constitutive_tools.py +0 -0
  215. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/dirichlet_load_tools.py +0 -0
  216. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/expressions_tools.py +0 -0
  217. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/functional_tools.py +0 -0
  218. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/homogenization_tools.py +0 -0
  219. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/mesh_handling_tools.py +0 -0
  220. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/multiscale_boundary_conditions_tools.py +0 -0
  221. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/numerical_tools.py +0 -0
  222. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/parallelization_tools.py +0 -0
  223. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/post_processing_tools.py +0 -0
  224. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/pseudotime_stepping_tools.py +0 -0
  225. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/read_write_tools.py +0 -0
  226. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/surface_loading_tools.py +0 -0
  227. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/tensor_tools.py +0 -0
  228. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/MultiMech/tool_box/variational_tools.py +0 -0
  229. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/__init__.py +0 -0
  230. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/aa_tests/__init__.py +0 -0
  231. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/aa_tests/tests_template.py +0 -0
  232. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/coordinate_systems_tools.py +0 -0
  233. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/dictionary_tools.py +0 -0
  234. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/file_handling_tools.py +0 -0
  235. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/fonts/CMU_Serif_Roman.ttf +0 -0
  236. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/function_tools.py +0 -0
  237. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/interpolation_tools.py +0 -0
  238. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/math_experiments.py +0 -0
  239. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/numpy_tools.py +0 -0
  240. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/package_tools.py +0 -0
  241. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/path_tools.py +0 -0
  242. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/programming_tools.py +0 -0
  243. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/recursion_tools.py +0 -0
  244. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/stochastic_tools.py +0 -0
  245. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/string_tools.py +0 -0
  246. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/tensor_and_math_tools.py +0 -0
  247. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/PythonicUtilities/testing_tools.py +0 -0
  248. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout/__init__.py +0 -0
  249. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout.egg-info/dependency_links.txt +0 -0
  250. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout.egg-info/requires.txt +0 -0
  251. {davout-0.1.1.dev111 → davout-0.1.1.dev113}/source/Davout.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Davout
3
- Version: 0.1.1.dev111
3
+ Version: 0.1.1.dev113
4
4
  Summary: Scientific computing utilities combining FEM, ANN and tooling
5
5
  Author: Matheus Janczkowski
6
6
  Author-email: Matheus Janczkowski <matheusj2009@hotmail.com>
@@ -63,7 +63,7 @@ build-backend = "setuptools.build_meta"
63
63
 
64
64
  [project]
65
65
  name = "Davout"
66
- version = "0.1.1.dev111"
66
+ version = "0.1.1.dev113"
67
67
  description = "Scientific computing utilities combining FEM, ANN and tooling"
68
68
  readme = "README.md"
69
69
  authors = [
@@ -0,0 +1,38 @@
1
+ # Figure for the Cauchy tetrahedron
2
+
3
+ from ...GraphUtilities.collage_tools import create_box_collage
4
+
5
+ from ...PythonicUtilities.path_tools import get_parent_path_of_file
6
+
7
+ create_box_collage("cauchy_tetrahedron.pdf", input_path=
8
+ get_parent_path_of_file(),
9
+
10
+ boxes_list=[{"contour color": "black", "fill color": "grey 2", "contour"+
11
+ " thickness": 0.2, "position": [64.0, 101.0], "width": 61.0, "height": 27.0,
12
+ "contour style": "solid", "origin point": "bottom-left"},
13
+ {"contour color": "black", "fill color": "grey 1", "contour"+
14
+ " thickness": 0.2, "position": [65.0, 102.0], "width": 29.0, "height": 25.0,
15
+ "contour style": "solid", "origin point": "bottom-left"},
16
+ {"contour color": "black", "fill color": "grey 1", "contour"+
17
+ " thickness": 0.2, "position": [95.0, 102.0], "width": 29.0, "height": 25.0,
18
+ "contour style": "solid", "origin point": "bottom-left"}],
19
+
20
+ arrows_and_lines_list=[],
21
+
22
+ #vanishing_points_list=[
23
+ #{"coordinates": [105.0, -50.0], "rays central direction": [0.0, 1.0],
24
+ #"angle amplitude": 10.0, "number of rays": 15, "color": "black",
25
+ #"thickness": 0.4},
26
+ #{"coordinates": [320.0, 140.0], "rays central direction": [-1.0, -0.1],
27
+ #"angle amplitude": 10.0, "number of rays": 15, "color": "black",
28
+ #"thickness": 0.4},
29
+ #{"coordinates": [-110.0, 140.0], "rays central direction": [1.0, -0.1],
30
+ #"angle amplitude": 10.0, "number of rays": 15, "color": "black",
31
+ #"thickness": 0.4}],
32
+
33
+ verbose=True, no_padding=True, add_overlaying_grid=False, dpi=600,
34
+ grid_annotation_length=10, save_lists_to_txt=True,
35
+ interactive_preview=True, size_template="A4",
36
+ export_selection={
37
+ "origin point": "bottom-left", "position": [64.0, 101.0], "width": 61.0,
38
+ "height": 27.0})
@@ -30,7 +30,7 @@ set_camera_interactively=None, background_color=None,
30
30
  legend_bar_font_color=None, color_bar_min_value=None,
31
31
  color_bar_max_value=None, read_camera_settings_dictionary=None,
32
32
  clip_marker_size=None, legend_bar_visibility=None, clip_marker_color=
33
- None):
33
+ None, list_of_markers=None):
34
34
 
35
35
  # Gets the path to the module where function LOCAL_frozenSnapshots is
36
36
 
@@ -67,7 +67,8 @@ None):
67
67
  color_bar_max_value, "read_camera_settings_dictionary":
68
68
  read_camera_settings_dictionary, "clip_marker_size":
69
69
  clip_marker_size, "legend_bar_visibility": legend_bar_visibility,
70
- "clip_marker_color": clip_marker_color},
70
+ "clip_marker_color": clip_marker_color, "list_of_markers":
71
+ list_of_markers},
71
72
  execution_rootPath=execution_rootPath, run_as_module=False,
72
73
  LIBGL_ALWAYS_SOFTWARE=LIBGL_ALWAYS_SOFTWARE,
73
74
  extra_execution_arguments=extra_execution_arguments)
@@ -67,7 +67,7 @@ color_barIntegerTicks=False, color_barNumberOfTicks=5,
67
67
  color_barIncludeMinMaxTicks=False, x_ticksLabels=None, y_ticksLabels=
68
68
  None, ticks_fontsize=12, label_fontsize=14, legend_fontsize=12,
69
69
  highlight_pointsColors='black', parent_path=None, error_bar=None,
70
- plot_object=None, verbose=False, latex_package="amsmath"):
70
+ plot_object=None, verbose=False, latex_package="amsmath", dpi=500):
71
71
 
72
72
  """
73
73
  You can provide an array of data, where the first column will be in
@@ -1638,7 +1638,8 @@ plot_object=None, verbose=False, latex_package="amsmath"):
1638
1638
 
1639
1639
  try:
1640
1640
 
1641
- plt.savefig(file_name, bbox_inches="tight", pad_inches=0)
1641
+ plt.savefig(file_name, bbox_inches="tight", pad_inches=0,
1642
+ dpi=dpi)
1642
1643
 
1643
1644
  except Exception as e:
1644
1645
 
@@ -88,6 +88,15 @@ depth_order, verbose=False):
88
88
 
89
89
  arrow_color = colors_class(input_dictionary["color"])
90
90
 
91
+ # Gets the transparency if it is asked for
92
+
93
+ if ("contour transparency" in input_dictionary) and len(
94
+ arrow_color)<4:
95
+
96
+ # Adds the transparency level to the fourth channel of RGBA
97
+
98
+ arrow_color.append(input_dictionary["contour transparency"])
99
+
91
100
  # Gets the start point
92
101
 
93
102
  start_point = None
@@ -465,6 +474,14 @@ depth_order, verbose=False):
465
474
  fill_path_color = colors_class(input_dictionary["fill path"+
466
475
  " with color"])
467
476
 
477
+ # If the fill color still has 3 values add the transparency
478
+
479
+ if ("background transparency" in input_dictionary) and len(
480
+ fill_path_color)<4:
481
+
482
+ fill_path_color.append(input_dictionary["background tr"+
483
+ "ansparency"])
484
+
468
485
  # Adds the path to the canvas as a patch
469
486
 
470
487
  general_axes.add_patch(PathPatch(arrow_stem_path, facecolor=
@@ -129,7 +129,8 @@ alignments_class, marker_box_class, depth_order, verbose=False):
129
129
 
130
130
  # Gets the transparency if it is
131
131
 
132
- if "contour transparency" in input_dictionary:
132
+ if ("contour transparency" in input_dictionary) and len(
133
+ contour_color)<4:
133
134
 
134
135
  # Adds a 0.0 to the fourth channel of RGBA
135
136
 
@@ -137,7 +138,8 @@ alignments_class, marker_box_class, depth_order, verbose=False):
137
138
 
138
139
  # Gets the transparency if it is for the background only
139
140
 
140
- if "background transparency" in input_dictionary:
141
+ if ("background transparency" in input_dictionary) and len(
142
+ contour_color)<4:
141
143
 
142
144
  # Adds a 0.0 to the fourth channel of RGBA
143
145
 
@@ -150,12 +150,26 @@ colors_class, marker_box_class, alignment_class):
150
150
  "ress enter: ", reviewer_function=colors_class.verify_color_name,
151
151
  default_value="transparent", necessary_type=str)
152
152
 
153
+ fill_transparency = input_repeater("\nType a value between 0.0"+
154
+ " and 1.0 for the transparency (opacity) of the color of the f"+
155
+ "illing, then press enter: (the default value is 1.0, i.e. com"+
156
+ "pletely opaque)", reviewer_function=None, default_value=1.0,
157
+ necessary_type=float)
158
+
159
+ contour_transparency = input_repeater("\nType a value between "+
160
+ "0.0 and 1.0 for the transparency (opacity) of the color of th"+
161
+ "e contour, then press enter: (the default value is 1.0, i.e. "+
162
+ "completely opaque)", reviewer_function=None, default_value=1.0,
163
+ necessary_type=float)
164
+
153
165
  # Creates the dictionary to create this spline
154
166
 
155
167
  curve_dictionary = {"thickness": thickness, "arrow style": "no"+
156
168
  " arrow", "line style": line_style, "color": color, "spline po"+
157
169
  "ints": points_list_copy, "closed path": True, "fill path with"+
158
- " color": fill_color}
170
+ " color": fill_color, "contour transparency":
171
+ contour_transparency, "background transparency":
172
+ fill_transparency}
159
173
 
160
174
  ####################################################################
161
175
  # Arrow with spline stem #
@@ -245,12 +259,26 @@ colors_class, marker_box_class, alignment_class):
245
259
  "ress enter: ", reviewer_function=colors_class.verify_color_name,
246
260
  default_value="transparent", necessary_type=str)
247
261
 
262
+ fill_transparency = input_repeater("\nType a value between 0.0"+
263
+ " and 1.0 for the transparency (opacity) of the color of the f"+
264
+ "illing, then press enter: (the default value is 1.0, i.e. com"+
265
+ "pletely opaque)", reviewer_function=None, default_value=1.0,
266
+ necessary_type=float)
267
+
268
+ contour_transparency = input_repeater("\nType a value between "+
269
+ "0.0 and 1.0 for the transparency (opacity) of the color of th"+
270
+ "e contour, then press enter: (the default value is 1.0, i.e. "+
271
+ "completely opaque)", reviewer_function=None, default_value=1.0,
272
+ necessary_type=float)
273
+
248
274
  # Creates the dictionary to create this polygonal curve
249
275
 
250
276
  curve_dictionary = {"thickness": thickness, "arrow style": "no"+
251
277
  " arrow", "line style": line_style, "color": color, "polygonal"+
252
278
  " points": points_list_copy, "closed path": True, "fill path w"+
253
- "ith color": fill_color}
279
+ "ith color": fill_color, "contour transparency":
280
+ contour_transparency, "background transparency":
281
+ fill_transparency}
254
282
 
255
283
  ####################################################################
256
284
  # Arrow with polygonal stem #
@@ -333,6 +361,18 @@ colors_class, marker_box_class, alignment_class):
333
361
  "ress enter: ", reviewer_function=colors_class.verify_color_name,
334
362
  default_value="transparent", necessary_type=str)
335
363
 
364
+ fill_transparency = input_repeater("\nType a value between 0.0"+
365
+ " and 1.0 for the transparency (opacity) of the color of the f"+
366
+ "illing, then press enter: (the default value is 1.0, i.e. com"+
367
+ "pletely opaque)", reviewer_function=None, default_value=1.0,
368
+ necessary_type=float)
369
+
370
+ contour_transparency = input_repeater("\nType a value between "+
371
+ "0.0 and 1.0 for the transparency (opacity) of the color of th"+
372
+ "e contour, then press enter: (the default value is 1.0, i.e. "+
373
+ "completely opaque)", reviewer_function=None, default_value=1.0,
374
+ necessary_type=float)
375
+
336
376
  # If the marker is a polygon, asks for the number of sides
337
377
 
338
378
  number_of_sides = None
@@ -350,7 +390,9 @@ colors_class, marker_box_class, alignment_class):
350
390
  thickness, "contour style": line_style, "contour color": color,
351
391
  "fill color": fill_color, "width": width, "height": height, "p"+
352
392
  "osition": points_list[-1], "origin point": origin_point, "num"+
353
- "ber of sides": number_of_sides}
393
+ "ber of sides": number_of_sides, "contour transparency":
394
+ contour_transparency, "background transparency":
395
+ fill_transparency}
354
396
 
355
397
  ####################################################################
356
398
  # Text excerpts #
@@ -124,7 +124,7 @@ set_camera_interactively=None, background_color=None,
124
124
  legend_bar_font_color=None, color_bar_min_value=None,
125
125
  color_bar_max_value=None, read_camera_settings_dictionary=None,
126
126
  clip_marker_size=None, clip_marker_color=None, legend_bar_visibility=
127
- None):
127
+ None, list_of_markers=None):
128
128
 
129
129
  # Instantiates the class of fonts
130
130
 
@@ -510,70 +510,8 @@ None):
510
510
 
511
511
  # Creates a point to highlight the plane origin point
512
512
 
513
- point = PointSource()
514
-
515
- point.Center = clip_plane_origin
516
-
517
- point.NumberOfPoints = 1
518
-
519
- # Applies a glyph filter to highlight it as a large sphere
520
-
521
- glyph = Glyph(Input=point)
522
-
523
- glyph.GlyphType = 'Sphere'
524
-
525
- # Verifies if the marker size has been given by the user
526
-
527
- if clip_marker_size:
528
-
529
- # Tries to convert the to a float
530
-
531
- try:
532
-
533
- clip_marker_size = float(clip_marker_size)
534
-
535
- except:
536
-
537
- raise ValueError("Could not convert 'clip_marker_size'"+
538
- " to float in 'frozen_snapshots'. The current value is"+
539
- ": "+str(clip_marker_size))
540
-
541
- else:
542
-
543
- # Gets the size from the bounding box
544
-
545
- bounds = active_data.GetDataInformation().GetBounds()
546
-
547
- length = max(bounds[1]-bounds[0], bounds[3]-bounds[2],
548
- bounds[5]-bounds[4])
549
-
550
- clip_marker_size = 0.1*length
551
-
552
- # Adjust the sphere size
553
-
554
- glyph.GlyphType.Radius = clip_marker_size
555
-
556
- # Displays it
557
-
558
- display = Show(glyph, renderView)
559
-
560
- # Verifies if the color of the marker has been given
561
-
562
- if clip_marker_color:
563
-
564
- # Gets the RGB value from the colors class
565
-
566
- clip_marker_color = colors_class(clip_marker_color)
567
-
568
- else:
569
-
570
- # Makes it red per default
571
-
572
- clip_marker_color = [1.0, 0.0, 0.0]
573
-
574
- # Sets the color to the sphere
575
-
576
- display.DiffuseColor = clip_marker_color
513
+ spheric_marker(clip_plane_origin, active_data, renderView,
514
+ colors_class, clip_marker_color, clip_marker_size)
577
515
 
578
516
  ####################################################################
579
517
  # Additive filters #
@@ -640,7 +578,31 @@ None):
640
578
  "omponents": 1, "representation": "Surface", "get scalar bar f"+
641
579
  "rom": False}
642
580
 
643
- #Render()
581
+ # Verifies if a list of point markers to plot has been given
582
+
583
+ if list_of_markers:
584
+
585
+ # Verifies if it is a list
586
+
587
+ if (list_of_markers[0]=="[" and list_of_markers[-1]=="]"):
588
+
589
+ # Converts the argument to a list and sets the parameter
590
+
591
+ list_of_markers = string_tools.string_toList(list_of_markers)
592
+
593
+ else:
594
+
595
+ raise ValueError("'list_of_markers' at 'frozen_snapshots' "+
596
+ "is not a list. However, it must be a list as [[x_marker1,"+
597
+ "y_marker1, z_marker1], [x_marker2, y_marker2, z_marker2],"+
598
+ " ...]; currently, it is: "+str(list_of_markers))
599
+
600
+ # Plots the markers
601
+
602
+ for marker_coordinates in list_of_markers:
603
+
604
+ spheric_marker(marker_coordinates, active_data, renderView,
605
+ colors_class, clip_marker_color, clip_marker_size)
644
606
 
645
607
  # Verifies if the color of the coordinate system triad is given
646
608
 
@@ -1463,6 +1425,82 @@ None):
1463
1425
  print("\nThe attributes of the RenderView are:\n"+str(
1464
1426
  renderView.ListProperties()))
1465
1427
 
1428
+ ########################################################################
1429
+ #
1430
+ ########################################################################
1431
+
1432
+ # Defines a function to plot a sphere as a marker
1433
+
1434
+ def spheric_marker(marker_position, active_data, renderView,
1435
+ colors_class, clip_marker_color, clip_marker_size):
1436
+
1437
+ # Creates a point to highlight the plane origin point
1438
+
1439
+ point = PointSource()
1440
+
1441
+ point.Center = marker_position
1442
+
1443
+ point.NumberOfPoints = 1
1444
+
1445
+ # Applies a glyph filter to highlight it as a large sphere
1446
+
1447
+ glyph = Glyph(Input=point)
1448
+
1449
+ glyph.GlyphType = 'Sphere'
1450
+
1451
+ # Verifies if the marker size has been given by the user
1452
+
1453
+ if clip_marker_size:
1454
+
1455
+ # Tries to convert the to a float
1456
+
1457
+ try:
1458
+
1459
+ clip_marker_size = float(clip_marker_size)
1460
+
1461
+ except:
1462
+
1463
+ raise ValueError("Could not convert 'clip_marker_size'"+
1464
+ " to float in 'frozen_snapshots'. The current value is"+
1465
+ ": "+str(clip_marker_size))
1466
+
1467
+ else:
1468
+
1469
+ # Gets the size from the bounding box
1470
+
1471
+ bounds = active_data.GetDataInformation().GetBounds()
1472
+
1473
+ length = max(bounds[1]-bounds[0], bounds[3]-bounds[2],
1474
+ bounds[5]-bounds[4])
1475
+
1476
+ clip_marker_size = 0.1*length
1477
+
1478
+ # Adjust the sphere size
1479
+
1480
+ glyph.GlyphType.Radius = clip_marker_size
1481
+
1482
+ # Displays it
1483
+
1484
+ display = Show(glyph, renderView)
1485
+
1486
+ # Verifies if the color of the marker has been given
1487
+
1488
+ if clip_marker_color:
1489
+
1490
+ # Gets the RGB value from the colors class
1491
+
1492
+ clip_marker_color = colors_class(clip_marker_color)
1493
+
1494
+ else:
1495
+
1496
+ # Makes it red per default
1497
+
1498
+ clip_marker_color = [1.0, 0.0, 0.0]
1499
+
1500
+ # Sets the color to the sphere
1501
+
1502
+ display.DiffuseColor = clip_marker_color
1503
+
1466
1504
  ########################################################################
1467
1505
  # Functions dispatching #
1468
1506
  ########################################################################