OOFEM 3.0
Loading...
Searching...
No Matches
oofem::FreemInterface Class Reference

#include <freeminterface.h>

Inheritance diagram for oofem::FreemInterface:
Collaboration diagram for oofem::FreemInterface:

Public Member Functions

 FreemInterface (Domain *d)
 Constructor.
virtual ~FreemInterface ()
 Destructor.
returnCode createMesh (TimeStep *tStep, int domainNumber, int domainSerNum, Domain **dNew) override
Public Member Functions inherited from oofem::MesherInterface
 MesherInterface (Domain *d)
 Constructor.
virtual ~MesherInterface ()
 Destructor.
virtual void initializeFrom (InputRecord &ir)

Protected Member Functions

int createInput (Domain *d, TimeStep *tStep)
 Creates the mesher input, containing the required mesh density information.
void smoothNodalDensities (Domain *d, FloatArray &nodalDensities, TimeStep *tStep)
 Service for smoothing the densities for freem.

Additional Inherited Members

Public Types inherited from oofem::MesherInterface
enum  returnCode { MI_OK , MI_NEEDS_EXTERNAL_ACTION , MI_FAILED }
Protected Attributes inherited from oofem::MesherInterface
Domaindomain

Detailed Description

This class represents the interface to freem mesh generation package. This interface is primarily responsible for two main tasks:

  • To create input mesher file, containing all information including the mesh density information based on the remeshing criteria.
  • Possibly to launch the mesher and transform its output to oofem input.

Definition at line 53 of file freeminterface.h.

Constructor & Destructor Documentation

◆ FreemInterface()

oofem::FreemInterface::FreemInterface ( Domain * d)
inline

Constructor.

Definition at line 57 of file freeminterface.h.

References oofem::MesherInterface::MesherInterface().

◆ ~FreemInterface()

virtual oofem::FreemInterface::~FreemInterface ( )
inlinevirtual

Destructor.

Definition at line 59 of file freeminterface.h.

Member Function Documentation

◆ createInput()

◆ createMesh()

MesherInterface::returnCode oofem::FreemInterface::createMesh ( TimeStep * tStep,
int domainNumber,
int domainSerNum,
Domain ** dNew )
overridevirtual

Runs the mesh generation, mesh will be written to corresponding domain din file.

Parameters
tStepTime step.
domainNumberNew domain number.
domainSerNumNew domain serial number.
dNewNewly allocated domain, representing new mesh or set to NULL if external generation has to be performed.

Implements oofem::MesherInterface.

Definition at line 51 of file freeminterface.C.

References createInput(), oofem::MesherInterface::domain, oofem::MesherInterface::MI_FAILED, and oofem::MesherInterface::MI_NEEDS_EXTERNAL_ACTION.

◆ smoothNodalDensities()


The documentation for this class was generated from the following files:

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011