PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
 
Loading...
Searching...
No Matches
Public Member Functions
picurv_cli.core._LazyNumpyProxy Class Reference

Module-like proxy that preserves picurv.np without eager import. More...

Public Member Functions

 __getattr__ (self, name)
 Resolve a NumPy attribute on first use.
 

Detailed Description

Module-like proxy that preserves picurv.np without eager import.

Definition at line 84 of file core.py.

Member Function Documentation

◆ __getattr__()

picurv_cli.core._LazyNumpyProxy.__getattr__ (   self,
  name 
)

Resolve a NumPy attribute on first use.

Parameters
[in]nameNumPy attribute name.
Returns
Requested NumPy attribute.

Definition at line 89 of file core.py.

89 def __getattr__(self, name):
90 """!
91 @brief Resolve a NumPy attribute on first use.
92 @param[in] name NumPy attribute name.
93 @return Requested NumPy attribute.
94 """
95 return getattr(require_numpy(), name)
96
97
Here is the call graph for this function:

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