text: import numpy as np
  from input import parameters as para
  from lib import grid as gd
  
  def RbcSimDtls():
  	if para.Target=="CPU": print("# Simulation running on", para.Target)
  	if para.Target=="GPU": print("# Simulation running on", para.Target, para.device)
  
  	print("# Data type:", para.dtype)
  
  	if para.Ta > 0: print("# Problem Type: RBC with rotation")
  	else: print("# Problem Type: RBC without rotation")
  
  	if para.Ta > 0: 
  		print("#", "Ra=%.1e" %para.Ra, "Pr=%.3f" %para.Pr, "Ta=%.1e" %para.Ta, "Ro=",np.sqrt(para.Ra/(para.Ta*para.Pr)))
  
  	else: print("#", "Ra=%.1e" %para.Ra, "Pr=%.3f" %para.Pr)
  
  	print("# Boundary conditions:", para.BCtype)
  
  	print('# Domain size:', para.Lx, para.Ly, para.Lz)
  
  	print('# Grid', gd.Nx, gd.Ny, gd.Nz)
  
  	print("# Grid Type:", para.GridType)
  
  	if para.GridType[0]=='D': print('# betax:', para.betax)
  	if para.GridType[1]=='D': print('# betay:', para.betay)
  	if para.GridType[2]=='D': print('# betaz:', para.betaz)
  
  	print('# dt=', para.dt, 'CFLNo.=', para.Cn, 'tmax=', para.tMax)
  
  	print("# fwInt", para.fwInt, "and rwInt", para.rwInt)
  
  	print('# Tolerance', para.FpTolerance, para.PoissonTolerance)
  
  	print()
  
  
  def HydroSimDtls():
  	if para.Target=="CPU": print("# Simulation running on", para.Target)
  	if para.Target=="GPU": print("# Simulation running on", para.Target, para.device)
  
  	print("# Problem Type: Hydrodynamic")
  
  	if para.BCtype=="LDC": print("# Lid Driven Cavity Problem (Vx=1 at upper wall)")
  
  	print("#", "nu=",para.nu, "Omega=%.1e" %para.Omega)
  
  	print('# Domain size:', para.Lx, para.Ly, para.Lz)
  
  	print('# Grid', gd.Nx, gd.Ny, gd.Nz)
  
  	if para.GridType=='DDD': print('# Grid Type: DDD with beta', para.betax, para.betay, para.betaz)
  	elif para.GridType=='UUD': print('# Grid Type: UUD with betaz', para.betaz)
  	else: print('# Grid Type: UUU')
  	
  	print('# dt=', para.dt, 'tmax=', para.tMax)
  
  	print("# fwInt", para.fwInt, "and rwInt", para.rwInt)
  
  	print('# Tolerance', para.FpTolerance, para.PoissonTolerance)
  
  	print()
  
  
  if para.ProbType == "RBC": RbcSimDtls()
  if para.ProbType == "Hydro": HydroSimDtls()