#include <Basics_Utils.hxx>
#include <utilities.h>
+#include <fstream>
#include <algorithm>
#define castToNode(n) static_cast<const SMDS_MeshNode *>( n );
std::map<int, std::set<int> >::const_iterator subdomainIt = subdomainId2tetraId.begin();
std::string aSubdomainFileName = theFile;
aSubdomainFileName = aSubdomainFileName + ".subdomain";
- ofstream aSubdomainFile ( aSubdomainFileName , ios::out);
+ std::ofstream aSubdomainFile ( aSubdomainFileName , ios::out);
aSubdomainFile << "Nb subdomains " << subdomainId2tetraId.size() << std::endl;
for(;subdomainIt != subdomainId2tetraId.end() ; ++subdomainIt) {
// Write aSmdsToHybridIdMap to temp file
std::string aSmdsToHybridIdMapFileName;
aSmdsToHybridIdMapFileName = aGenericName + ".ids"; // ids relation
- ofstream aIdsFile ( aSmdsToHybridIdMapFileName , ios::out);
+ std::ofstream aIdsFile ( aSmdsToHybridIdMapFileName , ios::out);
Ok = aIdsFile.rdbuf()->is_open();
if (!Ok) {
INFOS( "Can't write into " << aSmdsToHybridIdMapFileName);