DNDSR 0.2.1
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
_generate_AdjPairTracked_bind Namespace Reference

Functions

 _tag (rs, rm, al)
 
 main ()
 

Variables

list INSTANTIATIONS
 
dict _RS_MAP = {-2: "I", -1: "D"}
 
dict _AL_MAP = {-1024: "N"}
 
 CPP_TEMPLATE = textwrap.dedent()
 
 FWD_HEADER_HEAD = textwrap.dedent()
 
 DIR = os.path.dirname(os.path.abspath(__file__))
 

Detailed Description

Generate AdjPairTracked pybind11 instantiation .cpp files and forward header.

Each .cpp file instantiates pybind11_AdjPairTracked_define for one
(row_size, row_max, align) triple.  The forward header declares all
define functions so the module entry point can call them.

Follows the same pattern as DNDS/ArrayDOF_inst/_generate_explicit_inst.py.

Usage:
    python _generate_AdjPairTracked_bind.py

Function Documentation

◆ _tag()

_generate_AdjPairTracked_bind._tag (   rs,
  rm,
  al 
)
protected

Definition at line 32 of file _generate_AdjPairTracked_bind.py.

Here is the caller graph for this function:

◆ main()

_generate_AdjPairTracked_bind.main ( )

Definition at line 60 of file _generate_AdjPairTracked_bind.py.

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

Variable Documentation

◆ _AL_MAP

dict _generate_AdjPairTracked_bind._AL_MAP = {-1024: "N"}
protected

Definition at line 29 of file _generate_AdjPairTracked_bind.py.

◆ _RS_MAP

dict _generate_AdjPairTracked_bind._RS_MAP = {-2: "I", -1: "D"}
protected

Definition at line 28 of file _generate_AdjPairTracked_bind.py.

◆ CPP_TEMPLATE

_generate_AdjPairTracked_bind.CPP_TEMPLATE = textwrap.dedent()

Definition at line 39 of file _generate_AdjPairTracked_bind.py.

◆ DIR

_generate_AdjPairTracked_bind.DIR = os.path.dirname(os.path.abspath(__file__))

Definition at line 57 of file _generate_AdjPairTracked_bind.py.

◆ FWD_HEADER_HEAD

_generate_AdjPairTracked_bind.FWD_HEADER_HEAD = textwrap.dedent()

Definition at line 49 of file _generate_AdjPairTracked_bind.py.

◆ INSTANTIATIONS

list _generate_AdjPairTracked_bind.INSTANTIATIONS
Initial value:
1= [
2 (-2, -2, -1024), # tAdjPair (NonUniformSize)
3 (2, 2, -1024), # tAdj2Pair
4 (1, 1, -1024), # tAdj1Pair
5]

Definition at line 20 of file _generate_AdjPairTracked_bind.py.