PhreeqcRM
BMI_interface.F90 File Reference

Data Types

type  BMIPhreeqcRM::bmi
 

Modules

module  BMIPhreeqcRM
 

Functions/Subroutines

integer function BMIPhreeqcRM::bmif_create_default (self)
 
integer function BMIPhreeqcRM::bmif_create (self, nxyz, nthreads)
 
integer function BMIPhreeqcRM::bmif_initialize (self, config_file)
 
integer function BMIPhreeqcRM::bmif_get_id (self)
 
integer function BMIPhreeqcRM::bmif_update (self)
 
integer function BMIPhreeqcRM::bmif_update_until (self, end_time)
 
integer function BMIPhreeqcRM::bmif_finalize (self)
 
integer function BMIPhreeqcRM::bmif_get_component_name (self, component_name)
 
integer function BMIPhreeqcRM::bmif_get_input_item_count (self, count)
 
integer function BMIPhreeqcRM::bmif_get_output_item_count (self, count)
 
integer function BMIPhreeqcRM::bmif_get_pointable_item_count (self, count)
 
integer function BMIPhreeqcRM::bmif_get_input_var_names (self, var_names)
 
integer function BMIPhreeqcRM::bmif_get_output_var_names (self, var_names)
 
integer function BMIPhreeqcRM::bmif_get_pointable_var_names (self, var_names)
 
integer function BMIPhreeqcRM::bmif_get_var_grid (self, var, grid)
 
integer function BMIPhreeqcRM::bmif_get_var_type (self, var, vtype)
 
integer function BMIPhreeqcRM::bmif_get_var_units (self, var, units)
 
integer function BMIPhreeqcRM::bmif_get_var_itemsize (self, var, itemsize)
 
integer function BMIPhreeqcRM::bmif_get_var_nbytes (self, var, nbytes)
 
integer function BMIPhreeqcRM::bmif_get_current_time (self, time)
 
integer function BMIPhreeqcRM::bmif_get_start_time (self, start_time)
 
integer function BMIPhreeqcRM::bmif_get_time (self, start_time)
 
integer function BMIPhreeqcRM::bmif_get_end_time (self, end_time)
 
integer function BMIPhreeqcRM::bmif_get_time_units (self, time_units)
 
integer function BMIPhreeqcRM::bmif_get_time_step (self, time_step)
 
integer function BMIPhreeqcRM::bmif_get_value_logical (self, var, dest)
 
integer function BMIPhreeqcRM::bmif_get_value_char (self, var, dest)
 
integer function BMIPhreeqcRM::bmif_get_value_char_alloc (self, var, dest)
 
integer function BMIPhreeqcRM::bmif_get_value_char1 (self, var, dest)
 
integer function BMIPhreeqcRM::bmif_get_value_double (self, var, dest)
 
integer function BMIPhreeqcRM::bmif_get_value_double1 (self, var, dest)
 
integer function BMIPhreeqcRM::bmif_get_value_double2 (self, var, dest)
 
integer function BMIPhreeqcRM::bmif_get_value_int (self, var, dest)
 
integer function BMIPhreeqcRM::bmif_get_value_int1 (self, var, dest)
 
integer function BMIPhreeqcRM::bmif_get_value_int2 (self, var, dest)
 
integer function BMIPhreeqcRM::bmif_get_value_ptr_double (self, var, ptr)
 
integer function BMIPhreeqcRM::bmif_get_value_ptr_double1 (self, var, ptr)
 
integer function BMIPhreeqcRM::bmif_get_value_ptr_integer (self, var, ptr)
 
integer function BMIPhreeqcRM::bmif_get_value_ptr_logical (self, var, ptr)
 
integer function BMIPhreeqcRM::bmif_set_value_b (self, var, src)
 
integer function BMIPhreeqcRM::bmif_set_value_c (self, var, src)
 
integer function BMIPhreeqcRM::bmif_set_value_int (self, var, src)
 
integer function BMIPhreeqcRM::bmif_set_value_int1 (self, var, src)
 
integer function BMIPhreeqcRM::bmif_set_value_int2 (self, var, src)
 
integer function BMIPhreeqcRM::bmif_set_value_double (self, var, src)
 
integer function BMIPhreeqcRM::bmif_set_value_double1 (self, var, src)
 
integer function BMIPhreeqcRM::bmif_set_value_double2 (self, var, src)
 
