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.
22 lines
433 B
22 lines
433 B
2 years ago
|
#pragma once
|
||
|
|
||
|
#include <iostream>
|
||
|
#include <string>
|
||
|
|
||
|
#include <mshio/MshSpec.h>
|
||
|
|
||
|
namespace mshio {
|
||
|
|
||
|
MshSpec load_msh(std::istream& in);
|
||
|
MshSpec load_msh(const std::string& filename);
|
||
|
|
||
|
void save_msh(std::ostream& out, const MshSpec& spec);
|
||
|
void save_msh(const std::string& filename, const MshSpec& spec);
|
||
|
|
||
|
void validate_spec(const MshSpec& spec);
|
||
|
|
||
|
size_t nodes_per_element(int element_type);
|
||
|
int get_element_dim(int element_type);
|
||
|
|
||
|
}
|