/// <summary>
    /// ReynoldsFunc.meshオブジェクトを作成する
    /// </summary>
    void InitReynoldsMesh()
    {
        mesh = new ReynoldsFunc.Mesh(meshX, meshZ, m_CalcAreaXLength, m_CalcAreaZLength);     //計算を行う格子を作成する
        mesh.CreateHeightArray(m_RibHeight, meshZ / 3);
        mesh.CreateDeltaXYArray();

        mesh.Initialize_Calcu_PerFrame_Optimized();
    }
Example #2
0
    // Use this for initialization
    void Start()
    {
        mesh = new ReynoldsFunc.Mesh(meshX, meshZ, 0.001f, 0.001f);
        mesh.CreateHeightArray(0.00003f, meshZ / 2);
        mesh.CreateDeltaXYArray();

#if USE_OPTIMIZED
        mesh.Initialize_Calcu_PerFrame_Optimized();
#else
        mesh.Initialize_Calcu_PerFrame();
#endif
    }