Davout 0.1.1.dev110__tar.gz → 0.1.1.dev112__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.dev110/source/Davout.egg-info → davout-0.1.1.dev112}/PKG-INFO +1 -1
  2. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/pyproject.toml +1 -1
  3. davout-0.1.1.dev112/source/Davout/GraphUtilities/aa_tests/cauchy_tetrahedron.py +38 -0
  4. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/aa_tests/continuum_mechanics_potato_collage.py +15 -15
  5. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/collage_tools.py +42 -14
  6. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/plotting_tools.py +3 -2
  7. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/arrows_lines_tools.py +17 -0
  8. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/box_and_markers_classes.py +13 -17
  9. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/box_tools.py +4 -2
  10. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/curves_setter.py +66 -6
  11. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/interactivity_tools.py +56 -3
  12. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/text_excerpt_tools.py +5 -0
  13. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/LaTeXUtilities/LaTeXUtilities.sty +202 -4
  14. {davout-0.1.1.dev110 → davout-0.1.1.dev112/source/Davout.egg-info}/PKG-INFO +1 -1
  15. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout.egg-info/SOURCES.txt +1 -0
  16. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/LICENSE +0 -0
  17. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/README.md +0 -0
  18. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/setup.cfg +0 -0
  19. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/setup.py +0 -0
  20. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/__init__.py +0 -0
  21. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/__init__.py +0 -0
  22. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/non_transfinite/RVE_artery.py +0 -0
  23. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/non_transfinite/RVE_matrix_with_fiber.py +0 -0
  24. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/non_transfinite/__init__.py +0 -0
  25. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/non_transfinite/elastin_fiber_creator.py +0 -0
  26. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/transfinite/RVE_artery_transfinite.py +0 -0
  27. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/transfinite/RVE_matrix_with_fiber_transfinite.py +0 -0
  28. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/transfinite/__init__.py +0 -0
  29. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/transfinite/elastin_fiber_creator.py +0 -0
  30. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/__init__.py +0 -0
  31. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/artery/artery_macroscale.py +0 -0
  32. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/artery/artery_macroscale_ellipsoid.py +0 -0
  33. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/micropolar_meshes/__init__.py +0 -0
  34. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/micropolar_meshes/beam_micropolar_case_1.py +0 -0
  35. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/periodic_meshes/__init__.py +0 -0
  36. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/periodic_meshes/artery_parameters.py +0 -0
  37. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/periodic_meshes/fiber_matrix_parameters.py +0 -0
  38. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/periodic_meshes/periodic_structure.py +0 -0
  39. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/solids/__init__.py +0 -0
  40. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/solids/intervertebral_disc.py +0 -0
  41. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/solids/whole_ensemble_of_geometries.py +0 -0
  42. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/solids/__init__.py +0 -0
  43. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/solids/cuboid_cylinders.py +0 -0
  44. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/solids/cuboid_ellipsoids.py +0 -0
  45. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/solids/cuboid_generator.py +0 -0
  46. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/solids/cuboid_helicoids.py +0 -0
  47. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/solids/cuboid_prisms.py +0 -0
  48. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/tool_box/__init__.py +0 -0
  49. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/tool_box/geometric_tools.py +0 -0
  50. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/tool_box/mesh_data_retriever.py +0 -0
  51. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/tool_box/meshing_tools.py +0 -0
  52. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/tool_box/region_finder.py +0 -0
  53. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/tool_box/verification_tools.py +0 -0
  54. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/PINNs/Physics/__init__.py +0 -0
  55. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/PINNs/Physics/elasticity_equation.py +0 -0
  56. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/PINNs/__init__.py +0 -0
  57. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/__init__.py +0 -0
  58. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/aa_tests/heat_equation.py +0 -0
  59. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/aa_tests/tests_tool_box/test_ANN_optimization.py +0 -0
  60. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/aa_tests/tests_tool_box/test_ANN_tools.py +0 -0
  61. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/aa_tests/tests_tool_box/test_convex_and_partially_convex_input_NNs.py +0 -0
  62. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/aa_tests/tests_tool_box/test_math_tools.py +0 -0
  63. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/aa_tests/tests_tool_box/test_tensor_tools.py +0 -0
  64. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/custom_architectures/__init__.py +0 -0
  65. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/custom_architectures/convexity_concerned_NNs.py +0 -0
  66. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/custom_architectures/generic_feed_forward.py +0 -0
  67. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/ANN_tools.py +0 -0
  68. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/__init__.py +0 -0
  69. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/activation_function_utilities.py +0 -0
  70. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/custom_activation_functions.py +0 -0
  71. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/differentiation_tools.py +0 -0
  72. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/loss_assembler_classes.py +0 -0
  73. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/loss_tools.py +0 -0
  74. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/math_tools.py +0 -0
  75. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/numerical_tools.py +0 -0
  76. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/parameters_tools.py +0 -0
  77. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/tensor_tools.py +0 -0
  78. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/training_tools.py +0 -0
  79. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/__init__.py +0 -0
  80. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/REPL_experiments.py +0 -0
  81. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/__init__.py +0 -0
  82. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/optimization/__init__.py +0 -0
  83. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/optimization/tests_optimization_methods.py +0 -0
  84. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/tests_batching.py +0 -0
  85. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/tests_finite_elements.py +0 -0
  86. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/tests_loss_function.py +0 -0
  87. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/tests_physics.py +0 -0
  88. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/unidimensional/__init__.py +0 -0
  89. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/unidimensional/bar_fea.py +0 -0
  90. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/unidimensional/hyperelastic_1D_energies.py +0 -0
  91. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/unidimensional/variational_tools.py +0 -0
  92. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/assembly/__init__.py +0 -0
  93. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/assembly/body_forces_work.py +0 -0
  94. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/assembly/dirichlet_boundary_conditions_enforcer.py +0 -0
  95. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/assembly/hyperelastic_internal_work.py +0 -0
  96. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/assembly/surface_forces_work.py +0 -0
  97. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/constitutive_models/__init__.py +0 -0
  98. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/constitutive_models/hyperelastic_isotropic_models.py +0 -0
  99. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/finite_elements/__init__.py +0 -0
  100. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/finite_elements/elements_manager.py +0 -0
  101. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/finite_elements/finite_element_dispatcher.py +0 -0
  102. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/finite_elements/surface_elements/__init__.py +0 -0
  103. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/finite_elements/surface_elements/triangles.py +0 -0
  104. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/finite_elements/volume_elements/__init__.py +0 -0
  105. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/finite_elements/volume_elements/tetrahedrons.py +0 -0
  106. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/optimization/__init__.py +0 -0
  107. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/optimization/conditioning_matrices.py +0 -0
  108. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/optimization/loss_functions.py +0 -0
  109. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/optimization/neural_network_assembler.py +0 -0
  110. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/optimization/objective_function.py +0 -0
  111. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/physics/compressible_cauchy_hyperelasticy.py +0 -0
  112. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/__init__.py +0 -0
  113. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/constitutive_tools.py +0 -0
  114. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/dirichlet_loading_tools.py +0 -0
  115. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/math_tools.py +0 -0
  116. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/mesh_info_tools.py +0 -0
  117. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/mesh_tools.py +0 -0
  118. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/neumann_loading_tools.py +0 -0
  119. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/node_ordering.py +0 -0
  120. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/optimization_tools.py +0 -0
  121. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/parametric_curves_tools.py +0 -0
  122. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/sensitivity_tools.py +0 -0
  123. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/tensorflow_utilities.py +0 -0
  124. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/__init__.py +0 -0
  125. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/aa_tests/__init__.py +0 -0
  126. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/aa_tests/tests_collage_tools.py +0 -0
  127. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/aa_tests/tests_paraview_tools.py +0 -0
  128. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/aa_tests/tests_plotting_tools.py +0 -0
  129. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/paraview_tools.py +0 -0
  130. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/__init__.py +0 -0
  131. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/collage_classes.py +0 -0
  132. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/image_tools.py +0 -0
  133. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/paraview_scripts.py +0 -0
  134. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/perspective_tools.py +0 -0
  135. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/LaTeXUtilities/__init__.py +0 -0
  136. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/__init__.py +0 -0
  137. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/heat_transfer/heat_box.py +0 -0
  138. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/beam_with_fibers.py +0 -0
  139. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/box_with_young_modulus_field.py +0 -0
  140. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/disc_HGO.py +0 -0
  141. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/disc_neo_hookean.py +0 -0
  142. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/disc_neo_hookean_incompressible.py +0 -0
  143. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/hyperelastic_box.py +0 -0
  144. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/incompressible_hyperelastic_box.py +0 -0
  145. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/intervertebral_disc/cylindrical_coordinates_material_property.py +0 -0
  146. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/intervertebral_disc/disc_HGO.py +0 -0
  147. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/intervertebral_disc/local_coordinate_system_generation.py +0 -0
  148. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/parallel_hyperelastic_box.py +0 -0
  149. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/parallel_incompressible_box.py +0 -0
  150. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/read_dofs_in_volume.py +0 -0
  151. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/young_modulus_field.py +0 -0
  152. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/bending_case/beam_with_fibers_macroscale.py +0 -0
  153. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/bending_case/beam_with_fibers_microscale.py +0 -0
  154. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/deformation_laboratory/microscale_deformation_lab.py +0 -0
  155. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/disc_micropolar_neo_hookean.py +0 -0
  156. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/old_tests/Bauer_et_al/beam.py +0 -0
  157. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/old_tests/Bauer_et_al/beam_neo_hookean.py +0 -0
  158. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/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.dev110 → davout-0.1.1.dev112}/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.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/old_tests/Suh_et_al/suh_implementation.py +0 -0
  161. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/old_tests/micropolar_with_homogenization.py +0 -0
  162. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/old_tests/micropolar_with_homogenization_original.py +0 -0
  163. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/old_tests/tools_homogenization.py +0 -0
  164. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/old_tests/tools_io.py +0 -0
  165. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/stress_plots.py +0 -0
  166. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/tangent_operators/numerical_differentiation.py +0 -0
  167. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/tangent_operators/numerical_differentiation_second_elasticity_tensor.py +0 -0
  168. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/tangent_operators/tangent_operator_plotter.py +0 -0
  169. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/torsion_case/beam_with_fibers_macroscale.py +0 -0
  170. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/torsion_case/beam_with_fibers_microscale.py +0 -0
  171. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/traction_case/beam_with_fibers_macroscale.py +0 -0
  172. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/traction_case/beam_with_fibers_microscale.py +0 -0
  173. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/curve_fitting.py +0 -0
  174. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/cylindrical_coordinates_field.py +0 -0
  175. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/cylindrical_coordinates_material_property.py +0 -0
  176. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/elasticity_tensor.py +0 -0
  177. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/incompressible.py +0 -0
  178. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/linear_expression_test.py +0 -0
  179. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/petsc_2D.py +0 -0
  180. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/test_periodic.py +0 -0
  181. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/test_periodic_class.py +0 -0
  182. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/test_shifted_field.py +0 -0
  183. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/teste_afim.py +0 -0
  184. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/minimal_working_examples_forum/working_example_dictionaries.py +0 -0
  185. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/multiscale/hyperelasticity/beam_with_fibers_microscale.py +0 -0
  186. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/physics_prototypes/compressible_hyperelasticity.py +0 -0
  187. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/physics_prototypes/incompressible_hyperelasticity.py +0 -0
  188. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/test_meshes/beam_gmsh.py +0 -0
  189. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/test_meshes_paths.py +0 -0
  190. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/various_physics_tests.py +0 -0
  191. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/constitutive_models/__init__.py +0 -0
  192. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/constitutive_models/heat_transfer/isotropic_heat_conduction.py +0 -0
  193. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/constitutive_models/hyperelasticity/__init__.py +0 -0
  194. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/constitutive_models/hyperelasticity/anisotropic_hyperelasticity.py +0 -0
  195. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/constitutive_models/hyperelasticity/isotropic_hyperelasticity.py +0 -0
  196. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/constitutive_models/hyperelasticity/micropolar_hyperelasticity.py +0 -0
  197. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/multiscale/__init__.py +0 -0
  198. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/multiscale/multiscale_boundary_conditions/__init__.py +0 -0
  199. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/multiscale/multiscale_boundary_conditions/multiscale_classes.py +0 -0
  200. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/multiscale/multiscale_boundary_conditions/multiscale_expressions.py +0 -0
  201. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/multiscale/multiscale_hyperelasticity.py +0 -0
  202. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/multiscale/multiscale_micropolar.py +0 -0
  203. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/physics/__init__.py +0 -0
  204. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/physics/hyperelastic_cauchy_continuum.py +0 -0
  205. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/physics/hyperelastic_incompressible_cauchy_continuum.py +0 -0
  206. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/physics/hyperelastic_micropolar_continuum.py +0 -0
  207. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/physics/steady_state_heat_transfer.py +0 -0
  208. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/post_processes/__init__.py +0 -0
  209. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/post_processes/post_processes_classes.py +0 -0
  210. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/post_processes/post_processes_functions.py +0 -0
  211. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/__init__.py +0 -0
  212. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/body_forces_loading_tools.py +0 -0
  213. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/boundary_conditions_tools.py +0 -0
  214. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/constitutive_tools.py +0 -0
  215. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/dirichlet_load_tools.py +0 -0
  216. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/expressions_tools.py +0 -0
  217. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/functional_tools.py +0 -0
  218. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/homogenization_tools.py +0 -0
  219. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/mesh_handling_tools.py +0 -0
  220. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/multiscale_boundary_conditions_tools.py +0 -0
  221. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/numerical_tools.py +0 -0
  222. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/parallelization_tools.py +0 -0
  223. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/post_processing_tools.py +0 -0
  224. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/pseudotime_stepping_tools.py +0 -0
  225. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/read_write_tools.py +0 -0
  226. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/surface_loading_tools.py +0 -0
  227. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/tensor_tools.py +0 -0
  228. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/variational_tools.py +0 -0
  229. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/__init__.py +0 -0
  230. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/aa_tests/__init__.py +0 -0
  231. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/aa_tests/tests_template.py +0 -0
  232. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/coordinate_systems_tools.py +0 -0
  233. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/dictionary_tools.py +0 -0
  234. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/file_handling_tools.py +0 -0
  235. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/fonts/CMU_Serif_Roman.ttf +0 -0
  236. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/function_tools.py +0 -0
  237. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/interpolation_tools.py +0 -0
  238. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/math_experiments.py +0 -0
  239. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/numpy_tools.py +0 -0
  240. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/package_tools.py +0 -0
  241. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/path_tools.py +0 -0
  242. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/programming_tools.py +0 -0
  243. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/recursion_tools.py +0 -0
  244. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/stochastic_tools.py +0 -0
  245. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/string_tools.py +0 -0
  246. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/tensor_and_math_tools.py +0 -0
  247. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/testing_tools.py +0 -0
  248. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout/__init__.py +0 -0
  249. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout.egg-info/dependency_links.txt +0 -0
  250. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/source/Davout.egg-info/requires.txt +0 -0
  251. {davout-0.1.1.dev110 → davout-0.1.1.dev112}/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.dev110
