Commit 201495d4 authored by Marco Bomben's avatar Marco Bomben Committed by Simon Spannagel
Browse files

working version of SilvacoParser tested on several configurations

(cherry picked from commit b298efd1)
parent 1536ebca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -79,9 +79,9 @@ MeshMap SilvacoParser::read_meshes(const std::string& file_name) {
            while ( iss >> val ) {
                columns_count++;
            }
            dimension = columns_count;
            iss.clear();
        }
        dimension = columns_count;
 

        // Handle data
+0 −20
Original line number Diff line number Diff line
@@ -20,26 +20,6 @@
namespace mesh_converter {

    class SilvacoParser : public MeshParser {
        // Sections to read in extracted files
        enum class DFSection {
            NONE = 0,
            IGNORED,
            HEADER,
            INFO,
            REGION,
            COORDINATES,
            VERTICES,
            EDGES,
            FACES,
            ELEMENTS,

            DONOR_CONCENTRATION,
            DOPING_CONCENTRATION,
            ACCEPTOR_CONCENTRATION,
            ELECTRIC_FIELD,
            ELECTROSTATIC_POTENTIAL,
            VALUES
        };

    private:
        // Read the grid