Chi-Tech
sweep_namespace.h
Go to the documentation of this file.
1
#ifndef CHI_SWEEP_H
2
#define CHI_SWEEP_H
3
4
#include "../chi_mesh.h"
5
#include <set>
6
7
#include <memory>
8
9
namespace
chi
10
{
11
class
DirectedGraph;
12
}
13
14
// ###################################################################
15
namespace
chi_mesh
16
{
17
namespace
sweep_management
18
{
19
20
enum class
FaceOrientation
:
short
21
{
22
PARALLEL
= -1,
23
INCOMING
= 0,
24
OUTGOING
= 1
25
};
26
27
struct
STDG;
///< Global Sweep Plane Ordering
28
struct
SPLS;
///< Sweep Plane Local Subgrid
29
class
AAH_FLUDS;
///< Auxiliary Flux Data Structure
30
class
SPDS;
///< Sweep Plane Data Structure
31
32
struct
Task
33
{
34
unsigned
int
num_dependencies_
;
35
std::vector<uint64_t>
successors_
;
36
uint64_t
reference_id_
;
37
const
chi_mesh::Cell
*
cell_ptr_
;
38
bool
completed_
=
false
;
39
};
40
41
class
AAH_ASynchronousCommunicator
;
42
class
AngleSet
;
43
class
AngleSetGroup
;
44
class
AngleAggregation
;
45
46
class
SweepChunk
;
47
48
class
SweepScheduler
;
49
50
void
CommunicateLocationDependencies
(
51
const
std::vector<int>& location_dependencies,
52
std::vector<std::vector<int>>& global_dependencies);
53
54
void
PrintSweepOrdering
(
SPDS
* sweep_order,
MeshContinuumPtr
vol_continuum);
55
56
enum class
AngleSetStatus
57
{
58
NOT_FINISHED
= 0,
59
FINISHED
= 1,
60
RECEIVING
= 2,
61
READY_TO_EXECUTE
= 3,
62
EXECUTE
= 4,
63
NO_EXEC_IF_READY
= 5,
64
MESSAGES_SENT
= 6,
65
MESSAGES_PENDING
= 7
66
};
67
typedef
AngleSetStatus
ExecutionPermission
;
68
}
// namespace sweep_management
69
}
// namespace chi_mesh
70
71
#endif
// CHI_SWEEP_H
chi_mesh::Cell
Definition:
cell.h:69
chi_mesh::sweep_management::AAH_ASynchronousCommunicator
Definition:
AAH_AsynComm.h:25
chi_mesh::sweep_management::AngleAggregation
Definition:
angleaggregation.h:29
chi_mesh::sweep_management::AngleSetGroup
Definition:
anglesetgroup.h:9
chi_mesh::sweep_management::AngleSet
Definition:
AngleSet.h:19
chi_mesh::sweep_management::SPDS
Definition:
SPDS.h:15
chi_mesh::sweep_management::SweepChunk
Definition:
sweepchunk_base.h:11
chi_mesh::sweep_management::SweepScheduler
Definition:
sweepscheduler.h:24
chi_mesh::sweep_management::PrintSweepOrdering
void PrintSweepOrdering(SPDS *sweep_order, MeshContinuumPtr vol_continuum)
Definition:
printsweepordering.cc:17
chi_mesh::sweep_management::CommunicateLocationDependencies
void CommunicateLocationDependencies(const std::vector< int > &location_dependencies, std::vector< std::vector< int > > &global_dependencies)
Definition:
communicate_location_dependencies.cc:10
chi_mesh::sweep_management::AngleSetStatus
AngleSetStatus
Definition:
sweep_namespace.h:57
chi_mesh::sweep_management::AngleSetStatus::RECEIVING
@ RECEIVING
chi_mesh::sweep_management::AngleSetStatus::FINISHED
@ FINISHED
chi_mesh::sweep_management::AngleSetStatus::READY_TO_EXECUTE
@ READY_TO_EXECUTE
chi_mesh::sweep_management::AngleSetStatus::MESSAGES_SENT
@ MESSAGES_SENT
chi_mesh::sweep_management::AngleSetStatus::NO_EXEC_IF_READY
@ NO_EXEC_IF_READY
chi_mesh::sweep_management::AngleSetStatus::EXECUTE
@ EXECUTE
chi_mesh::sweep_management::AngleSetStatus::NOT_FINISHED
@ NOT_FINISHED
chi_mesh::sweep_management::AngleSetStatus::MESSAGES_PENDING
@ MESSAGES_PENDING
chi_mesh::sweep_management::FaceOrientation
FaceOrientation
Definition:
sweep_namespace.h:21
chi_mesh::sweep_management::FaceOrientation::OUTGOING
@ OUTGOING
chi_mesh::sweep_management::FaceOrientation::PARALLEL
@ PARALLEL
chi_mesh::sweep_management::FaceOrientation::INCOMING
@ INCOMING
chi_mesh::sweep_management::ExecutionPermission
AngleSetStatus ExecutionPermission
Definition:
sweep_namespace.h:67
chi_mesh
Definition:
chi_runtime.h:13
chi_mesh::MeshContinuumPtr
std::shared_ptr< MeshContinuum > MeshContinuumPtr
Definition:
chi_mesh.h:44
chi
Definition:
chi_runtime.h:53
chi_mesh::sweep_management::Task
Sweep Plane Data Structure.
Definition:
sweep_namespace.h:33
chi_mesh::sweep_management::Task::reference_id_
uint64_t reference_id_
Definition:
sweep_namespace.h:36
chi_mesh::sweep_management::Task::num_dependencies_
unsigned int num_dependencies_
Definition:
sweep_namespace.h:34
chi_mesh::sweep_management::Task::cell_ptr_
const chi_mesh::Cell * cell_ptr_
Definition:
sweep_namespace.h:37
chi_mesh::sweep_management::Task::completed_
bool completed_
Definition:
sweep_namespace.h:38
chi_mesh::sweep_management::Task::successors_
std::vector< uint64_t > successors_
Definition:
sweep_namespace.h:35
framework
mesh
SweepUtilities
sweep_namespace.h
Generated by
1.9.3