SERiF 0.0.1a
3+1D Stellar Structure and Evolution
Loading...
Searching...
No Matches
meshIOTest.cpp File Reference
#include <gtest/gtest.h>
#include "meshIO.h"
#include <string>
#include "mfem.hpp"

Go to the source code of this file.

Classes

class  meshIOTest
 

Functions

double ComputeMeshVolume (mfem::Mesh &mesh)
 
 TEST_F (meshIOTest, DefaultConstructor)
 
 TEST_F (meshIOTest, IsLoaded)
 
 TEST_F (meshIOTest, GetMesh)
 
 TEST_F (meshIOTest, LinearRescale)
 

Variables

std::string EXAMPLE_FILENAME = std::string(getenv("MESON_SOURCE_ROOT")) + "/assets/dynamic/mesh/sphere.msh"
 

Function Documentation

◆ ComputeMeshVolume()

double ComputeMeshVolume ( mfem::Mesh & mesh)

Definition at line 8 of file meshIOTest.cpp.

◆ TEST_F() [1/4]

TEST_F ( meshIOTest ,
DefaultConstructor  )

Definition at line 21 of file meshIOTest.cpp.

◆ TEST_F() [2/4]

TEST_F ( meshIOTest ,
GetMesh  )

Definition at line 30 of file meshIOTest.cpp.

◆ TEST_F() [3/4]

TEST_F ( meshIOTest ,
IsLoaded  )

Definition at line 25 of file meshIOTest.cpp.

◆ TEST_F() [4/4]

TEST_F ( meshIOTest ,
LinearRescale  )

Definition at line 39 of file meshIOTest.cpp.

Variable Documentation

◆ EXAMPLE_FILENAME

std::string EXAMPLE_FILENAME = std::string(getenv("MESON_SOURCE_ROOT")) + "/assets/dynamic/mesh/sphere.msh"

Definition at line 6 of file meshIOTest.cpp.