Davout 0.1.1.dev111__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.dev111/source/Davout.egg-info → davout-0.1.1.dev112}/PKG-INFO +1 -1
  2. {davout-0.1.1.dev111 → 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.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/plotting_tools.py +3 -2
  5. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/arrows_lines_tools.py +17 -0
  6. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/box_tools.py +4 -2
  7. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/curves_setter.py +45 -3
  8. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/LaTeXUtilities/LaTeXUtilities.sty +202 -4
  9. {davout-0.1.1.dev111 → davout-0.1.1.dev112/source/Davout.egg-info}/PKG-INFO +1 -1
  10. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout.egg-info/SOURCES.txt +1 -0
  11. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/LICENSE +0 -0
  12. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/README.md +0 -0
  13. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/setup.cfg +0 -0
  14. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/setup.py +0 -0
  15. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/__init__.py +0 -0
  16. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/__init__.py +0 -0
  17. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/non_transfinite/RVE_artery.py +0 -0
  18. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/non_transfinite/RVE_matrix_with_fiber.py +0 -0
  19. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/non_transfinite/__init__.py +0 -0
  20. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/non_transfinite/elastin_fiber_creator.py +0 -0
  21. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/transfinite/RVE_artery_transfinite.py +0 -0
  22. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/transfinite/RVE_matrix_with_fiber_transfinite.py +0 -0
  23. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/transfinite/__init__.py +0 -0
  24. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/RVEs/transfinite/elastin_fiber_creator.py +0 -0
  25. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/__init__.py +0 -0
  26. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/artery/artery_macroscale.py +0 -0
  27. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/artery/artery_macroscale_ellipsoid.py +0 -0
  28. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/micropolar_meshes/__init__.py +0 -0
  29. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/micropolar_meshes/beam_micropolar_case_1.py +0 -0
  30. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/periodic_meshes/__init__.py +0 -0
  31. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/periodic_meshes/artery_parameters.py +0 -0
  32. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/periodic_meshes/fiber_matrix_parameters.py +0 -0
  33. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/periodic_meshes/periodic_structure.py +0 -0
  34. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/solids/__init__.py +0 -0
  35. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/solids/intervertebral_disc.py +0 -0
  36. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/aa_tests/solids/whole_ensemble_of_geometries.py +0 -0
  37. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/solids/__init__.py +0 -0
  38. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/solids/cuboid_cylinders.py +0 -0
  39. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/solids/cuboid_ellipsoids.py +0 -0
  40. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/solids/cuboid_generator.py +0 -0
  41. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/solids/cuboid_helicoids.py +0 -0
  42. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/solids/cuboid_prisms.py +0 -0
  43. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/tool_box/__init__.py +0 -0
  44. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/tool_box/geometric_tools.py +0 -0
  45. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/tool_box/mesh_data_retriever.py +0 -0
  46. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/tool_box/meshing_tools.py +0 -0
  47. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/tool_box/region_finder.py +0 -0
  48. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/CuboidGmsh/tool_box/verification_tools.py +0 -0
  49. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/PINNs/Physics/__init__.py +0 -0
  50. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/PINNs/Physics/elasticity_equation.py +0 -0
  51. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/PINNs/__init__.py +0 -0
  52. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/__init__.py +0 -0
  53. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/aa_tests/heat_equation.py +0 -0
  54. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/aa_tests/tests_tool_box/test_ANN_optimization.py +0 -0
  55. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/aa_tests/tests_tool_box/test_ANN_tools.py +0 -0
  56. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/aa_tests/tests_tool_box/test_convex_and_partially_convex_input_NNs.py +0 -0
  57. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/aa_tests/tests_tool_box/test_math_tools.py +0 -0
  58. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/aa_tests/tests_tool_box/test_tensor_tools.py +0 -0
  59. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/custom_architectures/__init__.py +0 -0
  60. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/custom_architectures/convexity_concerned_NNs.py +0 -0
  61. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/custom_architectures/generic_feed_forward.py +0 -0
  62. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/ANN_tools.py +0 -0
  63. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/__init__.py +0 -0
  64. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/activation_function_utilities.py +0 -0
  65. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/custom_activation_functions.py +0 -0
  66. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/differentiation_tools.py +0 -0
  67. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/loss_assembler_classes.py +0 -0
  68. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/loss_tools.py +0 -0
  69. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/math_tools.py +0 -0
  70. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/numerical_tools.py +0 -0
  71. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/parameters_tools.py +0 -0
  72. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/tensor_tools.py +0 -0
  73. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/DeepMech/tool_box/training_tools.py +0 -0
  74. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/__init__.py +0 -0
  75. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/REPL_experiments.py +0 -0
  76. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/__init__.py +0 -0
  77. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/optimization/__init__.py +0 -0
  78. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/optimization/tests_optimization_methods.py +0 -0
  79. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/tests_batching.py +0 -0
  80. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/tests_finite_elements.py +0 -0
  81. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/tests_loss_function.py +0 -0
  82. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/tests_physics.py +0 -0
  83. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/unidimensional/__init__.py +0 -0
  84. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/unidimensional/bar_fea.py +0 -0
  85. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/unidimensional/hyperelastic_1D_energies.py +0 -0
  86. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/aa_tests/unidimensional/variational_tools.py +0 -0
  87. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/assembly/__init__.py +0 -0
  88. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/assembly/body_forces_work.py +0 -0
  89. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/assembly/dirichlet_boundary_conditions_enforcer.py +0 -0
  90. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/assembly/hyperelastic_internal_work.py +0 -0
  91. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/assembly/surface_forces_work.py +0 -0
  92. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/constitutive_models/__init__.py +0 -0
  93. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/constitutive_models/hyperelastic_isotropic_models.py +0 -0
  94. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/finite_elements/__init__.py +0 -0
  95. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/finite_elements/elements_manager.py +0 -0
  96. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/finite_elements/finite_element_dispatcher.py +0 -0
  97. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/finite_elements/surface_elements/__init__.py +0 -0
  98. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/finite_elements/surface_elements/triangles.py +0 -0
  99. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/finite_elements/volume_elements/__init__.py +0 -0
  100. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/finite_elements/volume_elements/tetrahedrons.py +0 -0
  101. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/optimization/__init__.py +0 -0
  102. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/optimization/conditioning_matrices.py +0 -0
  103. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/optimization/loss_functions.py +0 -0
  104. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/optimization/neural_network_assembler.py +0 -0
  105. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/optimization/objective_function.py +0 -0
  106. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/physics/compressible_cauchy_hyperelasticy.py +0 -0
  107. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/__init__.py +0 -0
  108. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/constitutive_tools.py +0 -0
  109. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/dirichlet_loading_tools.py +0 -0
  110. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/math_tools.py +0 -0
  111. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/mesh_info_tools.py +0 -0
  112. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/mesh_tools.py +0 -0
  113. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/neumann_loading_tools.py +0 -0
  114. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/node_ordering.py +0 -0
  115. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/optimization_tools.py +0 -0
  116. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/parametric_curves_tools.py +0 -0
  117. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/sensitivity_tools.py +0 -0
  118. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/FENN/tool_box/tensorflow_utilities.py +0 -0
  119. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/__init__.py +0 -0
  120. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/aa_tests/__init__.py +0 -0
  121. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/aa_tests/continuum_mechanics_potato_collage.py +0 -0
  122. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/aa_tests/tests_collage_tools.py +0 -0
  123. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/aa_tests/tests_paraview_tools.py +0 -0
  124. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/aa_tests/tests_plotting_tools.py +0 -0
  125. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/collage_tools.py +0 -0
  126. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/paraview_tools.py +0 -0
  127. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/__init__.py +0 -0
  128. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/box_and_markers_classes.py +0 -0
  129. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/collage_classes.py +0 -0
  130. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/image_tools.py +0 -0
  131. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/interactivity_tools.py +0 -0
  132. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/paraview_scripts.py +0 -0
  133. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/perspective_tools.py +0 -0
  134. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/GraphUtilities/tool_box/text_excerpt_tools.py +0 -0
  135. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/LaTeXUtilities/__init__.py +0 -0
  136. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/__init__.py +0 -0
  137. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/heat_transfer/heat_box.py +0 -0
  138. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/beam_with_fibers.py +0 -0
  139. {davout-0.1.1.dev111 → 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.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/disc_HGO.py +0 -0
  141. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/disc_neo_hookean.py +0 -0
  142. {davout-0.1.1.dev111 → 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.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/hyperelastic_box.py +0 -0
  144. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/incompressible_hyperelastic_box.py +0 -0
  145. {davout-0.1.1.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/parallel_hyperelastic_box.py +0 -0
  149. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/parallel_incompressible_box.py +0 -0
  150. {davout-0.1.1.dev111 → 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.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/hyperelasticity/young_modulus_field.py +0 -0
  152. {davout-0.1.1.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/micropolar/stress_plots.py +0 -0
  166. {davout-0.1.1.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → 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.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/physics_prototypes/compressible_hyperelasticity.py +0 -0
  187. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/physics_prototypes/incompressible_hyperelasticity.py +0 -0
  188. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/test_meshes/beam_gmsh.py +0 -0
  189. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/test_meshes_paths.py +0 -0
  190. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/aa_tests_and_examples/various_physics_tests.py +0 -0
  191. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/constitutive_models/__init__.py +0 -0
  192. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/constitutive_models/heat_transfer/isotropic_heat_conduction.py +0 -0
  193. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/constitutive_models/hyperelasticity/__init__.py +0 -0
  194. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/constitutive_models/hyperelasticity/anisotropic_hyperelasticity.py +0 -0
  195. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/constitutive_models/hyperelasticity/isotropic_hyperelasticity.py +0 -0
  196. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/constitutive_models/hyperelasticity/micropolar_hyperelasticity.py +0 -0
  197. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/multiscale/__init__.py +0 -0
  198. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/multiscale/multiscale_boundary_conditions/__init__.py +0 -0
  199. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/multiscale/multiscale_boundary_conditions/multiscale_classes.py +0 -0
  200. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/multiscale/multiscale_boundary_conditions/multiscale_expressions.py +0 -0
  201. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/multiscale/multiscale_hyperelasticity.py +0 -0
  202. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/multiscale/multiscale_micropolar.py +0 -0
  203. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/physics/__init__.py +0 -0
  204. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/physics/hyperelastic_cauchy_continuum.py +0 -0
  205. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/physics/hyperelastic_incompressible_cauchy_continuum.py +0 -0
  206. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/physics/hyperelastic_micropolar_continuum.py +0 -0
  207. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/physics/steady_state_heat_transfer.py +0 -0
  208. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/post_processes/__init__.py +0 -0
  209. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/post_processes/post_processes_classes.py +0 -0
  210. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/post_processes/post_processes_functions.py +0 -0
  211. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/__init__.py +0 -0
  212. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/body_forces_loading_tools.py +0 -0
  213. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/boundary_conditions_tools.py +0 -0
  214. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/constitutive_tools.py +0 -0
  215. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/dirichlet_load_tools.py +0 -0
  216. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/expressions_tools.py +0 -0
  217. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/functional_tools.py +0 -0
  218. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/homogenization_tools.py +0 -0
  219. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/mesh_handling_tools.py +0 -0
  220. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/multiscale_boundary_conditions_tools.py +0 -0
  221. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/numerical_tools.py +0 -0
  222. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/parallelization_tools.py +0 -0
  223. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/post_processing_tools.py +0 -0
  224. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/pseudotime_stepping_tools.py +0 -0
  225. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/read_write_tools.py +0 -0
  226. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/surface_loading_tools.py +0 -0
  227. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/tensor_tools.py +0 -0
  228. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/MultiMech/tool_box/variational_tools.py +0 -0
  229. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/__init__.py +0 -0
  230. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/aa_tests/__init__.py +0 -0
  231. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/aa_tests/tests_template.py +0 -0
  232. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/coordinate_systems_tools.py +0 -0
  233. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/dictionary_tools.py +0 -0
  234. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/file_handling_tools.py +0 -0
  235. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/fonts/CMU_Serif_Roman.ttf +0 -0
  236. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/function_tools.py +0 -0
  237. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/interpolation_tools.py +0 -0
  238. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/math_experiments.py +0 -0
  239. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/numpy_tools.py +0 -0
  240. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/package_tools.py +0 -0
  241. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/path_tools.py +0 -0
  242. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/programming_tools.py +0 -0
  243. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/recursion_tools.py +0 -0
  244. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/stochastic_tools.py +0 -0
  245. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/string_tools.py +0 -0
  246. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/tensor_and_math_tools.py +0 -0
  247. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/PythonicUtilities/testing_tools.py +0 -0
  248. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout/__init__.py +0 -0
  249. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout.egg-info/dependency_links.txt +0 -0
  250. {davout-0.1.1.dev111 → davout-0.1.1.dev112}/source/Davout.egg-info/requires.txt +0 -0
  251. {davout-0.1.1.dev111 → 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.dev111
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.dev111"
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})
@@ -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 #
@@ -182,6 +182,10 @@ top=3cm, bottom=2cm}}\onehalfspacing\setlength{\parindent}{1.25cm}%
182
182
 
183
183
  \newcommand*{\TextCommentedArrow}[2]{\xRightarrow[\text{#2}]{\text{#1}}}
184
184
 
185
+ % Command to set the inner product of two arguments
186
+
187
+ \newcommand{\InnerProduct}[2]{\left\langle #1,#2 \right\rangle}
188
+
185
189
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
186
190
  % Units %
187
191
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -200,6 +204,14 @@ top=3cm, bottom=2cm}}\onehalfspacing\setlength{\parindent}{1.25cm}%
200
204
 
201
205
  \newcommand{\ScientificNotation}[2]{$#1\times 10^{#2}$}
202
206
 
207
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
208
+ % Special characters %
209
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
210
+
211
+ % Command to set the varlambda character
212
+
213
+ \DeclareRobustCommand{\varlambda}{\text{\usefont{OML}{txmi}{m}{it}\symbol{"15}}}
214
+
203
215
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
204
216
  % Functions %
205
217
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -291,10 +303,18 @@ top=3cm, bottom=2cm}}\onehalfspacing\setlength{\parindent}{1.25cm}%
291
303
 
292
304
  \newcommand{\SingleVariableIntegration}[4]{\int_{#1}^{#2}#3\IntegralDif#4}
293
305
 
306
+ % Command for the differential form of something
307
+
308
+ \newcommand{\Differential}[1]{\mathrm{d}#1}
309
+
294
310
  % Command for partial derivative
295
311
 
296
312
  \newcommand{\PartialDerivative}[2]{\frac{\partial #1}{\partial #2}}
297
313
 
314
+ % Command for higher-order partial derivative
315
+
316
+ \newcommand{\HigherOrderPartialDerivative}[3]{\frac{\partial^{#3} #1}{\partial #2^{#3}}}
317
+
298
318
  % Command for total derivative
299
319
 
300
320
  \newcommand{\TotalDerivative}[2]{\frac{\mathrm{d} #1}{\mathrm{d} #2}}
@@ -303,6 +323,10 @@ top=3cm, bottom=2cm}}\onehalfspacing\setlength{\parindent}{1.25cm}%
303
323
 
304
324
  \newcommand{\EvaluateBar}[3]{\left.#1\right|_{#2}^{#3}}
305
325
 
326
+ % Command for typing the directional derivative
327
+
328
+ \newcommand{\DirectionalDerivative}[2]{\mathcal{D}_{#2}#1}
329
+
306
330
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
307
331
  % Sets and analysis %
308
332
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -327,6 +351,16 @@ top=3cm, bottom=2cm}}\onehalfspacing\setlength{\parindent}{1.25cm}%
327
351
 
328
352
  \newcommand{\IntegerSetThreeD}{\Set{1,2,3}}
329
353
 
354
+ % Command to generate a generic tensor space as the dyadic of multiple
355
+ % R^3
356
+
357
+ \newcommand{\ThreeDTensorSpace}{\RealSpace{3}\otimes\RealSpace{3}%
358
+ \otimes\dots\otimes\RealSpace{3}}
359
+
360
+ % Command to generate the eigenspace of a tensor
361
+
362
+ \newcommand{\EigSpace}[1]{\mathrm{eigspace}\left( #1 \right)}
363
+
330
364
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
331
365
  % Vectors and matrices %
332
366
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -335,14 +369,19 @@ top=3cm, bottom=2cm}}\onehalfspacing\setlength{\parindent}{1.25cm}%
335
369
 
336
370
  \newcommand{\Norm}[2]{\left\lVert #1 \right\rVert_{#2}}
337
371
 
372
+ % Command for typing the inverse
373
+
374
+ \newcommand{\Inverse}[1]{{#1}^{\!\raisebox{0.4ex}{\scriptsize$%
375
+ \mathrm{-1}$}}}
376
+
338
377
  % Command for typing the transposition T
339
378
 
340
- \newcommand{\Transpose}[1]{{#1}^{\!\raisebox{0.2ex}{\scriptsize$%
379
+ \newcommand{\Transpose}[1]{{#1}^{\!\raisebox{0.4ex}{\scriptsize$%
341
380
  \mathrm{T}$}}}
342
381
 
343
382
  % Command for typing the inverse transposition -T
344
383
 
345
- \newcommand{\InverseTranspose}[1]{{#1}^{\!\raisebox{0.2ex}{\scriptsize$%
384
+ \newcommand{\InverseTranspose}[1]{{#1}^{\!\raisebox{0.4ex}{\scriptsize$%
346
385
  \mathrm{-T}$}}}
347
386
 
348
387
  % Command to write pos def
@@ -381,6 +420,23 @@ top=3cm, bottom=2cm}}\onehalfspacing\setlength{\parindent}{1.25cm}%
381
420
 
382
421
  \newcommand{\FourthOrderIdentity}{\pmb{\mathbb{I}}}
383
422
 
423
+ % Command for the determinant of a tensor
424
+
425
+ \newcommand{\Det}[1]{\mathrm{det}\Parentheses{#1}}
426
+
427
+ % Command for the trace of a tensor
428
+
429
+ \newcommand{\Trace}[1]{\mathrm{tr}\Parentheses{#1}}
430
+
431
+ % Command for typing the dot (time-derivative) for tensors
432
+
433
+ \newcommand{\DotOverTensor}[1]{\mathop{#1}\limits^{\hspace{0.40em}\cdot}}
434
+
435
+ % Command to create an arbitrarily large tensor basis
436
+
437
+ \newcommand{\GenericTensorBasis}[3]{\CovariantBasis{#1}\otimes
438
+ \CovariantBasis{#2}\otimes\dots\otimes\CovariantBasis{#3}}
439
+
384
440
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
385
441
  % Vector and function spaces %
386
442
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -389,6 +445,23 @@ top=3cm, bottom=2cm}}\onehalfspacing\setlength{\parindent}{1.25cm}%
389
445
 
390
446
  \newcommand{\RealSpace}[1]{\mathbb{R}^{#1}}
391
447
 
448
+ % Command for typing the field of integers. The argument is to make it
449
+ % positive, negative, or else
450
+
451
+ \newcommand{\IntegerField}[1]{\mathbb{Z}^{#1}}
452
+
453
+ % Command for typing the SO3 group
454
+
455
+ \newcommand{\SoThree}{\mathrm{SO}^{3}}
456
+
457
+ % Command for typing the symmetric tensors space
458
+
459
+ \newcommand{\SymThree}{\mathrm{Sym}^{3}}
460
+
461
+ % Command for typing a p-th order tensor space
462
+
463
+ \newcommand{\TensorSpace}[1]{\mathcal{T}^{#1}}
464
+
392
465
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
393
466
  % Operators %
394
467
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -439,6 +512,94 @@ top=3cm, bottom=2cm}}\onehalfspacing\setlength{\parindent}{1.25cm}%
439
512
  {\raisebox{0ex}{\scalebox{1.0}{$\scriptscriptstyle #1$}}}% scriptscriptstyle
440
513
  }\limits_{#2}^{#3}}
441
514
 
515
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
516
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
517
+ %% Continuum mechanics %%
518
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
519
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
520
+
521
+ % Defines commands for the most usual first-order tensors
522
+ % i) Displacement
523
+
524
+ \newcommand{\Displacement}{\boldsymbol{u}}
525
+
526
+ % ii) Variation of the displacement field
527
+
528
+ \newcommand{\DisplacementVariation}{\delta\boldsymbol{u}}
529
+
530
+ % iii) Material normal vector
531
+
532
+ \newcommand{\MaterialNormal}{\boldsymbol{N}}
533
+
534
+ % iV) Spatial normal vector
535
+
536
+ \newcommand{\SpatialNormal}{\boldsymbol{n}}
537
+
538
+ % v) Material position vector
539
+
540
+ \newcommand{\MaterialPositionVector}{\boldsymbol{X}}
541
+
542
+ % vi) Spatial position vector
543
+
544
+ \newcommand{\SpatialPositionVector}{\boldsymbol{x}}
545
+
546
+ % vii) Spatial traction
547
+
548
+ \newcommand{\SpatialTraction}{\boldsymbol{t}}
549
+
550
+ % viii) Material traction
551
+
552
+ \newcommand{\MaterialTraction}{\boldsymbol{T}}
553
+
554
+ % Defines commands for the most usual second-order tensors
555
+ % i) Deformation gradient
556
+
557
+ \newcommand{\DeformationGradient}{\boldsymbol{F}}
558
+
559
+ % ii) First Piola-Kirchhoff
560
+
561
+ \newcommand{\FirstPK}{\boldsymbol{P}}
562
+
563
+ % iii) Second Piola-Kirchhoff
564
+
565
+ \newcommand{\SecondPK}{\boldsymbol{S}}
566
+
567
+ % iV) Cauchy stress tensor
568
+
569
+ \newcommand{\CauchyStress}{\boldsymbol{\sigma}}
570
+
571
+ % v) Deformation gradient variation
572
+
573
+ \newcommand{\DeformationGradientVariation}{\delta\boldsymbol{F}}
574
+
575
+ % vi) Rotation tensor
576
+
577
+ \newcommand{\RotationTensor}{\boldsymbol{R}}
578
+
579
+ % vii) Material stretch
580
+
581
+ \newcommand{\MaterialStretch}{\boldsymbol{U}}
582
+
583
+ % viii) Spatial stretch
584
+
585
+ \newcommand{\SpatialStretch}{\boldsymbol{v}}
586
+
587
+ % ix) Right Cauchy-Green
588
+
589
+ \newcommand{\RightCauchyGreen}{\boldsymbol{C}}
590
+
591
+ % x) Right Cauchy-Green
592
+
593
+ \newcommand{\LeftCauchyGreen}{\boldsymbol{b}}
594
+
595
+ % xi) Euler-Lagrange strain tensor
596
+
597
+ \newcommand{\EulerLagrange}{\boldsymbol{E}}
598
+
599
+ % xii) Euler-Almansi
600
+
601
+ \newcommand{\EulerAlmansi}{\boldsymbol{e}}
602
+
442
603
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
443
604
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
444
605
  %% Optimization %%
@@ -666,6 +827,13 @@ $\displaystyle\left\{\begin{aligned}
666
827
 
667
828
  \usetikzlibrary{shapes.geometric, arrows}
668
829
 
830
+ \usetikzlibrary{arrows.meta}
831
+
832
+ % Robust tikzmark command to create an anchor point
833
+
834
+ \newcommand{\tikzmark}[1]{\tikz[remember picture,baseline=(#1.base)]
835
+ \node[inner sep=0pt,outer sep=0pt] (#1) {};}
836
+
669
837
  % Creates flowchart elements
670
838
 
671
839
  \tikzstyle{terminator} = [rectangle, draw, text centered, rounded corners,%
@@ -751,8 +919,12 @@ elsarticle-num-names}\bibliography{#1}}
751
919
  \end{enumerate}%
752
920
  }
753
921
 
754
- % Environment to create a grey box as wide as the page.
755
- % Creates the counter of exercise boxes
922
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
923
+ % Thematic boxes %
924
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
925
+
926
+ % Environment to create a salmon-colored box as wide as the page for e-
927
+ % xercises. Creates the counter of exercise boxes
756
928
 
757
929
  \newcounter{exercise}[section]
758
930
 
@@ -764,6 +936,32 @@ colback=Red1, colbacktitle=Red2, colframe=black, coltitle=black,
764
936
  title=\textit{\textbf{Exercise \theexercise}}, halign title=left,
765
937
  lefttitle=0pt, width=\linewidth, boxrule=0.5pt, arc=0pt, left=2pt}
766
938
 
939
+ % Environment to create a grey box as wide as the page for remarks.
940
+ % Creates the counter of remark boxes
941
+
942
+ \newcounter{remark}[section]
943
+
944
+ \renewcommand{\theremark}{\thesection.\arabic{remark}}
945
+
946
+ \newtcolorbox{RemarkBox}{before title=\refstepcounter{remark},
947
+ % Updates the remark counter
948
+ colback=Grey1, colbacktitle=Red3, colframe=black, coltitle=black,
949
+ title=\textit{\textbf{Remark \theremark}}, halign title=left,
950
+ lefttitle=0pt, width=\linewidth, boxrule=0.5pt, arc=0pt, left=2pt}
951
+
952
+ % Environment to create a grey box as wide as the page for challenges.
953
+ % Creates the counter of challenge boxes
954
+
955
+ \newcounter{challenge}[section]
956
+
957
+ \renewcommand{\thechallenge}{\thesection.\arabic{challenge}}
958
+
959
+ \newtcolorbox{ChallengeBox}{before title=\refstepcounter{challenge},
960
+ % Updates the challenge counter
961
+ colback=Grey2, colbacktitle=Red4, colframe=black, coltitle=black,
962
+ title=\textit{\textbf{Challenge \thechallenge}}, halign title=left,
963
+ lefttitle=0pt, width=\linewidth, boxrule=0.5pt, arc=0pt, left=2pt}
964
+
767
965
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
768
966
  % Word counter %
769
967
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -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.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>
@@ -117,6 +117,7 @@ source/Davout/GraphUtilities/collage_tools.py
117
117
  source/Davout/GraphUtilities/paraview_tools.py
118
118
  source/Davout/GraphUtilities/plotting_tools.py
119
119
  source/Davout/GraphUtilities/aa_tests/__init__.py
120
+ source/Davout/GraphUtilities/aa_tests/cauchy_tetrahedron.py
120
121
  source/Davout/GraphUtilities/aa_tests/continuum_mechanics_potato_collage.py
121
122
  source/Davout/GraphUtilities/aa_tests/tests_collage_tools.py
122
123
  source/Davout/GraphUtilities/aa_tests/tests_paraview_tools.py
File without changes
File without changes
File without changes
File without changes