integer function BMIPhreeqcRM::bmif_grid_rank (self, grid, rank)
 
integer function BMIPhreeqcRM::bmif_grid_size (self, grid, ngrid)
 
integer function BMIPhreeqcRM::bmif_grid_type (self, grid, str)
 
integer function BMIPhreeqcRM::bmif_add_output_vars (self, option, def)
 
integer function BMIPhreeqcRM::Abort (self, iresult, err_str)
 
integer function BMIPhreeqcRM::CloseFiles (self)
 
integer function BMIPhreeqcRM::Concentrations2Utility (self, c, n, tc, p_atm)
 
integer function BMIPhreeqcRM::CreateMapping (self, grid2chem)
 
integer function BMIPhreeqcRM::DecodeError (self, e)
 
integer function BMIPhreeqcRM::Destroy (self)
 
integer function BMIPhreeqcRM::DumpModule (self, dump_on, append)
 
integer function BMIPhreeqcRM::ErrorMessage (self, errstr)
 
integer function BMIPhreeqcRM::FindComponents (self)
 
integer function BMIPhreeqcRM::GetBackwardMapping (self, n, list)
 
integer function BMIPhreeqcRM::GetChemistryCellCount (self)
 
integer function BMIPhreeqcRM::GetComponents (self, components)
 
integer function BMIPhreeqcRM::GetComponentCount (self)
 
integer function BMIPhreeqcRM::GetConcentrations (self, c)
 
integer function BMIPhreeqcRM::GetCurrentSelectedOutputUserNumber (self)
 
integer function BMIPhreeqcRM::GetDensityCalculated (self, density)
 
integer function BMIPhreeqcRM::GetDensity (self, density)
 
integer function BMIPhreeqcRM::GetEndCell (self, ec)
 
integer function BMIPhreeqcRM::GetEquilibriumPhasesCount (self)
 
integer function BMIPhreeqcRM::GetEquilibriumPhasesNames (self, names)
 
integer function BMIPhreeqcRM::GetErrorString (self, errstr)
 
integer function BMIPhreeqcRM::GetExchangeNames (self, names)
 
integer function BMIPhreeqcRM::GetExchangeSpeciesCount (self)
 
integer function BMIPhreeqcRM::GetExchangeSpeciesNames (self, names)
 
integer function BMIPhreeqcRM::GetFilePrefix (self, prefix)
 
integer function BMIPhreeqcRM::GetGasComponentsCount (self)
 
integer function BMIPhreeqcRM::GetGasComponentsNames (self, names)
 
integer function BMIPhreeqcRM::GetGasCompMoles (self, gas_moles)
 
integer function BMIPhreeqcRM::GetGasCompPressures (self, gas_p)
 
integer function BMIPhreeqcRM::GetGasCompPhi (self, gas_phi)
 
integer function BMIPhreeqcRM::GetGasPhaseVolume (self, gas_volume)
 
integer function BMIPhreeqcRM::GetGfw (self, gfw)
 
integer function BMIPhreeqcRM::GetGridCellCount (self)
 
integer function BMIPhreeqcRM::GetIPhreeqcId (self, i)
 
integer function BMIPhreeqcRM::GetIthConcentration (self, i, c)
 
integer function BMIPhreeqcRM::GetIthSpeciesConcentration (self, i, c)
 
integer function BMIPhreeqcRM::GetKineticReactionsCount (self)
 
integer function BMIPhreeqcRM::GetKineticReactionsNames (self, names)
 
integer function BMIPhreeqcRM::GetMpiMyself (self)
 
integer function BMIPhreeqcRM::GetMpiTasks (self)
 
integer function BMIPhreeqcRM::GetNthSelectedOutputUserNumber (self, n)
 
integer function BMIPhreeqcRM::GetPorosity (self, porosity)
 
integer function BMIPhreeqcRM::GetPressure (self, pressure)
 
integer function BMIPhreeqcRM::GetSaturationCalculated (self, sat_calc)
 
integer function BMIPhreeqcRM::GetSaturation (self, sat_calc)
 
integer function BMIPhreeqcRM::GetSelectedOutput (self, so)
 
integer function BMIPhreeqcRM::GetSelectedOutputColumnCount (self)
 
integer function BMIPhreeqcRM::GetSelectedOutputCount (self)
 
