DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
OversetCart.OversetCart.OversetBG2D Class Reference

Public Member Functions

 __init__ (self, DNDS.MPIInfo mpi)
 
 set_bg (self, list[OversetPart2D] parts, float h)
 
 rank_to_ax_rank (self, rank=None)
 
 proc_cell_grid_shape (self, rank=None)
 
 proc_grid_range (self, rank=None, is_point=True)
 
 proc_grid_shape (self, rank=None, is_point=True)
 
 proc_grid_range_expanded (self, rank=None, is_point=True)
 
 proc_grid_shape_expanded (self, rank=None, is_point=True)
 
 proc_grid_core_start_in_local_expanded (self, rank=None, is_point=True)
 
 proc_grid_core_range_in_local_expanded (self, rank=None, is_point=True)
 
 global_idx_to_rank (self, idx, is_point=False)
 
 global_ijk_to_rank (self, ijk, is_point=False)
 
 ijk_to_idx (self, ijk, is_point=False, in_global=True, ret_global=True, ranks=None)
 
 idx_to_ijk (self, idx, is_point=False, in_global=True, ret_global=True, ranks=None)
 
 proc_grid_ijkarray (self, rank=None, is_point=False, expanded=False, no_mesh=False)
 
 proc_grid_point_coords (self, expanded=False)
 
 obtain_dist_map (self, list[OversetPart2D] parts, bc_names=["WALL"])
 
 query_dist_from_points (self, DistMap distMap, np.ndarray points)
 
 query_template_cell_from_points (self, OversetPart2D osPart, DistMap distMap, np.ndarray points)
 
 decide_cell_types (self, list[OversetPart2D] parts, list[DistMap] proc_dist_maps)
 
 decide_point_templates (self, list[OversetPart2D] parts, list[DistMap] proc_dist_maps, np.ndarray points)
 
 print_proc_dist_maps (self, list[DistMap] proc_dist_maps, cmin=-1, cmax=10)
 

Static Public Member Functions

 cell_bnds_type ()
 
 proc_dist_map_type ()
 

Public Attributes

 h
 
 xNodes
 
 grid_shape
 
 origins
 
 nStarts
 
 nProcAx
 
 procMap
 
 nStarts4point
 
 global_map_pointsStart
 
 global_map_cellsStart
 
 rank_to_ax_rank_map_i
 
 rank_to_ax_rank_map_j
 
 local_point_grid_shape_expanded
 
 grid_point_expanded_idxs_g
 
 grid_point_expanded_idxs_g_ijks_local
 

Protected Attributes

 _mpi
 
 _MPI
 

Detailed Description

Definition at line 233 of file OversetCart.py.

Constructor & Destructor Documentation

◆ __init__()

OversetCart.OversetCart.OversetBG2D.__init__ (   self,
DNDS.MPIInfo  mpi 
)

Definition at line 235 of file OversetCart.py.

Member Function Documentation

◆ cell_bnds_type()

OversetCart.OversetCart.OversetBG2D.cell_bnds_type ( )
static

Definition at line 538 of file OversetCart.py.

◆ decide_cell_types()