3
+ Version: 0.1.1.dev112
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.dev110"
66
+ version = "0.1.1.dev112"
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})
@@ -4,11 +4,11 @@ from ...GraphUtilities.collage_tools import create_box_collage
4
4
 
5
5
  from ...PythonicUtilities.path_tools import get_parent_path_of_file
6
6
 
7
- create_box_collage("continuum_mechanics_kinematics.png", input_path=
7
+ create_box_collage("continuum_mechanics_kinematics.pdf", input_path=
8
8
  get_parent_path_of_file(),
9
9
 
10
10
  boxes_list=[{"contour color": "black", "fill color": "grey 2", "contour"+
11
- " thickness": 0.2, "position": [52.0, 99.0], "width": 105.0, "height": 52.0,
11
+ " thickness": 0.2, "position": [53.0, 99.0], "width": 104.0, "height": 52.0,
12
12
  "contour style": "solid", "origin point": "bottom-left"},
13
13
  {"contour color": "black", "fill color": "grey 1", "contour"+
14
14
  " thickness": 0.2, "position": [54, 100.0], "width": 50.0, "height": 50.0,
@@ -19,19 +19,19 @@ boxes_list=[{"contour color": "black", "fill color": "grey 2", "contour"+
19
19
 
20
20
  arrows_and_lines_list=[],
21
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, 250.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, 250.0], "rays central direction": [1.0, -0.1],
30
- "angle amplitude": 10.0, "number of rays": 15, "color": "black",
31
- "thickness": 0.4}],
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
32
 
33
- verbose=True, no_padding=True, add_overlaying_grid=True, dpi=300,
33
+ verbose=True, no_padding=True, add_overlaying_grid=False, dpi=600,
34
34
  grid_annotation_length=10, save_lists_to_txt=True,
35
35
  interactive_preview=True, size_template="A4", export_selection={
36
- "origin point": "bottom-left", "position": [48.0, 94.0], "wid"+
37
- "th": 115.0, "height": 60.0})
36
+ "origin point": "bottom-left", "position": [53.0, 99.0], "width": 104.0,
37
+ "height": 52.0})
@@ -74,10 +74,27 @@ aspect_ratio='auto', adjustable=None, layout_width_milimeters=210.0,
74
74
  layout_height_milimeters=297.0, add_overlaying_grid=False, tolerance=
