Skip to content
Snippets Groups Projects
Select Git revision
  • 1aec02c9de957a804fff46dca0460fbd88f79c31
  • master default
  • cgnsUnstructured
  • partitioning
  • poppler
  • HighOrderBLCurving
  • gmsh_3_0_4
  • gmsh_3_0_3
  • gmsh_3_0_2
  • gmsh_3_0_1
  • gmsh_3_0_0
  • gmsh_2_16_0
  • gmsh_2_15_0
  • gmsh_2_14_1
  • gmsh_2_14_0
  • gmsh_2_13_2
  • gmsh_2_13_1
  • gmsh_2_12_0
  • gmsh_2_11_0
  • gmsh_2_10_1
  • gmsh_2_10_0
  • gmsh_2_9_3
  • gmsh_2_9_2
  • gmsh_2_9_1
  • gmsh_2_9_0
  • gmsh_2_8_6
26 results

Basis.h

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    • Nicolas Marsic's avatar
      1aec02c9
      ** ReferenceSpace: · 1aec02c9
      Nicolas Marsic authored
          -- Add Point Mapping from ABC space to XYZ space
          -- Handle Elements with no Face
      
      ** LineBasis:
          -- Works again
      
      ** Jacobian and GroupOfJacobian:
          -- Computes Good Jacobian from Basis ReferenceSpace
      
      ** Formulation:
          -- Addapted for good Jacobian
      
      ** TermProjection:
          -- Addapted to compute function to project at good point (see ReferenceSpace ABCtoXYZ mapping)
      
      ** Laplace, Poisson, SteadyWave:
          -- Passed with all basis
      
      ** WARNING:
          -- Tet Basis NOT Retested (but seems to work)
          -- FunctionSpace::getDof doesn't work if wrong element type (because of basis implication)
          -- SystemAbstract::fixCoef doesn't work anymore (see above)
          -- Problem with cureved Element (getTypeForMSH gives HO element for FunctionSpace::getDof)
      1aec02c9
      History
      ** ReferenceSpace:
      Nicolas Marsic authored
          -- Add Point Mapping from ABC space to XYZ space
          -- Handle Elements with no Face
      
      ** LineBasis:
          -- Works again
      
      ** Jacobian and GroupOfJacobian:
          -- Computes Good Jacobian from Basis ReferenceSpace
      
      ** Formulation:
          -- Addapted for good Jacobian
      
      ** TermProjection:
          -- Addapted to compute function to project at good point (see ReferenceSpace ABCtoXYZ mapping)
      
      ** Laplace, Poisson, SteadyWave:
          -- Passed with all basis
      
      ** WARNING:
          -- Tet Basis NOT Retested (but seems to work)
          -- FunctionSpace::getDof doesn't work if wrong element type (because of basis implication)
          -- SystemAbstract::fixCoef doesn't work anymore (see above)
          -- Problem with cureved Element (getTypeForMSH gives HO element for FunctionSpace::getDof)
    msh_attributes.py 513 B
    import gmsh
    gmsh.initialize()
    gmsh.model.occ.addBox(0,0,0,1,1,1)
    gmsh.model.occ.synchronize()
    gmsh.model.mesh.generate()
    gmsh.model.setAttribute('Comments', ["Hello this is my comment on the block model",
                                         "... and a second comment"])
    gmsh.write('block_with_attribute.msh')
    gmsh.finalize()
    
    gmsh.initialize()
    gmsh.open('block_with_attribute.msh')
    for attr in gmsh.model.getAttributeNames():
        print('Attribute ' + attr + " = ", gmsh.model.getAttribute(attr))
    gmsh.finalize()