[docs]classMatrixProxyNoneLinearSystem(Frozen):""""""def__init__(self,mp,mp_ls,nls):""""""self._mp=mp# this nonlinear system is from ``mp``self._mp_ls=mp_ls# the ``matrix proxy`` wrapper of ``ls``, mainly to parse the bc, i.e., ``mp_ls._bc``.self._nls=nls# the nonlinear system I am wrapping over.self._freeze()defpr(self,figsize=(12,6)):""""""fromsrc.configimportRANK,MASTER_RANKifRANK!=MASTER_RANK:returnelse:passseek_text=self._mp._mp_seek_text()symbolic=r"$"+self._mp._pr_text()+r"$"ifself._mp_ls.bcisNoneorlen(self._mp_ls.bc)==0:bc_text=''else:bc_text=self._mp_ls._bc._bc_text()fig=plt.figure(figsize=figsize)plt.axis((0,1,0,1))plt.axis('off')plt.text(0.05,0.5,seek_text+symbolic+bc_text,ha='left',va='center',size=15)fromsrc.configimport_setting,_pr_cacheif_setting['pr_cache']:_pr_cache(fig,filename='matrixProxyNonLinearSystem')else:plt.tight_layout()plt.show(block=_setting['block'])returnfigdef_pr_temporal_advancing(self,*args,**kwargs):""""""returnself._mp._pr_temporal_advancing(*args,**kwargs)