integer function BMIPhreeqcRM::GetSelectedOutputHeadings (self, headings)
 
integer function BMIPhreeqcRM::GetSelectedOutputRowCount (self)
 
integer function BMIPhreeqcRM::GetSICount (self)
 
integer function BMIPhreeqcRM::GetSINames (self, names)
 
integer function BMIPhreeqcRM::GetSolidSolutionComponentsCount (self)
 
integer function BMIPhreeqcRM::GetSolidSolutionComponentsNames (self, names)
 
integer function BMIPhreeqcRM::GetSolidSolutionNames (self, names)
 
integer function BMIPhreeqcRM::GetSolutionVolume (self, vol)
 
integer function BMIPhreeqcRM::GetSpeciesConcentrations (self, species_conc)
 
integer function BMIPhreeqcRM::GetSpeciesCount (self)
 
integer function BMIPhreeqcRM::GetSpeciesD25 (self, diffc)
 
integer function BMIPhreeqcRM::GetSpeciesLog10Gammas (self, species_log10gammas)
 
integer function BMIPhreeqcRM::GetSpeciesLog10Molalities (self, species_log10molalities)
 
integer function BMIPhreeqcRM::GetSpeciesNames (self, names)
 
integer function BMIPhreeqcRM::GetSpeciesSaveOn (self)
 
integer function BMIPhreeqcRM::GetSpeciesZ (self, z)
 
integer function BMIPhreeqcRM::GetStartCell (self, sc)
 
integer function BMIPhreeqcRM::GetSurfaceNames (self, names)
 
integer function BMIPhreeqcRM::GetSurfaceSpeciesCount (self)
 
integer function BMIPhreeqcRM::GetSurfaceSpeciesNames (self, names)
 
integer function BMIPhreeqcRM::GetSurfaceTypes (self, names)
 
integer function BMIPhreeqcRM::GetTemperature (self, temperature)
 
integer function BMIPhreeqcRM::GetThreadCount (self)
 
real(kind=8) function BMIPhreeqcRM::GetTime (self)
 
real(kind=8) function BMIPhreeqcRM::GetTimeconversion (self)
 
real(kind=8) function BMIPhreeqcRM::GetTimestep (self)
 
integer function BMIPhreeqcRM::GetViscosity (self, viscosity)
 
integer function BMIPhreeqcRM::InitializeYAML (self, yaml_name)
 
integer function BMIPhreeqcRM::InitialPhreeqc2Concentrations (self, bc_conc, n_boundary, bc1, bc2, f1)
 
integer function BMIPhreeqcRM::InitialPhreeqc2Module (self, ic1, ic2, f1)
 
integer function BMIPhreeqcRM::InitialSolutions2Module (self, solutions)
 
integer function BMIPhreeqcRM::InitialEquilibriumPhases2Module (self, equilibrium_phases)
 
integer function BMIPhreeqcRM::InitialExchanges2Module (self, exchanges)
 
integer function BMIPhreeqcRM::InitialGasPhases2Module (self, gas_phases)
 
integer function BMIPhreeqcRM::InitialSolidSolutions2Module (self, solid_solutions)
 
integer function BMIPhreeqcRM::InitialSurfaces2Module (self, surfaces)
 
integer function BMIPhreeqcRM::InitialKinetics2Module (self, kinetics)
 
integer function BMIPhreeqcRM::InitialPhreeqc2SpeciesConcentrations (self, bc_conc, n_boundary, bc1, bc2, f1)
 
integer function BMIPhreeqcRM::InitialPhreeqcCell2Module (self, n_user, cell_numbers, n_cell)
 
integer function BMIPhreeqcRM::LoadDatabase (self, db_name)
 
integer function BMIPhreeqcRM::LogMessage (self, str)
 
integer function BMIPhreeqcRM::MpiWorker (self)
 
integer function BMIPhreeqcRM::MpiWorkerBreak (self)
 
integer function BMIPhreeqcRM::OpenFiles (self)
 
integer function BMIPhreeqcRM::OutputMessage (self, str)
 
integer function BMIPhreeqcRM::RunCells (self)
 
integer function BMIPhreeqcRM::RunFile (self, workers, initial_phreeqc, utility, chem_name)
 
integer function BMIPhreeqcRM::RunString (self, workers, initial_phreeqc, utility, input_string)
 
integer function BMIPhreeqcRM::ScreenMessage (self, str)
 