OversetCart.OversetCart.OversetBG2D.decide_cell_types (   self,
list[OversetPart2D parts,
list[DistMap]   proc_dist_maps 
)

Definition at line 612 of file OversetCart.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ decide_point_templates()

OversetCart.OversetCart.OversetBG2D.decide_point_templates (   self,
list[OversetPart2D parts,
list[DistMap proc_dist_maps,
np.ndarray  points 
)

Definition at line 619 of file OversetCart.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ global_idx_to_rank()

OversetCart.OversetCart.OversetBG2D.global_idx_to_rank (   self,
  idx,
  is_point = False 
)

Definition at line 423 of file OversetCart.py.

Here is the caller graph for this function:

◆ global_ijk_to_rank()

OversetCart.OversetCart.OversetBG2D.global_ijk_to_rank (   self,
  ijk,
  is_point = False 
)

Definition at line 440 of file OversetCart.py.

Here is the caller graph for this function:

◆ idx_to_ijk()

OversetCart.OversetCart.OversetBG2D.idx_to_ijk (   self,
  idx,
  is_point = False,
  in_global = True,
  ret_global = True,
  ranks = None 
)

Definition at line 488 of file OversetCart.py.

Here is the call graph for this function:

◆ ijk_to_idx()

OversetCart.OversetCart.OversetBG2D.ijk_to_idx (   self,
  ijk,
  is_point = False,
  in_global = True,
  ret_global = True,
  ranks = None 
)

Definition at line 462 of file OversetCart.py.

Here is the call graph for this function:

◆ obtain_dist_map()

OversetCart.OversetCart.OversetBG2D.obtain_dist_map (   self,
list[OversetPart2D parts,
  bc_names = ["WALL"] 
)

Definition at line 546 of file OversetCart.py.

Here is the call graph for this function:

◆ print_proc_dist_maps()

OversetCart.OversetCart.OversetBG2D.print_proc_dist_maps (   self,
list[DistMap proc_dist_maps,
  cmin = -1,
  cmax = 10 
)

Definition at line 631 of file OversetCart.py.

Here is the call graph for this function:

◆ proc_cell_grid_shape()

OversetCart.OversetCart.OversetBG2D.proc_cell_grid_shape (   self,
  rank = None 
)

Definition at line 365 of file OversetCart.py.

Here is the call graph for this function:

◆ proc_dist_map_type()

OversetCart.OversetCart.OversetBG2D.proc_dist_map_type ( )
static

Definition at line 543 of file OversetCart.py.

◆ proc_grid_core_range_in_local_expanded()

OversetCart.OversetCart.OversetBG2D.proc_grid_core_range_in_local_expanded (   self,
  rank = None,
  is_point = True 
)

Definition at line 416 of file OversetCart.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ proc_grid_core_start_in_local_expanded()

OversetCart.OversetCart.OversetBG2D.proc_grid_core_start_in_local_expanded (   self,
  rank = None,
  is_point = True 
)

Definition at line 408 of file OversetCart.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ proc_grid_ijkarray()

OversetCart.OversetCart.OversetBG2D.proc_grid_ijkarray (   self,
  rank = None,
  is_point = False,
  expanded = False,
  no_mesh = False 
)

Definition at line 516 of file OversetCart.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ proc_grid_point_coords()

OversetCart.OversetCart.OversetBG2D.proc_grid_point_coords (   self,
  expanded = False 
)

Definition at line 531 of file OversetCart.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ proc_grid_range()

OversetCart.OversetCart.OversetBG2D.proc_grid_range (   self,
  rank = None,
  is_point = True 
)

Definition at line 374 of file OversetCart.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ proc_grid_range_expanded()

OversetCart.OversetCart.OversetBG2D.proc_grid_range_expanded (   self,
  rank = None,
  is_point = True 
)

Definition at line 391 of file OversetCart.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ proc_grid_shape()

OversetCart.OversetCart.OversetBG2D.proc_grid_shape (   self,
  rank = None,
  is_point = True 
)

Definition at line 381 of file OversetCart.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ proc_grid_shape_expanded()

OversetCart.OversetCart.OversetBG2D.proc_grid_shape_expanded (   self,
  rank = None,
  is_point = True 
)

Definition at line 404 of file OversetCart.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ query_dist_from_points()

OversetCart.OversetCart.OversetBG2D.query_dist_from_points (   self,
DistMap  distMap,
np.ndarray  points 
)

Definition at line 600 of file OversetCart.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ query_template_cell_from_points()

OversetCart.OversetCart.OversetBG2D.query_template_cell_from_points (   self,
OversetPart2D  osPart,
DistMap  distMap,
np.ndarray   points 
)

Definition at line 605 of file OversetCart.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rank_to_ax_rank()

OversetCart.OversetCart.OversetBG2D.rank_to_ax_rank (   self,
  rank = None 
)

Definition at line 360 of file OversetCart.py.

Here is the caller graph for this function:

◆ set_bg()

OversetCart.OversetCart.OversetBG2D.set_bg (   self,
list[OversetPart2D parts,
float  h 
)

Definition at line 239 of file OversetCart.py.

Member Data Documentation

◆ _mpi

OversetCart.OversetCart.OversetBG2D._mpi
protected

Definition at line 236 of file OversetCart.py.

◆ _MPI

OversetCart.OversetCart.OversetBG2D._MPI
protected

Definition at line 237 of file OversetCart.py.

◆ global_map_cellsStart

OversetCart.OversetCart.OversetBG2D.global_map_cellsStart

Definition at line 320 of file OversetCart.py.

◆ global_map_pointsStart

OversetCart.OversetCart.OversetBG2D.global_map_pointsStart

Definition at line 312 of file OversetCart.py.

◆ grid_point_expanded_idxs_g

OversetCart.OversetCart.OversetBG2D.grid_point_expanded_idxs_g

Definition at line 351 of file OversetCart.py.

◆ grid_point_expanded_idxs_g_ijks_local

OversetCart.OversetCart.OversetBG2D.grid_point_expanded_idxs_g_ijks_local

Definition at line 354 of file OversetCart.py.

◆ grid_shape

OversetCart.OversetCart.OversetBG2D.grid_shape

Definition at line 264 of file OversetCart.py.

◆ h

OversetCart.OversetCart.OversetBG2D.h

Definition at line 241 of file OversetCart.py.

◆ local_point_grid_shape_expanded

OversetCart.OversetCart.OversetBG2D.local_point_grid_shape_expanded

Definition at line 342 of file OversetCart.py.

◆ nProcAx

OversetCart.OversetCart.OversetBG2D.nProcAx

Definition at line 291 of file OversetCart.py.

◆ nStarts

OversetCart.OversetCart.OversetBG2D.nStarts

Definition at line 290 of file OversetCart.py.

◆ nStarts4point

OversetCart.OversetCart.OversetBG2D.nStarts4point

Definition at line 298 of file OversetCart.py.

◆ origins

OversetCart.OversetCart.OversetBG2D.origins

Definition at line 265 of file OversetCart.py.

◆ procMap

OversetCart.OversetCart.OversetBG2D.procMap

Definition at line 295 of file OversetCart.py.

◆ rank_to_ax_rank_map_i

OversetCart.OversetCart.OversetBG2D.rank_to_ax_rank_map_i

Definition at line 321 of file OversetCart.py.

◆ rank_to_ax_rank_map_j

OversetCart.OversetCart.OversetBG2D.rank_to_ax_rank_map_j

Definition at line 324 of file OversetCart.py.

◆ xNodes

OversetCart.OversetCart.OversetBG2D.xNodes

Definition at line 263 of file OversetCart.py.


The documentation for this class was generated from the following file: