Skip to content
Snippets Groups Projects
  1. Sep 20, 2018
  2. Sep 19, 2018
  3. Sep 05, 2018
    • Martin Bauer's avatar
      Bugfix in Field.Access · 9a147ba2
      Martin Bauer authored
      - hash function was not correctly implemented
      - sometimes this caused a bug where latex version was not correctly displayed
      9a147ba2
  4. Jun 07, 2018
    • Martin Bauer's avatar
      pystencils field · 8ca5e2fb
      Martin Bauer authored
      - better latex display for indirect accesses
      - new field type 'custom': only custom fields can be accessed indirectly
        no static bounds check possible for custom fields
      8ca5e2fb
  5. May 28, 2018
  6. Apr 30, 2018
  7. Apr 28, 2018
  8. Apr 27, 2018
  9. Apr 18, 2018
  10. Apr 13, 2018
  11. Apr 12, 2018
  12. Apr 10, 2018
  13. Mar 28, 2018
  14. Feb 10, 2018
  15. Feb 08, 2018
    • Martin Bauer's avatar
      lbmpy phasefield · 9cf1ac28
      Martin Bauer authored
      - step class for LB phasefield generic enough to work with 3-phase and
        N-phase models
      - cahn hilliard can either be solved by LBM or by finite differences
      - 3 phase model can be solved with rho phase or without
      9cf1ac28
  16. Feb 06, 2018
  17. Jan 31, 2018
  18. Jan 19, 2018
    • João Victor Tozatti Risso's avatar
      Code generation for field serialization into buffers · 979ee93b
      João Victor Tozatti Risso authored and Martin Bauer's avatar Martin Bauer committed
      Concept: Generate code involving the (un)packing of fields (from)to linear
      (1D) arrays, i.e. (de)serialization of the field values for buffered
      communication.
      
      A linear index is generated for the buffer, by inferring the strides and
      variables of the loops over fields in the AST. In the CPU, this information is
      obtained through the makeLoopOverDomain function, in
      pystencils/transformations/transformations.py. On CUDA, the strides of
      the fields (excluding buffers) are combined with the indexing variables to infer
      the indexing of the buffer.
      
      What is supported:
          - code generation for both CPU and GPU
          - (un)packing of fields with all the memory layouts supported by
          pystencils
          - (un)packing slices of fields (from)into the buffer
          - (un)packing subsets of cell values from the fields (from)into the buffer
      
      Limitations:
      
      - assumes that only one buffer and one field are being operated within
      each kernel, however multiple equations involving the buffer and the
      field are supported.
      
      - (un)packing multiple cell values (from)into the buffer is supported,
      however it is limited to the fields with indexDimensions=1. The same
      applies to (un)packing subset of cell values of each cell.
      
      Changes in this commit:
      
      - add the FieldType enumeration to pystencils/field.py, to mark fields
      of various types. This is replaces and is a generalization of the
      isIndexedField boolean flag of the Field class. For now, the types
      supported are: generic, indexed and buffer fields.
      
      - add the fieldType property to the Field class, which indicates the
      type of the field. Modifications were also performed to the member
      functions of the Field class to add this property.
      
      - add resolveBufferAccesses function, which replaces the fields marked
      as buffers with the actual field access in the AST traversal.
      
      Miscelaneous changes:
      
      - add blockDim and gridDim variables as CUDA indexing variables.
      979ee93b
  19. Jan 11, 2018
  20. Dec 11, 2017
  21. Oct 11, 2017
  22. Oct 10, 2017
  23. Sep 16, 2017
  24. Aug 11, 2017