75
75
  1E-1, grid_annotation_length=10, rule_fontsize=6, rule_number_offset=0.5,
76
76
  vanishing_points_list=None, save_lists_to_txt=True, interactive_preview=
77
- False, arrows_and_lines_file="arrows_and_lines_list", boxes_list_file=
78
- "boxes_list", text_list_file="text_excerpts_list", size_template=None,
79
- export_selection=None, image_interpolation=None, backend=None,
80
- compress_level=None, concatenate_read_lists_with_argument_lists=True):
77
+ False, arrows_and_lines_file=None, boxes_list_file=None, text_list_file=
78
+ None, size_template=None, export_selection=None, image_interpolation=
79
+ None, backend=None, compress_level=None,
80
+ concatenate_read_lists_with_argument_lists=True):
81
+
82
+ # Verifies if the files to save the lists are None
83
+
84
+ if arrows_and_lines_file is None:
85
+
86
+ arrows_and_lines_file = "arrows_and_lines_list_"+str(
87
+ path_tools.take_outFileNameTermination(output_file))
88
+
89
+ if boxes_list_file is None:
90
+
91
+ boxes_list_file = "boxes_list_"+str(
92
+ path_tools.take_outFileNameTermination(output_file))
93
+
94
+ if text_list_file is None:
95
+
96
+ text_list_file = "text_excerpts_list_"+str(
97
+ path_tools.take_outFileNameTermination(output_file))
81
98
 
