You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
39 lines
1.1 KiB
// Copyright(C) 1999-2020, 2022 National Technology & Engineering Solutions
|
|
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
|
|
// NTESS, the U.S. Government retains certain rights in this software.
|
|
//
|
|
// See packages/seacas/LICENSE for details
|
|
#pragma once
|
|
|
|
#include "exo_entity.h"
|
|
#include <iostream>
|
|
|
|
template <typename INT> class ExoII_Read;
|
|
|
|
template <typename INT> class Edge_Block : public Exo_Entity
|
|
{
|
|
public:
|
|
Edge_Block();
|
|
Edge_Block(int file_id, size_t id);
|
|
Edge_Block(int file_id, size_t id, size_t ne);
|
|
~Edge_Block() override;
|
|
|
|
size_t Edge_Index(size_t position) const;
|
|
|
|
int Check_State() const;
|
|
|
|
private:
|
|
Edge_Block(const Edge_Block &) = delete; // Not written.
|
|
const Edge_Block &operator=(const Edge_Block &) = delete; // Not written.
|
|
|
|
void entity_load_params() override;
|
|
|
|
EXOTYPE exodus_type() const override;
|
|
const char *label() const override { return "Edgeblock"; }
|
|
const char *short_label() const override { return "edgeblock"; }
|
|
|
|
std::string elmt_type{};
|
|
int num_edges_per_elmt{-1};
|
|
|
|
friend class ExoII_Read<INT>;
|
|
};
|
|
|