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 41 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 46 of file core.py.

46 def __getattr__(self, name):
47 """!
48 @brief Resolve a NumPy attribute on first use.
49 @param[in] name NumPy attribute name.
50 @return Requested NumPy attribute.
51 """
52 return getattr(require_numpy(), name)
53
54
Here is the call graph for this function:

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