Go to the source code of this file.
◆ initial_value()
Number initial_value |
( |
const Point & |
p, |
|
|
const Parameters & |
, |
|
|
const std::string & |
, |
|
|
const std::string & |
|
|
) |
| |
◆ initialize()
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 60 of file main.C.
64 #if !defined(LIBMESH_TRILINOS_HAVE_DTK)
67 libmesh_example_requires(
false,
"--enable-trilinos");
72 MeshTools::Generation::build_cube(from_mesh, 4, 4, 4, 0, 1, 0, 1, 0, 1,
HEX8);
73 from_mesh.print_info();
83 MeshTools::Generation::build_cube(to_mesh, 5, 5, 5, 0, 1, 0, 1, 0, 1,
TET4);
References libMesh::EquationSystems::add_system(), libMesh::System::add_variable(), libMesh::System::attach_init_function(), libMesh::MeshTools::Generation::build_cube(), libMesh::HEX8, libMesh::TriangleWrapper::init(), libMesh::EquationSystems::init(), initialize(), libMesh::TET4, libMesh::DTKSolutionTransfer::transfer(), libMesh::EquationSystems::update(), libMesh::System::variable(), and libMesh::MeshOutput< MT >::write_equation_systems().
Manages consistently variables, degrees of freedom, and coefficient vectors.
Implementation of a SolutionTransfer object that uses the DataTransferKit (https://github....
The Mesh class is a thin wrapper, around the ReplicatedMesh class by default.
const T_sys & get_system(const std::string &name) const
const Variable & variable(unsigned int var) const
Return a constant reference to Variable var.
The ExodusII_IO class implements reading meshes in the ExodusII file format from Sandia National Labs...
Number initial_value(const Point &p, const Parameters &, const std::string &, const std::string &)
void init(triangulateio &t)
Initializes the fields of t to nullptr/0 as necessary.
unsigned int add_variable(const std::string &var, const FEType &type, const std::set< subdomain_id_type > *const active_subdomains=nullptr)
Adds the variable var to the list of variables for this system.
The LibMeshInit class, when constructed, initializes the dependent libraries (e.g.
void initialize(EquationSystems &es, const std::string &system_name)
This is the EquationSystems class.
Real time
For time-dependent problems, this is the time t at the beginning of the current timestep.
T & set(const std::string &)
virtual void write_equation_systems(const std::string &, const EquationSystems &, const std::set< std::string > *system_names=nullptr)
This method implements writing a mesh with data to a specified file where the data is taken from the ...
virtual void transfer(const Variable &from_var, const Variable &to_var) override
Transfer the values of a variable to another.
Manages consistently variables, degrees of freedom, and coefficient vectors for explicit systems.
void attach_init_function(void fptr(EquationSystems &es, const std::string &name))
Register a user function to use in initializing the system.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void project_solution(FunctionBase< Number > *f, FunctionBase< Gradient > *g=nullptr) const
Projects arbitrary functions onto the current solution.
Parameters parameters
Data structure holding arbitrary parameters.