COSMOS
Classes | Macros | Enumerations
cosmos_d.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
Include dependency graph for cosmos_d.h:

Go to the source code of this file.

Classes

class  Fmv0
 Base class for Finite Mesh Variables version 0. More...
 
class  Fmv
 Derived class from Fmv0, implementing specific boundary conditions and initial data routines for the COSMOS simulation. More...
 
class  Fmv1
 Derived class from Fmv0, implementing Fixed Mesh Refinement (FMR). More...
 

Macros

#define G_CONST   1.0
 Gravitational constant G (often set to 1 in simulations).
 
#define C_LIGHT   1.0
 Speed of light c (often set to 1 in simulations).
 

Enumerations

enum  BoundaryType { BOUNDARY_PERIODIC , BOUNDARY_REFLECTING , BOUNDARY_OUTFLOW }
 Enum defining possible boundary condition types. More...
 

Macro Definition Documentation

◆ C_LIGHT

#define C_LIGHT   1.0

Speed of light c (often set to 1 in simulations).

◆ G_CONST

#define G_CONST   1.0

Gravitational constant G (often set to 1 in simulations).

Enumeration Type Documentation

◆ BoundaryType

Enum defining possible boundary condition types.

Enumerator
BOUNDARY_PERIODIC 
BOUNDARY_REFLECTING 
BOUNDARY_OUTFLOW