82
99
  # Initializes the class of colors, the class of alignments, and the
83
100
  # class of line styles
@@ -230,9 +247,13 @@ compress_level=None, concatenate_read_lists_with_argument_lists=True):
230
247
 
231
248
  read_boxes_list = []
232
249
 
233
- # Concatenate both
250
+ # Concatenates both
234
251
 
235
- boxes_list.extend(read_boxes_list)
252
+ for new_box in read_boxes_list:
253
+
254
+ if new_box not in boxes_list:
255
+
256
+ boxes_list.append(new_box)
236
257
 
237
258
  # Then, saves it
238
259
 
@@ -362,9 +383,13 @@ compress_level=None, concatenate_read_lists_with_argument_lists=True):
362
383
 
363
384
  input_text_list = []
364
385
 
365
- # Concatenate both
386
+ # Concatenates both
387
+
388
+ for new_text in read_input_text_list:
366
389
 
367
- input_text_list.extend(read_input_text_list)
390
+ if new_text not in input_text_list:
391
+
392
+ input_text_list.append(new_text)
368
393
 
369
394
  # Then, saves it
370
395
 
@@ -451,10 +476,13 @@ compress_level=None, concatenate_read_lists_with_argument_lists=True):
451
476
 
452
477
  read_arrows_and_lines_list = []
