Commit b298efd1 authored by Marco Bomben's avatar Marco Bomben
Browse files

working version of SilvacoParser tested on several configurations

parent 0f508ae4
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