Skip to content

Commit

Permalink
More debug to FieldReg.
Browse files Browse the repository at this point in the history
  • Loading branch information
oehmke committed Oct 25, 2024
1 parent 8f14304 commit c5b94cf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/Infrastructure/Mesh/src/Legacy/ESMCI_FieldReg.C
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@
#include <Mesh/include/Legacy/ESMCI_FieldReg.h>
#include <Mesh/include/Legacy/ESMCI_MEImprint.h>
#include <Mesh/include/Legacy/ESMCI_ParEnv.h>
#include "ESMCI_LogErr.h"

#include <algorithm>
#include <cstdio>



//-----------------------------------------------------------------------------
// leave the following line as-is; it will insert the cvs ident string
// into the object file for tracking purposes.
Expand Down Expand Up @@ -337,7 +340,12 @@ void FieldReg::Commit(MeshDB &mesh) {
std::vector<UInt> nvalSet; // keep track of sizes of _fields
std::vector<UInt> nvalSetObj; // keep track of sizes of _fields
MEField<> &f = *fi->second;
//std::cout << "Imprinting MEField:" << f.name() << std::endl;
//std::cout << "Imprinting MEField:" << f.name() << std::endl;

char buff[1024];
sprintf(buff,"BOB: ord=%d MEField=%s",ord,f.name().c_str());
ESMC_LogDefault.Write(buff, ESMC_LOGMSG_INFO);

f.ordinal = ord++;
// Loop obj type
KernelList::iterator ki = mesh.set_begin(), ke = mesh.set_end(), kn;
Expand Down

0 comments on commit c5b94cf

Please sign in to comment.