The base solver class for second-order, multi-dimensional CESE code
with CUDA enabled.
|
|
__init__(self,
blk,
*args,
**kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
locate_point(self,
*args)
Locate the cell index where the input coordinate is. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from solver.BlockSolver:
call_non_interface_bc,
exchangeibc,
init_exchange,
pull,
pullank,
pullibc,
push,
pushibc,
remote_setattr
Inherited from solver.BaseSolver:
dump,
exhaust,
final,
march,
postloop,
preloop,
provide
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
_interface_init_ = ['cecnd', 'cevol']
list of attributes (arrays) to be exchanged on interface when
initialized.
|
|
|
_solution_array_ = ['sol', 'soln', 'dsol', 'dsoln']
|
|
|
_gdlen_ = None
length per group data.
|
|
|
_jacofunc_ = None
ctypes function to Jacobian calculator.
|
|
|
_clib_mcu = None
ctypes library for physical model on GPU.
|
|
|
__clib_cuse_c = {2: <CDLL '/home/yungyuc/work/coding/solvcon/l...
|
|
|
__clib_cuse_cu = {2: None, 3: None}
|
|
|
MMNAMES = ['update', 'ibcam', 'calcsolt', 'calcsoln', 'ibcsoln...
|
|
Inherited from solver.BlockSolver:
CLMFC,
CLMND,
FCMND
Inherited from solver.BaseSolver:
MESG_FILENAME_DEFAULT,
_pointers_
|
|
|
alpha
parameter to the weighting function.
|
|
|
amsca
Parameter scalar array.
|
|
|
amvec
Parameter vector array.
|
|
|
cecnd
solution points for CCEs and BCEs.
|
|
|
cevol
CCE and BCE volumes.
|
|
|
cfl
CFL number.
|
|
|
cnbfac
factor to use BCE centroid, othersize midpoint; 0 off, 1 on.
|
|
|
debug
flag for debugging.
|
|
|
diffname
name of gradient calculation function; tau is default, omega is
selectable.
|
|
|
dsol
current gradient of solution.
|
|
|
dsoln
next gradient of solution.
|
|
|
grpda
group data.
|
|
|
ncuth
number of thread per block for CUDA.
|
|
|
ocfl
original CFL number.
|
|
|
omegamin
the lower bound of omega.
|
|
|
omeganame
name of omega function; default scale.
|
|
|
omegascale
scaling of omega.
|
|
|
scu
CUDA wrapper.
|
|
|
sftfac
factor to shift gradient shape; 0 off, 1 on.
|
|
|
sol
current solution.
|
|
|
soln
next solution.
|
|
|
solt
temporal diffrentiation of solution.
|
|
|
taumax
the upper bound of tau.
|
|
|
taumin
the lower bound of tau.
|
|
|
tauname
name of tau function; default linear.
|
|
|
tauscale
scaling of tau.
|
|
|
taylor
factor for Taylor's expansion; 0 off, 1 on.
|
|
Inherited from solver.BlockSolver:
bclist,
grpnames,
ibclist,
ibcthread,
ngroup,
nsvr,
svrn
|