Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::FeelModels::ModelMeshes< IndexType > Class Template Reference

Mesh Model Collection. More...

+ Inheritance diagram for Feel::FeelModels::ModelMeshes< IndexType >:
+ Collaboration diagram for Feel::FeelModels::ModelMeshes< IndexType >:

Public Types

using index_type = IndexType
 
using mesh_adaptation_type = typename modelmesh_type::MeshAdaptation
 
using mesh_base_ptrtype = typename modelmesh_type::mesh_base_ptrtype
 
using mesh_base_type = typename modelmesh_type::mesh_base_type
 
using modelmesh_type = ModelMesh< IndexType >
 
- Public Types inherited from Feel::FeelModels::ModelBase
using worldcomm_ptr_t = std::shared_ptr< WorldComm >
 
using worldcomm_t = WorldComm
 
using worldscomm_ptr_t = std::vector< std::shared_ptr< WorldComm > >
 
- Public Types inherited from Feel::JournalWatcher
using function_update_information_type = std::function< void(nl::json &)>
 
using notify_type = nl::json
 

Public Member Functions

template<typename MeshType >
void applyRemesh (std::string const &meshName, std::shared_ptr< MeshType > const &newMesh)
 
bool hasMeshMotion (std::string const &meshName) const
 
bool hasModelMesh (std::string const &meshName) const
 
template<typename MeshType >
void initMeasurePointsEvaluationTool (std::string const &meshName)
 
template<typename MeshType >
auto measurePointsEvaluationTool (std::string const &meshName)
 
template<typename MeshType = mesh_base_type>
auto mesh (std::string const &meshName) const
 
template<typename MeshType >
auto meshMotionTool (std::string const &meshName) const
 
template<typename MeshType >
auto modelFields (std::string const &prefix_field, std::string const &prefix_symbol="") const
 
ModelMesh< IndexType > & modelMesh ()
 
ModelMesh< IndexType > const & modelMesh () const
 
ModelMesh< IndexType > & modelMesh (std::string const &meshName)
 
ModelMesh< IndexType > const & modelMesh (std::string const &meshName) const
 
 ModelMeshes (ModelMeshes &&)=default
 
 ModelMeshes (ModelMeshes const &)=default
 
std::string repository_meshes () const
 
void saveMetadata () const
 
void setMesh (std::string const &meshName, mesh_base_ptrtype m)
 
void setModelMeshAsShared (ModelMesh< IndexType > const &m)
 
void setModelMeshAsShared (std::string const &meshName, ModelMesh< IndexType > const &m)
 shared data (mesh,space,...) between several ModelMesh
 
void setParameterValues (std::map< std::string, double > const &paramValues)
 
void setup (nl::json const &jarg)
 
void setup (nl::json const &jarg, std::set< std::string > const &keywordsToSetup)
 
void setupRestart (std::string const &meshName)
 
template<typename MeshType = mesh_base_type, bool AddFields = true>
auto symbolsExpr (std::string const &prefix_symbol="meshes") const
 
tabulate_informations_ptr_t tabulateInformations (nl::json const &jsonInfo, TabulateInformationProperties const &tabInfoProp) const override
 
template<typename MeshType >
void updateForUse (std::string const &meshName)
 
void updateInformationObject (nl::json &p) const override
 
void updateInformationObject (nl::json &p, std::string const &prefix_symbol) const
 
template<typename MeshType , typename SymbolsExprType >
void updateMeshAdaptation (std::string const &meshName, std::shared_ptr< typename mesh_adaptation_type::Event > event, SymbolsExprType const &se)
 
template<typename MeshType , typename SymbolsExprType >
void updateMeshMotion (std::string const &meshName, SymbolsExprType const &se)
 
void updateTime (double time)
 
- Public Member Functions inherited from Feel::FeelModels::ModelBase
void addParameterInModelProperties (std::string const &symbolName, double value)
 
void addTimerTool (std::string const &s, std::string const &fileName) const
 
po::variables_map const & clovm () const
 return variables map from command line options
 
virtual void createWorldsComm ()
 
bool hasModelProperties () const
 
void initModelProperties ()
 
bool isUpdatedForUse () const
 
std::string const & keyword () const
 keyword
 
worldscomm_ptr_t & localNonCompositeWorldsComm ()
 
worldscomm_ptr_t const & localNonCompositeWorldsComm () const
 
void log (std::string const &_className, std::string const &_functionName, std::string const &_msg) const
 
bool manageParameterValues () const
 
bool manageParameterValuesOfModelProperties () const
 
 ModelBase (ModelBase &&app)=default
 
 ModelBase (ModelBase const &app)=default
 
 ModelBase (std::string const &prefix, std::string const &keyword, worldcomm_ptr_t const &worldComm=Environment::worldCommPtr(), std::string const &subPrefix="", ModelBaseRepository const &modelRep=ModelBaseRepository(), ModelBaseCommandLineOptions const &modelCmdLineOpt=ModelBaseCommandLineOptions())
 
 ModelBase (std::string const &prefix, worldcomm_ptr_t const &worldComm=Environment::worldCommPtr(), std::string const &subPrefix="", ModelBaseRepository const &modelRep=ModelBaseRepository(), ModelBaseCommandLineOptions const &modelCmdLineOpt=ModelBaseCommandLineOptions())
 
