![](https://secure.gravatar.com/avatar/c04958dbc26d171c3234a126223df468.jpg?s=120&d=mm&r=g)
The following list was generated using the attached file (run from the sfepy/scripts folder):
It shows examples or tests using the stated Term (if available). It would be nice to have examples for each of the SfePy terms if possible. Perhaps something to move onto the Easy2Fix list (although most Terms are beyond my comprehension :)
Term: dq_grad ../tests/test_assembling.py Term: dw_volume_integrate_w Term: dw_laplace ../examples/acoustics/acoustics.py ../examples/diffusion/poisson.py ../examples/diffusion/time_poisson.py ../examples/diffusion/subdomains.py ../examples/diffusion/cube.py ../examples/diffusion/sinbc.py ../examples/diffusion/octahedron.py ../examples/diffusion/poisson_functions.py ../examples/diffusion/poisson_parametric_study.py ../examples/quantum/hydrogen.py ../examples/quantum/dft.py ../tests/test_laplace_unit_disk.py ../tests/test_linear_solvers.py ../tests/test_msm_symbolic.py ../tests/test_laplace_unit_square.py ../tests/test_msm_laplace.py ../tests/test_functions.py Term: dw_lin_prestress Term: dq_def_grad Term: dw_acoustic Term: dw_surface_ltr ../examples/standalone/elastic_materials/compare_elastic_materials.py Term: dw_tl_surface_traction ../examples/large_deformation/perfusion_tl.py Term: dw_biot_th Term: d_surface_integrate ../tests/test_assembling.py Term: dw_volume_integrate Term: dw_surface_mass_scalar ../examples/acoustics/acoustics.py Term: d_sd_div_grad Term: dw_point_lspring ../tests/test_elasticity_small_strain.py Term: dw_st_pspg_p ../examples/navier_stokes/stabilized_navier_stokes.py Term: dw_tl_diffusion ../examples/large_deformation/perfusion_tl.py Term: dw_adj_convect2 Term: dw_st_supg_c ../examples/navier_stokes/stabilized_navier_stokes.py Term: d_sd_convect Term: d_sd_st_grad_div Term: dw_of_ns_surf_min_d_press_diff Term: dw_st_pspg_c ../examples/navier_stokes/stabilized_navier_stokes.py Term: dw_lin_elastic ../examples/biot/biot_npbc.py ../examples/homogenization/linear_elastic_mM.py ../examples/homogenization/linear_homogenization.py ../examples/homogenization/linear_homogenization_up.py ../examples/phononic/coef_conf_elastic.py ../examples/standalone/homogenized_elasticity/rs_correctors.py ../tests/test_elasticity_small_strain.py Term: dw_tl_bulk_pressure ../examples/large_deformation/perfusion_tl.py Term: dw_st_supg_p ../examples/navier_stokes/stabilized_navier_stokes.py Term: d_of_ns_surf_min_d_press Term: dw_biot_eth Term: dw_convect Term: de_biot_stress Term: dw_st_adj_supg_c Term: dq_biot_stress Term: dw_lin_convect ../examples/navier_stokes/stabilized_navier_stokes.py Term: dw_tl_volume ../examples/large_deformation/perfusion_tl.py Term: dw_lin_elastic_th Term: dw_surface_mass_scalar_w Term: dq_lin_convect Term: dw_bc_newton Term: dw_jump ../examples/diffusion/subdomains.py ../tests/test_parsing.py Term: d_sa_acoustic_z2 Term: dw_tl_fib_a ../examples/large_deformation/active_fibres.py Term: d_sa_acoustic_alpha2 Term: di_volume_integrate ../examples/phononic/band_gaps_rigid.py ../examples/phononic/band_gaps.py Term: d_volume ../examples/homogenization/linear_homogenization.py ../examples/homogenization/linear_homogenization_up.py ../examples/phononic/band_gaps_rigid.py ../examples/phononic/band_gaps.py ../examples/standalone/homogenized_elasticity/rs_correctors.py ../tests/test_volume.py ../tests/test_parsing.py Term: dw_adj_div_grad Term: dw_stokes_w Term: dw_tl_he_neohook ../examples/large_deformation/active_fibres.py ../examples/large_deformation/perfusion_tl.py ../examples/large_deformation/hyperelastic.py ../examples/standalone/elastic_materials/compare_elastic_materials.py Term: dw_ul_bulk_penalty Term: de_cauchy_strain ../examples/homogenization/linear_elastic_mM.py ../examples/linear_elasticity/linear_elastic_probes.py ../examples/phononic/band_gaps_rigid.py ../tests/testsBasic.py Term: dw_st_adj2_supg_p Term: dw_mass_scalar_fine_coarse Term: de_average_variable Term: dq_cauchy_stress Term: dw_diffusion_r Term: dw_mass_scalar_w ../examples/diffusion/poisson_functions.py ../examples/quantum/hydrogen.py ../examples/quantum/dft.py Term: d_volume_surface ../tests/test_volume.py Term: d_volume_dot Term: dw_surface_integrate ../examples/acoustics/acoustics.py Term: dw_lin_elastic_eth Term: dw_adj_convect1 Term: dw_electric_source Term: d_acoustic_surface Term: d_of_ns_min_grad2 Term: d_of_ns_min_grad1 Term: dw_surface_integrate_w Term: dq_state_in_volume_qp Term: de_cauchy_stress ../examples/biot/biot_npbc.py ../examples/homogenization/linear_elastic_mM.py ../examples/linear_elasticity/linear_elastic_probes.py Term: dw_ul_he_mooney_rivlin Term: dw_lin_elastic_iso ../examples/biot/biot.py ../examples/linear_elasticity/linear_elastic_dynamic.py ../examples/linear_elasticity/linear_elastic.py ../examples/phononic/band_gaps_rigid.py ../examples/phononic/band_gaps.py ../examples/piezo_elasticity/piezo.py ../examples/standalone/elastic_materials/compare_elastic_materials.py ../tests/test_elasticity_small_strain.py ../tests/test_lcbc_3d.py ../tests/test_lcbc_2d.py Term: d_sa_acoustic_alpha Term: di_surface_moment Term: dw_ul_he_neohook Term: dw_tl_bulk_penalty ../examples/large_deformation/active_fibres.py ../examples/large_deformation/hyperelastic.py ../examples/standalone/elastic_materials/compare_elastic_materials.py Term: di_volume_integrate_mat Term: de_diffusion_velocity ../examples/biot/biot_npbc.py Term: dw_mass Term: dw_mass_vector ../examples/linear_elasticity/linear_elastic_dynamic.py ../examples/phononic/band_gaps_rigid.py ../examples/phononic/band_gaps.py ../examples/piezo_elasticity/piezo.py Term: d_hdpm_surfdvel ../tests/test_laplace_unit_disk.py ../tests/test_laplace_unit_square.py Term: dw_st_adj1_supg_p Term: de_grad ../tests/test_assembling.py Term: dw_st_grad_div ../examples/navier_stokes/stabilized_navier_stokes.py Term: d_sd_test_pq Term: d_sa_acoustic_z Term: dw_biot ../examples/biot/biot.py ../examples/biot/biot_npbc.py Term: dw_permeability_r Term: dq_cauchy_strain Term: dw_piezo_coupling ../examples/piezo_elasticity/piezo.py Term: d_sd_st_supg_c Term: d_surface_dot Term: dq_state_in_surface_qp Term: dw_volume_dot_w Term: dw_volume_dot_w_scalar_eth Term: d_sd_div Term: de_volume_average_mat Term: dw_acoustic_integrate Term: d_sd_st_pspg_p Term: dw_volume_dot_w_scalar_th Term: dw_diffusion ../examples/biot/biot.py ../examples/biot/biot_npbc.py ../examples/diffusion/octahedron.py ../examples/piezo_elasticity/piezo.py ../tests/test_assembling.py ../tests/test_msm_symbolic.py Term: dw_stokes ../examples/homogenization/linear_homogenization_up.py ../examples/navier_stokes/stabilized_navier_stokes.py ../examples/navier_stokes/navier_stokes.py Term: dw_volume_lvf ../examples/diffusion/poisson_parametric_study.py ../tests/test_msm_symbolic.py ../tests/test_msm_laplace.py Term: dw_tl_he_mooney_rivlin ../examples/large_deformation/hyperelastic.py ../examples/standalone/elastic_materials/compare_elastic_materials.py Term: d_surface Term: dw_div_grad ../examples/navier_stokes/stabilized_navier_stokes.py Term: d_acoustic_alpha Term: d_sd_st_pspg_c Term: dw_mass_scalar ../examples/acoustics/acoustics.py ../examples/diffusion/time_poisson.py ../examples/homogenization/linear_homogenization_up.py ../examples/quantum/hydrogen.py ../examples/quantum/dft.py
-- Andre
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
![](https://secure.gravatar.com/avatar/2b1fbd0c1412f8a5a18ece0488196e0f.jpg?s=120&d=mm&r=g)
Hi Andre,
This is a really great idea! Probably you were thinking this already, but I could see adding this to the user's guide similar to how the term tables are automatically generated (see script/gen_term_tables.py).
Also, I'm not sure if it would be a more straightforward implementation, but it looks like you could use os.path.walk in place of your heap. Anyway, it's fine as is, IMHO. :)
Logan
On Mon, May 17, 2010 at 11:15 PM, Andre Smit <freev...@gmail.com> wrote:
The following list was generated using the attached file (run from the sfepy/scripts folder):
It shows examples or tests using the stated Term (if available). It would be nice to have examples for each of the SfePy terms if possible. Perhaps something to move onto the Easy2Fix list (although most Terms are beyond my comprehension :)
Term: dq_grad ../tests/test_assembling.py Term: dw_volume_integrate_w Term: dw_laplace ../examples/acoustics/acoustics.py ../examples/diffusion/poisson.py ../examples/diffusion/time_poisson.py ../examples/diffusion/subdomains.py ../examples/diffusion/cube.py ../examples/diffusion/sinbc.py ../examples/diffusion/octahedron.py ../examples/diffusion/poisson_functions.py ../examples/diffusion/poisson_parametric_study.py ../examples/quantum/hydrogen.py ../examples/quantum/dft.py ../tests/test_laplace_unit_disk.py ../tests/test_linear_solvers.py ../tests/test_msm_symbolic.py ../tests/test_laplace_unit_square.py ../tests/test_msm_laplace.py ../tests/test_functions.py Term: dw_lin_prestress Term: dq_def_grad Term: dw_acoustic Term: dw_surface_ltr ../examples/standalone/elastic_materials/compare_elastic_materials.py Term: dw_tl_surface_traction ../examples/large_deformation/perfusion_tl.py Term: dw_biot_th Term: d_surface_integrate ../tests/test_assembling.py Term: dw_volume_integrate Term: dw_surface_mass_scalar ../examples/acoustics/acoustics.py Term: d_sd_div_grad Term: dw_point_lspring ../tests/test_elasticity_small_strain.py Term: dw_st_pspg_p ../examples/navier_stokes/stabilized_navier_stokes.py Term: dw_tl_diffusion ../examples/large_deformation/perfusion_tl.py Term: dw_adj_convect2 Term: dw_st_supg_c ../examples/navier_stokes/stabilized_navier_stokes.py Term: d_sd_convect Term: d_sd_st_grad_div Term: dw_of_ns_surf_min_d_press_diff Term: dw_st_pspg_c ../examples/navier_stokes/stabilized_navier_stokes.py Term: dw_lin_elastic ../examples/biot/biot_npbc.py ../examples/homogenization/linear_elastic_mM.py ../examples/homogenization/linear_homogenization.py ../examples/homogenization/linear_homogenization_up.py ../examples/phononic/coef_conf_elastic.py ../examples/standalone/homogenized_elasticity/rs_correctors.py ../tests/test_elasticity_small_strain.py Term: dw_tl_bulk_pressure ../examples/large_deformation/perfusion_tl.py Term: dw_st_supg_p ../examples/navier_stokes/stabilized_navier_stokes.py Term: d_of_ns_surf_min_d_press Term: dw_biot_eth Term: dw_convect Term: de_biot_stress Term: dw_st_adj_supg_c Term: dq_biot_stress Term: dw_lin_convect ../examples/navier_stokes/stabilized_navier_stokes.py Term: dw_tl_volume ../examples/large_deformation/perfusion_tl.py Term: dw_lin_elastic_th Term: dw_surface_mass_scalar_w Term: dq_lin_convect Term: dw_bc_newton Term: dw_jump ../examples/diffusion/subdomains.py ../tests/test_parsing.py Term: d_sa_acoustic_z2 Term: dw_tl_fib_a ../examples/large_deformation/active_fibres.py Term: d_sa_acoustic_alpha2 Term: di_volume_integrate ../examples/phononic/band_gaps_rigid.py ../examples/phononic/band_gaps.py Term: d_volume ../examples/homogenization/linear_homogenization.py ../examples/homogenization/linear_homogenization_up.py ../examples/phononic/band_gaps_rigid.py ../examples/phononic/band_gaps.py ../examples/standalone/homogenized_elasticity/rs_correctors.py ../tests/test_volume.py ../tests/test_parsing.py Term: dw_adj_div_grad Term: dw_stokes_w Term: dw_tl_he_neohook ../examples/large_deformation/active_fibres.py ../examples/large_deformation/perfusion_tl.py ../examples/large_deformation/hyperelastic.py ../examples/standalone/elastic_materials/compare_elastic_materials.py Term: dw_ul_bulk_penalty Term: de_cauchy_strain ../examples/homogenization/linear_elastic_mM.py ../examples/linear_elasticity/linear_elastic_probes.py ../examples/phononic/band_gaps_rigid.py ../tests/testsBasic.py Term: dw_st_adj2_supg_p Term: dw_mass_scalar_fine_coarse Term: de_average_variable Term: dq_cauchy_stress Term: dw_diffusion_r Term: dw_mass_scalar_w ../examples/diffusion/poisson_functions.py ../examples/quantum/hydrogen.py ../examples/quantum/dft.py Term: d_volume_surface ../tests/test_volume.py Term: d_volume_dot Term: dw_surface_integrate ../examples/acoustics/acoustics.py Term: dw_lin_elastic_eth Term: dw_adj_convect1 Term: dw_electric_source Term: d_acoustic_surface Term: d_of_ns_min_grad2 Term: d_of_ns_min_grad1 Term: dw_surface_integrate_w Term: dq_state_in_volume_qp Term: de_cauchy_stress ../examples/biot/biot_npbc.py ../examples/homogenization/linear_elastic_mM.py ../examples/linear_elasticity/linear_elastic_probes.py Term: dw_ul_he_mooney_rivlin Term: dw_lin_elastic_iso ../examples/biot/biot.py ../examples/linear_elasticity/linear_elastic_dynamic.py ../examples/linear_elasticity/linear_elastic.py ../examples/phononic/band_gaps_rigid.py ../examples/phononic/band_gaps.py ../examples/piezo_elasticity/piezo.py ../examples/standalone/elastic_materials/compare_elastic_materials.py ../tests/test_elasticity_small_strain.py ../tests/test_lcbc_3d.py ../tests/test_lcbc_2d.py Term: d_sa_acoustic_alpha Term: di_surface_moment Term: dw_ul_he_neohook Term: dw_tl_bulk_penalty ../examples/large_deformation/active_fibres.py ../examples/large_deformation/hyperelastic.py ../examples/standalone/elastic_materials/compare_elastic_materials.py Term: di_volume_integrate_mat Term: de_diffusion_velocity ../examples/biot/biot_npbc.py Term: dw_mass Term: dw_mass_vector ../examples/linear_elasticity/linear_elastic_dynamic.py ../examples/phononic/band_gaps_rigid.py ../examples/phononic/band_gaps.py ../examples/piezo_elasticity/piezo.py Term: d_hdpm_surfdvel ../tests/test_laplace_unit_disk.py ../tests/test_laplace_unit_square.py Term: dw_st_adj1_supg_p Term: de_grad ../tests/test_assembling.py Term: dw_st_grad_div ../examples/navier_stokes/stabilized_navier_stokes.py Term: d_sd_test_pq Term: d_sa_acoustic_z Term: dw_biot ../examples/biot/biot.py ../examples/biot/biot_npbc.py Term: dw_permeability_r Term: dq_cauchy_strain Term: dw_piezo_coupling ../examples/piezo_elasticity/piezo.py Term: d_sd_st_supg_c Term: d_surface_dot Term: dq_state_in_surface_qp Term: dw_volume_dot_w Term: dw_volume_dot_w_scalar_eth Term: d_sd_div Term: de_volume_average_mat Term: dw_acoustic_integrate Term: d_sd_st_pspg_p Term: dw_volume_dot_w_scalar_th Term: dw_diffusion ../examples/biot/biot.py ../examples/biot/biot_npbc.py ../examples/diffusion/octahedron.py ../examples/piezo_elasticity/piezo.py ../tests/test_assembling.py ../tests/test_msm_symbolic.py Term: dw_stokes ../examples/homogenization/linear_homogenization_up.py ../examples/navier_stokes/stabilized_navier_stokes.py ../examples/navier_stokes/navier_stokes.py Term: dw_volume_lvf ../examples/diffusion/poisson_parametric_study.py ../tests/test_msm_symbolic.py ../tests/test_msm_laplace.py Term: dw_tl_he_mooney_rivlin ../examples/large_deformation/hyperelastic.py ../examples/standalone/elastic_materials/compare_elastic_materials.py Term: d_surface Term: dw_div_grad ../examples/navier_stokes/stabilized_navier_stokes.py Term: d_acoustic_alpha Term: d_sd_st_pspg_c Term: dw_mass_scalar ../examples/acoustics/acoustics.py ../examples/diffusion/time_poisson.py ../examples/homogenization/linear_homogenization_up.py ../examples/quantum/hydrogen.py ../examples/quantum/dft.py
-- Andre
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
![](https://secure.gravatar.com/avatar/27f6b03a726ccff3f7a5007b1df6bf8c.jpg?s=120&d=mm&r=g)
On 05/18/10 05:38, Logan Sorenson wrote:
Hi Andre,
This is a really great idea! Probably you were thinking this already, but I could see adding this to the user's guide similar to how the term tables are automatically generated (see script/gen_term_tables.py).
... with total usage counts in the last row :)
Also, I'm not sure if it would be a more straightforward implementation, but it looks like you could use os.path.walk in place of your heap. Anyway, it's fine as is, IMHO. :)
Yes, os.path.walk is quite nice. There are other interesting functions in os.path...
Logan
On Mon, May 17, 2010 at 11:15 PM, Andre Smit<freev...@gmail.com> wrote:
The following list was generated using the attached file (run from the sfepy/scripts folder):
It shows examples or tests using the stated Term (if available). It would be nice to have examples for each of the SfePy terms if possible. Perhaps something to move onto the Easy2Fix list (although most Terms are beyond my comprehension :)
cheers, r.
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
![](https://secure.gravatar.com/avatar/c04958dbc26d171c3234a126223df468.jpg?s=120&d=mm&r=g)
Yep, don't know about you guys but I tend to learn more from the examples - so I second a listing in the documentation, perhaps with links that'll open the python. I'll generate an issue with missing examples and label it EasyToFix. About the script - I'm still learning :) I used the following as reference: http://pinard.progiciels-bpi.ca/notes/Away_from_os.path.walk.html
also - usage counts could be the incentive to wrap up the examples.
On Tue, May 18, 2010 at 5:18 AM, Robert Cimrman <cimr...@ntc.zcu.cz> wrote:
On 05/18/10 05:38, Logan Sorenson wrote:
Hi Andre,
This is a really great idea! Probably you were thinking this already, but I could see adding this to the user's guide similar to how the term tables are automatically generated (see script/gen_term_tables.py).
... with total usage counts in the last row :)
Also, I'm not sure if it would be a more straightforward
implementation, but it looks like you could use os.path.walk in place of your heap. Anyway, it's fine as is, IMHO. :)
Yes, os.path.walk is quite nice. There are other interesting functions in os.path...
Logan
On Mon, May 17, 2010 at 11:15 PM, Andre Smit<freev...@gmail.com> wrote:
The following list was generated using the attached file (run from the sfepy/scripts folder):
It shows examples or tests using the stated Term (if available). It would be nice to have examples for each of the SfePy terms if possible. Perhaps something to move onto the Easy2Fix list (although most Terms are beyond my comprehension :)
cheers, r.
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com<sfepy-devel%...@googlegroups.com> . For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
-- Andre
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
![](https://secure.gravatar.com/avatar/27f6b03a726ccff3f7a5007b1df6bf8c.jpg?s=120&d=mm&r=g)
Nice article, thanks for the link. Also thanks for taking care of the issue.
r.
On 05/18/10 14:50, Andre Smit wrote:
Yep, don't know about you guys but I tend to learn more from the examples - so I second a listing in the documentation, perhaps with links that'll open the python. I'll generate an issue with missing examples and label it EasyToFix. About the script - I'm still learning :) I used the following as reference: http://pinard.progiciels-bpi.ca/notes/Away_from_os.path.walk.html
also - usage counts could be the incentive to wrap up the examples.
On Tue, May 18, 2010 at 5:18 AM, Robert Cimrman<cimr...@ntc.zcu.cz> wrote:
On 05/18/10 05:38, Logan Sorenson wrote:
Hi Andre,
This is a really great idea! Probably you were thinking this already, but I could see adding this to the user's guide similar to how the term tables are automatically generated (see script/gen_term_tables.py).
... with total usage counts in the last row :)
Also, I'm not sure if it would be a more straightforward
implementation, but it looks like you could use os.path.walk in place of your heap. Anyway, it's fine as is, IMHO. :)
Yes, os.path.walk is quite nice. There are other interesting functions in os.path...
Logan
On Mon, May 17, 2010 at 11:15 PM, Andre Smit<freev...@gmail.com> wrote:
The following list was generated using the attached file (run from the sfepy/scripts folder):
It shows examples or tests using the stated Term (if available). It would be nice to have examples for each of the SfePy terms if possible. Perhaps something to move onto the Easy2Fix list (although most Terms are beyond my comprehension :)
cheers, r.
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com<sfepy-devel%...@googlegroups.com> . For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
![](https://secure.gravatar.com/avatar/2b1fbd0c1412f8a5a18ece0488196e0f.jpg?s=120&d=mm&r=g)
Hi Andre,
On Tue, May 18, 2010 at 8:50 AM, Andre Smit <freev...@gmail.com> wrote:
Yep, don't know about you guys but I tend to learn more from the examples -
Same here. :)
so I second a listing in the documentation, perhaps with links that'll open the python. I'll generate an issue with missing examples and label it EasyToFix. About the script - I'm still learning :) I used the following as reference: http://pinard.progiciels-bpi.ca/notes/Away_from_os.path.walk.html
Same here too. Thanks for the article; it's a good discussion of the topic. I had forgotten about os.walk as well. In the end, I agree with the author's comments: "I did not time the above loops, but I'm pretty sure the improvement is more on the side of conceptual elegance." :)
also - usage counts could be the incentive to wrap up the examples.
+1
Best regards, Logan
On Tue, May 18, 2010 at 5:18 AM, Robert Cimrman <cimr...@ntc.zcu.cz> wrote:
On 05/18/10 05:38, Logan Sorenson wrote:
Hi Andre,
This is a really great idea! Probably you were thinking this already, but I could see adding this to the user's guide similar to how the term tables are automatically generated (see script/gen_term_tables.py).
... with total usage counts in the last row :)
Also, I'm not sure if it would be a more straightforward implementation, but it looks like you could use os.path.walk in place of your heap. Anyway, it's fine as is, IMHO. :)
Yes, os.path.walk is quite nice. There are other interesting functions in os.path...
Logan
On Mon, May 17, 2010 at 11:15 PM, Andre Smit<freev...@gmail.com> wrote:
The following list was generated using the attached file (run from the sfepy/scripts folder):
It shows examples or tests using the stated Term (if available). It would be nice to have examples for each of the SfePy terms if possible. Perhaps something to move onto the Easy2Fix list (although most Terms are beyond my comprehension :)
cheers, r.
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
-- Andre
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
![](https://secure.gravatar.com/avatar/27f6b03a726ccff3f7a5007b1df6bf8c.jpg?s=120&d=mm&r=g)
On 05/18/10 05:15, Andre Smit wrote:
The following list was generated using the attached file (run from the sfepy/scripts folder):
It shows examples or tests using the stated Term (if available). It would be nice to have examples for each of the SfePy terms if possible. Perhaps something to move onto the Easy2Fix list (although most Terms are beyond my comprehension :)
Very nice!
+1 to cover all the terms in tests/examples. For dw_* terms and most of the other terms it should not be too difficult... There are some peculiarities, though. :)
I have used / use all the terms in various applications, but as one usually works on one or two topics at a time, the other applications tend to decay (the 2nd law of thermodynamics at play again!), so having tests covering all is always a good idea.
Could you create a new issue with a list of terms that are not covered yet? We could then attach ideas on possible examples to that issue.
Term: dq_grad ../tests/test_assembling.py Term: dw_volume_integrate_w Term: dw_laplace ../examples/acoustics/acoustics.py ../examples/diffusion/poisson.py ...
thanks! r.
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
participants (3)
-
Andre Smit
-
Logan Sorenson
-
Robert Cimrman