Skip to content
Snippets Groups Projects

Update waves

Merged Boman Romain requested to merge adrien into master
1 file
+ 11
0
Compare changes
  • Side-by-side
  • Inline
@@ -8,6 +8,7 @@
#include "wTag.h"
#include "wMedium.h"
#include "wNode.h"
#include "wMem.h"
#include "Teuchos_ParameterList.hpp"
#include "wProblem.h"
@@ -110,6 +111,16 @@ protected:
Teuchos::RCP<RandomField<scalar,Kokkos::DefaultExecutionSpace>> random_field
)
{
/* @todo [AC] temporary fix for initializing Mem in mrstlnos */
for (auto e : pbl.msh->elem) {
if (e->type() == ELTYPE::HEX8 || e->type() == ELTYPE::TETRA4) // 3D
e->getVMem().update(true);
//else // 2D
// e->getVMem().update(false);
}
/* end temporary fix*/
typedef Tpetra::Vector<>::global_ordinal_type global_ordinal_type;
LinearSolver::getTimers()["write: convert data"].start();
Loading