void Interpolation3DTest::calcIntersectionMatrix(const char* mesh1path, const char* mesh1, const char* mesh2path, const char* mesh2, IntersectionMatrix& m) const
{
- const string dataDir = getenv("DATA_DIR");
+ const string dataBaseDir = getenv("MED_ROOT_DIR");
+ const string dataDir = dataBaseDir + "/share/salome/resources/med/";
LOG(1, std::endl << "=== -> intersecting src = " << mesh1 << ", target = " << mesh2 );
void MeshTestToolkit<SPACEDIM,MESHDIM>::calcIntersectionMatrix(const char* mesh1path, const char* mesh1, const char* mesh2path, const char* mesh2, IntersectionMatrix& m) const
{
const string dataBaseDir = getenv("MED_ROOT_DIR");
- const string dataDir = dataBaseDir + string("/share/salome/resources/MedFiles/");
+ const string dataDir = dataBaseDir + string("/share/salome/resources/med/");
LOG(1, std::endl << "=== -> intersecting src = " << mesh1path << ", target = " << mesh2path );
void calcIntersectionMatrix(const char* mesh1path, const char* mesh1, const char* mesh2path, const char* mesh2, IntersectionMatrix& m)
{
const string dataBaseDir = getenv("MED_ROOT_DIR");
- const string dataDir = dataBaseDir + "share/salome/resources/med/";
+ const string dataDir = dataBaseDir + "/share/salome/resources/med/";
LOG(1, std::endl << "=== -> intersecting src = " << mesh1 << ", target = " << mesh2 );
*/
void RemapperTest::test_Remapper() {
string sourcename=getenv("MED_ROOT_DIR");
- sourcename +="/share/salome/resources/MedFiles/square1.med";
+ sourcename +="/share/salome/resources/med/square1.med";
MEDMEM::MESH source_mesh (MED_DRIVER,sourcename,"Mesh_2");
string targetname=getenv("MED_ROOT_DIR");
- targetname +="/share/salome/resources/MedFiles/square2.med";
+ targetname +="/share/salome/resources/med/square2.med";
MEDMEM::MESH target_mesh (MED_DRIVER,targetname,"Mesh_3");
MEDMEM::SUPPORT source_support(&source_mesh,"on All support");
void calcIntersectionMatrix(const char* mesh1path, const char* mesh1, const char* mesh2path, const char* mesh2, IntersectionMatrix& m)
{
- const string dataDir = getenv("DATA_DIR");
+ const string dataBaseDir = getenv("MED_ROOT_DIR");
+ const string dataDir = dataBaseDir + "/share/salome/resources/med/";
LOG(1, std::endl << "=== -> intersecting src = " << mesh1 << ", target = " << mesh2 );