Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rocman.h File Reference
#include <iostream>
#include <vector>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <cmath>
#include "commpi.h"
#include "Action.h"
#include "Scheduler.h"
#include "Coupling.h"
#include "Agent.h"
#include "RocBlas.h"
Include dependency graph for rocman.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RocmanControl_parameters
 

Macros

#define MAN_INTEG_SIZE   9
 
#define CI_DATE   "$Date: 2009/11/04 15:15:15 $ GMT"
 
#define VERSION   "3.0.0"
 
#define BUILD_NUM   2
 
#define MAN_DEBUG(l, x)   if (man_verbose>=l) printf x;
 

Enumerations

enum  {
  MAN_INTEG_VOL =1, MAN_INTEG_MASS =2, MAN_INTEG_XMOM =3, MAN_INTEG_YMOM =4,
  MAN_INTEG_ZMOM =5, MAN_INTEG_ENER =6, MAN_INTEG_IBAREA =7, MAN_INTEG_INBAREA =8,
  MAN_INTEG_VOL_UND =9
}
 

Functions

void debug_print (const std::string str, int pane, int pe, MPI_Comm comm, const char *memo=NULL)
 
void debug_int_print (const std::string str, int pane, int pe, MPI_Comm comm, const char *memo=NULL)
 

Variables

int man_verbose
 

Macro Definition Documentation

#define BUILD_NUM   2

Definition at line 52 of file rocman.h.

#define CI_DATE   "$Date: 2009/11/04 15:15:15 $ GMT"

Definition at line 50 of file rocman.h.

#define MAN_DEBUG (   l,
  x 
)    if (man_verbose>=l) printf x;

Definition at line 98 of file rocman.h.

Referenced by _load_rocface(), Agent::Agent(), InterpolateBase::backup(), FluidAgent::check_convergence(), FluidAgent::compute_integrals(), SolidAgent::compute_integrals(), compute_overlay(), NewAttribute::create(), CloneAttribute::create(), UseAttribute::create(), BurnAgent::create_buffer_all(), SolidAgent::create_buffer_all(), Agent::create_buffer_all(), Agent::create_registered_attributes(), Agent::create_registered_window_attributes(), Agent::finalize(), InterpolateBase::init(), LoadTransfer_FS::init(), LoadTransfer_FSc_ALE::init(), DummyPrint::init(), LoadTransferOnly_FSc_ALE::init(), BCInitInvoker::init(), ComputeFluidLoad_ALE::init(), TransferSolidDensity::init(), HeatTransfer_FS::init(), CopyBurnFromParentMesh::init(), Agent::init_callback(), FluidAgent::init_convergence(), BurnAgent::init_module(), FluidAgent::init_module(), SolidAgent::init_module(), Agent::init_module(), Agent::init_subscheduler(), Coupling::Interrupt(), BurnAgent::load_module(), FluidAgent::load_module(), SolidAgent::load_module(), load_rocmap(), load_rocprop(), Agent::obtain_bc(), Agent::obtain_gm(), reached_restartdump_time(), reached_simulation_time(), Control_parameters::read(), Agent::read_by_control_file(), Coupling::read_restart_info(), Coupling::restart_at_time(), rocstar_driver(), SetValueDouble::run(), LoadTransfer_FS::run(), Extrapolate_Linear::run(), CopyValue::run(), Extrapolate_Central::run(), LoadTransfer_FSc_ALE::run(), Interpolate_Linear::run(), DummyPrint::run(), Interpolate_Constant::run(), Interpolate_Central::run(), BCInvoker::run(), LoadTransferOnly_FSc_ALE::run(), GMInvoker::run(), GetDeformedMesh::run(), BCInitInvoker::run(), PhysicsAction::run(), SurfDiver::run(), GetDeformedMesh_ALE::run(), MeshMotionTransfer_SF::run(), ComputeFluidLoad_ALE::run(), DeformationVelTransfer_SF::run(), MeshMotionTransferISS::run(), ComputeMeshMotion::run(), Coupling::run(), ComputeFaceCenters::run(), TransferSolidDensity::run(), FluidPropagateSurface::run(), TransferBurnRate_FS_ALE::run(), MassTransfer_SF_ALE::run(), MassTransfer::run(), TemperatureTransfer_SF::run(), ZoomInterface::run(), HeatTransfer_FS::run(), ComputeRhofvf::run(), ComputeBurnPane::run(), RemeshInit::run(), CopyBurnFromParentMesh::run(), CopyBflagFromBurn::run(), ComputePconn::run(), Reset_du_alp::run(), Agent::run_bcinitaction(), Coupling::run_initactions(), Scheduler::schedule(), Agent::store_solutions(), FluidAgent::unload_module(), BurnAgent::unload_module(), SolidAgent::unload_module(), FullyCoupling::update_distances(), FullyCoupling::update_integrals(), Agent::write_control_file(), and Agent::write_data_files().