453
478
 
454
- # Concatenate both
479
+ # Concatenates both
480
+
481
+ for new_arrow in read_arrows_and_lines_list:
482
+
483
+ if new_arrow not in arrows_and_lines_list:
455
484
 
456
- arrows_and_lines_list.extend(
457
- read_arrows_and_lines_list)
485
+ arrows_and_lines_list.append(new_arrow)
458
486
 
459
487
  # Then, saves it
460
488
 
@@ -687,7 +715,7 @@ compress_level=None, concatenate_read_lists_with_argument_lists=True):
687
715
 
688
716
  if interactive_preview:
689
717
 
690
- interactive_window_info = create_interactive_window(
718
+ interactive_window_info, depth_order = create_interactive_window(
691
719
  general_axes, collage, 0.0, layout_width_milimeters, 0.0,
692
720
  layout_height_milimeters, x_min, x_max, y_min, y_max,
693
721
  input_path, depth_order, arrows_and_lines_file,
@@ -807,7 +835,7 @@ compress_level=None, concatenate_read_lists_with_argument_lists=True):
807
835
 
808
836
  if interactive_preview:
809
837
 
810
- interactive_window_info = create_interactive_window(
838
+ interactive_window_info, depth_order = create_interactive_window(
811
839
  general_axes, collage, 0.0, layout_width_milimeters,
812
840
  0.0, layout_height_milimeters, x_min, x_max, y_min,
813
841
  y_max, input_path, depth_order, arrows_and_lines_file,
@@ -921,7 +949,7 @@ compress_level=None, concatenate_read_lists_with_argument_lists=True):
921
949
 
922
950
  if interactive_preview:
923
951
 
924
- interactive_window_info = create_interactive_window(general_axes,
952
+ interactive_window_info, depth_order = create_interactive_window(general_axes,
925
953
  collage, 0.0, layout_width_milimeters, 0.0,
926
954
  layout_height_milimeters, x_min, x_max, y_min, y_max,
927
955
  input_path, depth_order, arrows_and_lines_file,
@@ -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=
@@ -158,37 +158,33 @@ class MarkerBoxStyles:
158
158
 
159
159
  y_center = position[1]*1.0
160
160
 
161
- # Translates it according to position
161
+ # If circle is asked for, ignores height
162
162
 
163
- if origin_point=="bottom-left":
163
+ if self.shape=="circle":
164
164
 
165
- x_center += 0.5*width
165
+ height = width*1.0
166
166
 
167
- y_center += 0.5*height
167
+ # Translates it according to position
168
168
 
169
- elif origin_point=="bottom-right":
169
+ if origin_point=="bottom-left":
170
170
 
171
- x_center -= 0.5*width
171
+ x_center += width
172
172
 
173
- y_center += 0.5*height
173
+ y_center += height
174
174
 
175
- elif origin_point=="top-right":
176
-
177
- x_center -= 0.5*width
175
+ elif origin_point=="bottom-right":
178
176
 
179
- y_center -= 0.5*height
177
+ y_center += height
180
178
 
181
179
  elif origin_point=="top-left":
182
180
 
183
- x_center += 0.5*width
184
-
185
- y_center -= 0.5*height
181
+ x_center += width
186
182
 
187
- # If circle is asked for, ignores height
183
+ elif origin_point=="centroid":
188
184
 
189
- if self.shape=="circle":
185
+ x_center += 0.5*width
190
186
 
191
- height = width*1.0
187
+ y_center += 0.5*height
192
188
 
193
189
  new_box = Ellipse((x_center, y_center), width, height,
194
190
  linewidth=contour_thickness, edgecolor=contour_color,
@@ -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
@@ -347,10 +387,12 @@ colors_class, marker_box_class, alignment_class):
347
387
  # point of the points list as position
348
388
 
349
389
  marker_dictionary = {"shape": marker_style, "contour thickness":
350
- thickness, "line style": line_style, "contour color": color,
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 #
@@ -366,7 +408,7 @@ colors_class, marker_box_class, alignment_class):
366
408
 
367
409
  origin_point = input_repeater("\nType the alignment option rel"+
368
410
  "ative to the pressed point and press enter: ", reviewer_function=
369
- alignment_class.verify_alignment_name, default_value="centroid",
411
+ alignment_class.verify_alignment_name, default_value="bottom-left",
370
412
  necessary_type=str)
371
413
 
372
414
  font_size = input_repeater("\nType the height of the letters i"+
@@ -401,6 +443,12 @@ colors_class, marker_box_class, alignment_class):
401
443
 
402
444
  if curve_dictionary:
403
445
 
446
+ # Updates the depth
447
+
448
+ depth_order += 1
449
+
450
+ curve_dictionary["depth order"] = depth_order
451
+
404
452
  arrows_and_lines_list.append(curve_dictionary)
405
453
 
406
454
  list_toTxt(arrows_and_lines_list, arrows_and_lines_file,
@@ -419,6 +467,12 @@ colors_class, marker_box_class, alignment_class):
419
467
 
420
468
  if marker_dictionary:
421
469
 
470
+ # Updates the depth
471
+
472
+ depth_order += 1
473
+
474
+ marker_dictionary["depth order"] = depth_order
475
+
422
476
  boxes_list.append(marker_dictionary)
423
477
 
424
478
  list_toTxt(boxes_list, boxes_list_file, parent_path=input_path)
@@ -438,6 +492,12 @@ colors_class, marker_box_class, alignment_class):
438
492
 
439
493
  if text_dictionary:
440
494
 
495
+ # Updates the depth
496
+
497
+ depth_order += 1
498
+
499
+ text_dictionary["depth order"] = depth_order
500
+
441
501
  text_list.append(text_dictionary)
442
502
 
443
503
  list_toTxt(text_list, text_list_file, parent_path=input_path)
@@ -453,7 +513,7 @@ colors_class, marker_box_class, alignment_class):
453
513
  flag_marker_substitution = True
454
514
 
455
515
  return (points_list, general_axes, arrows_and_lines_list, boxes_list,
456
- text_list)
516
+ text_list, depth_order)
457
517
 
458
518
  ########################################################################
459
519
  # Utilities #
@@ -292,7 +292,7 @@ marker_box_class, alignment_class, verbose=False):
292
292
 
