Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
physical_property_model.h File Reference
#include <core/parameters.h>
#include <core/simulation_control.h>
#include <cstdint>
Include dependency graph for physical_property_model.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PhysicalPropertyModel

Enumerations

enum class  field : int {
  shear_rate , temperature , temperature_p1 , temperature_p2 ,
  pressure , phase_order_cahn_hilliard , phase_order_cahn_hilliard_filtered , levelset ,
  tracer_concentration , void_fraction
}

Functions

 DeclExceptionMsg (SimulationControlUsageByProperty, "The usage of the simulation control object is currently only supported by the SpecificHeat models")
 DeclException2 (SizeOfFields, unsigned int, unsigned int,<< "The number of values for a field : "<< arg1<< " is not equal to the number of values for another field "<< arg2)
 DeclException2 (PhysicialPropertyModelFieldUndefined, std::string, std::string,<< "Error in '"<< arg1<< "' model. \n "<< "The '"<< arg2<< "' field required by the model is not defined.")
void set_field_vector (const field &id, const std::vector< double > &data, std::map< field, std::vector< double > > &fields)

Enumeration Type Documentation

◆ field

enum class field : int
strong
Enumerator
shear_rate 
temperature 
temperature_p1 
temperature_p2 
pressure 
phase_order_cahn_hilliard 
phase_order_cahn_hilliard_filtered 
levelset 
tracer_concentration 
void_fraction 

Definition at line 39 of file physical_property_model.h.

Function Documentation

◆ DeclException2() [1/2]

DeclException2 ( PhysicialPropertyModelFieldUndefined ,
std::string ,
std::string ,
<< "Error in '"<< arg1<< "' model. \n "<< "The '"<< arg2<< "' field required by the model is not defined."  )

◆ DeclException2() [2/2]

DeclException2 ( SizeOfFields ,
unsigned int ,
unsigned int ,
<< "The number of values for a field : "<< arg1<< " is not equal to the number of values for another field "<< arg2 )

◆ DeclExceptionMsg()

DeclExceptionMsg ( SimulationControlUsageByProperty ,
"The usage of the simulation control object is currently only supported by the SpecificHeat models"  )

◆ set_field_vector()

void set_field_vector ( const field & id,
const std::vector< double > & data,
std::map< field, std::vector< double > > & fields )
inline

Definition at line 54 of file physical_property_model.h.