check in a uniformInterpolationTable without destroying it
Hi,
in the constructor of my boundary condition I'm trying to construct an uniformInterpolationTable and check it into the objectRegistry. Code:
myUniformInterpolationTable_ Code:
const uniformInterpolationTable<scalar>& myTable = Code:
--> FOAM FATAL ERROR: Code:
Constructing IOobject called myUniformInterpolationTable_ of type IOobject Thanks |
Are you sure you are checking it in to the object registry with the call to this->patch().boundaryMesh().mesh()? Following the function calls seems like you're returning pointers and references. Can you try use a more direct access to mesh and see if it improves things?
|
Quote:
The debug information says Code:
objectRegistry::checkIn(regIOobject&) : region0 : checking in myUniformInterpolationTable_ I don't know how to access it in a more direct way, due to I'm in my boundary condition. Can you give me a hint. Thanks |
If its checking in and then out, then maybe its more the time you are asking it to be created. Try this->db().time().constant(). It seems most boundary conditions use that for finding the time. Similarly, maybe try this->db().mesh().
|
All times are GMT -4. The time now is 05:05. |