293
293
  def on_key(event):
294
294
 
295
- nonlocal points_list, general_axes, manual_close, arrows_and_lines_list, flag_input, interactive_window_info, boxes_list, text_list
295
+ nonlocal points_list, general_axes, manual_close, arrows_and_lines_list, flag_input, interactive_window_info, boxes_list, text_list, depth_order
296
296
 
297
297
  # If enter is pressed, saves the image and do not resume redraw-
298
298
  # ing
@@ -666,6 +666,59 @@ marker_box_class, alignment_class, verbose=False):
666
666
 
667
667
  print("", flush=True)
668
668
 
669
+ # Detects Ctrl+F to erase the box
670
+
671
+ elif event.key=="ctrl+f":
672
+
673
+ if boxes_list:
674
+
675
+ removed = boxes_list[-1]
676
+
677
+ # Takes input
678
+
679
+ flag_input = True
680
+
681
+ response = input("\nAre you sure you want to remove th"+
682
+ "e last box or marker? Type 'y' if so: ")
683
+
684
+ # If it is different than y, moves forward
685
+
686
+ if response!="y":
687
+
688
+ print("\nCancels removing the following element:\n"+
689
+ str(removed))
690
+
691
+ flag_input = False
692
+
693
+ return None
694
+
695
+ # Removes the last line and disables the input flag
696
+
697
+ boxes_list = boxes_list[0:-1]
698
+
699
+ flag_input = False
700
+
701
+ print(f"[UNDO] removed {removed}", flush= True)
702
+
703
+ # Rewrites the arrows list
704
+
705
+ list_toTxt(boxes_list, boxes_list_file, parent_path=
706
+ input_path)
707
+
708
+ # Triggers redrawing
709
+
710
+ interactive_window_info.flag_redraw = True
711
+
712
+ manual_close = False
713
+
714
+ plt.close()
715
+
716
+ else:
717
+
718
+ print("[UNDO] no curves left", flush=True)
719
+
720
+ print("", flush=True)
721
+
669
722
  # Verifies if one of the pre-fabricated curves were asked
