Merge remote-tracking branch 'upstream/master'

This commit is contained in:
jguenole
2018-03-21 18:06:06 +01:00
3240 changed files with 309844 additions and 92365 deletions

View File

@ -6,8 +6,8 @@ cmake_minimum_required(VERSION 3.1)
project(lammps)
set(SOVERSION 0)
set(LAMMPS_SOURCE_DIR ${CMAKE_SOURCE_DIR}/../src)
set(LAMMPS_LIB_SOURCE_DIR ${CMAKE_SOURCE_DIR}/../lib)
set(LAMMPS_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../src)
set(LAMMPS_LIB_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../lib)
set(LAMMPS_LIB_BINARY_DIR ${CMAKE_BINARY_DIR}/lib)
#To not conflict with old Makefile build system, we build everything here
@ -16,20 +16,18 @@ file(GLOB LMP_SOURCES ${LAMMPS_SOURCE_DIR}/main.cpp)
list(REMOVE_ITEM LIB_SOURCES ${LMP_SOURCES})
# Cmake modules/macros are in a subdirectory to keep this file cleaner
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/Modules)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/Modules)
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CXX_FLAGS)
#release comes with -O3 by default
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." FORCE)
endif(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CXX_FLAGS)
foreach(STYLE_FILE style_angle.h style_atom.h style_body.h style_bond.h style_command.h style_compute.h style_dihedral.h style_dump.h
style_fix.h style_improper.h style_integrate.h style_kspace.h style_minimize.h style_nbin.h style_npair.h style_nstencil.h
style_ntopo.h style_pair.h style_reader.h style_region.h)
if(EXISTS ${LAMMPS_SOURCE_DIR}/${STYLE_FILE})
message(FATAL_ERROR "There is a ${STYLE_FILE} in ${LAMMPS_SOURCE_DIR}, please clean up the source directory first")
endif()
endforeach()
# remove any style headers in the src dir
file(GLOB SRC_STYLE_FILES ${LAMMPS_SOURCE_DIR}/style_*.h)
if(SRC_STYLE_FILES)
file(REMOVE ${SRC_STYLE_FILES})
endif()
enable_language(CXX)
@ -39,14 +37,22 @@ enable_language(CXX)
#####################################################################
include(CheckCCompilerFlag)
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Intel")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -restrict")
endif()
########################################################################
# User input options #
########################################################################
option(BUILD_SHARED_LIBS "Build shared libs" OFF)
option(INSTALL_LIB "Install lammps library and header" ON)
if(BUILD_SHARED_LIBS) # for all pkg libs, mpi_stubs and linalg
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
endif()
include(GNUInstallDirs)
set(LAMMPS_LINK_LIBS)
set(LAMMPS_DEPS)
set(LAMMPS_API_DEFINES)
option(ENABLE_MPI "Build MPI version" OFF)
if(ENABLE_MPI)
find_package(MPI REQUIRED)
@ -58,13 +64,15 @@ if(ENABLE_MPI)
endif()
else()
file(GLOB MPI_SOURCES ${LAMMPS_SOURCE_DIR}/STUBS/mpi.c)
list(APPEND LIB_SOURCES ${MPI_SOURCES})
add_library(mpi_stubs STATIC ${MPI_SOURCES})
include_directories(${LAMMPS_SOURCE_DIR}/STUBS)
list(APPEND LAMMPS_LINK_LIBS mpi_stubs)
endif()
set(LAMMPS_SIZE_LIMIT "LAMMPS_SMALLBIG" CACHE STRING "Lammps size limit")
set_property(CACHE LAMMPS_SIZE_LIMIT PROPERTY STRINGS LAMMPS_SMALLBIG LAMMPS_BIGBIG LAMMPS_SMALLSMALL)
add_definitions(-D${LAMMPS_SIZE_LIMIT})
set(LAMMPS_API_DEFINES "${LAMMPS_API_DEFINES} -D${LAMMPS_SIZE_LIMIT}")
set(LAMMPS_MEMALIGN "64" CACHE STRING "enables the use of the posix_memalign() call instead of malloc() when large chunks or memory are allocated by LAMMPS")
add_definitions(-DLAMMPS_MEMALIGN=${LAMMPS_MEMALIGN})
@ -72,6 +80,13 @@ add_definitions(-DLAMMPS_MEMALIGN=${LAMMPS_MEMALIGN})
option(LAMMPS_EXCEPTIONS "enable the use of C++ exceptions for error messages (useful for library interface)" OFF)
if(LAMMPS_EXCEPTIONS)
add_definitions(-DLAMMPS_EXCEPTIONS)
set(LAMMPS_API_DEFINES "${LAMMPS_API_DEFINES} -DLAMMPS_EXCEPTIONS")
endif()
set(LAMMPS_MACHINE "" CACHE STRING "Suffix to append to lmp binary and liblammps (WON'T enable any features automatically")
mark_as_advanced(LAMMPS_MACHINE)
if(LAMMPS_MACHINE)
set(LAMMPS_MACHINE "_${LAMMPS_MACHINE}")
endif()
option(CMAKE_VERBOSE_MAKEFILE "Verbose makefile" OFF)
@ -85,12 +100,12 @@ option(ENABLE_ALL "Build all default packages" OFF)
set(DEFAULT_PACKAGES ASPHERE BODY CLASS2 COLLOID COMPRESS CORESHELL DIPOLE GRANULAR
KSPACE MANYBODY MC MEAM MISC MOLECULE PERI QEQ
REAX REPLICA RIGID SHOCK SNAP SRD)
set(OTHER_PACKAGES KIM PYTHON MSCG MPIIO VORONOI POEMS
USER-ATC USER-AWPMD USER-CGDNA
set(OTHER_PACKAGES KIM PYTHON MSCG MPIIO VORONOI POEMS LATTE
USER-ATC USER-AWPMD USER-CGDNA USER-MESO
USER-CGSDK USER-COLVARS USER-DIFFRACTION USER-DPD USER-DRUDE USER-EFF
USER-FEP USER-H5MD USER-LB USER-MANIFOLD USER-MEAMC USER-MGPT USER-MISC
USER-MOLFILE USER-NETCDF USER-PHONON USER-QTB USER-REAXC USER-SMD
USER-SMTBQ USER-SPH USER-TALLY USER-VTK USER-QUIP USER-QMMM)
USER-MOFFF USER-MOLFILE USER-NETCDF USER-PHONON USER-QTB USER-REAXC USER-SMD
USER-SMTBQ USER-SPH USER-TALLY USER-UEF USER-VTK USER-QUIP USER-QMMM)
set(ACCEL_PACKAGES USER-OMP KOKKOS OPT USER-INTEL GPU)
foreach(PKG ${DEFAULT_PACKAGES})
option(ENABLE_${PKG} "Build ${PKG} Package" ${ENABLE_ALL})
@ -120,8 +135,10 @@ endif()
######################################################
# packages with special compiler needs or external libs
######################################################
if(ENABLE_REAX OR ENABLE_MEAM OR ENABLE_USER-QUIP OR ENABLE_USER-QMMM)
if(ENABLE_REAX OR ENABLE_MEAM OR ENABLE_USER-QUIP OR ENABLE_USER-QMMM OR ENABLE_LATTE)
enable_language(Fortran)
include(CheckFortranCompilerFlag)
check_Fortran_compiler_flag("-fno-second-underscore" FC_HAS_NO_SECOND_UNDERSCORE)
endif()
if(ENABLE_KOKKOS OR ENABLE_MSCG)
@ -153,21 +170,18 @@ if(ENABLE_KSPACE)
endif()
endif()
if(ENABLE_MISC)
option(LAMMPS_XDR "include XDR compatibility files for doing particle dumps in XTC format" OFF)
if(LAMMPS_XDR)
add_definitions(-DLAMMPS_XDR)
endif()
endif()
if(ENABLE_MSCG OR ENABLE_USER-ATC OR ENABLE_USER-AWPMD OR ENABLE_USER-QUIP)
if(ENABLE_MSCG OR ENABLE_USER-ATC OR ENABLE_USER-AWPMD OR ENABLE_USER-QUIP OR ENABLE_LATTE)
find_package(LAPACK)
if(LAPACK_FOUND)
list(APPEND LAMMPS_LINK_LIBS ${LAPACK_LIBRARIES})
else()
if(NOT LAPACK_FOUND)
enable_language(Fortran)
file(GLOB LAPACK_SOURCES ${LAMMPS_LIB_SOURCE_DIR}/linalg/*.f)
list(APPEND LIB_SOURCES ${LAPACK_SOURCES})
add_library(linalg STATIC ${LAPACK_SOURCES})
include(CheckFortranCompilerFlag)
check_Fortran_compiler_flag("-fno-second-underscore" FC_HAS_NO_SECOND_UNDERSCORE)
if(FC_HAS_NO_SECOND_UNDERSCORE)
target_compile_options(linalg PRIVATE -fno-second-underscore)
endif()
set(LAPACK_LIBRARIES linalg)
endif()
endif()
@ -177,14 +191,13 @@ if(ENABLE_PYTHON)
add_definitions(-DLMP_PYTHON)
include_directories(${PYTHON_INCLUDE_DIR})
list(APPEND LAMMPS_LINK_LIBS ${PYTHON_LIBRARY})
if(BUILD_SHARED_LIBS)
if(NOT PYTHON_INSTDIR)
execute_process(COMMAND ${PYTHON_EXECUTABLE}
-c "import distutils.sysconfig as cg; print(cg.get_python_lib(1,0,prefix='${CMAKE_INSTALL_PREFIX}'))"
OUTPUT_VARIABLE PYTHON_INSTDIR OUTPUT_STRIP_TRAILING_WHITESPACE)
endif()
install(FILES ${CMAKE_SOURCE_DIR}/../python/lammps.py DESTINATION ${PYTHON_INSTDIR})
if(NOT BUILD_SHARED_LIBS)
message(FATAL_ERROR "Python package need lammps to be build shared, use -DBUILD_SHARED_LIBS=ON")
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../python/lammps.py DESTINATION ${PYTHON_INSTDIR})
endif()
endif()
@ -221,8 +234,29 @@ if(ENABLE_VORONOI)
list(APPEND LAMMPS_LINK_LIBS ${VORO_LIBRARIES})
endif()
if(ENABLE_LATTE)
find_package(LATTE QUIET)
if(NOT LATTE_FOUND)
message(STATUS "LATTE not found - we will build our own")
include(ExternalProject)
ExternalProject_Add(latte_build
URL https://github.com/lanl/LATTE/archive/v1.0.1.tar.gz
URL_MD5 5137e28cb1a64444bd571c98c98a6eee
SOURCE_SUBDIR cmake
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR> -DCMAKE_POSITION_INDEPENDENT_CODE=${CMAKE_POSITION_INDEPENDENT_CODE}
)
ExternalProject_get_property(latte_build INSTALL_DIR)
set(LATTE_LIBRARIES ${INSTALL_DIR}/${CMAKE_INSTALL_LIBDIR}/liblatte.a)
list(APPEND LAMMPS_DEPS latte_build)
endif()
list(APPEND LAMMPS_LINK_LIBS ${LATTE_LIBRARIES} ${LAPACK_LIBRARIES} ${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES})
endif()
if(ENABLE_USER-MOLFILE)
list(APPEND LAMMPS_LINK_LIBS ${CMAKE_DL_LIBS})
add_library(molfile INTERFACE)
target_include_directories(molfile INTERFACE ${LAMMPS_LIB_SOURCE_DIR}/molfile)
target_link_libraries(molfile INTERFACE ${CMAKE_DL_LIBS})
list(APPEND LAMMPS_LINK_LIBS molfile)
endif()
if(ENABLE_USER-NETCDF)
@ -239,7 +273,7 @@ endif()
if(ENABLE_USER-QUIP)
find_package(QUIP REQUIRED)
list(APPEND LAMMPS_LINK_LIBS ${QUIP_LIBRARIES} ${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES})
list(APPEND LAMMPS_LINK_LIBS ${QUIP_LIBRARIES} ${LAPACK_LIBRARIES} ${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES})
endif()
if(ENABLE_USER-QMMM)
@ -248,17 +282,6 @@ if(ENABLE_USER-QMMM)
list(APPEND LAMMPS_LINK_LIBS ${QE_LIBRARIES} ${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES})
endif()
if(ENABLE_USER-AWPMD)
include_directories(${LAMMPS_LIB_SOURCE_DIR}/awpmd/systems/interact
${LAMMPS_LIB_SOURCE_DIR}/awpmd/ivutils/include)
endif()
if(ENABLE_USER-H5MD)
find_package(HDF5 REQUIRED)
list(APPEND LAMMPS_LINK_LIBS ${HDF5_LIBRARIES})
include_directories(${HDF5_INCLUDE_DIRS} ${LAMMPS_LIB_SOURCE_DIR}/h5md/include)
endif()
if(ENABLE_USER-VTK)
find_package(VTK REQUIRED NO_MODULE)
include(${VTK_USE_FILE})
@ -289,13 +312,11 @@ if(ENABLE_MSCG)
WORKING_DIRECTORY ${LAMMPS_LIB_BINARY_DIR}/mscg)
endif()
file(GLOB MSCG_SOURCES ${LAMMPS_LIB_MSCG_BIN_DIR}/*.cpp)
list(APPEND LIB_SOURCES ${MSCG_SOURCES})
foreach(MSCG_SOURCE ${MSCG_SOURCES})
set_property(SOURCE ${MSCG_SOURCE} APPEND PROPERTY COMPILE_DEFINITIONS
DIMENSION=3 _exclude_gromacs=1)
endforeach()
include_directories(${LAMMPS_LIB_MSCG_BIN_DIR} ${GSL_INCLUDE_DIRS})
list(APPEND LAMMPS_LINK_LIBS ${GSL_LIBRARIES})
add_library(mscg STATIC ${MSCG_SOURCES})
list(APPEND LAMMPS_LINK_LIBS mscg)
target_compile_options(mscg PRIVATE -DDIMENSION=3 -D_exclude_gromacs=1)
target_include_directories(mscg PUBLIC ${LAMMPS_LIB_MSCG_BIN_DIR})
target_link_libraries(mscg ${GSL_LIBRARIES} ${LAPACK_LIBRARIES})
endif()
########################################################################
@ -330,13 +351,27 @@ RegisterStyles(${LAMMPS_SOURCE_DIR})
# add sources of enabled packages
############################################
foreach(PKG ${DEFAULT_PACKAGES} ${OTHER_PACKAGES})
if(ENABLE_${PKG})
set(${PKG}_SOURCES_DIR ${LAMMPS_SOURCE_DIR}/${PKG})
# ignore PKG files which were manually installed in src folder
# headers are ignored during RegisterStyles
file(GLOB ${PKG}_SOURCES ${${PKG}_SOURCES_DIR}/*.cpp)
file(GLOB ${PKG}_HEADERS ${${PKG}_SOURCES_DIR}/*.h)
foreach(PKG_FILE in ${${PKG}_SOURCES})
get_filename_component(FNAME ${PKG_FILE} NAME)
list(REMOVE_ITEM LIB_SOURCES ${LAMMPS_SOURCE_DIR}/${FNAME})
endforeach()
foreach(PKG_FILE in ${${PKG}_HEADERS})
get_filename_component(FNAME ${PKG_FILE} NAME)
DetectAndRemovePackageHeader(${LAMMPS_SOURCE_DIR}/${FNAME})
endforeach()
if(ENABLE_${PKG})
# detects styles in package and adds them to global list
RegisterStyles(${${PKG}_SOURCES_DIR})
file(GLOB ${PKG}_SOURCES ${${PKG}_SOURCES_DIR}/*.cpp)
list(APPEND LIB_SOURCES ${${PKG}_SOURCES})
include_directories(${${PKG}_SOURCES_DIR})
endif()
@ -346,17 +381,57 @@ endforeach()
# add lib sources of (simple) enabled packages
############################################
foreach(SIMPLE_LIB REAX MEAM POEMS USER-ATC USER-AWPMD USER-COLVARS USER-H5MD
USER-MOLFILE USER-QMMM)
USER-QMMM)
if(ENABLE_${SIMPLE_LIB})
string(REGEX REPLACE "^USER-" "" SIMPLE_LIB "${SIMPLE_LIB}")
string(TOLOWER "${SIMPLE_LIB}" INC_DIR)
file(GLOB_RECURSE ${SIMPLE_LIB}_SOURCES ${LAMMPS_LIB_SOURCE_DIR}/${INC_DIR}/*.F
${LAMMPS_LIB_SOURCE_DIR}/${INC_DIR}/*.c ${LAMMPS_LIB_SOURCE_DIR}/${INC_DIR}/*.cpp)
list(APPEND LIB_SOURCES ${${SIMPLE_LIB}_SOURCES})
include_directories(${LAMMPS_LIB_SOURCE_DIR}/${INC_DIR})
string(REGEX REPLACE "^USER-" "" PKG_LIB "${SIMPLE_LIB}")
string(TOLOWER "${PKG_LIB}" PKG_LIB)
file(GLOB_RECURSE ${PKG_LIB}_SOURCES ${LAMMPS_LIB_SOURCE_DIR}/${PKG_LIB}/*.F
${LAMMPS_LIB_SOURCE_DIR}/${PKG_LIB}/*.c ${LAMMPS_LIB_SOURCE_DIR}/${PKG_LIB}/*.cpp)
add_library(${PKG_LIB} STATIC ${${PKG_LIB}_SOURCES})
list(APPEND LAMMPS_LINK_LIBS ${PKG_LIB})
if(PKG_LIB STREQUAL awpmd)
target_include_directories(awpmd PUBLIC ${LAMMPS_LIB_SOURCE_DIR}/awpmd/systems/interact ${LAMMPS_LIB_SOURCE_DIR}/awpmd/ivutils/include)
elseif(PKG_LIB STREQUAL h5md)
target_include_directories(h5md PUBLIC ${LAMMPS_LIB_SOURCE_DIR}/h5md/include)
elseif(PKG_LIB STREQUAL colvars)
target_compile_options(colvars PRIVATE -DLEPTON)
target_include_directories(colvars PRIVATE ${LAMMPS_LIB_SOURCE_DIR}/colvars/lepton/include)
target_include_directories(colvars PUBLIC ${LAMMPS_LIB_SOURCE_DIR}/colvars)
else()
target_include_directories(${PKG_LIB} PUBLIC ${LAMMPS_LIB_SOURCE_DIR}/${PKG_LIB})
endif()
endif()
endforeach()
if(ENABLE_USER-AWPMD)
target_link_libraries(awpmd ${LAPACK_LIBRARIES})
endif()
if(ENABLE_USER-ATC)
target_link_libraries(atc ${LAPACK_LIBRARIES})
endif()
if(ENABLE_USER-H5MD)
find_package(HDF5 REQUIRED)
target_link_libraries(h5md ${HDF5_LIBRARIES})
target_include_directories(h5md PRIVATE ${HDF5_INCLUDE_DIRS})
endif()
if(ENABLE_MEAM AND FC_HAS_NO_SECOND_UNDERSCORE)
foreach(FSRC ${meam_SOURCES})
string(REGEX REPLACE "^.*\\." "" FEXT "${FSRC}")
list(FIND CMAKE_Fortran_SOURCE_FILE_EXTENSIONS "${FEXT}" FINDEX)
if(FINDEX GREATER -1)
set_property(SOURCE ${FSRC} APPEND PROPERTY COMPILE_FLAGS "-fno-second-underscore")
endif()
endforeach()
endif()
if(ENABLE_REAX AND FC_HAS_NO_SECOND_UNDERSCORE)
target_compile_options(reax PRIVATE -fno-second-underscore)
endif()
######################################################################
# packages which selectively include variants based on enabled styles
# e.g. accelerator packages
@ -401,6 +476,8 @@ if(ENABLE_KOKKOS)
${KOKKOS_PKG_SOURCES_DIR}/neigh_list_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/neigh_bond_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/fix_nh_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/nbin_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/npair_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/domain_kokkos.cpp
${KOKKOS_PKG_SOURCES_DIR}/modify_kokkos.cpp)
set_property(GLOBAL PROPERTY "KOKKOS_PKG_SOURCES" "${KOKKOS_PKG_SOURCES}")
@ -408,6 +485,17 @@ if(ENABLE_KOKKOS)
# detects styles which have KOKKOS version
RegisterStylesExt(${KOKKOS_PKG_SOURCES_DIR} kokkos KOKKOS_PKG_SOURCES)
# register kokkos-only styles
RegisterNBinStyle(${KOKKOS_PKG_SOURCES_DIR}/nbin_kokkos.h)
RegisterNPairStyle(${KOKKOS_PKG_SOURCES_DIR}/npair_kokkos.h)
if(ENABLE_USER-DPD)
get_property(KOKKOS_PKG_SOURCES GLOBAL PROPERTY KOKKOS_PKG_SOURCES)
list(APPEND KOKKOS_PKG_SOURCES ${KOKKOS_PKG_SOURCES_DIR}/npair_ssa_kokkos.cpp)
RegisterNPairStyle(${KOKKOS_PKG_SOURCES_DIR}/npair_ssa_kokkos.h)
set_property(GLOBAL PROPERTY "KOKKOS_PKG_SOURCES" "${KOKKOS_PKG_SOURCES}")
endif()
get_property(KOKKOS_PKG_SOURCES GLOBAL PROPERTY KOKKOS_PKG_SOURCES)
list(APPEND LIB_SOURCES ${KOKKOS_PKG_SOURCES})
@ -453,57 +541,125 @@ if(ENABLE_USER-INTEL)
endif()
if(ENABLE_GPU)
set(GPU_SOURCES_DIR ${LAMMPS_SOURCE_DIR}/GPU)
set(GPU_SOURCES ${GPU_SOURCES_DIR}/gpu_extra.h
${GPU_SOURCES_DIR}/fix_gpu.h
${GPU_SOURCES_DIR}/fix_gpu.cpp)
set(GPU_API "OpenCL" CACHE STRING "API used by GPU package")
set_property(CACHE GPU_API PROPERTY STRINGS OpenCL CUDA)
set(GPU_PREC "SINGLE_DOUBLE" CACHE STRING "LAMMPS GPU precision size")
set_property(CACHE GPU_PREC PROPERTY STRINGS SINGLE_DOUBLE SINGLE_SINGLE DOUBLE_DOUBLE)
file(GLOB GPU_LIB_SOURCES ${LAMMPS_LIB_SOURCE_DIR}/gpu/*.cpp)
file(MAKE_DIRECTORY ${LAMMPS_LIB_BINARY_DIR}/gpu)
if(GPU_API STREQUAL "CUDA")
find_package(CUDA REQUIRED)
find_program(BIN2C bin2c)
if(NOT BIN2C)
message(FATAL_ERROR "Couldn't find bin2c, use -DBIN2C helping cmake to find it.")
endif()
include_directories(${CUDA_INCLUDE_DIRS})
list(APPEND LAMMPS_LINK_LIBS ${CUDA_LIBRARIES} ${CUDA_CUDA_LIBRARY})
set(GPU_PREC "SINGLE_DOUBLE" CACHE STRING "Lammps gpu precision size")
set_property(CACHE GPU_PREC PROPERTY STRINGS SINGLE_DOUBLE SINGLE_SINGLE DOUBLE_DOUBLE)
add_definitions(-D_${GPU_PREC})
add_definitions(-DNV_KERNEL -DUCL_CUDADR)
option(CUDPP_OPT "Enable CUDPP_OPT" ON)
set(GPU_SOURCES_DIR ${LAMMPS_SOURCE_DIR}/GPU)
set(GPU_SOURCES ${GPU_SOURCES_DIR}/gpu_extra.h)
set(GPU_ARCH "sm_30" CACHE STRING "LAMMPS GPU CUDA SM architecture")
set_property(CACHE GPU_ARCH PROPERTY STRINGS sm_10 sm_20 sm_30 sm_60)
set_property(GLOBAL PROPERTY "GPU_SOURCES" "${GPU_SOURCES}")
file(GLOB GPU_LIB_CU ${LAMMPS_LIB_SOURCE_DIR}/gpu/*.cu ${CMAKE_CURRENT_SOURCE_DIR}/gpu/*.cu)
list(REMOVE_ITEM GPU_LIB_CU ${LAMMPS_LIB_SOURCE_DIR}/gpu/lal_pppm.cu)
# detects styles which have GPU version
RegisterStylesExt(${GPU_SOURCES_DIR} opt GPU_SOURCES)
cuda_include_directories(${LAMMPS_LIB_SOURCE_DIR}/gpu ${LAMMPS_LIB_BINARY_DIR}/gpu)
get_property(GPU_SOURCES GLOBAL PROPERTY GPU_SOURCES)
file(GLOB GPU_LIB_SOURCES ${LAMMPS_LIB_SOURCE_DIR}/gpu/*.cpp)
file(GLOB GPU_LIB_CU ${LAMMPS_LIB_SOURCE_DIR}/gpu/*.cu ${CMAKE_SOURCE_DIR}/gpu/*.cu)
file(GLOB_RECURSE GPU_NOT_LIB_CU ${LAMMPS_LIB_SOURCE_DIR}/gpu/lal_pppm.cu)
list(REMOVE_ITEM GPU_LIB_CU ${GPU_NOT_LIB_CU})
include_directories(${GPU_SOURCES_DIR} ${LAMMPS_LIB_SOURCE_DIR}/gpu ${LAMMPS_LIB_BINARY_DIR}/gpu)
if(CUDPP_OPT)
include_directories(${LAMMPS_LIB_SOURCE_DIR}/gpu/cudpp_mini)
add_definitions(-DCUDPP_OPT)
cuda_include_directories(${LAMMPS_LIB_SOURCE_DIR}/gpu/cudpp_mini)
file(GLOB GPU_LIB_CUDPP_SOURCES ${LAMMPS_LIB_SOURCE_DIR}/gpu/cudpp_mini/*.cpp)
file(GLOB GPU_LIB_CUDPP_CU ${LAMMPS_LIB_SOURCE_DIR}/gpu/cudpp_mini/*.cu)
endif()
cuda_compile(GPU_OBJS ${GPU_LIB_CU} ${GPU_LIB_CUDPP_CU} OPTIONS $<$<BOOL:${BUILD_SHARED_LIBS}>:-Xcompiler=-fPIC>)
file(MAKE_DIRECTORY ${LAMMPS_LIB_BINARY_DIR}/gpu)
foreach(CU_OBJ ${GPU_OBJS})
cuda_compile_cubin(GPU_GEN_OBJS ${GPU_LIB_CU} OPTIONS
-DUNIX -O3 -Xptxas -v --use_fast_math -DNV_KERNEL -DUCL_CUDADR -arch=${GPU_ARCH} -D_${GPU_PREC})
cuda_compile(GPU_OBJS ${GPU_LIB_CUDPP_CU} OPTIONS $<$<BOOL:${BUILD_SHARED_LIBS}>:-Xcompiler=-fPIC>
-DUNIX -O3 -Xptxas -v --use_fast_math -DUCL_CUDADR -arch=${GPU_ARCH} -D_${GPU_PREC})
foreach(CU_OBJ ${GPU_GEN_OBJS})
get_filename_component(CU_NAME ${CU_OBJ} NAME_WE)
string(REGEX REPLACE "^.*_lal_" "" CU_NAME "${CU_NAME}")
add_custom_command(OUTPUT ${LAMMPS_LIB_BINARY_DIR}/gpu/${CU_NAME}_cubin.h
COMMAND ${BIN2C} -c -n ${CU_NAME} ${CU_OBJ} > ${LAMMPS_LIB_BINARY_DIR}/gpu/${CU_NAME}_cubin.h
DEPENDS ${CU_OBJ}
COMMENT "Generating ${CU_NAME}_cubin.h")
list(APPEND LIB_SOURCES ${LAMMPS_LIB_BINARY_DIR}/gpu/${CU_NAME}_cubin.h)
if(${CU_NAME} STREQUAL "pppm_d") #pppm_d doesn't get linked into the lib
set(CU_FORBIDDEN_OBJ "${CU_OBJ}")
endif()
list(APPEND GPU_LIB_SOURCES ${LAMMPS_LIB_BINARY_DIR}/gpu/${CU_NAME}_cubin.h)
endforeach()
list(REMOVE_ITEM GPU_OBJS "${CU_FORBIDDEN_OBJ}")
list(APPEND LIB_SOURCES ${GPU_SOURCES} ${GPU_LIB_SOURCES} ${GPU_LIB_CUDPP_SOURCES} ${GPU_OBJS})
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${LAMMPS_LIB_BINARY_DIR}/gpu/*_cubin.h")
add_library(gpu STATIC ${GPU_LIB_SOURCES} ${GPU_LIB_CUDPP_SOURCES} ${GPU_OBJS})
target_link_libraries(gpu ${CUDA_LIBRARIES} ${CUDA_CUDA_LIBRARY})
target_include_directories(gpu PRIVATE ${LAMMPS_LIB_BINARY_DIR}/gpu ${CUDA_INCLUDE_DIRS})
target_compile_definitions(gpu PRIVATE -D_${GPU_PREC} -DMPI_GERYON -DUCL_NO_EXIT)
if(CUDPP_OPT)
target_include_directories(gpu PRIVATE ${LAMMPS_LIB_SOURCE_DIR}/gpu/cudpp_mini)
target_compile_definitions(gpu PRIVATE -DUSE_CUDPP)
endif()
list(APPEND LAMMPS_LINK_LIBS gpu)
add_executable(nvc_get_devices ${LAMMPS_LIB_SOURCE_DIR}/gpu/geryon/ucl_get_devices.cpp)
target_compile_definitions(nvc_get_devices PRIVATE -DUCL_CUDADR)
target_link_libraries(nvc_get_devices PRIVATE ${CUDA_LIBRARIES} ${CUDA_CUDA_LIBRARY})
target_include_directories(nvc_get_devices PRIVATE ${CUDA_INCLUDE_DIRS})
elseif(GPU_API STREQUAL "OpenCL")
find_package(OpenCL REQUIRED)
set(OCL_TUNE "GENERIC" CACHE STRING "OpenCL Device Tuning")
set_property(CACHE OCL_TUNE PROPERTY STRINGS INTEL FERMI KEPLER CYPRESS GENERIC)
include(OpenCLUtils)
set(OCL_COMMON_HEADERS ${LAMMPS_LIB_SOURCE_DIR}/gpu/lal_preprocessor.h ${LAMMPS_LIB_SOURCE_DIR}/gpu/lal_aux_fun1.h)
file(GLOB GPU_LIB_CU ${LAMMPS_LIB_SOURCE_DIR}/gpu/*.cu)
list(REMOVE_ITEM GPU_LIB_CU ${LAMMPS_LIB_SOURCE_DIR}/gpu/lal_gayberne.cu ${LAMMPS_LIB_SOURCE_DIR}/gpu/lal_gayberne_lj.cu)
foreach(GPU_KERNEL ${GPU_LIB_CU})
get_filename_component(basename ${GPU_KERNEL} NAME_WE)
string(SUBSTRING ${basename} 4 -1 KERNEL_NAME)
GenerateOpenCLHeader(${KERNEL_NAME} ${CMAKE_CURRENT_BINARY_DIR}/gpu/${KERNEL_NAME}_cl.h ${OCL_COMMON_HEADERS} ${GPU_KERNEL})
list(APPEND GPU_LIB_SOURCES ${CMAKE_CURRENT_BINARY_DIR}/gpu/${KERNEL_NAME}_cl.h)
endforeach()
GenerateOpenCLHeader(gayberne ${CMAKE_CURRENT_BINARY_DIR}/gpu/gayberne_cl.h ${OCL_COMMON_HEADERS} ${LAMMPS_LIB_SOURCE_DIR}/gpu/lal_ellipsoid_extra.h ${LAMMPS_LIB_SOURCE_DIR}/gpu/lal_gayberne.cu)
GenerateOpenCLHeader(gayberne_lj ${CMAKE_CURRENT_BINARY_DIR}/gpu/gayberne_lj_cl.h ${OCL_COMMON_HEADERS} ${LAMMPS_LIB_SOURCE_DIR}/gpu/lal_ellipsoid_extra.h ${LAMMPS_LIB_SOURCE_DIR}/gpu/lal_gayberne_lj.cu)
list(APPEND GPU_LIB_SOURCES ${CMAKE_CURRENT_BINARY_DIR}/gpu/gayberne_cl.h ${CMAKE_CURRENT_BINARY_DIR}/gpu/gayberne_lj_cl.h)
add_library(gpu STATIC ${GPU_LIB_SOURCES})
target_link_libraries(gpu ${OpenCL_LIBRARIES})
target_include_directories(gpu PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/gpu ${OpenCL_INCLUDE_DIRS})
target_compile_definitions(gpu PRIVATE -D_${GPU_PREC} -DMPI_GERYON -DUCL_NO_EXIT)
target_compile_definitions(gpu PRIVATE -DUSE_OPENCL)
list(APPEND LAMMPS_LINK_LIBS gpu)
add_executable(ocl_get_devices ${LAMMPS_LIB_SOURCE_DIR}/gpu/geryon/ucl_get_devices.cpp)
target_compile_definitions(ocl_get_devices PRIVATE -DUCL_OPENCL)
target_link_libraries(ocl_get_devices PRIVATE ${OpenCL_LIBRARIES})
target_include_directories(ocl_get_devices PRIVATE ${OpenCL_INCLUDE_DIRS})
endif()
# GPU package
FindStyleHeaders(${GPU_SOURCES_DIR} FIX_CLASS fix_ FIX)
set_property(GLOBAL PROPERTY "GPU_SOURCES" "${GPU_SOURCES}")
# detects styles which have GPU version
RegisterStylesExt(${GPU_SOURCES_DIR} gpu GPU_SOURCES)
get_property(GPU_SOURCES GLOBAL PROPERTY GPU_SOURCES)
list(APPEND LIB_SOURCES ${GPU_SOURCES})
include_directories(${GPU_SOURCES_DIR})
endif()
######################################################
@ -522,19 +678,24 @@ include_directories(${LAMMPS_STYLE_HEADERS_DIR})
############################################
add_library(lammps ${LIB_SOURCES})
target_link_libraries(lammps ${LAMMPS_LINK_LIBS})
set_target_properties(lammps PROPERTIES SOVERSION ${SOVERSION})
if(INSTALL_LIB)
if(LAMMPS_DEPS)
add_dependencies(lammps ${LAMMPS_DEPS})
endif()
set_target_properties(lammps PROPERTIES OUTPUT_NAME lammps${LAMMPS_MACHINE})
if(BUILD_SHARED_LIBS)
set_target_properties(lammps PROPERTIES SOVERSION ${SOVERSION})
install(TARGETS lammps LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(FILES ${LAMMPS_SOURCE_DIR}/lammps.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
elseif(BUILD_SHARED_LIBS)
message(FATAL_ERROR "Shared library has to be installed, use -DINSTALL_LIB=ON to install lammps with a library")
install(FILES ${LAMMPS_SOURCE_DIR}/library.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/lammps)
configure_file(pkgconfig/liblammps.pc.in ${CMAKE_CURRENT_BINARY_DIR}/liblammps${LAMMPS_MACHINE}.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/liblammps${LAMMPS_MACHINE}.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
endif()
add_executable(lmp ${LMP_SOURCES})
target_link_libraries(lmp lammps)
set_target_properties(lmp PROPERTIES OUTPUT_NAME lmp${LAMMPS_MACHINE})
install(TARGETS lmp DESTINATION ${CMAKE_INSTALL_BINDIR})
if(ENABLE_TESTING)
add_test(ShowHelp ${CMAKE_CURRENT_BINARY_DIR}/lmp -help)
add_test(ShowHelp lmp${LAMMPS_MACHINE} -help)
endif()
##################################
@ -545,3 +706,27 @@ foreach(PKG ${DEFAULT_PACKAGES} ${OTHER_PACKAGES} ${ACCEL_PACKAGES})
message(STATUS "Building package: ${PKG}")
endif()
endforeach()
string(TOUPPER "${CMAKE_BUILD_TYPE}" BTYPE)
message(STATUS "<<< Build configuration >>>
Build type ${CMAKE_BUILD_TYPE}
Install path ${CMAKE_INSTALL_PREFIX}
Compilers and Flags:
C++ Compiler ${CMAKE_CXX_COMPILER}
Type ${CMAKE_CXX_COMPILER_ID}
C++ Flags ${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${BTYPE}}")
get_property(LANGUAGES GLOBAL PROPERTY ENABLED_LANGUAGES)
if(LANGUAGES MATCHES ".*Fortran.*")
message(STATUS "Fortran Compiler ${CMAKE_Fortran_COMPILER}
Type ${CMAKE_Fortran_COMPILER_ID}
Fortran Flags ${CMAKE_Fortran_FLAGS} ${CMAKE_Fortran_FLAGS_${BTYPE}}")
endif()
message(STATUS "Linker flags:
Executable ${CMAKE_EXE_LINKER_FLAGS}")
if(BUILD_SHARED_LIBS)
message(STATUS "Shared libries ${CMAKE_SHARED_LINKER_FLAGS}")
else()
message(STATUS "Static libries ${CMAKE_STATIC_LINKER_FLAGS}")
endif()
message(STATUS "Link libraries: ${LAMMPS_LINK_LIBS}")

View File

@ -0,0 +1,18 @@
# - Find latte
# Find the native LATTE libraries.
#
# LATTE_LIBRARIES - List of libraries when using latte.
# LATTE_FOUND - True if latte found.
#
find_library(LATTE_LIBRARY NAMES latte)
set(LATTE_LIBRARIES ${LATTE_LIBRARY})
include(FindPackageHandleStandardArgs)
# handle the QUIETLY and REQUIRED arguments and set LATTE_FOUND to TRUE
# if all listed variables are TRUE
find_package_handle_standard_args(LATTE DEFAULT_MSG LATTE_LIBRARY)
mark_as_advanced(LATTE_LIBRARY)

View File

@ -0,0 +1,18 @@
function(GenerateOpenCLHeader varname outfile files)
message("Creating ${outfile}...")
file(WRITE ${outfile} "const char * ${varname} = \n")
math(EXPR ARG_END "${ARGC}-1")
foreach(IDX RANGE 2 ${ARG_END})
list(GET ARGV ${IDX} filename)
file(READ ${filename} content)
string(REGEX REPLACE "\\s*//[^\n]*\n" "" content "${content}")
string(REGEX REPLACE "\\\\" "\\\\\\\\" content "${content}")
string(REGEX REPLACE "\"" "\\\\\"" content "${content}")
string(REGEX REPLACE "([^\n]+)\n" "\"\\1\\\\n\"\n" content "${content}")
string(REGEX REPLACE "\n+" "\n" content "${content}")
file(APPEND ${outfile} "${content}")
endforeach()
file(APPEND ${outfile} ";\n")
endfunction(GenerateOpenCLHeader)

View File

@ -11,6 +11,12 @@ function(FindStyleHeaders path style_class file_pattern headers)
set_property(GLOBAL PROPERTY ${headers} "${hlist}")
endfunction(FindStyleHeaders)
function(AddStyleHeader path headers)
get_property(hlist GLOBAL PROPERTY ${headers})
list(APPEND hlist ${path})
set_property(GLOBAL PROPERTY ${headers} "${hlist}")
endfunction(AddStyleHeader)
function(FindStyleHeadersExt path style_class extension headers sources)
get_property(hlist GLOBAL PROPERTY ${headers})
get_property(slist GLOBAL PROPERTY ${sources})
@ -62,6 +68,22 @@ function(GenerateStyleHeader path property style)
CreateStyleHeader("${path}" "style_${style}.h" ${files})
endfunction(GenerateStyleHeader)
function(RegisterNBinStyles search_path)
FindStyleHeaders(${search_path} NBIN_CLASS nbin_ NBIN ) # nbin ) # neighbor
endfunction(RegisterNBinStyles)
function(RegisterNPairStyles search_path)
FindStyleHeaders(${search_path} NPAIR_CLASS npair_ NPAIR ) # npair ) # neighbor
endfunction(RegisterNPairStyles)
function(RegisterNBinStyle path)
AddStyleHeader(${path} NBIN)
endfunction(RegisterNBinStyle)
function(RegisterNPairStyle path)
AddStyleHeader(${path} NPAIR)
endfunction(RegisterNPairStyle)
function(RegisterStyles search_path)
FindStyleHeaders(${search_path} ANGLE_CLASS angle_ ANGLE ) # angle ) # force
FindStyleHeaders(${search_path} ATOM_CLASS atom_vec_ ATOM_VEC ) # atom ) # atom atom_vec_hybrid
@ -85,6 +107,35 @@ function(RegisterStyles search_path)
FindStyleHeaders(${search_path} REGION_CLASS region_ REGION ) # region ) # domain
endfunction(RegisterStyles)
function(RemovePackageHeader headers pkg_header)
get_property(hlist GLOBAL PROPERTY ${headers})
list(REMOVE_ITEM hlist ${pkg_header})
set_property(GLOBAL PROPERTY ${headers} "${hlist}")
endfunction(RemovePackageHeader)
function(DetectAndRemovePackageHeader fname)
RemovePackageHeader(ANGLE ${fname})
RemovePackageHeader(ATOM_VEC ${fname})
RemovePackageHeader(BODY ${fname})
RemovePackageHeader(BOND ${fname})
RemovePackageHeader(COMMAND ${fname})
RemovePackageHeader(COMPUTE ${fname})
RemovePackageHeader(DIHEDRAL ${fname})
RemovePackageHeader(DUMP ${fname})
RemovePackageHeader(FIX ${fname})
RemovePackageHeader(IMPROPER ${fname})
RemovePackageHeader(INTEGRATE ${fname})
RemovePackageHeader(KSPACE ${fname})
RemovePackageHeader(MINIMIZE ${fname})
RemovePackageHeader(NBIN ${fname})
RemovePackageHeader(NPAIR ${fname})
RemovePackageHeader(NSTENCIL ${fname})
RemovePackageHeader(NTOPO ${fname})
RemovePackageHeader(PAIR ${fname})
RemovePackageHeader(READER ${fname})
RemovePackageHeader(REGION ${fname})
endfunction(DetectAndRemovePackageHeader)
function(RegisterStylesExt search_path extension sources)
FindStyleHeadersExt(${search_path} ANGLE_CLASS ${extension} ANGLE ${sources})
FindStyleHeadersExt(${search_path} ATOM_CLASS ${extension} ATOM_VEC ${sources})

View File

@ -0,0 +1,18 @@
# pkg-config file for lammps
# https://people.freedesktop.org/~dbn/pkg-config-guide.html
# Usage: cc `pkg-config --cflags --libs liblammps` -o myapp myapp.c
# after you added @CMAKE_INSTALL_FULL_LIBDIR@/pkg-config to PKG_CONFIG_PATH,
# e.g. export PKG_CONFIG_PATH=@CMAKE_INSTALL_FULL_LIBDIR@/pkgconfig
prefix=@CMAKE_INSTALL_FULL_PREFIX@
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
Name: liblammps@LAMMPS_MACHINE@
Description: Large-scale Atomic/Molecular Massively Parallel Simulator Library
URL: http://lammps.sandia.gov
Version:
Requires:
Libs: -L${libdir} -llammps@LAMMPS_MACHINE@
Libs.private: -lm
Cflags: -I${includedir} @LAMMPS_API_DEFINES@

View File

@ -20,7 +20,8 @@ ifeq ($(shell which virtualenv >/dev/null 2>&1; echo $$?), 0)
HAS_VIRTUALENV = YES
endif
SOURCES=$(wildcard src/*.txt)
SPHINXEXTRA = -j $(shell $(PYTHON) -c 'import multiprocessing;print(multiprocessing.cpu_count())')
SOURCES=$(filter-out src/lammps_commands.txt src/lammps_tutorials.txt,$(wildcard src/*.txt))
OBJECTS=$(SOURCES:src/%.txt=$(RSTDIR)/%.rst)
.PHONY: help clean-all clean epub html pdf old venv spelling anchor_check
@ -55,7 +56,7 @@ html: $(OBJECTS) $(ANCHORCHECK)
@(\
. $(VENV)/bin/activate ;\
cp -r src/* $(RSTDIR)/ ;\
sphinx-build -j 8 -b html -c utils/sphinx-config -d $(BUILDDIR)/doctrees $(RSTDIR) html ;\
sphinx-build $(SPHINXEXTRA) -b html -c utils/sphinx-config -d $(BUILDDIR)/doctrees $(RSTDIR) html ;\
echo "############################################" ;\
doc_anchor_check src/*.txt ;\
echo "############################################" ;\
@ -91,7 +92,7 @@ epub: $(OBJECTS)
@(\
. $(VENV)/bin/activate ;\
cp -r src/* $(RSTDIR)/ ;\
sphinx-build -j 8 -b epub -c utils/sphinx-config -d $(BUILDDIR)/doctrees $(RSTDIR) epub ;\
sphinx-build $(SPHINXEXTRA) -b epub -c utils/sphinx-config -d $(BUILDDIR)/doctrees $(RSTDIR) epub ;\
deactivate ;\
)
@mv epub/LAMMPS.epub .
@ -159,7 +160,7 @@ $(VENV):
@( \
virtualenv -p $(PYTHON) $(VENV); \
. $(VENV)/bin/activate; \
pip install Sphinx==1.5.6; \
pip install Sphinx; \
pip install sphinxcontrib-images; \
deactivate;\
)

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
doc/src/Eqs/bond_gromos.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -0,0 +1,10 @@
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
$$
E = K (r^2 - r_0^2)^2
$$
\end{document}

BIN
doc/src/Eqs/fix_mvv_dpd.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -0,0 +1,21 @@
\documentclass[12pt]{article}
\begin{document}
$$
v(t+\frac{\Delta t}{2}) = v(t) + \frac{\Delta t}{2}\cdot a(t),
$$
$$
r(t+\Delta t) = r(t) + \Delta t\cdot v(t+\frac{\Delta t}{2}),
$$
$$
a(t+\Delta t) = \frac{1}{m}\cdot F\left[ r(t+\Delta t), v(t) +\lambda \cdot \Delta t\cdot a(t)\right],
$$
$$
v(t+\Delta t) = v(t+\frac{\Delta t}{2}) + \frac{\Delta t}{2}\cdot a(t+\Delta t)
$$
\end{document}

BIN
doc/src/Eqs/fix_rhok.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

11
doc/src/Eqs/fix_rhok.tex Normal file
View File

@ -0,0 +1,11 @@
\documentclass[12pt]{article}
\begin{document}
\begin{eqnarray*}
U &=& \frac{1}{2} K (|\rho_{\vec{k}}| - a)^2 \\
\rho_{\vec{k}} &=& \sum_j^N \exp(-i\vec{k} \cdot \vec{r}_j )/\sqrt{N} \\
\vec{k} &=& (2\pi n_x /L_x , 2\pi n_y /L_y , 2\pi n_z/L_z )
\end{eqnarray*}
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
doc/src/Eqs/pair_buck6d.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@ -0,0 +1,9 @@
\documentclass[12pt]{article}
\begin{document}
\begin{eqnarray*}
E = A e^{-\kappa r} - \frac{C}{r^6} \cdot \frac{1}{1 + D r^{14}} \qquad r < r_c \\
\end{eqnarray*}
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -0,0 +1,33 @@
\documentclass[12pt]{article}
\begin{document}
$$
\mathbf{F}_{ij}^{C} = \alpha_{ij}{\omega_{C}}(r_{ij})\mathbf{e}_{ij},
$$
$$
\mathbf{F}_{ij}^{D} = -\gamma {\omega_{D}}(r_{ij})(\mathbf{e}_{ij} \cdot \mathbf{v}_{ij})\mathbf{e}_{ij},
$$
$$
\mathbf{F}_{ij}^{R} = \sigma {\omega_{R}}(r_{ij}){\xi_{ij}}\Delta t^{-1/2} \mathbf{e}_{ij},
$$
$$
\omega_{C}(r) = 1 - r/r_c,
$$
$$
\alpha_{ij} = A\cdot k_B(T_i + T_j)/2,
$$
$$
\omega_{D}(r) = \omega^2_{R}(r) = (1-r/r_c)^s,
$$
$$
\sigma_{ij}^2 = 4\gamma k_B T_i T_j/(T_i + T_j),
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -0,0 +1,15 @@
\documentclass[12pt]{article}
\begin{document}
$$
\frac{\mathrm{d}^2 \mathbf{r}_i}{\mathrm{d} t^2}=
\frac{\mathrm{d} \mathbf{v}_i}{\mathrm{d} t}
=\mathbf{F}_{i}=\sum_{i\neq j}(\mathbf{F}_{ij}^{C}+\mathbf{F}_{ij}^{D}+\mathbf{F}_{ij}^{R}),
$$
$$
C_v\frac{\mathrm{d} T_i}{\mathrm{d} t}= q_{i} = \sum_{i\neq j}(q_{ij}^{C}+q_{ij}^{V}+q_{ij}^{R}),
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -0,0 +1,29 @@
\documentclass[12pt]{article}
\begin{document}
$$
q_i^C = \sum_{j \ne i} k_{ij} \omega_{CT}(r_{ij}) \left( \frac{1}{T_i} - \frac{1}{T_j} \right),
$$
$$
q_i^V = \frac{1}{2 C_v}\sum_{j \ne i}{ \left\{ \omega_D(r_{ij})\left[\gamma_{ij} \left( \mathbf{e}_{ij} \cdot \mathbf{v}_{ij} \right)^2 - \frac{\left( \sigma _{ij} \right)^2}{m}\right] - \sigma _{ij} \omega_R(r_{ij})\left( \mathbf{e}_{ij} \cdot \mathbf{v}_{ij} \right){\xi_{ij}} \right\} },
$$
$$
q_i^R = \sum_{j \ne i} \beta _{ij} \omega_{RT}(r_{ij}) d {t^{ - 1/2}} \xi_{ij}^e,
$$
$$
\omega_{CT}(r)=\omega_{RT}^2(r)=\left(1-r/r_{ct}\right)^{s_T},
$$
$$
k_{ij}=C_v^2\kappa(T_i + T_j)^2/4k_B,
$$
$$
\beta_{ij}^2=2k_Bk_{ij},
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@ -0,0 +1,9 @@
\documentclass[12pt]{article}
\begin{document}
$$
\kappa = \frac{315k_B\upsilon }{2\pi \rho C_v r_{ct}^5}\frac{1}{Pr},
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -0,0 +1,17 @@
\documentclass[12pt]{article}
\begin{document}
$$
\mathbf{F}_{ij}^C = Aw_c(r_{ij})\mathbf{e}_{ij} + B(\rho_i+\rho_j)w_d(r_{ij})\mathbf{e}_{ij},
$$
$$
\mathbf{F}_{ij}^{D} = -\gamma {\omega_{D}}(r_{ij})(\mathbf{e}_{ij} \cdot \mathbf{v}_{ij})\mathbf{e}_{ij},
$$
$$
\mathbf{F}_{ij}^{R} = \sigma {\omega_{R}}(r_{ij}){\xi_{ij}}\Delta t^{-1/2} \mathbf{e}_{ij},
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -0,0 +1,21 @@
\documentclass[12pt]{article}
\begin{document}
$$
Q_{ij}^D = -\kappa_{ij} w_{DC}(r_{ij}) \left( C_i - C_j \right),
$$
$$
Q_{ij}^R = \epsilon_{ij}\left( C_i + C_j \right) w_{RC}(r_{ij}) \xi_{ij},
$$
$$
w_{DC}(r_{ij})=w^2_{RC}(r_{ij}) = (1 - r/r_{cc})^{\rm power\_{cc}},
$$
$$
\epsilon_{ij}^2 = m_s^2\kappa_{ij}\rho,
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -0,0 +1,29 @@
\documentclass[12pt]{article}
\begin{document}
$$
\mathbf{F}_{ij}^{C} = A{\omega_{C}}(r_{ij})\mathbf{e}_{ij},
$$
$$
\mathbf{F}_{ij}^{D} = -\gamma {\omega_{D}}(r_{ij})(\mathbf{e}_{ij} \cdot \mathbf{v}_{ij})\mathbf{e}_{ij},
$$
$$
\mathbf{F}_{ij}^{R} = \sigma {\omega_{R}}(r_{ij}){\xi_{ij}}\Delta t^{-1/2} \mathbf{e}_{ij},
$$
$$
\omega_{C}(r) = 1 - r/r_c,
$$
$$
\omega_{D}(r) = \omega^2_{R}(r) = (1-r/r_c)^{\rm power\_f},
$$
$$
\sigma^2 = 2\gamma k_B T,
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -0,0 +1,13 @@
\documentclass[12pt]{article}
\begin{document}
$$
\frac{\mathrm{d}^2 \mathbf{r}_i}{\mathrm{d} t^2} = \frac{\mathrm{d} \mathbf{v}_i}{\mathrm{d} t}=\mathbf{F}_{i}=\sum_{i\neq j}(\mathbf{F}_{ij}^{C}+\mathbf{F}_{ij}^{D}+\mathbf{F}_{ij}^{R}),
$$
$$
\frac{\mathrm{d} C_{i}}{\mathrm{d} t}= Q_{i} = \sum_{i\neq j}(Q_{ij}^{D}+Q_{ij}^{R}) + Q_{i}^{S},
$$
\end{document}

BIN
doc/src/Eqs/pair_ufm.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

14
doc/src/Eqs/pair_ufm.tex Normal file
View File

@ -0,0 +1,14 @@
\documentclass[12pt]{article}
\begin{document}
$$
E = -\varepsilon\, \ln{\left[1-\exp{\left(-r^{2}/\sigma^{2}\right)}\right]} \qquad r < r_c
$$
$$
\varepsilon = p\,k_B\,T
$$
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 895 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
doc/src/JPG/uef_frames.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -1,7 +1,7 @@
<!-- HTML_ONLY -->
<HEAD>
<TITLE>LAMMPS Users Manual</TITLE>
<META NAME="docnumber" CONTENT="17 Aug 2017 version">
<META NAME="docnumber" CONTENT="16 Mar 2018 version">
<META NAME="author" CONTENT="http://lammps.sandia.gov - Sandia National Laboratories">
<META NAME="copyright" CONTENT="Copyright (2003) Sandia Corporation. This software and manual is distributed under the GNU General Public License.">
</HEAD>
@ -21,7 +21,7 @@
<H1></H1>
LAMMPS Documentation :c,h3
17 Aug 2017 version :c,h4
16 Mar 2018 version :c,h4
Version info: :h4
@ -176,11 +176,11 @@ END_RST -->
5.1 "Measuring performance"_acc_1 :ulb,b
5.2 "Algorithms and code options to boost performace"_acc_2 :b
5.3 "Accelerator packages with optimized styles"_acc_3 :b
5.3.1 "GPU package"_accelerate_gpu.html :ulb,b
5.3.1 "GPU package"_accelerate_gpu.html :b
5.3.2 "USER-INTEL package"_accelerate_intel.html :b
5.3.3 "KOKKOS package"_accelerate_kokkos.html :b
5.3.4 "USER-OMP package"_accelerate_omp.html :b
5.3.5 "OPT package"_accelerate_opt.html :ule,b
5.3.5 "OPT package"_accelerate_opt.html :b
5.4 "Comparison of various accelerator packages"_acc_4 :ule,b
"How-to discussions"_Section_howto.html :l
6.1 "Restarting a simulation"_howto_1 :ulb,b

Binary file not shown.

View File

@ -532,7 +532,8 @@ package"_Section_start.html#start_3.
"dump vtk"_dump_vtk.html,
"group2ndx"_group2ndx.html,
"ndx2group"_group2ndx.html,
"temper/grem"_temper_grem.html :tb(c=3,ea=c)
"temper/grem"_temper_grem.html,
"temper/npt"_temper_npt.html :tb(c=3,ea=c)
:line
@ -579,6 +580,7 @@ USER-INTEL, k = KOKKOS, o = USER-OMP, t = OPT.
"halt"_fix_halt.html,
"heat"_fix_heat.html,
"indent"_fix_indent.html,
"latte"_fix_latte.html,
"langevin (k)"_fix_langevin.html,
"lineforce"_fix_lineforce.html,
"momentum (k)"_fix_momentum.html,
@ -617,8 +619,9 @@ USER-INTEL, k = KOKKOS, o = USER-OMP, t = OPT.
"pour"_fix_pour.html,
"press/berendsen"_fix_press_berendsen.html,
"print"_fix_print.html,
"property/atom"_fix_property_atom.html,
"python"_fix_python.html,
"property/atom (k)"_fix_property_atom.html,
"python/invoke"_fix_python_invoke.html,
"python/move"_fix_python_move.html,
"qeq/comb (o)"_fix_qeq_comb.html,
"qeq/dynamic"_fix_qeq.html,
"qeq/fire"_fix_qeq.html,
@ -635,10 +638,10 @@ USER-INTEL, k = KOKKOS, o = USER-OMP, t = OPT.
"rigid/nve (o)"_fix_rigid.html,
"rigid/nvt (o)"_fix_rigid.html,
"rigid/small (o)"_fix_rigid.html,
"rigid/small/nph (o)"_fix_rigid.html,
"rigid/small/npt (o)"_fix_rigid.html,
"rigid/small/nve (o)"_fix_rigid.html,
"rigid/small/nvt (o)"_fix_rigid.html,
"rigid/small/nph"_fix_rigid.html,
"rigid/small/npt"_fix_rigid.html,
"rigid/small/nve"_fix_rigid.html,
"rigid/small/nvt"_fix_rigid.html,
"setforce (k)"_fix_setforce.html,
"shake"_fix_shake.html,
"spring"_fix_spring.html,
@ -666,7 +669,7 @@ USER-INTEL, k = KOKKOS, o = USER-OMP, t = OPT.
"wall/harmonic"_fix_wall.html,
"wall/lj1043"_fix_wall.html,
"wall/lj126"_fix_wall.html,
"wall/lj93"_fix_wall.html,
"wall/lj93 (k)"_fix_wall.html,
"wall/piston"_fix_wall_piston.html,
"wall/reflect (k)"_fix_wall_reflect.html,
"wall/region"_fix_wall_region.html,
@ -681,13 +684,14 @@ package"_Section_start.html#start_3.
"atc"_fix_atc.html,
"ave/correlate/long"_fix_ave_correlate_long.html,
"colvars"_fix_colvars.html,
"dpd/energy"_fix_dpd_energy.html,
"dpd/energy (k)"_fix_dpd_energy.html,
"drude"_fix_drude.html,
"drude/transform/direct"_fix_drude_transform.html,
"drude/transform/reverse"_fix_drude_transform.html,
"edpd/source"_fix_dpd_source.html,
"eos/cv"_fix_eos_cv.html,
"eos/table"_fix_eos_table.html,
"eos/table/rx"_fix_eos_table_rx.html,
"eos/table/rx (k)"_fix_eos_table_rx.html,
"filter/corotate"_fix_filter_corotate.html,
"flow/gauss"_fix_flow_gauss.html,
"gle"_fix_gle.html,
@ -704,6 +708,9 @@ package"_Section_start.html#start_3.
"meso"_fix_meso.html,
"manifoldforce"_fix_manifoldforce.html,
"meso/stationary"_fix_meso_stationary.html,
"mvv/dpd"_fix_mvv_dpd.html,
"mvv/edpd"_fix_mvv_dpd.html,
"mvv/tdpd"_fix_mvv_dpd.html,
"nve/dot"_fix_nve_dot.html,
"nve/dotc/langevin"_fix_nve_dotc_langevin.html,
"nve/manifold/rattle"_fix_nve_manifold_rattle.html,
@ -714,17 +721,20 @@ package"_Section_start.html#start_3.
"nve/eff"_fix_nve_eff.html,
"nvt/eff"_fix_nh_eff.html,
"nvt/sllod/eff"_fix_nvt_sllod_eff.html,
"npt/uef"_fix_nh_uef.html,
"nvt/uef"_fix_nh_uef.html,
"phonon"_fix_phonon.html,
"pimd"_fix_pimd.html,
"qbmsst"_fix_qbmsst.html,
"qeq/reax (ko)"_fix_qeq_reax.html,
"qmmm"_fix_qmmm.html,
"qtb"_fix_qtb.html,
"reax/c/bonds"_fix_reax_bonds.html,
"reax/c/species"_fix_reaxc_species.html,
"rx"_fix_rx.html,
"reax/c/bonds (k)"_fix_reax_bonds.html,
"reax/c/species (k)"_fix_reaxc_species.html,
"rhok"_fix_rhok.html,
"rx (k)"_fix_rx.html,
"saed/vtk"_fix_saed_vtk.html,
"shardlow"_fix_shardlow.html,
"shardlow (k)"_fix_shardlow.html,
"smd"_fix_smd.html,
"smd/adjust/dt"_fix_smd_adjust_dt.html,
"smd/integrate/tlsph"_fix_smd_integrate_tlsph.html,
@ -732,6 +742,7 @@ package"_Section_start.html#start_3.
"smd/move/triangulated/surface"_fix_smd_move_triangulated_surface.html,
"smd/setvel"_fix_smd_setvel.html,
"smd/wall/surface"_fix_smd_wall_surface.html,
"tdpd/source"_fix_dpd_source.html,
"temp/rescale/eff"_fix_temp_rescale_eff.html,
"ti/spring"_fix_ti_spring.html,
"ttm/mod"_fix_ttm.html,
@ -750,6 +761,7 @@ package"_Section_accelerate.html. This is indicated by additional
letters in parenthesis: g = GPU, i = USER-INTEL, k =
KOKKOS, o = USER-OMP, t = OPT.
"aggregate/atom"_compute_cluster_atom.html,
"angle"_compute_angle.html,
"angle/local"_compute_angle_local.html,
"angmom/chunk"_compute_angmom_chunk.html,
@ -775,6 +787,7 @@ KOKKOS, o = USER-OMP, t = OPT.
"erotate/sphere"_compute_erotate_sphere.html,
"erotate/sphere/atom"_compute_erotate_sphere_atom.html,
"event/displace"_compute_event_displace.html,
"fragment/atom"_compute_cluster_atom.html,
"global/atom"_compute_global_atom.html,
"group/group"_compute_group_group.html,
"gyration"_compute_gyration.html,
@ -836,6 +849,7 @@ package"_Section_start.html#start_3.
"cnp/atom"_compute_cnp_atom.html,
"dpd"_compute_dpd.html,
"dpd/atom"_compute_dpd_atom.html,
"edpd/temp/atom"_compute_edpd_temp_atom.html,
"fep"_compute_fep.html,
"force/tally"_compute_tally.html,
"heat/flux/tally"_compute_tally.html,
@ -846,6 +860,7 @@ package"_Section_start.html#start_3.
"meso/t/atom"_compute_meso_t_atom.html,
"pe/tally"_compute_tally.html,
"pe/mol/tally"_compute_tally.html,
"pressure/uef"_compute_pressure_uef.html,
"saed"_compute_saed.html,
"smd/contact/radius"_compute_smd_contact_radius.html,
"smd/damage"_compute_smd_damage.html,
@ -868,11 +883,13 @@ package"_Section_start.html#start_3.
"smd/ulsph/stress"_compute_smd_ulsph_stress.html,
"smd/vol"_compute_smd_vol.html,
"stress/tally"_compute_tally.html,
"tdpd/cc/atom"_compute_tdpd_cc_atom.html,
"temp/drude"_compute_temp_drude.html,
"temp/eff"_compute_temp_eff.html,
"temp/deform/eff"_compute_temp_deform_eff.html,
"temp/region/eff"_compute_temp_region_eff.html,
"temp/rotate"_compute_temp_rotate.html,
"temp/uef"_compute_temp_uef.html,
"xrd"_compute_xrd.html :tb(c=6,ea=c)
:line
@ -890,7 +907,7 @@ KOKKOS, o = USER-OMP, t = OPT.
"none"_pair_none.html,
"zero"_pair_zero.html,
"hybrid"_pair_hybrid.html,
"hybrid/overlay"_pair_hybrid.html,
"hybrid/overlay (k)"_pair_hybrid.html,
"adp (o)"_pair_adp.html,
"airebo (oi)"_pair_airebo.html,
"airebo/morse (oi)"_pair_airebo.html,
@ -904,11 +921,12 @@ KOKKOS, o = USER-OMP, t = OPT.
"born/coul/long/cs"_pair_born.html,
"born/coul/msm (o)"_pair_born.html,
"born/coul/wolf (go)"_pair_born.html,
"born/coul/wolf/cs"_pair_born.html,
"brownian (o)"_pair_brownian.html,
"brownian/poly (o)"_pair_brownian.html,
"buck (gkio)"_pair_buck.html,
"buck/coul/cut (gkio)"_pair_buck.html,
"buck/coul/long (gkio)"_pair_buck.html,
"buck (giko)"_pair_buck.html,
"buck/coul/cut (giko)"_pair_buck.html,
"buck/coul/long (giko)"_pair_buck.html,
"buck/coul/long/cs"_pair_buck.html,
"buck/coul/msm (o)"_pair_buck.html,
"buck/long/coul/long (o)"_pair_buck_long.html,
@ -923,12 +941,13 @@ KOKKOS, o = USER-OMP, t = OPT.
"coul/msm"_pair_coul.html,
"coul/streitz"_pair_coul.html,
"coul/wolf (ko)"_pair_coul.html,
"dpd (go)"_pair_dpd.html,
"coul/wolf/cs"_pair_coul.html,
"dpd (gio)"_pair_dpd.html,
"dpd/tstat (go)"_pair_dpd.html,
"dsmc"_pair_dsmc.html,
"eam (gkiot)"_pair_eam.html,
"eam/alloy (gkiot)"_pair_eam.html,
"eam/fs (gkiot)"_pair_eam.html,
"eam (gikot)"_pair_eam.html,
"eam/alloy (gikot)"_pair_eam.html,
"eam/fs (gikot)"_pair_eam.html,
"eim (o)"_pair_eim.html,
"gauss (go)"_pair_gauss.html,
"gayberne (gio)"_pair_gayberne.html,
@ -942,9 +961,9 @@ KOKKOS, o = USER-OMP, t = OPT.
"kim"_pair_kim.html,
"lcbop"_pair_lcbop.html,
"line/lj"_pair_line_lj.html,
"lj/charmm/coul/charmm (kio)"_pair_charmm.html,
"lj/charmm/coul/charmm (iko)"_pair_charmm.html,
"lj/charmm/coul/charmm/implicit (ko)"_pair_charmm.html,
"lj/charmm/coul/long (gkio)"_pair_charmm.html,
"lj/charmm/coul/long (giko)"_pair_charmm.html,
"lj/charmm/coul/msm"_pair_charmm.html,
"lj/charmmfsw/coul/charmmfsh"_pair_charmm.html,
"lj/charmmfsw/coul/long"_pair_charmm.html,
@ -959,6 +978,7 @@ KOKKOS, o = USER-OMP, t = OPT.
"lj/cut/coul/long (gikot)"_pair_lj.html,
"lj/cut/coul/long/cs"_pair_lj.html,
"lj/cut/coul/msm (go)"_pair_lj.html,
"lj/cut/coul/wolf (o)"_pair_lj.html,
"lj/cut/dipole/cut (go)"_pair_dipole.html,
"lj/cut/dipole/long"_pair_dipole.html,
"lj/cut/tip4p/cut (o)"_pair_lj.html,
@ -992,22 +1012,23 @@ KOKKOS, o = USER-OMP, t = OPT.
"reax"_pair_reax.html,
"rebo (oi)"_pair_airebo.html,
"resquared (go)"_pair_resquared.html,
"snap"_pair_snap.html,
"snap (k)"_pair_snap.html,
"soft (go)"_pair_soft.html,
"sw (gkio)"_pair_sw.html,
"sw (giko)"_pair_sw.html,
"table (gko)"_pair_table.html,
"tersoff (gkio)"_pair_tersoff.html,
"tersoff (giko)"_pair_tersoff.html,
"tersoff/mod (gko)"_pair_tersoff_mod.html,
"tersoff/mod/c (o)"_pair_tersoff_mod.html,
"tersoff/zbl (gko)"_pair_tersoff_zbl.html,
"tip4p/cut (o)"_pair_coul.html,
"tip4p/long (o)"_pair_coul.html,
"tri/lj"_pair_tri_lj.html,
"ufm (got)"_pair_ufm.html,
"vashishta (ko)"_pair_vashishta.html,
"vashishta/table (o)"_pair_vashishta.html,
"yukawa (go)"_pair_yukawa.html,
"yukawa (gok)"_pair_yukawa.html,
"yukawa/colloid (go)"_pair_yukawa_colloid.html,
"zbl (go)"_pair_zbl.html :tb(c=4,ea=c)
"zbl (gok)"_pair_zbl.html :tb(c=4,ea=c)
These are additional pair styles in USER packages, which can be used
if "LAMMPS is built with the appropriate
@ -1020,12 +1041,14 @@ package"_Section_start.html#start_3.
"coul/diel (o)"_pair_coul_diel.html,
"coul/long/soft (o)"_pair_lj_soft.html,
"dpd/fdt"_pair_dpd_fdt.html,
"dpd/fdt/energy"_pair_dpd_fdt.html,
"dpd/fdt/energy (k)"_pair_dpd_fdt.html,
"eam/cd (o)"_pair_eam.html,
"edip (o)"_pair_edip.html,
"edip/multi"_pair_edip.html,
"edpd"_pair_meso.html,
"eff/cut"_pair_eff.html,
"exp6/rx"_pair_exp6_rx.html,
"exp6/rx (k)"_pair_exp6_rx.html,
"extep"_pair_extep.html,
"gauss/cut"_pair_gauss.html,
"kolmogorov/crespi/z"_pair_kolmogorov_crespi_z.html,
"lennard/mdf"_pair_mdf.html,
@ -1041,6 +1064,8 @@ package"_Section_start.html#start_3.
"lj/sdk (gko)"_pair_sdk.html,
"lj/sdk/coul/long (go)"_pair_sdk.html,
"lj/sdk/coul/msm (o)"_pair_sdk.html,
"mdpd"_pair_meso.html,
"mdpd/rhosum"_pair_meso.html,
"meam/c"_pair_meam.html,
"meam/spline (o)"_pair_meam_spline.html,
"meam/sw/spline"_pair_meam_sw_spline.html,
@ -1049,7 +1074,7 @@ package"_Section_start.html#start_3.
"morse/smooth/linear"_pair_morse.html,
"morse/soft"_pair_morse.html,
"multi/lucy"_pair_multi_lucy.html,
"multi/lucy/rx"_pair_multi_lucy_rx.html,
"multi/lucy/rx (k)"_pair_multi_lucy_rx.html,
"oxdna/coaxstk"_pair_oxdna.html,
"oxdna/excv"_pair_oxdna.html,
"oxdna/hbond"_pair_oxdna.html,
@ -1066,6 +1091,7 @@ package"_Section_start.html#start_3.
"smd/triangulated/surface"_pair_smd_triangulated_surface.html,
"smd/ulsph"_pair_smd_ulsph.html,
"smtbq"_pair_smtbq.html,
"snap (k)"_pair_snap.html,
"sph/heatconduction"_pair_sph_heatconduction.html,
"sph/idealgas"_pair_sph_idealgas.html,
"sph/lj"_pair_sph_lj.html,
@ -1073,7 +1099,8 @@ package"_Section_start.html#start_3.
"sph/taitwater"_pair_sph_taitwater.html,
"sph/taitwater/morris"_pair_sph_taitwater_morris.html,
"srp"_pair_srp.html,
"table/rx"_pair_table_rx.html,
"table/rx (k)"_pair_table_rx.html,
"tdpd"_pair_meso.html,
"tersoff/table (o)"_pair_tersoff.html,
"thole"_pair_thole.html,
"tip4p/long/soft (o)"_pair_lj_soft.html :tb(c=4,ea=c)
@ -1096,6 +1123,7 @@ KOKKOS, o = USER-OMP, t = OPT.
"class2 (ko)"_bond_class2.html,
"fene (iko)"_bond_fene.html,
"fene/expand (o)"_bond_fene_expand.html,
"gromos (o)"_bond_gromos.html,
"harmonic (ko)"_bond_harmonic.html,
"morse (o)"_bond_morse.html,
"nonlinear (o)"_bond_nonlinear.html,
@ -1162,7 +1190,7 @@ USER-OMP, t = OPT.
"none"_dihedral_none.html,
"zero"_dihedral_zero.html,
"hybrid"_dihedral_hybrid.html,
"charmm (ko)"_dihedral_charmm.html,
"charmm (iko)"_dihedral_charmm.html,
"charmmfsw"_dihedral_charmm.html,
"class2 (ko)"_dihedral_class2.html,
"harmonic (io)"_dihedral_harmonic.html,
@ -1175,7 +1203,7 @@ used if "LAMMPS is built with the appropriate
package"_Section_start.html#start_3.
"cosine/shift/exp (o)"_dihedral_cosine_shift_exp.html,
"fourier (o)"_dihedral_fourier.html,
"fourier (io)"_dihedral_fourier.html,
"nharmonic (o)"_dihedral_nharmonic.html,
"quadratic (o)"_dihedral_quadratic.html,
"spherical (o)"_dihedral_spherical.html,
@ -1198,7 +1226,7 @@ USER-OMP, t = OPT.
"hybrid"_improper_hybrid.html,
"class2 (ko)"_improper_class2.html,
"cvff (io)"_improper_cvff.html,
"harmonic (ko)"_improper_harmonic.html,
"harmonic (iko)"_improper_harmonic.html,
"umbrella (o)"_improper_umbrella.html :tb(c=4,ea=c)
These are additional improper styles in USER packages, which can be
@ -1226,7 +1254,7 @@ USER-OMP, t = OPT.
"ewald/disp"_kspace_style.html,
"msm (o)"_kspace_style.html,
"msm/cg (o)"_kspace_style.html,
"pppm (go)"_kspace_style.html,
"pppm (gok)"_kspace_style.html,
"pppm/cg (o)"_kspace_style.html,
"pppm/disp (i)"_kspace_style.html,
"pppm/disp/tip4p"_kspace_style.html,

View File

@ -454,7 +454,7 @@ NOTE: By default, for 2d systems, granular particles are still modeled
as 3d spheres, not 2d discs (circles), meaning their moment of inertia
will be the same as in 3d. If you wish to model granular particles in
2d as 2d discs, see the note on this topic in "Section
6.2"_Section_howto.html#howto_2, where 2d simulations are disussed.
6.2"_Section_howto.html#howto_2, where 2d simulations are discussed.
:line
@ -2859,8 +2859,8 @@ The nature of the atoms (core, Drude particle or non-polarizable) is
specified via the "fix drude"_fix_drude.html command. The special
list of neighbors is automatically refactored to account for the
equivalence of core and Drude particles as regards special 1-2 to 1-4
screening. It may be necessary to use the {extra} keyword of the
"special_bonds"_special_bonds.html command. If using "fix
screening. It may be necessary to use the {extra/special/per/atom}
keyword of the "read_data"_read_data.html command. If using "fix
shake"_fix_shake.html, make sure no Drude particle is in this fix
group.

View File

@ -507,11 +507,15 @@ we'll be pleased to add them to the
"Movies"_http://lammps.sandia.gov/movies.html pages of the LAMMPS WWW
site.
The core group of LAMMPS developers is at Sandia National Labs:
The primary LAMMPS developers are at Sandia National Labs and Temple University:
Steve Plimpton, sjplimp at sandia.gov
Aidan Thompson, athomps at sandia.gov
Paul Crozier, pscrozi at sandia.gov :ul
Stan Moore, stamoor at sandia.gov
Axel Kohlmeyer, akohlmey at gmail.com :ul
Past primary developers include Paul Crozier and Mark Stevens,
both at Sandia, and Ray Shan, now at Materials Design.
The following folks are responsible for significant contributions to
the code, or other aspects of the LAMMPS development effort. Many of
@ -519,19 +523,20 @@ the packages they have written are somewhat unique to LAMMPS and the
code would not be as general-purpose as it is without their expertise
and efforts.
Axel Kohlmeyer (Temple U), akohlmey at gmail.com, SVN and Git repositories, indefatigable mail list responder, USER-CGSDK and USER-OMP packages
Axel Kohlmeyer (Temple U), akohlmey at gmail.com, SVN and Git repositories, indefatigable mail list responder, USER-CGSDK, USER-OMP, USER-COLVARS, USER-MOLFILE, USER-QMMM, USER-TALLY, and COMPRESS packages
Roy Pollock (LLNL), Ewald and PPPM solvers
Mike Brown (ORNL), brownw at ornl.gov, GPU package
Mike Brown (ORNL), brownw at ornl.gov, GPU and USER-INTEL package
Greg Wagner (Sandia), gjwagne at sandia.gov, MEAM package for MEAM potential
Mike Parks (Sandia), mlparks at sandia.gov, PERI package for Peridynamics
Rudra Mukherjee (JPL), Rudranarayan.M.Mukherjee at jpl.nasa.gov, POEMS package for articulated rigid body motion
Reese Jones (Sandia) and collaborators, rjones at sandia.gov, USER-ATC package for atom/continuum coupling
Ilya Valuev (JIHT), valuev at physik.hu-berlin.de, USER-AWPMD package for wave-packet MD
Christian Trott (U Tech Ilmenau), christian.trott at tu-ilmenau.de, USER-CUDA package
Christian Trott (U Tech Ilmenau), christian.trott at tu-ilmenau.de, USER-CUDA and KOKKOS packages
Andres Jaramillo-Botero (Caltech), ajaramil at wag.caltech.edu, USER-EFF package for electron force field
Christoph Kloss (JKU), Christoph.Kloss at jku.at, USER-LIGGGHTS package for granular models and granular/fluid coupling
Metin Aktulga (LBL), hmaktulga at lbl.gov, USER-REAXC package for C version of ReaxFF
Georg Gunzenmuller (EMI), georg.ganzenmueller at emi.fhg.de, USER-SPH package :ul
Georg Gunzenmuller (EMI), georg.ganzenmueller at emi.fhg.de, USER-SMD and USER-SPH packages
Colin Denniston (U Western Ontario), cdennist at uwo.ca, USER-LB package :ul
As discussed in "Section 13"_Section_history.html, LAMMPS
originated as a cooperative project between DOE labs and industrial

View File

@ -96,6 +96,7 @@ Package, Description, Doc page, Example, Library
"KIM"_#KIM, OpenKIM wrapper, "pair_style kim"_pair_kim.html, kim, ext
"KOKKOS"_#KOKKOS, Kokkos-enabled styles, "Section 5.3.3"_accelerate_kokkos.html, "Benchmarks"_http://lammps.sandia.gov/bench.html, -
"KSPACE"_#KSPACE, long-range Coulombic solvers, "kspace_style"_kspace_style.html, peptide, -
"LATTE"_#LATTE, quantum DFTB forces via LATTE, "fix latte"_fix_latte.html, latte, ext
"MANYBODY"_#MANYBODY, many-body potentials, "pair_style tersoff"_pair_tersoff.html, shear, -
"MC"_#MC, Monte Carlo options, "fix gcmc"_fix_gcmc.html, -, -
"MEAM"_#MEAM, modified EAM potential, "pair_style meam"_pair_meam.html, meam, int
@ -112,7 +113,7 @@ Package, Description, Doc page, Example, Library
"REPLICA"_#REPLICA, multi-replica methods, "Section 6.6.5"_Section_howto.html#howto_5, tad, -
"RIGID"_#RIGID, rigid bodies and constraints, "fix rigid"_fix_rigid.html, rigid, -
"SHOCK"_#SHOCK, shock loading methods, "fix msst"_fix_msst.html, -, -
"SNAP"_#SNAP, quantum-fitted potential, "pair snap"_pair_snap.html, snap, -
"SNAP"_#SNAP, quantum-fitted potential, "pair_style snap"_pair_snap.html, snap, -
"SRD"_#SRD, stochastic rotation dynamics, "fix srd"_fix_srd.html, srd, -
"VORONOI"_#VORONOI, Voronoi tesselation, "compute voronoi/atom"_compute_voronoi_atom.html, -, ext :tb(ea=c,ca1=l)
@ -134,8 +135,10 @@ Package, Description, Doc page, Example, Library
"USER-LB"_#USER-LB, Lattice Boltzmann fluid,"fix lb/fluid"_fix_lb_fluid.html, USER/lb, -
"USER-MANIFOLD"_#USER-MANIFOLD, motion on 2d surfaces,"fix manifoldforce"_fix_manifoldforce.html, USER/manifold, -
"USER-MEAMC"_#USER-MEAMC, modified EAM potential (C++), "pair_style meam/c"_pair_meam.html, meam, -
"USER-MESO"_#USER-MESO, mesoscale DPD models, "pair_style edpd"_pair_meso.html, USER/meso, -
"USER-MGPT"_#USER-MGPT, fast MGPT multi-ion potentials, "pair_style mgpt"_pair_mgpt.html, USER/mgpt, -
"USER-MISC"_#USER-MISC, single-file contributions, USER-MISC/README, USER/misc, -
"USER-MOFFF"_#USER-MOFFF, styles for "MOF-FF"_MOFplus force field, "pair_style buck6d/coul/gauss"_pair_buck6d_coul_gauss.html, USER/mofff, -
"USER-MOLFILE"_#USER-MOLFILE, "VMD"_vmd_home molfile plug-ins,"dump molfile"_dump_molfile.html, -, ext
"USER-NETCDF"_#USER-NETCDF, dump output via NetCDF,"dump netcdf"_dump_netcdf.html, -, ext
"USER-OMP"_#USER-OMP, OpenMP-enabled styles,"Section 5.3.4"_accelerate_omp.html, "Benchmarks"_http://lammps.sandia.gov/bench.html, -
@ -148,6 +151,7 @@ Package, Description, Doc page, Example, Library
"USER-SMTBQ"_#USER-SMTBQ, second moment tight binding QEq potential,"pair_style smtbq"_pair_smtbq.html, USER/smtbq, -
"USER-SPH"_#USER-SPH, smoothed particle hydrodynamics,"SPH User Guide"_PDF/SPH_LAMMPS_userguide.pdf, USER/sph, -
"USER-TALLY"_#USER-TALLY, pairwise tally computes,"compute XXX/tally"_compute_tally.html, USER/tally, -
"USER-UEF"_#USER-UEF, extensional flow,"fix nvt/uef"_fix_nh_uef.html, USER/uef, -
"USER-VTK"_#USER-VTK, dump output via VTK, "compute vtk"_dump_vtk.html, -, ext :tb(ea=c,ca1=l)
:line
@ -240,7 +244,7 @@ COLLOID package :link(COLLOID),h4
[Contents:]
Coarse-grained finite-size colloidal particles. Pair stayle and fix
Coarse-grained finite-size colloidal particles. Pair styles and fix
wall styles for colloidal interactions. Includes the Fast Lubrication
Dynamics (FLD) method for hydrodynamic interactions, which is a
simplified approximation to Stokesian dynamics.
@ -694,6 +698,66 @@ bench/in.rhodo :ul
:line
LATTE package :link(LATTE),h4
[Contents:]
A fix command which wraps the LATTE DFTB code, so that molecular
dynamics can be run with LAMMPS using density-functional tight-binding
quantum forces calculated by LATTE.
More information on LATTE can be found at this web site:
"https://github.com/lanl/LATTE"_latte_home. A brief technical
description is given with the "fix latte"_fix_latte.html command.
:link(latte_home,https://github.com/lanl/LATTE)
[Authors:] Christian Negre (LANL) and Steve Plimpton (Sandia). LATTE
itself is developed at Los Alamos National Laboratory by Marc
Cawkwell, Anders Niklasson, and Christian Negre.
[Install or un-install:]
Before building LAMMPS with this package, you must first download and
build the LATTE library. You can do this manually if you prefer;
follow the instructions in lib/latte/README. You can also do it in
one step from the lammps/src dir, using a command like these, which
simply invokes the lib/latte/Install.py script with the specified
args:
make lib-latte # print help message
make lib-latte args="-b" # download and build in lib/latte/LATTE-master
make lib-latte args="-p $HOME/latte" # use existing LATTE installation in $HOME/latte
make lib-latte args="-b -m gfortran" # download and build in lib/latte and
# copy Makefile.lammps.gfortran to Makefile.lammps
:pre
Note that 3 symbolic (soft) links, "includelink" and "liblink" and
"filelink.o", are created in lib/latte to point into the LATTE home dir.
When LAMMPS builds in src it will use these links. You should
also check that the Makefile.lammps file you create is appropriate
for the compiler you use on your system to build LATTE.
You can then install/un-install the package and build LAMMPS in the
usual manner:
make yes-latte
make machine :pre
make no-latte
make machine :pre
[Supporting info:]
src/LATTE: filenames -> commands
src/LATTE/README
lib/latte/README
"fix latte"_fix_latte.html
examples/latte
"LAMMPS-LATTE tutorial"_https://github.com/lanl/LATTE/wiki/Using-LATTE-through-LAMMPS :ul
:line
MANYBODY package :link(MANYBODY),h4
[Contents:]
@ -921,7 +985,7 @@ MSCG package :link(mscg),h4
[Contents:]
A "fix mscg"_fix_mscg.html command which can parameterize a
Mulit-Scale Coarse-Graining (MSCG) model using the open-source "MS-CG
Multi-Scale Coarse-Graining (MSCG) model using the open-source "MS-CG
library"_mscg_home.
:link(mscg_home,https://github.com/uchicago-voth/MSCG-release)
@ -1342,7 +1406,7 @@ make machine :pre
[Supporting info:]
src/SNAP: filenames -> commands
"pair snap"_pair_snap.html
"pair_style snap"_pair_snap.html
"compute sna/atom"_compute_sna_atom.html
"compute snad/atom"_compute_sna_atom.html
"compute snav/atom"_compute_sna_atom.html
@ -1556,7 +1620,7 @@ make machine :pre
src/USER-AWPMD: filenames -> commands
src/USER-AWPMD/README
"pair awpmd/cut"_pair_awpmd.html
"pair_style awpmd/cut"_pair_awpmd.html
examples/USER/awpmd :ul
:line
@ -1718,7 +1782,7 @@ coarse-grained DPD-based models for energetic, reactive molecular
crystalline materials. It includes many pair styles specific to these
systems, including for reactive DPD, where each particle has internal
state for multiple species and a coupled set of chemical reaction ODEs
are integrated each timestep. Highly accurate time intergrators for
are integrated each timestep. Highly accurate time integrators for
isothermal, isoenergetic, isobaric and isenthalpic conditions are
included. These enable long timesteps via the Shardlow splitting
algorithm.
@ -1745,12 +1809,12 @@ src/USER-DPD: filenames -> commands
"fix eos/table/rx"_fix_eos_table_rx.html
"fix shardlow"_fix_shardlow.html
"fix rx"_fix_rx.html
"pair table/rx"_pair_table_rx.html
"pair dpd/fdt"_pair_dpd_fdt.html
"pair dpd/fdt/energy"_pair_dpd_fdt.html
"pair exp6/rx"_pair_exp6_rx.html
"pair multi/lucy"_pair_multi_lucy.html
"pair multi/lucy/rx"_pair_multi_lucy_rx.html
"pair_style table/rx"_pair_table_rx.html
"pair_style dpd/fdt"_pair_dpd_fdt.html
"pair_style dpd/fdt/energy"_pair_dpd_fdt.html
"pair_style exp6/rx"_pair_exp6_rx.html
"pair_style multi/lucy"_pair_multi_lucy.html
"pair_style multi/lucy/rx"_pair_multi_lucy_rx.html
examples/USER/dpd :ul
:line
@ -1785,8 +1849,8 @@ src/USER-DRUDE/README
"fix drude"_fix_drude.html
"fix drude/transform/*"_fix_drude_transform.html
"compute temp/drude"_compute_temp_drude.html
"pair thole"_pair_thole.html
"pair lj/cut/thole/long"_pair_thole.html
"pair_style thole"_pair_thole.html
"pair_style lj/cut/thole/long"_pair_thole.html
examples/USER/drude
tools/drude :ul
@ -1824,8 +1888,8 @@ src/USER-EFF/README
"fix npt/eff"_fix_nh_eff.html
"fix langevin/eff"_fix_langevin_eff.html
"compute temp/eff"_compute_temp_eff.html
"pair eff/cut"_pair_eff.html
"pair eff/inline"_pair_eff.html
"pair_style eff/cut"_pair_eff.html
"pair_style eff/inline"_pair_eff.html
examples/USER/eff
tools/eff/README
tools/eff
@ -2155,11 +2219,85 @@ make machine :pre
src/USER-MEAMC: filenames -> commands
src/USER-MEAMC/README
"pair meam/c"_pair_meam.html
"pair_style meam/c"_pair_meam.html
examples/meam :ul
:line
USER-MESO package :link(USER-MESO),h4
[Contents:]
Several extensions of the the dissipative particle dynamics (DPD)
method. Specifically, energy-conserving DPD (eDPD) that can model
non-isothermal processes, many-body DPD (mDPD) for simulating
vapor-liquid coexistence, and transport DPD (tDPD) for modeling
advection-diffusion-reaction systems. The equations of motion of these
DPD extensions are integrated through a modified velocity-Verlet (MVV)
algorithm.
[Author:] Zhen Li (Division of Applied Mathematics, Brown University)
[Install or un-install:]
make yes-user-meso
make machine :pre
make no-user-meso
make machine :pre
[Supporting info:]
src/USER-MESO: filenames -> commands
src/USER-MESO/README
"atom_style edpd"_atom_style.html
"pair_style edpd"_pair_meso.html
"pair_style mdpd"_pair_meso.html
"pair_style tdpd"_pair_meso.html
"fix mvv/dpd"_fix_mvv_dpd.html
examples/USER/meso
http://lammps.sandia.gov/movies.html#mesodpd :ul
:line
USER-MOFFF package :link(USER-MOFFF),h4
[Contents:]
Pair, angle and improper styles needed to employ the MOF-FF
force field by Schmid and coworkers with LAMMPS.
MOF-FF is a first principles derived force field with the primary aim
to simulate MOFs and related porous framework materials, using spherical
Gaussian charges. It is described in S. Bureekaew et al., Phys. Stat. Sol. B
2013, 250, 1128-1141.
For the usage of MOF-FF see the example in the example directory as
well as the "MOF+"_MOFplus website.
:link(MOFplus,https://www.mofplus.org/content/show/MOF-FF)
[Author:] Hendrik Heenen (Technical U of Munich),
Rochus Schmid (Ruhr-University Bochum).
[Install or un-install:]
make yes-user-mofff
make machine :pre
make no-user-mofff
make machine :pre
[Supporting info:]
src/USER-MOFFF: filenames -> commands
src/USER-MOFFF/README
"pair_style buck6d/coul/gauss"_pair_buck6d_coul_gauss.html
"angle_style class2"_angle_class2.html
"angle_style cosine/buck6d"_angle_cosine_buck6d.html
"improper_style inversion/harmonic"_improper_inversion_harmonic.html
examples/USER/mofff :ul
:line
USER-MOLFILE package :link(USER-MOLFILE),h4
[Contents:]
@ -2396,7 +2534,7 @@ make machine :pre
NOTE: The LAMMPS executable these steps produce is not yet functional
for a QM/MM simulation. You must also build Quantum ESPRESSO and
create a new executable which links LAMMPS and Quanutm ESPRESSO
create a new executable which links LAMMPS and Quantum ESPRESSO
together. These are steps 3 and 4 described in the lib/qmmm/README
file.
@ -2455,7 +2593,7 @@ developed by the Cambridge University group.
:link(quip,https://github.com/libAtoms/QUIP)
To use this package you must have the QUIP libAatoms library available
To use this package you must have the QUIP libAtoms library available
on your system.
[Author:] Albert Bartok (Cambridge University)
@ -2673,13 +2811,44 @@ examples/USER/tally :ul
:line
USER-UEF package :link(USER-UEF),h4
[Contents:]
A fix style for the integration of the equations of motion under
extensional flow with proper boundary conditions, as well as several
supporting compute styles and an output option.
[Author:] David Nicholson (MIT).
[Install or un-install:]
make yes-user-uef
make machine :pre
make no-user-uef
make machine :pre
[Supporting info:]
src/USER-UEF: filenames -> commands
src/USER-UEF/README
"fix nvt/uef"_fix_nh_uef.html
"fix npt/uef"_fix_nh_uef.html
"compute pressure/uef"_compute_pressure_uef.html
"compute temp/uef"_compute_temp_uef.html
"dump cfg/uef"_dump_cfg_uef.html
examples/uef :ul
:line
USER-VTK package :link(USER-VTK),h4
[Contents:]
A "dump vtk"_dump_vtk.html command which outputs
snapshot info in the "VTK format"_vtk, enabling visualization by
"Paraview"_paraview or other visuzlization packages.
A "dump vtk"_dump_vtk.html command which outputs snapshot info in the
"VTK format"_vtk, enabling visualization by "Paraview"_paraview or
other visualization packages.
:link(vtk,http://www.vtk.org)
:link(paraview,http://www.paraview.org)

View File

@ -123,7 +123,7 @@ code directly from an input script:
"python"_python.html
"variable python"_variable.html
"fix python"_fix_python.html
"fix python/invoke"_fix_python_invoke.html
"pair_style python"_pair_python.html :ul
The "python"_python.html command which can be used to define and
@ -165,7 +165,7 @@ doc page for its python-style variables for more info, including
examples of Python code you can write for both pure Python operations
and callbacks to LAMMPS.
The "fix python"_fix_python.html command can execute
The "fix python/invoke"_fix_python_invoke.html command can execute
Python code at selected timesteps during a simulation run.
The "pair_style python"_pair_python command allows you to define

View File

@ -79,7 +79,7 @@ This section has the following sub-sections:
Read this first :h5,link(start_2_1)
If you want to avoid building LAMMPS yourself, read the preceeding
If you want to avoid building LAMMPS yourself, read the preceding
section about options available for downloading and installing
executables. Details are discussed on the "download"_download page.
@ -252,14 +252,13 @@ re-compile, after typing "make clean" (which will describe different
clean options).
The LMP_INC variable is used to include options that turn on ifdefs
within the LAMMPS code. The options that are currently recogized are:
within the LAMMPS code. The options that are currently recognized are:
-DLAMMPS_GZIP
-DLAMMPS_JPEG
-DLAMMPS_PNG
-DLAMMPS_FFMPEG
-DLAMMPS_MEMALIGN
-DLAMMPS_XDR
-DLAMMPS_SMALLBIG
-DLAMMPS_BIGBIG
-DLAMMPS_SMALLSMALL
@ -308,11 +307,6 @@ has to be aligned on larger than default byte boundaries (e.g. 16
bytes instead of 8 bytes on x86 type platforms) for optimal
performance.
If you use -DLAMMPS_XDR, the build will include XDR compatibility
files for doing particle dumps in XTC format. This is only necessary
if your platform does have its own XDR files available. See the
Restrictions section of the "dump"_dump.html command for details.
Use at most one of the -DLAMMPS_SMALLBIG, -DLAMMPS_BIGBIG,
-DLAMMPS_SMALLSMALL settings. The default is -DLAMMPS_SMALLBIG. These
settings refer to use of 4-byte (small) vs 8-byte (big) integers
@ -363,7 +357,7 @@ installed on your platform. If MPI is installed on your system in the
usual place (under /usr/local), you also may not need to specify these
3 variables, assuming /usr/local is in your path. On some large
parallel machines which use "modules" for their compile/link
environements, you may simply need to include the correct module in
environments, you may simply need to include the correct module in
your build environment, before building LAMMPS. Or the parallel
machine may have a vendor-provided MPI which the compiler has no
trouble finding.
@ -431,7 +425,7 @@ use the KISS library described above.
You may also need to set the FFT_INC, FFT_PATH, and FFT_LIB variables,
so the compiler and linker can find the needed FFT header and library
files. Note that on some large parallel machines which use "modules"
for their compile/link environements, you may simply need to include
for their compile/link environments, you may simply need to include
the correct module in your build environment. Or the parallel machine
may have a vendor-provided FFT library which the compiler has no
trouble finding. See the src/MAKE/OPTIONS/Makefile.fftw file for an
@ -470,7 +464,7 @@ precision.
The FFT_INC variable also allows for a -DFFT_SINGLE setting that will
use single-precision FFTs with PPPM, which can speed-up long-range
calulations, particularly in parallel or on GPUs. Fourier transform
calculations, particularly in parallel or on GPUs. Fourier transform
and related PPPM operations are somewhat insensitive to floating point
truncation errors and thus do not always need to be performed in
double precision. Using the -DFFT_SINGLE setting trades off a little
@ -483,7 +477,7 @@ with support for single-precision, as explained above. For FFTW3 you
also need to include -lfftw3f with the FFT_LIB setting, in addition to
-lfftw3. For FFTW2, you also need to specify -DFFT_SIZE with the
FFT_INC setting and -lsfftw with the FFT_LIB setting (in place of
-lfftw). Similarly, if FFTW2 has been preinstalled with an explicit
-lfftw). Similarly, if FFTW2 has been pre-installed with an explicit
double-precision library (libdfftw.a and not the default libfftw.a),
then you can specify -DFFT_SIZE (and not -DFFT_SINGLE), and specify
-ldfftw to use double-precision FFTs.
@ -536,7 +530,7 @@ You should get the executable lmp_foo when the build is complete.
:line
Errors that can occur when making LAMMPS: h5 :link(start_2_3)
Errors that can occur when making LAMMPS :h5 :link(start_2_3)
If an error occurs when building LAMMPS, the compiler or linker will
state very explicitly what the problem is. The error message should
@ -714,7 +708,7 @@ list various make commands that can be used to manage packages.
If you use a command in a LAMMPS input script that is part of a
package, you must have built LAMMPS with that package, else you will
get an error that the style is invalid or the command is unknown.
Every command's doc page specfies if it is part of a package. You can
Every command's doc page specifies if it is part of a package. You can
type
lmp_machine -h :pre
@ -809,6 +803,10 @@ currently installed. For those that are installed, it will list any
files that are different in the src directory and package
sub-directory.
Typing "make package-installed" or "make pi" will list which packages are
currently installed, without listing the status of packages that are not
installed.
Typing "make package-update" or "make pu" will overwrite src files
with files from the package sub-directories if the package is
installed. It should be used after a patch has been applied, since
@ -859,7 +857,7 @@ details for each package.
[External libraries:]
Packages in the tables "Section 4"_Section_packages.html with an "ext"
in the last column link to exernal libraries whose source code is not
in the last column link to external libraries whose source code is not
included with LAMMPS. You must first download and install the library
before building LAMMPS with that package installed. E.g. the voronoi
package links to the freely available "Voro++ library"_voro_home2. You
@ -920,7 +918,7 @@ CPUs and KNLs; the KOKKOS package builds for CPUs (OpenMP), GPUs
Makefile.intel_cpu
Makefile.intel_phi
Makefile.kokkos_omp
Makefile.kokkos_cuda
Makefile.kokkos_cuda_mpi
Makefile.kokkos_phi
Makefile.omp
Makefile.opt :ul
@ -963,7 +961,7 @@ src/MAKE/Makefile.foo and perform the build in the directory
Obj_shared_foo. This is so that each file can be compiled with the
-fPIC flag which is required for inclusion in a shared library. The
build will create the file liblammps_foo.so which another application
can link to dyamically. It will also create a soft link liblammps.so,
can link to dynamically. It will also create a soft link liblammps.so,
which will point to the most recently built shared library. This is
the file the Python wrapper loads by default.
@ -1329,8 +1327,8 @@ LAMMPS is compiled with CUDA=yes.
numa Nm :pre
This option is only relevant when using pthreads with hwloc support.
In this case Nm defines the number of NUMA regions (typicaly sockets)
on a node which will be utilizied by a single MPI rank. By default Nm
In this case Nm defines the number of NUMA regions (typically sockets)
on a node which will be utilized by a single MPI rank. By default Nm
= 1. If this option is used the total number of worker-threads per
MPI rank is threads*numa. Currently it is always almost better to
assign at least one MPI rank per NUMA region, and leave numa set to
@ -1394,7 +1392,7 @@ replica runs on on one or a few processors. Note that with MPI
installed on a machine (e.g. your desktop), you can run on more
(virtual) processors than you have physical processors.
To run multiple independent simulatoins from one input script, using
To run multiple independent simulations from one input script, using
multiple partitions, see "Section 6.4"_Section_howto.html#howto_4
of the manual. World- and universe-style "variables"_variable.html
are useful in this context.
@ -1673,7 +1671,7 @@ The first section provides a global loop timing summary. The {loop time}
is the total wall time for the section. The {Performance} line is
provided for convenience to help predicting the number of loop
continuations required and for comparing performance with other,
similar MD codes. The {CPU use} line provides the CPU utilzation per
similar MD codes. The {CPU use} line provides the CPU utilization per
MPI task; it should be close to 100% times the number of OpenMP
threads (or 1 of no OpenMP). Lower numbers correspond to delays due
to file I/O or insufficient thread utilization.

View File

@ -48,6 +48,7 @@ own sub-directories with their own Makefiles and/or README files.
"chain"_#chain
"colvars"_#colvars
"createatoms"_#createatoms
"doxygen"_#doxygen
"drude"_#drude
"eam database"_#eamdb
"eam generate"_#eamgn
@ -110,14 +111,21 @@ back-and-forth between the CHARMM MD code and LAMMPS.
They are intended to make it easy to use CHARMM as a builder and as a
post-processor for LAMMPS. Using charmm2lammps.pl, you can convert a
PDB file with associated CHARMM info, including CHARMM force field
data, into its LAMMPS equivalent. Using lammps2pdb.pl you can convert
LAMMPS atom dumps into PDB files.
data, into its LAMMPS equivalent. Support for the CMAP correction of
CHARMM22 and later is available as an option. This tool can also add
solvent water molecules and Na+ or Cl- ions to the system.
Using lammps2pdb.pl you can convert LAMMPS atom dumps into PDB files.
See the README file in the ch2lmp sub-directory for more information.
These tools were created by Pieter in't Veld (pjintve at sandia.gov)
and Paul Crozier (pscrozi at sandia.gov) at Sandia.
CMAP support added and tested by Xiaohu Hu (hux2 at ornl.gov) and
Robert A. Latour (latourr at clemson.edu), David Hyde-Volpe, and
Tigran Abramyan, (Clemson University) and
Chris Lorenz (chris.lorenz at kcl.ac.uk), King's College London.
:line
chain tool :h4,link(chain)
@ -172,6 +180,18 @@ The tool is authored by Xiaowang Zhou (Sandia), xzhou at sandia.gov.
:line
doxygen tool :h4,link(doxygen)
The tools/doxygen directory contains a shell script called
doxygen.sh which can generate a call graph and API lists using
the "Doxygen software"_http://doxygen.org.
See the included README file for details.
The tool is authored by Nandor Tamaskovics, numericalfreedom at googlemail.com.
:line
drude tool :h4,link(drude)
The tools/drude directory contains a Python script called

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_add_molecule">fix_modify AtC add_molecule </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_add_molecule">fix_modify AtC add_molecule </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify_AtC add_molecule &lt;small|large&gt; &lt;TAG&gt; &lt;GROUP_NAME&gt; <br/>
</p>
<ul>
@ -35,21 +33,21 @@ syntax</a></h2>
<li>&lt;GROUP_NAME&gt; = name of group that tracking will be applied to <br/>
</li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> group WATERGROUP type 1 2 </code> <br/>
<code> fix_modify AtC add_molecule small water WATERGROUP </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Associates a tag with all molecules corresponding to a specified group. <br/>
</p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>No defaults for this command. </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_add_species">fix_modify AtC add_species </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_add_species">fix_modify AtC add_species </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify_AtC add_species &lt;TAG&gt; &lt;group|type&gt; &lt;ID&gt; <br/>
</p>
<ul>
@ -35,21 +33,21 @@ syntax</a></h2>
<li>&lt;ID&gt; = name of group or type number <br/>
</li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC add_species gold type 1 </code> <br/>
<code> group GOLDGROUP type 1 </code> <br/>
<code> fix_modify AtC add_species gold group GOLDGROUP </code> </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Associates a tag with all atoms of a specified type or within a specified group. <br/>
</p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>No defaults for this command. </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,42 +7,40 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_atom_element_map">fix_modify AtC atom_element_map </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_atom_element_map">fix_modify AtC atom_element_map </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC atom_element_map &lt;eulerian|lagrangian&gt; &lt;frequency&gt; <br/>
</p>
<ul>
<li>frequency (int) : frequency of updating atom-to-continuum maps based on the current configuration - only for eulerian </li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify atc atom_element_map eulerian 100 </code> </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Changes frame of reference from eulerian to lagrangian and sets the frequency for which the map from atoms to elements is reformed and all the attendant data is recalculated. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Cannot change map type after initialization. </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>lagrangian </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_atom_weight">fix_modify AtC atom_weight </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_atom_weight">fix_modify AtC atom_weight </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC atom_weight &lt;method&gt; &lt;arguments&gt;</p>
<ul>
<li>&lt;method&gt; = <br/>
@ -36,22 +34,22 @@ syntax</a></h2>
read_in: list of values for atoms are read-in from specified file <br/>
</li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify atc atom_weight constant myatoms 11.8 </code> <br/>
<code> fix_modify atc atom_weight lattice </code> <br/>
<code> fix_modify atc atom_weight read-in atm_wt_file.txt </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Command for assigning the value of atomic weights used for atomic integration in atom-continuum coupled simulations. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Use of lattice option requires a lattice type and parameter is already specified. </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>lattice </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,41 +7,39 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_atomic_charge">fix_modify AtC atomic_charge </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_atomic_charge">fix_modify AtC atomic_charge </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC &lt;include | omit&gt; atomic_charge</p>
<ul>
<li>&lt;include | omit&gt; = switch to activiate/deactiviate inclusion of intrinsic atomic charge in <a class="el" href="namespaceATC.html" title="owned field/s: MASS_DENSITY">ATC</a> </li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify atc compute include atomic_charge </code> </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Determines whether AtC tracks the total charge as a finite element field </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Required for: electrostatics </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>if the atom charge is defined, default is on, otherwise default is off </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,38 +7,36 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_boundary">fix_modify AtC boundary </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_boundary">fix_modify AtC boundary </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC boundary type &lt;atom-type-id&gt;</p>
<ul>
<li>&lt;atom-type-id&gt; = type id for atoms that represent a ficticious boundary internal to the FE mesh </li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC boundary type ghost_atoms </code> </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Command to define the atoms that represent the ficticious boundary internal to the FE mesh. For fully overlapped MD/FE domains with periodic boundary conditions no boundary atoms should be defined. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>none </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,36 +7,34 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_boundary_dynamics">fix_modify AtC boundary_dynamics </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_boundary_dynamics">fix_modify AtC boundary_dynamics </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC boundary_dynamics &lt; on | damped_harmonic | prescribed | coupled | none &gt; [args] <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Sets different schemes for controlling boundary atoms. On will integrate the boundary atoms using the velocity-verlet algorithm. Damped harmonic uses a mass/spring/dashpot for the boundary atoms with added arguments of the damping and spring constants followed by the ratio of the boundary type mass to the desired mass. Prescribed forces the boundary atoms to follow the finite element displacement. Coupled does the same. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Boundary atoms must be specified. When using swaps between internal and boundary atoms, the initial configuration must have already correctly partitioned the two. </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>prescribed on </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,38 +7,36 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_boundary_faceset">fix_modify AtC boundary_faceset </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_boundary_faceset">fix_modify AtC boundary_faceset </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC boundary_faceset &lt;is | add&gt; [args] </p>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p>fix_modify AtC boundary_faceset is obndy </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>This command species the faceset name when using a faceset to compute the MD/FE boundary fluxes. The faceset must already exist. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>This is only valid when fe_md_boundary is set to faceset. </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;
<a href="http://www.doxygen.org/index.html">

View File

@ -7,43 +7,41 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_boundary_integral">fix_modify AtC output boundary_integral </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_boundary_integral">fix_modify AtC output boundary_integral </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC output boundary_integral [field] faceset [name]</p>
<ul>
<li>field (string) : name of hardy field</li>
<li>name (string) : name of faceset </li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC output boundary_integral stress faceset loop1 </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Calculates a surface integral of the given field dotted with the outward normal of the faces and puts output in the "GLOBALS" file </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<p>Must be used with the hardy/field type of AtC fix ( see <a class="el" href="man_fix_atc.html">fix atc command</a> ) </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Must be used with the hardy/field type of AtC fix ( see <a class="el" href="../../fix_atc.html">fix atc command</a> ) </p>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>none </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,41 +7,39 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_consistent_fe_initialization">fix_modify AtC consistent_fe_initialization </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_consistent_fe_initialization">fix_modify AtC consistent_fe_initialization </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC consistent_fe_initialization &lt;on | off&gt;</p>
<ul>
<li>&lt;on|off&gt; = switch to activiate/deactiviate the initial setting of FE intrinsic field to match the projected MD field </li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify atc consistent_fe_initialization on </code> </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Determines whether AtC initializes FE intrinsic fields (e.g., temperature) to match the projected MD values. This is particularly useful for fully overlapping simulations. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Can be used with: thermal, two_temperature. Cannot be used with time filtering on. Does not include boundary nodes. </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>Default is off </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,44 +7,42 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_contour_integral">fix_modify AtC output contour_integral </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_contour_integral">fix_modify AtC output contour_integral </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC output contour_integral [field] faceset [name] &lt;axis [x | y | z ]&gt;</p>
<ul>
<li>field (string) : name of hardy field</li>
<li>name (string) : name of faceset</li>
<li>axis (string) : x or y or z </li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC output contour_integral stress faceset loop1 </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Calculates a surface integral of the given field dotted with the outward normal of the faces and puts output in the "GLOBALS" file </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<p>Must be used with the hardy/field type of AtC fix ( see <a class="el" href="man_fix_atc.html">fix atc command</a> ) </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Must be used with the hardy/field type of AtC fix ( see <a class="el" href="../../fix_atc.html">fix atc command</a> ) </p>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>none </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_control">fix_modify AtC control </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_control">fix_modify AtC control </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC control &lt;physics_type&gt; &lt;solution_parameter&gt; </p>
<p><br/>
</p>
@ -46,22 +44,22 @@ syntax</a></h2>
<li>tolerance (float) = relative tolerance to which matrix equations will be solved<br/>
</li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC control thermal max_iterations 10 </code> <br/>
<code> fix_modify AtC control momentum tolerance 1.e-5 </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Sets the numerical parameters for the matrix solvers used in the specified control algorithm. Many solution approaches require iterative solvers, and these methods enable users to provide the maximum number of iterations and the relative tolerance. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>only for be used with specific controllers : thermal, momentum <br/>
They are ignored if a lumped solution is requested </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>max_iterations is the number of rows in the matrix<br/>
tolerance is 1.e-10 </p>
</div>

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_control_momentum">fix_modify AtC control momentum </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_control_momentum">fix_modify AtC control momentum </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC control momentum none <br/>
</p>
<p>fix_modify AtC control momentum rescale &lt;frequency&gt;<br/>
@ -44,21 +42,21 @@ syntax</a></h2>
<li>face_set_id (string) = id of boundary face set, if not specified (or not possible when the atomic domain does not line up with mesh boundaries) defaults to an atomic-quadrature approximate evaulation<br/>
</li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p>fix_modify AtC control momentum glc_velocity <br/>
fix_modify AtC control momentum flux faceset bndy_faces <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>only to be used with specific transfers : elastic <br/>
rescale not valid with time filtering activated </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>none </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_control_thermal">fix_modify AtC control thermal </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_control_thermal">fix_modify AtC control thermal </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC control thermal &lt;control_type&gt; &lt;optional_args&gt;</p>
<ul>
<li>control_type (string) = none | rescale | hoover | flux<br/>
@ -46,25 +44,25 @@ syntax</a></h2>
<li>face_set_id (string), optional = id of boundary face set, if not specified (or not possible when the atomic domain does not line up with mesh boundaries) defaults to an atomic-quadrature approximate evaulation, does not work with interpolate<br/>
</li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC control thermal none </code> <br/>
<code> fix_modify AtC control thermal rescale 10 </code> <br/>
<code> fix_modify AtC control thermal hoover </code> <br/>
<code> fix_modify AtC control thermal flux </code> <br/>
<code> fix_modify AtC control thermal flux faceset bndy_faces </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Sets the energy exchange mechansim from the finite elements to the atoms, managed through a control algorithm. Rescale computes a scale factor for each atom to match the finite element temperature. Hoover is a Gaussian least-constraint isokinetic thermostat enforces that the nodal restricted atomic temperature matches the finite element temperature. Flux is a similar mode, but rather adds energy to the atoms based on conservation of energy. Hoover and flux allows the prescription of sources or fixed temperatures on the atoms. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>only for be used with specific transfers : thermal (rescale, hoover, flux), two_temperature (flux) <br/>
rescale not valid with time filtering activated </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>none<br/>
rescale frequency is 1<br/>
flux boundary_integration_type is interpolate </p>

View File

@ -7,43 +7,41 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_control_thermal_correction_max_iterations">fix_modify AtC control thermal correction_max_iterations </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_control_thermal_correction_max_iterations">fix_modify AtC control thermal correction_max_iterations </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC control thermal correction_max_iterations &lt;max_iterations&gt;</p>
<ul>
<li>max_iterations (int) = maximum number of iterations that will be used by iterative matrix solvers<br/>
</li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC control thermal correction_max_iterations 10 </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Sets the maximum number of iterations to compute the 2nd order in time correction term for lambda with the fractional step method. The method uses the same tolerance as the controller's matrix solver. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>only for use with thermal physics using the fractional step method. </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>correction_max_iterations is 20 </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_decomposition">fix_modify AtC decomposition </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_decomposition">fix_modify AtC decomposition </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC decomposition &lt;type&gt;</p>
<ul>
<li>&lt;type&gt; = <br/>
@ -32,20 +30,20 @@ syntax</a></h2>
distributed_memory: only owned nodal information on processor <br/>
</li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify atc decomposition distributed_memory </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Command for assigning the distribution of work and memory for parallel runs. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>replicated_memory is appropriate for simulations were the number of nodes &lt;&lt; number of atoms </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>replicated_memory </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_electron_integration">fix_modify AtC extrinsic electron_integration </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_electron_integration">fix_modify AtC extrinsic electron_integration </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC extrinsic electron_integration &lt;integration_type&gt; &lt;num_subcyle_steps(optional)&gt; <br/>
</p>
<ul>
@ -32,20 +30,20 @@ syntax</a></h2>
</li>
<li>num_subcycle_steps (int), optional = number of subcycle steps for the electron time integration</li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC extrinsic electron_integration implicit </code> <br/>
<code> fix_modify AtC extrinsic electron_integration explicit 100 </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Switches between integration scheme for the electron temperature. The number of subcyling steps used to integrate the electron temperature 1 LAMMPS timestep can be manually adjusted to capture fast electron dynamics.</p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<p>For use only with two_temperature type of AtC fix ( see <a class="el" href="man_fix_atc.html">fix atc command</a> ) <br/>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>For use only with two_temperature type of AtC fix ( see <a class="el" href="../../fix_atc.html">fix atc command</a> ) <br/>
</p>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="default">
default</a></h4>
<p>implicit<br/>
subcycle_steps = 1 </p>
</div>

View File

@ -7,40 +7,38 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_equilibrium_start">fix_modify AtC equilibrium_start </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_equilibrium_start">fix_modify AtC equilibrium_start </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC equilibrium_start &lt;on|off&gt;</p>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify atc equilibrium_start on </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Starts filtered calculations assuming they start in equilibrium, i.e. perfect finite element force balance.</p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>only needed before filtering is begun</p>
<h2><a class="anchor" id="related">
related</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<p>see <a class="el" href="man_time_filter.html">fix_modify AtC filter</a></p>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="default">
default</a></h4>
<p>on </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,40 +7,38 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_extrinsic_exchange">fix_modify AtC extrinsic exchange </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_extrinsic_exchange">fix_modify AtC extrinsic exchange </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC extrinsic exchange &lt;on|off&gt;</p>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC extrinsic exchange on </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Switches energy exchange between the MD system and electron system on and off</p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Only valid for use with two_temperature type of AtC fix.</p>
<h2><a class="anchor" id="related">
related</a></h2>
<p>see <a class="el" href="man_fix_atc.html">fix atc command</a></p>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<p>see <a class="el" href="../../fix_atc.html">fix atc command</a></p>
<h4><a class="anchor" id="default">
default</a></h4>
<p>on </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,40 +7,38 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_fe_md_boundary">fix_modify AtC fe_md_boundary </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_fe_md_boundary">fix_modify AtC fe_md_boundary </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC fe_md_boundary &lt;faceset | interpolate | no_boundary&gt; [args] </p>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify atc fe_md_boundary interpolate </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Specifies different methods for computing fluxes between between the MD and FE integration regions. Faceset defines a faceset separating the MD and FE regions and uses finite element face quadrature to compute the flux. Interpolate uses a reconstruction scheme to approximate the flux, which is more robust but less accurate if the MD/FE boundary does correspond to a faceset. No boundary results in no fluxes between the systems being computed. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>If faceset is used, all the AtC non-boundary atoms must lie within and completely fill the domain enclosed by the faceset. </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<p>see for how to specify the faceset name. </p>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="default">
default</a></h4>
<p>Interpolate. </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -1,24 +1,45 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ATC: fix_modify AtC fem create mesh</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<h1><a class="anchor" name="man_fem_mesh">fix_modify AtC fem create mesh</a></h1><h2><a class="anchor" name="syntax">
syntax</a></h2>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="contents">
<h3><a class="anchor" id="man_fem_mesh">fix_modify AtC fem create mesh</a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
fix_modify AtC fem create mesh &lt;nx&gt; &lt;ny&gt; &lt;nz&gt; &lt;region-id&gt; &lt;f|p&gt; &lt;f|p&gt; &lt;f|p&gt;<ul>
<li>nx ny nz = number of elements in x, y, z</li><li>region-id = id of region that is to be meshed</li><li>f p p = perioidicity flags for x, y, z </li></ul>
<h2><a class="anchor" name="examples">
examples</a></h2>
<code> fix_modify AtC fem create mesh 10 1 1 feRegion p p p </code> <h2><a class="anchor" name="description">
description</a></h2>
Creates a uniform mesh in a rectangular region <h2><a class="anchor" name="restrictions">
restrictions</a></h2>
creates only uniform rectangular grids in a rectangular region <h2><a class="anchor" name="related">
related</a></h2>
<h2><a class="anchor" name="default">
default</a></h2>
none <hr size="1"><address style="align: right;"><small>Generated on Mon Aug 17 09:35:16 2009 for ATC by&nbsp;
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC fem create mesh 10 1 1 feRegion p p p </code> <br/>
</p>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Creates a uniform mesh in a rectangular region</p>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>creates only uniform rectangular grids in a rectangular region</p>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
none
<hr size="1"><address style="align: right;"><small>Generated on Mon Aug 17 09:35:16 2009 for ATC by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>

View File

@ -7,45 +7,43 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_filter_scale">fix_modify AtC filter scale </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_filter_scale">fix_modify AtC filter scale </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC filter scale &lt;scale&gt; <br/>
</p>
<ul>
<li>scale (real) = characteristic time scale of the filter <br/>
</li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC filter scale 10.0 </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Filters the MD dynamics to construct a more appropriate continuous field. Equilibrating first filters the time derivatives without changing the dynamics to provide a better initial condition to the filtered dynamics </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>only for be used with specific transfers: thermal, two_temperature</p>
<h2><a class="anchor" id="related">
related</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<p><a class="el" href="man_time_filter.html">fix_modify AtC filter</a> <a class="el" href="man_filter_type.html">fix_modify AtC filter type</a></p>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="default">
default</a></h4>
<p>0. </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,41 +7,39 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_filter_type">fix_modify AtC filter type </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_filter_type">fix_modify AtC filter type </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC filter type &lt;exponential | step | no_filter&gt; <br/>
</p>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC filter type exponential </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Specifies the type of time filter used. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>only for be used with specific transfers: thermal, two_temperature</p>
<h2><a class="anchor" id="related">
related</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<p><a class="el" href="man_time_filter.html">fix_modify AtC filter</a> <a class="el" href="man_filter_scale.html">fix_modify AtC filter scale</a></p>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="default">
default</a></h4>
<p>No default. </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_fix_atc">fix atc command </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_fix_atc">fix atc command </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix &lt;fixID&gt; &lt;group&gt; atc &lt;type&gt; &lt;parameter_file&gt;</p>
<ul>
<li>fixID = name of fix</li>
@ -38,15 +36,15 @@ syntax</a></h2>
<li>parameter_file = name of the file with material parameters. <br/>
note: Neither hardy nor field requires a parameter file </li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix AtC internal atc thermal Ar_thermal.dat </code> <br/>
<code> fix AtC internal atc two_temperature Ar_ttm.mat </code> <br/>
<code> fix AtC internal atc hardy </code> <br/>
<code> fix AtC internal atc field </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>This fix is the beginning to creating a coupled FE/MD simulation and/or an on-the-fly estimation of continuum fields. The coupled versions of this fix do Verlet integration and the /post-processing does not. After instantiating this fix, several other fix_modify commands will be needed to set up the problem, e.g. define the finite element mesh and prescribe initial and boundary conditions.</p>
<p>The following coupling example is typical, but non-exhaustive:<br/>
</p>
@ -134,16 +132,16 @@ description</a></h2>
</li>
</ul>
<p>Please refer to the standard finite element (FE) texts, e.g. T.J.R Hughes <em> The finite element method </em>, Dover 2003, for the basics of FE simulation.</p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Thermal and two_temperature (coupling) types use a Verlet time-integration algorithm. The hardy type does not contain its own time-integrator and must be used with a separate fix that does contain one, e.g. nve, nvt, etc.</p>
<p>Currently,</p>
<ul>
<li>the coupling is restricted to thermal physics</li>
<li>the FE computations are done in serial on each processor.</li>
</ul>
<h2><a class="anchor" id="related">
related</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<p>fix_modify commands for setup: <br/>
</p>
<ul>
@ -243,8 +241,8 @@ related</a></h2>
<li><a class="el" href="man_remove_molecule.html">fix_modify AtC remove_molecule</a></li>
</ul>
<p>Note: a set of example input files with the attendant material files are included with this package </p>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="default">
default</a></h4>
<p>none </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,44 +7,42 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_fix_flux">fix_modify AtC fix_flux </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_fix_flux">fix_modify AtC fix_flux </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC fix_flux &lt;field&gt; &lt;face_set&gt; &lt;value | function&gt;</p>
<ul>
<li>&lt;field&gt; = field name valid for type of physics, temperature | electron_temperature</li>
<li>&lt;face_set&gt; = name of set of element faces </li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify atc fix_flux temperature faceSet 10.0 </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Command for fixing normal fluxes e.g. heat_flux. This command only prescribes the normal component of the physical flux, e.g. heat (energy) flux. The units are in AtC units, i.e. derived from the LAMMPS length, time, and mass scales. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Only normal fluxes (Neumann data) can be prescribed. </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<p>see <a class="el" href="man_unfix_flux.html">fix_modify AtC unfix_flux</a> </p>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="default">
default</a></h4>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;
<a href="http://www.doxygen.org/index.html">

View File

@ -7,46 +7,44 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_fix_nodes">fix_modify AtC fix </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_fix_nodes">fix_modify AtC fix </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC fix &lt;field&gt; &lt;nodeset&gt; &lt;constant | function&gt;</p>
<ul>
<li>&lt;field&gt; = field name valid for type of physics</li>
<li>&lt;nodeset&gt; = name of set of nodes to apply boundary condition</li>
<li>&lt;constant | function&gt; = value or name of function followed by its parameters </li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC fix temperature groupNAME 10. </code> <br/>
<code> fix_modify AtC fix temperature groupNAME 0 0 0 10.0 0 0 1.0 </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Creates a constraint on the values of the specified field at specified nodes. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>keyword 'all' reserved in nodeset name </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<p>see <a class="el" href="man_unfix_nodes.html">fix_modify AtC unfix</a> </p>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="default">
default</a></h4>
<p>none </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_hardy_computes">fix_modify AtC computes </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_hardy_computes">fix_modify AtC computes </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC computes &lt;add | delete&gt; [per-atom compute id] &lt;volume | number&gt; <br/>
</p>
<ul>
@ -35,8 +33,8 @@ syntax</a></h2>
<li>volume | number (keyword) = field created is a per-unit-volume quantity or a per-atom quantity as weighted by kernel functions <br/>
</li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> compute virial all stress/atom </code> <br/>
<code> fix_modify AtC computes add virial volume </code> <br/>
<code> fix_modify AtC computes delete virial </code> <br/>
@ -44,20 +42,20 @@ examples</a></h2>
<code> compute centrosymmetry all centro/atom </code> <br/>
<code> fix_modify AtC computes add centrosymmetry number </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Calculates continuum fields corresponding to specified per-atom computes created by LAMMPS <br/>
</p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<p>Must be used with the hardy/field type of AtC fix ( see <a class="el" href="man_fix_atc.html">fix atc command</a> ) <br/>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Must be used with the hardy/field type of AtC fix ( see <a class="el" href="../../fix_atc.html">fix atc command</a> ) <br/>
Per-atom compute must be specified before corresponding continuum field can be requested <br/>
</p>
<h2><a class="anchor" id="related">
related</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<p>See manual page for compute </p>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="default">
default</a></h4>
<p>No defaults exist for this command </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_hardy_fields">fix_modify AtC fields </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_hardy_fields">fix_modify AtC fields </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC fields &lt;all | none&gt; <br/>
fix_modify AtC fields &lt;add | delete&gt; &lt;list_of_fields&gt; <br/>
</p>
@ -56,24 +54,24 @@ syntax</a></h2>
type_concentration: volume fraction of a specific atom type <br/>
</li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC fields add velocity temperature </code> </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Allows modification of the fields calculated and output by the transfer class. The commands are cumulative, e.g.<br/>
<code> fix_modify AtC fields none </code> <br/>
followed by <br/>
<code> fix_modify AtC fields add velocity temperature </code> <br/>
will only output the velocity and temperature fields. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<p>Must be used with the hardy/field type of AtC fix, see <a class="el" href="man_fix_atc.html">fix atc command</a>. Currently, the stress and heat flux formulas are only correct for central force potentials, e.g. Lennard-Jones and EAM but not Stillinger-Weber. </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Must be used with the hardy/field type of AtC fix, see <a class="el" href="../../fix_atc.html">fix atc command</a>. Currently, the stress and heat flux formulas are only correct for central force potentials, e.g. Lennard-Jones and EAM but not Stillinger-Weber. </p>
<h4><a class="anchor" id="related">
related</a></h4>
<p>See <a class="el" href="man_hardy_gradients.html">fix_modify AtC gradients</a> , <a class="el" href="man_hardy_rates.html">fix_modify AtC rates</a> and <a class="el" href="man_hardy_computes.html">fix_modify AtC computes</a> </p>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="default">
default</a></h4>
<p>By default, no fields are output </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_hardy_gradients">fix_modify AtC gradients </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_hardy_gradients">fix_modify AtC gradients </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC gradients &lt;add | delete&gt; &lt;list_of_fields&gt; <br/>
</p>
<ul>
@ -33,21 +31,21 @@ syntax</a></h2>
<li>fields (keyword) = <br/>
gradients can be calculated for all fields listed in <a class="el" href="man_hardy_fields.html">fix_modify AtC fields</a></li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC gradients add temperature velocity stress </code> <br/>
<code> fix_modify AtC gradients delete velocity </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Requests calculation and ouput of gradients of the fields from the transfer class. These gradients will be with regard to spatial or material coordinate for eulerian or lagrangian analysis, respectively, as specified by atom_element_map (see <a class="el" href="man_atom_element_map.html">fix_modify AtC atom_element_map</a> ) </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<p>Must be used with the hardy/field type of AtC fix ( see <a class="el" href="man_fix_atc.html">fix atc command</a> ) </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Must be used with the hardy/field type of AtC fix ( see <a class="el" href="../../fix_atc.html">fix atc command</a> ) </p>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>No gradients are calculated by default </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_hardy_kernel">fix_modify AtC kernel </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_hardy_kernel">fix_modify AtC kernel </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC kernel &lt;type&gt; &lt;parameters&gt;</p>
<ul>
<li>type (keyword) = step, cell, cubic_bar, cubic_cylinder, cubic_sphere, quartic_bar, quartic_cylinder, quartic_sphere <br/>
@ -40,22 +38,22 @@ syntax</a></h2>
quartic_sphere = radius (double) <br/>
</li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC kernel cell 1.0 1.0 1.0 </code> <br/>
<code> fix_modify AtC kernel quartic_sphere 10.0 </code> </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Must be used with the hardy AtC fix <br/>
For bar kernel types, half-width oriented along x-direction <br/>
For cylinder kernel types, cylindrical axis is assumed to be in z-direction <br/>
( see <a class="el" href="man_fix_atc.html">fix atc command</a> ) </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
( see <a class="el" href="../../fix_atc.html">fix atc command</a> ) </p>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>No default </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_hardy_on_the_fly">fix_modify AtC on_the_fly </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_hardy_on_the_fly">fix_modify AtC on_the_fly </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC on_the_fly &lt;bond | kernel&gt; &lt;optional on | off&gt; <br/>
- bond | kernel (keyword) = specifies on-the-fly calculation of bond or kernel matrix elements <br/>
</p>
@ -32,24 +30,24 @@ syntax</a></h2>
<li>on | off (keyword) = activate or discontinue on-the-fly mode <br/>
</li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC on_the_fly bond on </code> <br/>
<code> fix_modify AtC on_the_fly kernel </code> <br/>
<code> fix_modify AtC on_the_fly kernel off </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Overrides normal mode of pre-calculating and storing bond pair-to-node a nd kernel atom-to-node matrices. If activated, will calculate elements of t hese matrices during repeated calls of field computations (i.e. "on-the-fly") and not store them for future use. <br/>
on flag is optional - if omitted, on_the_fly will be activated for the s pecified matrix. Can be deactivated using off flag. <br/>
</p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<p>Must be used with the hardy/field type of AtC fix ( see <a class="el" href="man_fix_atc.html">fix atc command</a> ) </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Must be used with the hardy/field type of AtC fix ( see <a class="el" href="../../fix_atc.html">fix atc command</a> ) </p>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>By default, on-the-fly calculation is not active (i.e. off). However, code does a memory allocation check to determine if it can store all needed bond and kernel matrix ele ments. If this allocation fails, on-the-fly is activated. <br/>
</p>
</div>

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_hardy_rates">fix_modify AtC rates </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_hardy_rates">fix_modify AtC rates </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC rates &lt;add | delete&gt; &lt;list_of_fields&gt; <br/>
</p>
<ul>
@ -33,22 +31,22 @@ syntax</a></h2>
<li>fields (keyword) = <br/>
rates can be calculated for all fields listed in <a class="el" href="man_hardy_fields.html">fix_modify AtC fields</a></li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC rates add temperature velocity stress </code> <br/>
<code> fix_modify AtC rates delete stress </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Requests calculation and ouput of rates (time derivatives) of the fields from the transfer class. For eulerian analysis (see <a class="el" href="man_atom_element_map.html">fix_modify AtC atom_element_map</a> ), these rates are the partial time derivatives of the nodal fields, not the full (material) time derivatives. <br/>
</p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<p>Must be used with the hardy/field type of AtC fix ( see <a class="el" href="man_fix_atc.html">fix atc command</a> ) </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Must be used with the hardy/field type of AtC fix ( see <a class="el" href="../../fix_atc.html">fix atc command</a> ) </p>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>No rates are calculated by default </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,41 +7,39 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_initial">fix_modify AtC initial </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_initial">fix_modify AtC initial </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC initial &lt;field&gt; &lt;nodeset&gt; &lt;constant | function&gt;</p>
<ul>
<li>&lt;field&gt; = field name valid for type of physics, temperature | electron_temperature</li>
<li>&lt;nodeset&gt; = name of set of nodes to apply initial condition</li>
<li>&lt;constant | function&gt; = value or name of function followed by its parameters </li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify atc initial temperature groupNAME 10. </code> </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Sets the initial values for the specified field at the specified nodes. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>keyword 'all' reserved in nodeset name </p>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="default">
default</a></h4>
<p>none </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,30 +7,28 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_internal_atom_integrate">fix_modify AtC internal_atom_integrate </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_internal_atom_integrate">fix_modify AtC internal_atom_integrate </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC internal_atom_integrate &lt;on | off&gt; <code> fix_modify AtC internal_atom_integrate on </code> </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Has AtC perform time integration for the atoms in the group on which it operates. This does not include boundary atoms. </p>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="default">
default</a></h4>
<p>on for coupling methods, off for post-processors off </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,42 +7,40 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_internal_element_set">fix_modify AtC internal_element_set </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_internal_element_set">fix_modify AtC internal_element_set </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC internal_element_set &lt;element-set-name&gt;</p>
<ul>
<li>&lt;element-set-name&gt; = name of element set defining internal region, or off </li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC internal_element_set myElementSet </code> <code> fix_modify AtC internal_element_set off </code> </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Enables AtC to base the region for internal atoms to be an element set. If no ghost atoms are used, all the AtC atoms must be constrained to remain in this element set by the user, e.g., with walls. If boundary atoms are used in conjunction with Eulerian atom maps AtC will partition all atoms of a boundary or internal type to be of type internal if they are in the internal region or to be of type boundary otherwise. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>If boundary atoms are used in conjunction with Eulerian atom maps, the Eulerian reset frequency must be an integer multiple of the Lammps reneighbor frequency </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<p>see atom_element_map_type and boundary </p>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="default">
default</a></h4>
<p>off </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,40 +7,38 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_internal_quadrature">fix_modify AtC internal_quadrature </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_internal_quadrature">fix_modify AtC internal_quadrature </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify atc internal_quadrature &lt;on | off&gt; [region] </p>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify atc internal_quadrature off </code> </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Command to use or not use atomic quadrature on internal elements fully filled with atoms. By turning the internal quadrature off these elements do not contribute to the governing PDE and the fields at the internal nodes follow the weighted averages of the atomic data. </p>
<h2><a class="anchor" id="optional">
optional</a></h2>
<h4><a class="anchor" id="optional">
optional</a></h4>
<p>Optional region tag specifies which finite element nodes will be treated as being within the MD region. This option is only valid with internal_quadrature off. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>on </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_kernel_function">fix_modify AtC kernel </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_kernel_function">fix_modify AtC kernel </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC kernel &lt;type&gt; &lt;parameters&gt;</p>
<ul>
<li>type (keyword) = step, cell, cubic_bar, cubic_cylinder, cubic_sphere, quartic_bar, quartic_cylinder, quartic_sphere <br/>
@ -40,21 +38,21 @@ syntax</a></h2>
quartic_sphere = radius (double) <br/>
</li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p>fix_modify AtC kernel cell 1.0 1.0 1.0 fix_modify AtC kernel quartic_sphere 10.0 </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Must be used with the hardy AtC fix <br/>
For bar kernel types, half-width oriented along x-direction <br/>
For cylinder kernel types, cylindrical axis is assumed to be in z-direction <br/>
( see <a class="el" href="man_fix_atc.html">fix atc command</a> ) </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
( see <a class="el" href="../../fix_atc.html">fix atc command</a> ) </p>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>No default </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,38 +7,36 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_localized_lambda">fix_modify AtC control localized_lambda </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_localized_lambda">fix_modify AtC control localized_lambda </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC control localized_lambda &lt;on|off&gt; </p>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify atc control localized_lambda on </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Turns on localization algorithms for control algorithms to restrict the influence of FE coupling or boundary conditions to a region near the boundary of the MD region. Control algorithms will not affect atoms in elements not possessing faces on the boundary of the region. Flux-based control is localized via row-sum lumping while quantity control is done by solving a truncated matrix equation. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>Default is off. </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,38 +7,36 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_lumped_lambda_solve">fix_modify AtC control lumped_lambda_solve </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_lumped_lambda_solve">fix_modify AtC control lumped_lambda_solve </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC control lumped_lambda_solve &lt;on|off&gt; </p>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify atc control lumped_lambda_solve on </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Command to use or not use lumped matrix for lambda solve </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;
<a href="http://www.doxygen.org/index.html">

View File

@ -7,38 +7,36 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_mask_direction">fix_modify AtC control mask_direction </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_mask_direction">fix_modify AtC control mask_direction </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC control mask_direction &lt;direction&gt; &lt;on|off&gt; </p>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify atc control mask_direction 0 on </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Command to mask out certain dimensions from the atomic regulator </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;
<a href="http://www.doxygen.org/index.html">

View File

@ -7,41 +7,39 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_mass_matrix">fix_modify AtC mass_matrix </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_mass_matrix">fix_modify AtC mass_matrix </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC mass_matrix &lt;fe | md_fe&gt;</p>
<ul>
<li>&lt;fe | md_fe&gt; = activiate/deactiviate using the FE mass matrix in the MD region </li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify atc mass_matrix fe </code> </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Determines whether AtC uses the FE mass matrix based on Gaussian quadrature or based on atomic quadrature in the MD region. This is useful for fully overlapping simulations to improve efficiency. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Should not be used unless the FE region is contained within the MD region, otherwise the method will be unstable and inaccurate </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>Default is off </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,39 +7,37 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_material">fix_modify AtC material </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_material">fix_modify AtC material </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC material [elementset_name] [material_id] <br/>
</p>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC material gap_region 2</code> </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Sets the material model in elementset_name to be of type material_id. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>The element set must already be created and the material must be specified in the material file given the the atc fix on construction </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>All elements default to the first material in the material file. </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,41 +7,39 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_mesh_add_to_nodeset">fix_modify AtC mesh add_to_nodeset </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_mesh_add_to_nodeset">fix_modify AtC mesh add_to_nodeset </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC mesh add_to_nodeset &lt;id&gt; &lt;xmin&gt; &lt;xmax&gt; &lt;ymin&gt; &lt;ymax&gt; &lt;zmin&gt; &lt;zmax&gt;</p>
<ul>
<li>&lt;id&gt; = id of FE nodeset to be added to</li>
<li>&lt;xmin&gt; &lt;xmax&gt; &lt;ymin&gt; &lt;ymax&gt; &lt;zmin&gt; &lt;zmax&gt; = coordinates of the bounding box that contains the desired nodes to be added </li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC mesh add_to_nodeset lbc -11.9 -11 -12 12 -12 12 </code> </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Command to add nodes to an already existing FE nodeset. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>Coordinates are assumed to be in lattice units. </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_mesh_create">fix_modify AtC mesh create </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_mesh_create">fix_modify AtC mesh create </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC mesh create &lt;nx&gt; &lt;ny&gt; &lt;nz&gt; &lt;region-id&gt; &lt;f|p&gt; &lt;f|p&gt; &lt;f|p&gt; <br/>
</p>
<ul>
@ -32,21 +30,21 @@ syntax</a></h2>
<li>region-id = id of region that is to be meshed</li>
<li>f p p = periodicity flags for x, y, z </li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC mesh create 10 1 1 feRegion p p p </code> <br/>
</p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Creates a uniform mesh in a rectangular region </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Creates only uniform rectangular grids in a rectangular region </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<p><a class="el" href="man_mesh_quadrature.html">fix_modify AtC mesh quadrature</a> </p>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="default">
default</a></h4>
<p>When created, mesh defaults to gauss2 (2-point Gaussian) quadrature. Use "mesh quadrature" command to change quadrature style. </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,42 +7,40 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_mesh_create_elementset">fix_modify AtC mesh create_elementset </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_mesh_create_elementset">fix_modify AtC mesh create_elementset </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC create_elementset &lt;id&gt; &lt;xmin&gt; &lt;xmax&gt; &lt;ymin&gt; &lt;ymax&gt; &lt;zmin&gt; &lt;zmax&gt;</p>
<ul>
<li>&lt;id&gt; = id to assign to the collection of FE element</li>
<li>&lt;xmin&gt; &lt;xmax&gt; &lt;ymin&gt; &lt;ymax&gt; &lt;zmin&gt; &lt;zmax&gt; = coordinates of the bounding box that contains only the desired elements </li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC mesh create_elementset middle -4.1 4.1 -100 100 -100 1100 </code> </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Command to assign an id to a set of FE elements to be used subsequently in defining material and mesh-based operations. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Only viable for rectangular grids. </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>Coordinates are assumed to be in lattice units. </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

View File

@ -7,24 +7,22 @@
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<center>
<a href="http://lammps.sandia.gov">LAMMPS Website</a> &nbsp; &nbsp;
<a href="../../Manual.html">LAMMPS Manual</a> &nbsp; &nbsp;
<a href="../../fix_atc.html">USER-AtC Manual</a> &nbsp; &nbsp;
<a href="../../Section_commands.html#comm">Commands</a>
</center>
<hr>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1><a class="anchor" id="man_mesh_create_faceset_box">fix_modify AtC mesh create_faceset box </a></h1><h2><a class="anchor" id="syntax">
syntax</a></h2>
<h3><a class="anchor" id="man_mesh_create_faceset_box">fix_modify AtC mesh create_faceset box </a></h3><h4><a class="anchor" id="syntax">
syntax</a></h4>
<p>fix_modify AtC mesh create_faceset &lt;id&gt; box &lt;xmin&gt; &lt;xmax&gt; &lt;ymin&gt; &lt;ymax&gt; &lt;zmin&gt; &lt;zmax&gt; &lt;in|out&gt; [units]</p>
<ul>
<li>&lt;id&gt; = id to assign to the collection of FE faces</li>
@ -32,19 +30,19 @@ syntax</a></h2>
<li>&lt;in|out&gt; = "in" gives inner faces to the box, "out" gives the outer faces to the box</li>
<li>units = option to specify real as opposed to lattice units </li>
</ul>
<h2><a class="anchor" id="examples">
examples</a></h2>
<h4><a class="anchor" id="examples">
examples</a></h4>
<p><code> fix_modify AtC mesh create_faceset obndy box -4.0 4.0 -12 12 -12 12 out </code> </p>
<h2><a class="anchor" id="description">
description</a></h2>
<h4><a class="anchor" id="description">
description</a></h4>
<p>Command to assign an id to a set of FE faces. </p>
<h2><a class="anchor" id="restrictions">
restrictions</a></h2>
<h4><a class="anchor" id="restrictions">
restrictions</a></h4>
<p>Only viable for rectangular grids. </p>
<h2><a class="anchor" id="related">
related</a></h2>
<h2><a class="anchor" id="default">
default</a></h2>
<h4><a class="anchor" id="related">
related</a></h4>
<h4><a class="anchor" id="default">
default</a></h4>
<p>The default options are units = lattice and the use of outer faces </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 21 Aug 2013 for ATC by&nbsp;

Some files were not shown because too many files have changed in this diff Show More