Skip to content

Commit

Permalink
add comment to clarify things
Browse files Browse the repository at this point in the history
  • Loading branch information
fnrizzi committed May 24, 2021
1 parent 314115f commit 6393629
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/impl/advection1d/eigen_linear.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
#ifndef PRESSIODEMOAPPS_LINEAR_ADVECTION_1D_HPP_
#define PRESSIODEMOAPPS_LINEAR_ADVECTION_1D_HPP_

// note that the code below is pretty ugly for now, but it works.
// this is inside impl namespace for a reason, and will need to be
// improved later on but we have a starting point.

namespace pressiodemoapps{ namespace ad{ namespace impl{

template<class scalar_t, class mesh_t>
Expand Down
5 changes: 5 additions & 0 deletions include/impl/euler1d/eigen_app.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
#ifndef PRESSIODEMOAPPS_EULER1D_APP_HPP_
#define PRESSIODEMOAPPS_EULER1D_APP_HPP_

// note that the code below is pretty ugly for now, but it works.
// this is inside impl namespace for a reason, and will need to be
// improved later on but we have a starting point.


/*
probid = 1 (Sod) taken from: https://www.mdpi.com/2227-7390/6/10/211/pdf
*/
Expand Down
4 changes: 4 additions & 0 deletions include/impl/euler2d/eigen_app.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
#ifndef PRESSIODEMOAPPS_EULER2D_HPP_
#define PRESSIODEMOAPPS_EULER2D_HPP_

// note that the code below is pretty ugly for now, but it works.
// this is inside impl namespace for a reason, and will need to be
// improved later on but we have a starting point.

/*
problemId = 0: generic problem with periodic BC so ghosts are not used
problemId = 1: Sedov
Expand Down

0 comments on commit 6393629

Please sign in to comment.