670
723
 
671
724
  else:
@@ -675,7 +728,7 @@ marker_box_class, alignment_class, verbose=False):
675
728
  flag_input = True
676
729
 
677
730
  (points_list, general_axes, arrows_and_lines_list,
678
- boxes_list, text_list) = curves_setter.set_curve(
731
+ boxes_list, text_list, depth_order) = curves_setter.set_curve(
679
732
  event.key, arrows_and_lines_list, boxes_list, text_list,
680
733
  arrows_and_lines_file, boxes_list_file, text_list_file,
681
734
  input_path, depth_order, collage, points_list, general_axes,
@@ -849,4 +902,4 @@ marker_box_class, alignment_class, verbose=False):
849
902
 
850
903
  general_axes.set_ylim(old_y_min, old_y_max)
851
904
 
852
- return interactive_window_info
905
+ return interactive_window_info, depth_order
@@ -128,6 +128,11 @@ color_class, verbose, depth_order):
128
128
  "s_list' has at key 'rotation in degrees' a value that"+
129
129
  " is not a float. Currently, 'rotation in degrees' is:"+
130
130
  " "+str(angle))
131
+
132
+ if verbose:
133
+
134
+ print("\nRotates the text except by "+str(angle)+" deg"+
135
+ "rees")
131
136
 
132
137
  # Verifies if a depth number has been given
133
138