Skip to content
Snippets Groups Projects
Select Git revision
  • 0ff60840eaa19217ac9c935a107f73edb694a129
  • master default
  • dev_use_wrappers
  • dev_rotating_squares
  • topology_optimization
  • dev_additional_macro_DOF
  • fix_bug_gmsh_model_getBoundary
  • dev_Manon
  • aux_triangle_microstructure
  • Fix_tests
  • Clean_homogenization_script
  • reorganize_part_classes
  • Correction-of-demo-scripts
  • improve_structure
  • new_pantograph_microstructures
  • xdmf_management
  • update-demo-scripts
  • Improve_readability
  • fix_demos
  • older_versions
  • mesh_refinement_correction
21 results

PKG-INFO

Blame
  • PKG-INFO 7.60 KiB
    Metadata-Version: 2.1
    Name: ho-homog
    Version: 0.1
    Summary: Numerical homogenization of periodic materials by use of a higher order homogenization scheme.
    Home-page: https://gitlab.enpc.fr/baptiste.durand/HO_homog
    Author: Baptiste Durand, Arthur Lebée
    Author-email: baptiste.durand@enpc.fr
    License: UNKNOWN
    Description: <!-- # Project Title
            
            One Paragraph of project description goes here -->
            
            # HO_homog
            
            **TODO** : *One Paragraph of project description goes here*
            
            ## Getting Started
            
            The **HO_homog** project is developped on Ubuntu 18.04 with the programming language Python3.
            
            The current stable release of the **HO_homog** Python library can be downloaded from this [repository](https://gitlab.enpc.fr/baptiste.durand/HO_homog/tree/master).
            
            ### Prerequisites
            
            Before using the **HO_homog** tools FEniCS and `pip` (or setuptools) must be installed.
            
            #### FEniCS
            
            To install the FEniCS on Ubuntu, run the following commands:
            
            ```bash
            sudo apt-get install software-properties-common
            sudo add-apt-repository ppa:fenics-packages/fenics
            sudo apt-get update
            sudo apt-get install --no-install-recommends fenics
            ```
            
            For more information about installation or instructions for other platforms see the [fenicsproject website](https://fenicsproject.org/download/) and the [FEniCS reference manual](https://fenics.readthedocs.io/en/latest/installation.html#debian-ubuntu-packages).
            
            
            #### Virtual Environment
            Using a virtual environment for Python projects is recommended. **HO_homog** and Gmsh can be installed inside a virtual environment but FEniCS cannot.
            
            Make a new virtual environment :
            ```bash
            python3 -m venv /path/to/project/project_name
            ```
            Then activate it :
            ```bash
            source /path/to/project/project_name/bin/activate
            ```
            Now, the HO_homog package and its dependencies can be installed inside this virtual environment (see instructions below).
            
            Supposing FEniCS has been already installed on the system, the settings of the virtual environment should be modified to make it accessible. In `/path/to/project/project_name/pyenv.cfg` : `include-system-site-packages = true`.
            
            ### Installing
            The **HO_homog** Python package can be installed with `pip`.
            - Install it from the gitlab repository directly (preferred way):
            
            ```bash
            pip3 install git+https://baptiste.durand@gitlab.enpc.fr/baptiste.durand/HO_homog.git#egg=ho_homog
            ```
            
            - Or [download](https://gitlab.enpc.fr/baptiste.durand/HO_homog/repository/archive.tar?ref=master) the HO_homog repository files. Then, move to the HO_homog directory and use `pip` :
            
            ```bash
             pip3 install . --no-cache-dir
            ```
            
            <!--