!$Id A and M Breitenfeld **Created MAN_INTEG_SIZE   9

Definition at line 38 of file rocman.h.

#define VERSION   "3.0.0"

Definition at line 51 of file rocman.h.

Enumeration Type Documentation

anonymous enum
Enumerator
MAN_INTEG_VOL 
MAN_INTEG_MASS 
MAN_INTEG_XMOM 
MAN_INTEG_YMOM 
MAN_INTEG_ZMOM 
MAN_INTEG_ENER 
MAN_INTEG_IBAREA 
MAN_INTEG_INBAREA 
MAN_INTEG_VOL_UND 

Definition at line 54 of file rocman.h.

54  { MAN_INTEG_VOL=1, MAN_INTEG_MASS=2, // Volume and mass
55  MAN_INTEG_XMOM=3, MAN_INTEG_YMOM=4, MAN_INTEG_ZMOM=5, // Momemtum
56  MAN_INTEG_ENER=6, // Energy
57  MAN_INTEG_IBAREA=7, // Area of burning f-s interface
58  MAN_INTEG_INBAREA=8, // Area of non-burning f-s interface
59  MAN_INTEG_VOL_UND=9 // Undeformed volume
60 };

Function Documentation

void debug_int_print ( const std::string  str,
int  pane,
int  pe,
MPI_Comm  comm,
const char *  memo = NULL 
)

Definition at line 918 of file rocstar_driver.C.

References COM_get_array(), COMMPI_Comm_rank(), and i.

919 {
920  int comm_rank = COMMPI_Comm_rank(comm);
921  if (comm_rank == pe) {
922  int *vm;
923  int strid, cap;
924  printf("%s %s: before %p\n", str.c_str(), memo?memo:"", vm);
925  COM_get_array(str.c_str(), pane, &vm, &strid, &cap);
926  printf("%s %s: after %p \n", str.c_str(), memo?memo:"", vm);
927  for (int i=0; i<strid*cap; i++) printf("%d ", vm[i]);
928  printf("\n");
929  }
930 }
int COMMPI_Comm_rank(MPI_Comm c)
Definition: commpi.h:162
void COM_get_array(const char *wa_str, int pane_id, void **addr, int *strd, int *cap)
Get the address for an attribute on a specific pane.
blockLoc i
Definition: read.cpp:79

Here is the call graph for this function:

void debug_print ( const std::string  str,
int  pane,
int  pe,
MPI_Comm  comm,
const char *  memo = NULL 
)

Definition at line 904 of file rocstar_driver.C.

References COM_get_array(), COMMPI_Comm_rank(), and i.

905 {
906  int comm_rank = COMMPI_Comm_rank(comm);
907  if (comm_rank == pe) {
908  double *vm;
909  int strid, cap;
910  printf("%s %s: before %p\n", str.c_str(), memo?memo:"", vm);
911  COM_get_array(str.c_str(), pane, &vm, &strid, &cap);
912  printf("%s %s: after %p \n", str.c_str(), memo?memo:"", vm);
913  for (int i=0; i<strid*cap; i++) printf("%.17e ", vm[i]);
914  printf("\n");
915  }
916 }
int COMMPI_Comm_rank(MPI_Comm c)
Definition: commpi.h:162
void COM_get_array(const char *wa_str, int pane_id, void **addr, int *strd, int *cap)
Get the address for an attribute on a specific pane.
blockLoc i
Definition: read.cpp:79

Here is the call graph for this function:

Variable Documentation