Git Product home page Git Product logo

imr's People

Contributors

dbeurle avatar phuschke avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

imr's Issues

Undefined behavior with serial meshes

When outputting a serial mesh, sometimes the code speeds a very long time allocating and deallocating memory. This behavior is not apparent with decomposed meshes.

Abaqus converter

Abaqus has a nice structured mesh generator that should be read in and converted.

json mesh format

It would be cool to output the data into json format. It would be used to read in the data quickly by each process and the parsing can be minimal.

Distributed mesh file

The output for the distributed mesh is a little confusing. @phuschke What exactly does the following mean? I have a unit square with four partitions of each one element. For the first partition I get:

{
    "GlobalStartId" : [ 4 ],
    "Master" : [ 1 ],
    "NodeIds" : [
       [ 9 ]
    ],
    "Slave" : [ 4 ],
    "Value" : [ 1 ]
}

From what I can gather, Master is the owner (partition 1) and Slave is partition 4. But this node is also shared on process 2 and 3, but there is no mention of this here. Is this something specific to FETI?

Also for the Value field: it is 1 if this partition is the owner from processId == master_partition - 1 ? 1 : -1 but can't this be determined from Master and the current process number? Also will these fields ever be more than one element? If not - can't we just use single values?

Catch path in tests/ReaderTest.cpp

I think that the catch path in missing in tests/ReaderTest.cpp. Maybe use #include <catch/catch.hpp> instead of #include <catch.hpp>?

gmsh format 4

There is a new gmsh format. We should handle that.

Command line option --with-indices not working

Problem

Neither

gmshreader --with-indices gmshMWE.msh

nor

gmshreader --local-ordering --with-indices gmshMWE.msh

gives the expected result.

MWE

gmshMWE.msh

$MeshFormat
2.2 0 8
$EndMeshFormat
$Nodes
5
1 0 0 0
2 1 0 0
3 1 1 0
4 0 1 0
5 0.5 0.5 0
$EndNodes
$Elements
4
1 2 5 7 6 2 2 -1 1 2 5
2 2 5 7 6 2 1 -2 1 5 4
3 2 5 7 6 2 2 -1 2 3 5
4 2 5 7 6 2 1 -2 3 4 5
$EndElements

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.