Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Георгий Каменских
MeshLoader_Lab_1
Commits
5c189158
Commit
5c189158
authored
4 years ago
by
Георгий Каменских
Browse files
Options
Download
Patches
Plain Diff
v2.0
parent
36e95792
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aneu_meshloader.h
+0
-37
aneu_meshloader.h
with
0 additions
and
37 deletions
+0
-37
aneu_meshloader.h
deleted
100644 → 0
+
0
−
37
View file @
36e95792
#ifndef ANEU_MESHLOADER_H
#define ANEU_MESHLOADER_H
#include
<iostream>
#include
<unordered_set>
#include
<vector>
#include
<set>
#include
"tools.h"
#include
"meshloader.h"
class
AneuMeshLoader
:
public
MeshLoader
{
private:
std
::
vector
<
Node
>
m_nodes
;
std
::
vector
<
Element
>
m_elements
;
std
::
vector
<
Surface
>
m_surfaces
;
Node
interpolatedNode
(
Node
&
node_1
,
Node
&
node_2
);
public:
virtual
void
loadMesh
(
char
*
p
)
override
;
//!!! Эти методы должный быть в базовом классе, т.к. относятся к любому загрузчику
std
::
vector
<
Node
>&
getNodes
();
std
::
vector
<
Element
>&
getElements
();
std
::
vector
<
Surface
>&
getSurfaces
();
std
::
vector
<
Element
>
findElem
(
int
id_1
,
int
id_2
);
std
::
vector
<
Element
>
findElem
(
int
id_1
,
int
id_2
,
int
id_3
);
void
getNodesBySurfaceID
(
int
sur_ID
,
std
::
vector
<
int
>&
container
);
void
getElementsByMatID
(
int
mat_ID
,
std
::
vector
<
Element
>&
container
);
void
getSurfacesByID
(
int
sur_ID
,
std
::
vector
<
Surface
>&
container
);
void
quadrateMeshElements
();
void
getNeighbors
(
std
::
vector
<
std
::
vector
<
int
>>&
container
);
};
std
::
ostream
&
operator
<<
(
std
::
ostream
&
stream
,
AneuMeshLoader
&
mesh
);
#endif
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets