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

Public Member Functions

 __init__ (self, mpi, vfvSettings=default_VRSettings(), ax=1.0, ay=0.0, sigma=0.0, AR=1.0, ob=0.0, batch_size=1)
 
 update_vfv_settings (self, vfvSettings)
 
 update_eval_settings (self, ax=1.0, ay=0, sigma=0.0)
 
 get_rhsFreeComplex (self)
 
 get_uFreeComplex (self)
 
 set_uFree (self, np.ndarray r, np.ndarray i)
 
 test_one_wave (self, np.ndarray kx, np.ndarray ky, n_iter=10000, tol=1e-15, n_print=0, n_iter_min=1, u_free=1+0j, rhsOptions=CFV.ModelEvaluator.EvaluateRHSOptions())
 
 test_conv_rate (self, dTau=10, dT=1e100, np.ndarray kx=np.array([0]), np.ndarray ky=np.array([0]), n_iter=10000, tol=1e-15, n_print=0, n_iter_min=1, singlegrid_niter=1, multigrid_niters=(0, 0), use_diff_Jacobi=False, top_override=-1, multigrid_res_fact=(1.0, 1.0), multigrid_dtau_fact=(1.0, 1.0))
 
 uRecSync (self, np.ndarray kx, np.ndarray ky)
 
 uSync (self, np.ndarray kx, np.ndarray ky)
 
 DoReconstruction (self, kx, ky, n_iter=10000, tol=1e-15, n_print=0, n_iter_min=1)
 

Public Attributes

 batch_size
 
 mpi
 
 ax
 
 ay
 
 sigma
 
 reader
 
 name2Id
 
 meshBnd
 
 readerBnd
 
 vfvSettings
 
 mesh
 
 vfv
 
 eval
 
 u_list
 
 uRec_list
 
 iCellFree
 

Detailed Description

Definition at line 84 of file test_cfv_dissdisp.py.

Constructor & Destructor Documentation

◆ __init__()

test_cfv_dissdisp.WaveTester.__init__ (   self,
  mpi,
  vfvSettings = default_VRSettings(),
  ax = 1.0,
  ay = 0.0,
  sigma = 0.0,
  AR = 1.0,
  ob = 0.0,
  batch_size = 1 
)

Definition at line 86 of file test_cfv_dissdisp.py.

Member Function Documentation

◆ DoReconstruction()

test_cfv_dissdisp.WaveTester.DoReconstruction (   self,
  kx,
  ky,
  n_iter = 10000,
  tol = 1e-15,
  n_print = 0,
  n_iter_min = 1 
)

Definition at line 505 of file test_cfv_dissdisp.py.

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

◆ get_rhsFreeComplex()

test_cfv_dissdisp.WaveTester.get_rhsFreeComplex (   self)

Definition at line 236 of file test_cfv_dissdisp.py.

Here is the caller graph for this function:

◆ get_uFreeComplex()

test_cfv_dissdisp.WaveTester.get_uFreeComplex (   self)

Definition at line 242 of file test_cfv_dissdisp.py.

Here is the caller graph for this function:

◆ set_uFree()

test_cfv_dissdisp.WaveTester.set_uFree (   self,
np.ndarray  r,
np.ndarray  i 
)

Definition at line 246 of file test_cfv_dissdisp.py.

Here is the caller graph for this function:

◆ test_conv_rate()

test_cfv_dissdisp.WaveTester.test_conv_rate (   self,
  dTau = 10,
  dT = 1e100,
np.ndarray   kx = np.array([0]),
np.ndarray   ky = np.array([0]),
  n_iter = 10000,
  tol = 1e-15,
  n_print = 0,
  n_iter_min = 1,
  singlegrid_niter = 1,
  multigrid_niters = (0, 0),
  use_diff_Jacobi = False,
  top_override = -1,
  multigrid_res_fact = (1.0, 1.0),
  multigrid_dtau_fact = (1.0, 1.0) 
)

Definition at line 285 of file test_cfv_dissdisp.py.

Here is the call graph for this function:

◆ test_one_wave()

test_cfv_dissdisp.WaveTester.test_one_wave (   self,
np.ndarray  kx,
np.ndarray  ky,
  n_iter = 10000,
  tol = 1e-15,
  n_print = 0,
  n_iter_min = 1,
  u_free = 1 + 0j,
  rhsOptions = CFV.ModelEvaluator.EvaluateRHSOptions() 
)

Definition at line 251 of file test_cfv_dissdisp.py.

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

◆ update_eval_settings()

test_cfv_dissdisp.WaveTester.update_eval_settings (   self,
  ax = 1.0,
  ay = 0,
  sigma = 0.0 
)

Definition at line 230 of file test_cfv_dissdisp.py.

◆ update_vfv_settings()

test_cfv_dissdisp.WaveTester.update_vfv_settings (   self,
  vfvSettings 
)

Definition at line 208 of file test_cfv_dissdisp.py.

◆ uRecSync()

test_cfv_dissdisp.WaveTester.uRecSync (   self,
np.ndarray  kx,
np.ndarray  ky 
)

Definition at line 468 of file test_cfv_dissdisp.py.

Here is the caller graph for this function:

◆ uSync()

test_cfv_dissdisp.WaveTester.uSync (   self,
np.ndarray  kx,
np.ndarray  ky 
)

Definition at line 487 of file test_cfv_dissdisp.py.

Here is the caller graph for this function:

Member Data Documentation

◆ ax

test_cfv_dissdisp.WaveTester.ax

Definition at line 99 of file test_cfv_dissdisp.py.

◆ ay

test_cfv_dissdisp.WaveTester.ay

Definition at line 100 of file test_cfv_dissdisp.py.

◆ batch_size

test_cfv_dissdisp.WaveTester.batch_size

Definition at line 97 of file test_cfv_dissdisp.py.

◆ eval

test_cfv_dissdisp.WaveTester.eval

Definition at line 178 of file test_cfv_dissdisp.py.

◆ iCellFree

test_cfv_dissdisp.WaveTester.iCellFree

Definition at line 203 of file test_cfv_dissdisp.py.

◆ mesh

test_cfv_dissdisp.WaveTester.mesh

Definition at line 176 of file test_cfv_dissdisp.py.

◆ meshBnd

test_cfv_dissdisp.WaveTester.meshBnd

Definition at line 155 of file test_cfv_dissdisp.py.

◆ mpi

test_cfv_dissdisp.WaveTester.mpi

Definition at line 98 of file test_cfv_dissdisp.py.

◆ name2Id

test_cfv_dissdisp.WaveTester.name2Id

Definition at line 154 of file test_cfv_dissdisp.py.

◆ reader

test_cfv_dissdisp.WaveTester.reader

Definition at line 153 of file test_cfv_dissdisp.py.

◆ readerBnd

test_cfv_dissdisp.WaveTester.readerBnd

Definition at line 156 of file test_cfv_dissdisp.py.

◆ sigma

test_cfv_dissdisp.WaveTester.sigma

Definition at line 101 of file test_cfv_dissdisp.py.

◆ u_list

test_cfv_dissdisp.WaveTester.u_list

Definition at line 186 of file test_cfv_dissdisp.py.

◆ uRec_list

test_cfv_dissdisp.WaveTester.uRec_list

Definition at line 187 of file test_cfv_dissdisp.py.

◆ vfv

test_cfv_dissdisp.WaveTester.vfv

Definition at line 177 of file test_cfv_dissdisp.py.

◆ vfvSettings

test_cfv_dissdisp.WaveTester.vfvSettings

Definition at line 159 of file test_cfv_dissdisp.py.


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