DomainContext* DomainContext_New( Name name, double start, double stop, MPI_Comm communicator, Dictionary* dictionary ) { DomainContext* self = _DomainContext_DefaultNew( name ); self->isConstructed = True; _AbstractContext_Init( (AbstractContext*) self ); _DomainContext_Init( self ); return self; }
UnderworldContext* UnderworldContext_New( Name name, double start, double stop, MPI_Comm communicator, Dictionary* dictionary ) { UnderworldContext* self = (UnderworldContext*)_UnderworldContext_DefaultNew( name ); self->isConstructed = True; _AbstractContext_Init( (AbstractContext*) self ); _DomainContext_Init( (DomainContext*) self ); _FiniteElementContext_Init( (FiniteElementContext*) self ); _PICelleratorContext_Init( (PICelleratorContext*) self ); _UnderworldContext_Init( self ); return self; }