[Kratos] kratos cleanup - work left to be done

rrossi en cimne.upc.edu rrossi en cimne.upc.edu
Mie Abr 4 19:05:47 CEST 2012


  

Hi all, 

 i have here some easter gift, that is, work left undone
during the cleanup of the last days which i would like to be fixed as
soon as possible. 

by doing a grep for 

from Kratos import * 

it
appears that there are still a lot of files which use the old importing
format instead of the new one within the kratos dir. 

please consider
that files that use the old import format will not work any longer, and
hence should be either corrected or removed. Removal is an excellent
option for unused files 

since there is a lot of work to be done we
need to split it. 

i will take care of the incompressible and opencl
applications. 

I would like everyone to keep responsability of his own
application (or of one app for solidariety) and make the corrections as
soon as possible (let's say by wednesday next week) 

my proposal for
work share is: 

Janosch+Nelson -> structural_app & constitutitve_law
app 

Pavel -> ULFapplication 

Kazem -> thermomechanical 

Julio ->
convection_diffusion 

Pablo -> ALEapplicaton 

Miquel o Miguelangel ->
DEMapp 

Jordi -> trilinos 

Javier Mora -> electromagnetic applications
(Javier, this apps need maintenance ... do you plan to do it or should
we consider them "dead"?) 

ciao and happy easter 

Riccardo 

the
complete list of wrong files follows 

-*- mode: compilation;
default-directory: "~/kratos/" -*-
Compilation started at Wed Apr 4
18:44:48

grep -r "from Kratos import "
*
applications/OpenCLapplication/test_examples/square_edgebased.gid/edgebased_PureConvection.py:from
Kratos import
*
applications/OpenCLapplication/test_examples/cube_edgebased_conv.gid/opencl_edgebased_PureConvection.py:from
Kratos import
*
applications/OpenCLapplication/test_examples/cube_edgebased_conv.gid/edgebased_PureConvection.py:from
Kratos import
*
applications/OpenCLapplication/test_examples/cavity3d_edgebased.gid/gpu_edgebased.py:from
Kratos import
*
applications/OpenCLapplication/test_examples/cavity3d_edgebased.gid/cpu_edgebased.py:from
Kratos import
*
applications/OpenCLapplication/test_examples/opencl_benchmark_device/opencl_benchmark_device.py:from
Kratos import
*
applications/OpenCLapplication/python_scripts/opencl_eulerian_NS_solver.py:from
Kratos import
*
applications/ThermoMechanicalApplication/test_examples/square_convection.gid/top_temperature.py:from
Kratos import
*
applications/ThermoMechanicalApplication/test_examples/square_convection.gid/trilinos_rotating_cone.py:from
Kratos import
*
aapplications/ThermoMechanicalApplication/test_examples/square_convection.gid/rotating_cone.py:from
Kratos import
*
applications/ThermoMechanicalApplication/test_examples/square_convection.gid/trilinos_top_temperature.py:from
Kratos import
*
applications/ThermoMechanicalApplication/test_examples/duplicate_test.gid/script.py:from
Kratos import
*
applications/ThermoMechanicalApplication/test_examples/duplicate_test.gid/run_example_trilinos.py:from
Kratos import
*
applications/ThermoMechanicalApplication/test_examples/pure_convection_3d.gid/3d_rotating_cone.py:from
Kratos import
*
applications/ThermoMechanicalApplication/test_examples/pure_convection_3d.gid/trilinos_3d_rotating_cone.py:from
Kratos import
*
applications/ThermoMechanicalApplication/test_examples/Activation_test.gid/activation_test.py:from
Kratos import
*
applications/ThermoMechanicalApplication/test_examples/square_split.gid/split.py:from
Kratos import
*
applications/ThermoMechanicalApplication/python_scripts/thermo_monolithic_solver_eulerian_3d.py:from
Kratos import
*
applications/ThermoMechanicalApplication/python_scripts/thermo_monolithic_solver_eulerian.py:from
Kratos import
*
applications/ThermoMechanicalApplication/python_scripts/trilinos_thermal_solver.py:from
Kratos import
*
applications/ThermoMechanicalApplication/python_scripts/trilinos_pureconvection_solver.py:from
Kratos import
*
applications/kPoisson/custom_problemtype/kPoisson.gid/kPoisson.bas:from
Kratos import
**
applications/kPoisson/test_examples/our_example.gid/our_example.py:from
Kratos import
*
applications/kPoisson/python_scripts/strategy_python.py.old:from
Kratos import
*
applications/PFEMapplication/test_exemples/dam3d.gid/dam3d_onlyfluid.py:from
Kratos import
*
applications/PODApplication/python_scripts/monolithic_solver_eulerian_POD.py:from
Kratos import
*
applications/PODApplication/python_scripts/monolithic_solver_eulerian_standard_biggerlocalM.py:from
Kratos import
*
applications/PODApplication/python_scripts/monolithic_solver_eulerian_standard.py:from
Kratos import
*
applications/kElectrostatic/custom_problemtype/kElectrostatic.gid/kElectrostatic.bas:from
Kratos import
**
applications/kElectrostatic/custom_problemtype/kElectrostatic3D.gid/kElectrostatic3D.bas:from
Kratos import
**
applications/kElectrostatic/test_examples/validation/Basic2DkElectrostatic.gid/Basic2DkElectrostatic.py:from
Kratos import
*
applications/kElectrostatic/python_scripts/strategy_python.py:from
Kratos import
*
applications/kElectrostatic/python_scripts/nonlinear_convection_diffusion_solver.py:from
Kratos import
*
applications/kElectrostatic/python_scripts/strategy_python.py.old:from
Kratos import
*
applications/kElectrostatic/python_scripts/convection_diffusion_solver.py:from
Kratos import *
applications/kElectrostatic/python_scripts/Copia de
static_poisson_solver.py:from Kratos import
*
applications/kElectrostatic/python_scripts/static_poisson_solver.py:from
Kratos import
*
applications/Qcompressible_fluid_application/python_scripts/Qcompressible_fluid_solver.py:from
Kratos import
*
applications/incompressible_fluid_application/custom_problemtype/problemtype_generator/edgebased_levelset.gid_backup/script.py:from
Kratos import
*
applications/incompressible_fluid_application/custom_problemtype/problemtype_generator/fluid_only.gid/script.py:from
Kratos import
*
applications/incompressible_fluid_application/custom_problemtype/problemtype_generator/fluid_only.gid/run_example_trilinos.py:from
Kratos import
*
applications/incompressible_fluid_application/custom_problemtype/fluid_only.gid/script.py:from
Kratos import
*
applications/incompressible_fluid_application/custom_problemtype/fluid_only.gid/run_example_trilinos.py:from
Kratos import
*
aapplications/incompressible_fluid_application/custom_problemtype/fluid_only.gid/run_example.py:from
Kratos import
*
applications/incompressible_fluid_application/test_examples/cylinder.gid/run_example_trilinos.py:from
Kratos import
*
applications/incompressible_fluid_application/test_examples/naca3d.gid/test.py:from
Kratos import
*
applications/incompressible_fluid_application/test_examples/naca3d.gid/run_benchmark.py:from
Kratos import
*
applications/incompressible_fluid_application/test_examples/mass_conservation.gid/run_benchmark.py:from
Kratos import
*
applications/incompressible_fluid_application/test_examples/mass_conservation.gid/test_substep.py:from
Kratos import
*
applications/incompressible_fluid_application/test_examples/mixing_comp.gid/mixing_comp.py:from
Kratos import
*
applications/incompressible_fluid_application/test_examples/mixing_comp.gid/mixing_bous.py:from
Kratos import
*
applications/incompressible_fluid_application/test_examples/test_reconnect.py:from
Kratos import
*
applications/incompressible_fluid_application/test_examples/cilinderGLS.gid/cil_gls.py:from
Kratos import
*
applications/incompressible_fluid_application/test_examples/cilinderGLS.gid/cil_oss.py:from
Kratos import
*
applications/incompressible_fluid_application/test_examples/CavityMonolithic.gid/test.py:from
Kratos import
*
applications/incompressible_fluid_application/test_examples/CavityMonolithic.gid/teststructuralsolvert.py:from
Kratos import
*
applications/incompressible_fluid_application/python_scripts/trilinos_fs_fluid_solver.py:##
backupfile.write( "from Kratos import
*n");
applications/FluidDynamicsApplication/test_examples/vms2d_test/ric.py:from
Kratos import
*
applications/FluidDynamicsApplication/test_examples/oss_trapezoid/ric.py:from
Kratos import
*
applications/metis_application/test_exemples/square_domain/square_domain_contact.py:from
Kratos import
*
applications/metis_application/test_exemples/square_domain/square_domain.py:from
Kratos import
*
applications/petsc_application/python_scripts/petsc_structural_solver_static.py:from
Kratos import
*
applications/kMagnetostatic/custom_problemtype/kMagnetostatic.gid/kMagnetostatic.bas:from
Kratos import
**
applications/kMagnetostatic/custom_problemtype/kMagnetostatic3D.gid/kMagnetostatic3D.bas:from
Kratos import
**
applications/kMagnetostatic/test_examples/exhibition/basic-motor.gid/basic-motor.py:from
Kratos import
*
applications/kMagnetostatic/python_scripts/strategy_python.py:from
Kratos import
*
applications/kMagnetostatic/python_scripts/nonlinear_convection_diffusion_solver.py:from
Kratos import
*
applications/kMagnetostatic/python_scripts/strategy_python.py.old:from
Kratos import
*
applications/kMagnetostatic/python_scripts/convection_diffusion_solver.py:from
Kratos import *
applications/kMagnetostatic/python_scripts/Copia de
static_poisson_solver.py:from Kratos import
*
applications/kMagnetostatic/python_scripts/static_poisson_solver.py:from
Kratos import
*
applications/FSIapplication/custom_problemtype/problemtype_generator/fsi_python/script.py:from
Kratos import
*
applications/FSIapplication/test_examples/flag_test.gid/flag_test.py:from
Kratos import
*
applications/FSIapplication/test_examples/flag_test.gid/flag_test_fractstepcoupling.py:from
Kratos import
*
applications/FSIapplication/test_examples/flag_test.gid/flag_test_fractstepcoupling_aitken.py:from
Kratos import
*
applications/FSIapplication/python_scripts/FractionalStepCoupling.py:from
Kratos import
*
applications/FSIapplication/python_scripts/ExplicitCoupling.py:from
Kratos import
*
applications/FSIapplication/python_scripts/FractionalStepCouplingAitken.py:from
Kratos import
*
applications/FSIapplication/python_scripts/coupling_file_prototype.py:from
Kratos import
*
applications/FSIapplication/python_scripts/PredictorCorrectorCouplingAitken.py:from
Kratos import
*
applications/FSIapplication/python_scripts/FractionalStepCouplingRigidBody.py:from
Kratos import
*
applications/FSIapplication/coupled_3d_cylinder.gid/test.py:from
Kratos import
*
applications/FSIapplication/coupled_3d_cylinder.gid/test_fluid.py:from
Kratos import
*
applications/FSIapplication/coupled_3d_cylinder.gid/coupled_3d_cylinder.py:from
Kratos import
*
applications/ULFapplication/test_exemples/dam_2d_FSI.gid/script.py:from
Kratos import
*
applications/ULFapplication/test_exemples/dam_2d.gid/script.py:from
Kratos import
*
applications/ULFapplication/test_exemples/slosh.gid/slosh.py:from
Kratos import
*
applications/ULFapplication/test_exemples/slosh.gid/SLOSHING_SCRIPT.py:from
Kratos import
*
applications/ULFapplication/python_scripts/ulf_fsi.py:from Kratos
import
*
applications/ULFapplication/python_scripts/ulf_strategy_python.py:from
Kratos import
*
applications/ULFapplication/python_scripts/ulf_strategy_python_inc.py:from
Kratos import
*
applications/ULFapplication/python_scripts/ulf_strategy_python_inc_rigid.py:from
Kratos import
*
applications/ULFapplication/python_scripts/ulf_frac.py:from Kratos
import *
applications/ULFapplication/python_scripts/ulf_fsi_inc.py:from
Kratos import
*
applications/ULFapplication/python_scripts/ulf_frac_strategy.py:from
Kratos import
*
applications/ULFapplication/custom_problemtypes/fluid_ulf_scripts/script.py:from
Kratos import
*
applications/mpi_search_application/test_examples/cavity2D.gid/trilinos_test.py:from
Kratos import
*
applications/ExternalSolversApplication/test_examples/cantilever2d.gid/cantilever2dstatic.py:from
Kratos import
*
applications/ExternalSolversApplication/test_examples/cantilever2d.gid/cantilever2ddynamic.py:from
Kratos import
*
applications/ExternalSolversApplication/test_examples/cavity2d.gid/cavity2d.py:from
Kratos import
*
applications/ExternalSolversApplication/test_examples/cantilever2d4.gid/cantilever2dstatic.py:from
Kratos import
*
applications/LevelSetApplication/python_scripts/levelset_solver.py:from
Kratos import
*
applications/LevelSetApplication/python_scripts/levelset_solver.py:##
backupfile.write( "from Kratos import
*n");
applications/trilinos_application/test_examples/cantilever2d.gid/cantilever2dstatic.py:from
Kratos import
*
applications/trilinos_application/test_examples/cantilever2d.gid/KratosMPI.py:from
Kratos import
*
applications/trilinos_application/test_examples/cantilever2d.gid/test_first.py:from
Kratos import
*
applications/trilinos_application/test_examples/cantilever3d.gid/cantilever3dstatic.py:from
Kratos import
*
applications/trilinos_application/test_examples/cantilever3d.gid/cantilever_amesos.py:from
Kratos import
*
applications/trilinos_application/test_examples/cantilever3d.gid/cantilever_aztec.py:from
Kratos import
*
applications/trilinos_application/python_scripts/trilinos_contact_strategy.py:from
Kratos import
*
applications/trilinos_application/python_scripts/trilinos_contact_structural_solver.py:from
Kratos import
*
applications/trilinos_application/python_scripts/trilinos_decoupled_up_strategy_python.py:from
Kratos import
*
applications/trilinos_application/python_scripts/trilinos_convdiff_solver.py:from
Kratos import
*
applications/trilinos_application/python_scripts/trilinos_levelset_solver.py:from
Kratos import
*
applications/ALEapplication/test_examples/cavity3D.gid/cavity3D.py:from
Kratos import
*
applications/ALEapplication/test_examples/profil_surface.gid/profil_surface.py:from
Kratos import
*
applications/ALEapplication/test_examples/cavity2d.gid/cavity2d.py:from
Kratos import
*
applications/ALEapplication/python_scripts/mesh_solver_ballvertex.py:from
Kratos import
*
applications/ALEapplication/python_scripts/mesh_solver.py:from Kratos
import
*
applications/DEM_application/custom_problemtype/DEM_explicit_solver(NEW).gid/script.py:from
Kratos import
*
applications/DEM_application/custom_problemtype/problemtype_generator/DEM_explicit_script/script.py:from
Kratos import
*
applications/DEM_application/python_scripts/circle_hertzian_explicit_solver.py:from
Kratos import
*
applications/DEM_application/python_scripts/rotating_sphere_spring_explicit_solver.py:from
Kratos import
*
applications/DEM_application/python_scripts/sphere_spring_explicit_solver.py:from
Kratos import
*
applications/DEM_application/python_scripts/rotating_sphere_hertzian_explicit_solver.py:from
Kratos import
*
applications/DEM_application/python_scripts/circle_spring_explicit_solver.py:from
Kratos import
*
applications/DEM_application/python_scripts/sphere_hertzian_explicit_solver.py:from
Kratos import
*
applications/constitutive_laws_application/test_examples/beam_3d.gid/beam_3d_include.py:from
Kratos import
*
applications/MeshingApplication/test_exemples/refine.gid/refine_ric.py:from
Kratos import
*
applications/convection_diffusion_application/test_examples/square_edgebased.gid/edgebased_PureConvection.py:from
Kratos import
*
applications/convection_diffusion_application/test_examples/testConvection.gid/small_test.py:from
Kratos import
*
applications/convection_diffusion_application/test_examples/square.gid/rotating_cone2.py:from
Kratos import
*
applications/structural_application/custom_problemtype/problemtype_generator/fsi_structure_scripts/script.py:from
Kratos import
*
applications/structural_application/custom_problemtype/problemtype_generator/structural_application_scripts/script.py:from
Kratos import
*
applications/structural_application/test_examples/balken_trilinos.gid/balken_trilinos_include.py:from
Kratos import
*
applications/structural_application/test_examples/activation_test.gid/activation_test.py:#from
Kratos import
*
applications/structural_application/test_examples/activation_test2.gid/activation_test2.py:#from
Kratos import
*
applications/structural_application/test_examples/balken.gid/balken_include_trilinos.py:from
Kratos import
*
applications/structural_application/test_examples/balken.gid/balken_include.py:from
Kratos import
*
applications/structural_application/python_scripts/uzawa_contact_strategy.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_dynamic_newmark_contact.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_dynamic_central_differences.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_dynamic.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_dynamic_rotation_general.py:from
Kratos import
*
applications/structural_application/python_scripts/strategy_python.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_dynamic_superlu.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_advanced.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_multiphase.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_dynamic_contact.py:from
Kratos import
*
applications/structural_application/python_scripts/parallel_strategy_python.py:from
Kratos import
*
applications/structural_application/python_scripts/smoothing_gradients.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_static_general.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_dynamic_general.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_dynamic_newmark.py:from
Kratos import
*
applications/structural_application/python_scripts/strategy_python_UL.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_static_parallel.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_dynamic_rotation.py:from
Kratos import
*
applications/structural_application/python_scripts/inter_elem_split.py:from
Kratos import
*
applications/structural_application/python_scripts/intra_elem_split.py:from
Kratos import
*
applications/structural_application/python_scripts/split_elem.py:from
Kratos import
*
applications/structural_application/python_scripts/strategy_python_contact.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_relaxation.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_static_contact.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_static.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_dynamic_superlu_contact.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_static_arc_length.py:from
Kratos import
*
applications/structural_application/python_scripts/structural_solver_advanced_parallel.py:from
Kratos import
*
applications/gpu_solvers_application/test_examples/LinearSolversTesting/tests.py:from
Kratos import
*
applications/gpu_solvers_application/test_examples/LinearSolversTesting/test-amg.py:from
Kratos import
*
applications/gpu_solvers_application/test_examples/cavity2d.gid/cavity2d_cpu.py:from
Kratos import
*
applications/gpu_solvers_application/test_examples/cavity2d.gid/cavity2d_gpu.py:from
Kratos import
*
applications/gpu_solvers_application/test_examples/cavity2d.gid/cavity2d_cpu_with_diagonal_preconditioner.py:from
Kratos import
*
applications/gpu_solvers_application/test_examples/cavity2d.gid/cavity2d_gpu_with_diagonal_preconditioner.py:from
Kratos import * 
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://listas.cimne.upc.edu/pipermail/kratos/attachments/20120404/bf253c75/attachment-0001.htm 


Más información sobre la lista de distribución Kratos