An abstract element class. More...
Public Member Functions | |
| __init__ (self) | |
| flag_all_nodes (self) | |
| unflag_all_nodes (self) | |
| add_physical (self, int dimension, int phystag, str label) | |
| remove_unused_nodes (self) | |
| save (self, str Path) | |
| Save the file to a gmsh mesh. | |
| optimize_adjacency_bandwidth (self) | |
| optimize bandwidth for better sovler performance | |
| collect_elements (self, int dimension, int geotag) | |
| __init__ (self) | |
| flag_all_nodes (self) | |
| unflag_all_nodes (self) | |
| add_physical (self, int dimension, int phystag, str label) | |
| remove_unused_nodes (self) | |
| save (self, str Path) | |
| Save the file to a gmsh mesh. | |
| optimize_adjacency_bandwidth (self) | |
| optimize bandwidth for better sovler performance | |
| collect_elements (self, int dimension, int geotag) | |
Public Attributes | |
| int | numNodes = 0 |
| list | nodes = [] |
| list | elements = [] |
| int | numElements = 0 |
| int | Scale = 1 |
| int | NumGroups = 0 |
| list | PhysicalGroups = [] |
| list | periodic = [] |
Static Public Attributes | |
| list | DimensionPerElement |
Protected Member Functions | |
| _update_node_ids (self) | |
| create consecutive numbers for the nodes | |
| _update_element_ids (self) | |
| create consecutive numbers for the elements | |
| _save_header (self, Buffer) | |
| Print the header. | |
| _save_physical (self, Buffer) | |
| Print the physical groups if they exist. | |
| _save_nodes (self, Buffer) | |
| Print the nodes. | |
| _save_elements (self, Buffer) | |
| Print the elements. | |
| _save_periodic (self, Buffer) | |
| Print the periodic links. | |
| _update_node_ids (self) | |
| create consecutive numbers for the nodes | |
| _update_element_ids (self) | |
| create consecutive numbers for the elements | |
| _save_header (self, Buffer) | |
| Print the header. | |
| _save_physical (self, Buffer) | |
| Print the physical groups if they exist. | |
| _save_nodes (self, Buffer) | |
| Print the nodes. | |
| _save_elements (self, Buffer) | |
| Print the elements. | |
| _save_periodic (self, Buffer) | |
| Print the periodic links. | |
An abstract element class.
| mesh.Mesh.Mesh.__init__ | ( | self | ) |
| mesh.Mesh.Mesh.__init__ | ( | self | ) |
|
protected |
Print the elements.
|
protected |
Print the elements.
|
protected |
Print the header.
|
protected |
Print the header.
|
protected |
Print the nodes.
|
protected |
Print the nodes.
|
protected |
Print the periodic links.
|
protected |
Print the periodic links.
|
protected |
Print the physical groups if they exist.
|
protected |
Print the physical groups if they exist.
|
protected |
create consecutive numbers for the elements
|
protected |
create consecutive numbers for the elements
|
protected |
create consecutive numbers for the nodes
|
protected |
create consecutive numbers for the nodes
| mesh.Mesh.Mesh.add_physical | ( | self, | |
| int | dimension, | ||
| int | phystag, | ||
| str | label ) |
| mesh.Mesh.Mesh.add_physical | ( | self, | |
| int | dimension, | ||
| int | phystag, | ||
| str | label ) |
| mesh.Mesh.Mesh.collect_elements | ( | self, | |
| int | dimension, | ||
| int | geotag ) |
| mesh.Mesh.Mesh.collect_elements | ( | self, | |
| int | dimension, | ||
| int | geotag ) |
| mesh.Mesh.Mesh.flag_all_nodes | ( | self | ) |
| mesh.Mesh.Mesh.flag_all_nodes | ( | self | ) |
| mesh.Mesh.Mesh.optimize_adjacency_bandwidth | ( | self | ) |
optimize bandwidth for better sovler performance
| mesh.Mesh.Mesh.optimize_adjacency_bandwidth | ( | self | ) |
optimize bandwidth for better sovler performance
| mesh.Mesh.Mesh.remove_unused_nodes | ( | self | ) |
| mesh.Mesh.Mesh.remove_unused_nodes | ( | self | ) |
| mesh.Mesh.Mesh.save | ( | self, | |
| str | Path ) |
Save the file to a gmsh mesh.
| mesh.Mesh.Mesh.save | ( | self, | |
| str | Path ) |
Save the file to a gmsh mesh.
| mesh.Mesh.Mesh.unflag_all_nodes | ( | self | ) |
| mesh.Mesh.Mesh.unflag_all_nodes | ( | self | ) |
|
static |
| list elements = [] |
| list nodes = [] |
| int numElements = 0 |
| int NumGroups = 0 |
| int numNodes = 0 |
| list periodic = [] |
| list PhysicalGroups = [] |
| int Scale = 1 |