⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 commprocthdid.java

📁 fortran并行计算包
💻 JAVA
字号:
/* *  (C) 2001 by Argonne National Laboratory *      See COPYRIGHT in top-level directory. *//* *  @author  Anthony Chan */package logformat.clog2TOdrawable;import logformat.clog2.RecComm;import logformat.clog2.LineID;public class CommProcThdID{    public         int       icomm;      // created comm's ID    public         int       rank;       // rank of the process in icomm    public         int       thd;        // thread ID in process rank    public         int       wrank;      // MPI_COMM_WORLD rank of the process    public         int       etype;      // type of communicator creation    public         int       gthdLineID; // lineID used in drawable    private        boolean   isUsed;    public CommProcThdID( RecComm comm_rec, int in_thdID )    {        icomm       = comm_rec.icomm;        rank        = comm_rec.rank;        thd         = in_thdID;        wrank       = comm_rec.wrank;        etype       = comm_rec.etype.intValue();        gthdLineID  = LineID.computeGlobalThreadID( icomm, rank, thd );        isUsed      = false;    }    public void setUsed( boolean flag )    {        isUsed  = flag;    }    public boolean isUsed()    {        return isUsed;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -