20 #ifndef SRC_CORECOMPONENTS_PHYSICSSOLVERS_FLUIDFLOW_CELLTOCELLDATACOLLECTOR_HPP_
21 #define SRC_CORECOMPONENTS_PHYSICSSOLVERS_FLUIDFLOW_CELLTOCELLDATACOLLECTOR_HPP_
49 static string catalogName() {
return "CellToCellDataCollection"; }
62 real64 const eventProgress,
69 static constexpr
char const * solverNameString() {
return "flowSolverName"; }
70 static constexpr
char const * meshNameString() {
return "meshBody"; }
71 static constexpr
char const * cellAGlobalIdString() {
return "cellAGlobalId"; }
72 static constexpr
char const * cellBGlobalIdString() {
return "cellBGlobalId"; }
73 static constexpr
char const * transmissibilityABString() {
return "transmissibilityAB"; }
74 static constexpr
char const * transmissibilityBAString() {
return "transmissibilityBA"; }
84 real64 m_transmissibility[2];
100 real64 m_transmissibility[2];
110 LocalToGlobalMap
const & localToGlobalMap );
118 bool operator<( ConnectionData
const & other )
const
120 return m_globalId[0] != other.m_globalId[0] ?
121 m_globalId[0] < other.m_globalId[0] :
122 m_globalId[1] < other.m_globalId[1];
126 array1d< globalIndex > m_cellAGlobalId;
127 array1d< globalIndex > m_cellBGlobalId;
128 array1d< real64 > m_transmissibilityAB;
129 array1d< real64 > m_transmissibilityBA;
137 FlowSolverBase
const * m_solver =
nullptr;
139 MeshLevel
const * m_meshLevel =
nullptr;
141 FluxApproximationBase
const * m_discretization =
nullptr;
145 void postInputInitialization()
override;
152 void initializePostInitialConditionsPostSubGroups()
override;
161 template<
typename STENCILWRAPPER_T >
162 array1d< KernelConnectionData > gatherConnectionData( STENCILWRAPPER_T
const & stencilWrapper )
const;
171 arrayView1d< KernelConnectionData >
const & kernelData );
173 void logStoredConnections(
string_view stencilName );
Partition of the decomposed physical domain. It also manages the connexion information to its neighbo...
array1d< array1d< VIEWTYPE > > ElementViewAccessor
The ElementViewAccessor at the ElementRegionManager level is an array of array of VIEWTYPE.
StencilDataCollection(const string &name, dataRepository::Group *const parent)
Constructor for the statistics class.
static string catalogName()
Accessor for the catalog name.
TaskBase(string const &name, Group *const parent)
Constructor.
virtual bool execute(real64 const time_n, real64 const dt, integer const cycleNumber, integer const eventCounter, real64 const eventProgress, DomainPartition &domain) override
Main extension point of executable targets.
bool operator<(InputFlags const left, InputFlags const right)
Comparison operator for InputFlags enumeration.
GEOS_GLOBALINDEX_TYPE globalIndex
Global index type (for indexing objects across MPI partitions).
double real64
64-bit floating point type.
GEOS_LOCALINDEX_TYPE localIndex
Local index type (for indexing objects within an MPI partition).
std::int32_t integer
Signed integer type.
std::string_view string_view
String type.
Element-element connection data extracted from the kernel.