MFEM  v4.5.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Functions
life.cpp File Reference

Go to the source code of this file.

Functions

bool GameStep (vector< bool > *b[], int nx, int ny)
 
void ProjectStep (const vector< bool > &b, GridFunction &x, int n)
 
bool InitSketchPad (vector< bool > &b, int nx, int ny, const Array< int > &params)
 
bool InitBlinker (vector< bool > &b, int nx, int ny, const Array< int > &params)
 
bool InitGlider (vector< bool > &b, int nx, int ny, const Array< int > &params)
 
bool InitMFEM (vector< bool > &b, int nx, int ny)
 
int main (int argc, char *argv[])
 
int index (int i, int j, int nx, int ny)
 

Function Documentation

bool GameStep ( vector< bool > *  b[],
int  nx,
int  ny 
)

Definition at line 240 of file life.cpp.

int index ( int  i,
int  j,
int  nx,
int  ny 
)
inline

Definition at line 235 of file life.cpp.

bool InitBlinker ( vector< bool > &  b,
int  nx,
int  ny,
const Array< int > &  params 
)

Definition at line 283 of file life.cpp.

bool InitGlider ( vector< bool > &  b,
int  nx,
int  ny,
const Array< int > &  params 
)

Definition at line 308 of file life.cpp.

bool InitMFEM ( vector< bool > &  b,
int  nx,
int  ny 
)

Definition at line 375 of file life.cpp.

bool InitSketchPad ( vector< bool > &  b,
int  nx,
int  ny,
const Array< int > &  params 
)

Definition at line 351 of file life.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 52 of file life.cpp.

void ProjectStep ( const vector< bool > &  b,
GridFunction x,
int  n 
)

Definition at line 275 of file life.cpp.