ModelProperties & modelProperties ()
 
ModelProperties const & modelProperties () const
 
std::shared_ptr< ModelProperties > modelPropertiesPtr () const
 
std::string const & prefix () const
 
void printAndSaveInfo () const
 
void printInfo () const
 
ModelBaseRepository const & repository () const
 
std::string const & rootRepository () const
 
void saveInfo () const
 
std::string scalabilityFilename () const
 
std::string scalabilityPath () const
 
bool scalabilityReinitSaveFile () const
 
bool scalabilitySave () const
 
void setIsUpdatedForUse (bool b)
 
void setLocalNonCompositeWorldsComm (worldscomm_ptr_t &_worldsComm)
 
void setManageParameterValues (bool b)
 
void setManageParameterValuesOfModelProperties (bool b)
 
void setModelProperties (nl::json const &j)
 Set the Model Properties object from a json struct the json may come from python. More...
 
void setModelProperties (std::shared_ptr< ModelProperties > modelProps)
 
void setModelProperties (std::string const &filename)
 Set the Model Properties object from a filename. More...
 
void setScalabilityFilename (std::string const &s)
 
void setScalabilityPath (std::string const &s)
 
void setScalabilitySave (bool b)
 
void setWorldsComm (worldscomm_ptr_t &_worldsComm)
 
std::string const & subPrefix () const
 
auto symbolsExprParameter () const
 
tabulate_informations_ptr_t tabulateInformations () const
 
virtual tabulate_informations_ptr_t tabulateInformations (nl::json const &jsonInfo, TabulateInformationProperties const &tabInfoProp) const
 
TimerToolBase & timerTool (std::string const &s) const
 
void updateInformationObject (nl::json &p) const override
 
ModelBaseUpload const & upload () const
 
void upload (std::string const &dataPath) const
 
bool verbose () const
 
bool verboseAllProc () const
 
worldcomm_t & worldComm ()
 
worldcomm_t const & worldComm () const
 
worldcomm_ptr_t & worldCommPtr ()
 
worldcomm_ptr_t const & worldCommPtr () const
 
worldscomm_ptr_t & worldsComm ()
 
worldscomm_ptr_t const & worldsComm () const
 
- Public Member Functions inherited from Feel::JournalWatcher
 JournalWatcher (std::string const &category="", std::string const &name="", bool connect=JournalManager::journalAutoMode())
 Constructors. More...
 
 JournalWatcher (std::string const &category, bool useDefaultName, bool connect=JournalManager::journalAutoMode())
 
 JournalWatcher (function_update_information_type const &func, std::string const &category="", std::string const &name="", bool useDefaultNameIfEmpty=true, bool connect=JournalManager::journalAutoMode())
 
 JournalWatcher (JournalWatcher const &jw)
 Copy constructor.
 
virtual ~JournalWatcher ()
 Default destructor. The (inherited) object is always disconnected from the journal during the destruction.
 
bool journalIsConnected () const
 GettersCheck if the object is connected to the journal. More...
 
std::string const & journalWatcherInstanceName () const
 Return the full instance name for this watched object. The name is composed with the base name and a suffix index corresponding to the nth call. More...
 
nl::json::json_pointer journalSection () const
 Return the section into the journal as json_pointer.
 
nl::json const & informationObject () const
 Return the information into property tree.
 
void journalConnect ()
 Setters. More...
 
void journalDisconnect ()
 Disconnect the derived object from the simulation info manager. The disconnection is safe.
 
void setInformationObject (nl::json const &informationObject)
 set information object
 
void putInformationObject (nl::json const &informationObject)
 put information object
 
void addInformationObject (nl::json const &informationObject)
 add information object
 
void journalFinalize ()
 finalize journal publication
 

Additional Inherited Members

- Protected Member Functions inherited from Feel::JournalWatcher
void applyUpdateInformationObject ()
 Protected Methods.
 

Detailed Description

template<typename IndexType>
class Feel::FeelModels::ModelMeshes< IndexType >

Mesh Model Collection.

Template Parameters
IndexType

Member Function Documentation

◆ tabulateInformations()

template<typename IndexType >
tabulate_informations_ptr_t Feel::FeelModels::ModelMeshes< IndexType >::tabulateInformations ( nl::json const &  jsonInfo,
TabulateInformationProperties const &  tabInfoProp 
) const
overridevirtual

Reimplemented from Feel::FeelModels::ModelBase.

◆ updateInformationObject()

template<typename IndexType >
void Feel::FeelModels::ModelMeshes< IndexType >::updateInformationObject ( nl::json &  p) const
overridevirtual

Reimplemented from Feel::FeelModels::ModelBase.