Flow123d
release_2.1.2-337-g6b7a56b
|
#include <vector>
#include <mpi.h>
#include "mesh/mesh_types.hh"
#include "mesh/nodes.hh"
#include "mesh/edges.h"
#include "mesh/neighbours.h"
#include "mesh/boundaries.h"
#include "mesh/intersection.hh"
#include "mesh/partitioning.hh"
#include "mesh/region_set.hh"
#include "input/input_type_forward.hh"
#include "input/accessors_forward.hh"
#include "system/exceptions.hh"
#include "mesh/side_impl.hh"
#include "mesh/element_impls.hh"
#include "mesh/neighbours_impl.hh"
Go to the source code of this file.
Classes | |
class | BoundarySegment |
class | Mesh |
Macros | |
#define | ELM 0 |
#define | BC 1 |
#define | NODE 2 |
#define | MESH_CRITICAL_VOLUME 1.0E-12 |
#define | FOR_NODES(_mesh_, i) |
#define | NODE_FULL_ITER(_mesh_, i) (_mesh_)->node_vector.full_iter(i) |
#define | NODE_FULL_ITER_NULL(_mesh_) NodeFullIter((_mesh_)->node_vector) |
#define | ELEM_FULL_ITER(_mesh_, i) (_mesh_)->element.full_iter(i) |
#define | FOR_NODE_ELEMENTS(i, j) for((j)=0;(j)<(i)->n_elements();(j)++) |
#define | FOR_NODE_SIDES(i, j) for((j)=0;(j)<(i)->n_sides;(j)++) |
#define | FOR_ELEMENTS(_mesh_, __i) |
#define | ELEMENT_FULL_ITER(_mesh_, i) (_mesh_)->element.full_iter(i) |
#define | ELEMENT_FULL_ITER_NULL(_mesh_) ElementFullIter((_mesh_)->element) |
#define | FOR_BOUNDARIES(_mesh_, i) |
#define | BOUNDARY_FULL_ITER(_mesh_, i) (_mesh_)->boundary.full_iter(i) |
#define | BOUNDARY_NULL(_mesh_) BoundaryFullIter((_mesh_)->boundary) |
#define | FOR_EDGES(_mesh_, __i) |
#define | FOR_SIDES(_mesh_, it) |
#define | FOR_SIDE_NODES(i, j) for((j)=0;(j)<(i)->n_nodes;(j)++) |
#define | FOR_NEIGHBOURS(_mesh_, it) |
#define | FOR_NEIGH_ELEMENTS(i, j) for((j)=0;(j)<(i)->n_elements;(j)++) |
#define | FOR_NEIGH_SIDES(i, j) for((j)=0;(j)<(i)->n_sides;(j)++) |
* Copyright (C) 2015 Technical University of Liberec. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Definition in file mesh.h.
#define BOUNDARY_FULL_ITER | ( | _mesh_, | |
i | |||
) | (_mesh_)->boundary.full_iter(i) |
#define BOUNDARY_NULL | ( | _mesh_ | ) | BoundaryFullIter((_mesh_)->boundary) |
#define ELEM_FULL_ITER | ( | _mesh_, | |
i | |||
) | (_mesh_)->element.full_iter(i) |
#define ELEMENT_FULL_ITER | ( | _mesh_, | |
i | |||
) | (_mesh_)->element.full_iter(i) |
#define ELEMENT_FULL_ITER_NULL | ( | _mesh_ | ) | ElementFullIter((_mesh_)->element) |
#define FOR_BOUNDARIES | ( | _mesh_, | |
i | |||
) |
#define FOR_EDGES | ( | _mesh_, | |
__i | |||
) |
Provides for statement to iterate over the Edges of the Mesh. see FOR_ELEMENTS
#define FOR_ELEMENTS | ( | _mesh_, | |
__i | |||
) |
Provides for statement to iterate over the Elements of the Mesh. The parameter is FullIter local variable of the cycle, so it need not be declared before. Macro assume that variable Mesh *mesh; is declared and points to a valid Mesh structure.
#define FOR_NEIGH_ELEMENTS | ( | i, | |
j | |||
) | for((j)=0;(j)<(i)->n_elements;(j)++) |
#define FOR_NEIGH_SIDES | ( | i, | |
j | |||
) | for((j)=0;(j)<(i)->n_sides;(j)++) |
#define FOR_NEIGHBOURS | ( | _mesh_, | |
it | |||
) |
#define FOR_NODE_ELEMENTS | ( | i, | |
j | |||
) | for((j)=0;(j)<(i)->n_elements();(j)++) |
#define FOR_NODE_SIDES | ( | i, | |
j | |||
) | for((j)=0;(j)<(i)->n_sides;(j)++) |
#define FOR_NODES | ( | _mesh_, | |
i | |||
) |
Provides for statement to iterate over the Nodes of the Mesh. The parameter is FullIter local variable of the cycle, so it need not be declared before. Macro assume that variable Mesh *mesh; is declared and points to a valid Mesh structure.
#define FOR_SIDE_NODES | ( | i, | |
j | |||
) | for((j)=0;(j)<(i)->n_nodes;(j)++) |
#define FOR_SIDES | ( | _mesh_, | |
it | |||
) |
#define MESH_CRITICAL_VOLUME 1.0E-12 |
#define NODE_FULL_ITER | ( | _mesh_, | |
i | |||
) | (_mesh_)->node_vector.full_iter(i) |
#define NODE_FULL_ITER_NULL | ( | _mesh_ | ) | NodeFullIter((_mesh_)->node_vector) |