tools/mesh_converter/parsers/DFISEParser.hpp
Namespaces
Name |
---|
mesh_converter |
Classes
Name | |
---|---|
class | mesh_converter::DFISEParser |
Detailed Description
Copyright: Copyright (c) 2017-2024 CERN and the Allpix Squared authors. This software is distributed under the terms of the MIT License, copied verbatim in the file “LICENSE.md”. In applying this license, CERN does not waive the privileges and immunities granted to it by virtue of its status as an Intergovernmental Organization or submit itself to any jurisdiction. SPDX-License-Identifier: MIT
Source code
#ifndef ALLPIX_MESHPARSER_DFISE_H
#define ALLPIX_MESHPARSER_DFISE_H
#include "../MeshParser.hpp"
#include <iostream>
#include <map>
#include <vector>
namespace mesh_converter {
class DFISEParser : public MeshParser {
// Sections to read in DF-ISE file
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
MeshMap read_meshes(const std::string& file_name) override;
// Read the electric field
FieldMap read_fields(const std::string& file_name, const std::string& observable) override;
};
} // namespace mesh_converter
#endif // ALLPIX_MESHPARSER_DFISE_H
Updated on 2024-12-13 at 08:31:37 +0000