SPHinXsys  alpha version
Classes | Namespaces
base_material.h File Reference

This is the base classes of all materials. A function in a derived material class returns a value with the inputs from the particle data. Basically, it is a interface from which one can access derived material by dynamic cast. Note that the derived material may have position dependent or local properties. More...

#include "base_data_package.h"
#include "xml_engine.h"
#include <string>

Go to the source code of this file.

Classes

class  SPH::BaseMaterial
 Base of all materials. More...
 
class  SPH::Fluid
 Base class of all fluids. More...
 
class  SPH::Solid
 Base class of all solid materials. More...
 

Namespaces

 SPH
 

Detailed Description

This is the base classes of all materials. A function in a derived material class returns a value with the inputs from the particle data. Basically, it is a interface from which one can access derived material by dynamic cast. Note that the derived material may have position dependent or local properties.

Author
Chi Zhang and Xiangyu Hu