void ISOP2P1::initialize() { /// 读取配置文件. config("config"); /// 构建网格. buildMesh(); /// 构建混合有限元 ISOP1P2 空间. buildFEMSpace(); /// 构建矩阵结构. buildMatrixStruct(); buildMatrix(); };
void ISOP2P1::initialize() { /// 读取配置文件. config("config"); /// debug config_debug(); getchar(); /// 构建网格. buildMesh(); /// 构建混合有限元 ISOP1P2 空间. buildFEMSpace(); /// 构建稀疏矩阵模板. buildMatrixStruct(); /// 构建矩阵. buildMatrix(); if (Stokes_init == 1 || NS_init == 1) solveStokes(); };