integer function BMIPhreeqcRM::SetComponentH2O (self, tf)
 
integer function BMIPhreeqcRM::SetConcentrations (self, c)
 
integer function BMIPhreeqcRM::SetCurrentSelectedOutputUserNumber (self, n_user)
 
integer function BMIPhreeqcRM::SetDensityUser (self, density)
 
integer function BMIPhreeqcRM::SetDensity (self, density)
 
integer function BMIPhreeqcRM::SetDumpFileName (self, dump_name)
 
integer function BMIPhreeqcRM::SetErrorHandlerMode (self, mode)
 
integer function BMIPhreeqcRM::SetErrorOn (self, tf)
 
integer function BMIPhreeqcRM::SetFilePrefix (self, prefix)
 
integer function BMIPhreeqcRM::SetGasCompMoles (self, gas_moles)
 
integer function BMIPhreeqcRM::SetGasPhaseVolume (self, gas_volume)
 
integer function BMIPhreeqcRM::SetIthConcentration (self, i, c)
 
integer function BMIPhreeqcRM::SetIthSpeciesConcentration (self, i, c)
 
integer function BMIPhreeqcRM::SetMpiWorkerCallback (self, fcn)
 
integer function BMIPhreeqcRM::SetNthSelectedOutput (self, n)
 
integer function BMIPhreeqcRM::SetPartitionUZSolids (self, tf)
 
integer function BMIPhreeqcRM::SetPorosity (self, por)
 
integer function BMIPhreeqcRM::SetPressure (self, p)
 
integer function BMIPhreeqcRM::SetPrintChemistryMask (self, cell_mask)
 
integer function BMIPhreeqcRM::SetPrintChemistryOn (self, workers, initial_phreeqc, utility)
 
integer function BMIPhreeqcRM::SetRebalanceByCell (self, method)
 
integer function BMIPhreeqcRM::SetRebalanceFraction (self, f)
 
integer function BMIPhreeqcRM::SetRepresentativeVolume (self, rv)
 
integer function BMIPhreeqcRM::SetSaturationUser (self, sat)
 
integer function BMIPhreeqcRM::SetSaturation (self, sat)
 
integer function BMIPhreeqcRM::SetScreenOn (self, tf)
 
integer function BMIPhreeqcRM::SetSelectedOutputOn (self, tf)
 
integer function BMIPhreeqcRM::SetSpeciesSaveOn (self, save_on)
 
integer function BMIPhreeqcRM::SetTemperature (self, t)
 
integer function BMIPhreeqcRM::SetTime (self, time)
 
integer function BMIPhreeqcRM::SetTimeConversion (self, conv_factor)
 
integer function BMIPhreeqcRM::SetTimeStep (self, time_step)
 
integer function BMIPhreeqcRM::SetUnitsExchange (self, option)
 
integer function BMIPhreeqcRM::SetUnitsGasPhase (self, option)
 
integer function BMIPhreeqcRM::SetUnitsKinetics (self, option)
 
integer function BMIPhreeqcRM::SetUnitsPPassemblage (self, option)
 
integer function BMIPhreeqcRM::SetUnitsSolution (self, option)
 
integer function BMIPhreeqcRM::SetUnitsSSassemblage (self, option)
 
integer function BMIPhreeqcRM::SetUnitsSurface (self, option)
 
integer function BMIPhreeqcRM::SpeciesConcentrations2Module (self, species_conc)
 
integer function BMIPhreeqcRM::StateSave (self, istate)
 
integer function BMIPhreeqcRM::StateApply (self, istate)
 
integer function BMIPhreeqcRM::StateDelete (self, istate)
 
integer function BMIPhreeqcRM::UseSolutionDensityVolume (self, tf)
 
integer function BMIPhreeqcRM::WarningMessage (self, warn_str)
 

Variables

integer, parameter BMIPhreeqcRM::bmi_max_component_name = 2048
 
integer, parameter BMIPhreeqcRM::bmi_max_var_name = 2048
 
integer, parameter BMIPhreeqcRM::bmi_max_type_name = 2048
 
integer, parameter BMIPhreeqcRM::bmi_max_units_name = 2048
 
integer, parameter BMIPhreeqcRM::bmi_failure = 1
 
integer, parameter BMIPhreeqcRM::bmi_success = 0
 

Detailed Description

BMIPhreeqcRM module definition.